JEFFREY

feiworks.com

android ramdisk编辑

mkdir /etc/mm
mount -o rw -t ext4 /dev/block/sda3 /etc/mm
cp /etc/mm/ramdisk /data/local/tmp/ramdisk.img.gz
cd /data/local/tmp/
gunzip ramdisk.img.gz
mkdir ramdisk
cd ramdisk
cpio -i -F ../ramdisk.img
cpio -i -t -F ../ramdisk.img > list

cat list|cpio -o -H newc|gzip > ramdisk.img.gz
cp ramdisk.img.gz /etc/mm/ramdisk
umount /etc/mm

Powered By Z-BlogPHP 1.5 Zero

Copyright @ 2014-2019 All Rights Reserved.
feiworks.com