[Q] Create stock ICS image before modifications - Motorola Atrix 2

I recently had problems getting the OTA ICS image installed on my Atrix 2. I finally got it to work by restoring the AT&T Address Book, (which I had removed with Titanium Backup), and unrooting the device. I’d like to make this easier for any future OTA updates. I’ve been reading a lot in the forums, but want to give my plan a sanity check.
First, I did a factory reset after the ICS upgrade and everything is stock. I haven’t put in any accounts or anything. I believe I want to do the following:
* Root the device using these instructions: http://forum.xda-developers.com/showthread.php?t=1742879
* Install the bootstrap recovery from here: http://forum.xda-developers.com/showthread.php?t=1346977
* Perform a nandroid backup.
* Set up my phone the way I want, removing bloatware, and recovering application data from my regular Titanium Backups on the SD card.
* Perform another nandroid backup when things are stable just in case I want to restore to a base state without having to install applications and configurations.
If a new OTA update comes out and it doesn’t work, I believe I can:
* Recover from the original nandroid backup.
* (Necessary and if so how?) Remove the custom bootloader.
* (Necessary and if so how?) Unroot the device, (the rooting link above doesn’t have the unroot batch file for ICS, but I read somewhere that it’s just a matter or removing a couple of files).
Does this sound like a solid plan? It took me several hours searching to get the ICS update to take on my phone and although I have a feeling Motorola won’t be pushing any more OTA updates for the Atrix 2, I want a fall-back plan if they do and they don't take properly on my phone.

Setting up the system so that it take well to future OTA seems like more effort than its worth if not a lost cause. Whats wrong with manually installing any future updates and restoring apps and settings with TiBu? Also I'd freeze apps rather than removing them with TiBu, that way you can quickly restore functionality if you run into problems. Please keep posting I love reading about how people handle these things.

Related

[Q] Phone Backup

Hey Guys, I'm a little bit of a noob here. I have had my captivate for about 6 months now and I started to get a little frustrated with the way the Captivate was set up compared to my old HTC Hero. I didn't have to root the Hero and could do anything with it I wanted. With the captivate it was another story. I rooted the new Captivate and it has been a wild ride. I follow the forums to see what is available after having Super User installed. I have to say I went a little crazy into the exploration of what i can and cant do. I learned what I cant do the hard way and spent almost 3 day's having problems with odin3 one touch flasher. Once i got everything back running to factory settings I decided to just set up the phone the way I like it and updated the config. for example I added the root access and updated the settings.db file to allow 3rd party apk installs. I than also deleted the wealth of useless crap At&T Preloaded onto the OS such as the apps and the 20 AT&T contacts. Fortunately now my phone and layout is exactly to where I want it. Unfortunately now I am afraid to perform other root mods on the phone and have to re flash the original factory settings on it and have to set it up all over again. I am not much of a programmer but do know end user support very well and was hoping that there would be a way to create a backup of the root directory so that in case I brick my phone (happend twice when I tried to replace the launcher program) I can just flash my backup so that I don't have to install apps, configure settings, and adjust the layout all over again? I was thinking of creating an update.zip would do it that i could keep on my sd card and flash it from recovery.
Can Somebody please Help!!!
Thanks,
Jay
Generally speaking, unless you use the same ROM, it is a bad idea to restore system settings.
Check out Titanium Backup from the Market. It works really well at backing up apps, data, and system data. Be sure to get the donate version so you don't have to manually install every single app (huge time/effort saver). It won't give you an update.zip file, but if you reinstall it and point it at it's backup folder, it can restore all of your data with minimal effort.
If you are prone to bricking your phone, back it up to an external SD card by entering "/<external sd>/Titanium Backup" as the backup path, replacing <external sd> with the real path (it's different on 2.1 and 2.2 ROMs).
Good luck.
Thanks, I actually already have Titanium Backup lite and i backed it up using the batch Backup all user apps + System Data but have no idea how to restore these backups if my phone bricks. I dont necessarily want to flash the phone to try it out. Any chance you know of where i can find out a little bit more information on how to restore backups with this app?
I also have the ClockworkMod Recovery where i have backed up my phone to an SD card. It says during the process Backing up system, data, datadata and than generates an md5sum. After this the phone boots back up and I was wondering if recovering using ClockworkMod is the same as flashing an update.zip rom but instead of using the stock version? Also this app seems a lot easier to use at there is an option to reboot into recovery and select roms

[Q] How to save data before ROM upgrade

Hey guys,
so, I have already flashed my ROM from stock to something else. That was a year ago.
But this ROM got old, ICS is out, and I want it.
Is there a way to save all my data? I have some games, that have progress that I dont want to loose.
I have contacts that I dont want to loose. Messages and pictures that I still need.
What is the right procedure for me to upgrade ROM to newer one? I'm upgrading to Fallout v2 if that matters.
Thank you for answers
Regards, Anze
You need to read up about Nandroid backups that you take from recovery (cwm or 4ext) these are extremely useful if you wish to revert the device after you've flashed a new one rom as they take a snapshot of the devices partitions.
You should ensure that you take one of these before flashing a new rom.
I'd recommend that you sync your contacts with google (in the cloud) that way they'll always return to your device following a clean install
Otherwise the best application is titanium backup which enables you to make backups of your applications and there associated data, which is useful to reinstall your applications after a rom upgrade.
You may also wish to restore data with apps together selectively after flashing a new rom due to possible data incompatibilities with versions resulting in FC. If so, within TB you could try PREFERENCES > RESTORATION SETTINGS > MIGRATE SYSTEM DATA or leave out data only restoring the app.

[Q] Backup/Restore To New ROM

I'm not a big ROM tester and pretty much remain on stock. I do have root, custom recovery and unlocked bootloader on my GS3 (4.1.2 stock).
When you guys switch ROMs and a clean flash is required, what exactly are you all doing to backup and then restore your data?
Are you just backing up "all user apps" with Titanium and then immediately installing Titanium on the new ROM and restoring the backup?
What about system settings? You just run through those one at a time and set them to the way they were? What about custom contact ringtones and other customizations?
Sounds like a lot of work to me, but maybe I'm missing something.
Is there a better way to do this?
Does anyone have any thoughts on this? I'm really trying to figure out how you guys are ok with doing a full wipe so frequently.
I am by no means a "constant ROM'er", but I have tried it a few times on a few different devices. Here is generally what I do:
1. Back up apps and data with Titanium Backup. I usually back these up to a folder on my external SD card just to be safe. Even though a factory reset shouldn't erase your backups on your internal memory, I just like to be safe.
2. After flashing a custom ROM I install TB as the very first app. ***HINT: If you have your phone setup to automatically restore apps thru Google, apps will automatically begin to download and install. This can slow down the whole process of restoring your apps and data. To keep this from happening, you can either disable the automatic restore OR don't sign in to google when you first set up the phone (that way google won't know which apps to begin to restore).
3. Run TB's restore apps & data BUT RESTORE SYSTEM APPS/DATA AT YOUR OWN RISK. In most cases from my own experiences and others, system apps and data do NOT restore well after flashing a new ROM.
Again, I am no expert and I simply follow the guides and advice of those much smarter and more experienced than I on these forums. Something I said above could be wrong so please correct me if anyone sees a fallacy.
I appreciate the reply. That's pretty much what I though. It's still a lot of work to tweak all the system settings back to the way they were. Ringtones, custom contact ringtones, various system settings, etc.

Followup questions about twrp vs twrpless

Hello again good people,
You may remember me asking questions in this forum recently, thank you again for all those who replied.
I'm back again after waiting for the official twrp to be released and reading all the forum posts in the guides section for the threads about twrpless-root (magisk) and the stickied twrp root guide by Funk Wizard. I am still a bit confused about a couple of things though. And still deciding which way is the best for me now that I still have a stock device. Please correct any mistakes I make.
When I root, in case something goes wrong, I cannot do a system settings -> factory reset. (Because it would softbrick?)
Is this where twrp comes in? Or will I still have to flash a stock image regardless, like I would if I go twrpless?
Is it true that I can make, and restore from a backup I make with twrp in case something goes wrong?
Isn't that something I can also do with Titanium Backup?
Twrpless root seems like it's a lot more easy to maintain with OTA's (download from the settings, reinstall magisk on second partition) than a twrp install would (having to connect my device to my pc and going through the steps again every time an OTA gets pushed).
The main reason I'm asking all these questions is because I still find it hard to pinpoint exactly why more experienced people in these forums favor one way or the other, and what exactly the added benefit would be of twrp in my situation. Personally, I want my phone to be more customizable (black theme, adaway, yt vanced and so on) but keep all the functionality. Banking apps, wifi, cellular and everything.
I'm not going to install custom roms. And a little bit of added ease of use with OTA sounds really good to me.
I have read that the systemless magisk twrpless might be the best fit for my needs, but after hearing your advice from my previous questionthread I decided to wait for twrp. Now twrp official is released and I dove into reading just about everything I could find I have doubts if it is something I actually need. In short I just keep swaying without being able to make a decision.
Sorry for the long post, I hope my questions are clear enough, since it's pretty late when I'm typing this. I just want to be thoroughly informed about all of this, I rather post too many questions and root correctly without concerns instead of having to make an SOS post later when my phone has exploded, lol.
And maybe there will be other newlings who can benefit from this information.
Thanks for reading!
Ok lets first address the types of backups.
Type one is system apps and data. This backup saves all apps (apk) and all data that is stored within the app folders. This is a Titanium backup.
Type two is a Nandroid backup. This backup saves your entire phones data including the internal storage, data, apps, pictures, music, cache, settings, passwords, EFS (encrypted file system) and even the Titanium backups backup itself.
Now let me explain what each of these backups are capable of. First we will start with Titanium Backup. If for some reason you brick your phone and lose all of your data. In order to use Titanium Backup you will have to install your operating system, unlock your bootloader, root your phone, install Titanium Backup and merge your data from wherever you have it to your device and install your apps + data one at a time.
Nandroid backup. Same scenario bricking or losing your data. You can simply fastboot the twrp.img once your phone boots into recovery you can merge nandroid backup point TWRP to the restore location and you have your operating system and all of your data back in place as if nothing happened. You will then flash Magisk back to your device then you would install TWRP clear your cache and once you reboot everything is just the way it was when you created the nandroid backup.
Installing an update with TWRP is as simple as downloading the update and flashing both the update and Magisk, clearing cache and rebooting.
Having TWRP would allow you to wipe and reinstall fresh like factory settings or you can restore everything you backed up.
Make Nandroid backups bi-weekly or monthly so you can always have an updated copy of your data.
Titanium backups I have scheduled once a week with 2 max backups. Why 2? If I update an app and my backup runs tomorrow I would be stuck with an app update that may be broken. This way I have the previous weeks backup to reinstall the app and data with.
Whichever you choose always always always keep redundant backups. One on the phone, one on your computer, one on a thumb drive ect ect.

How to properly FULLY backup an android phone that doesn't have TWRP.

Please advise. I really **Really** want to be sure that if I try to backup my sister's phone that I do it properly and can fully and cleanly restore it to a new ROM with no issue. (Be sure that I'll also do external backups of Photos and SMS/MMS databases and whatever else possible onto a computer first, in case of data loss or if I screw up.)
---
Okay, so here's the situation: (Google Pixel 6 Pro)
So I installed a custom ROM on my sisters brand new phone a couple of months back. Problem is, the dev behind said ROM may stop maintaining it due to personal reasons. I'll need to in this case switch her phone to another ROM, so that she continues to receive security updates. By the sounds of it I have to wipe the phone completely when switching ROMs, including the user partition. (Correct me if wrong.)
I'm still fairly new to the custom ROM/unlocked bootloader world, so I wanted to kindly ask around for advice on how to **Properly** backup her phone in such a way that I can later fully restore her photos, SMS/MMS, apps, etc. more or less as though I never switched ROMs on her.
I've already heard of TWRP, but the phone doesn't have a version for it. I also heard about the promising Migrate app posted here. Last but not least is the ADB backup feature--however I also heard some conflicting information suggesting that of late Google is deprecating that feature and making it useless. (Please correct if wrong.) I'm still fairly new to the whole custom ROM scene (and rooting too, but in this case her phone is unrooted, only bootloader unlocked with a custom ROM).
Rule #1 - if a OS is fast, stable and fulfilling it's mission... let it be! Updates can and do break things. Pie and higher are relatively secure unless you do stupid things. This stock, optimized N10+ is still running on Pie; last update >2.5 years, current load is over 2 yo. Still fast, stable and secure. I spend very little time doing maintenance and this load runs like a bat out of hell. What's not to like?
If you have to reload latter so be it. Don't go looking for trouble by messing with firmware unless you absolutely need to. Taking a more conservative approach will save you time and trouble in the long run. Google doesn't care about your time or the trouble their updates cause you.
ruq said:
Please advise. I really **Really** want to be sure that if I try to backup my sister's phone that I do it properly and can fully and cleanly restore it to a new ROM with no issue. (Be sure that I'll also do external backups of Photos and SMS/MMS databases and whatever else possible onto a computer first, in case of data loss or if I screw up.)
---
Okay, so here's the situation: (Google Pixel 6 Pro)
So I installed a custom ROM on my sisters brand new phone a couple of months back. Problem is, the dev behind said ROM may stop maintaining it due to personal reasons. I'll need to in this case switch her phone to another ROM, so that she continues to receive security updates. By the sounds of it I have to wipe the phone completely when switching ROMs, including the user partition. (Correct me if wrong.)
I'm still fairly new to the custom ROM/unlocked bootloader world, so I wanted to kindly ask around for advice on how to **Properly** backup her phone in such a way that I can later fully restore her photos, SMS/MMS, apps, etc. more or less as though I never switched ROMs on her.
I've already heard of TWRP, but the phone doesn't have a version for it. I also heard about the promising Migrate app posted here. Last but not least is the ADB backup feature--however I also heard some conflicting information suggesting that of late Google is deprecating that feature and making it useless. (Please correct if wrong.) I'm still fairly new to the whole custom ROM scene (and rooting too, but in this case her phone is unrooted, only bootloader unlocked with a custom ROM).
Click to expand...
Click to collapse
There should be no reason to need to wipe user partition. It should only be necessary to, at most, wipe the system partition(stock ROM), data partition(user installed apps and user settings), cache partition and dalvik/ART cache then flash the ROM. These wipes will wipe system data, your user settings, user installed apps and their corresponding app data. These wipes will not wipe data/media, the partition where your photos, videos, downloaded files, etc.. are stored.
You can backup the app data for the user installed apps by connecting to PC then use the PC file manager to open your device's internal storage, go to the Android/data folder, in that folder is all of your user app data. Copy the Android/data folder to your PC. After you install your ROM, reinstall all of the user apps that were installed then you can connect to PC and then copy your backed up Android/data folder over to your device to overwrite the ROMs existing Android/data folder. This will restore your app data for your user installed apps.
Contacts should be backed up to Google and restored when signing into the device after the new ROM boots and re-syncing the device.
You will need to backup your SMS/MMS texts via a separate method. Just do a search for:
"Backup and Restore SMS android"
That should find several methods. Use a method that you are comfortable with.
If you use WhatsApp, backing up and restoring WhatsApp, WhatsApp account and your WhatsApp messages requires it's own specific method. You can find the method by doing a search for:
"Backup and restore WhatsApp"
Sorry, if I knew its specific method, I would explain it.
Is there anything else that you don't want to risk losing or anything specific that is on your device that you 100% absolutely need to be certain gets retained/restored after the update?
What custom ROM are you coming from and what ROM are you going to? Depending on the ROMs in question, you might be able to dirty flash the ROM.

Categories

Resources