Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Lostpassword
Old
(Last edited by Lostpassword; 20th February 2012 at 08:38 AM.)
#1  
Senior Member - OP
Thanks Meter 13
Posts: 116
Join Date: Aug 2010
Talking [MOD] Unsecured boot.img for stock ICS

Hi fellows,

i've modified and repacked the stock boot.img that comes with the OTA upgrade of these days, to make adb working.

The only thing i modified is the ro.secure parameter, no tweaks, no other strange fixes (i like to have the most "stock version" as possible on my phone).

This mod is intended for who wants to use adb and don't want to flash a custom rom.

You can test this image rebooting your phone into bootloader and then

Code:
fastboot boot boot.img
then, if you like it, you can flash with

Code:
fastboot flash boot boot.img
hope you'll enjoy.

http://dl.dropbox.com/u/234100/boot.img
The Following 5 Users Say Thank You to Lostpassword For This Useful Post: [ Click to Expand ]
 
HandlerExploit
Old
#2  
Junior Member
Thanks Meter 47
Posts: 25
Join Date: Dec 2009
Thanks, works flawlessly.
 
Lostpassword
Old
#3  
Senior Member - OP
Thanks Meter 13
Posts: 116
Join Date: Aug 2010
glad it was useful to you
 
re2golf
Old
#4  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2009
Thank you! Exactly what I was looking for!!!
 
disaster_ita
Old
(Last edited by disaster_ita; 13th January 2012 at 05:29 PM.)
#5  
Member
Thanks Meter 4
Posts: 67
Join Date: Aug 2010
Sorry, I did not understand the goal of this boot.

When should I use it and when it is not necessary?

I'm android modding noob sorry
You need ping for testing your network? I have the solution:
PingMeter
my first app, try it!




 
Lostpassword
Old
#6  
Senior Member - OP
Thanks Meter 13
Posts: 116
Join Date: Aug 2010
i'll give you a practical example to let you understand

Pick a stock rom, flash the superuser binary and install the superuser apk from market, you're now rooted right?

Now let's assume you wanna remove the install-recovery.sh script from your phone, to avoid the clockwork overwriting after every reboot, to do that you must plug your phone via usb and launch "adb remount" to access /system in rw mode.

In this case you'll see a "permission denied", because your kernel ramdisk image is still secured.
 
Zym0tiC
Old
#7  
Member
Thanks Meter 0
Posts: 36
Join Date: Apr 2010
Quote:
Originally Posted by Lostpassword View Post
i'll give you a practical example to let you understand

Pick a stock rom, flash the superuser binary and install the superuser apk from market, you're now rooted right?

Now let's assume you wanna remove the install-recovery.sh script from your phone, to avoid the clockwork overwriting after every reboot, to do that you must plug your phone via usb and launch "adb remount" to access /system in rw mode.

In this case you'll see a "permission denied", because your kernel ramdisk image is still secured.
question about this.

I wiped and installed the ICS zip file, no OTA. Bootloader is unlocked. flashed the CWM recovery. Flashed the for ICS updated SU (bin+app). Opened es file explorer and picked root and mount /system as rw. And I managed to rename the install-recovery.sh to .bak.

Never got the permission denied despite not having a unsecured boot.img.

You know why?
 
Lostpassword
Old
#8  
Senior Member - OP
Thanks Meter 13
Posts: 116
Join Date: Aug 2010
probably because file explorer is launching the full command as root (mount -o remount etc etc...), the unsecured boot image is needed when using ADB.
 
disaster_ita
Old
(Last edited by disaster_ita; 13th January 2012 at 05:29 PM.)
#9  
Member
Thanks Meter 4
Posts: 67
Join Date: Aug 2010
Quote:
Originally Posted by Lostpassword View Post
i'll give you a practical example to let you understand

Pick a stock rom, flash the superuser binary and install the superuser apk from market, you're now rooted right?

Now let's assume you wanna remove the install-recovery.sh script from your phone, to avoid the clockwork overwriting after every reboot, to do that you must plug your phone via usb and launch "adb remount" to access /system in rw mode.

In this case you'll see a "permission denied", because your kernel ramdisk image is still secured.
thank you lostpassword, then if I have understand (as you have written in forst post):

this is only for stock rom, Cyanogen 9 alpha 16 or NexusBeam, for example, don't have this problem (they have a different install-recovery.sh?)

But install-recovery.sh overwrite recovery at every reboot with sotck ROM? I did not know this. All stock ROM have it?

thanks very much, now my noob level is a bit more low
You need ping for testing your network? I have the solution:
PingMeter
my first app, try it!




 
Lostpassword
Old
#10  
Senior Member - OP
Thanks Meter 13
Posts: 116
Join Date: Aug 2010
Yes, it's needed only for stock rom simply because every custom rom comes with an unsecured boot.img by default

The install-recovery.sh issue is related only to the nexus s, i don't know why google made this decision, but if you flash clockwork on a stock rom and reboot your phone you'll lose the custom recovery because of this script (is a well know issue, if you make a search into the forums you'll find the related topic).

Btw, that was an example, the unsecured boot.img let you use adb with your phone, and isn't strictly related to the install-recovery.sh issue

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...