Hello everyone, I have a question. First of all, I have a rooted HTC one on stock ROM with TWRP recovery with s-on (haven't got to it yet.). How would I install an OTA without loosing root? I saw a video in which I flash stock recovery, download and install OTA, then reinstall custom recovery. Question us will this work on s-on? If not, is there another way? Thanks!
superrichie2825 said:
Hello everyone, I have a question. First of all, I have a rooted HTC one on stock ROM with TWRP recovery with s-on (haven't got to it yet.). How would I install an OTA without loosing root? I saw a video in which I flash stock recovery, download and install OTA, then reinstall custom recovery. Question us will this work on s-on? If not, is there another way? Thanks!
Click to expand...
Click to collapse
The minute you flash the stock recovery you will lose root. The steps you describe is how to get the OTA. For the OTA you need stock recovery, stock rom and you may need some files in the /preload/ folder that were deleted when you unlocked your bootloader.
majmoz said:
The minute you flash the stock recovery you will lose root. The steps you describe is how to get the OTA. For the OTA you need stock recovery, stock rom and you may need some files in the /preload/ folder that were deleted when you unlocked your bootloader.
Click to expand...
Click to collapse
Oh ok, well as thanks for the reply. Do you think it would be possible to download it and install it by flashing the apk file or zip file instead of OTA?
superrichie2825 said:
Oh ok, well as thanks for the reply. Do you think it would be possible to download it and install it by flashing the apk file or zip file instead of OTA?
Click to expand...
Click to collapse
If you are S-OFF you can flash it in stock recovery otherwise you will have to get the file OTA.
superrichie2825 said:
Oh ok, well as thanks for the reply. Do you think it would be possible to download it and install it by flashing the apk file or zip file instead of OTA?
Click to expand...
Click to collapse
It would be better to use a Guru Reset if you want ota's. You can simply make a backup in custom recovery. Flash the reset zip and take ota updates when your all done reflash twrp recovery and restore your backup.
You need to see if there's a reset zip that matches your MID, CID and Version main. For it to work though. Look here http://www.htc1guru.com/downloads/stock-rom-downloads/ or post your details if you need help to find the right one.
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Danny201281 said:
It would be better to use a Guru Reset if you want ota's. You can simply make a backup in custom recovery. Flash the reset zip and take ota updates when your all done reflash twrp recovery and restore your backup.
You need to see if there's a reset zip that matches your MID, CID and Version main. For it to work though. Look here http://www.htc1guru.com/downloads/stock-rom-downloads/ or post your details if you need help to find the right one.
Sent from my HTC One M7 - ARHD 82.0 Using Tapatalk
If you found my posts helpful, Please click thanks :good:
Click to expand...
Click to collapse
Sorry for late reply, but thanks for the help!
Sent from my HTC One using XDA Free mobile app
Related
Hello,
I get my new HTC One (Not branded) yesterday, and as all my previous HTC's I want to root it.
I have unlocked it and I'm reasdy to flash a new recovery (recovery-clockwork-6.0.4.4-m7ul.img is this one is good?).
After rooting I want to restore stock recovery so after I can get OTA updates and use OTA root keeper.
Where can I get the stock recovery?
I'have searched htc one thread and I can only find stock recovery for Tmobile...
If anyone can enlight me?
macgreg0r said:
Hello,
I get my new HTC One (Not branded) yesterday, and as all my previous HTC's I want to root it.
I have unlocked it and I'm reasdy to flash a new recovery (recovery-clockwork-6.0.4.4-m7ul.img is this one is good?).
After rooting I want to restore stock recovery so after I can get OTA updates and use OTA root keeper.
Where can I get the stock recovery?
I'have searched htc one thread and I can only find stock recovery for Tmobile...
If anyone can enlight me?
Click to expand...
Click to collapse
check here: http://forum.xda-developers.com/showthread.php?t=2463387
what's your firmware version? you don't need to have 100% stock recovery, just "close enough" for OTAs to work, in case it's not very close, it may not reboot by itself during installation, and you'll have to manually reboot the phone for installation to continue.
nkk71 said:
check here: http://forum.xda-developers.com/showthread.php?t=2463387
what's your firmware version? you don't need to have 100% stock recovery, just "close enough" for OTAs to work, in case it's not very close, it may not reboot by itself during installation, and you'll have to manually reboot the phone for installation to continue.
Click to expand...
Click to collapse
Thanks I am in firmware 3.62.401.1, and downloaded the one corresponding from your link.
macgreg0r said:
Thanks I am in firmware 3.62.401.1, and downloaded the one corresponding from your link.
Click to expand...
Click to collapse
cool, just remember, do NOT even attempt to go s-on on that version, after a few reboots, it will come up with "tamper detected - rebooting", and the TAMPERED will be back
Hi All,
I have an ATT m7 that I'm running on GPE 4.4 (build KTR16S) with TWRP and the bulletproof kernel.
I'm getting notifications for the 4.4.2 update, and I'd like to install it, but obviously with TWRP installed, it can't automate the update process. So, a few questions:
1) Is it okay for me to manually install the update after locating it from my own recovery?
2) Where is the update stored, so that I can track it down within TWRP to flash?
Thanks guys!
karankshah said:
Hi All,
I have an ATT m7 that I'm running on GPE 4.4 (build KTR16S) with TWRP and the bulletproof kernel.
I'm getting notifications for the 4.4.2 update, and I'd like to install it, but obviously with TWRP installed, it can't automate the update process. So, a few questions:
1) Is it okay for me to manually install the update after locating it from my own recovery?
2) Where is the update stored, so that I can track it down within TWRP to flash?
Thanks guys!
Click to expand...
Click to collapse
Mines in the downloads folder
karankshah said:
Hi All,
I have an ATT m7 that I'm running on GPE 4.4 (build KTR16S) with TWRP and the bulletproof kernel.
I'm getting notifications for the 4.4.2 update, and I'd like to install it, but obviously with TWRP installed, it can't automate the update process. So, a few questions:
1) Is it okay for me to manually install the update after locating it from my own recovery?
2) Where is the update stored, so that I can track it down within TWRP to flash?
Thanks guys!
Click to expand...
Click to collapse
you can't flash ota updates with twrp. only stock recovery. like mb_guy said, the ota are stored in the ''downloads'' folder. When you apply the ota, the file is deleted automatically.
You can manually flash ota updates from stock recovery. Move the ota.zip to android/obb. boot phone in stock recovery, select ''apply from phone storage'' ---> /obb --> your ota.zip
For some reason the update is in the /cache/ directory instead of in the downloads directory.
How do I switch to the standard recovery? Do I need to reflash the entire ROM or is there another flashable file?
karankshah said:
For some reason the update is in the /cache/ directory instead of in the downloads directory.
How do I switch to the standard recovery? Do I need to reflash the entire ROM or is there another flashable file?
Click to expand...
Click to collapse
you can flash stock recovery the same way you flashed custom recovery:
Code:
fastboot flash recovery name_of_recovery.img
you must flash the stock recovery that match your firmware version which you can find with a:
Code:
fastboot getvar all
karankshah said:
For some reason the update is in the /cache/ directory instead of in the downloads directory.
How do I switch to the standard recovery? Do I need to reflash the entire ROM or is there another flashable file?
Click to expand...
Click to collapse
Stock recovery from here
http://forum.xda-developers.com/showthread.php?t=2545227
bored_stupid said:
Stock recovery from here
http://forum.xda-developers.com/showthread.php?t=2545227
Click to expand...
Click to collapse
Thanks for the help guys. I spent way too long trying to figure out how to get my computer to recognize my phone while in fastboot so I could get the main version number.
I finally was able to figure that out, but I'm not seeing my version (1.26.502.10) on the page.
Are any of the other recoveries usable? Or does this mean that I would have to go back to stock ATT, take the OTA update ATT was pushing a loong time ago, and then re-root to then flash a GE rom?
karankshah said:
Thanks for the help guys. I spent way too long trying to figure out how to get my computer to recognize my phone while in fastboot so I could get the main version number.
I finally was able to figure that out, but I'm not seeing my version (1.26.502.10) on the page.
Are any of the other recoveries usable? Or does this mean that I would have to go back to stock ATT, take the OTA update ATT was pushing a loong time ago, and then re-root to then flash a GE rom?
Click to expand...
Click to collapse
There is a rom dump here. once downloaded, you should be able to extract the stock recovery from there.
http://forum.xda-developers.com/showthread.php?p=40764389&highlight=1+26+502+10#post40764389
bored_stupid said:
There is a rom dump here. once downloaded, you should be able to extract the stock recovery from there.
http://forum.xda-developers.com/showthread.php?p=40764389&highlight=1+26+502+10#post40764389
Click to expand...
Click to collapse
It looks like he's pulled the 1.26.502.10 rom - know of any other places it might be? Most of the 502.10 roms I'm seeing now are pre-rooted.
karankshah said:
It looks like he's pulled the 1.26.502.10 rom - know of any other places it might be? Most of the 502.10 roms I'm seeing now are pre-rooted.
Click to expand...
Click to collapse
I can only find pre-rooted roms two. however, if the rom has the SuperSU installed, you can do a full unroot from the SuperSU settings
bored_stupid said:
I can only find pre-rooted roms two. however, if the rom has the SuperSU installed, you can do a full unroot from the SuperSU settings
Click to expand...
Click to collapse
That might be a good idea. Do you know if that removes S-OFF?
bored_stupid said:
I can only find pre-rooted roms two. however, if the rom has the SuperSU installed, you can do a full unroot from the SuperSU settings
Click to expand...
Click to collapse
Ah - nevermind - just found out it won't reinstall the stock recovery, which means the OTA update won't stick anyway. Looks like the only way is the long way.
karankshah said:
Ah - nevermind - just found out it won't reinstall the stock recovery, which means the OTA update won't stick anyway. Looks like the only way is the long way.
Click to expand...
Click to collapse
If you unzip the OTA the stock recovery should be in there..
Sent from my GT-I9505 using XDA Premium 4 mobile app
karankshah said:
Thanks for the help guys. I spent way too long trying to figure out how to get my computer to recognize my phone while in fastboot so I could get the main version number.
I finally was able to figure that out, but I'm not seeing my version (1.26.502.10) on the page.
Are any of the other recoveries usable? Or does this mean that I would have to go back to stock ATT, take the OTA update ATT was pushing a loong time ago, and then re-root to then flash a GE rom?
Click to expand...
Click to collapse
Here is your stock recovery
http://www.androidfilehost.com/?fid=23501681358538645
I have sucessfully converted my AT&T HTC One to the Developers Edition. If install TWRP and root the device, then re-install the stock recovery, can I maintain the ability to receive OTA Updates?
Also can someone confirm that the 4.06.1540 recovery is the latest for 4.4.2 sense 6? (Found Here http://forum.xda-developers.com/showthread.php?t=2545227)
Or if there is a better way to accomplish root etc.
Thank you in advance.
sednafx said:
I have sucessfully converted my AT&T HTC One to the Developers Edition. If install TWRP and root the device, then re-install the stock recovery, can I maintain the ability to receive OTA Updates?
Also can someone confirm that the 4.06.1540 recovery is the latest for 4.4.2 sense 6? (Found Here http://forum.xda-developers.com/showthread.php?t=2545227)
Or if there is a better way to accomplish root etc.
Thank you in advance.
Click to expand...
Click to collapse
That is a good recovery to have in place *before* you start checking for the latest 5.x.x.x OTA. Technically it's not the "latest" (the latest one would be the one you will end up with *after* the OTA) but it's the right one for your situation.
Overall the short answer to your question is yes, you can get OTA's with this plan.
If you remove anything from /system you might not.
If you do more stuff (like downgrading HBOOT, installing a custom kernel, whatever) you might not.
But for most people in your situation, you'll get OTA's.
Generally.
Enjoy.
sednafx said:
I have sucessfully converted my AT&T HTC One to the Developers Edition. If install TWRP and root the device, then re-install the stock recovery, can I maintain the ability to receive OTA Updates?
Also can someone confirm that the 4.06.1540 recovery is the latest for 4.4.2 sense 6? (Found Here http://forum.xda-developers.com/showthread.php?t=2545227)
Or if there is a better way to accomplish root etc.
Thank you in advance.
Click to expand...
Click to collapse
The best thing to do is a nandroid of your stock rom & recovery prior to installing TWRP and obtaining root. If you need to go back to stock you will have it. I haven't seen the stock recovery for 4.4.2 sense 6, it should be 5.11.1540.9.
majmoz said:
The best thing to do is a nandroid of your stock rom & recovery prior to installing TWRP and obtaining root. If you need to go back to stock you will have it. I haven't seen the stock recovery for 4.4.2 sense 6, it should be 5.11.1540.9.
Click to expand...
Click to collapse
Sure it is but unfortunately if has not been possible to (fastboot boot recovery.zip) since hboot 1.44
The best most people can do is after taking the update reflash TWRP and make a backup including recovery. then download and keep the stock recovery with it.
Thank you all for the response. Here is what I would like to do:
1. Backup my existing recovery through adb using the #dd command. Anyone know the correct syntax?
2. Install TWRP and backup the existing unrooted ROM.
3. Root the device. Do not remove any files from /system, no custom kernels (doesn't really matter since I will restore backup). Simply use titanium back to restore my apks and freeze the ones I don't use. I would like to install Xposed though.....
4. See OTA Update. Backup apks, restore unrooted. Restore stock recovery through adb. Anyone know why the syntax??
5. Run the OTA Update.
6. Profit.... Go back to step 1.
What do you all think? Any help with the syntax to dump and restore stock recovery?
Sent from my HTC One using Tapatalk
sednafx said:
1. Backup my existing recovery through adb using the #dd command. Anyone know the correct syntax?
Click to expand...
Click to collapse
doesn't know the #dd command but recovery can be extracted from the firmware package inside the ota.zip
anyway, I have all the latest dev edition recovery so you'll save a little time:
4.06.1540.2 MD5: 2bb3d9df9ce8c8329db8d22781613e2c
4.06.1540.3 MD5: 87eaf7d4a9c4ba1108bf26164b1f3f3d
4.19.1540.4 MD5: 6e25ef0e614c41722b2fb4afbdde5d7c
4.19.1540.9 MD5: b4d31a181a9e44225dc83282bc1bf134
5.11.1540.9 MD5: c487a17382e2e1c207efae66fed00925
you need the one that match your actual version
2. Install TWRP and backup the existing unrooted ROM.
Click to expand...
Click to collapse
Always a good thing to do, also make a copy of that backup on your computer.
3. Root the device. Do not remove any files from /system, no custom kernels (doesn't really matter since I will restore backup). Simply use titanium back to restore my apks and freeze the ones I don't use. I would like to install Xposed though.....
Click to expand...
Click to collapse
no problem using xposed and receiving ota updates
4. See OTA Update. Backup apks, restore unrooted. Restore stock recovery through adb. Anyone know why the syntax??
Click to expand...
Click to collapse
no need to restore your backup if you didnt modified/deleted /system or /preload files and your kernel is stock. Just restore your recovery
Code:
fastboot flash recovery name_of_file.img
fastboot erase cache
fastboot reboot
5. Run the OTA Update.
6. Profit.... Go back to step 1.
Click to expand...
Click to collapse
Sent from my HTC One using Tapatalk[/QUOTE]
More Questions on Receiving OTA's
@alray On Step 4, to receive the OTA's, in addition to restoring stock recovery, wouldn't it be necessary to unroot the device and disable Xposed?
gingerlindsey said:
@alray On Step 4, to receive the OTA's, in addition to restoring stock recovery, wouldn't it be necessary to unroot the device and disable Xposed?
Click to expand...
Click to collapse
no need to unroot to be able to apply the ota but you might loose root after the update, in that case, root again after the update.
I have updated mine many times with xposed still enabled and didnt have any issue. But you might want to disable module like ''sense 5 toolbox'' when updating to sense 6... Anyway if you want to be safe, yes you can disable xposed but this is not required.
@alray Thank you very much! I was unrooting and disabling Xposed, etc. Good to know I can "Keep it Simple"!
@alray The link for the latest recovery is 404ed. Can you repost? EDIT: Nevermind. Removed the [/HIDE] from the link and it worked.
Where is the OTA saved BTW?
Thanks again for all the advise. I may update the OP to outline these in detail.
The ota is saved to /sdcard/downloads
Sorry for the bad link, it should work now
Sent from my HTC One using XDA Free mobile app
alray said:
The ota is saved to /sdcard/downloads
Sorry for the bad link, it should work now
Sent from my HTC One using XDA Free mobile app
Click to expand...
Click to collapse
That path makes perfect sense.... I feel like captain obvious smacked me in the face..... Thanks!!!!!
Sent from my HTC One using Tapatalk
Can someone please tell me how to remove TWRP so that i can instal 5.02 properly
Many thanks
Craig_CFC said:
Can someone please tell me how to remove TWRP so that i can instal 5.02 properly
Many thanks
Click to expand...
Click to collapse
Sure i will, biút first I need to know which device you are talking about
I do apologies ..its a HTC One M7 with TWRP 2.8.4.0
I do apologies ..its a HTC One M7 with TWRP 2.8.4.0
Click to expand...
Click to collapse
with S-On ...forgot to mention that
Craig_CFC said:
with S-On ...forgot to mention that
Click to expand...
Click to collapse
just flash the RUU I posted in your other thread, it will make you full stock 5.0.2
there is alot more to it than just removing TWRP recovery, trust me, the above is the easiest way.
your way:
1. un-root
2. copy and restore a full stock backup of your current rom.
3. locate and flash vodafone pre-load data
4. flash stock recovery or firmware
5. update
my way:
1 flash the stock RUU
All done, thank you very much for your help
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