Install apps at flash

adamhos

Well-known member
Jul 30, 2012
645
22
0
Visit site
Way over my head but,
if I want to put my preferred apps in a 'rom .zip' I download, can i.? Before I flash

I know that's probably rom building 101, forgive my noobish question!

is it just an apk file or is there more to it than that?

thanks

Sent from my LG-VM670 using Android Central Forums
 
Last edited:

clodfelterac

Samurai Dev
Jan 3, 2012
729
206
0
Visit site
sure... youll need the com.app... (system/data)
dont extract the zip... just open it (gedit/7zip), navigate to system/app, drag/drop the apks that you want into the zip... update zip if prompted...
 
  • Like
Reactions: adamhos

LeslieAnn

Android Developer
Feb 8, 2011
2,895
1,720
0
Visit site
Yes you can and yes it is just an APK.
If the rom has a Data folder, you can figure it out. My roms usually have this folder in the rom already. If your rom doesn't have it, you can copy the folder and the appropriate lines from the installer (META-INF\com\google\android\updater-script) into another rom.

Some apps do not like being placed in data/apps, some refuse to work from stem/apps.

My advice is pull apart Harmonia and look at the folder structure and the installer structure.
These are the lines that need to be added to the installer script
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
 
  • Like
Reactions: adamhos

Forum statistics

Threads
943,097
Messages
6,917,250
Members
3,158,819
Latest member
Nanran21