I have a Gapps package that I have recently downloaded but i want to add my own apk to it, namely googleplayservices.apk. How do I do this?
stupot65 said:
I have a Gapps package that I have recently downloaded but i want to add my own apk to it, namely googleplayservices.apk. How do I do this?
Click to expand...
Click to collapse
Google Play Services is probably already in the Gapps package (as GmsCore.apk or PrebuiltGmsCore.apk or something similiar). Still, if you want to add it, just open the Gapps package .zip (with an archive manager like WinZip) and navigate to the folder "system", and then to "app" (inside the system folder). You should delete the existing Google Play Services apk inside the Gapps package, or else you may get some FCs once you flash the modified package (because there would be two different versions of Play Services installed).
Related
I like the minimal devoid ROM since I can install only the apps that I actually use, but I have one app that I can't figure out how to install: Calendar.apk, the stock Android calendar.
Things I've tried:
1) Installing the apk from /sdcard/void/resources/gapps/apk/ from my void installation. This fails in the App Manager with the completely unhelpful message: "Application not installed"
2) Installing the gapps-gb package from mik_os's CM 7 port. This can be flashed and some of the apps install just fine, but not the calendar.
3) Installing the gapps-mdpi package from CM 6. This seems to be a better fit with the Froyo in devoid but like above, it installs a great many of the gapps, but not Calendar.
Has anyone managed to install the stock Android Calendar program under devoid? How?
flash the file attached,
it contain some originals apps:
Calendar
SoundRecorder
MoviePlayer
MusicPlayer
It looks like this contains only the CalendarWidget.apk. I flashed it anyway and it indeed does install the CalendarWidget along with the other apps, but not the calendar application. Thanks, though.
Your zip did give me the idea that I could just try to copy the APK files into /system/app. This worked. Now I can get started adding the rest of the apps I need.
can you teach me how to add those gapps in more detail? i have copied them to system/apps, then what's the next?
Hello, you only have to follow the instructions from the http://forum.xda-developers.com/showthread.php?t=887281
Tutorial: How to flash only some sapps
1. Grab the sapps/gapps package
2. Extract it
3. Go to the extracted folder "/system/app/" and delete the applications you don't want to flash
4. Use the above program (zipsigner) to create a CROM.zip, put the extracted files there so you have 2 folders on the root of the zip: META-INF and SYSTEM. Then sign it and it should create a CROM-s.zip.
5. Rename the CROM-s.zip to MySapps.zip, put it in sdcard and flash.
Click to expand...
Click to collapse
I attached the file that I used to flash calendar, and other apps
Calendar
Thanks a lot. This solved my problem for devoid
thank you very much ! iam enjoying my phone with the calendar !
Sent from my LG-P500 using XDA App
Does anyone know an idiot's guide/tool for unpacking a rom, removing unwanted apk's and then repackaging it suitably for install. I can unzip and remove the apk's from the system/app but the problem I have is zipping the package up suitably for install, I understand that the package needs to be signed and I have seen a few guides using openssl and SignAPK but couldn't get a package that would install.
I know I can uninstall some of these apps using an uninstaller app but I would prefer they just weren't in my rom in the first place so I have a relatively clean rom - my phone is basically a glorified mp3 player that occasionally makes some calls and send the odd text so there are a fair few things I just don't need to be installed on the phone.
On my mini pro I'm using the SonyStyle GB rom
http://forum.xda-developers.com/showthread.php?t=1151499
Any help will be appreciated.
stikkki said:
Does anyone know an idiot's guide/tool for unpacking a rom, removing unwanted apk's and then repackaging it suitably for install. I can unzip and remove the apk's from the system/app but the problem I have is zipping the package up suitably for install, I understand that the package needs to be signed and I have seen a few guides using openssl and SignAPK but couldn't get a package that would install.
I know I can uninstall some of these apps using an uninstaller app but I would prefer they just weren't in my rom in the first place so I have a relatively clean rom - my phone is basically a glorified mp3 player that occasionally makes some calls and send the odd text so there are a fair few things I just don't need to be installed on the phone.
On my mini pro I'm using the SonyStyle GB rom
http://forum.xda-developers.com/showthread.php?t=1151499
Any help will be appreciated.
Click to expand...
Click to collapse
Open the zip in something like 7-Zip or WinZip or windows or whatever the default archive manager is on linux, delete the files you want and close it then install. that's it, signing is done on creation by the dev and isn't like a MD5 so it doesn't matter if you modify it
X10man
what i do is i have winrar and i just double click the rom zip file then go to system then go to app then delete the app (and the odex file if it has one) that simple and if you want to add an app just hit add (provided your still on system>app folder) browse to the apk file you want to add then hit hit ok. hope that helps
Cheers guys - from what I had read I thought I had to re-sign the package once I had edited it.
I am trying to sell my theme on Google Play, but it installs in mnt/asec, which crashes it. I created a apk as an installer which is downloaded from the google play store. Once it is downloaded it, the app will show up in the homescreen. The user has to open it, and it will give the option to install the actual theme i put inside.
APK (Installer)
assets/android_secure_cache.apk
android_secure_cache (is my actual theme) which should install in system/app.
I have signed both the installer and theme with APK Signer, and they both have the same version with package name as well.
and my error when installing is this: an existing package by the same name with a conflicting signature is already installed
I just added a new version number in the android manifest.
is anybody out there?
After update my LG G6 (LG-H870) from nougat to oreo, I've have problem with integration updated apps in to /system.
I do it like this:
1. copy apk file from data/apk to sd card
2. rename copied apk file to name of /system apk
3. extract lib folder from apk
4. copy newer file to proper folder in /system/app or /system/priv-app and replace file in it
5. Copy lib files extracted form apk to right folder /system/lib or /system/lib64
6. Uninstall update from /data/app
7. reboot + dalvik-cache wipe
In nougat it was working, but in oreo, app after integration, breaks. It cannot be open, and app name changes to random words (ex. google docs name changes to "write com.android").
To repair integrated apps I have to perform a full /data/ wipe.
Is it a some kind of protection? How to do it properly?
TitaniumBackup and Link2SD cannot integrate updates to rom properly without errors since Lolipop.
Hi
I'm trying to flash a couple of older devices with Lineage OS. So far I have trimmed down the OpenGApps as much as I can so that there is room for my additional apps zip archive that contains Google Play Store apk's.
The problem I have is that whilst using TWRP to flash the zip, only the '/System/App' or '/System/Priv-app' directories actually contain the freshly copied apk files, whereas the '/data/app' folder only contains empty folders named after the package names e.g. '/data/app/com.adobe.reader/' and no apk inside.
Why is TWRP only allowing me to install apps into the System directory? The user app partition is so much bigger but being able to flash them without having to install the manually via the Play Store save so much time.
Could someone shed some light on this please.
Many thanks
Will
Sent from my LG-H930 using Tapatalk