How do I update my device's OS when I'm rooted? - OnePlus 3 Questions & Answers

Currently I'm using a OnePlus 3 on 6.0.1 (OOS 3.1.1) but I would like to update to Oreo (OOS 5.0). How do I do this when my device is rooted?
I've downloaded the latest OS off the oneplus website. Is it as simple as uninstalling SuperSU and then flashing the latest OS through recovery?
I also have TWRP recovery and Xposed installed.
Would appreciate any help.

Just flash the new OS in recovery, no need to unroot as it will get overwritten anyways. You'll need to root again after updating, of course.
Sent from my OnePlus 3 using Tapatalk

Explorer23 said:
Just flash the new OS in recovery, no need to unroot as it will get overwritten anyways. You'll need to root again after updating, of course.
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
The full zip of oxygen OS will overwrite the TWRP recovery with the stock one?
I can update with the zip in the recovery and root whenever i want or i have to do this at the same time?

Explorer23 said:
Just flash the new OS in recovery, no need to unroot as it will get overwritten anyways. You'll need to root again after updating, of course.
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
It's as easy as that? It's not a problem that I have xposed installed or anything?
What should I wipe before I install the new OS?
Sorry for all the questions, newbie here.

@Edo 91
I'm not sure about overwriting recovery, it's been a long time since I've used OOS (currently on PA, before than on LOS). If I remember correctly the recovery should stay if you DON'T boot into system right after flashing. So, flash the ROM, reboot into recovery first, then boot into system. Can't say if anything changed with Oreo, but that's how I remember it from Nougat and Marshmallow. You can however flash recovery again right after ROM, just to be sure.
You can root later down the road, no need to do everything at once.
@scalliant
Generally yes, it as easy as that. Xposed and root methods modify system partition - and that gets overwritten when you flash new ROM. That's why those modifications have to be flashed again after every update (some custom ROMs are exception, but rest assured the stock one will nuke all mods).
Anyways, we're talking about Android version upgrade here and not just a minor system update, so I'd recommend a clean installation (but you can try dirty first and then do a clean one in case you experience issues).
First of all, make a full nandroid backup (check everything except "system image" in TWRP). Copy all of your media content (pictures, videos, music ... whatever you don't wanna lose) to another device - better safe than sorry. Optionally, backup apps with Titanium or something similar.
To do it clean: wipe /system, /data and /cache. That means losing all apps and settings, but you'll keep stuff that was stored on the phone. After successfully booting into system you can restore app backups or install them and set up everything again.
To do it dirty: wipe just /system and /cache. You'll lose just system settings, but will keep apps and everything else. Less hassle, but higher chance of something going south.

Explorer23 said:
@Edo 91
To do it clean: wipe /system, /data and /cache. That means losing all apps and settings, but you'll keep stuff that was stored on the phone. After successfully booting into system you can restore app backups or install them and set up everything again.
Click to expand...
Click to collapse
I thought you loose everything when you do a clean install. So photos and files are preserved using this method? I assume text messages will be lost?

shobuddy said:
I thought you loose everything when you do a clean install. So photos and files are preserved using this method? I assume text messages will be lost?
Click to expand...
Click to collapse
Media is on a (virtually) separate partition and is preserved unless while internal storage is formated. Still, it's never a bad idea to have a backup.
Yes, text messages are lost if not backed up. There are many apps that do that (and can be set to upload to cloud regularly).
Sent from my OnePlus 3 using Tapatalk

Related

Sorry if this has been posted already...

I'm freaking out and need some help. I recently rooted my S3 and everything went smoothly. I was running stock android 4.1.2 I think (multi-window feature) with root. Wanted to flash the cyanogemon 10.1 rom. I got titanium back up,backed up eveything. Flashed it. Seemed to be working normally but as I tried to restore my apps and things from the titanium back up it went all wrong. "Unfortunately,Email has stopped,the process android,process media has stopped. Also says process.acore has stopped and process.gapps has stopped pop up that is constant. I freaked out and tried to go back to normal and now I'm screwed.
I tried recovery and it tells me I dont have a OS on my phone. I than decided to Unroot the phone and start from a fresh stock android but it seemed like it worked 50%. I see the background and it shows me the set up google account for the phone but the pop up messages haven't stopped.If I go into the normal recovery and wipe data/factory reset will it solve the issue? And if it will should I choose to wipe cache partition first before doing so?
Which recovery do you have? Also I never backup system apps such as email, because they change when going from 1 rom to the next. No OS means you wiped system, without having another ROM saved on your sd card. If your computer still sees the internal and external memory and your custom recovery is still working, you should be able to save a new rom, do a full wipe-system, data, cache, dalvik cache. Then flash rom you already saved to your memory. I take it you didn't do a Android backup after you rooted and flashed custom recovery?
sent from somewhere
Miguelcoo1 said:
I'm freaking out and need some help. I recently rooted my S3 and everything went smoothly. I was running stock android 4.1.2 I think (multi-window feature) with root. Wanted to flash the cyanogemon 10.1 rom. I got titanium back up,backed up eveything. Flashed it. Seemed to be working normally but as I tried to restore my apps and things from the titanium back up it went all wrong. "Unfortunately,Email has stopped,the process android,process media has stopped. Also says process.acore has stopped and process.gapps has stopped pop up that is constant. I freaked out and tried to go back to normal and now I'm screwed.
I tried recovery and it tells me I dont have a OS on my phone. I than decided to Unroot the phone and start from a fresh stock android but it seemed like it worked 50%. I see the background and it shows me the set up google account for the phone but the pop up messages haven't stopped.If I go into the normal recovery and wipe data/factory reset will it solve the issue? And if it will should I choose to wipe cache partition first before doing so?
Click to expand...
Click to collapse
Ok, first I'll describe what you did and how that (most likely) messed up your phone. Then I'll describe what you can do to fix it.
Problem
It seems like your original flash of CM10.1 went smoothly. It must have been something to do with your Titanium Backup (TiBu) restores. More than likely, you tried to restore too much. In TiBu, the different apps have different colors: Red, Yellow, Green, and White. In the menu, you can see the following Legend:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
White: User Application. These are apps that you installed from the Play Store or sideloaded by directly installing an apk. These are safe to restore.
Red: System Application. These are system files that heavily rely on which Android version (4.1.x vs. 4.2.x) and whether you're on TW or AOSP. I always try to avoid restoring these backups (even when just upgrading to a newer version of the same Rom). Some people will say that you can restore the Data only for these, but my motto is: caution will help prevent mistakes (ground-shaking, I know).
Green: System Service with Useful Data: These are system apps that have useful information (such as User Accounts, etc.). I treat these the same as Red Backups, but am a bit more likely to restore the data of them (green means go, right?).
Yellow: These backups are system data that can be restored as an xml file. These are inherently safer than the red and green ones, and I say restore away (I always restore my Call Log, Messages, and Wi-Fi Access Points).
The reason you were getting FCs was restoring a red or green backup. This can sometimes work, but has a lot of potential for issues when switching between TW and AOSP Roms. Most likely something in your /system folder is messed up due to restoring an app. Even when you flash a new Rom, it just overwrites items in your System folder, it doesn't wipe /System. So whatever is wrong in your /System folder is still there, regardless of what you flash.
Ok, now that we've identified what's wrong with your phone, we can now help solve it!
Solution/Fixes
Are you able to get into a custom Recovery? If not, you need to use Odin and follow The Rooting Guide to get back to a custom recovery (I recommend TWRP, but CWM is just as good).
Next, you want to download a Rom and put it on your device. I'd recommend (just for now), to get Freeza's stock TW Rom.
Now, before you try to flash this Rom, you'll have to wipe. In order to get rid of the FCs, you'll have to at least wipe System. I'd recommend a full wipe of your Internal SD Card (after backing up anything you want to save), but it's not technically necessary. Afterwards, you can wipe data and cache/dalvik cache.
Then you can flash your Rom. It seems like you know how to do this, but in case you don't, I have previously posted directions over here.
Hope this helps!
joeyhdownsouth said:
So you never had a custom recovery, like CWM or TWRP? Also I never backup system apps such as email, because they change when going from 1 rom to the next.
sent from somewhere
Click to expand...
Click to collapse
I did have a Custom Recovery. I believe it was TWRP. I think all this happened was because when it occured I might of went into the recovery and accidently wiped system. I know that the phone didn't have OS on it and was blank. It just stayed on the Samsung boot screen. About 20 minutes ago I tried to unroot the phone and start with stock android. I didn't have much important stuff on my phone so I don't mind. The problem is when I did that it seemed to work. Only to find out that the pop-ups still exist and are constantly popping up where I cant do anything.
I would it worked seeing as though I can go into my stock recovery mode. Could it be possible to just wipe everything there and factory reset it or would it brick the phone? Also if I can just factory reset it through the stock recovery should I wipe the cache partition first?
topherk said:
Ok, first I'll describe what you did and how that (most likely) messed up your phone. Then I'll describe what you can do to fix it.
Problem
It seems like your original flash of CM10.1 went smoothly. It must have been something to do with your Titanium Backup (TiBu) restores. More than likely, you tried to restore too much. In TiBu, the different apps have different colors: Red, Yellow, Green, and White. In the menu, you can see the following Legend:
White: User Application. These are apps that you installed from the Play Store or sideloaded by directly installing an apk. These are safe to restore.
Red: System Application. These are system files that heavily rely on which Android version (4.1.x vs. 4.2.x) and whether you're on TW or AOSP. I always try to avoid restoring these backups (even when just upgrading to a newer version of the same Rom). Some people will say that you can restore the Data only for these, but my motto is: caution will help prevent mistakes (ground-shaking, I know).
Green: System Service with Useful Data: These are system apps that have useful information (such as User Accounts, etc.). I treat these the same as Red Backups, but am a bit more likely to restore the data of them (green means go, right?).
Yellow: These backups are system data that can be restored as an xml file. These are inherently safer than the red and green ones, and I say restore away (I always restore my Call Log, Messages, and Wi-Fi Access Points).
The reason you were getting FCs was restoring a red or green backup. This can sometimes work, but has a lot of potential for issues when switching between TW and AOSP Roms. Most likely something in your /system folder is messed up due to restoring an app. Even when you flash a new Rom, it just overwrites items in your System folder, it doesn't wipe /System. So whatever is wrong in your /System folder is still there, regardless of what you flash.
Ok, now that we've identified what's wrong with your phone, we can now help solve it!
Solution/Fixes
Are you able to get into a custom Recovery? If not, you need to use Odin and follow The Rooting Guide to get back to a custom recovery (I recommend TWRP, but CWM is just as good).
Next, you want to download a Rom and put it on your device. I'd recommend (just for now), to get Freeza's stock TW Rom.
Now, before you try to flash this Rom, you'll have to wipe. In order to get rid of the FCs, you'll have to at least wipe System. I'd recommend a full wipe of your Internal SD Card (after backing up anything you want to save), but it's not technically necessary. Afterwards, you can wipe data and cache/dalvik cache.
Then you can flash your Rom. It seems like you know how to do this, but in case you don't, I have previously posted directions over here.
Hope this helps!
Click to expand...
Click to collapse
Well as of right I believe I just unrooted the phone and went back to stock android because when I try and go into recovery mode, it gives me the normal stock recovery. I thought it would work but needless to say the applications pop-ups saying it stopped working is still happening. I can see the google account set up but cant do anything because of the pop-ups and also theres a I icnon with a no symbol around it on the top left corner (dont know what that means). Is it possible to factory reset and wipe the data from this stock recovery? And if so should I wipe cache partition first?
Also thanks for the help. My head hurts trying to figure out how to fix this...It just seems like everything I try and do makes it worse or the same.
Miguelcoo1 said:
I did have a Custom Recovery. I believe it was TWRP. I think all this happened was because when it occured I might of went into the recovery and accidently wiped system. I know that the phone didn't have OS on it and was blank. It just stayed on the Samsung boot screen. About 20 minutes ago I tried to unroot the phone and start with stock android. I didn't have much important stuff on my phone so I don't mind. The problem is when I did that it seemed to work. Only to find out that the pop-ups still exist and are constantly popping up where I cant do anything.
I would it worked seeing as though I can go into my stock recovery mode. Could it be possible to just wipe everything there and factory reset it or would it brick the phone? Also if I can just factory reset it through the stock recovery should I wipe the cache partition first?
Click to expand...
Click to collapse
It's not gonna work because you wiped system, and now you have stock recovery. I would follow topherk's post above this one. Very well written.
sent from somewhere
Miguelcoo1 said:
Well as of right I believe I just unrooted the phone and went back to stock android because when I try and go into recovery mode, it gives me the normal stock recovery. I thought it would work but needless to say the applications pop-ups saying it stopped working is still happening. I can see the google account set up but cant do anything because of the pop-ups and also theres a I icnon with a no symbol around it on the top left corner (dont know what that means). Is it possible to factory reset and wipe the data from this stock recovery? And if so should I wipe cache partition first?
Also thanks for the help. My head hurts trying to figure out how to fix this...It just seems like everything I try and do makes it worse or the same.
Click to expand...
Click to collapse
You're doing well, don't get too frustrated.
Stock recovery is relatively limited and it won't be able to wipe what you need to wipe. When you do a factory reset in Stock (or custom) recoveries, you are just wiping the /data folder. Since we've identified that it's most likely an issue with /System, a Factory Reset won't do any good.
Your best bet it to get a Custom Recovery again through the Rooting Guide. That guide is really well-written and has pictures so it's easier to follow.
After you have CWM and TWRP, it's real easy to wipe everything (in TWRP 2.5.0.0, you just wipe internal sd card and you're good to go). Or you can do a comprehensive wipe by wiping /System, /Data, Cache and Dalvik Cache. Then you can flash a Rom (again, I'd recommend Freeza's). After you get Freeza's Rom up and running, I'd make a Nandroid Backup immediately (in a Custom Recovery). This will be the backup that you can return to whenever something doesn't flash well.
topherk said:
You're doing well, don't get too frustrated.
Stock recovery is relatively limited and it won't be able to wipe what you need to wipe. When you do a factory reset in Stock (or custom) recoveries, you are just wiping the /data folder. Since we've identified that it's most likely an issue with /System, a Factory Reset won't do any good.
Your best bet it to get a Custom Recovery again through the Rooting Guide. That guide is really well-written and has pictures so it's easier to follow.
After you have CWM and TWRP, it's real easy to wipe everything (in TWRP 2.5.0.0, you just wipe internal sd card and you're good to go). Or you can do a comprehensive wipe by wiping /System, /Data, Cache and Dalvik Cache. Then you can flash a Rom (again, I'd recommend Freeza's). After you get Freeza's Rom up and running, I'd make a Nandroid Backup immediately (in a Custom Recovery). This will be the backup that you can return to whenever something doesn't flash well.
Click to expand...
Click to collapse
Thanks for all the help. I'm downloading the GS3 Root Kit Zip so I can follow your instructions. I'm going to try and bring my phone back to life. I'll update when hopefully its fixed lol.
topherk said:
You're doing well, don't get too frustrated.
Stock recovery is relatively limited and it won't be able to wipe what you need to wipe. When you do a factory reset in Stock (or custom) recoveries, you are just wiping the /data folder. Since we've identified that it's most likely an issue with /System, a Factory Reset won't do any good.
Your best bet it to get a Custom Recovery again through the Rooting Guide. That guide is really well-written and has pictures so it's easier to follow.
After you have CWM and TWRP, it's real easy to wipe everything (in TWRP 2.5.0.0, you just wipe internal sd card and you're good to go). Or you can do a comprehensive wipe by wiping /System, /Data, Cache and Dalvik Cache. Then you can flash a Rom (again, I'd recommend Freeza's). After you get Freeza's Rom up and running, I'd make a Nandroid Backup immediately (in a Custom Recovery). This will be the backup that you can return to whenever something doesn't flash well.
Click to expand...
Click to collapse
Well I did everything but flash the rom. My question is in the link you gave me to flash Freeza's rom which one do I download, The first one on the top?
Miguelcoo1 said:
Well I did everything but flash the rom. My question is in the link you gave me to flash Freeza's rom which one do I download, The first one on the top?
Click to expand...
Click to collapse
I knew this question was going to pop up... I should've put it in my original post.
You're probably going to want to flash the Deodex MD4 one:
DeOdex:
Sprint Touchwiz Jelly Bean 4.1.2 L710VPBMD4
MD5: 77262D9D6CF1A6AF30A8981A95A75D57
Click to expand...
Click to collapse
I find that a lot of mods require DeOdex Roms, so in case you decide to flash one in the future, it'll help to have it. And the main negative of DeOdex is a slightly longer start-up time, so I recommend people use DeOdex.
topherk said:
I knew this question was going to pop up... I should've put it in my original post.
You're probably going to want to flash the Deodex MD4 one:
I find that a lot of mods require DeOdex Roms, so in case you decide to flash one in the future, it'll help to have it. And the main negative of DeOdex is a slightly longer start-up time, so I recommend people use DeOdex.
Click to expand...
Click to collapse
Ok, I'm downloading the massive zip file on my desktop and waiting for it to be finished. My question is how am I going to transfer the zip file into the sdcard? Could it be just as simple as putting the phone in download mode and connect to my computer to transfer the file? Also I wanted to know once I Flash the rom and Custom Recovery which would be TWRP to Backup does it back up everything or is there only a few things I do need to back up. I ask because as of right now my phone is shut off and doesn't have a OS on it. Just waiting on the zip file to finally flash the rom and back it up.
I also wanted to ask you about something I been thinking about. When all this mess happened because I backed up files I wasnt suppose to back up with titanium back up, the backup file still exist on my sdcard. Is it possible for me to delete everything other than just the apps and it will work fine? I ask because I'm planning on getting the Cyan 10.1 rom again because I loved it (for the few minutes it ran fine). Or should I just not do it and start fresh? Would it be possible to use those app back up files when I install titanium back up again?
Miguelcoo1 said:
Ok, I'm downloading the massive zip file on my desktop and waiting for it to be finished. My question is how am I going to transfer the zip file into the sdcard? Could it be just as simple as putting the phone in download mode and connect to my computer to transfer the file? Also I wanted to know once I Flash the rom and Custom Recovery which would be TWRP to Backup does it back up everything or is there only a few things I do need to back up. I ask because as of right now my phone is shut off and doesn't have a OS on it. Just waiting on the zip file to finally flash the rom and back it up.
I also wanted to ask you about something I been thinking about. When all this mess happened because I backed up files I wasnt suppose to back up with titanium back up, the backup file still exist on my sdcard. Is it possible for me to delete everything other than just the apps and it will work fine? I ask because I'm planning on getting the Cyan 10.1 rom again because I loved it (for the few minutes it ran fine). Or should I just not do it and start fresh? Would it be possible to use those app back up files when I install titanium back up again?
Click to expand...
Click to collapse
Ok, so from what I can tell, you've already wiped your internal memory. Since you can't load up into the Rom to copy the files, there are a couple of ways to get them on your phone:
Manual Copy: Take the external Micro SD card out and pop it into an adapter and insert it into your computer to copy the file (I've done this once or twice).
Recovery Mounting as USB: If you have TWRP 2.4.1.0 or 2.5.0.0, there should be an option which allows you to mount the phone as a usb mass storage. It should be in the mount menu.
ADB Copy: Connect the phone to the computer and boot the phone into download mode. You can then use adb to copy the file over to the phone. I'm personally not very good with adb, but there are good guides on here with how to do this. (Guide 1) (Guide 2)
Once you get a Rom up and running on your phone, you won't have to do these, but since it wasn't working before, this is the way to do it.
topherk said:
Ok, so from what I can tell, you've already wiped your internal memory. Since you can't load up into the Rom to copy the files, there are a couple of ways to get them on your phone:
Manual Copy: Take the external Micro SD card out and pop it into an adapter and insert it into your computer to copy the file (I've done this once or twice).
Recovery Mounting as USB: If you have TWRP 2.4.1.0 or 2.5.0.0, there should be an option which allows you to mount the phone as a usb mass storage. It should be in the mount menu.
ADB Copy: Connect the phone to the computer and boot the phone into download mode. You can then use adb to copy the file over to the phone. I'm personally not very good with adb, but there are good guides on here with how to do this. (Guide 1) (Guide 2)
Once you get a Rom up and running on your phone, you won't have to do these, but since it wasn't working before, this is the way to do it.
Click to expand...
Click to collapse
Ok, the phone is back and running good. I just flashed and its working great...Again, Thanks a lot. Thanks for being so patient with me lol. It's been a all day affair for me wit this. I just Backed up the Rom in the TWRP recovery mode and just backed up /System /Data /Boot. I also compressed it and put it on my external SD. Now that I got that out the way, I wanted to verify if my thought on using the back up files (apps only) from the last titanium backup (which messed up my phone) to maybe try and restore them to get the phone to how it was and wont lose my apps/games? Can this be done or would it be difficult to know the differences between a app and other files?
When I backup in twrp, I typically choose everything. The recovery and cache are typically so small it doesn't matter.
In terms of titanium backups, I'd say it's safe to restore any user apps, but no system apps, not even the green ones.
Glad to hear everything worked for you!
Sent from my SPH-L710 using xda app-developers app
topherk said:
When I backup in twrp, I typically choose everything. The recovery and cache are typically so small it doesn't matter.
In terms of titanium backups, I'd say it's safe to restore any user apps, but no system apps, not even the green ones.
Glad to hear everything worked for you!
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Believe me you saved me from disaster. I was going nuts trying to find a way to fix it. Glad you saw my thread and your patience to help. I'm thinking about backing up the rom again after updating all the normal stock apps but before I try and get my apps that I downloaded from the play store. I do have one quick question, The TWRP backup also backs up the apps that you have right?
I have one last question. If my backup file (titanium) is on my external SD how can I tell which apps I can restore when I download titanium back up again? Is there even a way to know?
Yeah, it's better to have a nandroid backup of your set-up phone. It makes a restore much more palatable.
In terms of TiBu, it should find your restore folder. If not, you can manually set it from the settings.
Sent from my SPH-L710 using xda app-developers app
topherk said:
Yeah, it's better to have a nandroid backup of your set-up phone. It makes a restore much more palatable.
In terms of TiBu, it should find your restore folder. If not, you can manually set it from the settings.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
I now learned to always have a nandroid backup to make life so much easier lol. My only concern with TiBu finding the restore folder on my External SD, I'm concerned that all this might happen again. So from what you told me just restore the user apps only..Nothing more? Thank you man, your a life saver.
No problem man, I enjoy helping people and it deepens my understanding of my own phone.
TiBu shouldn't restore your apps unless you tell it to. I always restore one app at a time, so I know exactly what I'm restoring. I have my TiBu to automatically backup my phone daily at 3am. It backs up everything, system and user apps. I just make sure that I only restore user apps when I flash a new Rom.
Sent from my SPH-L710 using xda app-developers app
topherk said:
No problem man, I enjoy helping people and it deepens my understanding of my own phone.
TiBu shouldn't restore your apps unless you tell it to. I always restore one app at a time, so I know exactly what I'm restoring. I have my TiBu to automatically backup my phone daily at 3am. It backs up everything, system and user apps. I just make sure that I only restore user apps when I flash a new Rom.
Sent from my SPH-L710 using xda app-developers app
Click to expand...
Click to collapse
Sorry to bother you again but I just saw something that seems pretty fishy. I been practically on Wifi since I flashed the phone and now everything works. The issue i'm seeing though is that the signal bars are good with reception yet the 3g symbol isnt showing up. I tried to make a call and it seems like it works but I can't go on the internet. It just gives me the webpage not available screen. I dont think I have a data connection..Any ideas?
Update profile and prl.
Transmitted with a portable device using Xparent Blue Tapatalk 2

How do you disable OTA updates on the m9?

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.

Xposed soft-bricked my phone..help?

I got a few battery saving apps and one or two of them required xposed. now my phone keeps boot-looping. i tried deleting what i could find of the apps in twrp, it did not help. i dont want to remove my root, custom kernel, and all my custom stuff in general.. and i have apps that i cant log out of without losing everything, such as chats, unread messages, etc. so basically i REALLY dont want to factory reset. ive done that probably 5 times over the past few months of having an android phone. what should i do? help
stiarlitserenity said:
I got a few battery saving apps and one or two of them required xposed. now my phone keeps boot-looping. i tried deleting what i could find of the apps in twrp, it did not help. i dont want to remove my root, custom kernel, and all my custom stuff in general.. and i have apps that i cant log out of without losing everything, such as chats, unread messages, etc. so basically i REALLY dont want to factory reset. ive done that probably 5 times over the past few months of having an android phone. what should i do? help
Click to expand...
Click to collapse
Can you mount userdata partition in TWRP? If so back up right away and move the backup data off your phone before continuing.
Do you have a TWRP backup you can restore? Start with system and boot. If you are lucky the bootloop is because of changes you made in system and this will get you booting.
If not, see if you can restore boot and system from factory images.
Worse case, you might need to factory reset again and reinstall yet another time.
Reflash rom, kernel and supersu. You shouldn't lose anything doing that.
sfhub said:
Can you mount userdata partition in TWRP? If so back up right away and move the backup data off your phone before continuing.
Do you have a TWRP backup you can restore? Start with system and boot. If you are lucky the bootloop is because of changes you made in system and this will get you booting.
If not, see if you can restore boot and system from factory images.
Worse case, you might need to factory reset again and reinstall yet another time.
Click to expand...
Click to collapse
im a newbie to all of this.. what will mouting user data partition do, and how do i do it?
backups dont work because i dont have enough free storage. i do have one backup but it was back when i restored my phone to factory settings.
what will restoring boot and system from factory images do, and how do i do it? will i lose all the customization i have on my phone?
stiarlitserenity said:
im a newbie to all of this.. what will mouting user data partition do, and how do i do it?
backups dont work because i dont have enough free storage. i do have one backup but it was back when i restored my phone to factory settings.
what will restoring boot and system from factory images do, and how do i do it? will i lose all the customization i have on my phone?
Click to expand...
Click to collapse
Lesson learned bud. Half of the reason for TWRP and CWM is to have a full recent/current backup. Its always been like this. All roms, tweaks, xposed, write-ups or threads all say "make a backup" A backup is needed when something goes wrong. Notice the word "when" its not a if something goes wrong. Playing with androids involves way to much stuff and things do go wrong. Everytime your gonna do something just make a backup and delete your previous backup. Keep the backup on a sd card and delete the previous one. You put yourself in a situation like street racing on the freeway in a thunderstorm on new years eve. Not being a **** but for years and years now there a thousands of tutorials on this stuff. How to use adb, fastboot, twrp, soft brick, hard brick, de-brick tool. I don't know where the link is but I have a xposed script to flash in recovery that disables xposed and all modules from recovery in case of a bad module. If that can be found still I suggest that using xposed
FYI. The two replies before this told you what to do. If your looking for a easy everything is 100% going to be ok and you won't lose your text messages its probably not going to happen.
stiarlitserenity said:
what will restoring boot and system from factory images do, and how do i do it? will i lose all the customization i have on my phone?
Click to expand...
Click to collapse
If you are on the stock rom, flash the stock boot.img and stock system.img either in TWRP or via fastboot will erase any mods in /system (including Xposed). This will return you to a stock setup. Your apps, sms, and data would be retained.
To do this, download the factory image that matches your rom base. The July OTA is MTC19Z by the way. June is MTC19V, you'll have to remember which one you were on. This can be found on Google's Nexus factory image website. Next, unzip the downloaded file then flash the boot.img and system.img in TWRP (transfer the files to your phone). Alternatively, you could learn to use fastboot. Follow section 10 of this amazing guide by Heisenberg, but flash only boot.img and system.img.
You *should* be able boot up and learn from your mistakes as others have said. If you still have issues, factory reset and charge this loss to the game.
Sent from my Nexus 5X using Tapatalk

TWRP insane data backup size

Hello HTC 10 users! I just got this device and thoroughly enjoying the speed and features. I got it s-off, Lees v2.41 rom loaded and using the team viper pnp balanced. Before installing the pnp I wanted to make a backup since I haven't done one since I got the 10. I noticed my data backup is 25GB. I don't even have 4GB used up by the internal space on the 10. In comparison my old m8 ARHD v53.1 backup is around 6GB , that rom was lolipop and using TWRP 3. Can anyone shed some light on this?
revoltech said:
Hello HTC 10 users! I just got this device and thoroughly enjoying the speed and features. I got it s-off, Lees v2.41 rom loaded and using the team viper pnp balanced. Before installing the pnp I wanted to make a backup since I haven't done one since I got the 10. I noticed my data backup is 25GB. I don't even have 4GB used up by the internal space on the 10. In comparison my old m8 ARHD v53.1 backup is around 6GB , that rom was lolipop and using TWRP 3. Can anyone shed some light on this?
Click to expand...
Click to collapse
Are you sure you are using the latest twrp?
i've not even unlocked yet, but that smells to me like it's looking at an encrypted partition, which it should be, but i can't speak to whether or not that's normal (assuming not). may try posting this ? in the TWRP thread.
That's a huge backup, roughly double the size of a typical backup for me (12.59GB, including boot, data, & system). What all are you choosing to backup when you make a backup?
Sent from my HTC 10
dangle79 said:
i've not even unlocked yet, but that smells to me like it's looking at an encrypted partition, which it should be, but i can't speak to whether or not that's normal (assuming not). may try posting this ? in the TWRP thread.
Click to expand...
Click to collapse
I forgot my startup is encrypted. I kept on hitting cancel before I mounted the partition found on the s-off youtube tutorial. Thanks for letting me know.
The Data only part is 25gb?
My Backups are normaly 8gb, in TWRP 3.0.2-5
3.7gb System Image
around 4.5gb User Data
64mb Boot and 64mb Recovery
Did you activate compression in the TWRP settings?
revoltech said:
Hello HTC 10 users! I just got this device and thoroughly enjoying the speed and features. I got it s-off, Lees v2.41 rom loaded and using the team viper pnp balanced. Before installing the pnp I wanted to make a backup since I haven't done one since I got the 10. I noticed my data backup is 25GB. I don't even have 4GB used up by the internal space on the 10. In comparison my old m8 ARHD v53.1 backup is around 6GB , that rom was lolipop and using TWRP 3. Can anyone shed some light on this?
Click to expand...
Click to collapse
You are using a really old version of twrp. Please use the latest, which is 3.0.2-6.
Magnum_Enforcer said:
That's a huge backup, roughly double the size of a typical backup for me (12.59GB, including boot, data, & system). What all are you choosing to backup when you make a backup?
Sent from my HTC 10
Click to expand...
Click to collapse
What are you suppose to chose in your back-up? I back-up system, system image, data, and boot. Is that a correct back-up?
Sorry for the noob question as I am new to HTC.
mamdroid said:
What are you suppose to chose in your back-up? I back-up system, system image, data, and boot. Is that a correct back-up?
Sorry for the noob question as I am new to HTC.
Click to expand...
Click to collapse
Boot, data, and system is all I ever backup.
Sent from my HTC 10
jollywhitefoot said:
You are using a really old version of twrp. Please use the latest, which is 3.0.2-6.
Click to expand...
Click to collapse
Yes because that was on my HTC One m8. I'm on the latest version on the HTC 10. I already figured it out that the backups were copying the full encrypted data partition if I didn't enter the password.
revoltech said:
Yes because that was on my HTC One m8. I'm on the latest version on the HTC 10. I already figured it out that the backups were copying the full encrypted data partition if I didn't enter the password.
Click to expand...
Click to collapse
That makes sense. Starting with 3.0.2-4 TWRP has been able to decrypt data partition. I missed the part where you said you were hitting cancel on the pin prompt.
Is there an option in twrp that allows me to switch between encrypted and decrypted data partitions?
LakesideWiseman said:
Is there an option in twrp that allows me to switch between encrypted and decrypted data partitions?
Click to expand...
Click to collapse
That's controlled by your rom. Natively, Android M requires encrypted data partition, but some custom ROMs allow you to use un-encrypted data. I believe that there is also a script that you can flash in TWRP to allow stock rom to be un-encrypted, but you'll have to fish around in the ROM/Development section for that.
To decrypt your data partition, you have to flash a rom that supports un-encrypted data (or the zip file I mentioned above) and then format (NOT WIPE) data partition in TWRP.
mamdroid said:
What are you suppose to chose in your back-up? I back-up system, system image, data, and boot. Is that a correct back-up?
Sorry for the noob question as I am new to HTC.
Click to expand...
Click to collapse
System and System Image are the same.
For Custom ROM's System is fine, if you want to take OTAs on Stock ROM you need a System Image.
I almost never backup Data as every app should have a Cloud Save feature and i prefer to wipe my phone every few months to get rid of stuff i never use.
Mainly before flashing a Custom ROM or playing around i backup UserData aswell.
And yeah, always backup Boot when you backup System, only takes 64MB so doesn't really matter.
jollywhitefoot said:
That's controlled by your rom. Natively, Android M requires encrypted data partition, but some custom ROMs allow you to use un-encrypted data. I believe that there is also a script that you can flash in TWRP to allow stock rom to be un-encrypted, but you'll have to fish around in the ROM/Development section for that.
To decrypt your data partition, you have to flash a rom that supports un-encrypted data (or the zip file I mentioned above) and then format (NOT WIPE) data partition in TWRP.
Click to expand...
Click to collapse
Makes perfect sense. I'm running stock debloated Verizon ROM.
Magnum_Enforcer said:
Boot, data, and system is all I ever backup.
Sent from my HTC 10
Click to expand...
Click to collapse
Haldi4803 said:
System and System Image are the same.
For Custom ROM's System is fine, if you want to take OTAs on Stock ROM you need a System Image.
I almost never backup Data as every app should have a Cloud Save feature and i prefer to wipe my phone every few months to get rid of stuff i never use.
Mainly before flashing a Custom ROM or playing around i backup UserData aswell.
And yeah, always backup Boot when you backup System, only takes 64MB so doesn't really matter.
Click to expand...
Click to collapse
Thank you to both you, I appreciate the responses. I kinda figured I was doing it wrong by the time and size of the back-up's. Thanks again fellas!!

Restore a TWRP backup with A/B system slots!

CHANGED: You must flash the dm-verity.zip on ROM install to use the backup/restore feature of TWRP. It won't work if /data is encrypted. I jumped the gun when making this thread.
EDIT2: I had also flashed dm-verity on install so /data wasn't encrypted.
Which Dm Verity did you use which version??
Does this mean even today with the latest versions of twrp and magisk you cant restore the backups made of an encrypted phone? I just got a new Moto G7 Power and got it setup with those two things and made a backup - havnt tried restoring yet. Does your solution of flashing the dm-verify.zip thing mean the phone will be unencryped then? Because I cant have that, I rather not have backups. What about the old "adb backup" type command line does that still work?
I've had my phone since the day they were available at metro and I can't and don't even try to backup or restore anything anymore. On roms it always has broken lockscreen where you cannot secure phone. Because of this I stay encrypted and setup my **** all over again when I change roms.
flash713 said:
I've had my phone since the day they were available at metro and I can't and don't even try to backup or restore anything anymore. On roms it always has broken lockscreen where you cannot secure phone. Because of this I stay encrypted and setup my **** all over again when I change roms.
Click to expand...
Click to collapse
I see, too bad it's a nice function to backup/restore I guess I'll just backup my important data individually and try not to mess up my Rom.
TaZeR369 said:
I see, too bad it's a nice function to backup/restore I guess I'll just backup my important data individually and try not to mess up my Rom.
Click to expand...
Click to collapse
Check this out. I haven't used it yet but I'm about to try it. Join «Migrate - Custom ROM Migration Tool» on Telegram: https://t.me/migrateApp
https://forum.xda-developers.com/android/apps-games/app-migrate-custom-rom-migration-tool-t3862763
There's a new add-on for it on telegram link
TaZeR369 said:
I see, too bad it's a nice function to backup/restore I guess I'll just backup my important data individually and try not to mess up my Rom.
Click to expand...
Click to collapse
Me too. I haven't a bit of luck with encrypted stock restores. I was told it would work if you don't restore /data, but when I made a backup without /data, it failed to restore. I HAVE been able to restore unencrypted customs though. I only backed up system, data, and boot when I succeeded. It's been a while. I think you have to wait a long time for the 1st boot after the restore, as if it were rebuilding ART or something. Haven't had any luck stopping stock from encrypting either. I hate not messing up my ROM. Boring.....
Perhaps I am missing a critical detail, but I just successfully restored my latest LOS(lineage-17.1-20200524-UNOFFICIAL-ocean) & older CRD(crDroidAndroid-10.0-20200405-ocean-v6.4) backups(*) using TWRP(twrp-installer-3.3.1-2-ocean).
SELinux is NOT enforced, but "Trust"(lulz) claims the phone is encrypted.
My methodology requires installing the same base f/w I used when originally installing the ROM(former newest RETAIL for CRD & newest RETUS for LOS), root, flash copy partitions zip, flash>factory reset>1st boot of the original ROM zip, enable debug, install TWRP, boot into TWRP, wipe all & restore backup(*).
I just restored successfully 2x's on my xt1955-5.
I loaded LOS 10 & 3rds from scratch, made all my settings tweaks & made Titanium b/u(JIC), made TWRP b/u(*) then restored my previous CRD daily install using steps above. Then I repeated the above steps(again) to go back to my new, fresh LOS. It is annoying to have to reload f/w, et al, but def easier than reloading & retweaking the OS & all 3rds from scratch... Titanium fails to restore most settings + other nits.
To restore a backup(*) of a ROM I am currently running, I just boot to TWRP, wipe all & restore.
*: To make the original TWRP backup, I will run it & it will fail. I open the log file and find the last file/folder that "error"ed, delete the offender & re-run backup(boot, data & system). It works for me, no DM-verity flash required.
As always, YMMV.
Edit: PS: The problems seem to be stemming from beta testing the new "Trust"(lulz) framework, on all 10 ROMs(?). Would be nice to get that ironed out. A new Recovery wouldn't hurt, either. AFAIK, these problems exist in OFR, too.
googleverifysux said:
Perhaps I am missing a critical detail, but I just successfully restored my latest LOS(lineage-17.1-20200524-UNOFFICIAL-ocean) & older CRD(crDroidAndroid-10.0-20200405-ocean-v6.4) backups(*) using TWRP(twrp-installer-3.3.1-2-ocean).
SELinux is NOT enforced, but "Trust"(lulz) claims the phone is encrypted.
My methodology requires installing the same base f/w I used when originally installing the ROM(former newest RETAIL for CRD & newest RETUS for LOS), root, flash copy partitions zip, flash>factory reset>1st boot of the original ROM zip, enable debug, install TWRP, boot into TWRP, wipe all & restore backup(*).
I just restored successfully 2x's on my xt1955-5.
I loaded LOS 10 & 3rds from scratch, made all my settings tweaks & made Titanium b/u(JIC), made TWRP b/u(*) then restored my previous CRD daily install using steps above. Then I repeated the above steps(again) to go back to my new, fresh LOS. It is annoying to have to reload f/w, et al, but def easier than reloading & retweaking the OS & all 3rds from scratch... Titanium fails to restore most settings + other nits.
To restore a backup(*) of a ROM I am currently running, I just boot to TWRP, wipe all & restore.
*: To make the original TWRP backup, I will run it & it will fail. I open the log file and find the last file/folder that "error"ed, delete the offender & re-run backup(boot, data & system). It works for me, no DM-verity flash required.
As always, YMMV.
Edit: PS: The problems seem to be stemming from beta testing the new "Trust"(lulz) framework, on all 10 ROMs(?). Would be nice to get that ironed out. A new Recovery wouldn't hurt, either. AFAIK, these problems exist in OFR, too.
Click to expand...
Click to collapse
Have u tried the new 3.5 twrp
Lol...and here it is a couple years later and I'm still searching whether a force-encrypted twrp backup of stock has been figured out how to restore...Pulled up my own thread. Lol.
i miss being able to backup android properly. it made me behave completely differently with my phone. it was a toy instead of just some tool. i'd just install every single rom, kernel modem operating system i could find or i'd just plagiarize the hell out of you guys for sh*ts and giggles and man i loved android so much back then but now its my cell phone. :\ i just liked the colorful language, i wasn't signing anybody else's code.
it's such a tedious thing now, even compared to before and i suppose that's their intention perhaps.

Categories

Resources