[Q] help with reverting to stock/updating firmware - One (M7) Q&A, Help & Troubleshooting

Hey everyone,
I have looked everywhere but havent found a way to return to stock. I simply want to return to stock so that i can update my firmware. My details are as follows:
S-ON
Hboot: 1.56
OS-4.19.401.11
my bootloader is unlocked, obviously
I just need someone to direct me in the correct path.
Ive searched a lot but havent gotten far,please, I appreciate any help i can get from.
Thanks

beschier12 said:
Hey everyone,
I have looked everywhere but havent found a way to return to stock. I simply want to return to stock so that i can update my firmware. My details are as follows:
S-ON
Hboot: 1.56
OS-4.19.401.11
my bootloader is unlocked, obviously
I just need someone to direct me in the correct path.
Ive searched a lot but havent gotten far,please, I appreciate any help i can get from.
Thanks
Click to expand...
Click to collapse
You can follow nkk71's guide in my signature.
If you don't want to go completely back to stock just to get OTA you can flash this Guru Reset 4.19.401.11 in TWRP. In Aroma just select stock recovery and radio, when you reboot you will have stock recovery, stock rom. To get the OTA updates, you will have to relock your bootloader. You can use this command in bootloader/FASTBOOT USB:
Code:
fastboot oem lock

majmoz said:
You can follow nkk71's guide in my signature.
If you don't want to go completely back to stock just to get OTA you can flash this Guru Reset 4.19.401.11 in TWRP. In Aroma just select stock recovery and radio, when you reboot you will have stock recovery, stock rom. To get the OTA updates, you will have to relock your bootloader. You can use this command in bootloader/FASTBOOT USB:
Code:
fastboot oem lock
Click to expand...
Click to collapse
Thank you so much! i searched a lot for my versions reset tool. Just one last question. When i update my firmware and OS now and make a nandroid backup, will that nandroid help me revert back to stock after i have rooted my phone again?

beschier12 said:
Thank you so much! i searched a lot for my versions reset tool. Just one last question. When i update my firmware and OS now and make a nandroid backup, will that nandroid help me revert back to stock after i have rooted my phone again?
Click to expand...
Click to collapse
Yes, it will make it a little easier. You will need to make the nandroid backup the first thing when you boot into recovery the first time before you root the phone. Save it to your computer for future use. If you are able to get the stock recovery from the firmware you can use it with your nandroid backup to get you close to stock. You would flash the stock recovery with the same commands as you flashed the custom recovery.

majmoz said:
Yes, it will make it a little easier. You will need to make the nandroid backup the first thing when you boot into recovery the first time before you root the phone. Save it to your computer for future use. If you are able to get the stock recovery from the firmware you can use it with your nandroid backup to get you close to stock. You would flash the stock recovery with the same commands as you flashed the custom recovery.
Click to expand...
Click to collapse
Awesome! Thanks again!

Related

[Q] Going back to stock but with custom recovery

Hello,
I want to go back to stock factory image.
I am now on ARHD 12.3 with S-ON and stock CID and ROOT but want to go back to the orignal factory rom to get all the OTA updates.
And maybe it is possible to go back to stock to get the OTA's and still able to backup rom with custom recovery?
I want to do it as follow:
- Make a nandroid backup (TWRP)
- Copy backup to pc for safekeeping
- Use the RUU for the HTC M7_UL european
Now i am 100% stock right or do i forget something?
Thanks
c0de1 said:
Hello,
I want to go back to stock factory image.
I am now on ARHD 12.3 with S-ON and stock CID and ROOT but want to go back to the orignal factory rom to get all the OTA updates.
And maybe it is possible to go back to stock to get the OTA's and still able to backup rom with custom recovery?
I want to do it as follow:
- Make a nandroid backup (TWRP)
- Copy backup to pc for safekeeping
- Use the RUU for the HTC M7_UL european
Now i am 100% stock right or do i forget something?
Thanks
Click to expand...
Click to collapse
if you want to get OTA updates you need stock recovery too and relocked bootloader...
herwegan said:
if you want to get OTA updates you need stock recovery too and relocked bootloader...
Click to expand...
Click to collapse
Sorry but I believe you are wrong, you do not have to have a locked bootloader to get ota updates.
i just flashed a stock nandroid backup (from the internet), then i flashed stock recovery and locked the bootloader Everythis i now stock and i get official OTA. But i dont have a custom recovery
Stock recovery won't prevent the OTA from downloading, but it will prevent it from installing.
There is no need to relock the Bootloader. Restore stock nandroid and stock recovery and you are good to go.
Sent from my HTC One using xda app-developers app
ok i thought you need to relock too, but i guess i'm wrong but stock recovery is necessary..

Unroot Hboot 1.54 S-on

Hi,
My camera had problems focusing so I tried flashing the GPE ROM in hope of it would fix my camera - no luck. Now I need to get it back for repair so I need to get it back to complete stock.
Got my bootloader relocked, and i'm back on the 4.2.2 stock sense 5 ROM since I did a nandroid backup before flashing the GPE ROM. The only problem is now that i'm rooted and have hboot 1.54 with S-on so I cannot run any RUU's.
Is it possible to unroot it and get the stock recovery ?
My version is:
Baseband 4A.17.3250.14
Version 2.24.401.1
Flash the Mike1986's stock rom, and the stock recovery, after relock your bootloader and you will be stock
carljoe said:
Hi,
My camera had problems focusing so I tried flashing the GPE ROM in hope of it would fix my camera - no luck. Now I need to get it back for repair so I need to get it back to complete stock.
Got my bootloader relocked, and i'm back on the 4.2.2 stock sense 5 ROM since I did a nandroid backup before flashing the GPE ROM. The only problem is now that i'm rooted and have hboot 1.54 with S-on so I cannot run any RUU's.
Is it possible to unroot it and get the stock recovery ?
My version is:
Baseband 4A.17.3250.14
Version 2.24.401.1
Click to expand...
Click to collapse
If you flashed the stock ROM you're not rooted.
The problem is probably that you're relocked, with no way of becoming locked.
The best you can do is HTCDev unlock and install stock recovery, then relock again and hope that's close enough.
Or wait for S-OFF on 1.54 or, if you really are "locked" vs "relocked", find or wait for the 2.24.401 RUU.
BenPope said:
If you flashed the stock ROM you're not rooted.
The problem is probably that you're relocked, with no way of becoming locked.
The best you can do is HTCDev unlock and install stock recovery, then relock again and hope that's close enough.
Or wait for S-OFF on 1.54 or, if you really are "locked" vs "relocked", find or wait for the 2.24.401 RUU.
Click to expand...
Click to collapse
you are right, just checked with root checker and I am not rooted. But how do I know which recovery I am running? As of right now nothing happens when I try to enter the recovery in bootloader. I guess it is becaused I just relocked the bootloader?
carljoe said:
you are right, just checked with root checker and I am not rooted. But how do I know which recovery I am running? As of right now nothing happens when I try to enter the recovery in bootloader. I guess it is becaused it is relocked now ?
Click to expand...
Click to collapse
Not sure how to check which recovery. Normally a nandroid has the custom recovery, unless you fastboot boot recovery.img with it stock (which you should, but is usually left out of the guides).
However, somewhere it will say "tampered" (hboot?) if you have unsigned software installed. If it doesn't say tampered, you have stock stuff.
BenPope said:
Not sure how to check which recovery. Normally a nandroid has the custom recovery, unless you fastboot boot recovery.img with it stock (which you should, but is usually left out of the guides).
However, somewhere it will say "tampered" (hboot?) if you have unsigned software installed. If it doesn't say tampered, you have stock stuff.
Click to expand...
Click to collapse
It says tampered and as far as I can understand from other threads, it will keep saying that no matter what I do.
But I didnt fastboot any recovery image, just restored the nandroid backup in my custom recovery.
So I guess I have to unlock the bootloader and flash the stock recovery.
Thank you for your explanations
carljoe said:
It says tampered and as far as I can understand from other threads, it will keep saying that no matter what I do.
But I didnt fastboot any recovery image, just restored the nandroid backup in my custom recovery.
So I guess I have to unlock the bootloader and flash the stock recovery.
Thank you for your explanations
Click to expand...
Click to collapse
I'm pretty sure tampered goes away when all the partitions have signed software, but I'm open to correction. Where does it say that?
Nah, the fastboot boot is the first step after unlocking, before you flash custom recovery, you should boot it and then nandroid and then flash custom recovery and ROM or root. That way your nandroid is actual stock.
Anyway yeah, unlock, flash stock, relock (unless you're "locked" vs "relocked") should be fine.
You can only remove the tampered flag when you are S-Off, obviously not an option at the moment on Hboot 1.54 .. Same goes for changing the relocked back to locked, S-Off needed. As Guich said, check mike1986's threads as he has the stock recovery image to install using fastboot.
When you did your Nandroid backup, did you check to backup recovery? if not you will need to install it again using the command "fastboot flash recovery recovery.img"

Backup Recovery and ROM on htc one

Hi there!
I've just switched over from iPhone to android and want to root my HTC One. But before I do that, I would first like to make a backup of the stock ROM and stock recovery (if I want to go back to stock later because of service, selling the device and so on).
When i searched the web i found this guide. The guide mentioned that you could boot TWRP through "fastboot boot recovery.img" without flashing the recovery and then make a nandroid backup of the entire stock system (with the recovery included).
But when i tried doing it through fastboot the boot loader frooze and i had to restart the phone. How do i make a backup of the stock ROM and recovery if i can't do it like described in the guide?
I know you should be able to install an RUU if you wan't to go back to stock but i run a carrier branded phone with a CID that has no available RUU's...
I currently run Stock HTC Sense ROM and recovery with a unlocked bootloader through htcdev.com.
So how do i make a backup of the stock recovery and ROM, I would really appreciate all possible answers and theories!
Thanks for the reply!
You can install TWRP and backup your stock ROM, and for the recovery what you can do is download an OTA update from somewhere around here on the forums, extract it and you will find the stock recovery inside it and you can flash it easily the same way you flash TWRP using fastboot but what I dont know is if you have to find an OTA for your carrier branded phone or the recovery isn't affected by carriers, I hope someone can answer this question!
RTIT said:
You can install TWRP and backup your stock ROM, and for the recovery what you can do is download an OTA update from somewhere around here on the forums, extract it and you will find the stock recovery inside it and you can flash it easily the same way you flash TWRP using fastboot but what I dont know is if you have to find an OTA for your carrier branded phone or the recovery isn't affected by carriers, I hope someone can answer this question!
Click to expand...
Click to collapse
Thank you for your reply!
Yes i also wonder if you have to find a specific OTA for your specific phone or if the recovery is "universal" for all different versions. My CID is H3G_G04 which seems to be a specific version for the operator three (3). I have not been able to find any RUU's or OTA's for that specific CID.
It would be awesome if anybody could answer this!
Thank you
Viggan said:
Hi there!
I've just switched over from iPhone to android and want to root my HTC One. But before I do that, I would first like to make a backup of the stock ROM and stock recovery (if I want to go back to stock later because of service, selling the device and so on).
When i searched the web i found this guide. The guide mentioned that you could boot TWRP through "fastboot boot recovery.img" without flashing the recovery and then make a nandroid backup of the entire stock system (with the recovery included).
But when i tried doing it through fastboot the boot loader frooze and i had to restart the phone. How do i make a backup of the stock ROM and recovery if i can't do it like described in the guide?
I know you should be able to install an RUU if you wan't to go back to stock but i run a carrier branded phone with a CID that has no available RUU's...
I currently run Stock HTC Sense ROM and recovery with a unlocked bootloader through htcdev.com.
So how do i make a backup of the stock recovery and ROM, I would really appreciate all possible answers and theories!
Thanks for the reply!
Click to expand...
Click to collapse
If it's a new phone and has hboot 1.54 then you can't boot into recovery through fastboot as HTC have blocked this. You will have to flash recovery and then do your backups. There are plenty of sources around for the stock recovery if you require it later.
rider5512 said:
If it's a new phone and has hboot 1.54 then you can't boot into recovery through fastboot as HTC have blocked this. You will have to flash recovery and then do your backups. There are plenty of sources around for the stock recovery if you require it later.
Click to expand...
Click to collapse
Is there any other way to extract a recovery from my phone? I can not find any RUU's or OTA's for my specific CID. It's almost like it didn't exist...
Viggan said:
Thank you for your reply!
Yes i also wonder if you have to find a specific OTA for your specific phone or if the recovery is "universal" for all different versions. My CID is H3G_G04 which seems to be a specific version for the operator three (3). I have not been able to find any RUU's or OTA's for that specific CID.
It would be awesome if anybody could answer this!
Thank you
Click to expand...
Click to collapse
Recovery seems to be universal. Someone posted that they used this stock recovery to restore back to stock and get an OTA:
http://forum.xda-developers.com/showthread.php?t=2224752

[Q] Rooted with stock sense and recovery ota

Hello,
I'd like to ask few question about using the factory reset option with a stock 4.3 sense rom (unlocked bootloader, rooted and twrp recovery)
So, i rooted my device to try out viper4android but turns out its completely useless to me as i later learned that stock does not allow read/write to system partition and now i'm wondering how to go back safely.
As i said above, i'm still using the stock 4.3 rom with an unlocked bootloader no other changes made, so my question is to go back stock (using factory reset) do i need to:
1. Flash stock recovery and do a factory reset.
2. Flash stock recovery, relock bootloader and do a factory reset.
3. Guru reset M7
4. Other?
Thanks ~
EDIT:
Quick update, so just flashed stock recovery and used factory reset, now ofc the root did remain, so now my question is, can i
take ota safely with stock rom/recovery but rooted?
Thanks ~
Anyone please, are any of my choices the good one (if so wich one)?
Goolum said:
Anyone please, are any of my choices the good one (if so wich one)?
Click to expand...
Click to collapse
This is the way to go back to a stock ROM:
http://forum.xda-developers.com/showthread.php?t=2541082
If you’re on hboot which is above 1.44, then first thing is to downgrade that:
so download this: http://www.htc1guru.com/dld/1-29-401-12_hboot_1-44-zip/
in bootloader/FASTBOOT USB, flash it:
fastboot oem rebootRUU
fastboot flash zip 1.29.401.12_hboot_1.44.zip
fastboot flash zip 1.29.401.12_hboot_1.44.zip <---- just in case the above said “failed flush again”
fastboot reboot-bootloader
--> and confirm hboot is now 1.44
Thank you for your help, the problem is i'm on hboot 1.55 and rumrunner ain't working because of the
secure stock kernel, so i cannot go with the ruu way, wich is why i was wondering if i could simply use
the factory reset option since other than being rooted it is fully stock, or else the htc1 guru reset option.
Goolum said:
Anyone please, are any of my choices the good one (if so wich one)?
Click to expand...
Click to collapse
Post ur getvar all if ur confused as to which RUU to flash
As i said above flashing a ruu ain't an option since i'm s-on, what i meant by factory reset is the built in option (either through fastboot
or settings) with stock sense since i did not change anything, just unlocked the bootloader and rooted, and if that's not possible then if
guru reset utility for peoples with s-on is a good idea.
So i ended flashing stock recovery and used factory reset, everything did go alright tho ofc the root did remain, so now my question is, can i
take kitkat ota safely with stock rom/recovery but rooted? Or the fact that it's rooted risk messing up stuff? Oh and i dont mind loosing root.
Thanks ~
Goolum said:
So i ended flashing stock recovery and used factory reset, everything did go alright tho ofc the root did remain, so now my question is, can i
take kitkat ota safely with stock rom/recovery but rooted? Or the fact that it's rooted risk messing up stuff? Oh and i dont mind loosing root.
Thanks ~
Click to expand...
Click to collapse
Your fine...you will lose root tho...

updated from hboot 1.55 to 1.57, now boot looping

As thread says, now boot looping. Did fastboot reboot at the end of the upgrade and phone tried to reboot then stayed off.
Trying to go into recovery but that blacks out for me as well.
saw this thread pop up in the "similar threads" field as i was creating this post so guess i should give it a go? http://forum.xda-developers.com/showthread.php?t=1936852
basically says to just reinstall a custom recovery and flash a new rom and i'm all set (i think).
you need unlock device again and flash custom recovery
1)Unlock your device
2)flash custom recovery
3)flash rom
Click to expand...
Click to collapse
If that's the case my phone still says i'm unlocked. So yeah, not sure what to do here. Thanks in advance for any help.
My guess is the new kernel/boot.img is not compatible with the rom you are running.
1. You could try a dirty flash of your current rom.(don't wipe anything just flash the rom)
2. Flash a 5.03.651.3 stock rooted rom.
3. Restore a good backup.
4. Run the 5.03.651.3 RUU and start fresh.
BD619 said:
My guess is the new kernel/boot.img is not compatible with the rom you are running.
1. You could try a dirty flash of your current rom.(don't wipe anything just flash the rom)
2. Flash a 5.03.651.3 stock rooted rom.
3. Restore a good backup.
4. Run the 5.03.651.3 RUU and start fresh.
Click to expand...
Click to collapse
Hi, yeah i see.
I went ahead and flashed a TWRP recovery i had labeled as safe and managed to get back into recovery. I'm now on one of my original stock backups which i set right before i went into custom rom mode. So got some functionality back at least.
I will now attempt the RUU process. Please correct me if i'm wrong, but after i complete it, i have to root my phone again? And s-off shouldn't change?
Since you are s-off you don't need to re-lock your bootloader, so all you should need to do after the RUU is re-flash twrp,flash SuperSU if you are going to stay stock rooted or flash a custom rom and you should be good to go.
BD619 said:
Since you are s-off you don't need to re-lock your bootloader, so all you should need to do after the RUU is re-flash twrp,flash SuperSU if you are going to stay stock rooted or flash a custom rom and you should be good to go.
Click to expand...
Click to collapse
awesome, you are the best
thanks again for your help, i would have been in some kind of misery without it lol.
nickhx2 said:
awesome, you are the best
thanks again for your help, i would have been in some kind of misery without it lol.
Click to expand...
Click to collapse
No worries good luck

Categories

Resources