[Q] Update 30o OTA without losing data - ONE Q&A, Help & Troubleshooting

Hi, i'm on cm11s 25r, rooted with towelroot and twrp installed. I'd like to install 30o and 33r but the ota is not working with twrp ("error, can't install on top of incompatible package"or something like that)
I prefer not too lose all my data, apps and photos. Is there a way to update ?
Thanks !

What recovery are you on? There are some problems going on with TWRP 2.8.0.0, where you may have to revert back to 2.7.1.1 in order to flash OTAs.
Your steps are to flash 30O OTA and then 33R OTA.
Alternatively, you can start from scratch and flash 30O via fastboot but then you lose all your data.

zephiK said:
What recovery are you on? There are some problems going on with TWRP 2.8.0.0, where you may have to revert back to 2.7.1.1 in order to flash OTAs.
Your steps are to flash 30O OTA and then 33R OTA.
Alternatively, you can start from scratch and flash 30O via fastboot but then you lose all your data.
Click to expand...
Click to collapse
... I just flashed 2.8.0.0 this afternoon it might be related. i think i'll end up backing up all my data, unlocking my bootloader properly and flashing latest rom (i was trying to avoid that because downloading game data and apps takes forever with my "slow" internet )

coc014 said:
... I just flashed 2.8.0.0 this afternoon it might be related. i think i'll end up backing up all my data, unlocking my bootloader properly and flashing latest rom (i was trying to avoid that because downloading game data and apps takes forever with my "slow" internet )
Click to expand...
Click to collapse
Thats understandable, I always recommend people to unlock their bootloaders so when they do decide to tinker with their phones they can flash a custom recovery as well as back up all their data.
When you are fully unlocked and whatnot, get Titanium Backup (Pro recommended) and then you can use that to back up all of your apps/data so they stick on rom changes.

i installed titanium backup, downloaded stock rooted 33r, installed it, restored my apps/data , installed franco kernel r18 and everything is working :good: :good:

Related

[Q] Can't apply OTA, Stock, Root, Franco 23R, TWRP

Hey All, I got the OTA (I have it in /cache in my phone so no need to download anything) in my Stock 33R with root, franco 23R and TWRP. When trying to install the OTA, I'm getting a "Can't install this package on top of incompatible data. Please try another package or run a factory reset" error. I've followed Franco's post on how to install this OTA (https://plus.google.com/106873500108976028532/posts/ByvTAonR6mH) and I have even flashed the backed-up kernel and still same issue. One more thing I did was remove supersu.apk from /system/apps/ just to make sure that was not the case. I've read about the modified OTA, however not sure why I would need any modified so I want to see if this can be done with the unmodified 38R
Anyone can help?
UPDATE: I was able to make it work, see comment #12
You need to go back to being completely stock. Perform a full wipe (system/data/cache/dalvik cache) and flash the recovery flashable version of 33R from here, Then you can flash the update.
Transmitted via Bacon
timmaaa said:
You need to go back to being completely stock. Perform a full wipe (system/data/cache/dalvik cache) and flash the recovery flashable version of 33R from here, Then you can flash the update.
Transmitted via Bacon
Click to expand...
Click to collapse
Thanks, but there has to be other way that would not require wiping data... that is not acceptable
rhaces said:
Thanks, but there has to be other way that would not require wiping data... that is not acceptable
Click to expand...
Click to collapse
I'm not talking about user data, I'm talking about your system data partition.
Transmitted via Bacon
timmaaa said:
I'm not talking about user data, I'm talking about your system data partition.
Transmitted via Bacon
Click to expand...
Click to collapse
In your original post you mention "Perform a full wipe (system/data/cache/dalvik cache)", that will factory reset my phone (except /sdcard), that is what I want to avoid.
rhaces said:
In your original post you mention "Perform a full wipe (system/data/cache/dalvik cache)", that will factory reset my phone (except /sdcard), that is what I want to avoid.
Click to expand...
Click to collapse
You don't really have a choice. Why is it an issue? Just use Titanium to backup your apps and restore them again once you've updated. The only thing you'll have to do again is your system settings.
Transmitted via Bacon
timmaaa said:
You don't really have a choice. Why is it an issue? Just use Titanium to backup your apps and restore them again once you've updated. The only thing you'll have to do again is your system settings.
Transmitted via Bacon
Click to expand...
Click to collapse
I've had plenty of issues throughout the years with Titanium, which makes me not to trust it fully, it will consume a lot of time to fully backup and fully restore, and, most important, I really hate that I need to wipe and re-flash stock if I'm in stock (with a few modifications which can be all undone)
rhaces said:
I've had plenty of issues throughout the years with Titanium, which makes me not to trust it fully, it will consume a lot of time to fully backup and fully restore, and, most important, I really hate that I need to wipe and re-flash stock if I'm in stock (with a few modifications which can be all undone)
Click to expand...
Click to collapse
Follow vomer's guide here. It just bring your rom back to stock and leaves user data untouched. http://forum.xda-developers.com/showpost.php?p=55882576&postcount=229
rhaces said:
I've had plenty of issues throughout the years with Titanium, which makes me not to trust it fully, it will consume a lot of time to fully backup and fully restore, and, most important, I really hate that I need to wipe and re-flash stock if I'm in stock (with a few modifications which can be all undone)
Click to expand...
Click to collapse
There's nothing wrong with Titanium if you know how to use it. Unless you're restoring system data (which you shouldn't be) it's perfectly solid. And the thing is, you're not stock, those modifications you've made mean that you're not stock, so it's completely normal that you'd have issues with updating. You can moan about it all you like but it doesn't change the fact that you need to wipe.
Transmitted via Bacon
What he said.
You can't apply an OTA update if u have a custom kernel installed.
Just go back stock and apply updates until the latest version. If u use titanium properly you will not have any issue, just backup user apps without system settings.
Any other turnaround can cause havoc.
rhaces said:
Hey All, I got the OTA (I have it in /cache in my phone so no need to download anything) in my Stock 33R with root, franco 23R and TWRP. When trying to install the OTA, I'm getting a "Can't install this package on top of incompatible data. Please try another package or run a factory reset" error. I've followed Franco's post on how to install this OTA (https://plus.google.com/106873500108976028532/posts/ByvTAonR6mH) and I have even flashed the backed-up kernel and still same issue. One more thing I did was remove supersu.apk from /system/apps/ just to make sure that was not the case. I've read about the modified OTA, however not sure why I would need any modified so I want to see if this can be done with the unmodified 38R
Anyone can help?
Click to expand...
Click to collapse
Please check http://forum.xda-developers.com/showpost.php?p=55948892&postcount=16
@rhaces, just curious, could you PM me your /data/system/packages.xml file?
Well, It looks like you really don't need to wipe data (see, I told you it was ludicrous), I tried following both this and this, but did not helped (however both gave me ideas), here's what I did:
Fastboot flash boot system and recovery from 33R, boot into system, apply the OTA from the system (I'm now in an unrooted-unmodified stock 33R) and now that worked. Booted into newly installed 38R and everything worked ok, so went back to fastboot, flashed TWRP, went into TWRP and installed supersu and franco 24r and now things seem to be ok.
Thanks for all the help
Just don't complain when you start getting problems. Which you most likely will.
Transmitted via Bacon

(Q)How to stay up to date while rooted?

Rooted with CWM as recovery. Shield Tablet has OTA update but obviously can't install with CWM. What is the simplest way to stay up to date and keep root?
Sent from my SHIELD Tablet using xda premium
Still looking for help with this. I have a basic understanding on how things work. Is this what I need to do?
Flash original recovery
Reboot then do the OTA update
Then refresh CWM
Will I lose root?
Sent from my SHIELD Tablet using xda premium
Scoobydumb said:
Still looking for help with this. I have a basic understanding on how things work. Is this what I need to do?
Flash original recovery
Reboot then do the OTA update
Then refresh CWM
Will I lose root?
Sent from my SHIELD Tablet using xda premium
Click to expand...
Click to collapse
That's not the way to go at all.
Whenever there's an update, flash the incremental OTA file HERE.
Flashing the stock recovery will not allow taking OTA's.
thank you for the link, which command do I use to flash the incremental update looks like the instructions there are for a full update. thanks again
Scoobydumb said:
thank you for the link, which command do I use to flash the incremental update looks like the instructions there are for a full update. thanks again
Click to expand...
Click to collapse
Um, just flash it in TWRP or CWM, only need to flash cache and dalvik cache, but that's optional.
Im also sorta nooby about this. The only thing I have ever done is flash Cyanogen Mod and install TWRP on my Galaxy Note 3. I have rooted my Shield and installed Uno TWRP out of the box. Thus its not on the latest update. Just to clarify so I don't f*ck up. I just download the latest OTA, copy to my sdcard and flash in TWRP? And that will just update it without having to lose all my apps etc?
EDIT: So incremental updates take from version x.x to version x.x? Oh, and is it true that root is wiped? Im happy to re-root everytime.
Singularity_iOS said:
Im also sorta nooby about this. The only thing I have ever done is flash Cyanogen Mod and install TWRP on my Galaxy Note 3. I have rooted my Shield and installed Uno TWRP out of the box. Thus its not on the latest update. Just to clarify so I don't f*ck up. I just download the latest OTA, copy to my sdcard and flash in TWRP? And that will just update it without having to lose all my apps etc?
EDIT: So incremental updates take from version x.x to version x.x? Oh, and is it true that root is wiped? Im happy to re-root everytime.
Click to expand...
Click to collapse
Yes that's true, just make sure you flash the incremental updates and not the full OTA's. And as far as root I'm not sure if you loose it, while in recovery might as well just flash SuperSU to be safe.
FoxyDrew said:
Yes that's true, just make sure you flash the incremental updates and not the full OTA's. And as far as root I'm not sure if you loose it, while in recovery might as well just flash SuperSU to be safe.
Click to expand...
Click to collapse
Ok thanks. One more question. How would I go about checking the rom version? Unless I'm missing it I can only see the Android version, which is 5.0.
EDIT: i'm getting some sort of error when trying to flash the zips. I downloaded (for wifi) 2.0 to 2.1, 2.1 to 2.2 and 2.2 to 2.2.1. Whenever I try to flash it just fails.
Singularity_iOS said:
EDIT: i'm getting some sort of error when trying to flash the zips. I downloaded (for wifi) 2.0 to 2.1, 2.1 to 2.2 and 2.2 to 2.2.1. Whenever I try to flash it just fails.
Click to expand...
Click to collapse
Yes, because you need to flash 2.2.1 full ota via custom recovery, and wipe cache dalvik. Then flash again your custom recovery. Then supersu.
If you are rooted with custom rec (twrp, cwm, Philz) you need to flash full ota.
Wouldn't the tablet be wiped then? And if this is the case everytime can't I just keep the stock recovery and sideboard a custom one?
Nope. You just flash on top, like a dirty flash. I use TWRP and Ive done it twice and still kept everything. The only wipe you need to do is cache & dalvik after flashing full OTA.
If you keep stock rec just for the fact of being rooted incremental OTAs wont work
NaminatoR1254jaime.sier said:
Nope. You just flash on top, like a dirty flash. I use TWRP and Ive done it twice and still kept everything. The only wipe you need to do is cache & dalvik after flashing full OTA.
If you keep stock rec just for the fact of being rooted incremental OTAs wont work
Click to expand...
Click to collapse
I just flashed full OTA via CWM and lost root.
I had to re fastboot flash recovery and then sideload supersu to root.
It sounds like TWRP is holding root.
perky nerky said:
I just flashed full OTA via CWM and lost root.
I had to re fastboot flash recovery and then sideload supersu to root.
It sounds like TWRP is holding root.
Click to expand...
Click to collapse
On my previous instructions I pointed out to (after flashing ota) to reflash custom rec and supersu.
NaminatoR1254jaime.sier said:
Yes, because you need to flash 2.2.1 full ota via custom recovery, and wipe cache dalvik. Then flash again your custom recovery. Then supersu.
If you are rooted with custom rec (twrp, cwm, Philz) you need to flash full ota.
Click to expand...
Click to collapse
With twrp I do it literally after flashing full ota. I leave recovery to reboot to system right when Im done flashing everything.

Dirty flashing from CM12.0 to CM12.1 possible?

It's been a while since I've touched my OPO since I've been using my OPT as my daily. I'm still on YNG1TAS2I3 on my OPO running stock everything. At the moment it is not rooted, with no custom recovery, but the bootloader IS unlocked. I also had xposed installed with some modules but I ran the xposed uninstaller arm.zip version in TWRP and removed the modules.
Is it possible to dirty flash YNG4PAS1N0 which is CM12.1 onto my OPO? I've tried installing TWRP and then fastbooting CM12.1 but it causes a bootloop. I had to re-fastboot flash CM12.0 to get out of it. I've tried it with TWRP 3.0.2.0 and TWRP 2.8.6.0. I also tried sideloading it but again-- bootloop. Reflashing CM12.0 causes CM recovery to rewrite TWRP even though I don't flash the recovery partition. So it took me a LONG time to get TWRP installed again for all these trials.
At this point is my only option to do a complete wipe and then flash? Even trying to run the OTA update for YNG4PAS1N0 causes a bootloop.
I think fastboot wipe the partition then flash it, else upgrade incrementally (I know it'd suck)
Transmitted via BACON
MZO said:
I think fastboot wipe the partition then flash it, else upgrade incrementally (I know it'd suck)
Transmitted via BACON
Click to expand...
Click to collapse
Well the problem is even incrementally updating it is kicking it into bootloop like I said.
crazykidguy said:
Well the problem is even incrementally updating it is kicking it into bootloop like I said.
Click to expand...
Click to collapse
Then
Instead of normal flashing you should fastboot erase <partition> and then flash it.
Transmitted via BACON

Can you update a twrp+sysless rooted tablet without losing everything?

Id like to get the fix for laucher3 but would like to not lose all my data and have to reroot which seemed to be the case in the past when I updated through twrp.
Riku98523 said:
Id like to get the fix for laucher3 but would like to not lose all my data and have to reroot which seemed to be the case in the past when I updated through twrp.
Click to expand...
Click to collapse
You can still flash OTA zips through twrp, you just have to remove the checks inside of the installer script. After you installed that, you have to install TWRP again (can be done directly after zip flash, while still in twrp).
If you are using magisk just reboot tablet after ota update and then install it again through twrp.
But dont forget to make a backup and dont forget that a dirty flash can create more issues.

OOS 5.1.8 Restore back to original setting

Hi all I'm having hard time time in finding a way to restore back to stock.
I'm on OOS 5.1.8 with twrp official and Magisk
Can you please share how to format the phone completely and again install 5.1.8 or 5.1.6 oos?
Reason for this is poor battery life after last few iteration of updates. Need to see whether it fixes it.
leonalewis said:
Hi all I'm having hard time time in finding a way to restore back to stock.
I'm on OOS 5.1.8 with twrp official and Magisk
Can you please share how to format the phone completely and again install 5.1.8 or 5.1.6 oos?
Reason for this is poor battery life after last few iteration of updates. Need to see whether it fixes it.
Click to expand...
Click to collapse
Here you go,this will restore the phone back to 5.1.5:
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
leonalewis said:
Hi all I'm having hard time time in finding a way to restore back to stock.
I'm on OOS 5.1.8 with twrp official and Magisk
Can you please share how to format the phone completely and again install 5.1.8 or 5.1.6 oos?
Reason for this is poor battery life after last few iteration of updates. Need to see whether it fixes it.
Click to expand...
Click to collapse
Make sure you have your full ROM zip files on your phone. Disable secure lock screen in OS. Boot TWRP, backup data only. Wipe everything (data is optional) install ROM zip file, reflash TWRP zip, reboot. You can always restore data at any time after wiping it and it will be as you have it set up to your preferences. There aren't major differences in OOS versions so erroes shouldn't occur with data on any of them. If you want root, you can boot back into recovery and install magisk.
mikex8593 said:
Make sure you have your full ROM zip files on your phone. Disable secure lock screen in OS. Boot TWRP, backup data only. Wipe everything (data is optional) install ROM zip file, reflash TWRP zip, reboot. You can always restore data at any time after wiping it and it will be as you have it set up to your preferences. There aren't major differences in OOS versions so erroes shouldn't occur with data on any of them. If you want root, you can boot back into recovery and install magisk.
Click to expand...
Click to collapse
can someone confirm this procedure is valid which mikex has confirmed? Since on this post https://forum.xda-developers.com/oneplus-6/help/help-flashing-oos-5-1-8-zip-via-twrp-t3814614 he did the same and got BootLoop
stavros67 said:
Here you go,this will restore the phone back to 5.1.5:
https://forum.xda-developers.com/oneplus-6/how-to/tool-msmdownloadtool-v4-0-international-t3798892
Click to expand...
Click to collapse
Just use this, let OTA update run and you're done. There's no easier solution.
leonalewis said:
can someone confirm this procedure is valid which mikex has confirmed? Since on this post https://forum.xda-developers.com/oneplus-6/help/help-flashing-oos-5-1-8-zip-via-twrp-t3814614 he did the same and got BootLoop
Click to expand...
Click to collapse
You shouldn't get a bootloop if you flash stock firmware via TWRP unless the file itself is messed up. Bootloop can occur if you flash magisk right away, I think. You have to reboot recovery before flashing magisk.

Categories

Resources