Recovery image utility for full backup of only user data? - Android Software Development

So, there's a way to fully restore multiple images via recovery.
There's MyBackUp pro to fully restore your data or apps from within OS..
however, there seems to be no way to save/back up JUST your data on a recovery ROM. Just as Windows utilities that run in DOS or DOS like modes do, it's likely that it'd run fast. More importantly however, you could restore everything without gmail sync trying to compete and... possibly corrupt your address book in this process.
Any app for this exist? Anyone with interest in making something like it? I think restoring in recovery mode should be faster and more reliable.

Not a one? Nothing? No one's heard of ANYTHING that falls in this category?

Related

Messed up home screen after backup

I apologize if this post isn't very clear, I'm tired and English is not my native language...
I upgraded to Cyanogen's 5.0.7 Test 5 ROM not too long ago from CM 4.2.14.1. Before doing that I backed up my app data wit Backup for root users. I haven't done that before, so I checked multiple boxes, not knowing which one was the correct one. The tutorial I followed then stated I should check the SD-card to make sure only app data was backed-up, and no system data.
So I checked and found only maps from my apps.
So far so good.
However, when I restored the app data, my home screen got messed up. It thinks the fourth screen is the center one (so it goes there when pressing the home button) and all widgets say "Problem loading this widget". Also I can't change anything. I Can't remove or rearrange widgets or shortcuts. If I try to do so, Android crashes (FC on android.process.acore).
I'm pretty sure it is completely my own fault, not a bug in the ROM. When I restored the data I must have corrupted the file in which the home screen data is stored.
So, finally my questions: Is there a way to restore this without doing a wipe (I'm guessing re-flashing without a wipe will still keep the corrupted settings)?
If anyone can tell me which file is responsible for the home screen settings, can I delete it so Android will restore it with a new (empty) one?
Can I replace it with someone else's? Or extract it from a ROM-file?
That are the solutions I came up with. If its easier to just wipe and re-flash, tell me and I will do so. I just hoped there was a way I can prevent having to set up the phone all over again...
Thanks in advance!
Did you nandroid backup? If you did, restore it and backup all your apps using Titanium Backup. Backup for root users has always gave me problems as well. Titanium Backup allows all the same options that you need, but just works better imho.
If you didn't nandroid and can't do that - I'm pretty sure a wipe is your only option. You can try fix_permissions from the terminal, but I don't think it's going to fix your problems.
I did do a nandroid backup, but that was just before I flashed CM 5... I guess restoring a nandroid backup from my CM 4.2.14.1 setup is not a good idea?
Hmm, guess I will be re-flashing this evening Thanks anyway!
EDIT: I will use Titanium from now on... I had heard of it, but the tutorial I followed used Backup for root users...
Restoring a nandroid backup is NOT bad at all. That's what its there for. It doesn't matter if you nandroided a completely different ROM then flashed CM5. Flashing a new ROM doesn't affect the nandroid backup EVER.
You flash a nasty, nasty ROM and are like, "Oh ****!" Just go nandroid.
I usually wipe all data/cache before restoring, but some people don't. Either way, it completely restores your phone to the state it was at before backing up. This includes applications and everything. (App data, system settings, app settings, etc.)
I thought nandroid just restored system files and settings... But if it completely restores my phone, a might just as well wipe and re-flash since it will restore it to the previous ROM.
Thanks for the info, I have learned some more about my phone

[Q] Maintaining data between wipes

Hey all,
So I've rooted my Wildfire, and I'm running an older version of WildPuzzle. Whilst I want to try some different roms and versions, I don't really have the time to be re-importing and linking contacts and stuff like that between wipes and flashes.
I actually restored my data partition after installing wildpuzzle, and for the most part my phone is actually really stable. However, especially when moving to 2.2 versions of the ROMs, I expect more incompatibilities will follow, and a wipe would be highly recommended.
So really, I'm just curious as to what you personally use to restore data after a wipe and flash. Nothing I have tried so far has been either as convenient as is ideal (e.g. titanium takes ages to restore as you must confirm each individual app install), or restored my data exactly the way they were before the wipe (no contact backup app I've found has restored my contact book identically to before i.e. maintaining facebook links correctly etc).
Whilst the issues I've mentioned may seem trivial, when you wish to flash a new rom and use it for a day to assess it properly, it's a nightmare to have to restore everything from scratch following each wipe.
Thanks

HELP!!! I9000 dropped all my data oO

Hi,
I have an issue with my Galaxy S. While I played with the app "VPNC" suddenly my Phone freezes and the Screen is black. (Donßt think the app is responsible for that)
So I removed the battery and after a reboot the setup wizzard appeared and all my personal data disappeared. Some Contacts, call history, app data, shortcuts, everthing!
Apps are still installed but some crash when I start them. My wallpaper is still there but nothing else on the "desktop".
WTF happend to my phone?
Is there any way to get my data back?
Looks like you wiped the settings playing with app.
Data contacts should be where you backed them up to .
You could look at internal sd card via USB mass storage .
You need a factory reset .
As the dev of the app says .
Warning: You do this on your own risk: when hacking your phone you loose the phones guaranty! If you crash the bootloader by doing this, you are lost: the phone will definitely be broken!!
I warned you...
So first inform yourself carefully about what others did and their experiance by googling around...
jje
Actually I do not think that this app is so dangerous at all because it seemed to be the only Fritz!Box compatible VPN Client and is used by many users afaik.
Maybe I pressed some buttons while the screen was black and did something stupid without seeing what I did?! I don´t know...
However, the data seems to be gone and I have to deal with that.
The good thing is, that I created a titanium backup just a few days ago (Batch --> all apps and settings or so)
The bad thing is, I have never really used this app. Just installed it and made that backup. No restore so far and just the one backup for testing purpose.
Now I don´t want to do anything wrong, so what is the best way to proceed now?
Reset Phone to factory defaults, reinstall titanium and try to recover this ways?
Re-Flash the ROM, reinstall titanium and try to recover that way?
Is there any chance to make a "dump" of my current flash in case i am destroying more than is already destroyed, so that I could get back to the state the phone is in right now?
Is there anything that will not be recovered by titanium, so that I should try to save this before doing the reset?
//EDIT:
I am wondering, how is it possible to wipe all the personal data and configs with just one buggy app? what exactly happened there? Does this make any sense at all and is this behavior a known issue?
Factory reset and use Titanium to back up apps and data but not system settings .
jje
okay thanks, will try that.
Can anyone tell me if there is any chance to backup my phone (flash dump?) as it is right now before I do the reset? If my titanium backup does not work I ḿight have wiped more doing the reset than already is wiped and it would be a good thing if I could get back to state the phone is in right now.
Did the reset + recovery with titanium now. Everything is fine so far except my home screen layout. Is there a way to recover the home screen using titanium?
If not, how can I back up the home screen?
btw: titanium is a really great tool. Will definitly buy the pro version to support this project.

Kies, Smartswitch and custom Roms?

I am considering installing a custom rom on my i9505 because I get random periods of constant reboots on latest BTU stock rom. Sometimes 1 or 2 weeks without a problem, then continuously rebooting for and hour or two.
I appreciate the simplicity of backing up everything with Kies or more recently, Smartswitch, and I am wondering whether it will still be possible to use Kies or Smartswitch to back up phone data such as SMS, call logs, contacts etc., or if this is no longer possible, what other alternatives are there to back up all phone data as well as apps, media etc. (I know Titanium Backup will do my apps so that is not my main concern here).
If you are not running a stock rom, kies and smart switch cannot be used to backup and the phone contents from or too the custom rom.
To backup, install twrp and use twrp's backup function. The restore process is usually successful but, in case it isn't, it's always a good idea to have a data backup in another format.
audit13 said:
If you are not running a stock rom, kies and smart switch cannot be used to backup and the phone contents from or too the custom rom.
To backup, install twrp and use twrp's backup function. The restore process is usually successful but, in case it isn't, it's always a good idea to have a data backup in another format.
Click to expand...
Click to collapse
I did suspect as much, but being unfamiliar with Samsung I wasn't sure. Thanks for your response

TWRP Restore Does not Properly Restore...

Hello All!
Before you tell me to search or check threads, I already have. This problem does not have anything to do with forgetting to disable the pins and fingerprints before backing up. My problem has do do with I have already disabled/removed security before backing up my nandroid. I check/select everything that I can to backup and it successfully completes. When I go to restore, everything looks to be properly restored, but alas, there is a problem. When I reboot, it asks me for a password to get into TWRP (apparently "default_password). But when I get in and go to file explorer to find anything, my entire storage is wiped. Like no OS or any files. The only other issue I've had besides this is when restoring a nandroid, it doesn't complete and reboots to a bootloop.
I am on the newest version of TWRP, 3.0.3-0. Any help would be greatly appreciated as I, and anyone who has had to redo the complete phone setup/customization, do not enjoy taking over an hour to get things back up and running. Cruddy thing is I did a Titanium Backup for my apps and settings, but they got wiped.
boostin91tsi01 said:
Hello All!
Before you tell me to search or check threads, I already have. This problem does not have anything to do with forgetting to disable the pins and fingerprints before backing up. My problem has do do with I have already disabled/removed security before backing up my nandroid. I check/select everything that I can to backup and it successfully completes. When I go to restore, everything looks to be properly restored, but alas, there is a problem. When I reboot, it asks me for a password to get into TWRP (apparently "default_password). But when I get in and go to file explorer to find anything, my entire storage is wiped. Like no OS or any files. The only other issue I've had besides this is when restoring a nandroid, it doesn't complete and reboots to a bootloop.
I am on the newest version of TWRP, 3.0.3-0. Any help would be greatly appreciated as I, and anyone who has had to redo the complete phone setup/customization, do not enjoy taking over an hour to get things back up and running. Cruddy thing is I did a Titanium Backup for my apps and settings, but they got wiped.
Click to expand...
Click to collapse
I am genuinely interested in this because I back up on a regular basis after each security update but I have never had to restore. Now it is my understanding that even if security is disable the data is still encrypted. Perhaps I'm wrong about that but if you ever did have a password or pin to log into the phone with have you tried to enter that into TWRP?
Sent from my Nexus 6P using Tapatalk
You only need to back up the defaults... system, data, and boot.
What should I back up in TWRP?
https://twrp.me/faq/whattobackup.html
redduc900 said:
You only need to back up the defaults... system, data, and boot.
What should I back up in TWRP?
https://twrp.me/faq/whattobackup.html
Click to expand...
Click to collapse
I understand the web is full of opinions, but I've read somewhere to backup EFS? I have also read somewhere before that what you said to backup, while is plenty sufficient, if you have space, to backup everything. I followed that and it lead me to an hour plus of restoring back to how it was. I will give it a go, hoping that I never have to use it, but it will work when the situation arises.
I've only ever backed up those three partitions, and never had an issue with restoring backups. You can certainly create a backup of the EFS/IMEI, but keep it stored in a safe place like on your computer or a thumb drive. One thing I should note is when restoring a backup, make sure to also flash the correct vendor.img if necessary.
I usually backup vendor with it but as earlier indicated I don't believe it's completely necessary. As far as EFS is concerned yes I would agree with backing that up however what I do is back it up to a separate backup folder and only write it if something were to ever happen to it otherwise leave it alone. That way you don't take a chance I'm corrupting something in that partition.
Sent from my Nexus 6P using Tapatalk
I've never successfully restored a backup on the Nexus 6P regardless of what version of TWRP I used. Different builds of TWRP give me different problems but none has ever worked. I've completely given up doing nandroid backups on this phone because it's a waste of time and disc space. I never had a similar issue on any other phone that I have ever owned and am not a newbie when it comes to rooting and custom roms. What I always ended up doing after a problem restoring a backup is flash the complete factory image using the flash-all.bat command and start over with everything I want to flash.
jhs39 said:
I've never successfully restored a backup on the Nexus 6P regardless of what version of TWRP I used. Different builds of TWRP give me different problems but none has ever worked. I've completely given up doing nandroid backups on this phone because it's a waste of time and disc space. I never had a similar issue on any other phone that I have ever owned and am not a newbie when it comes to rooting and custom roms. What I always ended up doing after a problem restoring a backup is flash the complete factory image using the flash-all.bat command and start over with everything I want to flash.
Click to expand...
Click to collapse
I have the same problem, so now I've started doing a TiBU and Verizon Messages backup, after all those are completed, transfer and save it to my PC. If I have any problems, I transfer from the PC to phone and it's less headache... kinda sorta.
Restore never worked to the fullest. I tried different versions of TWRP, same problem. Restore starts a red error line in beginning of the restore process an at the end it shows ‘Restore complete’. When I restart, everything looks restored but with bugs like:
-network or sim itself is not shown
-Bluetooth, wifi wont connect
-Quicksetting tiles not responding etc…
The idea of backing up via TWRP is to get every bit RESTORED properly, but it doesn’t work.
I take a full back up before moving to update the firmware version (example MIUI 10), if I do not like the firmware then I want to go back to the previous firmware version (example MIUI 9) and TWRP RESTORE feature never works. I have to again flash the rom and then restore everything via Titanium backup.
I always take a TWRP backup of all the items available:
System
Data
Cache
Cust
Recovery
Boot
EFS
Persist
Still it never restores properly. It’s a mere time waste or the restore option to be removed from TWRP as it never worked across of its versions.
Can anyone explain me in a line, what is Cust, EFS and Persist?
I really appreciate if anyone help me understand where I’m going wrong.

Categories

Resources