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

Root Help - Flashing Stock ICS ROM

fodoom

Newbie
Jan 6, 2011
24
5
Edit:
Here's what I did to be able to flash CM10.1:
HTC Unlock
Flash files linked in post #4
Go to Unlimited.io and achieve S-OFF
Flash 4EXT
Format all partitions except SD card
Flash lower version of bootloader (PG86IMG.zip) linked in post #13
Remove PG86IMG.zip from SD card
Install CM10.1 ROM
Boot
Go back to recovery and install GAPPS

-------------------------------------------------------------

Info
S-ON
Bootloader: Unlocked
HBoot: 1.57
Recovery: 4EXT 1.0.0.5 RC8
Current ROM: 1.13.652.2 710RD (Stock ROM, rooted... from JMZ I think.)

Problem
I flashed WILD-FOR-THE-NIGHT-02222013-shootervm.zip using 4EXT. Things seemed to be going great because it got passed the boot animation and was optimizing stuff (I'm guessing its deodexing here.)

Before it was done, it rebooted into a loop. It would show the boot animation for about three seconds and then start over... indefinitely. Long story short, I re-locked/unlocked (don't ask, I typed `fastboot oem lock` without thinking about what I was doing) the bootloader and flashed TWRP 1.1.1 to recover my nand backup. It seemed to hang on recovering the boot image, so I pulled the battery. That was bootlooping too, so I flashed the boot.img that was still in my sdk folder. This made it boot twice but then started up again.

My S-OFF Problem
I made a USB key with Lubuntu 12.something but it says fastboot: not found and adb: not found when I try to run ControlBear.

All I want to do is make my phone awesome.

Thanks!
 
  • Like
Reactions: Brian706
Okay. First, let me say, next time ask for help before doing more damage :p

Anyway, just so you know what's going on, you flashed a rom that is incompatible with your hboot version. That is why you got stuck in a bootloop. A downgraded hboot is required for that rom which means that s-off is also a prerequisite so that your hboot can be downgraded.

As you know, twrp backups are not compatible with 4ext recovery and visa-versa. After installing 4ext recovery, you really should make a new backup. Because for s-on users, 4ext recovery can flash the boot.img which contains the kernel using its smart flash feature.

So had you made a 4ext backup, it should have restored properly.

_____________________________________
Let's do this to get you back up and running:

-Make sure in your adb/fastboot folder you still have your recovery.img which I assume is TWRP recovery.

-If you don't still have the JMZ stock odex rom go get it here:
Goo.im Downloads - Browsing JmzStockRoms

Get the rom onto your sd card. If you already have the rom still there, then just ignore the part about downloading it.


I'm assuming you followed the Complete Newbies Guide on your initial root, so I will also assume you are pretty familiar with the steps I will post and how to run the commands from the proper directory!

-Connect phone to PC and open command prompt to your adb/fastboot directory and reboot into fastboot usb mode with the command adb reboot bootloader

-Once it goes into fastboot usb mode use command fastboot boot recovery.img

-Once booted into recovery wipe everything. Format all partitions (except sd card)

- Flash the stock rom through recovery. Having booted the recovery per the above instructions will allow you to flash the rom+kernel together much like 4ext with smartflash allows.

You should be able to boot up after this. If not, we can troubleshoot further.

After re-installing 4ext recovery (which I highly recommend especially being s-on) make a backup! Then you won't have to go through so much hassle if you get stuck in a bootloop again.
 
  • Like
Reactions: fodoom
Upvote 0
Brian706,
Thanks for the quick reply.

I got my phone back to this state before I made my initial post:
S-ON
Bootloader: Unlocked
HBoot: 1.57
Recovery: 4EXT 1.0.0.5 RC8
Current ROM: 1.13.652.2 710RD (Stock ROM, rooted... from JMZ I think.)

And I made a backup with 4EXT.

Can you provide any information about what I need to change about my setup to be able to S-OFF? Is that the right terminology? I am going to try ControlBear again when I get home on a fresh install of Ubuntu, since all of my Windows machines are 64bit.

Thanks!
 
Upvote 0
Brian706,
Thanks for the quick reply.

I got my phone back to this state before I made my initial post:


And I made a backup with 4EXT.

Can you provide any information about what I need to change about my setup to be able to S-OFF? Is that the right terminology? I am going to try ControlBear again when I get home on a fresh install of Ubuntu, since all of my Windows machines are 64bit.

Thanks!


Now with the new control bear software, they are requiring you be on the stock RUU unrooted before doing the wire trick. So you would actually not want to be on the JMZ stock rom for s-off at this point.

Basically you will want to download the SetMainVersionLOW.zip from here:
http://forum.xda-developers.com/showthread.php?t=1865569
and flash that through recovery.

Then relock bootloader.

Then you will want to run the RUU which you can find here:
Dev-Host - RUU_Shooter_ICS_35_S_Sprint_WWE_VM_1.13.652.2_Radio_1.06.00.0426_NV_1.53_144_release_262287_signed.exe - The Ultimate Free File Hosting / File Sharing Service

After the RUU is ran, you will need to unlock the bootloader again but do not root. You will then follow all the instructions from unlimited.io for the s-off exploit! Unlimited.IO
 
  • Like
Reactions: fodoom
Upvote 0
It took two tries but the wire trick worked! Thanks again for your help.

My next mission is to root, upgrade radio, downgrade hboot, flash 4EXT (not sure of the order) and then flash CM10.1

Now that you are s-off you have other options.
Flash 4ext recovery through the bootloader. No pc required.
Download this: http://db.tt/9VEkAHRe

Rename the file, delete all text in front of PG86IMG so that it is called PG86IMG.zip

Place it on the root of your sd card (not in any folders) and reboot into your bootloader (battery pull hold volume down + power).

When it asks you to update, say yes by hitting volume up.

Bam! Recovery flashed. Now go into recovery and flash any rom!
 
  • Like
Reactions: fodoom
Upvote 0
I tried to flash WILD-FOR-THE-NIGHT-02222013-shootervm.zip again but got the same result.

Is it safe for me to change my CID and then flash PG86IMG.zip from here?
http://forum.xda-developers.com/showthread.php?t=1547695

Should I lock my bootloader before downgrading my hboot version?

Edit: I ran this command and then tried to flash PG86IMG.zip from the above link and it still says CID incorrect:
fastboot oem writecid SPCS_002
 
Upvote 0
I tried to flash WILD-FOR-THE-NIGHT-02222013-shootervm.zip again but got the same result.

Is it safe for me to change my CID and then flash PG86IMG.zip from here?
http://forum.xda-developers.com/showthread.php?t=1547695

Should I lock my bootloader before downgrading my hboot version?

Ahh maybe I got too excited that we finished. You can really only flash stock roms. And I should have told you to make a backup before flashing anything (which should always be done). If you did great, you can restore it. Much simpler than the ruu.

So do you have the PG86IMG version of the ruu. I'm sorry I was helping multiple people at the same time last night and can't remember all the details from each.
If the PG86IMG is the ruu then yes you can lower main version and lock bootloader and run ruu again.

You can't downgrade your hboot until you are s-off. So basically any cm rom requires s-off
 
  • Like
Reactions: fodoom
Upvote 0
Ahh maybe I got too excited that we finished. You can really only flash stock roms. And I should have told you to make a backup before flashing anything (which should always be done). If you did great, you can restore it. Much simpler than the ruu.

So do you have the PG86IMG version of the ruu. I'm sorry I was helping multiple people at the same time last night and can't remember all the details from each.
If the PG86IMG is the ruu then yes you can lower main version and lock bootloader and run ruu again.

You can't downgrade your hboot until you are s-off. So basically any cm rom requires s-off

Here's my current state:
S-OFF
Hboot 1.57.5757

I have a 4EXT backup of my current ROM. Just so we are on the same page I should do this:
1. Flash SetMainVersionLOW.zip
2. Run
fastboot oem lock
3. Power down, hold power+vol down into bootloader with PG86IMG.zip (filesize is roughly ~350k) in the root of my SD card from http://forum.xda-developers.com/showthread.php?t=1547695

After this my Hboot version should be low enough to flash CM?

Thanks for you continued assistance.
 
Upvote 0
Here's my current state:
S-OFF
Hboot 1.57.5757

I have a 4EXT backup of my current ROM. Just so we are on the same page I should do this:
1. Flash SetMainVersionLOW.zip
2. Run
3. Power down, hold power+vol down into bootloader with PG86IMG.zip (filesize is roughly ~350k) in the root of my SD card from http://forum.xda-developers.com/showthread.php?t=1547695

After this my Hboot version should be low enough to flash CM?

Thanks for you continued assistance.

Nope you cannot downgrade your hboot!! You have to be s-off to use a PG86IMG.zip (unless it's signed by HTC like the RUU). You cannot lower your hboot or flash any non-stock roms until you are s-off.

If you are still stuck in a bootloop, you should be able to boot into recovery, wipe everything and restore your backup to get booted back up. But until you do the wire trick to get s-off, you basically have to stick with stock ICS roms because you are on the latest hboot.
 
  • Like
Reactions: fodoom
Upvote 0
Nope you cannot downgrade your hboot!! You have to be s-off to use a PG86IMG.zip (unless it's signed by HTC like the RUU). You cannot lower your hboot or flash any non-stock roms until you are s-off.

If you are still stuck in a bootloop, you should be able to boot into recovery, wipe everything and restore your backup to get booted back up. But until you do the wire trick to get s-off, you basically have to stick with stock ICS roms because you are on the latest hboot.

In my previous post I stated that I achieved S-OFF and that my hboot is at version 1.57.5757

I understand that you are helping people other than myself, so I'll let this one slide ;)

Assuming that I am S-OFF and my hboot is version 1.57.5757, what does my CID need to be in order to flash the PG86IMG.zip from http://forum.xda-developers.com/showthread.php?t=1547695

I tried using SPCS_002 as my CID already, and here is the error message as I recall (before and after modifying my CID):
CID incorrect!
 
  • Like
Reactions: Brian706
Upvote 0
If you are already S-OFF you can flash a bootloader version lower than the 1.57.5757 that you have installed now and you should be fine as long as you "format all partitions except SD card before flashing it. Note that the OP for WFTN specifies an hboot version lower than 1.57 and won't flash unless you meet that requirement.

Here's a post that will help you downgrade your hboot. I recommend using the JBear 1.50.5050 version.

ramjet73
 
  • Like
Reactions: fodoom and Brian706
Upvote 0
In my previous post I stated that I achieved S-OFF and that my hboot is at version 1.57.5757

I understand that you are helping people other than myself, so I'll let this one slide ;)

Assuming that I am S-OFF and my hboot is version 1.57.5757, what does my CID need to be in order to flash the PG86IMG.zip from http://forum.xda-developers.com/showthread.php?t=1547695

I tried using SPCS_002 as my CID already, and here is the error message as I recall (before and after modifying my CID):

Sorry about that :eek:
Answered you this morning while I was rushing to get ready for work. That's what I get for reading too fast :p

As ramjet73 suggested, juoponutbear hboot 1.50.5050 would be a great choice. It will allow you to flash almost every rom out there with the exception of stock ICS roms that require hboot 1.57.

If you need extra help beyond the link he provided don't hesitate to ask more questions in here. We can answer them for you :)
 
  • Like
Reactions: fodoom
Upvote 0
Beast Mode [On] Off

I had to remove PG86IMG.zip using a card reader, but now I'm rocking CM10.1 wewt. I will eventually update my OP to explain the exact steps taken... But I have to put down my phone for that to happen first.

Much thanks again for your help Brian706 and ramjet73!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones