Guys. If I have to wipe all my phone data but I don't want to reload all those apks from market. I just investigated all my apks is inside /data/app directory.
Would this work to just back up all files from /data/app and then, after the wipe, just install them all again via APKInstaller?
ASTRO
Check out the app, ASTRO. It will let you backup the apk files onto the sdcard and you can reinstall from there. Atrackdog is also good for tracking versions.
Otherwise, are not apk files located in /system/app?
Only the apps included with the firmware are in /system/app. installed applications are at /data/app. And yes, you can back them up, and copy them back in after a wipe.
JesusFreke said:
And yes, you can back them up, and copy them back in after a wipe.
Click to expand...
Click to collapse
Thanks a lot!
Related
i am moving my apps to the sdcard obviously, and when i copied my apps to the sdcard(cp -R /data/app/ /sdcard), i get a zip file for one of the apps. it should be an a apk. but the res, resources, and the android manifest, are all in this zip folder and i dont know a way to install that app to my sdcard to make it work.i tried the package installer on the phone, it worked by recoginzing the app but it said install uncessfull. so does anyone know a way so i can install the app someway or get it to a apk. format?
id appreciate it very much and thank you!!!!
mybackup saves backups in a "zip" file, could this be what you are seeing?
davidhooper4 said:
i am moving my apps to the sdcard obviously, and when i copied my apps to the sdcard(cp -R /data/app/ /sdcard), i get a zip file for one of the apps. it should be an a apk. but the res, resources, and the android manifest, are all in this zip folder and i dont know a way to install that app to my sdcard to make it work.i tried the package installer on the phone, it worked by recoginzing the app but it said install uncessfull. so does anyone know a way so i can install the app someway or get it to a apk. format?
id appreciate it very much and thank you!!!!
Click to expand...
Click to collapse
i noticed the paid apps are showing up in /data/app as *.zip and in /data/app-private as the *.apk .. things like pac-man etc
After testing a Hero rom and unhappy I decided to restore my nanroid backup.
Upon doing so the apps were missing but said they were already downloaded in the market.
But the area to download or uninstall is grayed out.
I was able to restore all but a few paid apps and theyre protected and wont download with Linda file manager and other similar file managers. It recognizes the app but fails to install. Also, noticed theyre in ZIP form instead of APK.
Does anyone know how to fix this??
It happens when you did the Nandroid restore and the corresponding apks were not in your /data/app folder. You could try finding the files and pushing them to your phone or try wiping, reflashing and reinstalling all those apks and THEN doing the nandroid restore. Hope that helps and I'm sure there is a better way.
phreke said:
It happens when you did the Nandroid restore and the corresponding apks were not in your /data/app folder. You could try finding the files and pushing them to your phone or try wiping, reflashing and reinstalling all those apks and THEN doing the nandroid restore. Hope that helps and I'm sure there is a better way.
Click to expand...
Click to collapse
If I were to find the files how do I push them to where they belong?
I'm using Fresh Rom 2.1 and I accidentally used Fresh Kitchen to install a 1.5 version of Sprint TV and the Sprint TV Widget on my Hero. After the automatic reboot, it goes to a black screen and never finishes booting.
After talking with fresh, i used adb to remove the Sprint_TV.apk and Sprint_TVWidget.apk from the system/app directory but the phone still does not boot.
Do the apk's need to be unregistered somewhere? Is there anything I can do to get this to boot without using a nandroid restoration? (my last one is two months old :/ )
re:
have you tried also removing the .odex of those files. I dunno if it would acttally make the .odex's during boot but worth a try right?
where are the odex files located? sorry for still being a little noob at the FS
In my honest opinion, this is why noobs shouldn't learn how to mod their phones with 1-click solutions. You learn more about the phone doing it the manual way.
But to answer your question, the .odex files are in the same directory that the app itself was. For example, Cats.apk and Cats.odex are both in /system/app. The commands to remove them would be:
adb shell
cd system/app
rm Cats.apk
rm Cats.odex
Please note that I'm only using Cats.apk and .odex as an example
Check /data/app and /data/app-private for any thing to do with the apps.
Try to wipe dalvik cache and reboot first.
@mrinehart - all us noobs have to start somewhere but thank you for the location of the odex files. After doing an ls determining the name of the apk file the first time, no odex files were listed in that directory.
@Jus10o - There was a second copy of Sprint_TV.apk in the data/app-private. I removed this file and the phone still did not want to come up. At this point i'm assuming its not necessarily the app that corrupted the boot but the way it was installed. I'm doing a factory reset and starting over tonight.
Thank you both for your time!
savesheep said:
@mrinehart - all us noobs have to start somewhere but thank you for the location of the odex files. After doing an ls determining the name of the apk file the first time, no odex files were listed in that directory.
@Jus10o - There was a second copy of Sprint_TV.apk in the data/app-private. I removed this file and the phone still did not want to come up. At this point i'm assuming its not necessarily the app that corrupted the boot but the way it was installed. I'm doing a factory reset and starting over tonight.
Thank you both for your time!
Click to expand...
Click to collapse
I hope I didn't come off as rude but before you RUU (if thats what you mean by factory reset), try clearing your dalvik-cache and wipe DATA.
It's alright, you had a valid point.
Unfortunately I didn't see the first post about clearing the dalvik-cache folder It's been almost a day without the phone so I had to go ahead and RUU it.
HOWVER, I DID do a nandroid backup of the system while it was in its reboot loop phase. I'm very curious as to what caused it and if clearing the dalvik-cache folder would fix it or not so I may revert to that nandroid backup at a later time just to attempt a solvent. I'll update you if I do.
Thanks again
Hi all,
In order to show the SMS's sent timestamp, I replaced the system's messaging app with handcent message. I backup all the following apps with Titanium backup, and uninstall them by Titanium uninstalling function.
Conversations.apk
Messaging.apk
MessageWidget.apk
UniversalInbox.apk
But the Titanium backup failed to restore the system messaging app after experiment. When i want to restore the apps referred ahead, the Titanium frozen.
And I extract all the apps from a ROM, and want to restore them by "Systemapp Remover". The remover show success, and i reboot the phone, but nothing changed. and i found in the systemapp remover interface, all the 4 apps' status were "disabled".
I think a backup from a running Atrix 2 will help my restore all the apps.
so does anybody can backup all the four system apps by "Systemapp remover", zip the SD:\SystemAppBack folder, and email the zipped file to me. and i will try restore them.
Thank you in advanced, i do not want to reflash my phone. Thank you in advanced.
my email : [email protected] or [email protected]
First off, you should never uninstall or delete system apps, you should always freeze them, that way if you have a problem and need them later you can just defrost them.
Second, the core phone apps like messaging and dialer should never be frozen or removed, they are needed even by replacement apps such as Handcent.
Third, you can get those apps from any ROM that still has the stock apps such as SCv6 or better yet the Stock Monster which is in the Themes and Apps section. Just download, then unzip the ROM and go to the /system/app folder. If you get it from a de-odexed ROM just grab the apk files, if you get them from an odexed ROM (such as The Stock Monster) make sure you grab both the apk and the odex files for each app.
Lastly, please research before doing things to anything in the /system folder...messing up something there is a sure fire way to get stuck in a bootloop or softbrick.
lilhaiti said:
First off, you should never uninstall or delete system apps, you should always freeze them, that way if you have a problem and need them later you can just defrost them.
Second, the core phone apps like messaging and dialer should never be frozen or removed, they are needed even by replacement apps such as Handcent.
Third, you can get those apps from any ROM that still has the stock apps such as SCv6 or better yet the Stock Monster which is in the Themes and Apps section. Just download, then unzip the ROM and go to the /system/app folder. If you get it from a de-odexed ROM just grab the apk files, if you get them from an odexed ROM (such as The Stock Monster) make sure you grab both the apk and the odex files for each app.
Lastly, please research before doing things to anything in the /system folder...messing up something there is a sure fire way to get stuck in a bootloop or softbrick.
Click to expand...
Click to collapse
Wait! The (now defunct) Stock Monster doesn't have those apps... Try Romulus if you are still on stock odexed, or Remus if you are deodexed - they both have most of the stock apps.
Also, you need the classes.dex file in the deodexed apks, so you couldn't just grab the apks only from the Stock Monster anyway if you are deodexed.
In fact, are you odexed or deodexed? I could throw those apps in a CWM recovery zip real quick for you...
Hi alteredlikeness,
Thank you so much.
but i used systemapp remover instead of recovering the zip file sent by you. But the same, all the 4 apps restored, but status were "disabled" even if rebooting the phone.
I'm wondering whether there was a file recorded the system files' hashing key? so i restore the file with system app remover always fails.
gjgj said:
Hi alteredlikeness,
Thank you so much.
but i used systemapp remover instead of recovering the zip file sent by you. But the same, all the 4 apps restored, but status were "disabled" even if rebooting the phone.
I'm wondering whether there was a file recorded the system files' hashing key? so i restore the file with system app remover always fails.
Click to expand...
Click to collapse
I have no experience with systemapp remover.. did you try to flash the zip through cwm recovery?
My thought is maybe the permissions are not correct.. you can check and change the permissions with root explorer, or use the "fix permissions" option in cwm recovery.
Sent from my phone's mind
alteredlikeness said:
I have no experience with systemapp remover.. did you try to flash the zip through cwm recovery?
My thought is maybe the permissions are not correct.. you can check and change the permissions with root explorer, or use the "fix permissions" option in cwm recovery.
Sent from my phone's mind
Click to expand...
Click to collapse
Browse the /system/app/ directory with Root Explorer, all the 8 files permission were correct, and i reboot the phone, but all the apps were still disabled.
Thank all, i had recover all the files from a backup files from the same version. Maybe android will check the system apps' version or MD5 hash.
So now that I've jumped into trying new ROMs, aside from Titanium Backup and the like, is there a way I can "pre-install" apps/apks much like slipstreaming a Windows install?
A lot of the basic stuff that I'll download immediately (maps, drive, chrome, facebook, etc) - I have the apk files...can I just open up the ROM's zip file and insert them into data/app or system/app? If I just back up everything via TB, is it just the same?
Place it in system/app then when you flash it you will have those apps pre-installed.
Evi1Yoda said:
So now that I've jumped into trying new ROMs, aside from Titanium Backup and the like, is there a way I can "pre-install" apps/apks much like slipstreaming a Windows install?
A lot of the basic stuff that I'll download immediately (maps, drive, chrome, facebook, etc) - I have the apk files...can I just open up the ROM's zip file and insert them into data/app or system/app? If I just back up everything via TB, is it just the same?
Click to expand...
Click to collapse
copy apk files only in /data/app because /system/app is reserved from system applications and /system partition doesn't have to much space or you'll be overwhelmed also don't forget to sign .zip file -your rom if not CWM will refuse to flash it also to sign .zip archive take a look at this post
hmm...is there any way to get the apk's from the phone? Can i copy them from data/app from my phone and then put them in the rom zip file?
z3nith66 said:
hmm...is there any way to get the apk's from the phone? Can i copy them from data/app from my phone and then put them in the rom zip file?
Click to expand...
Click to collapse
Yeah.
Nice, thanks guys. I'll give it a shot tonight on a new ROM and see if it helps cut down on installation/download time.
Evi1Yoda said:
Nice, thanks guys. I'll give it a shot tonight on a new ROM and see if it helps cut down on installation/download time.
Click to expand...
Click to collapse
Good luck mate! :good: