[How To] Flash ICS ROMs with S-ON Unlocked

Search This thread

eparico

Senior Member
Jun 20, 2012
76
11
Thoughts from A Noob

First and foremost, thanks for these instructions. Since my 4GS is my only phone, I didn't want to risk trying the S-Off method and cooking my SD card. It seems to be almost risk free but I wasn't going to push my luck. Now running CM9, Alpha5 and loving it.

As a relative noob to rooting phones, I'd like to make a suggestion. I've read every post in this thread and if I missed it somewhere, my apologies.

I rooted my phone close to a month ago so I'm doing this from memory:

After extracting boot.img and placing it in the folder with the fastboot file, I ran the "fastboot flash boot boot.img" command and received an error stating something to the effect of needing some adb files. Like I said, I'm relatively new to rooting so I got stumped. I did some research and found out that I needed the Android SDK to get the missing adb files.

I already had SDK downloaded so I searched through the folder after extracting the files and again, no luck. Ran SDK, found that it needed to be updated which I did and voila, there were the adb files I was told were missing when I ran the fastboot command. I'm not sure which update needed to be run to get these files so I just did all of them. If my memory serves me right, the adb files were in the tools folder. Once I located the files, I moved them into the same folder where I had placed fastboot and boot.img, ran the command again and everything worked like what's described in your instructions.

I'm no stranger to computers so figuring out this needed to be done took some research and a bit of jumping around XDA threads before I put all the pieces together. For those other noobs who may not be as computer savvy, I can see this causing quite a bit of confusion. Unless I missed it, I have only seen one post that makes any mention of the adb files, which ones are needed, and including them in the same directory as fastboot and boot.img, and I didn't see anything in reference to needing the Android SDK (in this thread). Perhaps adding this info into your instructions would help to eliminate some questions and confusion and make it easier for others to flash the custom ROM of their choice if they don't want to try to S-Off method.

Again, thanks for these instructions.
 

littlecarlos

Senior Member
Dec 18, 2007
66
7
boston
usual errror

So i have CWM on the phone but anything i do it the recoveries cwm completely freezes and i cant s-off ethier tried reflashing cwm and it still does the samething any one has any idea will be greatly apreciated
 

littlecarlos

Senior Member
Dec 18, 2007
66
7
boston
I found out that the regular clockwork mod doesn't work so installed the touch screen version and everything is working properly

Sent from my myTouch_4G_Slide using xda premium
 

WeekendsR2Short

Senior Member
Nov 18, 2011
1,462
1,005
Cleveland, Tn
i did this to flash ICS rom but now when i restore to stock from recovery it doesnt boot? how will i do that?
My understanding is that you will have to pull the original kernel image and "adb fastboot flash boot boot.img" and then go into recovery and restore the nandroid that was created with CWM on top of your kernel. Of course you'll want to flush cache/ dalvik & user data first from there too.

---------- Post added at 02:12 PM ---------- Previous post was at 02:08 PM ----------

I found out that the regular clockwork mod doesn't work so installed the touch screen version and everything is working properly

Sent from my myTouch_4G_Slide using xda premium
I'm glad things went well but if you will read the very top of the CWM 6 thread, the developer has recommended that it not be used just yet as there are some issues on some phones. I'd suggest going back to CWM 5027 or 5504 for now. At least until XMC gives the 'go ahead' again for the CWM Touchscreen version.

Just a suggestion though......
 

restopi

Senior Member
I used this twice (for Viruous Inquisition and CM9). Before the flashing boot.img i did a wipe, but still in both cases I got stuck on the boot animation until i did a wipe AFTER the fastboot flash command (see http://xdaforums.com/showpost.php?p=29083050&postcount=1562 seems im not the only one)

So Id recommend changing the OP point 9 to say the following or similar "9.) Now, reboot your phone into Recovery. Wipe all data. Then flash your ROM by flashing the zip file". That helped me although i dont know if it will help others
 

DaMan90

Senior Member
Jun 10, 2012
136
9
How do I check what my hboot is?

Sent from my SPH-D710 using XDA
 
Last edited:
1) Turn off phone.
2) Press and hold Volume-Down button. Or Volume-Up. I forget which. Down I think.
3) While holding Volume button, hold Power button.
Phone will now enter bootloader. At the top of the screen will be some information, among the info is HBOOT and version number.

If the power button simply turns on the phone, rather quickly, regardless of which Volume button you hold down, you have fastboot enabled. To disable:
1) Settings, Power, Fast boot (uncheck it).

Cheers
 

Coug76

Senior Member
Feb 27, 2011
2,267
976
East of Seattle
1) Turn off phone.
2) Press and hold Volume-Down button. Or Volume-Up. I forget which. Down I think.
3) While holding Volume button, hold Power button.
Phone will now enter bootloader. At the top of the screen will be some information, among the info is HBOOT and version number.

If the power button simply turns on the phone, rather quickly, regardless of which Volume button you hold down, you have fastboot enabled. To disable:
1) Settings, Power, Fast boot (uncheck it).

Cheers

It's volume down and power.

Hastily spouted for your befuddlement
 

hallevison

Senior Member
Oct 19, 2009
146
15
Boulder, CO
This ia great! Thanks.

However, the above did not always work for me (see http://xdaforums.com/showthread.php?p=36032065#post36032065). I need to:

  1. Extract the "boot.img" file from the zip file on my PC
  2. Reboot the phone into Recovery
  3. Perform a nandroid backup
  4. Wipe data/factory reset
  5. Format system,data, and cache (my machine does not have dalvik. Also, I think data and cache were already done by the previous wipes)
  6. Boot the phone into fastboot mode and connect it to the PC
  7. Run fastboot flash boot boot.img
  8. Reboot the phone into Recovery
  9. Flash the zip file
  10. Reboot the phone.
 
Isn't that how it's been recommended to flash it all this time? You have to do everything everyone else does for a flash, with the added step of fastboot flash boot boot.img at some point since we're S-ON.

Or did I miss something you were saying?

--
Sent from my Leader Impression i10 sportin' a newly flashed, more functional, Ice Cream Sammitch...
 

demkantor

Inactive Recognized Contributor
Nov 10, 2011
6,860
3,765
mpls
Yeah pretty sure you need to flash rom first then kernel, if you do it the otherway it would get overwritten

Sent from my T-Mobile G2 using xda premium
 

Kiladar

Member
Aug 1, 2011
45
28
Ogden
OH thank GOD!!!

I thought my phone was screwed i am not S-OFF but i have an unlocked bootloader thank you for showing this method to the world!
 

bullracing

Senior Member
Jan 20, 2016
116
9
This only really applies to those with S-ON Unlocked, HBOOT 1.45.0013. Once we figure out how to get S-OFF on all phones, this guide will become unneeded! In the meantime, this is here for those of us that are S-ON but want to play with ICS. :)

THIS TUTORIAL ALSO APPLIES TO ANY CUSTOM ROMS THAT REQUIRE A CUSTOM KERNEL.

If you're S-ON LOCKED, go HERE and UNLOCK your phone!

I'm assuming you have
  • Fastboot set up as a PATH, or copied to the folder you are extracting boot.img to
  • HTC Drivers installed
  • Clockwork Recovery

1.) Grab your ROM of choice.
2.) Open up your ROM in 7zip or another file compression program.
3.) Extract the "boot.img" file that's inside to a folder.
4.) Open the command prompt and go to the folder you extracted the "boot.img" file too.

lT7K0.jpg


"cd" in the command prompt stands for "change directory", so you will need to type that before the path to where your boot.img file is located.

5.) Reboot your phone into fastboot mode. To do this, turn off your phone by holding down the "Volume down" and "Power" buttons until the fastboot screen arrives. There should be three Androids on skateboards on the bottom.
6.) Press the power button once on the "fastboot" option. Your phone should now connect to the computer and it should say "fastboot usb" on your phone.
7.) In the command prompt, type the following command:
Code:
fastboot flash boot boot.img
8.) Assuming you've done everything properly, this will overwrite the existing kernel on your phone with the kernel that comes with your ROM.
9.) Now, reboot your phone into Recovery. At this point, flash your ROM by flashing the zip file.
10.) Reboot and enjoy your new ROM!

Thanks to Blue6IX for telling me how to do this and to yogi2010 for making me realize I forgot to tell people to actually flash the ROM itself. Figured I'd make a guide for those that didn't know about it since it's probably hidden somewhere underneath pages and pages of comments on other ROMs.
Something really amazing! I was stucked at Mytouch 4G logo. I make this proces and my device boots again. THANKS TOO MUCH!!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 35
    This only really applies to those with S-ON Unlocked, HBOOT 1.45.0013. Once we figure out how to get S-OFF on all phones, this guide will become unneeded! In the meantime, this is here for those of us that are S-ON but want to play with ICS. :)

    THIS TUTORIAL ALSO APPLIES TO ANY CUSTOM ROMS THAT REQUIRE A CUSTOM KERNEL.

    If you're S-ON LOCKED, go HERE and UNLOCK your phone!

    I'm assuming you have
    • Fastboot set up as a PATH, or copied to the folder you are extracting boot.img to
    • HTC Drivers installed
    • Clockwork Recovery

    1.) Grab your ROM of choice.
    2.) Open up your ROM in 7zip or another file compression program.
    3.) Extract the "boot.img" file that's inside to a folder.
    4.) Open the command prompt and go to the folder you extracted the "boot.img" file too.

    lT7K0.jpg


    "cd" in the command prompt stands for "change directory", so you will need to type that before the path to where your boot.img file is located.

    5.) Reboot your phone into fastboot mode. To do this, turn off your phone by holding down the "Volume down" and "Power" buttons until the fastboot screen arrives. There should be three Androids on skateboards on the bottom.
    6.) Press the power button once on the "fastboot" option. Your phone should now connect to the computer and it should say "fastboot usb" on your phone.
    7.) In the command prompt, type the following command:
    Code:
    fastboot flash boot boot.img
    8.) Assuming you've done everything properly, this will overwrite the existing kernel on your phone with the kernel that comes with your ROM.
    9.) Now, reboot your phone into Recovery. At this point, flash your ROM by flashing the zip file.
    10.) Reboot and enjoy your new ROM!

    Thanks to Blue6IX for telling me how to do this and to yogi2010 for making me realize I forgot to tell people to actually flash the ROM itself. Figured I'd make a guide for those that didn't know about it since it's probably hidden somewhere underneath pages and pages of comments on other ROMs.
    6
    We should just get you and Blue moderator status lol

    This thread's been reported!





    And thusly stickied. Voila!
    3
    probably worth stickying for a while till we get to know how to downgrade to an s-offable state?
    3
    YESSSSS!!! But got damn I can't wait until S-OFF is a reality. This sucks lol but its better than having Tmobile take over ym phone with retarded apps. Thanks to all you DEV dudes who work hard for this device..

    We'll nail it eventually. It's a tough nut to crack, but at least along the way we found a temporary fix.

    We can now go back to S-ON from S-OFF, and the standard response to how to do that for the longest time was 'it's not possible'. Anything is possible with the right amount of effort invested. I am sure we'll come up with some more goodies along the way...some are brewing even now.

    I've made S-ON to S-OFF my life's work until it's done, and have mostly given up on everything else I was working on to achieve that end.

    There are a few other devs who have been spending a lot of time on this as well, and we are working together and unraveling the issue one layer at a time.

    We'll get it, but it's the toughest nut to crack - the manufacturer is doing whatever they can to prevent us from being able to do so...there is a specific effort to block us from doing it that must be overcome.

    Meantime, since we don't have a real RUU for this phone on any software version, the search for one came back with the leaked copy of the OTA as an official signed HTC package. ( To me it seemed like a consolation prize after the exhausting search for an RUU...didn't get one, but got at least this )

    I'm glad someone went ahead and made a guide for people to use it to at least get unlocked since HTC broke the OTA they actually pushed over-the-air, this package is what it was supposed to be.

    Hang in there, we'll get all you guys S-OFFed as soon as we can!
    2
    Will this method work for all of the ROMs we have here for the mt4gs? One I have been looking at is Bulletproof. If I use the same technique you've explained, will I get the same end result?

    yep, it will work!