[Q] [NOOB] Question before flashing new ROM from stock - Samsung Galaxy Nexus

So the new update for AOKP http://aokp.co/index.php/releases/_/jb-build-2-r29 has pretty neat features. I am going to flash it to maximize my GNex's potential.
Just a noob question, I understand that flashing new ROMs will wipe my data. Can i restore all apps, apps settings, files on virtual SD like camera roll and downloads folder, as well as system settings simply by using Titanium Backup?
Would not want to risk all my data. Thanks.

jellymelly said:
So the new update for AOKP http://aokp.co/index.php/releases/_/jb-build-2-r29 has pretty neat features. I am going to flash it to maximize my GNex's potential.
Just a noob question, I understand that flashing new ROMs will wipe my data. Can i restore all apps, apps settings, files on virtual SD like camera roll and downloads folder, as well as system settings simply by using Titanium Backup?
Would not want to risk all my data. Thanks.
Click to expand...
Click to collapse
If your bootloader is unlocked: yes, you can root (if you haven't done it already) and use TiB to backup apps + app data. Installing a ROM will not wipe your /sdcard. It's always a good idea to back it up though before a flash. Use TiB to restore apps + appdata to your new AOKP ROM. Be careful with system apps and settings, restoring such data can lead to issues.
If your bootloader is locked and you don't have root: not easily. Unlocking it will wipe your /sdcard, you need it unlocked to gain root, and you need root to use TiB. Your best bet in that case is this guide: http://forum.xda-developers.com/showthread.php?t=1420351. Follow the guide to gain root and restore the ADB backup. Then proceed with TiB and new ROM flash.

Petrovski80 said:
If your bootloader is unlocked: yes, you can root (if you haven't done it already) and use TiB to backup apps + app data. Installing a ROM will not wipe your /sdcard. It's always a good idea to back it up though before a flash. Use TiB to restore apps + appdata to your new AOKP ROM. Be careful with system apps and settings, restoring such data can lead to issues.
Click to expand...
Click to collapse
Thanks for the info. I forgot to mention that I am rooted and has an unlocked bootloader already.
Just one more question: people say to wipe data before switching to a new ROM (stock -> AOKP in my case).
- Will it be OK if I don't wipe? I don't really want to set all my system settings up again
- And will wiping data/factory reset erase everything in SD card?

jellymelly said:
Thanks for the info. I forgot to mention that I am rooted and has an unlocked bootloader already.
Just one more question: people say to wipe data before switching to a new ROM (stock -> AOKP in my case).
- Will it be OK if I don't wipe? I don't really want to set all my system settings up again
- And will wiping data/factory reset erase everything in SD card?
Click to expand...
Click to collapse
You have to wipe or it simply won't work.
If you were going from an older version of AOKP to a newer version you wouldn't have to wipe; however, since you're coming from stock (a completely different ROM) data won't be compatible and you will have to wipe.
Note: not wiping will cause a bootloop.
Sent from my Galaxy Nexus using Tapatalk 2

Factory reset in a custom recovery will not touch your virtual sdcard.

Post two of the guide linked in my SIG.

Jubakuba said:
Post two of the guide linked in my SIG.
Click to expand...
Click to collapse
haha should have posted earlier. I am literally pressing the the button to install apps manually... TiB Pro could have saved me 60 presses already... Your post should be stickied!

It is stickied =]
But yeah, the pro key is definitely worth it.

Related

[Q] Force closes long lag times, other problems so un-root/re-root or something else?

So, I have been having some major problems with my phone. Tons of force closes, major lag times and things like that. I have tried a handful of different ROMs, including CM7, the nightlys, Miui and a few others. I hear great stories about people and rooting and I want to be one of them. I am tired of all the hassles. So, when talking to someone in the office who has had no issues with his Droid 2, he suggested, and said he has read, the best thing to do is go back to stock, unroot, as they will remove all possible conflicting files that could be causing problems. Then, re-root, and install whatever.
Any thoughts on that? Generally, my process for installing a new ROM, I boot into recovery manually, clean cache, clean Dalvik, then install ROM. Then, I restore apps and data from Titanium and restore the Nandroid from Rom Manager. The past couple times, I have done the factory reset, but eventually, a day or 2, it goes back to the same problems. Maybe, I should just try it without the restoring the Nandroid (even though it is a backup from when there was no problems) and the app data from Titanium. I assume, you know what happens when you assume, that both the Nandroid and Titanium backups are clean as I backed up when I was having no issues.
So, any thoughts here? Unroot, then re-root or is there something else I should try to wipe everything clean to solve the problems? Currently, on the original Droid Incredible (got it on the release day, so the first screen), running 2.2 when I rooted, currently on Miui 1.9.16, but just installed it 10 minutes ago and was running the Cyanogen nightly's before hand..
Thanks in advance
When flashing a new ROM you should always do the following before flashing, especially if you're flashing completely different ROMs:
Wipe user data/factory reset
Mounts and Storage - format /system, format /boot, format /data, format /cache
Advanced - Wipe Dalvik, Wipe Battery Stats
Then flash the ROM zip.
Try not restoring apps and data from Titanium, as restoring the app is okay, but restoring data can cause unwanted things to happen more times than not.
When you say restore nandroid from ROM Manager, what do you mean here? A nandroid is backing up your ROM via ROM Manager, which gets stored to your clockworkmod/backups folder...you shouldn't be pulling anything from that...
If you flash the RUU to return to stock and re-root, make sure you use the 2.2 RUU. If you use the 2.3, you need to be s-off to get rooted again. If you use the 2.3 RUU and you're s-on, no root for you...come back one year.
The ONLY time you want to restore a nandroid backup is if you've wiped your device clean and want to return to a previously backed up setup. You should never restore a nandroid backup over a ROM you've just installed. If that's what you're doing, that's your problem. You're effectively replacing whatever ROM you just flashed in it's entirety.
As for Titanium, I restore apps with data all the time, but system data should almost never be restored as it's OS and app version specific. Basically, if it's green, it's safe. If it's red, don't mess with it. If it's white, like a user app, app and data are usually safe to restore.
ROM Manager is a bigger pain in the ass than it's worth and is useless for anything more than flashing a new recovery. If my recovery is working reliably, I never install ROM manager. Most devs will tell you to never flash with ROM manager anyways. Any function that ROM Manager performs can be performed in recovery in a safer, more reliable fashion.
loonatik78 said:
The ONLY time you want to restore a nandroid backup is if you've wiped your device clean and want to return to a previously backed up setup. You should never restore a nandroid backup over a ROM you've just installed. If that's what you're doing, that's your problem. You're effectively replacing whatever ROM you just flashed in it's entirety.
As for Titanium, I restore apps with data all the time, but system data should almost never be restored as it's OS and app version specific. Basically, if it's green, it's safe. If it's red, don't mess with it. If it's white, like a user app, app and data are usually safe to restore.
ROM Manager is a bigger pain in the ass than it's worth and is useless for anything more than flashing a new recovery. If my recovery is working reliably, I never install ROM manager. Most devs will tell you to never flash with ROM manager anyways. Any function that ROM Manager performs can be performed in recovery in a safer, more reliable fashion.
Click to expand...
Click to collapse
Thanks for the correction, I forgot to put system in there...restoring system data is not good.
+1 on ROM Manager issues, always get a zip file of the ROM, and flash through recovery.
RMarkwald said:
When flashing a new ROM you should always do the following before flashing, especially if you're flashing completely different ROMs:
Wipe user data/factory reset
Mounts and Storage - format /system, format /boot, format /data, format /cache
Advanced - Wipe Dalvik, Wipe Battery Stats
Then flash the ROM zip.
When you say restore nandroid from ROM Manager, what do you mean here? A nandroid is backing up your ROM via ROM Manager, which gets stored to your clockworkmod/backups folder...you shouldn't be pulling anything from that....
Click to expand...
Click to collapse
That is pretty much what I do, except for the Mounts and Storage parts.
For the Nandroid part, maybe I have my terminology mixed up. I do a restore from Rom Manager...which I thought was called the Nandroid backup. It seems to me, that it makes sure the launcher and things are set up right.
loonatik78 said:
The ONLY time you want to restore a nandroid backup is if you've wiped your device clean and want to return to a previously backed up setup. You should never restore a nandroid backup over a ROM you've just installed. If that's what you're doing, that's your problem. You're effectively replacing whatever ROM you just flashed in it's entirety.
Click to expand...
Click to collapse
I rarely use the ROM Manager to do anything, just restore (what I thought was called the Nandroid) to make the launcher the way things were..
But it seems like that is my problem. I am installed the new ROM, then just restoring a back up of all the problems. DUH.. Guess I should try it all without restoring anything from the ROM Manager and see how it all works. That will be my project tonight..
Thanks
MikeDaub said:
That is pretty much what I do, except for the Mounts and Storage parts.
For the Nandroid part, maybe I have my terminology mixed up. I do a restore from Rom Manager...which I thought was called the Nandroid backup. It seems to me, that it makes sure the launcher and things are set up right.
I rarely use the ROM Manager to do anything, just restore (what I thought was called the Nandroid) to make the launcher the way things were..
But it seems like that is my problem. I am installed the new ROM, then just restoring a back up of all the problems. DUH.. Guess I should try it all without restoring anything from the ROM Manager and see how it all works. That will be my project tonight..
Thanks
Click to expand...
Click to collapse
If you want to restore your launcher, try it through Titanium Backup. If that doesn't do it, and I can't promise you it will work correctly, you're probably SOL on restoring a launcher unless some other backup app does the job better.
loonatik78 said:
If you want to restore your launcher, try it through Titanium Backup. If that doesn't do it, and I can't promise you it will work correctly, you're probably SOL on restoring a launcher unless some other backup app does the job better.
Click to expand...
Click to collapse
I am fine with not restoring it, I just thought "that is what you should do".
I don't venture too far from the regular settings, so it isn't a pain to do, just thought I should...
RMarkwald said:
When flashing a new ROM you should always do the following before flashing, especially if you're flashing completely different ROMs:
Wipe user data/factory reset
Mounts and Storage - format /system, format /boot, format /data, format /cache
Advanced - Wipe Dalvik, Wipe Battery Stats
Then flash the ROM zip.
Click to expand...
Click to collapse
One more quick question since I am thinking of it....is this same process if doing nightly updates from Cyanogen, or just is I change from say, Cyanogen to Miui or something??
Thanks again for all the help..
MikeDaub said:
One more quick question since I am thinking of it....is this same process if doing nightly updates from Cyanogen, or just is I change from say, Cyanogen to Miui or something??
Thanks again for all the help..
Click to expand...
Click to collapse
Generally, CM nightlies can be flashed over top of each other without a wipe since the vast majority of the code is identical. However, if an issue crops up, a wipe and flash might be a good thing to try. Probably won't help though, since nightlies, by definition, are experimental.
Always wipe and flash when moving from one ROM type to another.
loonatik78 said:
Generally, CM nightlies can be flashed over top of each other without a wipe since the vast majority of the code is identical. However, if an issue crops up, a wipe and flash might be a good thing to try. Probably won't help though, since nightlies, by definition, are experimental.
Always wipe and flash when moving from one ROM type to another.
Click to expand...
Click to collapse
That's kinda what I figured, but I thought it was worth asking so I don't completely wipe the whole thing every time I install an update. The nightly I am on now seems to be working, so the new plan is keep whats working until it doesn't work anymore, or some major update comes along..
Thanks again for the help. I really appreciate it.
If the issue continues you can try copying everything off of your SD card to your PC and reformatting your SD card. Remember to use FAT32 format. Then copy everything back to your SD card. I've read threads were this helped the force close issues for many people - Just a thought.
jackbtha1 said:
If the issue continues you can try copying everything off of your SD card to your PC and reformatting your SD card. Remember to use FAT32 format. Then copy everything back to your SD card. I've read threads were this helped the force close issues for many people - Just a thought.
Click to expand...
Click to collapse
Certainly worth a thought. The card that is in it now came from a different phone. I am pretty sure I formatted it when I first plugged it in, but it can't hurt to try...
Thanks

Are mods preserved when flashing a new ROM ?

Hi,
I am new to flashing and rooting and have some basic doubts. Does mods survive new flashing? Say if I installed some apps via recovery, do they go away when a new ROM is flashed? Also is there a way to remove them without flashing a new ROM?
For mods yes you have to flash them again when installing a different ROM. If it's a new version of the same ROM, you can choose to either perform a full wipe (recommended) or just install over the old ROM.
ArmedandDangerous said:
For mods yes you have to flash them again when installing a different ROM. If it's a new version of the same ROM, you can choose to either perform a full wipe (recommended) or just install over the old ROM.
Click to expand...
Click to collapse
If its a new version of the same ROM, can I selectively decide which all mods to preserve? I recently installed a font mod. Is there a way to selective remove it alone when flashing.
Is it enough if I manually go and delete the files which was there in the mod or is there a better way?
For fonts you can just delete the font file. Also there are many apps on the market that automate the process of installing/uninstalling fonts
ametarasu said:
Hi,
I am new to flashing and rooting and have some basic doubts. Does mods survive new flashing? Say if I installed some apps via recovery, do they go away when a new ROM is flashed? Also is there a way to remove them without flashing a new ROM?
Click to expand...
Click to collapse
if you don't perform full wipe and install same ROM, they may survive though it is recommended to perform full wipe if ur ROM has new kernel
& if you are flashing different ROM, mods will not be there
few mods are system wide like Zero's Sound Enhancer... you can't uninstall or delete such mods
So if my understanding is correct, all system contents (mods and anything I put to system memory but not the memory card accessible to us) are removed when a wipe happens. And it also removes existing apps. But if I upgrade an existing rom without a wipe my existing mods and apps will remain as it is.
I am trying to figure out a proper strategy for removing existing mods and upgrading roms. Kindly bear with my noob questions.
Sent from my HTC One X using xda app-developers app
ametarasu said:
So if my understanding is correct, all system contents (mods and anything I put to system memory but not the memory card accessible to us) are removed when a wipe happens. And it also removes existing apps. But if I upgrade an existing rom without a wipe my existing mods and apps will remain as it is.
I am trying to figure out a proper strategy for removing existing mods and upgrading roms. Kindly bear with my noob questions.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
What I do is a do a Titanium Backup of all apps, do a full wipe then restore the apps. Mods aren't listed as apps so they do not appear in Titanium so whatever mods you installed will be gone. I'm assuming this is what you want to do.
ametarasu said:
So if my understanding is correct, all system contents (mods and anything I put to system memory but not the memory card accessible to us) are removed when a wipe happens. And it also removes existing apps. But if I upgrade an existing rom without a wipe my existing mods and apps will remain as it is.
I am trying to figure out a proper strategy for removing existing mods and upgrading roms. Kindly bear with my noob questions.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
As ArmedandDangerous said use Titanium backup for backing all your apps and data, u can select which apps to backup and which not its up to you
And never forget to make a Nandroid backup before flashing a new ROM or upgrading one...
its very much required...
If you want to know how to use Titanium backup, check Cursed4eva channel on youtube and check his video on Titanium backup, its very good

Installing CM10 on Galaxy S3...first timer

This is my first custom flash off stock. I have actually had some experience flashing due to accidently flashing from LH9 to LG1, which doesn't work. So I had to install TWRP, do a factory reset, root it, and install LH9 from there.
But I plan on trying out CM10 and I have a few question.
A) Can I just flash CM10 in ROM Manager since it is built in?
B) How can I keep my apps, app data, account data, folders,settings...etc? I have both CWM Pro and Titanium Backup Pro installed.
C) Is there anything that is worse in CM10 than Touchwiz?
D) If I don't like CM10, I can go into CWM ROM Manager and just restore my Backup, correct?
To be honest you need to flash it and give a shot and see what you think, everybody loves something different.
Download from the cm10 build from the link in the xda thread and also get the 10/12 gapps.
Boot to recovery and make a NANDROID BACKUP!
When you install, you will need to do a full wipe.(Wipe Data/Wipe Cache/Wipe Dalvik/Format System in that order to be safe
Flash the cm10 rom and the flash the 10/12 gapps.
Then Reboot!
And enjoy the goodness!
I love CM10 or AOKP much better than TW, just my opinion.
Hope this helps!:cyclops:
GilaMonster1 said:
This is my first custom flash off stock. I have actually had some experience flashing due to accidently flashing from LH9 to LG1, which doesn't work. So I had to install TWRP, do a factory reset, root it, and install LH9 from there.
But I plan on trying out CM10 and I have a few question.
A) Can I just flash CM10 in ROM Manager since it is built in?
B) How can I keep my apps, app data, account data, folders,settings...etc? I have both CWM Pro and Titanium Backup Pro installed.
C) Is there anything that is worse in CM10 than Touchwiz?
D) If I don't like CM10, I can go into CWM ROM Manager and just restore my Backup, correct?
Click to expand...
Click to collapse
QnA bud. Good to see you're starting to flash tho.
I've tried many, many ROMs on my S3 but I keep going back to CM10. Even though it's not a stable release for my model it's still awesome
Couldn't I just use ROM Manager since CM10 in on there and wipe data and cache?
Isn't the CWM ROM Manager backup a Nandroid?
How could I keep my apps and most my data...etc?
I appreciate your help, but I was knew how to do it in that way
Use Titanium to backup all your apps & data, boot to CWM recovery take a backup and install CM10 then restore your apps from Titanium, should be that easy!
Yeah, perhaps you guys don't use it, but my question remains. I've backed up using ROM Manager and transferred that image to my PC for an external copy. Couldn't I just install CM10 using ROM Manger as it is supported? Isn't that backup a NANdroid?
Or is it just not preferable?
Thanks for any help guys/
Can someone please answer my questions?
rom manager simply boots into recovery for you and makes the backup itself, etc. however, if you want to do more (wipe /system, etc) you need to go into recovery manually and do it.
sent from my I747
cehf said:
rom manager simply boots into recovery for you and makes the backup itself, etc. however, if you want to do more (wipe /system, etc) you need to go into recovery manually and do it.
sent from my I747
Click to expand...
Click to collapse
So basically I should can ROM Manager to upgrade CM10 or restore, but not flash new ROMS?
GilaMonster1 said:
So basically I should can ROM Manager to upgrade CM10 or restore, but not flash new ROMS?
Click to expand...
Click to collapse
i'm confused by your wording, sorry. rom manager would be suitable to your needs. it can install a rom for you, but it will only wipe data/factory reset. it will not wipe /system or dalvik cache like so many installation instructions say to do. rom manager can backup your rom and restore your backup.
so yes, you can use it if you choose to, but learning to use cwm would probably be easier in the long run than needing to rely on an app.
sent from my I747
How would I keep photo or music that are on my phone's memory? Aren't they in a SD parition?
GilaMonster1 said:
How would I keep photo or music that are on my phone's memory? Aren't they in a SD parition?
Click to expand...
Click to collapse
they are either on the internal sd card or one that you inserted into your phone. you won't lose any data on those.
GilaMonster1 said:
Can someone please answer my questions?
Click to expand...
Click to collapse
You should really do some reading over in the development section. They're full of information that can answer all these questions you have.
Sent from my Nexus 7 using xda app-developers app

Titanium Backup Restores (ROOT)

Since rooted phones can't take OTA's, we have special considerations before updating. (flash/wipe/then recover ... ). Google restores a lot but I've discovered not many system or app settings. TWRP makes full backups, but if your data is full of pics and videos there's not enough available space for backups.
I have Titanium Backup Pro but I'm not sure 'when' to use it for recovery. Individual app restores sure, but what about a complete restore? After a flash and boot, should I bypass the Google setups, install TiB, and restore with that? Will that give me a 100% restored device (all system and app settings)?
Will this work? Is there a better strategy? Or is it impossible to get 100% recovery.
Insight/ Advice are appreciated.
Can't systemless root take OTAs?
Keithn said:
Can't systemless root take OTAs?
Click to expand...
Click to collapse
From my limited understanding ... no! Any boot, recovery, or system mods cause OTAs to fail when trying to apply. Getting AP working is a different issue.
since i'm not comfortable using command line programs i find myself using NRT when an update is due. in the end it's just a graphical frontend with some instructions but it makes me feel more secure.
enough rambling, your question is answered in one of the FAQs in wugs homepage:
http://www.wugfresh.com/faqs/how-to-update-ota-not-working/ said:
If you use Titanium Backup it is recommended to only backup user apps + data (not system apps), because when you update to the new android version, the system apps are most likely updated, so restoring an old system app backup will overwrite your new system app with the legacy version; and if you were just to restore the data, it may be incompatible with the new version of the system app. There are some exceptions to this rule; as in – you might be able to get away with restoring some system data, however if you chose to go this route then make sure you just restore the data (not the app), you do so selectively (as in – one system app at a time), and you know how to delete that app data if it doesn’t work properly (Settings > Apps > All > navigate to the particular app > clear data > reboot your device.)
Click to expand...
Click to collapse
following that link, i mostly find my self making complete backups with TiBa and then following option #1 for smaller updates and #2 for bigger ones.
Broken303 said:
...
following that link, i mostly find my self making complete backups with TiBa and then following option #1 for smaller updates and #2 for bigger ones.
Click to expand...
Click to collapse
Thanks for the valuable info. It appears a full restore (all system settings) is impossible after an upgrade/update. Maybe restoring app data with a TiBackup is possible, but I'm still confused about the 'when' to do this - after the Google restore? Bypass the Google restore?
I recently moved away from Apple where their update/upgrade restore was almost 100%. Maybe some day Google will follow and this will be a moot point.
Mesmurized said:
Thanks for the valuable info. It appears a full restore (all system settings) is impossible after an upgrade/update. Maybe restoring app data with a TiBackup is possible, but I'm still confused about the 'when' to do this - after the Google restore? Bypass the Google restore?
I recently moved away from Apple where their update/upgrade restore was almost 100%. Maybe some day Google will follow and this will be a moot point.
Click to expand...
Click to collapse
google is certainly impoving on that part, it's only a matter of time until this kind of backup is fully implemented.
if you took a look at the link, you may have realised that at least with option 1 you would not have to go through the setup/restore process again.
in my case, i usually go for the restore option given, as it restores some of the system settings in a compatible way, which TiBa can not as already said.
another option, to carry over all of your settings to the update is to:
make a full backup with TiBa
unroot/reflash your current build (if you are using NRT choose 'no wipe mode' similar to the description in the FAQ. this way you don't have to restore anything and can ignore the next step.)
restore your full backup without fear of compatibility issues(never mind, can't restore system settings without root. stupid me.)
take OTA or trigger the update otherwise
in this case it would of course be pretty much useless to restore the google backup.
Broken303 said:
google is certainly impoving on that part, it's only a matter of time until this kind of backup is fully implemented.
if you took a look at the link, you may have realised that at least with option 1 you would not have to go through the setup/restore process again.
in my case, i usually go for the restore option given, as it restores some of the system settings in a compatible way, which TiBa can not as already said.
another option, to carry over all of your settings to the update is to:
make a full backup with TiBa
unroot/reflash your current build (if you are using NRT choose 'no wipe mode' similar to the description in the FAQ. this way you don't have to restore anything and can ignore the next step.)
restore your full backup without fear of compatibility issues(never mind, can't restore system settings without root. stupid me.)
take OTA or trigger the update otherwise
in this case it would of course be pretty much useless to restore the google backup
Click to expand...
Click to collapse
I checked out Option #1 and the rest of NRT for that matter. In fact I have NRT installed. What is does mostly depends upon stock and I have Pure Nexus. In addition, it's a toolkit. Toolkits isolate users from an "understanding" of the process. However, it's the understanding that is necessary to have a fully integrated backup/restore process and to respond to issues/problems that may arise. Bottom line, I don't use toolkits.
Mesmurized said:
I checked out Option #1 and the rest of NRT for that matter. In fact I have NRT installed. What is does mostly depends upon stock and I have Pure Nexus. In addition, it's a toolkit. Toolkits isolate users from an "understanding" of the process. However, it's the understanding that is necessary to have a fully integrated backup/restore process and to respond to issues/problems that may arise. Bottom line, I don't use toolkits.
Click to expand...
Click to collapse
ok then, i thought your switch to android was very recent and therefore you had very little experience. indeed toolkits are in the way of a learning curve when it comes to android.
to my knowledge the closest thing you can get to a full backup/restore process for manual updates is to use the google backup to restore the system settings and use TiBa to restore your own (user)apps and data (possibly overwriting the apps google may have tried to restore/-install). with pure nexus afaik being very close to stock using the tag to not wipe user data should in theory still work without causing problems.
Broken303 said:
ok then, i thought your switch to android was very recent and therefore you had very little experience. indeed toolkits are in the way of a learning curve when it comes to android.
to my knowledge the closest thing you can get to a full backup/restore process for manual updates is to use the google backup to restore the system settings and use TiBa to restore your own (user)apps and data (possibly overwriting the apps google may have tried to restore/-install). with pure nexus afaik being very close to stock using the tag to not wipe user data should in theory still work without causing problems.
Click to expand...
Click to collapse
If I understand correctly, do you recommend allowing Google to restore everything it wants, then running TiB restore after that?
Mesmurized said:
If I understand correctly, do you recommend allowing Google to restore everything it wants, then running TiB restore after that?
Click to expand...
Click to collapse
yes, basically. i would still be cautious when it comes to sms/mms and make a copy of every important file on the sdcard aswell.
the only problem i ever encountered this way was with whatsapp, which i had to reinstall and then manually move over its folder on the sd card from the previous installation.
Broken303 said:
yes, basically. i would still be cautious when it comes to sms/mms and make a copy of every important file on the sdcard aswell.
the only problem i ever encountered this way was with whatsapp, which i had to reinstall and then manually move over its folder on the sd card from the previous installation.
Click to expand...
Click to collapse
I have a separate app for call logs and SMS/text messages. I'll use it!
I always have everything on /sdcard backed up .... It's just those darn system/app settings that are missing. Oh well, thanks for your help. Think I've come a little closer to a full 100% restore.
Mesmurized said:
Since rooted phones can't take OTA's, we have special considerations before updating. (flash/wipe/then recover ... ). Google restores a lot but I've discovered not many system or app settings. TWRP makes full backups, but if your data is full of pics and videos there's not enough available space for backups.
I have Titanium Backup Pro but I'm not sure 'when' to use it for recovery. Individual app restores sure, but what about a complete restore? After a flash and boot, should I bypass the Google setups, install TiB, and restore with that? Will that give me a 100% restored device (all system and app settings)?
Will this work? Is there a better strategy? Or is it impossible to get 100% recovery.
Insight/ Advice are appreciated.
Click to expand...
Click to collapse
Just follow #10 from Heisenberg's rooting guide & your apps/data stay intact.
ING3NIEUR said:
Just follow #10 from Heisenberg's rooting guide & your apps/data stay intact.
Click to expand...
Click to collapse
That's the easy part! Restoring app settings and all of system settings is the hard part
Mesmurized said:
That's the easy part! Restoring app settings and all of system settings is the hard part
Click to expand...
Click to collapse
As long as you follow the guide and don't wipe your phone, then there's no need to restore your apps/settings. They should still be there on your phone. The only thing you have to restore is TWRP/root.
ING3NIEUR said:
... The only thing you have to restore is TWRP/root.
Click to expand...
Click to collapse
If a flash update is performed, do you still restore TWRP/root? I would think not as it would overwrite the newly flashed update and likely make the system unstable in the least or unbootable at the worst!
Mesmurized said:
If a flash update is performed, do you still restore TWRP/root? I would think not as it would overwrite the newly flashed update and likely make the system unstable in the least or unbootable at the worst!
Click to expand...
Click to collapse
If you are rooted, your phone will not take an OTA update. So you have two options....flash the new factory image or wait for somebody to upload a flashable update zip. The easiest way is to just download and flash the new factory image. If you follow the guide, you are also flashing stock recovery. So, you have to re-flash TWRP and root. Your data/apps stay intact.
ING3NIEUR said:
If you are rooted, your phone will not take an OTA update. So you have two options....flash the new factory image or wait for somebody to upload a flashable update zip. The easiest way is to just download and flash the new factory image. If you follow the guide, you are also flashing stock recovery. So, you have to re-flash TWRP and root. Your data/apps stay intact.
Click to expand...
Click to collapse
Thanks for you input, but after all this, at the least many system settings are lost even after Google does it's full restore. I know, I've done it many times. I'm looking for a process/strategy that restores system settings (and all data settings) after an upgrade.
Mesmurized said:
Thanks for you input, but after all this, at the least many system settings are lost even after Google does it's full restore. I know, I've done it many times. I'm looking for a process/strategy that restores system settings (and all data settings) after an upgrade.
Click to expand...
Click to collapse
Im very confused by this whole thread you have unlocked bootloader rooted phone running twrp and wondering how to stay up to date with latest google factory images?
You dont have to backup your phone to install the factory images and you can flash the new one over the current one. You can simply download the latest factory image from google and manually flash the files from fastboot or use the flashall.bat. just make sure to edit the flash allscript so it doesn't flash userdata or recovery as the flashing of userdata will delete your user data)
Flash the following from the factory image. Dont flash recovery or userdata (recovery will over write twrp and userdata will wipe your data partition.
Boot.img
Cache.img
System.img
Vendor.img
Radio.img
Then boot into recovery and reinstall su.
The_Automator said:
Im very confused by this whole thread you have unlocked bootloader rooted phone running twrp and wondering how to stay up to date with latest google factory images? ...
Click to expand...
Click to collapse
No. Please re-read post #1.
I want to restore all system and app settings AFTER a flash update. It is possible to retain many (most) app settings if the internal storage is not wiped, but this does not apply to system settings.
Mesmurized said:
No. Please re-read post #1.
I want to restore all system and app settings AFTER a flash update. It is possible to retain many (most) app settings if the internal storage is not wiped, but this does not apply to system settings.
Click to expand...
Click to collapse
Updates modify the system partition of the phone i have found that using titanium backup to restore system apps has always caused issues for me as the files have been modified by the update and you are then overwriting the update with settings from a previous version this can make settings copied incorrectly or cause issues with new features that have been implemented to the system partition. Personally I think it could create more issues than it solves is there a specific setting or thing you are trying to preserve?

Question about a full backup and rooting

Hi,
I recently tried a custom rom on my old phone and it worked pretty well. I liked the OS and now want to also do that on my current phone. But i do still have a few questions i hope you can help me with.
- Can i make a full backup of my phone (with app data) to my PC or maybe to my old phone? I am currently not rooted and tried helium backup but saw that sadly not all apps allow a backup.
- I know about titanium backup. Is there some way (if the above cant be done) i can root my phone without wiping the phone? So i can then use titanium backup to make a proper backup with data, then install the custom rom and after restore the apps+data.
In short: I hope i can somehow make a full backup with app data so i can install the custom rom and restore my app data again.
Looking forward to your replies.
Thanks in advance.
Nothing? No one ? =(
To root you need to unlock the bootloader, which wipes all user data. So you can't use root to backup your data. This is why I unlock the bootloader immediately after getting a phone.
You can try an adb backup though.
razr96 said:
To root you need to unlock the bootloader, which wipes all user data. So you can't use root to backup your data. This is why I unlock the bootloader immediately after getting a phone.
You can try an adb backup though.
Click to expand...
Click to collapse
Thank you for your reply and thx for the tip. Ill be doing that too from now on when i get a phone.
As long as i can make a full backup with abd (with app data), Im fine with wiping to root it. But just wanted to make sure i can get app data back after the root process.
Do you happen to have a link to a proper backup using abd guide?
Thanks
no
sm00th4f3 said:
https://forum.xda-developers.com/android/general/how-to-backup-restore-android-device-t3602583
You might wanna read this and try it
https://forum.xda-developers.com/android/help/adb-fastboot-commands-bootloader-kernel-t3597181
Click to expand...
Click to collapse
Well with a few side searches i was able to open the cmd (admin), do a adb devices (which found a device) and then run the app + data command.
('adb backup -apk -shared -all -system -f C:\backup.ab')
I saw the screen on my phone to start it, which i did but it stays on Shared Storage (where before this mentioned the apk's that were being backed up). This is taking pretty long (as in hours). Is this normal or did something went wrong and is it stuck on that part?
Edit (Update): I stopped the whole thing and tried again. Now it finished in about 10 - 15 min. I did get a message "backup finished". However in the folder i gave up, there is nothing to see. folder is still empty
Edit2 (update): Found the backup.ab file. Apparently it was in a different folder i thought it would be. So if i then also make a copy of the internal storage and do this command, i should be good right? After doing that, unlock and root, i can use the 'adb restore C:\backup.ab' and have all apps + app data back as it was before the unlock/root ?
no
sm00th4f3 said:
In a sense. Yes, but you might wanna read some threads about that first.. Otherwise. No one would wanna go back after unlocking his phone. Since restoring a backup from a locked phone on an unlocked phone can cause some issues.
Click to expand...
Click to collapse
I'm not really sure what you mean though.
If i unlock my phone with my code and then make the backup with adb and just in case, a copy of my internal storage, can't i use restore on the unlocked/rooted phone to have the apps + their data back and use them again ?
no
sm00th4f3 said:
No you can't. It will brick your device. The backup can only be used when your phone is still locked. So it is basically not needed at all.
Click to expand...
Click to collapse
So you are saying that there is no possibility to backup my apps+data, unlock/root/custom rom, and then restore my apps+data at all?
That was some what the question of my first post.
So its either, fully wipe with everything lost, then root etc. etc. or just keep it the way i have it now?
no
sm00th4f3 said:
The normal procedure is as follows:
After an unlock.- your data always gets formatted. So a backup is totally wasted time.
The backup isn't wasted time - if it is done after unlocking your phone, while it still has stock rom.
In case flashing goes wrong, make the backup while not having flashed twro etc at all.
You don't have to wipe anything if you just want root, since the phone will reset-wipe your data on its very own.
Just unlock it, let it reboot, Flash twrp, install root zip file. Reboot
In case of flashing a custom rom. Flash twrp, boot to twrp. Use the Reboot menu and reboot again into recovery
Reboot->Recovery (in twrp menu).
Then Wipe-> Factory Reset
Wipe-> Advanced Wipe-> Wipe System partition only
Wipe-> Advanced wipe-> select Data partition-> Change file system to ext4
Reboot Menu in TWRP->Recovery
Wipe Dalvik and Cache
Flash Rom
Flash Gapps if not stated otherwise in Instructions of Rom Thread
Flash Magisk or SUperSu , depends if you want root or not. If you don'T want encryption on older Roms, flash one of the two.
Encryption will later on be optional through Phone Security Options.
Wipe dalvik and cache.
Reboot.
Wait a bit.
Setup phone, done.
Click to expand...
Click to collapse
Yes but as you mentioned, unlocking means a full wipe. And i cant restore apps + their data from a stock phone backup to an unlocked phone as it can cause issues.
In my very first post i asked if i could make a backup of the apps + their data to restore them after unlocking/rooting/custom rom or whatever. Simple answer then is no.
So i either have to just wipe my phone and basically start all over, only unlock/root etc etc first.
Or just keep my phone stock like how it is now and just do nothing and wait until i get a new phone (which will be in a long time still)

Categories

Resources