hi there,
i run a custom rom, pacman nightly android 4.2.2. I have found serveral points to download the gapps package and i have found some wiki information about the packages.
http://wiki.cyanogenmod.org/w/Gapps
http://www.teamandroid.com/gapps/
http://wiki.rootzwiki.com/Google_Apps
But there all include a lot of apps that i don't want. and always flash the completed zipp and delete the unwanted apps are annoying.
So my question is, how can i create my own package with only the apps needed to run the play store?
thanks Micha
Edit the gapps .zip file the way you want it to be.
i have tried this for a while, but it did not work. i cant flash the zip, there are eroors.
bevor i have created the new zip i have edited the manifest file an deleted all not needed infos.
also i not really know which apps are needed to run the play store.
must i recreate the zip with a special tool?
TIA
Micha
Here
http://forum.xda-developers.com/showthread.php?p=40497168
Sent from my ST23i using xda premium
Related
I wasn't able to find info about this until now. But I need to know how to make the apks I include in a rom removable. I guess, maybe, I have to copy into a different folder instead or /system/app. is it right?
thanks
you have to install it in data directory not in system directory. so data/app
ok, thanks, but, if it doesn't exist, should I create it?
no u should not create it because then it wouldnt be a proper directory for your rom, the rom may not recognize it, i think.
which rom are you on? most rom has a data directory, that is where third party apps are installed and where apps downloaded from the market is also installed
this one
http://forum.xda-developers.com/showthread.php?t=556962&highlight=enomther
ok i see what u mean when there's no data directory. what you should test out first is go to market and download an app. then see where that app is install. see if it created a data directory or not. it should...
I had a look using root explorer, and there is a folder in the root called /data/app , and there inside are every installed apk, even the ones I installed by astro...
and there is another one called /data/data where I find folder of every app too
ANd another one called /data/app-private (there I found one apk that I downloaded from market.
I try to download a new one
Yup put your apks in data/app
on a related note, is there any way to flash unsigned ROMs? like if I want to drop .apk 's into the data folder of a rom before flashing?
The_Chrome_Coyote said:
on a related note, is there any way to flash unsigned ROMs? like if I want to drop .apk 's into the data folder of a rom before flashing?
Click to expand...
Click to collapse
I think no, but have a look for a program called autosign.
It very easy
NguyenHuu said:
Yup put your apks in data/app
Click to expand...
Click to collapse
but it only appear in my phone,not in the files of the rom.
Anyway I'm going to ask enomther, the creator of the rom, maybe he can help me
joshuas_79 said:
but it only appear in my phone,not in the files of the rom.
Anyway I'm going to ask enomther, the creator of the rom, maybe he can help me
Click to expand...
Click to collapse
ok your running a reg rom system, thus meaning 1.5/1.6 non hero. i can teach you step by step on how to set up "signing .zip's". its super super convenient!! i promise and its not to hard. just pm me if you need help. its way way easier to flash a rom with whatever apk you want then to push them and hope you pushed them to the right spot.
Hi all.
I play with quite a few different roms, and currently add a little program apkinstaller to the rom before I load it.
I use the apkinstaller to first re-install TB off the SD card, and then I use TB to re-install everything else, then I go setup my accounts for market and syncing (don't need the cloud servers to do the re-installs wasting bandwidth).
It would be even better if I could put this apkinstaller and TB into a zip file which I could install after loading the rom.
If I can get it to load from a zip file, then I wouldn't even need the apk installer; I would just install TB from the zip file, reboot, and reload from there.
Where can I find information about what I need to do in a zip file to install an apk?
Thanks all.
Yeah I have the same question. Any one have any suggestions?
no-one able to assist
Seems there isn't much interest in replying - I assume this rather than no-one actually knowing.
I need my post count up anyway so I might as well reply with what I have seen. There was a thread somewhere else that I saw someone had a fresh_install.zip script to delete a set of files, and add launcher pro. I guess I need to pull that apart and see what I can work out from it. I only want to do the single file add, so it hopefully will be simple.
easier solution already available
Adding to my own thread again in case anyone else is interested.
I have been looking at the file, and have information about what would need to be done, but now find an easier alternative. It seems that many (most?) of the file managers have an apk installer built in. The roms typically come with a file manager, so I can just use that to start off my re-install process- nothing else required.
Will probably still play with the .zip file though just to understand what it needs.
I just installed the latest JB file from CM10, as announced on the site. The installation went smoothly, and without any problem. However, in the instructions provided, there was a link to the Google Apps for this version, named gapps-jb-20120717-signed.zip. I also downloaded the file, and it is also put under /sdcard on my tablet. But I can't install this zip file. I have CWM version 5.8.3.1 installed, which seemed to work fine with this CM JellyBean. I am getting an error message about the zip file when trying to install the Google Apps file mentionned above. On the announcement page with the links to download the files, they only give the links to the two -signed.zip files. I assumed that both zip files should be installed the same way, but it appears they are not. Can anyone help me ?
NB: I use the Samsung Docking station/keyboard. Anyone had any issue with this before ?
Thank
Extract the apk's from the zip folder and install them normally! Few apps won't install this way. Put those apk's in "system/app" and change the permission to rw-r--r--
Reboot your phone and the apps should be there!
Sent From My Galaxy SL Running CM9
Bad file
Although the file was pointed properly in the page, the actually downloaded file had a mad MD5 checksum, which was not displayed on the download link, only on the download page. I also noticed that after restarting, I had a strange display, where instead of having the default green wallpaper, I was having lines of random color bars. Another reboot, and it now seems to be fine again.
I also mentioned that I have this Samsung keyboard that attaches to the tablet, and has a replication port. The keys on the top, like Back, Home, etc, seem to work only half the time. More testing will be required on this.
Good Idea !
TopDroid said:
Extract the apk's from the zip folder and install them normally! Few apps won't install this way. Put those apk's in "system/app" and change the permission to rw-r--r--
Reboot your phone and the apps should be there!
Sent From My Galaxy SL Running CM9
Click to expand...
Click to collapse
That's an idea, and I will also look at this. I guess this is what will give me the Google Apps program so I can re-download and/or reinstall the programs that I used to have under HoneyComb 3.2.
Thanks. I will try this too. :
I've searched all over the net but to no avail.
I want to add some apps into the /system/app folder of the ROM, but whenever I flash the ROM (I did all the procedures - sign the ROM and all), the apps do not work. Instead, they force close everytime I try to open them, and in App Manager, they have absolutely no storage at all - they're blank. 0MB.
I extracted the 31/08/2012 nightly build of CM10 for Samsung Galaxy Mini, then edited all that I needed before compressing and signing the .zip file. However, that doesn't seem to work, although I can flash the ROM.
Is there a way where I can add in my own apps (as system apps into /system/app) and remove selected ringtones(.ogg)? A tutorial would very much be appreciated! Thanks in advance
Brilliance8257 said:
I've searched all over the net but to no avail.
I want to add some apps into the /system/app folder of the ROM, but whenever I flash the ROM (I did all the procedures - sign the ROM and all), the apps do not work. Instead, they force close everytime I try to open them, and in App Manager, they have absolutely no storage at all - they're blank. 0MB.
I extracted the 31/08/2012 nightly build of CM10 for Samsung Galaxy Mini, then edited all that I needed before compressing and signing the .zip file. However, that doesn't seem to work, although I can flash the ROM.
Is there a way where I can add in my own apps (as system apps into /system/app) and remove selected ringtones(.ogg)? A tutorial would very much be appreciated! Thanks in advance
Click to expand...
Click to collapse
For the ringtones, you can simply delete them. For the apps, you need to make sure they're compatible with your Android version/device and they must also have the correct permissions.
What sort of apps are you trying to add?
Theonew said:
For the ringtones, you can simply delete them. For the apps, you need to make sure they're compatible with your Android version/device and they must also have the correct permissions.
Click to expand...
Click to collapse
How do I get the correct permissions? (How do I tweak them?)
aka_bigred said:
What sort of apps are you trying to add?
Click to expand...
Click to collapse
Things like replacing Trebuchet with Launcher Pro, basically replacing apps of my choice and adding in some more like Go Keyboard.
On my previous phone I had installed Cyanogenmod 10.2.1.3-serranoltexx. This ROM contains a built-in browser "com.android.browser" (version 4.3.1.). I like this browser and I also want to install it, or a newer version, on my brand new rooted phone. Unfortunately I couldn't find it in the play store. Does anyone probably know where I can find the browser-APK?
I found the browser-APK in the cyanogenmod 10.2.1.3 zip-file and made a copy on the sdcard. But while installing I got the following error: "App not installed. An existing package by the same name is already installed”. I’ve searched on the root directory but I can’t find a file or app with the same name…
Is it possible to install the APK e.g. by renaming the package name? Or is there another work around to install the browser-APK?
NL_henk said:
On my previous phone I had installed Cyanogenmod 10.2.1.3-serranoltexx. This ROM contains a built-in browser "com.android.browser" (version 4.3.1.). I like this browser and I also want to install it, or a newer version, on my brand new rooted phone. Unfortunately I couldn't find it in the play store. Does anyone probably know where I can find the browser-APK?
I found the browser-APK in the cyanogenmod 10.2.1.3 zip-file and made a copy on the sdcard. But while installing I got the following error: "App not installed. An existing package by the same name is already installed”. I’ve searched on the root directory but I can’t find a file or app with the same name…
Is it possible to install the APK e.g. by renaming the package name? Or is there another work around to install the browser-APK?
Click to expand...
Click to collapse
Yes. You can install these browser apk by changing name and package name of app. You need to sign these apps too.
You can use apk editor app to change package name and it automatically sign your app.
Ashwinrg said:
Yes. You can install these browser apk by changing name and package name of app. You need to sign these apps too.
You can use apk editor app to change package name and it automatically sign your app.
Click to expand...
Click to collapse
Great! Do you also have some tutorial or website with more information?
I renamed the apk and all package names. Now I tried to recompile the APK, but I got an error: "Resource is not public".
How can I fix this?