Hello, this is my first time on XDA so if I make any mistakes please forgive me .
I have unlocked the bootloader on my Sprint HTC One m7, and I can't find any guides on how to root my phone with its current stock Andriod version. It has version 4.4.2 with HTC version 6.0. Can anyone point me towards a good guide?
Thanks!
Lifehags said:
Hello, this is my first time on XDA so if I make any mistakes please forgive me .
I have unlocked the bootloader on my Sprint HTC One m7, and I can't find any guides on how to root my phone with its current stock Andriod version. It has version 4.4.2 with HTC version 6.0. Can anyone point me towards a good guide?
Thanks!
Click to expand...
Click to collapse
Welcome to xda!
Since your bootloader is already unlocked, then all you need to do is to flash a custom recovery like TWRP.
With the recovery.img in the same folder where you have adb and fastboot and your phone booted in bootloader/fastboot usb mode, open a command prompt and type:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
then reboot in recovery mode by selecting "recovery" in the bootloader. Once booted in TWRP recovery, just select to reboot to system and the recovery will detect that your phone isn't rooted and will ask if you want to root it. Select "yes". Then once rebooted in the OS, you should have supersu in your app drawer.
Don't forget sprint variant of the One isn't the same phone as the international gsm variant so always flash files (Custom recovery/ custom roms/ Custom kernel) compatible for sprint (M7WLS sometime called M7SPR)
alray said:
Welcome to xda!
Since your bootloader is already unlocked, then all you need to do is to flash a custom recovery like
With the recovery.img in the same folder where you have adb and fastboot and your phone booted in bootloader/fastboot usb mode, open a command prompt and type:
Code:
fastboot flash recovery name_of_recovery.img
fastboot erase cache
fastboot reboot-bootloader
then reboot in recovery mode by selecting "recovery" in the bootloader. Once booted in TWRP recovery, just select to reboot to system and the recovery will detect that your phone isn't rooted and will ask if you want to root it. Select "yes". Then once rebooted in the OS, you should have supersu in your app drawer.
Don't forget sprint variant of the One isn't the same phone as the international gsm variant so always flash files (Custom recovery/ custom roms/ Custom kernel) compatible for sprint (M7WLS sometime called M7SPR)
Click to expand...
Click to collapse
That's all? Also, using this procedure, if I update will my root be broken or Will I still have root? Also if it brakes my root what will happenen to the stuff that I gave root permission too? And stuff like that? Thanks for all the help!
Lifehags said:
That's all? Also, using this procedure, if I update
Click to expand...
Click to collapse
You'll maybe not be able to update. When you unlock the bootloader, /data/preload and its content is wiped (some of HTC preloaded apps, weather animations etc). These apps are sometime updated during an ota update and if they are missing, like after unlocking the bootloader. the ota installation will fail. You also need to flash your stock recovery back before an ota update.
will my root be broken or Will I still have root?
Click to expand...
Click to collapse
You'll loose root. All you have to do is to root again after the ota update.
Also if it brakes my root what will happenen to the stuff that I gave root permission too? And stuff like that? Thanks for all the help!
Click to expand...
Click to collapse
They will still be installed but they won't work, or at least, there functions requiring root will not work.
alray said:
You'll maybe not be able to update. When you unlock the bootloader, /data/preload and its content is wiped (some of HTC preloaded apps, weather animations etc). These apps are sometime updated during an ota update and if they are missing, like after unlocking the bootloader. the ota installation will fail. You also need to flash your stock recovery back before an ota update.
You'll loose root. All you have to do is to root again after the ota update.
They will still be installed but they won't work, or at least, there functions requiring root will not work.
Click to expand...
Click to collapse
Thanks for all the help!
alray said:
You'll maybe not be able to update. When you unlock the bootloader, /data/preload and its content is wiped (some of HTC preloaded apps, weather animations etc). These apps are sometime updated during an ota update and if they are missing, like after unlocking the bootloader. the ota installation will fail. You also need to flash your stock recovery back before an ota update.
You'll loose root. All you have to do is to root again after the ota update.
They will still be installed but they won't work, or at least, there functions requiring root will not work.
Click to expand...
Click to collapse
I used adb to make a backup and restore so I should be able to install ota updates
Lifehags said:
I used adb to make a backup and restore so I should be able to install ota updates
Click to expand...
Click to collapse
So you have backed up /data/preload before unlocking?
alray said:
You'll maybe not be able to update. When you unlock the bootloader, /data/preload and its content is wiped (some of HTC preloaded apps, weather animations etc). These apps are sometime updated during an ota update and if they are missing, like after unlocking the bootloader. the ota installation will fail. You also need to flash your stock recovery back before an ota update.
You'll loose root. All you have to do is to root again after the ota update.
They will still be installed but they won't work, or at least, there functions requiring root will not work.
Click to expand...
Click to collapse
alray said:
So you have backed up /data/preload before unlocking?
Click to expand...
Click to collapse
Yup
Lifehags said:
Yup
Click to expand...
Click to collapse
:good:
alray said:
:good:
Click to expand...
Click to collapse
Any alternative to twrp, it seems like a lot of people are having problems with it.
Lifehags said:
Any alternative to twrp, it seems like a lot of people are having problems with it.
Click to expand...
Click to collapse
TWRP is the preferred recovery of M7 but you can also use CWM
alray said:
:good:
Click to expand...
Click to collapse
Lifehags said:
Any alternative to twrp, it seems like a lot of people are having problems with it.
Click to expand...
Click to collapse
Should I go with the latest version of 2.8, or do you suggest a eilear version?
Lifehags said:
Should I go with the latest version of 2.8, or do you suggest a eilear version?
Click to expand...
Click to collapse
if you are only going to root and not flashing rom then use any version you want, the latest should be fine. If you want to flash a custom rom, use the recovery mentioned in the rom OP.
alray said:
if you are only going to root and not flashing rom then use any version you want, the latest should be fine. If you want to flash a custom rom, use the recovery mentioned in the rom OP.
Click to expand...
Click to collapse
Alright, thanka for all of the help!
Lifehags said:
Alright, thanka for all of the help!
Click to expand...
Click to collapse
youre welcome
Related
Hello,
I have 4.4.2 installed on my One. I had rooted it with custom recovery. But as sense 6 is there I un-rooted it, locked it properly and removed tampered flag. Installed stock recovery and also put it in S-ON.
I can download OTA but while installing it is failing. It is showing red triangle and restarting it.
Can somebody help me to proceed further? If I go to HTC, will they update it?
I think , preload file is wiped when u unlocked ur device
Try installing ota manual and write the message
crazyboy4ever said:
I think , preload file is wiped when u unlocked ur device
Try installing ota manual and write the message
Click to expand...
Click to collapse
I am trying manually update it. But in recovery after red triangle it is restarting even after I press power and volume up button. So I am not reaching to recovery selection menu.
avcoolkarni said:
I am trying manually update it. But in recovery after red triangle it is restarting even after I press power and volume up button. So I am not reaching to recovery selection menu.
Click to expand...
Click to collapse
Did you flash the proper version of stock recovery? it Must be the same version as your phones currently installed OS.
mb_guy said:
Did you flash the proper version of stock recovery? it Must be the same version as your phones currently installed OS.
Click to expand...
Click to collapse
Yes, it is the same version. I have kitkat 4.4.2 India version. I got it from some other thread.
avcoolkarni said:
Can somebody help me to proceed further? If I go to HTC, will they update it?
Click to expand...
Click to collapse
Your problem is the current ROM is not 100% stock, some files are missing especially the preload.
1. What is your current software version no. ?
2. unlock the bootloader again and flash TWRP
3. flash a stock ROM.zip of your version no. or restore a proper nandroid backup
4. reboot and do the normal setup
5. reboot to bootloader
6. flash the stock recovery
7. reboot and do the OTA
So ... solve the no. 1 first.
ckpv5 said:
Your problem is the current ROM is not 100% stock, some files are missing especially the preload.
1. What is your current software version no. ?
2. unlock the bootloader again and flash TWRP
3. flash a stock ROM.zip of your version no. or restore a proper nandroid backup
4. reboot and do the normal setup
5. reboot to bootloader
6. flash the stock recovery
7. reboot and do the OTA
So ... solve the no. 1 first.
Click to expand...
Click to collapse
Hey,
My software version number is 4.20.707.7 with HBOOT 1.56. I don't have stock ROM readily available anywhere like htc1guru etc., so I am downloading it from one of the xda thread.
Now
I will install TWRP,
reset stock ROM (there is also an option of installin stock recovery) once my download finishes.
Then again will lock boot loader,
put S ON back
update sense 6 OTA.
avcoolkarni said:
Hey,
My software version number is 4.20.707.7 with HBOOT 1.56. I don't have stock ROM readily available anywhere like htc1guru etc., so I am downloading it from one of the xda thread.
Now
I will install TWRP,
reset stock ROM (there is also an option of installin stock recovery) once my download finishes.
Then again will lock boot loader,
put S ON back
update sense 6 OTA.
Click to expand...
Click to collapse
1. There is another file that you need to flash after that ROM zip.
See : http://forum.xda-developers.com/showpost.php?p=52981541&postcount=57
2. There is no need to lock boot loader and put S-On back (if now is S-Off) to do OTA update
Only stock recovery is needed
avcoolkarni said:
Then again will lock boot loader,
put S ON back
Click to expand...
Click to collapse
Really recommend you do NOT GO S-ON
ckpv5 said:
1. There is another file that you need to flash after that ROM zip.
See : http://forum.xda-developers.com/showpost.php?p=52981541&postcount=57
2. There is no need to lock boot loader and put S-On back (if now is S-Off) to do OTA update
Only stock recovery is needed
Click to expand...
Click to collapse
Thanks, I already downloaded that updater which contains twitter client. I will keep S OFF.
nkk71 said:
Really recommend you do NOT GO S-ON
Click to expand...
Click to collapse
Ok, will try that. Thanks
I recently followed this guide to root my XT1095. All I did was unlock my bootloader and boot the image...I did not (intentionally) alter my recovery, nor did I install a custom ROM. Will I still receive OTA update notifications and, if so, are they safe to apply?
Dan Again said:
I recently followed this guide to root my XT1095. All I did was unlock my bootloader and boot the image...I did not (intentionally) alter my recovery, nor did I install a custom ROM. Will I still receive OTA update notifications and, if so, are they safe to apply?
Click to expand...
Click to collapse
If you are running a custom recovery TWRP for example, I doubt that you will get OTA updates. I believe you need the stock recovery to be able to install OTA updates.
grneyez said:
If you are running a custom recovery TWRP for example, I doubt that you will get OTA updates. I believe you need the stock recovery to be able to install OTA updates.
Click to expand...
Click to collapse
I'm a little confused by your response. As I said in my original question, I did not (intentionally) alter my recovery. Did the method that I used achieve root alter my recovery for me?
If you did not install a custom recovery than you should be able to get OTA updates. Check to see what recovery you have.
Dan Again said:
I'm a little confused by your response. As I said in my original question, I did not (intentionally) alter my recovery. Did the method that I used achieve root alter my recovery for me?
Click to expand...
Click to collapse
As long as you don't make any changes to /system, you *should* be good to go for updates. If you didn't intentionally flash a custom recovery then you still have the stock one.
If you're rooted OTAs won't work. In KitKat and lower they just performed checksums on each file before updating, so the altered root files were left untouched and the update installed. In Lollipop and up (at least for Nexus devices), it does a total checksum and if /system has been altered in any way (including for root) OTA's won't install.
grneyez said:
If you did not install a custom recovery than you should be able to get OTA updates. Check to see what recovery you have.
Click to expand...
Click to collapse
Thanks for all the responses, guys. I booted into recovery and saw this, so I think my recovery is still stock. One quick question: when I boot into fastboot and select "Recovery", I get a dead Android and a "No Command" prompt - I had to follow these steps to actually get there. Why is that?
I'd like to try out Xposed now that it's available for my device, and I see that requires a custom recovery. If I install a custom recovery (TWRP, for instance) and use it to flash Xposed, can I then revert back to stock recovery and continue to receive OTA updates?
Dan Again said:
Thanks for all the responses, guys. I booted into recovery and saw this, so I think my recovery is still stock. One quick question: when I boot into fastboot and select "Recovery", I get a dead Android and a "No Command" prompt - I had to follow these steps to actually get there. Why is that?
I'd like to try out Xposed now that it's available for my device, and I see that requires a custom recovery. If I install a custom recovery (TWRP, for instance) and use it to flash Xposed, can I then revert back to stock recovery and continue to receive OTA updates?
Click to expand...
Click to collapse
If you modified your system with Xposed you won't be able to install OTA updates. Even if you return yo stock recovery.
To install an OTA you need three things. 1. Unaltered system, 2.no root and 3. stock recovery
juliospinoza said:
If you modified your system with Xposed you won't be able to install OTA updates. Even if you return yo stock recovery.
To install an OTA you need three things. 1. Unaltered system, 2.no root and 3. stock recovery
Click to expand...
Click to collapse
Fair enough. So let's say that I install a custom recovery and then Xposed. Will there be a way that I can manually upgrade to new stock OS versions as they come out for my phone?
Dan Again said:
Fair enough. So let's say that I install a custom recovery and then Xposed. Will there be a way that I can manually upgrade to new stock OS versions as they come out for my phone?
Click to expand...
Click to collapse
You can always flash a ROM or custom ROM via fast boot, but you will loss all your settings, apps etc because you are flashing an entire new system... The OTA only patches
The only way back is to flash your stock ROM if you can get a hold of it.
floepie said:
The only way back is to flash your stock ROM if you can get a hold of it.
Click to expand...
Click to collapse
So, funny story - this weekend I accidentally wiped my OS and had to flash stock ROM to get back up and running. See: here. Good resource for others who might be looking for Moto X 2014 stock Lollipop firmware...definitely saved that on my computer
juliospinoza said:
If you modified your system with Xposed you won't be able to install OTA updates. Even if you return yo stock recovery.
To install an OTA you need three things. 1. Unaltered system, 2.no root and 3. stock recovery
Click to expand...
Click to collapse
Isn't there any way to uninstall Xposed, revert back to original recovery and remove root--all in order to install OTA without completely loosing user data and apps installed?
yurkennis said:
Isn't there any way to uninstall Xposed, revert back to original recovery and remove root--all in order to install OTA without completely loosing user data and apps installed?
Click to expand...
Click to collapse
yes
just flash via fastboot
1. recovery (stock)
2. system
if your phone is 5.0 xt1095 and you didn't flash modems you should be able to receive OTA.
Repeat of Question
I'm not sure I completely understand what I need to do to get updated to 5.1. I have an XT1095 that I only rooted, no custom recovery. I downloaded the OTA for 5.1 last night and tried to update. Got an error and it did not update. A quick google search seems to state, as well as earlier in this thread, that I can not update if I am rooted. I would prefer not completely start over on my phone (wipe) and would like to just apply the update. Can I just "unroot" my phone and apply the update or do I have to go back to the beginning (with a stock recovery) before the update will take?
I know enough about all this to have followed the directions to accomplish the root about 7 months ago. Since then not played with any system files! The only reason I rooted was so I could use the full capabilities of Greenify. Any opinions on that would be appreciated as well. Thanks!
jhworth8 said:
I'm not sure I completely understand what I need to do to get updated to 5.1. I have an XT1095 that I only rooted, no custom recovery. I downloaded the OTA for 5.1 last night and tried to update. Got an error and it did not update. A quick google search seems to state, as well as earlier in this thread, that I can not update if I am rooted. I would prefer not completely start over on my phone (wipe) and would like to just apply the update. Can I just "unroot" my phone and apply the update or do I have to go back to the beginning (with a stock recovery) before the update will take?
I know enough about all this to have followed the directions to accomplish the root about 7 months ago. Since then not played with any system files! The only reason I rooted was so I could use the full capabilities of Greenify. Any opinions on that would be appreciated as well. Thanks!
Click to expand...
Click to collapse
Try reading, the post literally before yours tells you what to do, lol.
Sent from my XT1095 using Tapatalk
AGISCI said:
Try reading, the post literally before yours tells you what to do, lol.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
I take it that flashing the recovery and the system.img files to the phone will not erase all the apps, photos, music, etc.?
summit15 said:
I take it that flashing the recovery and the system.img files to the phone will not erase all the apps, photos, music, etc.?
Click to expand...
Click to collapse
Correct, it won't erase those things.
Sent from my XT1095 using Tapatalk
so if i am just rooted, and custom recovery, could I unroot (via supersu app) and flash stock recovery and be good to go? or am i missing something?
yamahakid said:
so if i am just rooted, and custom recovery, could I unroot (via supersu app) and flash stock recovery and be good to go? or am i missing something?
Click to expand...
Click to collapse
It's more difficult with Lollipop: updates now "look for" a completely stock unmodified unrooted system. So you'll have to flash a stock image of the current build and then take the OTA.
Hey, I recently got a Nexus 6, and instead of installing CM as I usually do, I'm going to try rooting and using Xposed. The trick is that I use Linux exclusively, so I can't use the one-click installers. It's a Nexus, so unlocking is a piece of cake, and I know how to use adb and fastboot to install a custom recovery.
From there, I'm not totally sure what to do. I downloaded the SuperSU zip from chainfire, which I'll install from twrp... Then... Do I need to install busybox or something? I guess I'll have to side load xposed after that?
Also, not sure what the update path will be after that. I guess rooting will break OTA... So what do I do?
Sorry for being such a newb! Thanks!
to root..
fastboot oem unlock to unlock the bootloader
fastboot flash twrp recovery
flash the latest supersu zip within your new recovery
then just reboot, and you have root.
to update, you can flash any updated stock rooted rom, or you can update via fastboot.
@ninjaaron,
Go to the Xposed thread, there's a lot of info > http://forum.xda-developers.com/xposed/official-xposed-lollipop-t3030118
simms22 said:
to root..
fastboot oem unlock to unlock the bootloader
fastboot flash twrp recovery
flash the latest supersu zip within your new recovery
then just reboot, and you have root.
to update, you can flash any updated stock rooted rom, or you can update via fastboot.
Click to expand...
Click to collapse
Thanks for the concise explanation! Can I install a rom from the vendor with fastboot, or will I have to use mod'ed Roms after rooting?
ninjaaron said:
Thanks for the concise explanation! Can I install a rom from the vendor with fastboot, or will I have to use mod'ed Roms after rooting?
Click to expand...
Click to collapse
Depends what you mean by vendor. Only Google release official ROMs and yes they can be flashed via fast boot.
Yes, I was referring to Google when I said " the vendor"
ninjaaron said:
Yes, I was referring to Google when I said " the vendor"
Click to expand...
Click to collapse
Yep. Just needed to clarify because on other android devices, carriers can be vendors
I was trying to sideload the new update and something wen wrong and it stopped updating. I tried to boot it up but now its just in a bootloop. I am completly stock and don't have TWRP. Is their a way to force unlock bootloader?
win465 said:
I was trying to sideload the new update and something wen wrong and it stopped updating. I tried to boot it up but now its just in a bootloop. I am completly stock and don't have TWRP. Is their a way to force unlock bootloader?
Click to expand...
Click to collapse
without enabling oem unlock in the developer options, nope. but you can use the stock recovery to check if a factory reset would help.
Factory reset doesn't help. When trying to sideload I keep getting error "system partition has unexpected contents" (Status 7).
win465 said:
Factory reset doesn't help. When trying to sideload I keep getting error "system partition has unexpected contents" (Status 7).
Click to expand...
Click to collapse
Had you unencrypted?
Yes, but i flashed backed to stock kernal.
win465 said:
Yes, but i flashed backed to stock kernal.
Click to expand...
Click to collapse
How?
Using the nexus tool kit. After that I locked the bootloader to sideload the update.
win465 said:
Using the nexus tool kit. After that I locked the bootloader to sideload the update.
Click to expand...
Click to collapse
Were you rooted before all of this too?
Nope
Evolution_Tech said:
Were you rooted before all of this too?
Click to expand...
Click to collapse
Nope
win465 said:
Nope
Click to expand...
Click to collapse
Then the toolkit most likely didn't replace the proper kernel, which is why the OTA failed. You'll have to RMA.
Evolution_Tech said:
Then the toolkit most likely didn't replace the proper kernel, which is why the OTA failed. You'll have to RMA.
Click to expand...
Click to collapse
Thank you for your help
Which toolkit did you use? Try to flash everything in BOOTLOADER with the newest 5.1.1 using ADB and Fastboot commands as opposed to the Toolkits. I'm hoping your successful in your endeavours, I'm working on mine too. Even if you are missing any part of your stock image or basic partitions, you should be able to flash it back to normal via your bootloader. I had a similar issue with my Nexus 5, last week, actually.
EDIT: So, when you sideload or fastboot the system partition, it's stopping you? I may have sleep induced stupidity here and not fully taking in the issue but, I was able to flash 5.1.0 on my Nexus 5 after re-locking it via fastboot commands.
RedHazy said:
Which toolkit did you use? Try to flash everything in BOOTLOADER with the newest 5.1.1 using ADB and Fastboot commands as opposed to the Toolkits. I'm hoping your successful in your endeavours, I'm working on mine too. Even if you are missing any part of your stock image or basic partitions, you should be able to flash it back to normal via your bootloader. I had a similar issue with my Nexus 5, last week, actually.
Click to expand...
Click to collapse
Not when his bootloader is locked. Unfortunately, the OP has locked his bootloader and can't boot to android to enable OEM unlock.
Possible idea
Evolution_Tech said:
Not when his bootloader is locked. Unfortunately, the OP has locked his bootloader and can't boot to android to enable OEM unlock.
Click to expand...
Click to collapse
There's some more concrete info in the first couple pages, especially regarding our N6's:
http://forum.xda-developers.com/nexus-9/help/to-toggle-allow-oem-unlock-via-fastboot-t3091119
Hope this helps.
I'll keep my eyes open for anything that seems pertinent.
Best of luck
RedHazy said:
Which toolkit did you use? Try to flash everything in BOOTLOADER with the newest 5.1.1 using ADB and Fastboot commands as opposed to the Toolkits. I'm hoping your successful in your endeavours, I'm working on mine too. Even if you are missing any part of your stock image or basic partitions, you should be able to flash it back to normal via your bootloader. I had a similar issue with my Nexus 5, last week, actually.
EDIT: So, when you sideload or fastboot the system partition, it's stopping you? I may have sleep induced stupidity here and not fully taking in the issue but, I was able to flash 5.1.0 on my Nexus 5 after re-locking it via fastboot commands.
Click to expand...
Click to collapse
I get this error message "system partition has unexpected contents" (Status 7).
win465 said:
I was trying to sideload the new update and something wen wrong and it stopped updating. I tried to boot it up but now its just in a bootloop. I am completly stock and don't have TWRP. Is their a way to force unlock bootloader?
Click to expand...
Click to collapse
Can you fastboot boot twrp recovery? And if that is possible, will twrp flash zips with a locked bootloader?
Edit: I'm almost certain fastboot boot recovery won't work with a locked bootloader. I almost thought I had a good idea.
I am in the same situation. Bootloader locked and no custom recovery nor adb enabled. surprisingly enough, yesterday my phone could boot up but it's stuck now in the configuration process. I cannot access to the settings so I can check usb debugging or oem unlock. I can only access the dialer. my question is: is there anyway to do that with just a dialer code?
Just to clarify: you never need to relock your bootloader! Unless you have some kind of security restrictions from the company you work with or something, just don't!
OTA can be installed even with the bootloader unlocked (normal or sideload). The only prerequisite is that the system is stock (not rooted, stock kernel, stock recovery, and so on).
Didgeridoohan said:
Just to clarify: you never need to relock your bootloader! Unless you have some kind of security restrictions from the company you work with or something, just don't!
OTA can be installed even with the bootloader unlocked (normal or sideload). The only prerequisite is that the system is stock (not rooted, stock kernel, stock recovery, and so on).
Click to expand...
Click to collapse
Sorry for the noob question but where can I find these OTAs and how to install one of them? Does it require usb debugging to be enabled?
Can someone explain this to me as to why https://android.googleapis.com/pack...amu-ota-LMY48I-from-LMY47Z-superblock-fix.zip gives me the following error shown in the attach picture?
Looks like it should match correctly but sideload is errorring out saying otherwise
C:\Users\Double\AppData\Local\Android\android-sdk\platform-tools>adb shell getprop ro.build.fingerprint
google/shamu/shamu:5.1.1/LMY47Z/1860966:user/release-keys
C:\Users\Double\AppData\Local\Android\android-sdk\platform-tools>
Do it from stock recovery. It's kinda broken in twrp because twrp was build with a build.prop with old user keys so it won't let you flash it. All the Ota zip will see is those old user keys and kill it every time. Stock recovery will work.
Sent from my Nexus 6 using Tapatalk
david279 said:
Do it from stock recovery. It's kinda broken in twrp because twrp was build with a build.prop with old user keys so it won't let you flash it. All the Ota zip will see is those old user keys and kill it every time. Stock recovery will work.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
I'm having the same problem with TWRP and the TMO LYZ28J update. How do I get back to stock recovery? Is it just a matter of uninstalling TWRP and reinstalling it when I'm done?
JimSmith94 said:
I'm having the same problem with TWRP and the TMO LYZ28J update. How do I get back to stock recovery? Is it just a matter of uninstalling TWRP and reinstalling it when I'm done?
Click to expand...
Click to collapse
Install the stock recovery in fastboot, you can download it from the factory images or just search for it
Sent from my Nexus 6 using Tapatalk
JimSmith94 said:
I'm having the same problem with TWRP and the TMO LYZ28J update. How do I get back to stock recovery? Is it just a matter of uninstalling TWRP and reinstalling it when I'm done?
Click to expand...
Click to collapse
If you have TWRP, chances are your rom would be modified in some way so the OTA Won't work anyway.
danarama said:
If you have TWRP, chances are your rom would be modified in some way so the OTA Won't work anyway.
Click to expand...
Click to collapse
I'm stock rooted, are you saying that won't work? What's the proper way to install this update without losing data?
I'm used to flashing updates from recovery, so this whole sideload thing is new to me.
JimSmith94 said:
I'm stock rooted, are you saying that won't work? What's the proper way to install this update without losing data?
I'm used to flashing updates from recovery, so this whole sideload thing is new to me.
Click to expand...
Click to collapse
Correct, root is a modification. An OTA will not flash unless the rom and kernel are 100% as expected.. This is regardless of whether the OTA zip is flahsed in adb sideload or as an OTA natively.
If there is a J factory image available, fastboot flash the system.img and boot.img and you're updated.
If there is not, do the above but with the version the OTA expects. .. Then flash the OTA
danarama said:
If there is a J factory image available, fastboot flash the system.img and boot.img and you're updated.
Click to expand...
Click to collapse
There is an LYZ28J factory image available, here > https://developers.google.com/android/nexus/images
danarama said:
Correct, root is a modification. An OTA will not flash unless the rom and kernel are 100% as expected.. This is regardless of whether the OTA zip is flahsed in adb sideload or as an OTA natively.
If there is a J factory image available, fastboot flash the system.img and boot.img and you're updated.
If there is not, do the above but with the version the OTA expects. .. Then flash the OTA
Click to expand...
Click to collapse
Thanks for the info! Since Google says they will release these updates monthly, I'm hoping to find a simple, painless, and repeatable method to do these updates. Will flashing your suggestions lose root or data?
JimSmith94 said:
Thanks for the info! Since Google says they will release these updates monthly, I'm hoping to find a simple, painless, and repeatable method to do these updates. Will flashing your suggestions lose root or data?
Click to expand...
Click to collapse
It will lose root, but you just flash supersu from recovery
I had to flash the stock recovery back on and then did the OTA update. :-/ I really like my full system backups that TWRP does though..
doublejz said:
I had to flash the stock recovery back on and then did the OTA update. :-/ I really like my full system backups that TWRP does though..
Click to expand...
Click to collapse
Just flash the system.img then