2013年2月25日 星期一

ramdisk and devtree for flipout

ramdisk:
    ./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

devtree:
    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

沒有留言: