• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Optimus MS690: Rebuild boot image

biosopher

Lurker
I hate adding a thread on this, but I've read through the others and am still stuck.

My MS690 is rooted with Clockworkmod's recovery installed. I've pulled the nandroid backup off and unpacked boot.img. To repack my boot.img, I supplied these values to mkbootimg:

--base 0x12200000
--pagesize 2048
--cmdline 'mem=477M console=ttyMSM2,115200n8 androidboot.hardware=thunderc
 
Just to clarify, I have already seen this post on How to get out of fastboot mode. That's not my problem though. I can restore my original boot.img without a problem. I need to determine how to repack the boot.img for the MS690 and successfully boot it on my device.

The short details are that I've written a daemon process/service that needs to launch from init.rc on boot of the device. I've been able to successfully do this on the Nexus S but need to now reproduce it on my Optimus as well. Once I've successfully unpacked/repacked/installed/booted the original boot.img, I'll proceed to update the init.rc on the Optimus, repack with my updated init.rc, reboot with my daemon service running, and have achieved my goal.
 
Solved this myself.

Turns out something was wrong with the mkbootimg that I'd downloaded from the link above. Oddly that mkbootimg file worked fine building boot.imgs for my Nexus S, but created invalid boot.imgs for my Optimus. I downloaded the AOSP v2.3 and compiled my own version of mkbootimg. This one works fine and my Optimus is now running my new boot.img.
 
Back
Top Bottom