remix, unsquashfs, system.sfs
https://github.com/openthos/openthos/wiki/android-x86-iso-custom
lz not support
http://unix.stackexchange.com/questions/90323/how-to-use-unsquashfs-with-lzma
Thanks to @msw, I figured out the package names for Ubuntu. Thank you! Here's the full steps for someone in the future.
Get source here: http://sourceforge.net/projects/squashfs/
sudo apt-get install lzma-dev
sudo apt-get install liblzma-dev
tar -zxvf squashfs4.2.tar.gz
cd squashfs4.2/squashfs-tools: Edit Makefile and uncomment this line "LZMA_XZ_SUPPORT = 1"
make
sudo make install
sudo unsquashfs <path/lzma_filename_to_unsquash>
找到lz相关的注释掉
安装lz4
百度lz4 package:ubuntu
找不到库, export下
http://blog.csdn.net/sahusoft/article/details/7388617
修改,加xposed
https://bbs.jide.com/forum.php?mod=viewthread&tid=7830
确保mount解除后,进入到存放system.img文件的目录,执行如下语句
mksquashfs system.img system.sfs -comp lz4