Backup, restore, delete app all apps, delete app_s - G1 Android Development

Version 1.0
Backup all apps to root of sdcard
Restore all apps from backup
Delete all apps
Delete app_s (for hero users not wanting to wipe)
Version 1.1
added backup and restore bookmarks
added backup and restore sms
instructions:
Just plug your phone in (DO NOT MOUNT IT !!!!!!!!) run backup_restore.bat and it will guide you through the rest.
i have also inluded it as a text file for those who want to edit it (e.g. moving where apps are backed up to)
Bugs:
when backing up apps it shows lots of errors ignore these and navigate to sdcard/app and they will all be there
other than that bug it works fine for me, i just thought i would share it with you guys
here is the link http://www.4shared.com/file/126355728/a26377cd/backup_restore11.html

you can choose to do each of those individually? or does it do them all at the same time?

mgorman said:
you can choose to do each of those individually? or does it do them all at the same time?
Click to expand...
Click to collapse
you choose them individually

Good job. But Backup for Root users does a lot more than this and it's easier to use.

miketaylor00 said:
Good job. But Backup for Root users does a lot more than this and it's easier to use.
Click to expand...
Click to collapse
thanks, i just wanted to have a go at making one for myself and since it worked i thought i would share it.

JJbdoggg said:
thanks, i just wanted to have a go at making one for myself and since it worked i thought i would share it.
Click to expand...
Click to collapse
I understand. I am doing some stuff like that just to learn. Next, you should look at what Backup for Root users does and see if you can recreate that functionality on your own. It's mostly just copying specific .db files to and from the right location.

miketaylor00 said:
I understand. I am doing some stuff like that just to learn. Next, you should look at what Backup for Root users does and see if you can recreate that functionality on your own. It's mostly just copying specific .db files to and from the right location.
Click to expand...
Click to collapse
do you know where to find out the locations and their specific jobs? Thanks in advance.

It is a lot easier and learning-wise for a person to do it themself, rather than them seeing a script and/or person make it for them. Sorry but its true. Besides that, cool stuff

JJbdoggg said:
do you know where to find out the locations and their specific jobs? Thanks in advance.
Click to expand...
Click to collapse
I know some of them. I looked into it when I was using Backup for root users all the time. mmssms.db stores all of your messages. It is located in /data/com.android.providers.telephony/databases
browser.db stores all of the bookmarks and stuff for the browser /data/com.android.browsers/databases
alarms.db stores all of the alarms. It is at /data/com.android.alarmclock/databases
If there is something specific that you are looking for let me know.

JJbdoggg said:
i have made a batch file to:
Backup all apps to root of sdcard
Restore all apps from backup
Delete all apps
Delete app_s (for hero users not wanting to wipe)
instructions:
Just plug your phone in (DO NOT MOUNT IT !!!!!!!!) run backup_restore.bat and it will guide you through the rest.
i have also inluded it as a text file for those who want to edit it (e.g. moving where apps are backed up to)
Bugs:
when backing up apps it shows lots of errors ignore these and navigate to sdcard/app and they will all be there
other than that buit works fine for me, i just thought i would share it with you guys
here is the link http://www.4shared.com/file/126100348/41c6a6de/backup_restore.html
Click to expand...
Click to collapse
Or you could use my script in my signature....

miketaylor00 said:
I know some of them. I looked into it when I was using Backup for root users all the time. mmssms.db stores all of your messages. It is located in /data/com.android.providers.telephony/databases
browser.db stores all of the bookmarks and stuff for the browser /data/com.android.browsers/databases
alarms.db stores all of the alarms. It is at /data/com.android.alarmclock/databases
If there is something specific that you are looking for let me know.
Click to expand...
Click to collapse
thanks, do you know the one for market?
devsk said:
Or you could use my script in my signature....
Click to expand...
Click to collapse
its nice to have options

JJbdoggg said:
thanks, do you know the one for market?
its nice to have options
Click to expand...
Click to collapse
options are the spice of life...

Great batch file!
Comes in real handy when using Hero roms!
Keep improving this and include version numbers for future updates.
Thank you!!

notxel21 said:
Great batch file!
Comes in real handy when using Hero roms!
Keep improving this and include version numbers for future updates.
Thank you!!
Click to expand...
Click to collapse
no probs, glad it helped
edit: just added version numbers

JJbdoggg said:
thanks, do you know the one for market?
its nice to have options
Click to expand...
Click to collapse
I believe the market is assets.db located in /data/data/com.android.vending/databases
Test it out to make sure I'm right.

Is app data backed up as well? Or just the .apks?

Related

[Q] Possible to titanium install all apps at once instead of clicking separately?

By this I don't mean the batch process, that I know. But once you batch, you have to click install and done one by one until all the apps are installed. I jump roms a lot and am wondering if there's anyway to do this all at once without having to click individually?
One of those "restore all apps" batch functions doesn't work for you?
Go pro. Or you cannot use root explorer and Giro were your apparently are installed on your phone copy them and the using your PC put the in the same folder in the rom and then flash. Now they are installed just use titanium to restore the apps data.
Sent from my SGH-I897 using XDA App
Sorry for typos still getting use to swype
Sent from my SGH-I897 using XDA App
did this one get answered? i am doing the same
so if i buy the pro vesion will that let me select/multi-install without accepting the app "install" and "done" every time?
Hit menu>batch and you can restore all.
gazzacbr said:
did this one get answered? i am doing the same
so if i buy the pro vesion will that let me select/multi-install without accepting the app "install" and "done" every time?
Click to expand...
Click to collapse
Yes, you must go pro. I didn't buy the pro version myself, but I've heard from many others that that is the only way to do them all at once without confirming each app.
I can confirm that the pro version will do this. Well worth the money if you ask me.
dtugg said:
I can confirm that the pro version will do this. Well worth the money if you ask me.
Click to expand...
Click to collapse
+1.
TiBU has a feature to create a flashable .zip file for installing the applications. I have yet to try this, but it seems pretty cool.
Tubes6al4v said:
TiBU has a feature to create a flashable .zip file for installing the applications. I have yet to try this, but it seems pretty cool.
Click to expand...
Click to collapse
AFAIK this only refers to a flashable zip of TiB itself (I thought otherwise before, but I tried it)
Still handy to use for restore if your new rom doesn't include TiB and you had to wipe your data and want to restore your g-account etc. first.
ok, thanks guys. the paid version does indeed just install without intervention.
this app is great. well worth the few $ for paid. had the license file in less than 15mins from paying.
good to see that the free version is still available anyway.
the installable zip file would be a great addition.

[Q] Saving game progress (full unlock)

Is there is a way to store the progress of a game (full unlocked) and restore it after flashing/etc?
ombadboy said:
Is there is a way to store the progress of a game (full unlocked) and restore it after flashing/etc?
Click to expand...
Click to collapse
Well... You could use an app that tells the game's name and its id (i.e. 1ccc6b7a-4985-4eb9- etc etc), like app Siege.
Since this id is also the directory's name, you could use a file explorer (i.e. wPhoExplorer) to loo into it (you will find it in \Applications\Data\1ccc6b7a- etc etc).
I think that the progress should be stored their.
Then you can use a backup application like WPV App Data Backup and you should get back your progress.
I have to be honest: each time I changed a new custom ROM, I never got back my Bug village progress....... Don't know wether this backup works only for sideload app or not...
lordmago said:
Well... You could use an app that tells the game's name and its id (i.e. 1ccc6b7a-4985-4eb9- etc etc), like app Siege.
Since this id is also the directory's name, you could use a file explorer (i.e. wPhoExplorer) to loo into it (you will find it in \Applications\Data\1ccc6b7a- etc etc).
I think that the progress should be stored their.
Then you can use a backup application like WPV App Data Backup and you should get back your progress.
I have to be honest: each time I changed a new custom ROM, I never got back my Bug village progress....... Don't know wether this backup works only for sideload app or not...
Click to expand...
Click to collapse
So I guess you tried backing it up and restoring it and it didnt work?
ombadboy said:
So I guess you tried backing it up and restoring it and it didnt work?
Click to expand...
Click to collapse
I have sms backup application and I could get back my sms...
But about that game, each time I started again from zero...
I just had a look to Bug village directory and, in its root direcotry, I found the following 4 files with two dates 08/04/2012: they're gameset.dat, _ApplicationSettings, save.dat, questSave.dat...
I leave the word someone who is deeper than me into WP7...
I managed to completely restore my progress in feed me oil using Isolated Storage Explorer..
ombadboy said:
I managed to completely restore my progress in feed me oil using Isolated Storage Explorer..
Click to expand...
Click to collapse
Good to hear that!
i cant find this app anywhere..can u post a link please
lordmago said:
Good to hear that!
Click to expand...
Click to collapse
rokyrakoooon said:
i cant find this app anywhere..can u post a link please
Click to expand...
Click to collapse
use wmdc launch from ultrashot...you'll be able to browse your device isolated storages and backup all your games progressions & app settings
& use appSiege to find particular xap IDs (copying everything from iso.storage is simply useless...)

[APP][ROOT][3.0+] Backup2Tar v0.1 Flashable App+Data Backup using Tar.

Backup2Tar is a Free backup tool that I created to help restore my apps after flashing a new rom.
How it works :
Select which apps to backup from the UI
The app generates a tar file on your sdcard (update.tar.gz) with the package files and data.
Finally, the app will generate restore_tar.zip which contains busybox and a small shell script to find update.tar.gz and extract it.
As of right now it's a very simple app, there are no options at all and I made it for personal use and to (re-)learn Java.
FAQ :
Why tar?
because it's the standard archive format on Linux, preserves permissions and user information.
But all the cool kids use zip files.
Yes, sure you can hack a nice updater-script to fix permissions on all files, but it's bound to screw up permissions some way or the other, specially with apps that have executable files in their /data/data/.
Your icons suck
Feel free to create new icons for the app and I will gladly use them.
Is there anyway to help?
Provide me with ideas, ways to improve it, better artwork and feel free to donate!
TODO :
Toggle saving apps' data and/or cache.
Store other important settings (wifi, gps, etc).
Clean up the source code and publish it.
Tested Devices :
N7000 (running 4.1.2 / Phillz Kernel).
Rooted 3.0.0, 4.0.3, 4.2.2 Android emulators (tested using update-binary, not from recovery).
All comments / suggestions are welcome.
Changelog :
v0.1
Initial alpha release.
Sounds useful, downloading now. Thanks!
Sent from my SGH-I897 using XDA
Will this backup my paid apps or only non "protected" apps?
famewolf said:
Will this backup my paid apps or only non "protected" apps?
Click to expand...
Click to collapse
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
life.eq.null said:
I'm not sure, I don't have any protected apps at the moment to try with.
If you can test and report back it would be great.
The app copies /data/app/xxx.apk and /data/data/xxx, so if the protected files aren't in /data/data they won't be copied.
Click to expand...
Click to collapse
I'll see if I can get some time to install and try it.
Have you considered adding /system/app and it's associated data to the list? An app might be included in one rom and not in another so I'd still want the ability to back it up even if it has to back it up to /data
Also I didn't see it in the screenshots but if not there a single checkbox to backup ALL apps in list would be highly useful rather than having to click all of them.
You can backup system apps as well.
I found a bug in restoring, some apps won't restore right without "reinstalling" using the package manager, gonna try to figure out how to call the package manager from recovery.
Workaround to fix the apps that aren't working after restoring is to use adb shell.
PHP:
$ adb shell
$ su
# tar tzf /sdcard/update.tar.gz | grep data/app/ | while read APK; do pm install -r "/$APK"; done
This basicly will use the package manager to "properly" install all the apk.
I will release a fixed version later today.
I will add check-all option as well, I'm still getting the hang of action bars and such.
does this script preserve "move to sd" location? i mean, i used a lot "move to sd" standard android function, to move many big apps to sdcard/.android_secure folder... of course, none of the those that use widgets...
i found that restoring with titanium backup does not preserve this: if i batch restore my apps, it fills up my internal memory (samsung note n7000), and i've to move a bunch of them to sd before redoing restore of the remaining ones... very boring...
is there a way to restore apps EXACTLY in the same location where they were when backupped? thanks
Is it possible to backup the whole ext partition as well? As Im using Link2Sd and to restore it quite tedious. My apps + games are out of the internal space.. So, I extend using ext partition.
Can we flash the backup to stock unrooted rom ,from the stock recovery??
Sent from my GT-I9070 using xda premium
no answers in days from the developer to a fresh project... then no development at all? hope not...
mrshark said:
no answers in days from the developer to a fresh project... then no development at all? hope not...
Click to expand...
Click to collapse
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
famewolf said:
You posted your original question late on the 28th and this most recent complaint early on the 30th at least by my timezone....perhaps you have an unreasonable expectation as to how soon he needs to respond to you.
Click to expand...
Click to collapse
3 weeks is enough?

Is there an easy way to backup app save data?

Hello everyone!
I am wondering if there is anyway to save an apps data if you wanted to install another rom? I love taking different roms out for a spin, but having to restart a game over and over as a result can be frustrating.
TheGasMaster4381 said:
Hello everyone!
I am wondering if there is anyway to save an apps data if you wanted to install another rom? I love taking different roms out for a spin, but having to restart a game over and over as a result can be frustrating.
Click to expand...
Click to collapse
titanium backup app
bweN diorD said:
titanium backup app
Click to expand...
Click to collapse
okay thanks, do you know if you can store backups on pc and restore them fairly easy?
TheGasMaster4381 said:
okay thanks, do you know if you can store backups on pc and restore them fairly easy?
Click to expand...
Click to collapse
you can store them on pc, but for me, there are some files inside the backup that wont copy. i dont know if this is common, but i thought i should mention it. although, even with whatever wouldnt copy, i have never had an issue restoring the apps or data.
even if you move the backup to pc, you have to move it back to the phone to use it.
there is also a cloud option to save the backups to drive and other places.
its is fairly easy to restore, there is a batch option menu, where you just select the ones you want and click start, but if you dont get the paid version, it will only let you do one at a time, which sux lol

[?] OOS environment backup

Hello
As I've set up many parameters into my running OxygenOS, such as application behavior, battery optimization, miscellanous settings, wallpapers...
How im supposed to backup all those settings regarding OxygenOS in order to avoid to reinstall it while tranfering my phone to another OOS phone ?
PS : my phone is rooted, and I use TitaniumBackup
I wish to get solution to backup problem,
all those settings preferences need to be backuped up but no solution yet found.
at least we still have "titanium backup".
solid.snake said:
Yes, but what should I backup in TitaniumBackup ?
Click to expand...
Click to collapse
exactly, not much to backup aside of apps,
you can try to backup system "settings" in "titanium backup".
.
solid.snake said:
Hello
As I've set up many parameters into my running OxygenOS, such as application behavior, battery optimization, miscellanous settings, wallpapers...
How im supposed to backup all those settings regarding OxygenOS in order to avoid to reinstall it while tranfering my phone to another OOS phone ?
PS : my phone is rooted, and I use TitaniumBackup
Click to expand...
Click to collapse
Use oneplus switch app
x111 said:
I wish to get solution to backup problem,
all those settings preferences need to be backuped up but no solution yet found.
at least we still have "titanium backup".
Click to expand...
Click to collapse
Yes, but what should I backup in TitaniumBackup ?
twinnfamous said:
Use oneplus switch app
Click to expand...
Click to collapse
I mean, how to proceed if someone steal my phone, or of I Loose it...
BTW,
Does anyone know the purpose of the "OnePlus account"??
There is no way to choose what to backup, or sync....
solid.snake said:
I mean, how to proceed if someone steal my phone, or of I Loose it...
Click to expand...
Click to collapse
Copy the folder opbackup to flash drive or PC after backup. Just choose new backup and select what to back up. Make sure u give oneplus switch app permissions
twinnfamous said:
Copy the folder opbackup to flash drive or PC after backup. Just choose new backup and select what to back up. Make sure u give oneplus switch app permissions
Click to expand...
Click to collapse
Is the opbackup folder is create by oneplus switch app ??
Because if yes, I Don't know how to proceed as the app only give a direct transfer capability
solid.snake said:
Is the opbackup folder is create by oneplus switch app ??
Because if yes, I Don't know how to proceed as the app only give a direct transfer capability
Click to expand...
Click to collapse
Yes once you do backup
twinnfamous said:
Yes once you do backup
Click to expand...
Click to collapse
Great, I have to select the bottom screen functionality and have at least 30% battery.
Thanks.
I'll try it and report back here has resolved.
Yours
Hi folks.
I did only backup the parameters as suggested by the app, but what a pitty....
The main file only weight 468 Bytes (attachement)
This method is clearly unrelialable. As it doesn't backup my whole parameters.
TitaniumBackup appears to be my last shot, but I still have to determine what to backup...
solid.snake said:
Hi folks.
I did only backup the parameters as suggested by the app, but what a pitty....
The main file only weight 468 Bytes (attachement)
This method is clearly unrelialable. As it doesn't backup my whole parameters.
TitaniumBackup appears to be my last shot, but I still have to determine what to backup...
Click to expand...
Click to collapse
I find swiftbackup to be Superior to titanium
preference said:
I find swiftbackup to be Superior to titanium
Click to expand...
Click to collapse
Hahahahahaha, really !
It really made me laugh as TitaniumBackup was my first paid application and indeed the most important app through years now.
But as I like some challenges, Im going to try it, not because I Doubt about TitaniumBackup supremacy, but by curiosity.
solid.snake said:
Hahahahahaha, really !
It really made me laugh as TitaniumBackup was my first paid application and indeed the most important app through years now.
But as I like some challenges, Im going to try it, not because I Doubt about TitaniumBackup supremacy, but by curiosity.
Click to expand...
Click to collapse
You won't be disappointed. I freeze apps with icebox. Swift backs up more than just apps.
Of course, it's individual choice but I rely on OP Switch as my backup solution. I was a big fan for TB during my rooted days. With excellent Oxygen OS and OP Switch, I have no desire to root the phone anymore.
I haven't used Swift Backup app, but it might be worth the try. It's available on play store.
Gr8man001 said:
Of course, it's individual choice but I rely on OP Switch as my backup solution. I was a big fan for TB during my rooted days. With excellent Oxygen OS and OP Switch, I have no desire to root the phone anymore.
I haven't used Swift Backup app, but it might be worth the try. It's available on play store.
Click to expand...
Click to collapse
It requires root so it's not something you would like. Stick with what works for you. I always have to root my phones lol
Gr8man001 said:
Of course, it's individual choice but I rely on OP Switch as my backup solution. I was a big fan for TB during my rooted days. With excellent Oxygen OS and OP Switch, I have no desire to root the phone anymore.
I haven't used Swift Backup app, but it might be worth the try. It's available on play store.
Click to expand...
Click to collapse
I can't understand, how to dont have any root Desire in 2020.
Just, how do you handle bloatware or ads (web, app...)?
solid.snake said:
I can't understand, how to dont have any root Desire in 2020.
Just, how do you handle bloatware or ads (web, app...)?
Click to expand...
Click to collapse
There aren't many apps on Oxygen OS that I consider bloatware. I use most of them. If I don't use a particular app, I simply disable it. If it still bothers me there are many guides online to debloat using adb commands.
I use paid version of AdGuard and have no issues with blocking ads. One license fee covers all 3 phones in my family.

Categories

Resources