Jump to content

Moving /system apps to /data


Recommended Posts

Guest whackster
Posted

Why doesn't simply moving apps from /system/app (e.g. Notepad.apk) to /data/app work? What else needs to be done to the .apk for it to work?

I'm using the 2.1 r7 and I see market has been moved to data partition, but I can't move any of the other apks and get them to work?

Guest Jan M
Posted
Why doesn't simply moving apps from /system/app (e.g. Notepad.apk) to /data/app work? What else needs to be done to the .apk for it to work?

I'm using the 2.1 r7 and I see market has been moved to data partition, but I can't move any of the other apks and get them to work?

you need to delete the relevant /data/dalvik-cache/system@app... file and maybe reboot.

Guest whackster
Posted (edited)
you need to delete the relevant /data/dalvik-cache/system@app... file and maybe reboot.

I did wipe dalvik cache from bootrecovery, and its still not showing up, but I can see the apk using root explorer.

could it have something to do with the permissions?

On the notepad.apk it says Owner:root Group:root, while on the other apks its Owner:system Group:system

Where does android keep count of the installed apps?

Edited by whackster
Guest whackster
Posted

What is the difference between adb install *.apk, and simply copying it or adb push the app?

Guest Speckles
Posted

I thought the only difference was that one requires root and one didn't, but I could be wrong.

  • 3 months later...
Posted
What is the difference between adb install *.apk, and simply copying it or adb push the app?

Pushing, you are just copying the single file to either /data/app or system/app. Some apps requires the proper installation procedure because it has to add support files, and they are located in /data/data. These files are not transferable from one android to another nor can it be saved as a back-up, as far as i can see. Also these files are some of your setting for that specified app. Other settings and files are also located on your sd card within Android directory, and these files can be backed-up easily.

I found your post as I was looking to manipulate, save, and reuse files and directories from /data/data/. I have not found it yet.

Posted
Pushing, you are just copying the single file to either /data/app or system/app. Some apps requires the proper installation procedure because it has to add support files, and they are located in /data/data. These files are not transferable from one android to another nor can it be saved as a back-up, as far as i can see. Also these files are some of your setting for that specified app. Other settings and files are also located on your sd card within Android directory, and these files can be backed-up easily.

I found your post as I was looking to manipulate, save, and reuse files and directories from /data/data/. I have not found it yet.

Yeah, that's of the cool things about apps2sd (that you can then easily get to "installed" apps and make copies of those to put into /data on modified roms). I just mount my sd ext2 partition and the installed apps are there to be copied for use later. But, that only works if it is a simple install that doesn't put something somewhere else into some other place (you need to know what all the original apk installs, and where it ends up in the rom). Sometimes unpacking the original apk's will let you see what all it in there and give you a clue as to what is going where. But you have to be smarter than me to make good use of all of that. (I.e. I'm not the sharpest tool in the shed, and I usually just have to ask a really smart person to help me.) :lol:

But, there's more than one way to skin a cat. :)

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.