5,600,725 Members 38,914 Now Online
XDA Developers Android and Mobile Development Forum

Modify boot.img to have true root

Tip us?
 
ming030890
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Aug 2012
Default Modify boot.img to have true root

I am trying to unpack boot.img and modify the property in default.prop file.
But after I flash the modified boot.img, the phone cannot boot.

I think the only step that I can go wrong is the parameter of mkbootimg.

And here is the command line that I use.
./mkbootimg --kernel boot.img-kernel --ramdisk boot.img-ramdisk.cpio.gz --base 0x81000000 --pagesize 4096 --ramdiskaddr 0x81800000 -o boot.img

Original boot.img is attached, it is actually nexus4 4.4 boot.img.

Thanks!
Attached Files
File Type: img boot.img - [Click for QR Code] (6.21 MB, 4 views)
 
SMillerNL
Old
#2  
SMillerNL's Avatar
Recognized Contributor
Thanks Meter 962
Posts: 2,997
Join Date: Sep 2011
Location: Lisse

 
DONATE TO ME
What do you mean by true root? And the android kernel is just different from the default Linux kernel, so I'd say their commands might not be interchangeable.

Sent from my Nexus 4 using Tapatalk

"I actually don't want any Thanks. I don't need to be Thanked, because I just want to make XDA a better place..."
http://team-fun.eu
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes