Actually I found a solution(after 4 years):
you can use the android simg2img tool, in ubuntu you can install it by
sudo apt install android-sdk-libsparse-utils
then just
simg2img <spare.img> <uncompressed.img.raw>
Actually I found a solution(after 4 years):
you can use the android simg2img tool, in ubuntu you can install it by
sudo apt install android-sdk-libsparse-utils
then just
simg2img <spare.img> <uncompressed.img.raw>