can someone tell me if there is a way to Back up the system like in twrp recovery on Pixel 5?
You mean built-in to make a direct local copy? There isn't really anything analogous to iPhone/iOS backups.
Google is working on fixing that with Android 12 and 13. See the developer documentation.
Don't hold your breath.
For now:
ADB: https://developer.android.com/studio/releases/platform-tools
Extract and then:
For all app data:
./adb devices
./adb backup -noapk -noshared -all -system -f backup_appdata_plus_system.ab
./adb disconnect
For a specific app's data:
./adb backup -f com.something.some_app.ab com.something.some_app
To restore, after installing the apk manually (from a Store, for example):
./adb restore some_app.ab
You can specify multiple apps:
./adb backup -f multiple_apps.ab com.something.some_app com.something.another_app
./adb restore multiple_apps.ab
Note: You cannot easily restore a specific app from a large full-system backup (as shown above, 1st thing above).
Use Android Backup Extractor (abe.jar) to extract the ab files to examine them if you like:
java -jar abe.jar unpack com.something.some_app.ab com.something.some_app.tar password_here
See a list of all packages:
./adb shell pm list packages
Cloud:
Google Drive Backup -- it's end-to-end encrypted and free BUT limited to 25MB of App Data PER APP, otherwise it won't backup that app.
SMS and Calls Backup Pro -- to Google Drive (end-to-end encrypted) OR Local.
Other:
Shared Storage Space -- Copy it or Sync it somehow -- with FTP and FreeFileSync OR Syncthing.
Samsung gives you Smart Switch and their own cloud. It is good enough and supplementary to Google's efforts.
Do all of these together once a week or something.
By the way, Google is in the process of deprecating ADB backup.
They've held off for now, it seems.
You'll have to wait an year or two before a more robust app backup solution is pushed out.
Like everyone else has stated there isn't a TWRP like full backup for our P5's, but in the meantime, on the system side, I've been using Swift Backup Pro to backup all my important apps, mms, sms, etc and it's been awesome! Great features and nice interface as well!
So not TWRP or system image backup, but helps alleviate the pain of wiping and re-flashing or factory defaulting.
ProjectAlly said:
Like everyone else has stated there isn't a TWRP like full backup for our P5's, but in the meantime, on the system side, I've been using Swift Backup Pro to backup all my important apps, mms, sms, etc and it's been awesome! Great features and nice interface as well!
So not TWRP or system image backup, but helps alleviate the pain of wiping and re-flashing or factory defaulting.
Click to expand...
Click to collapse
Swift Backup Pro cannot backup App Data without Root.
Only the adb commands I've shown above and Google Cloud Bsckup (E2EE) can backup and restore App Data without root.
Let's say you have an offline notepad app which has notes inside its app data and some settings to go along with it. Only the 2 things I mentioned above can backup and transfer that data to a new phone (Google Cloud and adb). Of course, if the app provides something internally to do a transfer or backup, that'd be great too.
Related
Ok I keep seeing people sayiing to backup apps+data but be careful about system data. Well every time I do an upgrd to the new sre and restore my titbu and I am constantly having to redo my gmail stuff and isp email stuff. I have accounts checked in the backup section.
Can someone that does stuff like this regularly post like a nice simple howto with good steps as to what to check in titbu so that doing something in titbu doesn't bork something when we flash the new sre. Its getting old having to put my gmail info and isp info in every flash to get that stuff back.
So a 104 views and not one offer of help. Well guess I take that as noone knows much about titanium backup to help a poor soul
New to Android myself (2 days), and I am using TiBU as well (seems to be everyone's favorite for now). I had the same Q you did and basically went off the list on the developer's page for the app:
http://matrixrewriter.com/android/
Here is a partial copy/paste from that site so we keep the pertinent instructions here in this thread anyway:
Tips & Suggestions for using Titanium Backup:
When you start Titanium Backup on a new ROM, if you have any doubt about your busybox version, it is highly recommended that you click the "Problems?" button before doing any backup or restore !
Don't forget to verify your backups (Click MENU - Batch) to ensure that your backups are OK.
You need to reboot after restoring system items (eg: Contacts, SMS, Settings, etc) for the changes to take effect. If you backup/restore across very different ROMs, I advise to be cautious and only include the system items you really need to preserve.
You can easily create a custom apps list by creating a Label in Apps Organizer, then going back to Titanium Backup, clicking "MENU" and then "Filters" and finally, selecting the Label you want. Your apps list will then be filtered just the way you want
If you backup the same app several times, Titanium Backup will save SD card space by storing each apk version only once.
After restoring your apps, you can run the Market Doctor to verify their Market links. If Market Doctor reports everything as okay, yet your apps are still not listed in "My Downloads", try to search for them in the Market. If they show as "Installed", it confirms that the links are okay, but your Market needs a refresh: just install any app from the Market, and the "My Downloads" section will be refreshed !
If you want to remove a system app, first you can try to freeze it and see if everything still works fine. Once you've gained more confidence that you don't need it, just go ahead and un-install that system app.
How to make your first backup:
- Thanks seanowns / xda-developers
Verify that Titanium Backup has started without warning and that your busybox is OK
Click the Backup/Restore tab
Click Menu (the button), Batch
Click "Backup all user apps"
Let it run, then go back
Individually backup the system data you want. That is most green-colored items. This will be bookmarks, call log, calendar, launcher, WiFi, etc.
Now your backups are in the "TitaniumBackup" directory on your SD card.
How to restore your backups after installing a ROM (if you wiped your phone):
Download Titanium Backup from Market
Click the Backup/Restore tab
Click Menu (the button), Batch
Click "Restore all missing apps + system data
Reboot your phone
It's done ! The only thing you may have to adjust is usually your wallpaper/widgets.
Is there a way to save the progress? I'm on World 5 with 3 Stars for all of them
Whenever I flash a different Rom I have to restart..... It doesn't save on memory card which is sad, so how can I backup the save file wherever its located?
I just wanted to try the new CM 6.1 RC1
I backuped the AB with titanium backup and when i changed the Rom (miui->kor) and restored it i had my all achievements.
gieja said:
I backuped the AB with titanium backup and when i changed the Rom (miui->kor) and restored it i had my all achievements.
Click to expand...
Click to collapse
Thanks, trying now!!!!!!.
in Titanium backup do I tap AB then backup and thats it?
I've backuped all my apps, then after changing to kor i tapped the AB to be restored
ok i just restored with option app+data and all working fine. Thanks
It wont work if its installed from market will it?
You ment if you DL it from the market after changing ROM? I don't thinks so...
It will still work if you installed from market or not.
Sent from my Nexus One
If you need to save/restore things manually it's not too difficult if you have some knowledge of adb and think of it before you wipe (or if you have a Nandroid backup).
Here is how I've done it before. This is from memory so please forgive if you have to think a bit to follow along. I don't think everyones setup is /data/data it might be just /data.
You can use this or similar to check the path:
adb devices (verify it sees your device and to start daemon)
adb shell
adb busybox ls /data/data/com.rovio/angrybirds/files
Before you go to the new ROM.
boot to amonra recovery
go to mount section
mount /data
mount /sdcard
connect USB cable
adb devices
adb pull /data/data/com.rovio.angrybirds/files/highscores.lua
adb pull /data/data/com.rovio.angrybirds/files/settings.lua
unmount /data
unmont /sdcard
Update your ROM to whatever and reinstall Angry Birds then:
boot to recovery again
mount /data
mount /sdcard
connect USB cable
adb devices
adb push highscores.lua /data/data/com.rovio.angrybirds/
adb push settings.lua /data/data/com.rovio.angrybirds/
unmount /data
unmount /sdcard
reboot
If you forgot to save before you wiped, but you have a nandroid backup you can copy the nandroid backup folder to your computer and use "unyaffs" for your computer type to unpack the data.img file. Then navigate to the folder to copy your highscores.lua and settings.lua to the folder with adb.
Here is a download link to a Windows version of unyaffs.exe that you can use in Cygwin
http://cygwin.com/
Click to expand...
Click to collapse
http://rapidshare.com/files/438273592/unyaffs-x86-win.zip
Click to expand...
Click to collapse
Yeah do all that ^
OR, you know, just use titanium backup -.-
+1 for Titanium Backup.
If you are going to be playing with your phone ALOT, flash new ROMs, and stuff like that, then invest the few dollars and get Titanium Backup.
Let's see - Titanium Backup was already suggested, so adding more posts saying use it adds zero value to the thread. If someone didn't have Titanium Backup then my information could be useful, so it does add value to the thread. Why knock it?
On the other hand, I agree completely that if you are going to play with ROM's, buy Titanium Backup - it's a big time saver.
I want to delete the Amazon Market and Twitter App from my N1, but for some reason they are not showing up in Titanium Backup. Any idea why? Also is there another way for me to delete these apps?
Try refresh app list or restore missing apps with data
I delete twitter, but have Amazon on TB apps list
you can also delete thru adb, but I am not up on exaxct commands
rugmankc said:
Try refresh app list or restore missing apps with data
I delete twitter, but have Amazon on TB apps list
you can also delete thru adb, but I am not up on exaxct commands
Click to expand...
Click to collapse
Code:
> adb shell
# rm /system/app/<insert_package_name_here>.apk
Reboot for good measure as well.
Dear community,
today as a first step I have successfully rooted my Phone (Froyo 2.2.1) with CF-Root Kernel and Odin, yay! Thanks to all the Developers, Guides and Refs on this page!!
In order to fix my ongoing battery issues,next thing I want to try is to flash a new ROM; I think for stability and for practice the latest Froyo Build JS8! I have downloaded Titanium Backup and have successfully backed up all my system and user apps and settings.
Now when I flash the new ROM, the phone will be wiped, or at least the Wipe-method is recommended (hard-reset AFTER the flashing?).
Can I restore at least some settings and apps with my Titanium Backup Files (I read restoring system apps/settings is not recommended)?
How would I do that (where does Titanium save the backup files?)
How do you guys usually perform the steps to a new ROM without losing all system settings, apps, app-settings etc...?
Thanks for all recommendations!
I would recomend you, restore user apps only. It will restore your apps and their settings. You could do it in batch mode.
Also is recomended to copy your TitaniumBackup folder to PC
Last but not least, do not forget copy your EFS folder too.
Sent from my GT-P1000N using Tapatalk
jellygoos said:
Can I restore at least some settings and apps with my Titanium Backup Files (I read restoring system apps/settings is not recommended)?
How would I do that (where does Titanium save the backup files?)
How do you guys usually perform the steps to a new ROM without losing all system settings, apps, app-settings etc...?
Thanks for all recommendations!
Click to expand...
Click to collapse
1) Get titanium backup PRO.
2) Batch backup your whole system (while you're at it, create a schedule so your phone automatically gets backed up at least once/week). The files will go on your sd card in a TitaniumBackup folder (actually you can specify where they go).
3) Go and nuke your phone with whatever.
4) Re-install Titanium backup, then batch restore your USER apps & settings. Leave the system settings alone for now.
5) Okay for system settings, be a bit more selective:
6) Go to Backup/Restore tab, select menu, then filters, then apply a Filter by Type: System.
7) Anything in GREEN is system settings (red=system applications).
8) I typically restore the following: Contacts/Call-logs; SMS/MMS/APN; Bookmarks; SMS/MMS Preferences; Wifi Access Points; Calendar Storage (think that includes your alarm clock settings).
Note that you may need to reboot before you see the restore take effect - e.g. you can't see your restored sms till after reboot.
Also it's safest to grab a copy of your titanium backup folder and put it on your computer. Lookup how to get a copy of your /efs too.
Thanks for the swift answers and useful guides! Will buy the Titanium Pro for sure.
In the Pro Version it says it can convert System Apps into User Apps and vice versa. Couldn't I just convert all the System Apps into User Apps and then restore everything, once on new ROM?
About the freezing feature of the Pro Version: Does it freeze complete Apps, or can you tell them to freeze specific tasks? I noticed that for example some Google Maps or Latitude tasks run in the background (and start again by themselves if i close them manually) and I would like them to get out of the phone memory while I don't have the program running. Yet I want the apps to function properly once I need them.
P.S.: Before I proceed flashing a new ROM I will also look into backing up my /efs folder so thanks for pointing me at this!
Okay, I figured out how to backup the /efs folder via ADB shell.
Questions remain though concerning Titanium Backup Pro. Can someone that uss Titanium Pro help me with these questions?
In the Pro Version it says it can convert System Apps into User Apps and vice versa. Couldn't I just convert all the System Apps into User Apps and then restore everything, once on new ROM?
About the freezing feature of the Pro Version: Does it freeze complete Apps, or can you tell them to freeze specific tasks? I noticed that for example some Google Maps or Latitude tasks run in the background (and start again by themselves if i close them manually) and I would like them to get out of the phone memory while I don't have the program running. Yet I want the apps to function properly once I need them.
Click to expand...
Click to collapse
jellygoos said:
In the Pro Version it says it can convert System Apps into User Apps and vice versa. Couldn't I just convert all the System Apps into User Apps and then restore everything, once on new ROM?
About the freezing feature of the Pro Version: Does it freeze complete Apps, or can you tell them to freeze specific tasks? I noticed that for example some Google Maps or Latitude tasks run in the background (and start again by themselves if i close them manually) and I would like them to get out of the phone memory while I don't have the program running. Yet I want the apps to function properly once I need them.
Click to expand...
Click to collapse
You could convert it technically. But generally it's not advised as it may mess up settings or so on a different ROM. I backed up my system stuff but I doubt I'll restore it on any ROM, the hassle isn't worth it if any issue shows up and you have to check everything out to fix it. Maybe some individual system thingies can be restored safely but keep in mind lots of system stuff changes on each ROM and could be incompatible.
Just like others did here, I also recommend the PRO version as you have to click every single restoration on a batch restoration otherwise (and it's probably slower anyway).
Freezing means just that, it freezes the app. It "deactivates it", so it's not there/usable but it's not uninstalled. Can't think of a scenario right now where this would be useful except for testing purposes, maybe if an app causes an issue and you want it to be gone temporarily or so.
If you don't want an app to continue running simply use the task manager to kill it which comes along with the SGS (Samsung app afaik, usually pre installed).
Btw Titanium has a nice wiki website which is really helpful but can't link it as a new user here. Google Titanium Backup wiki and the first link should be the correct one.
Correct me if I'm wrong but if you do a app+data restore the app doesnt show up in the market under installed which means that any updates to the app wont get rolled out.
What I did was install each of my apps from the market then did only a data restore. This worked for most of my apps BUT last night I noticed a few of my apps missing, in fact launching my angry birds from simi folder caused a FC. BUT I know that angry birds was working earlier in the day.
So I simply went back to the market and reinstalled and all seems well again.
So now I'm wondering what is the best method to restore, my method or maybe do a app+data restore then go to the market and install the app again.
Afaik, normally Titanium also backs up the links for the markets so the entries won't get lost and should be restored as well. There was an issue mentioned which can happen if that data gets corrupted. The Titanium wiki lists it.
Generally, installing the app from the market and then restoring it should work just fine.
1. Use Titanium Backup->Batch->Backup user apps
2. Download backed up apks into your PC:
>mkdir c:\TitaniumBackup
>adb pull /sdcard/TitaniumBackup c:\TitaniumBackup
3. Install new ROM which will wipe your user apks.
4. Decompress your apks using 1 of following:
>lzop -x *.apk.lzop
or
>gunzip *.apk.gz
5. Install your apks:
>for %F in (*.apk) DO adb install %F
6. Restore your apps settings using Titanium Backup->Batch->Restore user apps (data only)
Voila!
Nice find man. No more tedious one by one installations.
Thanks!
Sent from my Captivate. Andromeda 3, Onix 2.0.5 @ 1.2Ghz
Hmmm, how is this different from just using TiBu Pro?
Escape311 said:
Hmmm, how is this different from just using TiBu Pro?
Click to expand...
Click to collapse
Assuming TiBu is titanium backup pro... Then this method would be free. If it isnt, sorry for the mistake
TibuPro differences
1. Sugar free - zero added calories.
2. You get extra backup of your apks on your PC.
Escape311 said:
Hmmm, how is this different from just using TiBu Pro?
Click to expand...
Click to collapse
I guess this is nice if you dont want to pay for TiBuPro
bravomail said:
1. Sugar free - zero added calories.
2. You get extra backup of your apks on your PC.
Click to expand...
Click to collapse
with TiBuPro:
1- before I wipe my phone, I backup my apps and then move the "titaniumbackup" folder from my sdcard to my PC.
2- wipe the phone/install new ROM.
3- Copy (not move) the folder back onto my sdcard and restore
Now you have a copy of the backups on the PC and your phone. Just as easy and no need for uncompressing anything.
Don't forget about Dropbox sync within TiBu Pro. Most people overlook this feature.
terrigan said:
Don't forget about Dropbox sync within TiBu Pro. Most people overlook this feature.
Click to expand...
Click to collapse
thats right. I keep forgetting about that too
bravomail said:
6. Restore your apps settings using Titanium Backup->Batch->Restore user apps (data only)
Click to expand...
Click to collapse
Recently updated TB from the market. I can't seem to find the data only restore option.
I did make a small .sh script to run in terminal emulator if you want me to post it (no need for computer/adb).
apk mass-reinstall with linux
bravomail said:
5. Install your apks:
>for %F in (*.apk) DO adb install %F
Click to expand...
Click to collapse
Or (if linux or macosx with bash3):
$ for apk in *apk; do adb install $apk; done
or, to combine a temporary unzip with installation:
$ for apkgz in *apk.gz; do apk=${apkgz%%.gz}; gzip -dc $apkgz > $apk; adb install $apk; rm $apk; done
I've since bought TiBu for the automatic batch restore, so I don't need to use this workaround anymore.
Smasher816 said:
Recently updated TB from the market. I can't seem to find the data only restore option.
Click to expand...
Click to collapse
That's because the data-only restore option isn't a stand-alone entry in the batch restore menu. Instead, you'll find the "Data only" radiobox option on the next screen only after choosing "Restore all apps with data".
Thanks for Linux/MacOSX script
Nice touch!
The reason for me posting this without many details or screenshots is that knowing how to run "adb" assumes many things ;-)
U r welcome to post any extra scripts, info etc here.