./split_bootimg.pl CG35.smg
mkdir ramdisk
cd ramdisk
gzip -dc ../CG35.smg-ramdisk.gz | cpio -i
to new ramdisk:
find . | cpio -o -H newc | gzip > ../newramdisk
apt-get install device-tree-compiler
get device-tree directory from phone /proc
dtc -f -I fs -O dtb -o devtree device-tree
reference: ramdisk:xda
沒有留言:
張貼留言