[Q] Failing to flash stock recovery - One (M7) Q&A, Help & Troubleshooting

Hi there...
I am running a stock ROM software number 1.29.708.4, Android version 4.1.2
I have successfully rooted my HTC ONE to use some Superuser features but never installed an alternative ROM. Now the OTA update 4.2.2 is coming in, which I would like to install. I learned that I cannot install OTA updates on an unlocked phone,so I tried following this guide here to re-lock the phone and then flash it again to install the OTA.
So my first question: Isn't it easier to simply flash the target version of the OTA? Is there a way to get to the 400MB large update and install it with the current bootloader/recovery? The software update that is being downloaded is version 2.24.708.4
So according to the instruction linked above, I installed fastboot, HTC Sync and relocked the bootloader successfully. Then I downloaded the RUU EXE file here and tried to start it while the phone was in the USB fastboot, but the RUU starts and then silently dies without ever showing any activity. I assume this is not normal, but I do not know what and how to change there.
The other thing that makes me think is I read that I need to "Flash a stock recovery". Is that the same as flashing a 1GB large RUU? Or is there a simpler way to just flash the recovery software? If so, where do I get that?

Related

Help Updating OTA HTC System Update v.3.22.1540.1

Hi,
I am trying to update my phone to an OTA update from HTC that will bring my phone up to Android 4.3 and Sense 5. When I try to install it, my phone boots into Twerp v.2.6.0.1. I go to Install - Download Folder and click on the OTA file and then Swipe to Flash. It Fails and the last line above Failed is Updating Partition Table. Can someone help me?
Also, I noticed I wasn't running the latest version of Twerp. I was goin to download it but I can't recall whether I have the International version or AT&T version of the phone. Is there a quick way for me to figure that out? (if i need the updated Twerp).
Thanks.
John
Are you trying to do the OTA from within the OS or flashing a zip? If you try to do OTA from within the OS, it'll boot to TWERP because you're not supposed to do OTAs with a custom recovery. If you're trying to flash a zip though, it should work fine.
As far as I know, TWERP is the same for the international version and the AT&T version (only Sprint is different), anyway you can get all your essential info using this:
reboot to bootloader, then into fastboot
fastboot getvar all
Should give you all the information. Hope this helps!

[Q]Somebody claim he installed OTA without relock

Hey guys
A friend told me, he updated his htc one via OTA with just flashing stock recovery and not relocking the phone.
Is it possible?
I doubt because from the begining I have read everywhere that bootloader needs to be relocked.
Thanks for your answer,
Sent by myself, without help )
the last update worked for me without locked bootloader
arses said:
Hey guys
A friend told me, he updated his htc one via OTA with just flashing stock recovery and not relocking the phone.
Is it possible?
I doubt because from the begining I have read everywhere that bootloader needs to be relocked.
Thanks for your answer,
Sent by myself, without help )
Click to expand...
Click to collapse
Just stock recovery and unchanged stock rom, rooted is oK, bootloader doesn't matter
there is NO need for (re-)locking the bootloader in order to get the OTA.
You should just have anything stock, i.e. firmware, recovery and unmodified hboot of course.
You receive the OTA if you are UNLOCKED and S-OFF!
Thanks guys.
Sent by myself, without help )
darkarvan said:
there is NO need for (re-)locking the bootloader in order to get the OTA.
You should just have anything stock, i.e. firmware, recovery and unmodified hboot of course.
You receive the OTA if you are UNLOCKED and S-OFF!
Click to expand...
Click to collapse
OK, some dumb questions... I have a rooted stock Tmous device with 4.3 on it. The OTA obviously didn't work. I tried flashing a stock recovery I found online, but it may not have been the right one as I was never able to get it to upgrade.
So can you be specific of the steps necessary to get back to stock firmware, recovery and unmodified hboot? or is there another way to flash Kitkat easily?
I have TWRP right now, and have successfully been able to communicate with my device via ADB etc...
kendoori said:
OK, some dumb questions... I have a rooted stock Tmous device with 4.3 on it. The OTA obviously didn't work. I tried flashing a stock recovery I found online, but it may not have been the right one as I was never able to get it to upgrade.
So can you be specific of the steps necessary to get back to stock firmware, recovery and unmodified hboot? or is there another way to flash Kitkat easily?
I have TWRP right now, and have successfully been able to communicate with my device via ADB etc...
Click to expand...
Click to collapse
The T-Mobile OTA is very picky about the stock recovery. I had to run the RUU for the T-Mobile stock 4.3 which put my phone completely stock. Then it did the OTA to 4.4.2 just fine. Since I am S-OFF, it was then easy enough to unlock and root. I've since found what appears to be the recovery.img from the OTA 4.4.2 update, so when they release another OTA update, I should be able to simply flash that recovery and get the update as normal. I hope.
Fuzi0719 said:
The T-Mobile OTA is very picky about the stock recovery. I had to run the RUU for the T-Mobile stock 4.3 which put my phone completely stock. Then it did the OTA to 4.4.2 just fine. Since I am S-OFF, it was then easy enough to unlock and root. I've since found what appears to be the recovery.img from the OTA 4.4.2 update, so when they release another OTA update, I should be able to simply flash that recovery and get the update as normal. I hope.
Click to expand...
Click to collapse
Can you point me in the direction of the RUU you used? Of would you DropBox it to me (or some other file share method)?
Also, I'm currently S-On, so do you think my first step is to S-Off?
I've stayed with stock because I need WiFi calling, although I was just about to try Revolution HD 61 which supposedly has WiFi calling.
Any help is apperciated.
I didn't relock, but I did s-off
I've been trying to upgrade to 4.4 for weeks and finally figured out how to do it....
1) Installed Rumrunner to get s-off. I found Rumrunner and instructions here: http://rumrunner.us/
2) Downloaded older TMOUS firmware package that I found here: http://forum.xda-developers.com/showpost.php?p=43383588&postcount=2 and extracted recovery.img from it (to get me back to stock recovery)
3) Used Fastboot and flashed the stock recovery
4) Ran the standard update from within 4.3 and let it follow standard OTA process
5) Flashed latest TWRP via Fastboot (for some reason the openrecovery script method from the goo.im app didn't work) which I found here: http://techerrata.com/browse/twrp2/m7

[Q] Updating rooted One to 4.4.2.

I rooted my HTC One a while ago.
Recently, I got the request from my phone to preform a system update. I wasn't used to my phone being rooted and forgot it was rooted and preformed the update. When the update tried to install, it opened up my recovery (ClockworkMod Recovery) and rebooted my phone (I guess this is the normal reaction).
I really like my phone to be up-to-date. How can I get the official 4.4.2. update on my phone?
(If necessary, I wouldn't mind losing my root access in the process as long as I can root back after the update. However, I would prefer my Bootloader to remain unlocked so I won't have to format again.)
I am very interested in Android, but i know very little about things like this so please, if you know how, explain it to me step by step without leaving out little details.
Thanks in advance.
JellyFox said:
I rooted my HTC One a while ago.
Recently, I got the request from my phone to preform a system update. I wasn't used to my phone being rooted and forgot it was rooted and preformed the update. When the update tried to install, it opened up my recovery (ClockworkMod Recovery) and rebooted my phone (I guess this is the normal reaction).
I really like my phone to be up-to-date. How can I get the official 4.4.2. update on my phone?
(If necessary, I wouldn't mind losing my root access in the process as long as I can root back after the update. However, I would prefer my Bootloader to remain unlocked so I won't have to format again.)
I am very interested in Android, but i know very little about things like this so please, if you know how, explain it to me step by step without leaving out little details.
Thanks in advance.
Click to expand...
Click to collapse
Many things are required to flash ota updates. First one is the stock recovery, you can't install an ota update with a custom recovery like cwm or twrp. So flash back the stock recovery that match the version you have on your phone. If you have modified or deleted files in /system, you'll have to revert those changes. The updater script of the ota update MD5 cheksum these files. If only 1 file doesn't match the expected value, the installation will fail. Same thing apply to preloaded app that get wiped when you unlock bootloader (calculator, flashlight etc...)
So first, flash your stock recovery and try to install the ota. If it doesn't work, post the output of ''fastboot getvar all'' (except imei/sn) and we will check what you can do to updates your phone
alray said:
Many things are required to flash ota updates. First one is the stock recovery, you can't install an ota update with a custom recovery like cwm or twrp. So flash back the stock recovery that match the version you have on your phone. If you have modified or deleted files in /system, you'll have to revert those changes. The updater script of the ota update MD5 cheksum these files. If only 1 file doesn't match the expected value, the installation will fail. Same thing apply to preloaded app that get wiped when you unlock bootloader (calculator, flashlight etc...)
So first, flash your stock recovery and try to install the ota. If it doesn't work, post the output of ''fastboot getvar all'' (except imei/sn) and we will check what you can do to updates your phone
Click to expand...
Click to collapse
Thank you for the reply.
I wasn't able to try this since my phone broke down and i had to return it to the store.
(The person working there knew what he was talking about and was familiar with Bootloader.)
I will use your info if i ever need it again.

[Q] Problem while updating

Guys, I have 901E and on android 4.4 with sense 5.5, my device is rooted, bootloader unlocked and S-ON, I am trying to update to Sense 6, as I received an OTA update, as I did before, I returned back to stock ROM that available in this article (DLXPUL_TW_1.21.709.3.zip), then downloading the OTA directly from device, but currently when the update finish, device keeps going on boot loop, (starting device>>>hTC logo appear>>>then restart again), I need to flash boot image from the OTA file in order to bypass this issue......
please advise
EDIT: when updating from 4.2.2 to 4.3 (stuck on boot loop, need to flash boot.img)
when updating from 4.3 to 4.4.2 w/sense 5.5 stuck on the white screen with htc logo and beats audio
I made the same procedure before when I got 4.4.2 update with Sense 5.5 as I was also rooted on 4.3, please help, I might forget some steps....
Guys please advise......
Bareq said:
Guys please advise......
Click to expand...
Click to collapse
Well, I, for one, can't help you because from your first post it is not clear at all what you did and what went wrong. Or what exactly you need from us. If you need the firmware image to flash, then just download the OTA package linked elsewhere in this forum, and extract the firmware from there. If you need more help, be more clear.
koniiiik said:
Well, I, for one, can't help you because from your first post it is not clear at all what you did and what went wrong. Or what exactly you need from us. If you need the firmware image to flash, then just download the OTA package linked elsewhere in this forum, and extract the firmware from there. If you need more help, be more clear.
Click to expand...
Click to collapse
koniiiik thanks for your reply, let try to make it more clear....
- what I want: want to update my current version of Android.
- what I had before: Android 4.4.2 with Sense 5.5 and want to update to 4.4.2 with Sense 6 (as I received a notification to update).
- what modification I had: bootloader unlocked with htcdev, device is rooted, S-ON and TWRP installed.
- what I did: I flashed the stock ROM for my device (Android 4.2.2) in order to remove root and return to stock recovery and a complete stock ROM.
- why I did the last step: in order to get the OTA directly from device one by one (from 4.2.2 w/sense5 then 4.3 w/sense5.5 then 4.4.2 w/sense 5.5 and finally to 4.4.2 w/sense6).
- what I got: after flashing the stock ROM (Android 4.2.2 w/sense5) through TWRP, device works fine.
- then after downloading the OTA (4.3 w/sense 5.5) device stuck on bootloop
- what I did to bypass this issue: flashing boot.img from the OTA file.
- what I did next: downloaded the OTA (4.4.2 w/sense5.5) directly from the device, and install it.
- what I got: stuck on the white screen with htc logo (please not colors are not correct on the htc logo)
- what I did: tried to flash the boot.img from the OTA file, but this cannot help (just the colors are fine now)
- what is my question: why I need to flash boot.img as mentioned above? and how to get the 4.4.2 with sense 5.5 work (please be informed that I did the same steps to update to android 4.4.2 with sense 5.5 and everything works fine without any issues and no need to flash the boot.img as I mentioned before)
Bareq said:
koniiiik thanks for your reply, let try to make it more clear....
- what I want: want to update my current version of Android.
- what I had before: Android 4.4.2 with Sense 5.5 and want to update to 4.4.2 with Sense 6 (as I received a notification to update).
- what modification I had: bootloader unlocked with htcdev, device is rooted, S-ON and TWRP installed.
- what I did: I flashed the stock ROM for my device (Android 4.2.2) in order to remove root and return to stock recovery and a complete stock ROM.
- why I did the last step: in order to get the OTA directly from device one by one (from 4.2.2 w/sense5 then 4.3 w/sense5.5 then 4.4.2 w/sense 5.5 and finally to 4.4.2 w/sense6).
- what I got: after flashing the stock ROM (Android 4.2.2 w/sense5) through TWRP, device works fine.
- then after downloading the OTA (4.3 w/sense 5.5) device stuck on bootloop
- what I did to bypass this issue: flashing boot.img from the OTA file.
- what I did next: downloaded the OTA (4.4.2 w/sense5.5) directly from the device, and install it.
- what I got: stuck on the white screen with htc logo (please not colors are not correct on the htc logo)
- what I did: tried to flash the boot.img from the OTA file, but this cannot help (just the colors are fine now)
- what is my question: why I need to flash boot.img as mentioned above? and how to get the 4.4.2 with sense 5.5 work (please be informed that I did the same steps to update to android 4.4.2 with sense 5.5 and everything works fine without any issues and no need to flash the boot.img as I mentioned before)
Click to expand...
Click to collapse
How did you install the OTA updates? Did you flash the stock recovery first, or were you trying to do that with TWRP? Did you try to download and install OTA updates by hand or did you let the phone itself download and install them? What are the precise version numbers involved? I'm not just interested in numbers such as 4.2.2, 4.3 or 4.4, but the full version string of the ROM, in each step. It sounds to me like you're trying to mix different branches of the system.
koniiiik said:
How did you install the OTA updates? Did you flash the stock recovery first, or were you trying to do that with TWRP? Did you try to download and install OTA updates by hand or did you let the phone itself download and install them? What are the precise version numbers involved? I'm not just interested in numbers such as 4.2.2, 4.3 or 4.4, but the full version string of the ROM, in each step. It sounds to me like you're trying to mix different branches of the system.
Click to expand...
Click to collapse
my friend I am not trying to mix anything, I just flashed ROM version 1.21.709.3 as mentioned above which it is available in the butterfly s General section through TWRP as mentioned also in the instructions in order to return back to stock, means stock ROM and recovery, then leaving the phone to download and install updates by itself
Bareq said:
my friend I am not trying to mix anything, I just flashed ROM version 1.21.709.3 as mentioned above which it is available in the butterfly s General section through TWRP as mentioned also in the instructions in order to return back to stock, means stock ROM and recovery, then leaving the phone to download and install updates by itself
Click to expand...
Click to collapse
In that case I don't know. You might try to use the latest stock recovery, when installing the 3.06.708.3 update on my phone I found that I had to use the recovery from that update; using anything older just failed.

Back Up M7 to PC

Is there any way to do a full 'nandroid' backup directly to a PC over USB? The one downside I've found to HTC is if running the stock rom (but rooted), when updates come along, it's an epic pain in the neck to update. In order to update a rooted M7, you need to revert to non-rooted stock. To do that, you need a RUU. But in order for that to work, it needs to be =/> the version on the phone. For some reason, I'd swear the RUU I had was downloaded direct from HTC, but try as I might, I could not find a place to download a RUU From HTC today. When I tried to update my M7, the RUU that I had was older than what I had on the phone, so that failed, despite being S=OFF. I found a newer RUU than what I had, but that failed when trying to install it (one of the applications crashed on two different PCs). After a TON of searching, I finally found the same version I was running and was FINALLY able to get that to go and update to the latest release via two OTA updates.
What I'd like to do is take my current, 'un-molested' rom and back it up 0x000000 - 0xFFFFFFF (so to speak) via USB to my PC in such a way that when the next update comes out, I can then flash that backup back to the phone via USB, bringing it back to where it is now, totally stock, not rooted, etc, rather than trying to find some RUU that's =/> the version I'm now on in order to simply apply an update.
Is this possible?
I would consider a custom ROM. Back up directly to PC don't work afaik. But you can do the backup, then copy it to your PC.
Sent from my One using XDA Premium 4 mobile app
SubnetMask said:
Is there any way to do a full 'nandroid' backup directly to a PC over USB? The one downside I've found to HTC is if running the stock rom (but rooted), when updates come along, it's an epic pain in the neck to update. In order to update a rooted M7, you need to revert to non-rooted stock. To do that, you need a RUU. But in order for that to work, it needs to be =/> the version on the phone. For some reason, I'd swear the RUU I had was downloaded direct from HTC, but try as I might, I could not find a place to download a RUU From HTC today. When I tried to update my M7, the RUU that I had was older than what I had on the phone, so that failed, despite being S=OFF. I found a newer RUU than what I had, but that failed when trying to install it (one of the applications crashed on two different PCs). After a TON of searching, I finally found the same version I was running and was FINALLY able to get that to go and update to the latest release via two OTA updates.
What I'd like to do is take my current, 'un-molested' rom and back it up 0x000000 - 0xFFFFFFF (so to speak) via USB to my PC in such a way that when the next update comes out, I can then flash that backup back to the phone via USB, bringing it back to where it is now, totally stock, not rooted, etc, rather than trying to find some RUU that's =/> the version I'm now on in order to simply apply an update.
Is this possible?
Click to expand...
Click to collapse
Yes, it is possible but you will have to downgrade your hboot first. Once you have the phone back to stock and before putting on a custom recovery, you can make a nandroid backup of your stock rom & recovery.
1. Downgrade your hboot to 1.44 using the method posted in nkk71's 3rd post.
2. Put your device in bootloader/FASTBOOT USB, type fastboot boot twrp.img ==> insert your custom recovery.img
This will boot your phone into the custom recovery.
3. Select backup and make a nandroid of your partitions. After it executes, then boot back into fastboot mode.
4. Return your hboot back to it's previous state. NOTE: you can pull the hboot out of a recent OTA.zip or firmware.zip and place it in a copy of the hboot zip you used earlier.
5. Copy the nandroid backup to your PC should you need it in the future.
6. Now you are free to install a custom recovery or rom knowing you have a pure stock nandroid backup to fall back on.

Categories

Resources