Backing up applications? - Nexus One Themes and Apps

Alright, so I can't seem to figure this out. I've browsed the forums and found a few different answers to this question. All of the threads I've read state that apps are in /data/app and /data/app-private. I was going to use ADB to pull these to my SDCard and then to my computer. The problem is I don't see any of the apps in /data and there is no /data/app-private.
And yes, I do have root. Anyone have any suggestions?

Backing up for the purpose of being able to restore at a later point?
Why not use titanium backup (free in market) and then copy the backup folder off your sdcard to your computer?

Cuda1337 said:
Alright, so I can't seem to figure this out. I've browsed the forums and found a few different answers to this question. All of the threads I've read state that apps are in /data/app and /data/app-private. I was going to use ADB to pull these to my SDCard and then to my computer. The problem is I don't see any of the apps in /data and there is no /data/app-private.
And yes, I do have root. Anyone have any suggestions?
Click to expand...
Click to collapse
I'd just download Astro File Manager.
Usage:
1. Hit Menu Button
2. Hit Tools
3. Application Manager/Backup

I was using Astro. Odd thing, not sure if this is supposed to be teh case, but Astro doesn't see that folder. Root Manager does though, so I've figured how to do this. Mods can delete this thread if they want.

Related

Backup apps????

Is there a way to save some of my apps before I flash a new ROM? I have a few that I installed while the were free but now they are paid apps or no longer in the market. (Tether apps) I am going to flash one of the Haykuro roms but want to keep these apps to install on the new ROM. Thank for any suggestions!!
Some options:
- Look on the Market for a backup app
- Look for a file manager app and copy the stuff out of /data/app and /data/app-private
- Hook up Dream to a desktop and adb pull it to the computer
- Reboot into recovery and create a nandroid backup
Thanks for the tips, when using the file mgr, when I click on data, nothing is in the file. Am i looking in the wrong area???
jordanjf86 said:
Thanks for the tips, when using the file mgr, when I click on data, nothing is in the file. Am i looking in the wrong area???
Click to expand...
Click to collapse
They're hidden files. You must show hidden files, first.
ivanmmj2 said:
They're hidden files. You must show hidden files, first.
Click to expand...
Click to collapse
No, they're not hidden files. The problem is that /data is a protected directory. The file manager doesn't have permission to access it.
jashsu said:
No, they're not hidden files. The problem is that /data is a protected directory. The file manager doesn't have permission to access it.
Click to expand...
Click to collapse
Is there any way around that?
setuid, but that's insecure and a little bit of a hassle. I'd go the adb pull way.
You could also do it all manually inside the Terminal Emulator. Use su to gain root then cp /data/app/* /sdcard/somewhere
thanks!!!!

Install Script

Does anyone know can point me to the right direction on creating an install script that can be flash from recovery to install apps? I've tried searching but can't find a solution. Someone suggested from previous threads about using adb to do it but I want to be able to just flash an update and have all the apps install on the phone, thanks in advance.
You can save all apks on your computer and make a .bat file to push. Discussed in this thread for the opposite purpose of rm. http://forum.xda-developers.com/showthread.php?t=663014
Another alternative is to just use Titanium backup, the paid version in Market even saves your market apps link to market.
danknee said:
You can save all apks on your computer and make a .bat file to push. Discussed in this thread for the opposite purpose of rm.
Another alternative is to just use Titanium backup, the paid version in Market even saves your market apps link to market.
Click to expand...
Click to collapse
I can do a batch file for it but there are times when I flash a ROM while away from my computer which I can't use batch file for.
As for the thread you mentioned I did read through all the posts on there and that is how I got my update.zip to remove all the stock apps before the first load after flashing a new ROM. But I also want to add apps that I've already downloaded and apps that I download that is not on the market on the phone.
I found a thread that I can just put the apks in either
Code:
/data/app
or
Code:
/system/sd/app
that it will automatically show up but it only show up for some not all the apps that I have.
Anyone??? What about the developers?
coderli said:
Does anyone know can point me to the right direction on creating an install script that can be flash from recovery to install apps? I've tried searching but can't find a solution. Someone suggested from previous threads about using adb to do it but I want to be able to just flash an update and have all the apps install on the phone, thanks in advance.
Click to expand...
Click to collapse
Download A2SD v2.5: http://www.darktremor.com/files/misc/a2sd-2.5-signed.zip
Then break it out (unzip it).
You should see an install.sh in the root of the zip. Grab that.
Also grab the /META-INF/com/google/android/update-script. That will show you how the install.sh is launched.
That should give you a starting point.

[Q] Titanium Backup Stuck on Restoring App Screen

Hello,
I just got my new Atrix 2
root it, and remove some apps including
all related to Yahoo.
Now I can't open any Contact, Contact Storage
com.motorola.contacts has stopped.
found some posts referencing
to Yahoo Mail Authentication, so I went to my TB Pro and select Yahoo Mail Authentication to restore, but TB get stuck on Restoring App Screen and not moving.
Is there another way to restore it?
Thank you.
P.S. Restore to Factory didn't help but lost root
DanDem said:
Hello,
I just got my new Atrix 2
root it, and remove some apps including
all related to Yahoo.
Now I can't open any Contact, Contact Storage
com.motorola.contacts has stopped.
found some posts referencing
to Yahoo Mail Authentication, so I went to my TB Pro and select Yahoo Mail Authentication to restore, but TB get stock on Restoring App Screen and not moving.
Is there another way to restore it?
Thank you.
Click to expand...
Click to collapse
You CANNOT remove apps from this phone.
Please read the noob post, here:
http://forum.xda-developers.com/showthread.php?t=1396650
You will have to get the fxz file from here:
http://forum.xda-developers.com/showthread.php?t=1415336
You can either flash this to your phone, which is what I recommend, since you did not read or search the forum, I am quessing you are pretty noob. This will take you back to 100% stock.
Or if you really want the abilty to f' up your phone more, or are more advanced than you have given the impression you are, keep reading.
You can use that fxz file, to extract the files needed from it to pack on your phone using the sdk, and pushing those files to your phone. I will not tell you how, but you can do some searches on XDA to figure all that out.
jimbridgman said:
You CANNOT remove apps from this phone.
Please read the noob post, here:
http://forum.xda-developers.com/showthread.php?t=1396650
You will have to get the fxz file from here:
http://forum.xda-developers.com/showthread.php?t=1415336
You can either flash this to your phone, which is what I recommend, since you did not read or search the forum, I am quessing you are pretty noob. This will take you back to 100% stock.
Or if you really want the abilty to f' up your phone more, or are more advanced than you have given the impression you are, keep reading.
You can use that fxz file, to extract the files needed from it to pack on your phone using the sdk, and pushing those files to your phone. I will not tell you how, but you can do some searches on XDA to figure all that out.
Click to expand...
Click to collapse
Thanks a lot for these links, I did found them before just hope not to go that path, I had faith in TB but looks like I shouldn't buy it.
Sent from my Transformer TF101 using xda premium
Titanium is like any tool it can help or hurt depending on how you use it
DanDem said:
Thanks a lot for these links, I did found them before just hope not to go that path, I had faith in TB but looks like I shouldn't buy it.
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
Try using the fxz files and extract the system.img I can't really tell you what to go and get to do that with, but a google search should help you.
Grab the sdk:
http://developer.android.com/sdk/index.html
Install that and the drivers for the phone, from here:
This if on 32-bit:http://www.mediafire.com/?71c12qc4a1svqza
And this for 64-bit:http://www.mediafire.com/?ysphmaz131d3an9
find out how to mount that system.img file in windows, a google search will do well for that.
Copy those files you removed from the system/app directory/folder
and then find where you copied those files to and open a command prompt from there, and:
Code:
adb push filename.apk /data/local
adb shell
su
mount -o remount, rw /system
cd /data/local
cp filename.apk /system/app
chmod 440 /system/app/filename.apk
You will do the push for each file you removed, and also the cp and chmod, just replace the "filename" with the actual filename of the files.
Worst case, if you completely f' your phone up, you can restore the fxz, with RDS lite 5.6 or higher. At least this way you might learn something in the process.
Jim,
Let me ask you a quick question, pushing files with adb does the same as copy them using RootExplorer?
I tryed copy them with Root Explorer into system/app folder, still having problem.
Sent from my Transformer TF101 using xda premium
DanDem said:
Jim,
Let me ask you a quick question, pushing files with adb does the same as copy them using RootExplorer?
I tryed copy them with Root Explorer into system/app folder, still having problem.
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
No, you can not use root explorer, it does something funny when it copies those type of compressed files, an apk, is kind of like a zip, and that can be "extracted" so to speak and run, without taking the zip apart.
You HAVE to use adb to push the files, then use the unix/android cp command. Just use the code I posted exactly the way I have it, or it will not work.
DanDem said:
Thanks a lot for these links, I did found them before just hope not to go that path, I had faith in TB but looks like I shouldn't buy it.
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
The best way is before trying to remove system applications (showing in red in Titanium), freeze it with Titanium backup. And only if your phone is working perfectly with this app frozen, you might think about removing this app. But why to remove it if it does not take any resources when frozen?

Accidentally deleted bluetooth

I accidentally deleted bluetooth. I flashed(?) the stock recovery found in this thread http://forum.xda-developers.com/pure-xl/general/twrp-recovery-root-blu-pure-xl-allview-t3269447 and had no luck. I also tried factory resetting it. Any ideas on how to get it to work again? Whenever I try to enable bluetooth I get the "Bluetooth share has stopped working" error.
gasmp said:
I accidentally deleted bluetooth. I flashed(?) the stock recovery found in this thread http://forum.xda-developers.com/pure-xl/general/twrp-recovery-root-blu-pure-xl-allview-t3269447 and had no luck. I also tried factory resetting it. Any ideas on how to get it to work again? Whenever I try to enable bluetooth I get the "Bluetooth share has stopped working" error.
Click to expand...
Click to collapse
Do you mean you uninstalled one of the Bluetooth apps in System > Advanced Settings > Apps > All?
If so, please use some sort of root explorer app (you have to be rooted first) to navigate to either /system/app/Bluetooth or /system/priv-app/Amigo_Bluetooth and install whichever .apk that appears to be not installed. I believe this should fix your issue.
Short Circuit said:
Do you mean you uninstalled one of the Bluetooth apps in System > Advanced Settings > Apps > All?
If so, please use some sort of root explorer app (you have to be rooted first) to navigate to either /system/app/Bluetooth or /system/priv-app/Amigo_Bluetooth and install whichever .apk that appears to be not installed. I believe this should fix your issue.
Click to expand...
Click to collapse
Alright so the .apk file is missing from system/apps/Bluetooth. The one in amigo_bluetooth is still there
gasmp said:
Alright so the .apk file is missing from system/apps/Bluetooth. The one in amigo_bluetooth is still there
Click to expand...
Click to collapse
Interesting.
I've uploaded my /system/app/Bluetooth folder here. Could you please download that, extract the folder inside to somewhere, and either:
Push the folder via adb using the command adb push Bluetooth /system/app/ while your command prompt/terminal is in the same directory where you extracted the "Bluetooth" folder (cd DRIVE:\your\directory\path\Bluetooth (Windows) or ~/your/directory/path/Bluetooth (Linux) ).
or
Transfer the extracted "Bluetooth" folder to either your microSD or a USB Drive, plug it into your phone and move the folder to /system/apps using your root file explorer app.
Finally, install the Bluetooth.apk inside (which I'm assuming is the one you uninstalled since it is missing).
Let me know how it goes, thanks!
Short Circuit said:
Interesting.
I've uploaded my /system/app/Bluetooth folder . Could you please download that, extract the folder inside to somewhere, and either:
Push the folder via adb using the command adb push Bluetooth /system/app/ while your command prompt/terminal is in the same directory where you extracted the "Bluetooth" folder (cd DRIVE:\your\directory\path\Bluetooth (Windows) or ~/your/directory/path/Bluetooth (Linux) ).
or
Transfer the extracted "Bluetooth" folder to either your microSD or a USB Drive, plug it into your phone and move the folder to /system/apps using your root file explorer app.
Finally, install the Bluetooth.apk inside (which I'm assuming is the one you uninstalled since it is missing).
Let me know how it goes, thanks!
Click to expand...
Click to collapse
You just saved my phone's Bluetooth! Thank you very very much.
gasmp said:
You just saved my phone's Bluetooth! Thank you very very much.
Click to expand...
Click to collapse
Glad it worked!
Do I creat app folder?
I don't have a /system/app/ folder, just a /system folder with subfolders, none are called app.
Do I create the app folder?
degarb said:
I don't have a /system/app/ folder, just a /system folder with subfolders, none are called app.
Do I create the app folder?
Click to expand...
Click to collapse
Can you check again? Make sure you go to your system folder from your phone's root directory. It should contain almost all of the default apps installed on your phone when it came out of the box (with the rest of it being in priv-apps).
I have the exact same problem as the OP - I tried downloading the said file but my phone says the file is corrupt - can someone please send an updated version?
Same problem, file corrupt.
Bluetooth got erased because the system detected that the app was sending sms by itself (or so it said) and thus deleted it. I have the same problem as the one above, the file seems to be corrupt and can't install the .apk
Please, if there is another way to solve this say so.
Same problem...
I have the same problem as above, my phone detected the SMS permission and said it might cost you money and recommend an uninstall. I never realised I would be able to uninstall Bluetooth without being rooted but it did it anyway - maybe it's an android bug?
Anyway, I tried downloading your Bluetooth.apk and reinstalling but it said file corrupt.
Any help would be much appreciated! Sounds like this is a bug that's been going around...
Hello, I cant find the Amigo Bluetooth folder in /system/priv-app. So Can anyone please provide me the folder here
Also any other solution for re enabling the Bluetooth
Moto 4 Bluetooth gone
Same problem here
Did anyone found a solution yet?
https://forum.xda-developers.com/pure-xl/help/guide-unbrick-softbricked-blu-pure-xl-t3371981
following this thread will allow you to reload the factory rom to default settings, including all factory apps and files. this is a "OEM reset"
to the fullest, bringing phone back to factory sent condition. (be prepared to do a few ota updates when done)
pay attn and read the whole thread (Yes I know its long) especially when it talks about SP Flash tool...
tbirdguy said:
https://forum.xda-developers.com/pure-xl/help/guide-unbrick-softbricked-blu-pure-xl-t3371981
following this thread will allow you to reload the factory rom to default settings, including all factory apps and files. this is a "OEM reset"
to the fullest, bringing phone back to factory sent condition. (be prepared to do a few ota updates when done)
pay attn and read the whole thread (Yes I know its long) especially when it talks about SP Flash tool...
Click to expand...
Click to collapse
Thanks for the info.
I dont know yet if a simple apk via adb could fix the problem here instead of flashing the complete device
Fixed
Hey, I had a look elsewhere and found a forum on the Lenovo website (can't post link here), hopefully this will work for you too.
Basically you want to go to Settings>Apps>Reset app settings and that'll do the trick.
Good luck!

Please help me find where my phone is storing my apps

The apps I install don't appear in the usual place when I use a file explorer. I want to transfer some files for presets and backups for apps like tasker and kustom but my phone seems to be hiding the folders for any app I install somewhere where I can't find them. Any help would be appreciated thanks
/system/app
/sdcard/Android/data
*Detection* said:
/system/app
/sdcard/Android/data
Click to expand...
Click to collapse
Hi. Yes that's where they would usually be but I've installed around 30 apps and none of them are appearing there. It appears my phone is hiding them somewhere I can't access.
Kub3rt said:
Hi. Yes that's where they would usually be but I've installed around 30 apps and none of them are appearing there. It appears my phone is hiding them somewhere I can't access.
Click to expand...
Click to collapse
Have you tried the /data directory but that's if you're rooted.

Categories

Resources