[Q] OTA problem - One (M7) Q&A, Help & Troubleshooting

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.

Related

[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)

/system/customize/ACC/default.xml

I made changes to /system/customize/ACC/default.xml without making a backup.
I do know the old settings but I think I need to restore the backup because
I want to do an update with the OTA to 4.42.
My one is S-offed and unlocked with firewater.
I installed twrp 2.7.0 but I already restored the recovery image to the stock one
.
When I try to run the ota update,
my phone restarts
the OTA starts off
but after awhile I get a red exclamation mark.
It seems this can happen if you deleted or changed one of the system files.
Since I changed /system/customize/ACC/default.xml I think this is the cause of my problem.
That's why I'm searching for this file of stock rom 3.62.401.1 as this is the one on my one.
I already found the OTA file for going from 2.24 to 3.62 but the file is not in that update.
Does the ita update look for filenames, creation dates or file sizes, that's what I don't know so therefore I think it is the best to restore the file.
Can anybody help me out?
deboopi2 said:
I made changes to /system/customize/ACC/default.xml without making a backup.
I do know the old settings but I think I need to restore the backup because
I want to do an update with the OTA to 4.42.
My one is S-offed and unlocked with firewater.
I installed twrp 2.7.0 but I already restored the recovery image to the stock one
.
When I try to run the ota update,
my phone restarts
the OTA starts off
but after awhile I get a red exclamation mark.
It seems this can happen if you deleted or changed one of the system files.
Since I changed /system/customize/ACC/default.xml I think this is the cause of my problem.
That's why I'm searching for this file of stock rom 3.62.401.1 as this is the one on my one.
I already found the OTA file for going from 2.24 to 3.62 but the file is not in that update.
Does the ita update look for filenames, creation dates or file sizes, that's what I don't know so therefore I think it is the best to restore the file.
Can anybody help me out?
Click to expand...
Click to collapse
See answer in your original thread.

[Q] Trouble Installing Sense 6 Update

Hello, i'm trying to install the latest Sense 6 update on my HTC On; however, i get the following error message with the red triangle:
Finding update package...
Opening update package...
Verifying update package...
Installing update...
Verifying current system...
Check /data/preload/SoundHound_Freemium.apk failed, error No such file or directory ( )
Installation aborted.
Write host_mode: 0 done[/B]
Any help would be much appreciated!
Viv
When you unlock boot loader data/preload apps deleted so you have to restore them according to your your phone Rom version
from HTC One
sense 6
yatindroid said:
When you unlock boot loader data/preload apps deleted so you have to restore them according to your your phone Rom version
from HTC One
Click to expand...
Click to collapse
How would i do this?
viv_1980 said:
How would i do this?
Click to expand...
Click to collapse
Just to give you some more information, the boot loader on my phone is unlocked.
Not an expert with all this, will require simple step-by-step instructions.
What's your Software Version?
AndyyyFTW said:
What's your Software Version?
Click to expand...
Click to collapse
My software version is: 4.20.771.17
viv_1980 said:
My software version is: 4.20.771.17
Click to expand...
Click to collapse
ok you need some apps missing during unlock boot loader process
Which was at data /preload so you have to restore them like sound hound & others
How get these apk
find another HTC One with same software version install es file explorer on that
Open es explorer go to apps manager backup all apps which are HTC made like calculator flash light htc ringtonetrimmer htc sound recorder sound hound use your logic these apps are long name & version then any other apps
copy these apps to your phone data/preload use root explorer now try ota again ( if any error still there note that error & try solving same way)
Or easy & long way S Off your phone
Then just install THIS & try ota for next version & again next version until you get your desired version
from HTC One
Does this require the phone to be rooted? Just so you know, my phone is not rooted.
Sent from my HTC One using XDA Free mobile app
viv_1980 said:
Does this require the phone to be rooted? Just so you know, my phone is not rooted.
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
yes you need root
Bootloader locked or unlocked ?
yatindroid said:
yes you need root
Bootloader locked or unlocked ?
Click to expand...
Click to collapse
Facing a similar problem but with system/app/plusone.apk, the sense 5.5 OTA had come in without any issues, only this OTA is getting stuck. I am S-ON, bootloader locked with stock recovery. To use the Guru reset tool, is it necessary to be S-OFF? My s/w version is 4.19.1540.9, there is a 4.3 RUU available on Htc dev site? Can i download it and run the .exe on a computer with my phone being BL locked, stock recovery or we can not downgrade to 4.3 from 4.4.2? I was planning to run the 4.3 .exe ruu and then OTA twice to get sense 6.
coolboy2343 said:
Facing a similar problem but with system/app/plusone.apk, the sense 5.5 OTA had come in without any issues, only this OTA is getting stuck. I am S-ON, bootloader locked with stock recovery. To use the Guru reset tool, is it necessary to be S-OFF? My s/w version is 4.19.1540.9, there is a 4.3 RUU available on Htc dev site? Can i download it and run the .exe on a computer with my phone being BL locked, stock recovery or we can not downgrade to 4.3 from 4.4.2? I was planning to run the 4.3 .exe ruu and then OTA twice to get sense 6.
Click to expand...
Click to collapse
you can't downgrade with S-ON using a ruu. This is not required to to be s-off to use guru reset rom but s-off is required for the guru bootloader reset tool. There is also a nandroid backup of 5.11.1540.9 and the signed firmware in the dev edition updates thread, where you have already posted about the same issue. look at page 94
alray said:
you can't downgrade with S-ON using a ruu. This is not required to to be s-off to use guru reset rom but s-off is required for the guru bootloader reset tool. There is also a nandroid backup of 5.11.1540.9 and the signed firmware in the dev edition updates thread, where you have already posted about the same issue. look at page 94
Click to expand...
Click to collapse
Thanks a lot alray, i did see the tutorial and to use the Guru reset tool, i need to unlock my bootloader, flash TWRP, then flash Guru reset tool and read on screen instructions to flash a stock recovery and firmware. After that, i need to relock the bootloader and check for OTA updates. The guru reset available is 3.22.1540.1 and as you say it does not require S-OFF.
What would be a safer way? To use guru reset tool and then do OTA updates till the latest firmware or install the 5.11.1540.9 firmware, i have absolutely no clue on how to flash stock firmwares, if it is done through custom recoveries or stock recovery.
Thanks
coolboy2343 said:
Thanks a lot alray, i did see the tutorial and to use the Guru reset tool, i need to unlock my bootloader, flash TWRP, then flash Guru reset tool and read on screen instructions to flash a stock recovery and firmware. After that, i need to relock the bootloader and check for OTA updates. The guru reset available is 3.22.1540.1 and as you say it does not require S-OFF.
What would be a safer way? To use guru reset tool and then do OTA updates till the latest firmware or install TWRP and then flash the 5.11.1540.9 firmware using TWRP?
Thanks
Click to expand...
Click to collapse
don't lock bootloader until your work finished you don't need it unlocked bootloader will help you if you got some difficulty / error
Guru rest Rom not required s off but if ota over that version should be same with your current version if not ota will fail for example your current version is 5 you use guru reset rom with version 3 then you will update it with ota version 4 it will fail because S On will not let you flash firmware 4 over 5 so keep that in mind use guru reset with same version of your current version
yatindroid said:
don't lock bootloader until your work finished
Guru rest Rom not required s off but if ota over that version should be same with your current version if not ota will fail for example your current version is 5 you use guru reset rom with version 3 then you will update it with ota version 4 it will fail because S On will not let you flash firmware 4 over 5 so keep that in mind use guru reset with same version of your current version
Now I'm yatin kumar to yatindroid
Click to expand...
Click to collapse
Darn it, which means i cant use Guru reset as my current version is 4.19.1540.9 and there is no reset tool available for it. Dont want to play around with S-OFF etc as am planning to sell the phone and worried if something might go wrong during the process.
The last option available is to then use a 4.19.1540.9 but one user had said some where that4.xx RUU's are not working.
I tried but could not find a 4.19.1540.9 nandroid backup as well, will try the RUU and if it does not work then maybe wait for htc dev to release 4.4.2 RUU from their end.
Is there any way to do this without rooting?
Sent from my HTC One using XDA Free mobile app
viv_1980 said:
Is there any way to do this without rooting?
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
RUU only
from HTC One
coolboy2343 said:
The last option available is to then use a 4.19.1540.9 but one user had said some where that4.xx RUU's are not working.
I tried but could not find a 4.19.1540.9 nandroid backup as well, will try the RUU and if it does not work then maybe wait for htc dev to release 4.4.2 RUU from their end.
Click to expand...
Click to collapse
Why would you want to find a 4.19.1540.9 nandroid backup when I said at post #11 that there is a nandroid backup of 5.11.1540.9 and the 5.11.1540.9 signed firmware in the dev edition updates thread at page 94 (posted by me, users reported both nandroid and firmware working good)
@yatindroid : sorry for hijacking this thread.
Sorry but i have no clue at all on how to use that nandroid backup to update the phone. Do i need to unlock bootloader again, flash twrp and then restore that backup?
What to do with the firmware file?
Thanks
alray said:
Why would you want to find a 4.19.1540.9 nandroid backup when I said at post #11 that there is a nandroid backup of 5.11.1540.9 and the 5.11.1540.9 signed firmware in the dev edition updates thread at page 94 (posted by me, users reported both nandroid and firmware working good)
@yatindroid : sorry for hijacking this thread.
Click to expand...
Click to collapse
coolboy2343 said:
Sorry but i have no clue at all on how to use that nandroid backup to update the phone. Do i need to unlock bootloader again, flash twrp and then restore that backup?
What to do with the firmware file?
Thanks
Click to expand...
Click to collapse
unlock bootloader
flash twrp 2.6.3.3
boot phone in recovery
make a backup of ''Boot'' only (this is only to generate a backup path on your phone)
when completed, reboot phone in the OS, connected on your computer
browse your internal storage, go to TWRP/Backups/Your_Phone_serial/Some_date/
delete files in this folder (these are the file backed up previously to generate the backup path above)
extract the 5.11.1540.9 backup archive and copy all the files in the backup folder (previously generated) of your phone (TWRP/Backups/Your_Phone_serial/Some_date/) should have around 11 files (some .win .md5 files and a .log)
go back in twrp, select ''restore'' , select ''some_date'' folder, select all the partitions and swipe to restore
after the restore is completed, in twrp go to ''wipe'' then ''swipe to factory reset'' do not ''format data'' or ''advanced wipe''
reboot phone in the OS
if you want to update the firmware after restoring the backup:
relock bootloader
reboot bootloader
flash the firmware
Code:
fastboot oem rebootRUU
fastboot oem flash zip firmware.zip
fastboot oem flash zip firmware.zip
fastboot reboot
flashing firmware can be dangerous so be sure you understand what you are doing first, there is a lot of threads here explaining how to flash firmware.
---------- Post added at 05:43 PM ---------- Previous post was at 05:39 PM ----------
coolboy2343 said:
am planning to sell the phone
Click to expand...
Click to collapse
Why not just seeling the phone ''as is'' ?
if you have any other question please pm me, open another thread or post in the dev update thread so it will be easier for @yatindroid and @viv_1980 to continue troubleshooting viv_1980's issue.
there is also another thread that discuss the exact same issue you are having ''unexpected content'' of /system/app/plusone.apk on 4.19.1540.9: http://forum.xda-developers.com/showthread.php?p=53381299
Maybe you could try what I said in that thread before messing with backups and firmware.
Problem solved
Thanks a ton to @alray, @yatindroid and @SaHiLzZ, i finally downloaded the 4.19.1540.9 RUU from Android ruu, connected to windows 7, used the .exe file and it smoothly flashed the stock firmware. After it, updated OTA to sense 6 and this time the update went smoothly and my M7 is now updated to sense 6. It is completely stock now, will easily get OTA updates in future and i wanted to set things right before selling it off so that the future owner does not face issues with the phone, not every one is a member of Xda .
Thanks guys

Can't Apply OTA to TMOUS M7 Rooted Stock

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/

Firmware update problems after rooting

Hey , im new to rooting and the forums so sorry if somethings are not properly explained.
I recently managed to root my uk variant m7 unlocked to any service with the latest twrp recovery.
I have recently found the venom rom which i would like to install to futher customize my rooted device, but i need to upgrade my android to 5.0.2 and i am currently on 4.2.2.
in the toolbar it says 'system update avaliable' and after installing it says 'system update ready' and im guessing this will bring me to 5.0.2 firmware. after clicking on it it reboots my phone and for some reason enters the recovery. from this point i do not know what to do.
so to summarise, i need to upgrade my m7 from 4.2.2 to 5.0.2 nut when i do it enters my twrp recovery and i do not know what to do
system details:
HTC One M7 UK variant unlocked to any service
rooted with SuperSU
Stock rom (4.2.2)
Stock kernel
Thanks
Julian1738 said:
im guessing this will bring me to 5.0.2 firmware.
Click to expand...
Click to collapse
no, there are a lot of updates between 4.2.2 and 5.0.2
after clicking on it it reboots my phone and for some reason enters the recovery.
Click to expand...
Click to collapse
Because the ota update is supposed to be flashed from stock recovery.
so to summarise, i need to upgrade my m7 from 4.2.2 to 5.0.2 nut when i do it enters my twrp recovery and i do not know what to do
Click to expand...
Click to collapse
You can't update your phone in its current status. You need stock recovery installed, unmodified /system files and /data/preload which is deleted during the htcdev bootloader unlock process. You'll probably need to use a RUU or something else.
system details:
HTC One M7 UK variant unlocked to any service
rooted with SuperSU
Stock rom (4.2.2)
Stock kernel
Click to expand...
Click to collapse
Unfortunately, this is not really relevant info, post the output of "fastboot getvar all" command, remove your IMEI # before posting.
so i have to unroot my phone
great this is going to take a while :/
if i factory reset my phone will it remove the bootloader and root?
Julian1738 said:
if i factory reset my phone will it remove the bootloader
Click to expand...
Click to collapse
What? You might want to read about what a bootloader is
A device without a booloader is called a paperweight
and root?
Click to expand...
Click to collapse
A factory reset only wipes user data. Root files are stored in /system partition which is not affected by a factory reset so short answer no, like I said you'll probably need a RUU or something else (stock odex rom/nandroid backup/guru reset rom) to reset your phone back to stock. Post the output of "fastboot getvar all"
alray said:
You can't update your phone in its current status. You need stock recovery installed, unmodified /system files and /data/preload which is deleted during the htcdev bootloader unlock process. You'll probably need to use a RUU or something else.
Click to expand...
Click to collapse
Its possible to download the update elsewhere and install it through twrp recovery?
If yes, where i can find these updates in zip form?
If not, what's the simple option to install the update?
thanks
tkdfilipe said:
Its possible to download the update elsewhere and install it through twrp recovery?
If yes, where i can find these updates in zip form?
If not, what's the simple option to install the update?
thanks
Click to expand...
Click to collapse
If your phone is S-off, you can download the Ota zip files and install them incrementally (can't skip a version) using stock recovery. That doesn't change the fact that all files in /system and /data/preload must be unmodified.
Imo, the simplest way to update if your phone isn't stock is with a RUU. If your phone is stock, reflash stock recovery and update with Ota, if it's stock and soff you can update with Ota zip files if you can find all the ones you need.
Sent from my HTC One using XDA Labs

Categories

Resources