https://github.com/openthos/openthos/wiki/android-x86-iso-customphp
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.android
Get source here: http://sourceforge.net/projects/squashfs/git
找到lz相關的註釋掉github
安裝lz4
百度lz4 package:ubuntuubuntu
找不到庫, export下
http://blog.csdn.net/sahusoft/article/details/7388617ide
修改,加xposed
https://bbs.jide.com/forum.php?mod=viewthread&tid=7830this
確保mount解除後,進入到存放system.img文件的目錄,執行以下語句.net
mksquashfs system.img system.sfs -comp lz4unix