[Q] I can't update via OTA - One (M8) Q&A, Help & Troubleshooting

Hello everyone
I want to update mi htc one via OTA but when the phone reboots enter to teamwin recovery i want to know how to updateit my firmware version is 1.12.599.20
Thank you and sorry for my bad english​

daga2448 said:
when the phone reboots enter to teamwin recovery​
Click to expand...
Click to collapse
Enough said. You need stock recovery to do OTA.

Try to locate OTA file and flash it manually

BerndM14 said:
Enough said. You need stock recovery to do OTA.
Click to expand...
Click to collapse
how do i install stock recovery without lossing root??

daga2448 said:
how do i install stock recovery without lossing root??
Click to expand...
Click to collapse
You won't lose root if you have stock recovery.
Do you even have a stock recovery? If so, just place it inside the adb folder, open the command prompt change directory to adb folder, boot into bootloader mode and type fastboot flash recovery name_of_recovery.img The same way you probably got custom recovery onto the device.
Won't lose root because of stock recovery. You'll lose root because of the OTA though, but even then it's easy enough to regain root. You can then either flash back the custom recovery OR boot the custom recovery. I'd suggesting booting the custom recovery that way you can make a nandroid backup of the updated system before you flash anything again.
fastboot boot custom_recovery_name.img If you're using TWRP then it probably won't make a backup of the stock recovery, CWM/Philz will work better for the nandroid. After you made a backup(If you choose to make a backup, again strongly suggested) then you can flash a custom recovery again.

Was it really necessary to post in a massive font?

Related

I can't seem to root

I went back to odin to get a fresh of my gs3. I did the 4.1.1 update and now i have an issue.
I can't seem to install any recovery on my samsung galaxy s3 in order to root it.
I have tried just about all the downloadable clockworks out there and even tried twrp...its no go. I do not know why this is happening because I never had this problem before when rerooting my gs3.
Any one faced this before? suggestion?
You need to flash recovery via odin.
If you want just flash root66 lastest firmware which is in rooted version too.
Stock recovery is overwriting your custom recovery. Need to access recovery mode after you flash, but before the device can boot (so that the custom recovery can disable to automatic flashing script).
bikrame said:
You need to flash recovery via odin.
If you want just flash root66 lastest firmware which is in rooted version too.
Click to expand...
Click to collapse
I do, personally I only flash via odin....root66...is that a rom? how do I flash that without rooting?
Aerowinder said:
Stock recovery is overwriting your custom recovery. Need to access recovery mode after you flash, but before the device can boot (so that the custom recovery can disable to automatic flashing script).
Click to expand...
Click to collapse
I am not quite sure what you are saying here about needing to access recovery mode after I flash...I flash the clockwork recovery mode and when i go to access it, i only see the stock.
I i reflashed odin again and decided to root using 4.0.4 ics...now it worked..I guess we can't flash over 4.1.1 anymore?
anyway, thank you both ^.^
The problem is with the newer roms, when your phone boots, your custom recovery is overwritten with stock recovery. This operation is done with a script that comes with the newer stock firmwares - it's built into the startup procedure. So when you flash a custom recovery with Odin, you need to drop to recovery mode before the phone ever gets a chance to boot into the OS, so that the custom recovery can disable this script. If the phone boots, it will wipe out your recovery. Do you understand now?
Aerowinder said:
The problem is with the newer roms, when your phone boots, your custom recovery is overwritten with stock recovery. This operation is done with a script that comes with the newer stock firmwares - it's built into the startup procedure. So when you flash a custom recovery with Odin, you need to drop to recovery mode before the phone ever gets a chance to boot into the OS, so that the custom recovery can disable this script. If the phone boots, it will wipe out your recovery. Do you understand now?
Click to expand...
Click to collapse
Oh now that make a lot of sense. So I was not suppose to reboot before going into recovery with 4.1.1...will keep that in mind next time!
Even though you're rooted, flash the 4.1 root66 in Odin. You don't want to go from ICS to JB via recovery, it doesn't flash all partitions. After you flash root66 in Odin, you will already be rooted. Then you can just flash a custom recovery.
Sent from my SGH-T999 using Tapatalk 2
If I remember correctly you can still root normally on the later builds, you just have to pop out you battery after you flash, don't let it auto-reboot, then you can put the battery back in and get to clockwork recovery.

Recovery

I for some reason can't get the stock recovery to flash the root file or any stock firmware. Also I can't get it to change recoveries for some reason I've tried in terminal with a few different ones and tried flashing the stock one also but it won't change. Does anything know how to fix this? Is there a back to stock thing I can flash it? I've been searching for days with no luck. Thanks
Sent from my X9006 using XDA Free mobile app
You have to flash the latest stock recovery! They patched the stock recovery and hashed for that!
Flash a custom recovery and make a nandroid backup. Save your backup for security reasons to your pc then install coloros completely new from 1.2.1and only update it with ota to 1.2.4 . Now use fastboot to boot from a custom recovery like Philz.(fastboot boot recovery.img)
Recovery.img should be replaced with the name of your recovery. Twrp won't work for this plan!, cause it don't backs up the recovery. Now make again a backup. Save the recovery.img from backup safely. Now restore your old backup and flash the captured stock recovery. Tada now your ota update should work fine!
Cheers
got it thanks a lot!! got root and that custom recovery worked! thanks again!!
Zoltan-X said:
You have to flash the latest stock recovery! They patched the stock recovery and hashed for that!
Flash a custom recovery and make a nandroid backup. Save your backup for security reasons to your pc then install coloros completely new from 1.2.1and only update it with ota to 1.2.4 . Now use fastboot to boot from a custom recovery like Philz.(fastboot boot recovery.img)
Recovery.img should be replaced with the name of your recovery. Twrp won't work for this plan!, cause it don't backs up the recovery. Now make again a backup. Save the recovery.img from backup safely. Now restore your old backup and flash the captured stock recovery. Tada now your ota update should work fine!
Cheers
Click to expand...
Click to collapse
mr2guy18 said:
got it thanks a lot!! got root and that custom recovery worked! thanks again!!
Click to expand...
Click to collapse
How did you get stock 2.0 to your phone?

Unable to update phone through OTA updates

Hi there,
I own a HTC One M8 which I purchased locally from Singapore. My software version has the .707. code.
Recently, when I received an OTA update to my phone I was unable to update it, the phone would go to the update screen and the green bar would load halfway before changing to the screen of a phone with a red triangle.
I had previously unlocked my phone using HTC Dev. I then flashed SuperSu to root my phone. I am now unable to get rid of SuperSu from my phone but was able to lock my phone using the instructions from HTC Dev with the "re-locked" logo on my stock recovery, which I was able to flash back onto my phone. Although SuperSu is on my phone, it does not work and root checker tells me that my phone is not rooted. My phone is also S-On.
I was foolish enough to not create a nandroid backup before beginning this process.
So if anyone has any instructions on how to revert my phone to complete stock or any advice, please tell me.
Thanks for your help!
What's your current version ?
Check here for the x.xx.707.x nandroid backup : http://forum.xda-developers.com/showthread.php?t=2701376
Steps
1. unlock bootloader (you don't need to relock bootloader to proceed OTA)
2. install TWRP recovery
3. restore nandroid backup
4. flash stock recovery
5. reboot and do the OTA
ckpv5 said:
What's your current version ?
Check here for the x.xx.707.x nandroid backup : http://forum.xda-developers.com/showthread.php?t=2701376
Steps
1. unlock bootloader (you don't need to relock bootloader to proceed OTA)
2. install TWRP recovery
3. restore nandroid backup
4. flash stock recovery
5. reboot and do the OTA
Click to expand...
Click to collapse
After downloading the recovery, I don't see it in the restore tab when I transfer it to my phone. How do I put in the recovery file?
amritsg said:
After downloading the recovery, I don't see it in the restore tab when I transfer it to my phone. How do I put in the recovery file?
Click to expand...
Click to collapse
adb reboot bootloader
fastboot flash recovery nameofrecoveryfile.img
eg. fastboot flash recovery stock1.12.661.17recovery.img
flyera343 said:
adb reboot bootloader
fastboot flash recovery nameofrecoveryfile.img
eg. fastboot flash recovery stock1.12.661.17recovery.img
Click to expand...
Click to collapse
I think he might have meant the TWRP backup files. Once he has flashed TWRP and loaded the files onto the folder he can't see it in the restore button/directory.
amritsg said:
After downloading the recovery, I don't see it in the restore tab when I transfer it to my phone. How do I put in the recovery file?
Click to expand...
Click to collapse
Make sure you unpacked the nandroid backup that you downloaded i.e unzip it and place it in the correct directory on your device. It'll be something like ... TWRP/Backups/serialnum/ <<Just put in serial number for your device.
Else if you don't know how, just quickly go into TWRP and make a backup of any file "boot" for example, that way TWRP will automatically create the path on the device for you. Remove the back up file only leaving the path in place then unzip the nandroid backup and place it in the directory TWRP gave to you.
Boot into recovery and restore the nandroid backup. When that is finished you flash the stock recovery back, as mentioned above by flyera, of course I'm saying that with the assumption that you already have adb + drivers installed on your computer.
I had to re-read a few times but I think you are right. The original post indicates that he must be familiar with adb and recovery installation. Good explanation..

TWRP gets overwritten

I'm on latest ob18. I am able to flash it, and run it once, but after reboot, the stock recovery gets Back. Any ideas?
Just Reflash twrp via flashify or adb in fastboot mode, that could be normal if u r flash an unmodified stock rom
Yep. On latest ob-Oos or H2o for me recovery stays, after instaltion of the rom. But on a second reboot, stock recovery shows and i reflash custom recovery again.
Guys I flashed latest H2OS beta over OOS Beta18 and lost access to recovery. These are the steps I followed, please help.
1. Backup current ROM (OB18)
2. Dirty Flash New H2OS version
3. Flash recovery image again
4. Reboot system
ROM booted without any problems and all my data is present but I lost access to TWRP.
Solution attempted: Reboot to fastboot and flash recovery image again, the process is successful but still TWRP is not coming up.
Please help. Thanks in advance
Stock rom always over writes recovery best way to get it to stick is flash stock zip than twrp reboot to twrp and reboot or flash mods/root
liam_davenport said:
Stock rom always over writes recovery best way to get it to stick is flash stock zip than twrp reboot to twrp and reboot or flash mods/root
Click to expand...
Click to collapse
Thanks this worked

need guidance

Is there any way to install twrp recovery and keep receiving OTAs on stock Pie ROM?
saedkebbeh said:
Is there any way to install twrp recovery and keep receiving OTAs on stock Pie ROM?
Click to expand...
Click to collapse
No.
marstonpear said:
No.
Click to expand...
Click to collapse
How to install OTAs after installing twrp?
You need to flash stock boot.img, as TWRP gets installed to the boot.img on your phone. But you need to do it on the right partition otherwise you won't get the updates. Also if you've tampered with system or any other partition of the device, you need to remove them. To get rid of all the steps, just flash the stock rom via MiFlash (you'll lose your data so take a backup).
marstonpear said:
You need to flash stock boot.img, as TWRP gets installed to the boot.img on your phone. But you need to do it on the right partition otherwise you won't get the updates. Also if you've tampered with system or any other partition of the device, you need to remove them. To get rid of all the steps, just flash the stock rom via MiFlash (you'll lose your data so take a backup).
Click to expand...
Click to collapse
You don't neccesary lose your data with MiFlash, just choose the option without relock/wipe.
thorin0815 said:
You don't neccesary lose your data with MiFlash, just choose the option without relock/wipe.
Click to expand...
Click to collapse
Don't forget to flash the same version!
marstonpear said:
Don't forget to flash the same version!
Click to expand...
Click to collapse
I need to know where to flash the twrp and where to flash stock boot.img when installing OTA
Yesterday I flashed patched boot img using the command: fastboot flash boot patched boot img, without choosing a partition
I made a guide for doing OTA with TWRP and Magisk. You should be able to follow it and just ignore the Magisk bits. The start covers restoring the boot partition.
https://forum.xda-developers.com/mi-a2-lite/how-to/10-0-4-0-to-10-0-7-0-ota-keeping-magisk-t3916863/
Note that I normally get a boot loop after installing TWRP and reinstall magisk as a fix. I'll assume you have your own way to install TWRP.

Categories

Resources