Everyday my m9 asks me to install the new OTA update and I am sure I can't because I am rooted. Have TWRP, and have an unlocked bootloader. While my rom is the default rom the phone came with, I have modified a couple things in /system. Is there way to permanently disable OTAs without installing a custom rom? If not, is there a way to install this update without doing any data wipes or anything overly complicated? Any help would be EXTREMELY appreciated!!
wrozengfx said:
Everyday my m9 asks me to install the new OTA update and I am sure I can't because I am rooted. Have TWRP, and have an unlocked bootloader. While my rom is the default rom the phone came with, I have modified a couple things in /system. Is there way to permanently disable OTAs without installing a custom rom? If not, is there a way to install this update without doing any data wipes or anything overly complicated? Any help would be EXTREMELY appreciated!!
Click to expand...
Click to collapse
All you need is an untouched System and stock recovery to take the OTA.
their are many threads that explain how to do it. Just look around you'll figure it out.
clsA said:
All you need is an untouched System and stock recovery to take the OTA.
their are many threads that explain how to do it. Just look around you'll figure it out.
Click to expand...
Click to collapse
Like I said, my system isn't untouched, I have edited permissions.xml and removed some bloatware. And if I can do this, Will I still be rooted if I update or at least still S-off?
wrozengfx said:
Like I said, my system isn't untouched, I have edited permissions.xml and removed some bloatware. And if I can do this, Will I still be rooted if I update or at least still S-off?
Click to expand...
Click to collapse
Once s-off, you will stay that way unless you manually change it.
You can't be rooted and take an OTA anyway. You have to be 100% stock. You can root again once it's updated.
iElvis said:
Once s-off, you will stay that way unless you manually change it.
You can't be rooted and take an OTA anyway. You have to be 100% stock. You can root again once it's updated.
Click to expand...
Click to collapse
But that other guy just said all I need is a stock recovery. So which is it? 100% stock or just stock recovery
wrozengfx said:
But that other guy just said all I need is a stock recovery. So which is it? 100% stock or just stock recovery
Click to expand...
Click to collapse
Here > http://forum.xda-developers.com/one-m9/general/best-unlocking-bootloader-rooting-guide-t3087354
Steps 3 - 5
and the "other guy" said Untouched System + Stock Recovery
Also worth reading >> http://forum.xda-developers.com/one...ery-twrp-touch-recovery-t3066720/post59745198
6. So what's the proper procedure to root without breaking OTA?
There is no way to take an OTA after you root. However, prior to rooting, you can take a fully untouched system image backup with TWRP, which can be used to restore a fully stock system to the device in order to take an OTA.
7. How do I backup stock recovery prior to flashing TWRP?
You can't. The "fastboot boot" command appears to be disabled on the M9's ABOOT, so TWRP must be fastboot flashed over stock recovery. The firmware zip included in the OTA will include a usable stock recovery image. That can be extracted and flashed after stock system is restored so that the OTA can be applied.
8. How do I restore stock system so that I can accept an OTA?
Check the "Mount system as read-only" box in the Mount menu.
Restore stock "System Image" backup (This will only work if you've made a System Image backup prior to making any modifications to /system). As of the official 2.8.6.1 version, it is no longer necessary to fastboot flash the stock system image.
NOTE: If you made a stock system backup with one of the Beta TWRP versions, you will have to rename the backup file in the backup folder manually from "system.emmc.win" to "system_image.emmc.win" for the new official TWRP to see it as a "System Image" backup rather than a "System" backup. Otherwise, you'll get an error that the backup can't be restored because system is read-only.
Fastboot flash stock recovery (fastboot flash recovery recovery_signed.img)
NOTE: It is also possible to restore stock recovery via the TWRP GUI. Rename the stock recovery file to "recovery.emmc.win" and place in the backup folder with the stock system image. Recovery will then show as a restore option. MAKE SURE YOU REALLY WANT TO DO THIS, AS TWRP WILL BE GONE WHEN YOU REBOOT OUT OF RECOVERY!!
Reboot to system, install OTA.
Click to expand...
Click to collapse
If you want to disable, try freezing HtcDm.
mike.s said:
If you want to disable, try freezing HtcDm.
Click to expand...
Click to collapse
This helped me out nearly a year later. I am rooted and have a custom stock rom loaded but was still able to download the system update somehow and needed a way so that it would quit bugging me every day to not install it. By using Titanium Backup I was able to freeze 3 HtcDM processes.
Related
If i root using these directions, and dont flash a new recovery will it just be rooted so I can use SU (setCPU, root explorer, etc..) and still have the stock rom or is that not possible?? Thanks!!
1. Download this file — PC36IMG.zip — and copy it to the root of your SD card.
2. Turn off phone. Then power back on holding the power and volume button. **If the PC36IMG files was placed correctly and you successfully booted into the bootloader, you should see text appearing on the screen as the phone automatically checks said file.
3. At the prompt to install the image(s), select “Yes”.
4. Reboot
5. Delete or rename the PC36IMG file so that it won’t automatically try to install it again the next time you venture into bootloader land.
Click to expand...
Click to collapse
ValdreZ said:
If i root using these directions, and dont flash a new recovery will it just be rooted so I can use SU (setCPU, root explorer, etc..) and still have the stock rom or is that not possible?? Thanks!!
Click to expand...
Click to collapse
Yes. You will have root permissions/privileges to execute apps that need root permissions (SetCPU, etc) and you'll also still have a stock phone.
To install a custom recovery, you would need to download/install the evorecovery.zip file to achieve this. Personally, it would be in your best interest to install the recovery Toast/AmonRA have created... if you ever wanted to install a custom ROM, do a Nandroid backup, etc in the future then this would be the only way to go about doing that.
It's up to you, but for now... the above directions will allow you to achieve root access, without a custom recovery, while still keeping the phone as "stock".
If you want more info about root or installing the recovery, go HERE
Ok any draw backs on just rooting it without the custom recovery or rom?
I do like the feel of the stock rom on there but just wish I had root permissions for certain apps.
ValdreZ said:
Ok any draw backs on just rooting it without the custom recovery or rom?
I do like the feel of the stock rom on there but just wish I had root permissions for certain apps.
Click to expand...
Click to collapse
The only drawbacks are that you wouldn't be able to make a Nandroid back up right away, which is usually an important thing to do. Plus, you don't get the added bonus of installing a recovery or installing a custom ROM, which at the moment is being able to install Android 2.2 -- a.k.a Froyo.
But, by installing the root exploit, you will/should be able to run apps that require root permissions.
What's can you do with nandroid backups? What is it?
iLLestCoW said:
What's can you do with nandroid backups? What is it?
Click to expand...
Click to collapse
Creating a nandroid backup is simply taking an image of the entire phone at that moment in time. So if you were to flash a custom rom later on, you have the ability to reboot into recovery and restore the last nandroid you made for whatever reason (you screwed up, or didn't like it).
I don't believe that they have unlocked the nandroid part of recovery yet, so you may have to wait until a dev, or devs figure it out. You can still root and push the recovery image, but the nandroid part doesn't exist yet for this phone.
iLLestCoW said:
What's can you do with nandroid backups? What is it?
Click to expand...
Click to collapse
Dave2582 said:
I don't believe that they have unlocked the nandroid part of recovery yet, so you may have to wait until a dev, or devs figure it out. You can still root and push the recovery image, but the nandroid part doesn't exist yet for this phone.
Click to expand...
Click to collapse
If there is a recovery, there will be always be a Nandroid option.
From the above mentioned link I posted a while back (and I quote) from here:
"- at this point turn your attention to the phone and navigate to create a Nandriod Backup. you can now flash custom roms, write, and make changes to system."
im stock rom zva, rooted, cwm recovery
can i flash stock recovery without loosing all my data?
or does that mean i have to flash a total stock image and go back to like when it came out of the box?
i dont mind loosing root for a while with the new update, and i know you can update with the other recovery. i just went with cwm cuz im used to it from every other phone ive had
any help would be great.
thanks!
majorahole said:
im stock rom zva, rooted, cwm recovery
can i flash stock recovery without loosing all my data?
or does that mean i have to flash a total stock image and go back to like when it came out of the box?
i dont mind loosing root for a while with the new update, and i know you can update with the other recovery. i just went with cwm cuz im used to it from every other phone ive had
any help would be great.
thanks!
Click to expand...
Click to collapse
You would have to flash stock recovery and unroot, but it is always recommended to do a factory reset after an OTA update anyway, as you may experience issues. The easiest way is to make a backup with titanium and copy all necessary files to your PC, then flash the ZVC tot using LG flash tools. Root after this with ioroot25 and restore your files and data with TBU. Keep that backup on your PC as you never know when you'll need it. You'll have a reliable update this way and minimize or eliminate any update problems.
scottdanpor said:
You would have to flash stock recovery and unroot, but it is always recommended to do a factory reset after an OTA update anyway, as you may experience issues. The easiest way is to make a backup with titanium and copy all necessary files to your PC, then flash the ZVC tot using LG flash tools. Root after this with ioroot25 and restore your files and data with TBU. Keep that backup on your PC as you never know when you'll need it. You'll have a reliable update this way and minimize or eliminate any update problems.
Click to expand...
Click to collapse
i realize i would have to unroot.
titanium doesnt backup everything tho correct? like sms/mms?
majorahole said:
i realize i would have to unroot.
titanium doesnt backup everything tho correct? like sms/mms?
Click to expand...
Click to collapse
It does, sms/mms will be in yellow and there are 2 options, select the one that says XML and you will be in business when you restore them.
Edit: By 2 options, I mean don't confuse it with "Messaging" app. Been there done that.
scottdanpor said:
It does, sms/mms will be in yellow and there are 2 options, select the one that says XML and you will be in business when you restore them.
Edit: By 2 options, I mean don't confuse it with "Messaging" app. Been there done that.
Click to expand...
Click to collapse
i ended up flashing twrp and using that method of update rather ethen wiping everything and having to restore it all from titanium.
it worked great! and i still have twrp recovery and root
thanks for the info tho.
I am very new to rooting etc, but managed to root my HTC One M8 Developer Edition 4.4.4 and flash TWRP Recovery with the help of the guides in this forum. Also got S-off with Sunshine. I have not installed any custom ROM and still have stock
My question is - will I still receive OTA's (if and when HTC releases lollipop for the Developer Edition?
You can't take an OTA with a non-stock recovery. It will download, but not install.
Root, on the other hand, hasn't typically caused a problem. (though you almost invariably lose root in the process)
Being S-OFF and actually already being Dev edition all you need is to have a stock backup the way it is before you flash a ROM and when the time comes just wipe from whatever ROM you've chosen and restore the backup along with flash your stock recovery.
Or if you want less steps just download the bone stock no root, stock recovery RUU and rename it to "0P6BIMG.zip" and place it in the root of your external sdcard.
Boot into hboot and when it asks what you want to do just press up ,give it plenty of time to flash and when it finishes just reboot and it will be stock just the way it came out of the box only it will still be bootlooader unlocked and S-OFF
Thanks
Thanks jball and jshamlet
You bet
jball said:
Being S-OFF and actually already being Dev edition all you need is to have a stock backup the way it is before you flash a ROM and when the time comes just wipe from whatever ROM you've chosen and restore the backup along with flash your stock recovery.
Or if you want less steps just download the bone stock no root, stock recovery RUU and rename it to "0P6BIMG.zip" and place it in the root of your external sdcard.
Boot into hboot and when it asks what you want to do just press up ,give it plenty of time to flash and when it finishes just reboot and it will be stock just the way it came out of the box only it will still be bootlooader unlocked and S-OFF
Click to expand...
Click to collapse
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards
ramsabi said:
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards
Click to expand...
Click to collapse
After flashing a ROM I do the out of box setup and allow Google to restore what apps I normally use,I haven't used titanium backup sense my S2 days cause it's a tossup that it even works right at any given time in my opinion.
As far as recovery goes
Download and install "Flashify" from the playstore and find the stock
recovery.img file.
After installing Flashify go ahead and open the app,give root permission and choose recovery image,now choose file and navigate with whatever root explorer you use and choose the stock recovery.img you downloaded and tap "yup" and it will flash it for you.
ramsabi said:
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards
Click to expand...
Click to collapse
Thanks Amber, And just tobe sure - do you know if I will still have root and S-Off after I flash the stock recovery?
ramsabi said:
Thanks Amber, And just tobe sure - do you know if I will still have root and S-Off after I flash the stock recovery?
Click to expand...
Click to collapse
Flashing a recovery in fastboot or with Flashify will do just that: flash a recovery to the recovery partition. Nothing else changes.
Root lives on /system. So as long as you don't flash a non-rooted stock rom you will keep root.
Your paid apps are yours. If you wipe them you can just reinstall them from the PS. If you paid for a root app like TiBu and you don't have root anymore, you still own it but it's not very useful...
You have apps on your external SD??? That is so ICS - don't know if they have libs or app data stored on internal anyway, but let's say you nandroid your current installation, take out your SD card, then wipe everything and install new firmware, recovery and rom. You should still be able to restore just your data partition from the nandroid, re-insert your SD and be good as gold.
As long as your new rom can live with the restored /data that is....
But seriously: Move data to external and install apps to internal - so much easier to manage....
Oh, and once S-off you're always S-off unless you run the code to S-on again. Not even flashing RUU will turn you S-on automatically.
Hello everybody, it is time to update to Nougat and I'm ready to do it.
According to this thread https://forum.xda-developers.com/showpost.php?p=59745198&postcount=3
I need a system_image and stock recovery backup for being able to do an OTA.
I did it and I must restore the system_image and the stock recovery as written in point 8.
But according to this other thread https://forum.xda-developers.com/showpost.php?p=64299835&postcount=4
in Hidden Content point 13, I must backup the system_image, the stock recovery and the boot image.
I have only backupped system_image and recovery and I can download boot.emmc.win from the second thead, but I wish to ask:
Is it really necessary to restore boot.emmc.win? Now I'm on ViperOneM9 4.3.0
Why @Captain_Throwback didn't mention it in his official TWRP thread?
I thank you in advance anyone may help me to get the OTA in the right way
Balteck said:
Hello everybody, it is time to update to Nougat and I'm ready to do it.
According to this thread https://forum.xda-developers.com/showpost.php?p=59745198&postcount=3
I need a system_image and stock recovery backup for being able to do an OTA.
I did it and I must restore the system_image and the stock recovery as written in point 8.
But according to this other thread https://forum.xda-developers.com/showpost.php?p=64299835&postcount=4
in Hidden Content point 13, I must backup the system_image, the stock recovery and the boot image.
I have only backupped system_image and recovery and I can download boot.emmc.win from the second thead, but I wish to ask:
Is it really necessary to restore boot.emmc.win? Now I'm on ViperOneM9 4.3.0
Why @Captain_Throwback didn't mention it in his official TWRP thread?
I thank you in advance anyone may help me to get the OTA in the right way
Click to expand...
Click to collapse
If I didn't mention it, then you don't have to do it .
@Captain_Throwback can you maybe explain that a little further? I made the experience that people are facing problems if they return from a custom rom to a stock rom and don't wipe their phone. That's why I added the wiping step to my instructions. After that several users reported that their phones didn't boot after they restored the first version of my backups (which lacked the boot.img). Therefore, I thought the boot.img is needed as well and all backups got replaced over a year ago with the current version which includes the boot.img.
However, all this is based on the reports of users who had problems with returning back to stock. I've never faced these issues myself. So if there is anything wrong with my instructions I'll correct them, of course.
Sent from my HTC One M9 using XDA Labs
I thought it's impossible to backup the stock recovery seeing as twrp is needed to be flashed to make the backup..
Beamed in by telepathy.
shivadow said:
I thought it's impossible to backup the stock recovery seeing as twrp is needed to be flashed to make the backup..
Beamed in by telepathy.
Click to expand...
Click to collapse
Since firmware 3.x you can boot TWRP via fastboot from the bootloader without overwriting the currently installed stock recovery.
Flippy498 said:
@Captain_Throwback can you maybe explain that a little further? I made the experience that people are facing problems if they return from a custom rom to a stock rom and don't wipe their phone. That's why I added the wiping step to my instructions. After that several users reported that their phones didn't boot after they restored the first version of my backups (which lacked the boot.img). Therefore, I thought the boot.img is needed as well and all backups got replaced over a year ago with the current version which includes the boot.img.
However, all this is based on the reports of users who had problems with returning back to stock. I've never faced these issues myself. So if there is anything wrong with my instructions I'll correct them, of course.
Click to expand...
Click to collapse
Not sure what to explain - OTA does no verification on boot.img. So it doesn't have to be stock for an OTA to install. It's that simple.
Captain_Throwback said:
Not sure what to explain - OTA does no verification on boot.img. So it doesn't have to be stock for an OTA to install. It's that simple.
Click to expand...
Click to collapse
OK. I guess there was a little misunderstanding.
The current version of my instructions is meant to be used if you want to return to a clean stock system. (In other words the ability to install OTAs, again, is only a side effect.) I never was talking about the boot.img being necessary for being able to install the OTA. I thought you were saying that the boot.img wouldn't be needed inside a backup if you do a full wipe before the restoration and that the phone would still boot.
Sent from my HTC One M9 using XDA Labs
I'm little confused now.
For installing an OTA update I MUST have an untouched system partition and stock recovery.
But the steps I need to do are:
1) backup apps and settings
2) restore untouched system partiton and stock recovery partition from TWRP, doing a factory reset (wipe data, dalvik and cache)
3) boot the original stock OS, configure wifi and go to Software Update
4) download OTA(s)
5) apply update and reboot phone
6) with ADB start TWRP recovery and backup the new stock recovery and the new stock system_image
7) flash TWRP and new custom ROM
8) restore apps and settings from point 1)
So, is it possible that at step 3 my HTC cannot boot because I didn't restore the boot partition (I'm coming from ViperOneM9 4.3.0)?
Or is there a simpler method, without backuping, wiping, restoring?
Flippy498 said:
Since firmware 3.x you can boot TWRP via fastboot from the bootloader without overwriting the currently installed stock firmware.
Click to expand...
Click to collapse
Looks liks i used an out of date tutorial then.. What a bugger..
Beamed in by telepathy.
Anyone can confirm me that my previous steps are right?
So I may uodate to Android n without doubt
Thank you very much
How do I make a TWRP backup using the latest TWRP fastboot? (For some reason when I flash TWRP, I end up losing it, not sure why. Therefore I just always use the fastboot TWRP) Are there any issues due to the partition system? Also, if I make a TWRP backup, flash a custom ROM, then decide I want to go back to stock, would I be able to use the TWRP backup I made to do that?
Have you tried using TWRP installer instead of flashing via fastboot?
GroovinChip said:
How do I make a TWRP backup using the latest TWRP fastboot? (For some reason when I flash TWRP, I end up losing it, not sure why. Therefore I just always use the fastboot TWRP)
Click to expand...
Click to collapse
If you are losing TWRP, probably on reboot then your system isn't open or unsecured. You need to get TWRP on there permanently. Go to the TWRP guide and install it according to those instructions.
https://forum.xda-developers.com/pixel-xl/how-to/guide-pixel-xl-android-8-1oreo-unlock-t3715279
GroovinChip said:
Are there any issues due to the partition system?
Click to expand...
Click to collapse
The system does have a slot A slot B for the updates that it does. I believe A is the one you are using, it installs updates on B then moves them to A so it can update in the background. But i've not had issues because of it.
GroovinChip said:
Also, if I make a TWRP backup, flash a custom ROM, then decide I want to go back to stock, would I be able to use the TWRP backup I made to do that?
Click to expand...
Click to collapse
If backups are made properly you should be able to restore any backup you want and go back to that Rom, whether its stock, AOSP or whatever.