remix, unsquashfs, system.sfs

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

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

找到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

相關文章
相關標籤/搜索