[Q]Trying to flash to stock ROM to update bootloader - AT&T HTC One (M8)

I want to update my cyanogenmod to lollipop, but the boot-loader isn't supported, so my understanding is that I need to flash to stock, get the ota to update the boot-loader, then I can flash to cyanogenmod. When I try to boot into the stock rom images I have downloaded, I get a red triangle. What am I doing wrong? I am s-on.

Kirov123 said:
When I try to boot into the stock rom images I have downloaded, I get a red triangle. What am I doing wrong? I am s-on.
Click to expand...
Click to collapse
Red triangle is stock recovery. Did you only flash the stock recovery? You need to flash the stock ROM/nandroid and a stock recovery to prepare your phone for an OTA.
But also note, that unless you are really set on keeping your user data, its much easier to just RUU up to Lollipop, as opposed to the method you are doing; which involves finding the right stock ROM, correct stock recovery, then OTA (possibly more than one) installs to get up to Lollipop.
The only downsides to RUU, is that the phone will be wiped (so before RUU, backup anything you want to keep off phone: to the cloud, PC, removable SD, etc.), and if s-on you will need to relock the bootloader to RUU (than unlock bootloader again in order to flash TWRP and custom ROMs).

Related

Hboot

Does having revolutionary hboot protect my phone from being bricked?
More or less. It puts a bootloader that is unable to be overwritten without some extra steps. You can't just load a new bootloader. This means you should be able to always get into bootloader to flash a PG05IMG (recovery, ruu, radio) to fix the problem that won't let you boot completely into what ever rom you have. Just being able to flash recovery means you can atleast wipe and flash a new rooted rom.

[Q] Confused about RUU firmware and mainver

Back from Moto-land with Rezound. I've flashed several ROMS and one I would like to flash now says that I must firs be on the leaked 3.11.605.22 firmware.
I thought that when I flashed a rom and it rebooted into bootloader to install the PH98IMG.zip file, that it was installing the necessary firmware. I'm confused.
How do I get to the necessary Leaked firmware. I've searched and googled, but everything I find, indicates that I cannot install the leak, because I have already used the HTC unlock tool. Again, confused
I appreciate your help!
ruu isn't a Tom that loads the kernel afterwards. the leak is flashed all at once which appears to be how kernels are flashed. flashing the leak requires the lock then it flashes everything together but remember it wipes all data with exception of external sd
Followup Q1: So is it possible to get to the RUU 3.11.605.22 firmware, WITHOUT re-locking and flashing the leak? (not concerned at all about full wipe, do it with each rom)
Q2: If I do have to re-lock and then flash the leak, do I first have to return to a 100% stock state (ie, restore all the bloat-ware and such)? (if you've ever had a Bionic you know what I'm talking about)
http://forum.xda-developers.com/showthread.php?p=23700622
Sent from my ADR6425LVW using Tapatalk
nukeboyt said:
Followup Q1: So is it possible to get to the RUU 3.11.605.22 firmware, WITHOUT re-locking and flashing the leak? (not concerned at all about full wipe, do it with each rom)
Q2: If I do have to re-lock and then flash the leak, do I first have to return to a 100% stock state (ie, restore all the bloat-ware and such)? (if you've ever had a Bionic you know what I'm talking about)
Click to expand...
Click to collapse
Originally Posted by JoelZ9614 View Post
Here are the instructions...
Download...
rename the zip to PH98IMG.zip
put on your sdcard
reboot to bootloader
fastboot oem lock
reboot to bootloader again
flash.
reboot to bootloader
[if it says security warning and tampered at the top flash again..after continue to next step]
fastboot flash unlocktoken Unlock_code.bin [of course only if u have ur original Unlock_code.bin if not do the whole htc thing again]
reboot......
A little confused. Android Police says you have to be fully stock with a locked bootloader to install 605.22. According to this, I don't have to be stock, I just have to relock it, and be aware that the full RUU install with radios will wipe my entire phone except external SD? (I wouldn't ask this except that it directly contradicts the AP post.)
And do we have the ability to re-root the resulting ICS installation?
And there's no other way to apply just the radios and the pre-rooted (Non-RUU?) version?
Does the pre-rooted version also do a full wipe?
cpurick said:
A little confused. Android Police says you have to be fully stock with a locked bootloader to install 605.22. According to this, I don't have to be stock, I just have to relock it, and be aware that the full RUU install with radios will wipe my entire phone except external SD? (I wouldn't ask this except that it directly contradicts the AP post.)
And do we have the ability to re-root the resulting ICS installation?
And there's no other way to apply just the radios and the pre-rooted (Non-RUU?) version?
Does the pre-rooted version also do a full wipe?
Click to expand...
Click to collapse
So far no other way to get the new radios , sounds like the only reason the OTA leak worked was the way it was packaged. This new leak isn't packaged the same way so you would have to relock and run the RUU to get the new radios.
Personally, all I did was reflash stock recovery before hand, but I had to run it a few times to get it to work fully and at one point I just relocked with amon recovery installed and ran it and it worked just fine. It wipes recovery as part of the installation and installs the updated stock recovery.
andybones said:
Originally Posted by JoelZ9614 View Post
Here are the instructions...
Download...
rename the zip to PH98IMG.zip
put on your sdcard
reboot to bootloader
fastboot oem lock
reboot to bootloader again
flash.
reboot to bootloader
[if it says security warning and tampered at the top flash again..after continue to next step]
fastboot flash unlocktoken Unlock_code.bin [of course only if u have ur original Unlock_code.bin if not do the whole htc thing again]
reboot......
Click to expand...
Click to collapse
Sorry for the questions, but when I do all of this, will I still have the Amon Ra recovery, or does this return to the stock recovery (which I assume it does)?
When the PH file is flashed in recovery it will overwrite whatever recovery you had flashed previously and leave you with stock everything...including recovery.
Sent from my ADR6425LVW
I was able to upgrade to the new ROM and then re-unlock my phone. But when I put Amon Ra in SD folder as PH98IMG.zip and reboot to the loader, I am never prompted to install it. Furthermore, attempts to get into recovery result in a green circular icon followed by a red triangle with exclamation point.
I tried all sorts of resets and reboots. Right now I have a green recovery option, but no working recovery. The top line says "UNLOCKED".
I've tried Amon Ra 3.13 and 3.14.
Download this file.
Place it in the same folder that you setup for the HTCdev unlock.
Rename it to "recovery."
Go to the command prompt and type in this command: cd c:\nameoffolder (mine is c:\Android for example)
Boot into Hboot
Select Fastboot
Connect to PC
Then type this exactly : fastboot flash recovery recovery.img
That should get you loaded with Amon Ra.
http://forum.xda-developers.com/showthread.php?p=19205213
Installation instructions are in the OP.
What you see now when you select recovery in hboot is what is considered stock recovery
Sent from my ADR6425LVW using Tapatalk
EmerikL said:
Download this file.
Place it in the same folder that you setup for the HTCdev unlock.
Rename it to "recovery."
Go to the command prompt and type in this command: cd c:\nameoffolder (mine is c:\Android for example)
Boot into Hboot
Select Fastboot
Connect to PC
Then type this exactly : fastboot flash recovery recovery.img
That should get you loaded with Amon Ra.
Click to expand...
Click to collapse
Thank you. I had already figured it out, and this is exactly what the problem was. Last time I flashed with a PH98IMG version of recovery, but this latest version that I have is for Fastboot. Thanks!
Never thought it would be such a relief to see the "TAMPERED" warning, lol.
All is good!
ZIP to fix mainver problems
http://forum.xda-developers.com/showpost.php?p=23169557&postcount=4

[Q] Bootloader Problem

I too was anxious and with odin started to flash a rooted firmware only to find out it was not the proper one. Good news is I still have full access to my phone, I can boot into cw recovery, but I don't have the bootloader option anymore. How can I flash bootloader back to phone with odin? I need a file.

[q] help! Phone wont past sprint logo after kernel update!!!

i was previously running Meanrom 6.4 rooted S-ON and i decided to S-OFF my phone
i have RUU my phone and unlock the bootloader through dirtyracun s-off but when i was about to run the final step which is RabiesShot.exe(to S-OFF), my laptop have barely any battery left so i decided to not do that for the time being.
after that, I am still running the RUU 2.13.651.1 - HBOOT 1.19 without Root or any mods.
I decided to flash the "PJ75IMG - Stock Kernel". i renamed it to PJ75IMG and put it on my sdcard and it did successfully flash.
the problem is that my phone wont boot past Sprint Logo(it would suddenly black screen of death).
also, since i have no way of removing the PJ75IMG on the SD card, everytime i try to access recovery, it automatically tries to flash that file then it would exit and reboot automatically.
the only way for me to skip that part is to remove the sdcard.
my TWRP is also gone so i cannot flash any roms.
i have no card reader so i cannot place any stuff on my micro sd. :crying:
i though about downgrading the kernel to the previous working version through fastboot but when i looked for the files, they say downgrading would result in a brick.
is there any way i can maybe fastboot jellybean or ics or the kernel to make my phone work again?
edit:
if i did flash the Jellybean with my current kernel, is there a way to achieve S-OFF?
i also havent found stock jellybean rom that isnt rooted
Just...
raclimja said:
i was previously running Meanrom 6.4 rooted S-ON and i decided to S-OFF my phone
i have RUU my phone and unlock the bootloader through dirtyracun s-off but when i was about to run the final step which is RabiesShot.exe(to S-OFF), my laptop have barely any battery left so i decided to not do that for the time being.
after that, I am still running the RUU 2.13.651.1 - HBOOT 1.19 without Root or any mods.
I decided to flash the "PJ75IMG - Stock Kernel". i renamed it to PJ75IMG and put it on my sdcard and it did successfully flash.
the problem is that my phone wont boot past Sprint Logo(it would suddenly black screen of death).
also, since i have no way of removing the PJ75IMG on the SD card, everytime i try to access recovery, it automatically tries to flash that file then it would exit and reboot automatically.
the only way for me to skip that part is to remove the sdcard.
my TWRP is also gone so i cannot flash any roms.
i have no card reader so i cannot place any stuff on my micro sd. :crying:
i though about downgrading the kernel to the previous working version through fastboot but when i looked for the files, they say downgrading would result in a brick.
is there any way i can maybe fastboot jellybean or ics or the kernel to make my phone work again?
edit:
if i did flash the Jellybean with my current kernel, is there a way to achieve S-OFF?
i also havent found stock jellybean rom that isnt rooted
Click to expand...
Click to collapse
If i were you, i would go back through the s-off process if you can, that will get you back to stock and s-off, then install latest twrp, and then instal OMJ's custom release of the new JB update, it will give you root and the new update, Install the radios since you are s-off and you are good to go.
You need to finish that last step to gain s-off though lol. You should have waited.
Also, im not sure if that is just the kernel, but if it is, just the kernel and nothing else. Then you should be able to do s-off fine still.
Someone correct me if im wrong, i just learned this whole s-off process today so i could do the update.
igotlostintampa said:
If i were you, i would go back through the s-off process if you can, that will get you back to stock and s-off, then install latest twrp, and then instal OMJ's custom release of the new JB update, it will give you root and the new update, Install the radios since you are s-off and you are good to go.
You need to finish that last step to gain s-off though lol. You should have waited.
Also, im not sure if that is just the kernel, but if it is, just the kernel and nothing else. Then you should be able to do s-off fine still.
Someone correct me if im wrong, i just learned this whole s-off process today so i could do the update.
Click to expand...
Click to collapse
the thing is the phone wont even boot past the HTC Logo then it would display black screen of death
edit: i found through google saying the error is rekated to the kernel version and i should downgrade first.
is there any safe/reliable method of downgrading the latest kernel from ota (i did not flash the one with the latest hboot but i am still s-on)
i tried to Fastboot RUU but i got an error saying FAILED (remote: 43 main version check fail)
Fix boot loop after jellybean firmware update via bootloader
raclimja said:
the thing is the phone wont even boot past the HTC Logo then it would display black screen of death
edit: i found through google saying the error is rekated to the kernel version and i should downgrade first.
is there any safe/reliable method of downgrading the latest kernel from ota (i did not flash the one with the latest hboot but i am still s-on)
i tried to Fastboot RUU but i got an error saying FAILED (remote: 43 main version check fail)
Click to expand...
Click to collapse
I had the same problem.
1.remove the PJ75IMG file from exrtenal sd card.
2.reboot to fastboot pres factory reset
3. immidietly press and hold volume down, this should get you to recovery.
4. wipe
5. restore a backup rom
6.reboot
It worked for me after hours of trying other methods.
I just went through a bootloop mess. What i did to get my phone back was to use fastboot and use commands (on my pc) like
fastboot flash recovery recovery.img (for TWRP)
fastboot flash boot boot.img (for Kernel)
That got my phone back up and working.
Have you tried this?
raclimja said:
the thing is the phone wont even boot past the HTC Logo then it would display black screen of death
edit: i found through google saying the error is rekated to the kernel version and i should downgrade first.
is there any safe/reliable method of downgrading the latest kernel from ota (i did not flash the one with the latest hboot but i am still s-on)
i tried to Fastboot RUU but i got an error saying FAILED (remote: 43 main version check fail)
Click to expand...
Click to collapse
ok i believe, fastboot should get you twrp. As will it get you the boot flash.
Fastboot flash zip (latest twrp)
Fastboot flash boot (ICS sense rom's boot.img extracted from zip) (this will get you the kernel)
Reboot hold vol down and power to get to bootloader
select recovery
Twrp wipe and flash ICS rom you got the boot img from. (this will take a bit because it wont install kernel, but you already have it from step 2)
you should boot into the rom. then re-do Dirty Raccoon installation, go all the way through, and you should now be s-off
re-install twrp
Flash radios in bootloader (fastboot flash zip (.zip for radios) (link one from Original android development jelly bean flashables post) (optional)
Go to twrp, factory reset, wipe cache, wipe dalvic, wipe syste.
Twrp Flash OMJ's custom JB release of this update, or stock with goodies, or jewel-swag.
Wipe cache/Dalvic
reboot.
I think this should work but i would immagine you've tried it already. Im running the new kernel and am experiencing no problems with it.
If you're s-off just use fastboot to flash a new kernel, no need to do a factory reset or anything else.
The kernel and ROM must be installed as a pair, just upgrading one isn't going to work.

flashing firmware.zip

I was flashing latest ota update with TWRP, now last thing i have to do is to flash firmware.zip
wich contains
boot.img
hboot_1.40.0000_signedbyaa.img
rcdata.img
recovery.img
Will i lose any data???
Im trying to get updated 1.17.401.3 with custom recovery, stock rom and root.
Can anyone confirm>??
thanks
IMO, the easiest way to do what you are asking is to just lock the bootloader, reboot into fastboot, and run the RUU.exe. It will update everything. After that, you just re-unlock your boot loader with the unlock.bin you used last time. Then install superSU.zip after you install a recovery. This process gets everything you want and takes about 10-15min.
badtlc said:
IMO, the easiest way to do what you are asking is to just lock the bootloader, reboot into fastboot, and run the RUU.exe. It will update everything. After that, you just re-unlock your boot loader with the unlock.bin you used last time. Then install superSU.zip after you install a recovery. This process gets everything you want and takes about 10-15min.
Click to expand...
Click to collapse
Thanks for your post!
Edit: i mean i have custom recovery TWRP no stock.
But what you said, i will lose data, pictures etc??
and what about my way, will i lose data too?
I flashed the firmware.zip and lost my whole sdcard so i'd back up before doing anything!
edit: you'll need to relock the bootloader to flash it too, which might be what actually wiped everything.

Categories

Resources