- split_bootimg.pl
- mkbootimg
- mkbootfs
- ro.secure=1
- ro.allow.mock.location=0
- ro.debuggable=0
- persist.service.adb.enable=0
- ro.secure=0
- ro.allow.mock.location=0
- ro.debuggable=1
- persist.service.adb.enable=1
- split the boot.img: split_bootimg.pl boot.img, after running the command, two files are generated: boot.img-kernel and boot.img-ramdisk.gz.
- create a temp folder (e.g. ramdisk), change to that folder, run the following command to extract the boot.img-ramdisk.gz: cat ../boot.img-ramdisk.gz | gzip -d | cpio -idm.
- make the changes to the ramdisk file system in ramdisk folder, e.g. change the default.prop file to get adb root permissions.
- return the parent folder, and run the following command to recreate the ramdisk package: mkbootfs ./ramdisk | gzip > ramdisk-new.gz
- recreate the boot image: mkbootimg --kernel boot.img-kernel --ramdisk ramdisk-new.gz -o boot-new.img
more things can be done with the above steps, such as change the boot up sequence by modify the init.rc.
7 comments:
I want to ask a question. how we split the boot.img.
android apps
Very nice post. I just stumbled upon your blog and wanted to say that I have truly enjoyed browsing your blog posts. After all I will be subscribing to your feed and I hope you write again very soon! iPad Developer
Thank you for sharing such relevant topic with us. I really love all the great stuff you provide. Thanks again and keep it coming
Lasix Price
What an awesome great idea ! it was very informing. Nice!
Marketing communication strategy | Advertising as profession in Estonia | Advertising professional in Estonia
Exactly what I needed to know. Great tutorial.
Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. The blog gave us useful information to work. You have done an amazing job!
website development for companies
I think this is an informative post and it is very useful and knowledgeable.
Would you like to create an App Like Groupon Mobile App ? then we have the best solution for you by The App Ideas.
Post a Comment