Can't Apply OTA to TMOUS M7 Rooted Stock - One (M7) Q&A, Help & Troubleshooting

Am trying to go from Rooted Stock TMOUS M7 to Lollipop
I restored what I thought to be the stock recovery, but after downloading and applying the OTA, system came back with some variation of "Package expects build fingerprint xxxx." I read elsewhere that one should download the OTA and unzip the recovery.img, and flash that (which I did).
When I try to apply the OTA after that I get the following in recovery...
script aborted: "/system/priv-app/MyTask.apk" has unexpected contents. E:Error in /data/media/0/Download/OTA_M7....
What is a method that I can use to flash the OTA without completely wiping?

For OTA match needed
Firmware version
CID
MID
Stock recovery
System files intact unmodified
Data/preload intact
Ota checks sha-1 sign of system files that should match
You need restore original files
It will big mess
Make nandroid backup
Make titanium backup
Install ruu or stock Rom reset zip or stock Rom nandroid backup flash stock Recovery flash ota

No matter what I did, including a complete wipe, I wasn't able to apply this update and I eventually gave up. I tried relocking the device too.
I've since installed InsertCoin w/5.02 and it was pretty painless.
I had been clinging to stock because I wanted to preserve WiFi calling (I'm on TMOUS), but good news is that InsertCoin does that...

kendoori said:
No matter what I did, including a complete wipe, I wasn't able to apply this update and I eventually gave up. I tried relocking the device too.
I've since installed InsertCoin w/5.02 and it was pretty painless.
I had been clinging to stock because I wanted to preserve WiFi calling (I'm on TMOUS), but good news is that InsertCoin does that...
Click to expand...
Click to collapse
latest T-Mo full RUU is on the HTC site, soz, ive been away for a couple of hours, you could of just downloiaded that and run it, bookmark for returning to full stock for future updates, use the manual instructions on this page, download at the bottom: http://www.htc.com/us/support/htc-one-t-mobile/news/

Related

[Q] Help unrooting and removing tampered (S-Off doesn't work, and no RUU for Rogers).

I've been trying for a while to get my HTC One back to stock (it is rooted), but have been unable to. I can't figure out how to unroot the darn thing, yet alone remove the tampered line from the bootloader...My main focus is to unroot it, Superuser is being stubborn and won't go away no matter what I do (installed SuperSU, which removes Superuser, but then Superuser comes back once the phone reboots).
I have tried nearly EVERYTHING I've found on here, Rogers, for whatever reason, does not have an RUU file for the HTC One. I have a nandroid backup, as well as boot.img and recovery.img, does that help me? I can't even boot into TWRP now, it just goes back to the Bootloader and I get a security warning under the "UNLOCKED" line.
I do want to remove "tampered" from the bootloader, but my HBOOT is 1.54, and Rumrunner says that doesn't support the device configuration.
Any help would be appreciated, I'm new to Android and just want this phone back to normal. Thanks XDA has been very helpful with learning what Android is about!
josh7cfc said:
I've been trying for a while to get my HTC One back to stock (it is rooted), but have been unable to. I can't figure out how to unroot the darn thing, yet alone remove the tampered line from the bootloader...My main focus is to unroot it, Superuser is being stubborn and won't go away no matter what I do (installed SuperSU, which removes Superuser, but then Superuser comes back once the phone reboots).
I have tried nearly EVERYTHING I've found on here, Rogers, for whatever reason, does not have an RUU file for the HTC One. I have a nandroid backup, as well as boot.img and recovery.img, does that help me? I can't even boot into TWRP now, it just goes back to the Bootloader and I get a security warning under the "UNLOCKED" line.
Click to expand...
Click to collapse
Okay, if you cannot S-Off, you cannot remove the tampered. But my understanding is that if you change your ROM, your rumrunner eligibility will change. The ROM needs to match one of their configurations.
If you have an original nandroid backup, you can restore that and it will be unrooted. Finally, you can restore the stock recovery. But you can't boot the custom recovery? Maybe you need to re-flash it. Try installing a newer version (of the same type you used to make the backup). If your bootloader is locked, you'll need to unlock it to re-flash.
If you have the stock recovery, you can attempt to unroot while the system is running (using ADB), but that's risky because you could leave yourself in a half-rooted state where some super-user app is installed, but root is actually not working.
fenstre said:
Okay, if you cannot S-Off, you cannot remove the tampered. But my understanding is that if you change your ROM, your rumrunner eligibility will change. The ROM needs to match one of their configurations.
If you have an original nandroid backup, you can restore that and it will be unrooted. Finally, you can restore the stock recovery. But you can't boot the custom recovery? Maybe you need to re-flash it. Try installing a newer version (of the same type you used to make the backup). If your bootloader is locked, you'll need to unlock it to re-flash.
If you have the stock recovery, you can attempt to unroot while the system is running (using ADB), but that's risky because you could leave yourself in a half-rooted state where some super-user app is installed, but root is actually not working.
Click to expand...
Click to collapse
I tried flashing the nandroid but superuser and my root stays, I'm going to try another one I found (my carrier doesn't offer an RUU). I'll do the nandroid in TWRP, and then restore the stock recovery and hope that works. Thanks!
fenstre said:
Okay, if you cannot S-Off, you cannot remove the tampered. But my understanding is that if you change your ROM, your rumrunner eligibility will change. The ROM needs to match one of their configurations.
If you have an original nandroid backup, you can restore that and it will be unrooted. Finally, you can restore the stock recovery. But you can't boot the custom recovery? Maybe you need to re-flash it. Try installing a newer version (of the same type you used to make the backup). If your bootloader is locked, you'll need to unlock it to re-flash.
If you have the stock recovery, you can attempt to unroot while the system is running (using ADB), but that's risky because you could leave yourself in a half-rooted state where some super-user app is installed, but root is actually not working.
Click to expand...
Click to collapse
I figured out the problem, the kernal I have keeps rerooting my phone. Since my lovely carrier does not have the stock HTC kernal, is there a way I can flash another carriers to get the stock HTC kernal? I only have a nandroid backup, and a 95mb ruu update file that is in .gz format. I cannot thank you enough for helping me
josh7cfc said:
I figured out the problem, the kernal I have keeps rerooting my phone. Since my lovely carrier does not have the stock HTC kernal, is there a way I can flash another carriers to get the stock HTC kernal? I only have a nandroid backup, and a 95mb ruu update file that is in .gz format. I cannot thank you enough for helping me
Click to expand...
Click to collapse
The ARHD guys are hosting what appears to be the stock ROM in a recovery-flashable format. Look here and find "stock odexed". That's probably not modded or rooted. If it works, you can install the stock recovery from the same site.
josh7cfc said:
I figured out the problem, the kernal I have keeps rerooting my phone. Since my lovely carrier does not have the stock HTC kernal, is there a way I can flash another carriers to get the stock HTC kernal? I only have a nandroid backup, and a 95mb ruu update file that is in .gz format. I cannot thank you enough for helping me
Click to expand...
Click to collapse
you may wanna try one of the Guru Reset ROMs: http://www.htc1guru.com/downloads/stock-rom-downloads/
one compatible with your firmware (from "fastboot getvar all")
the Guru Reset is stock odexed ROM, but has ability to select ROOT. (unselect "stock recovery", or you will loose your custom recovery and have to flash it back)
Once you're s-off, you may wanna take a peek at my guide (in my signature) on returning to stock.
and BTW: a 95MB RUU is impossible, has to be around 1GB

[Q] Trying to install KK OTA - stock, rooted

Moved this question from here: http://forum.xda-developers.com/showthread.php?p=51198721
I'm currently stock, rooted, S-OFF, and TWRP recovery. I'm flashed to 3.06.651.6 firmware.
I still get the OTA notifications, and my goal is to install the latest OTA update (without RUU) so that I can preserve data. I've created a TWRP backup, but that's the extent of it.
Any help is appreciated.
Other background - I reverted back to 3.06.651.6 after flashing firmware 4.06.xxx because I could not boot normally after that or did not know how.
My bootloader says Tampered, relocked
vflock said:
Moved this question from here: http://forum.xda-developers.com/showthread.php?p=51198721
I'm currently stock, rooted, S-OFF, and TWRP recovery. I'm flashed to 3.06.651.6 firmware.
I still get the OTA notifications, and my goal is to install the latest OTA update (without RUU) so that I can preserve data. I've created a TWRP backup, but that's the extent of it.
Any help is appreciated.
Other background - I reverted back to 3.06.651.6 after flashing firmware 4.06.xxx because I could not boot normally after that or did not know how.
My bootloader says Tampered, relocked
Click to expand...
Click to collapse
Ok
I have never done an OTA or Ran an RUU personally.
To the best of my knowledge you will have to flash the stock recovery and a stock rom to be able to take the OTA.
Sidenote: You say you are re-locked...when you unlock again it's going to wipe your device.
Backup everything important to your PC then run the RUU stuff is gonna get wiped either way might as well use the RUU as it's a cleaner method.
You'll have to flash the 4.06 firmware I pointed you to from the other thread to get the required hboot.
BD619 said:
Ok
I have never done an OTA or Ran an RUU personally.
To the best of my knowledge you will have to flash the stock recovery and a stock rom to be able to take the OTA.
Sidenote: You say you are re-locked...when you unlock again it's going to wipe your device.
Backup everything important to your PC then run the RUU stuff is gonna get wiped either way might as well use the RUU as it's a cleaner method.
You'll have to flash the 4.06 firmware I pointed you to from the other thread to get the required hboot.
Click to expand...
Click to collapse
Serious Q - Am I not On the stock ROM if I never switched ROMs?
But OK, s=you're saying if I were even able to get the stock revoery reloaded, and receive the OTA, but then if i try to unloack bootloader after that I won't be able to? Also serious Q - Do you have a link on performing a good nandroid backup?
Next - if I did run the RUU, how would i quickly restore my data - just using titanium backup? is that the quickest/only way?
vflock said:
Serious Q - Am I not On the stock ROM if I never switched ROMs?
But OK, s=you're saying if I were even able to get the stock revoery reloaded, and receive the OTA, but then if i try to unloack bootloader after that I won't be able to? Also serious Q - Do you have a link on performing a good nandroid backup?
Next - if I did run the RUU, how would i quickly restore my data - just using titanium backup? is that the quickest/only way?
Click to expand...
Click to collapse
If you never changed roms then yes you are on a stock rom.
To unlock the bootloader again you would use Htc Dev again(unless you still have your unlock token) and by doing so it will wipe your phone.
Only way to nandroid is to have a custom recovery which means unocking bootloader.
I personally don't use Titanium Backup so can't answer that...I backup my phone/sdcard to my PC at least once a month (copy and paste to a folder on my PC)

[Q] Problem installing update

Hi today i got the 4.4.2 update and i tried to install it and it failed
My current situation is:
Tempered
Relocked
S-ON
Completely stock (I was rooted, xposed, sense 5 toolkit, htc hand font) by flashing firmware.zip and relocking the bootloader and i created (data/preload/apps) and put every app that comes with the same directory in the OTA and flashing htc stock font back and i've done a factory rest to make sure everything is stock :good:
every time i try to install the update i got ("/system/bin/app_process' has unexpected contents Installation aborted)
by the way my CID is HTC_044 and i'm on 707 region
Anybody have any idea to help please don't hesitate to share it
afmot said:
Hi today i got the 4.4.2 update and i tried to install it and it failed
My current situation is:
Tempered
Relocked
S-ON
Completely stock (I was rooted, xposed, sense 5 toolkit, htc hand font) by flashing firmware.zip and relocking the bootloader and i created (data/preload/apps) and put every app that comes with the same directory in the OTA and flashing htc stock font back and i've done a factory rest to make sure everything is stock :good:
every time i try to install the update i got ("/system/bin/app_process' has unexpected contents Installation aborted)
by the way my CID is HTC_044 and i'm on 707 region
Anybody have any idea to help please don't hesitate to share it
Click to expand...
Click to collapse
Looks like you're not stock after all.
You say you were using Xposed. Xposed replaces /system/bin/app_process with a patched version. By flashing firmware.zip you did not revert your system to stock, only your firmware, that is recovery, kernel, radio, hboot and other firmware partitions, but *not* /system. Which means you still have the Xposed version of app_process on your phone, as well as any other additional mods you installed.
To get to stock, you'll need to restore a backup of the stock system without any mods installed. Neither relocking the bootloader nor S-ON/S-OFF have any effect, you can apply official OTAs with both S-OFF and unlocked bootloader just fine. You don't need factory reset either, the contents of /data don't matter to the OTA at all. What you do need is a stock /system and stock recovery. Of those two requirements, you only fulfilled the second.
If you do not have a clean backup of the stock system, you can either hope that someone else has one and is willing to share it, or you can change your CID to either HTC_622 or a super CID and use the stock ROM I posted over here
All done
koniiiik said:
Looks like you're not stock after all.
You say you were using Xposed. Xposed replaces /system/bin/app_process with a patched version. By flashing firmware.zip you did not revert your system to stock, only your firmware, that is recovery, kernel, radio, hboot and other firmware partitions, but *not* /system. Which means you still have the Xposed version of app_process on your phone, as well as any other additional mods you installed.
To get to stock, you'll need to restore a backup of the stock system without any mods installed. Neither relocking the bootloader nor S-ON/S-OFF have any effect, you can apply official OTAs with both S-OFF and unlocked bootloader just fine. You don't need factory reset either, the contents of /data don't matter to the OTA at all. What you do need is a stock /system and stock recovery. Of those two requirements, you only fulfilled the second.
If you do not have a clean backup of the stock system, you can either hope that someone else has one and is willing to share it, or you can change your CID to either HTC_622 or a super CID and use the stock ROM I posted over here
Click to expand...
Click to collapse
Thank you it went well :victory::victory::victory::victory:
I replaced the app_process with the one from your nandroid backup and the update process was successful :laugh::laugh:

[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] OTA problem

sooooo... I was trying to update my rooter one M7 to the newest updates
But when it go into recovery, the bar stops at about 25% and the log says "/system/framework/core.odex has unexpected contents"
Is there any way to overcome this without having to restore to stock? Cause I cant find Nandroid backup or RUU file for the HK version
TakChan said:
sooooo... I was trying to update my rooter one M7 to the newest updates
But when it go into recovery, the bar stops at about 25% and the log says "/system/framework/core.odex has unexpected contents"
Is there any way to overcome this without having to restore to stock? Cause I cant find Nandroid backup or RUU file for the HK version
Click to expand...
Click to collapse
you can use a international build or asia build they can be found here
TakChan said:
sooooo... I was trying to update my rooter one M7 to the newest updates
But when it go into recovery, the bar stops at about 25% and the log says "/system/framework/core.odex has unexpected contents"
Is there any way to overcome this without having to restore to stock? Cause I cant find Nandroid backup or RUU file for the HK version
Click to expand...
Click to collapse
Are you stock? You must have stock rom, stock recovery, sometimes apps that are being update and if you are S-ON a locked bootloader. nkk71 has a guide to what is needed for OTA.

Categories

Resources