How to remove native gmail app in nexus one? - Nexus One Themes and Apps

hello everyone!
is it possible to remove the gmail app from the android 2.1 (nexus one)?

Obviously root is required for this
Install adb (it's in the Android SDK, search forum or Google for guides). In your console execute these commands
Remount file system with write permissions
Code:
adb remount
Remove Gmail app
Code:
adb rm /system/app/Gmail.apk
Code:
adb rm /system/app/Gmail.odex
Remove storage / sync
Code:
adb rm /system/app/GmailProvider.apk
Code:
adb rm /system/app/GmailProvider.odex
If the odex files aren't there skip those.

+
adb rm /data/data/com.google.android.providers.gmail
adb rm /cache/dalvik-cache/[email protected]@[email protected]
adb rm /cache/dalvik-cache/[email protected]@[email protected]
If you want to completely remove it.

beware when i removed this my phone wouldnt work corectly had to do a nan restore.

lgkahn said:
beware when i removed this my phone wouldnt work corectly had to do a nan restore.
Click to expand...
Click to collapse
Yep, that doesn't surprise me... try removing phone.apk...

I tried uninstalling the gtalk app and I couldn't even use the phone. I guess they are all tied together...

All of the Google apps are tied very closely with how the phone runs. People have been trying stupid stuff like this since late 08. I suggest the OP get over it.

Doesn't the CM rom not contain Gapps so they would just have to install CM without Gapps?

mykenyc said:
Doesn't the CM rom not contain Gapps so they would just have to install CM without Gapps?
Click to expand...
Click to collapse
Yep...
And many apps you can remove, just not the essential one.
I remove cardock, facebook, dev tools, geniewidget, talk, gvoice, stk, email and perhaps one or two others before I ever install a rom... don't use em, don't want em.
And yes, removing unused apps in Android will actually make your phone faster in some activities.

an easy way to remove such apps is using Titanium Backup.
in titanium you can click on any app, and opt to uninstall it.
after that you reboot, and go into "settings/applications/manage applications and you will see the apps that you removed still in the list with 0kb, you can click them and do "uninstall" - done
a solution for those that don't want to type too much adb commands
and yes... make a nandroid before -

legendary german efficiency is true!!
shmigao said:
an easy way to remove such apps is using Titanium Backup.
in titanium you can click on any app, and opt to uninstall it.
after that you reboot, and go into "settings/applications/manage applications and you will see the apps that you removed still in the list with 0kb, you can click them and do "uninstall" - done
a solution for those that don't want to type too much adb commands
and yes... make a nandroid before -
Click to expand...
Click to collapse
Worked like a charm! thank you

an easy way to remove such apps is using Titanium Backup.
in titanium you can click on any app, and opt to uninstall it.
after that you reboot,
Click to expand...
Click to collapse
Worked like a charm! thank you
Click to expand...
Click to collapse
But I read that if you run fix_permissions you will get errors for those removed apps..

Related

CRAFT_BACKUP, a script for application and data backup

***0.6.5***
-Full compatibility with froyo, now it backup application moved to sd (froyo way)
***0.6.4***
-Fixed some issue with froyo
***0.6.3***
-Fixed wifi broke bug
***0.6.2***
-Fixed apn restore bug
***0.6.1***
-Added possibility to restore the call history
-Both script can be launched from phone terminal without any problem.
***0.6***
-rewritten script , is now more stable
-It does backup of applications installed on sd, both "new" and "old" method.
-If there are applications on sd saved in the backup, it asks the location where to install them.
******
In the market there are good applications for android backup.
I made my own script, craft_backup, that allow to backup both applications(apk) and data, saving them in "craft_backup" folder on sdcard.
The restore script (craft_restore), allow to interactively restore this data.
The restore script is divided into phases:
1)Application reinstall( by Wes Garner) : It automatically reinstall all the application in the backup
2)Restore applications data
3)Restore system data that does not cause incompatibility issue: sms,Apn, bookmarks, wifi, user dictionary, call history.
4)fix permissions (by [email protected]).
Prerequisites:
1) Root permissions
Script installation
Download last version from this link and flash it from recovery
Script execution
Not from recovery!
To backup:
Code:
adb shell
craft_backup #You must execute this command on the new shell
To restore (in case of wipe, we have to the repeat the script install operation)
Code:
adb remount
adb shell
craft_restore #You must execute this command on the new shell
Sometimes the restore process may seems to be frozen, simply let it work
After the restore, It's possible to have some force close, no fear. If some applications doesn't work(rare), reinstall it.
Sorry for bad english!
I released a new version, some bugfixes.
The script it's fully functional, no force close,etc
Will check it out, I suggest you show something during the backup process so that it indicates how far along in the process it is. Something like,
Code:
Backing up apps:
Barcode.apk
Maps.apk
.
.
.
APN data
bcrook said:
Will check it out, I suggest you show something during the backup process so that it indicates how far along in the process it is. Something like,
Code:
Backing up apps:
Barcode.apk
Maps.apk
.
.
.
APN data
Click to expand...
Click to collapse
thanx.
The backup process take about a minute, it's short time.
The restore script take longer, and indicates the operation and the datas being processed!
pierissimo said:
thanx.
The backup process take about a minute, it's short time.
The restore script take longer, and indicates the operation and the datas being processed!
Click to expand...
Click to collapse
Hmm okay, mine didnt work. It wasnt doing anything. If its quick the status is less important, maybe just:
Code:
Backing up apps...
Backing up settings
Done!
do you mean the restore script doesn't work?
do you exec "adb shell craft_backup" ?
it must be executed in new phone shell, otherwise it does not work, like this:
Code:
adb shell #first
craft_restore #after
Ignore me - it works. I think the adb push went bad. It is working great now.
Thanks!
bcrook said:
Ignore me - it works. I think the adb push went bad. It is working great now.
Thanks!
Click to expand...
Click to collapse
It takes a bit long, about 30 minutes on 100 application reinstall, just let it works
How was it?
does it backup everything on the phone?
can you specify which data you want to backup?
can i backup/restore sms?
tnx.
Thesniperz said:
does it backup everything on the phone?
can you specify which data you want to backup?
can i backup/restore sms?
tnx.
Click to expand...
Click to collapse
It lets you choose what to backup.
It allow to backup all applications and applications data, sms, Apn, bookmarks, wifi, user dictionary(user dictionary is in testing)
updated, now it will make the backup of application on sd too.
Pierissimo perchè non fai un'applicazione da caricare sul market? Sarebbe una gran cosa davvero!
Try translate in english
Pierissimo you should create an application by that script
When i will have free time to work on java!!
Bump
I had this running and was browsing the web to kill time, forgot about it, and my phone rebooted.
The vibrate on my desk scared the sh*t out of me.
Anyways... awesome work dev.
fryguy18 said:
I had this running and was browsing the web to kill time, forgot about it, and my phone rebooted.
The vibrate on my desk scared the sh*t out of me.
Anyways... awesome work dev.
Click to expand...
Click to collapse
thanx man, perhaps I'll put the request to reboot, during the night the vibro is a bit tragic
I wouldn't worry about it... I was more just commenting in the section because I don't want it to be forgotten. I was using titanium backup before I found this, and this is a much better alternative
Yes i got it
Thanx tor the feedback man!
any suggestion for the script for next version?
Hi,
I had tried various backup solutions and even bought MyBackup Pro but there is a certain feature in which I had found to be lack of:-
Refreshing of the device market repository to sync with applications is what am I looking for. When we do an installation (or restore) on a fresh device through adb, mybackup or other apps, the device market repository was not updated, therefore any newer version of these applications would not be prompted off from the market app.
Unless there is a step, option or feature in the Android OS that I had missed. I would really like to see this feature to be implemented on application backup utilities.

[HACK] Kill Amazon MP3 Store Application

Even though I keep killing with Task Manager the Amazon MP3 Store application, it keeps coming back, how I can stop it from auto running all the time or even better to fully remove it from the phone ?, thanks
I fully removed it from the adb shell using rm -f. I think it's stored somewhere in /data/app. Anywais, just look for the apk and remove it.
St.Jimmy! said:
I fully removed it from the adb shell using rm -f. I think it's stored somewhere in /data/app. Anywais, just look for the apk and remove it.
Click to expand...
Click to collapse
I just remove it using Titanium Backup, great tool, I also removed, Mail, VPN, Music, etc.
brosen said:
Even though I keep killing with Task Manager the Amazon MP3 Store application, it keeps coming back, how I can stop it from auto running all the time or even better to fully remove it from the phone ?, thanks
Click to expand...
Click to collapse
Original post @ Modaco
http://android.modaco.com/content/g...-mp3-store-or-other-stock-apps-rooted-device/
---
adb remount
adb shell rm /system/app/com.amazon.mp3.apk
---
If you are using enom's ROM , the option for removing amazon MP3 , and other built-in apps .. is under spareparts :
Application Options
Built-in Applications ..
checkmark and done !
You also can remove it with "Root Explorer" from the market too...
Or SUFBS I hardly ever bother with commands anymore
You can also remov it with Android mate. (marked)
pvillasuso said:
..
---
adb remount
adb shell rm /system/app/com.amazon.mp3.apk
---
Click to expand...
Click to collapse
Thanx..removed
rori1 said:
Thanx..removed
Click to expand...
Click to collapse
Can someone walk me through this? I have a stock N1 I've been using for a couple weeks and would love to get rid of some of these crappy programs I never use, without voiding the warranty.
johnstevens said:
Can someone walk me through this? I have a stock N1 I've been using for a couple weeks and would love to get rid of some of these crappy programs I never use, without voiding the warranty.
Click to expand...
Click to collapse
You can't without rooting.
sergioalvarezmac said:
You also can remove it with "Root Explorer" from the market too...
Click to expand...
Click to collapse
Anyone care to explain how to do this? Is it as simple as just deleting the apk's?
InFlicT666 said:
Anyone care to explain how to do this? Is it as simple as just deleting the apk's?
Click to expand...
Click to collapse
Yep.
If you want to completely remove it, rm the apk, the related /data/data/.. folder, the related dalvik-cache object and remove it from packages.xml.
But for a quick removal just del the apk (and .odex if exists).
Or you could just get root manager from the market (paid app) which allows you to uninstall system apps
Can someone please explain to me why programs like the Amazon MP3 store come back after reboot each time I've deleted it. I've deleted it via Root Manager, android mate, titanium backup and all the other methods listed in this forum. Each seem to be rid of the files with out issue. Then I reboot ...and the program is BACK. Clearly there is something I'm missing when i reboot the system reverts back before I deleted it. I just want this sprint bloatware gone
GinjiVitis said:
Can someone please explain to me why programs like the Amazon MP3 store come back after reboot each time I've deleted it. I've deleted it via Root Manager, android mate, titanium backup and all the other methods listed in this forum. Each seem to be rid of the files with out issue. Then I reboot ...and the program is BACK. Clearly there is something I'm missing when i reboot the system reverts back before I deleted it. I just want this sprint bloatware gone
Click to expand...
Click to collapse
Sounds to me like the old days of my Blackberry, and things getting pushed to your device OTA without permission, lol. I haven't had that issue though, sorry.
GinjiVitis said:
Can someone please explain to me why programs like the Amazon MP3 store come back after reboot each time I've deleted it. I've deleted it via Root Manager, android mate, titanium backup and all the other methods listed in this forum. Each seem to be rid of the files with out issue. Then I reboot ...and the program is BACK. Clearly there is something I'm missing when i reboot the system reverts back before I deleted it. I just want this sprint bloatware gone
Click to expand...
Click to collapse
That...doesn't sound right.
GinjiVitis said:
Can someone please explain to me why programs like the Amazon MP3 store come back after reboot each time I've deleted it. I've deleted it via Root Manager, android mate, titanium backup and all the other methods listed in this forum. Each seem to be rid of the files with out issue. Then I reboot ...and the program is BACK. Clearly there is something I'm missing when i reboot the system reverts back before I deleted it. I just want this sprint bloatware gone
Click to expand...
Click to collapse
Sounds like you're not mounting the file system for writing before trying to write (delete) to the file system.
Very interesting thought. I figured since I'm not familiar with these root file system programs yet I could easily have it set to read only instead of write but after some digging I do have the software set to allow write permissions. I found some posts regarding this deleted program respawning issue. the general consensus is its the systems NAND protection. Im going to work on disabling that and trying again. thanks for the great suggestion though.
tipe this on your termina without the quotes if you dont have a terminal get one at the market.
"su"
"mount -o rw,remount /system"
"rm -r /system/app/com.amazon.mp3.apk"
"pm uninstall com.amazon.mp3"
In root explorer I went in to /system/apps and deleted .com.amazon.mp3.apk. Is that fine or is there anything else I need to delete to uninstall it?

removing bloatware

I just completed rooting 2 bolts this morning and was wondering how one goes about remove some of the additional bloatware. Blockbuster, etc...
Thanks in advance.
Michael
first make a back up in recovery.
There are several ways to do this.
Terminal emulator app,
ADB,
or an app like Root Explorer or Titanium Back up
For the terminal app and ADB just
su
--opens up super user access
cd system/app
--changes your path to where the apps are stored
ls
--lists all the apps in the directory
once you find the app you want to blow away, do
rm VZW_Golf.apk
--removes it completly, and only way to retrieve is to find a replacement apk or restore entire back up through recovory.
You could also do a
mv VZW_Golf.apk VZW_Golf.apk.bak
--Just renames the app, it will be unusable, but can easily be restored by renaming to original apk.
Another option, rather than deleting, if you're concerned about needing to put them back some day is to just use Titanium Pro's "Freeze" feature. There are other apps that you can purchase on the Market that let you "freeze" an app as well.
Freezing an app totally disables it and prevents it from loading at startup, autoloading on its own, and even removes it from the app drawer.
This is the path I'm taking for the time being, but I'm not currently worried about the bloatware sucking up precious storage space. If storage for apps becomes an issue, the rm command is only a terminal session away!
Can't get Root Explorer to mount as R/W..Any ideas?
ccse.eggie said:
I just completed rooting 2 bolts this morning and was wondering how one goes about remove some of the additional bloatware. Blockbuster, etc...
Thanks in advance.
Michael
Click to expand...
Click to collapse
I would use Titanium BackUp and just freeze the apps for now untill you can get a good backup of the Original ROM on it.
AisforAustin said:
Can't get Root Explorer to mount as R/W..Any ideas?
Click to expand...
Click to collapse
get the app "root checker" off the market from joeykrim
My only thought is towards you aren't rooted.
If you are, then I'm not sure since I have never used the Root Explorer app.
thanks for the replies. I used Rom Manager to make a backup.
I'll download the titanium program and freeze the programs. Sounds the easiest option.
AisforAustin said:
Can't get Root Explorer to mount as R/W..Any ideas?
Click to expand...
Click to collapse
Try the "mount /system" app first. After selecting rw with that app, root explorer should be mounted as rw as well.
AisforAustin said:
Can't get Root Explorer to mount as R/W..Any ideas?
Click to expand...
Click to collapse
Reboot the phone a couple of times...re-download SuperUser.apk from the market if necessary, make sure that in SuperUser Root Explorer is listed as having been allowed root permissions.
If you've never seen the pop-up SuperUser request for Root Explorer you won't be able to mount r/w.
Titanium backup same story as root explorer. It also helps in Titanium to click the Problems? button and let it install its own version of busybox - or you can download busybox from the Market as well (I haven't tested it on the TB, though).
I ended up making a backup in cwm recovery then installing root explorer and going through system/app and just deleting the apks lol. have over 470mbs free now! left the odex files for now but removed the apps. If you delete them make sure you have a backup first.
The only app given me an issue is VVW, deleted the apk, renamed odex to .old and still vvm shows in the launcher. not sure what other apk is linked to vvm. any ideas?
so can you not uninstall them with titanium backup then? That would be the easiest way. I was hoping you could as I will be rooting mine here in a few.
nosympathy said:
so can you not uninstall them with titanium backup then? That would be the easiest way. I was hoping you could as I will be rooting mine here in a few.
Click to expand...
Click to collapse
You can uninstall them in titanium backup. Or after you root there is a Rom now you can flash in CWR that already has the bloat removed.
Sent from my THUNDERBOLT using the XDA app
MXMike said:
You can uninstall them in titanium backup. Or after you root there is a Rom now you can flash in CWR that already has the bloat removed.
Sent from my THUNDERBOLT using the XDA app
Click to expand...
Click to collapse
Which ROM is that?
Geegolly said:
first make a back up in recovery.
There are several ways to do this.
Terminal emulator app,
ADB,
or an app like Root Explorer or Titanium Back up
For the terminal app and ADB just
su
--opens up super user access
cd system/app
--changes your path to where the apps are stored
ls
--lists all the apps in the directory
once you find the app you want to blow away, do
rm VZW_Golf.apk
--removes it completly, and only way to retrieve is to find a replacement apk or restore entire back up through recovory.
You could also do a
mv VZW_Golf.apk VZW_Golf.apk.bak
--Just renames the app, it will be unusable, but can easily be restored by renaming to original apk.
Click to expand...
Click to collapse
thank you so much. this is good info. i was trying to figure out how i can delete things i dont want. hate vz navigator.
TheStick13 said:
Which ROM is that?
Click to expand...
Click to collapse
List is in the stickies in the development section. I like virusrom and bamf the most.
Sent from my ADR6400L using XDA Premium App

[FIX] Titanium Backup not working after S-OFF/Root

"After obtaining S-OFF and permanent root, I was still having trouble getting Titanium Backup to work.
Here's what I had to do to fix it:
I had used this to obtain temp root in the past: http://forum.xda-developers.com/show....php?t=1151735
Those steps had me create this directory: /data/bin/
Within that directory, I had sqlite, su, etc. so I simply deleted all the files in that folder, rebooted, and Titanium Backup now works!
I hope it helps everyone else."
This is straight from the Evo 3d Development Thread. Thanks go to Wiljitsu. http://forum.xda-developers.com/showthread.php?t=1192452 I am posting it here in hopes of helping others.
You will have to use Root Explorer or the equivalent to delete these files. Or you could use the free way, execute "adb shell rm -r /data/bin/*"
Yup fixed it!!!
adb shell rm -r /data/bin/*
thanks a million!
beagz said:
Yup fixed it!!!
adb shell rm -r /data/bin/*
thanks a million!
Click to expand...
Click to collapse
thanks for that code, I'll add it to the OP
Uninstall Titanium Backup and re-install and it fixes it as well!
Hope this helps...
notxel21 said:
Uninstall Titanium Backup and re-install and it fixes it as well!
Hope this helps...
Click to expand...
Click to collapse
I haven't tried that. But the problem was not with Titanium Backup itself, it was with the location of the Su binary. Titanium is still going to look for the binary wherever it can find it. If the original is still present in /data/local/ or whatever else, then it will use that one. Once you delete it, it will then look for it elsewhere( in the xbin)
smoochiezz24 said:
I haven't tried that. But the problem was not with Titanium Backup itself, it was with the location of the Su binary. Titanium is still going to look for the binary wherever it can find it. If the original is still present in /data/local/ or whatever else, then it will use that one. Once you delete it, it will then look for it elsewhere( in the xbin)
Click to expand...
Click to collapse
I agree but un-installing and re-installing fixed it for me.
#Justsaying
or you can hit the problems button in titanium that fixed it for me
I did not have any problem.... Worked as it is suppose to.
THANK YOU! Been trying to get TB to work for weeks
notxel21 said:
I agree but un-installing and re-installing fixed it for me.
#Justsaying
Click to expand...
Click to collapse
Not worked for me
Deleted all files then it worked
delete all files in /data/bin/ works for me. TB has SU =)
jersey_609 said:
or you can hit the problems button in titanium that fixed it for me
Click to expand...
Click to collapse
Did you temp-root your phone before? If you haven't, then you don't have the files that are causing the issue. This fix is for people who have.
I had temp rooted before finally s-off this morning.
So I had the TB Pro problem, by following the OP instructions I have access again to my backup program.
THANKS!!!!!
YEEEEESSSSSSSS that worked. Finally TB works as well. I thought I was going crazy !!! haha thank you.
Glad to hear you guys reporting back with great news! I know how frustrating it is to not have titanium.
IGstarr said:
delete all files in /data/bin/ works for me. TB has SU =)
Click to expand...
Click to collapse
Is true, work on me
Thanks
IGstarr said:
delete all files in /data/bin/ works for me. TB has SU =)
Click to expand...
Click to collapse
This worked for me as well! Thanks to the OP!!
notxel21 said:
Uninstall Titanium Backup and re-install and it fixes it as well!
Hope this helps...
Click to expand...
Click to collapse
This is exactly what I did. It's actually very common. It does it every time I flash an miui update on my glacier and it happened here with my sensation. Only it happened just the very forst time I installed it and not since I did the first reinstall. Cheers mates S-OFF stylee
I just had the same issue, but I got it to work by:
1) Opening Titanium Backup
2) Pressing Menu
3) Pressing More
4) Pressing Reload Application
YoungSinema said:
I just had the same issue, but I got it to work by:
1) Opening Titanium Backup
2) Pressing Menu
3) Pressing More
4) Pressing Reload Application
Click to expand...
Click to collapse
Glad that ended up working for you.seems like a lot of people worked it out with different methods. This one was for those who temp rooted and had the su binary already on their phone. Thus causing problems once they tried superuser the second time.

Alternative to `adb backup` for Android 12+

I wish to fully backup a list of apps (including their private data) to restore them all quickly on a new ROM after a clean-flash.
In the past I could use `adb backup` for this, but since Android 12, they deprecated this command (it'll be removed soon) and this command is no longer able to backup the app's private data.
Is there anything else I can use, on a rooted device?
I would prefer using a command from command line, rather than an App: this way I can save and paste the list of apps to backup, instead of having to select N apps one by one in a GUI every time.
peoro said:
I wish to fully backup a list of apps (including their private data) to restore them all quickly on a new ROM after a clean-flash.
In the past I could use `adb backup` for this, but since Android 12, they deprecated this command (it'll be removed soon) and this command is no longer able to backup the app's private data.
Is there anything else I can use, on a rooted device?
I would prefer using a command from command line, rather than an App: this way I can save and paste the list of apps to backup, instead of having to select N apps one by one in a GUI every time.
Click to expand...
Click to collapse
see Swift Backup
Swift Backup - Apps on Google Play
A simple, fast and smart backup solution for Android smartphones
play.google.com
Sorry to be a bit off topic, but I am surprised that you were able to even use that command
When I tried to use the command (yes, I tried on all my Android devices)it does not do anything and no dialog box shows up at all.
All apps I use have their own backup functions, Google backs up photos automatically, office backs up to onedrive, bookmarks back up to Google etc. and I have not run into a scenario that I have to back up any app data.
Would you like to share what type of data specifically that you want to backup? Maybe I can think of a workaround.
Nicknackpaddywack101 said:
Sorry to be a bit off topic, but I am surprised that you were able to even use that command
When I tried to use the command (yes, I tried on all my Android devices)it does not do anything and no dialog box shows up at all.
All apps I use have their own backup functions, Google backs up photos automatically, office backs up to onedrive, bookmarks back up to Google etc. and I have not run into a scenario that I have to back up any app data.
Would you like to share what type of data specifically that you want to backup? Maybe I can think of a workaround.
Click to expand...
Click to collapse
I have a number of apps which don't back stuff up automatically and reinstalling and reconfiguring all of them takes quite a bit of time:
Slide for Reddit: I have 4 different accounts and logging in to all of them + reapplying the general configuration is a pain.
Bitwarden, Telegram, Keybase (and a handful others): needs to log in through 2FA and I'd rather skip that.
andOTP: needs to manually export and import its data.
CovPas: needs me to re-scan the QR codes of all my COVID vaccines.
AdAway, Yi Action Camera: they're not on the Play Store, so the APK needs to be installed manually.
I just installed a new ROM and ran into some issues (after installing and configuring everything). I need to clean-flash it again, but don't want to reconfigure everything manually. I wish to copy the current configuration as it is and be done.
Fytdyh said:
see Swift Backup
Swift Backup - Apps on Google Play
A simple, fast and smart backup solution for Android smartphones
play.google.com
Click to expand...
Click to collapse
Thanks, I'd have preferred something via command line (without a GUI), so I can just paste the list of my apps and be done with it, but thiss will be a valid alternative if no CLI option is available.
peoro said:
I have a number of apps which don't back stuff up automatically and reinstalling and reconfiguring all of them takes quite a bit of time:
Slide for Reddit: I have 4 different accounts and logging in to all of them + reapplying the general configuration is a pain.
Bitwarden, Telegram, Keybase (and a handful others): needs to log in through 2FA and I'd rather skip that.
andOTP: needs to manually export and import its data.
CovPas: needs me to re-scan the QR codes of all my COVID vaccines.
AdAway, Yi Action Camera: they're not on the Play Store, so the APK needs to be installed manually.
I just installed a new ROM and ran into some issues (after installing and configuring everything). I need to clean-flash it again, but don't want to reconfigure everything manually. I wish to copy the current configuration as it is and be done.
Thanks, I'd have preferred something via command line (without a GUI), so I can just paste the list of my apps and be done with it, but thiss will be a valid alternative if no CLI option is available.
Click to expand...
Click to collapse
if you are using twrp, how about a twrp backup ?
what are adb backup alternatives?
i have a lenovoA319 i wanna get involved into the root thing , so i wanna make a backup of my stock phone in case i wanted to get it back to its conditions-i dont care about warranty but i lilke to keep a copy of every thing- as adb backup doesnt...
forum.xda-developers.com
If you have adb that is root (without su) and you can adb pull data/data/com.example.app/shared_prefs/App.xml
then you can try my AdbSync.exe (in my sig).
Code:
C:\>mkdir Backup
C:\>adbsync /hscu Backup data/data /i*:*
Yeah, the /i*:* ignores the one problematic file of com.google.android.gms/shared_prefs/nearbysharing:service:state.xml
Colons don't work so hot in Windows.
Code:
C:\>adb pull data/data/com.google.android.gms/shared_prefs/nearbysharing:service:state.xml
adb: error: cannot create '.\nearbysharing:service:state.xml': No such file or directory
To restore:
Code:
C:\>adbsync /ascu Backup data/data
Fytdyh said:
if you are using twrp, how about a twrp backup ?
Click to expand...
Click to collapse
I'm using OrangeFox (which supports a similar backup system)... However it backups the whole /data partition, not single apps, right?
I need to reinstall my ROM from scratch because something broke (Google Maps, after installing it both via the store and by flashing the NikGapps addon) and I'm afraid that part of the misconfiguration could be in the /data partition: would prefer to only save the data of a set of selected apps.
Renate said:
If you have adb that is root (without su) and you can adb pull data/data/com.example.app/shared_prefs/App.xml
then you can try my AdbSync.exe (in my sig).
Click to expand...
Click to collapse
I'm on Linux though.
xXx yYy said:
what are adb backup alternatives?
i have a lenovoA319 i wanna get involved into the root thing , so i wanna make a backup of my stock phone in case i wanted to get it back to its conditions-i dont care about warranty but i lilke to keep a copy of every thing- as adb backup doesnt...
forum.xda-developers.com
Click to expand...
Click to collapse
Sweet! That's a nice little script that seems to do what I need.
Would you know whether it's possible to pull the app's APK too? I'm not sure where/how it's stored.

Categories

Resources