Hi there
I'd like to make the lightest zip possible to install ONLY Play Store to an AOSP JB ROM (without Gapps).
What are the minimum apks and libs needed for google play to run on android ?
Thanks
Any chance ?
I did not thought I could be alone to look for that !
Well I guess that most of the people around are using the Gapps.
Long time ago, when I was on CyanogenMOD 7, I made this and I got 5 days of battery life But not remember which app they were exactly. For sure Play Store will not work standalone. But you can try to use a root explorer and start to copy the other apps one by one or in combinations until it works (you should to reboot after each change to see the effect). This is a slightly outdated article but may help you.
When you have the stuff working you can share the minimum required Gapps or directly attach a flashable zip for others to use.
Good luck
Pick a gapps zip, remove everything besides those 3 files:
GoogleLoginService.apk
GoogleServicesFramework.apk
Phonesky.apk
Or just push them to the device via adb
Just tested it on a Nexus 7 with freshly installed CM10
Related
Hi guys this issue has been in my wy for a while now but now ive decided to ask
. I run Aokp build 40 on my nexus s. I then install a gapps-ics2012*** file from goo.im and from a couple of other sites. Rom works beautifully as usual. But every single gapps i flashed after rom flash the install becomes successful, yet when i boot my phone the only gapps i c r google play,talk, and search. Nothing else. Please help me flash properly so ALL the gapps can show up (music, gmail, googlr plus, play books, maps etc.) Coz all i got now is google play and talk. I can dowbload them manually from play store but thats irritating n hacing a google phone is supposed to present u with pre installed gapps.
Thanks! Answer shall get thanks as usual; )
Nothing wrong here, that's how it's supposed to be. You always have to download Maps, Gmail etc via store. (They're not in the zip)
However, you can add them to the gapps-zip yourself: Download all the apps you need and then fetch the apk's from /data/app. Open the gapps-zip and there add them to /system/app. Next time you flash the zip, they'll be installed as sys-apps.
Only app this didn't work for me was Chrome, complained about something's missing. But since I don't use it anymore, I never cared to investigate.
Edit:
Should you make your own zip and there's an update of an app via store, the new apk will be placed in /data/app on your phone, overruling the one in /system. So to update the zip, get it, add it... Not exactly rocket science, right? ^^
Thanks alot!but i do think the jellybean roms will come with preinstalled gapps included in the roms?Like the GN jellybean rom ect
hi there, i got a problem where after i flashed gapps, after i reboot, an error appears saids ''unfortunately, setup wizard has stopped.''
can any please help me... sorry im still a newbie....
Do you mean when you have to touch the Android?
That can be fixed by touching the 4 corners of the screen!
rubenflush said:
Do you mean when you have to touch the Android?
That can be fixed by touching the 4 corners of the screen!
Click to expand...
Click to collapse
yeah I think in jb all gapps are included
@bony we need more info, Rom and gapps version, things like that. Also, if the Rom wasn't properly signed, then gapps won't work.
Any app that is available in the market is not included in the zip.
That's the way it is and there is no issue.
I'm using f-droid now, so no need for custom/small gapps anymore
If you're still looking to downsize your gapps, feel free to check out stuff like this as mentioned by b1k3rdude in the last post
Old Post Below:
So, you just installed this fresh ROM (most likely CyanogenMod-based) and you want to start using the market, but installing the stock gapps gives you alot of stuff that you plan on deleting and/or downloading anyway?
Fear not!
I present to you 4 update-scripts that will simply and only install Google Play without bloat on ROMs with no gapps installed - all the libs in the gapps-zips are left intact.
So you can start getting only those gapps you need via market and not waste precious space on /system.
Gingerbread (2.3.x): http://code.google.com/p/no-bloat-market/downloads/detail?name=gb-signed.zip
Ice Cream Sandwich (4.0.x): http://code.google.com/p/no-bloat-market/downloads/detail?name=ics-signed.zip
Jelly Bean (4.1.x): http://code.google.com/p/no-bloat-market/downloads/detail?name=jb41-signed.zip
Jelly Bean NEW (4.2.x): http://code.google.com/p/no-bloat-market/downloads/detail?name=jb42-signed.zip
If you are fine with leaving out the libs/permissions/etc (and maybe not being able to run all the gapps from the market...) you can just load the matching zip and adb push the 2/3 minimum requirements to /system/app
Thats the no-bloat version to just get the newest market and save even more space, but use it at your own risk.
The minimum needed apks are...
For Gingerbread:
Code:
GoogleServicesFramework.apk
Vending.apk
For Ice Cream Sandwich/Jelly Bean:
Code:
GoogleLoginService.apk
GoogleServicesFramework.apk
Phonesky.apk
All credit goes to the CyanogenMod-Team and RootzWiki for their Gapps-zips
This is fantastic, another step towards minimalism bliss! :highfive:
That's fantastic.
Good to know somebody actually found these useful
Also, not just a shameless bump: Updated the APKs to Google Play 3.9.16
Works brilliantly. Just what the doctor ordered.
Much appreciated.
Regards.
(Tested on latest PA CM10 on Sensation and S3)
excellent. works on CM9.
Updated the APKs to Google Play 3.10.9
Spleeno said:
Updated the APKs to Google Play 3.10.9
Click to expand...
Click to collapse
thanks for this! is awesome! i like this minimalism. i also use also the calendar and people sync. i've just realized that the simple copy in the /system/app folder isn't enough. Can you help me, please?
so, did you clean the cache and dalvik cache after pushing the files to /system/app?
and if you're using the script to push the files: I didnt include any delete routine, so you have to delete all of the preexisting files from the filelist (its meant for a clean cyanogenmod install after all...)
Spleeno said:
so, did you clean the cache and dalvik cache after pushing the files to /system/app?
and if you're using the script to push the files: I didnt include any delete routine, so you have to delete all of the preexisting files from the filelist (its meant for a clean cyanogenmod install after all...)
Click to expand...
Click to collapse
THANK YOU! :laugh: i didn't clean anything! i'll try as soon as i can!
Very Useful
Thank You Very Much
Just realized that they changed a few things with 4.2, so you can now download seperate updatescripts for 4.1 and 4.2
I notice that you also removed links to previous versions.
very good thank you!
ibub said:
I notice that you also removed links to previous versions.
Click to expand...
Click to collapse
If you want them I could upload the previous versions to goo.im or some other site, just wanted to keep the post clean and not too crowded with different downloads
No, the new version is great. Was just making an observation.
the thanks button is a good quick way to acknowledge that you've read a post. :thumbup: sent from the p509 that I thought I killed... just a temporary setback
Permissions
Hey thanks for your the zip. It works well. But I found a little misstake. You need to copy over the /etc/permission files otherwise a few apps in the market wont work (Incompability). At least for me they didn't.
The original idea was to waste as little space as possible and tbh I didnt think anyone would install a debloated gapps zip and afterwards load all those gapps via market
Main problem that I see here is that the size difference is quite a big one, like if I just replace the 3 apks in a stock JB 4.2 cm-gapps zip, get rid of all the unused apks and leave all of the libs/etc it goes down to 86 MB (from 104 MB) while my JB 4.2 zip is just 6 MB to start with...
I'll look into it for the GB zip, but not so sure about the JB ones.
mmittelb said:
You need to copy over the /etc/permission files otherwise a few apps in the market wont work (Incompability). At least for me they didn't.
Click to expand...
Click to collapse
Spleeno said:
The original idea was to waste as little space as possible and tbh I didnt think anyone would install a debloated gapps zip and afterwards load all the google apps via the market
Click to expand...
Click to collapse
I believe that quite a number of users want to have just the Play Store going, after a fresh ROM install, so that they have the opportunity to install the apps, including Google ones, as user apps.
Spleeno said:
Main problem that I see here is that the size difference is quite a big one, like if I just replace the 3 apks in a stock JB 4.2 cm-gapps zip and leave all of the libs/etc it goes down to 86 MB (from 104 MB) while my JB 4.2 zip is just 6 MB...
Click to expand...
Click to collapse
Didn't realize the permission files were that large, so d'you think the libs are required as well?
mixednuts said:
Didn't realize the permission files were that large, so d'you think the libs are required as well?
Click to expand...
Click to collapse
I'm not sure if all the libs get installed when installing gapps via google play, so its easier to play it save and just keep everything (except for the unused gapp apks so I can free up the /system a bit)
Will look into the whole thing over the weekend, expect some updates on sunday...
** I didn't make this ***
Just thought of posting here.
Credits to OMG!Droid for Uploading and Making the Flashable Zip.
All Google Apps from Android 4.2.
DOWNLOAD LINK
Video-
http://www.youtube.com/watch?feature=player_embedded&v=00xUH86sJV0
Instructions:
Note: This APK should work on Android 4.0+. You do need to be rooted.
The Gmail 4.2 APK is signed by Google, but with a different key than the one in the Play Store (we checked the signatures - they differ). One is probably the test key and the other the production key. For this reason, you can't simply install it as an update and therefore need to be rooted with the ability to mount the /system directory for writing in order to remove the existing Gmail APK.
Important: Once Google updates Gmail in the Play Store, you will want to revert this process or at the very least delete the Gmail 4.2 APK you installed here if you want to update it from the Play Store.
OK, let's get down to it. You'll probably need ADB installed on your computer. There is a chance that this might work without ADB by just removing the APKs mentioned below and installing the new one, but it didn't seem to work reliably for everyone. This should, though:
1. Download Gmail 4.2 apk.
2. Rename it to Gmail2.apk.
3. Make a Nandroid backup in case something goes wrong (this is always a good thing to do before messing with your device).
4. Remount /system for writing (via your favorite root-aware file explorer).
5. Delete (or move if you want to save the APKs) all other versions of Gmail. Usually there are 2 or 3 copies. One will be in /system/app (that's the original Gmail that was pre-installed on the device) and there may be a few in /data/app (these are the updates installed from the Play Store). They'll be called "Gmail.apk," or "com.google.android.gm-[number].apk," An easy way to tell is to look for the Gmail icon.
6. You may need to delete the .odex files matching the APKs in step 5 too, if you have them. Neither I nor Artem had to do this, but there are many different ROMs out there, and we're trying to cover all bases. Ignore this step and only come back to it if something doesn't work later.
7. Reboot. Once you do, you should have no Gmail as far as Android is concerned.
8. You can try to install the Gmail 4.2 APK you downloaded at this point by tapping it in your favorite file explorer (move the APK to your device first, of course). If that doesn't work, or if you prefer ADB, fire up a command line and type adb install Gmail2.apk.
If you get an error message, you probably didn't delete all copies of Gmail. If you don't feel like playing with ADB for Step 8, I've also gotten it to work by just copying the APK to /data/app, but that's not as fool proof as "ADB install".
Click to expand...
Click to collapse
Courtesy: http://forum.xda-developers.com/showthread.php?t=1933225
Click to expand...
Click to collapse
Wooow .. well done ..
Its work perfect .. great..
Sent from my GT-I9003 using xda premium
hider7 said:
Wooow .. well done ..
Its work perfect .. great..
Sent from my GT-I9003 using xda premium
Click to expand...
Click to collapse
Ah.! Enjoy
Sent from GT-I9003 powered by Titanium ROM + Titanium Kernel.
Thank you so much work very well on RemICS-JB
Envoyé depuis mon GT-I9003 avec Tapatalk
works good
hello , is there anyway to install play store on cm10.1 without installing gapps ??
i used to install the apk and it always ran fine ( v 4.0.26 or 27 smth like that ) but since the lates few updates it always crashes
i tried to push the apk into the system but also it crashes
this happnes to me with cm10 , cm10.1 ( nearly all roms )
or is there a way to remove all the things that i dont need from the gapps zip file and then install it ? , i tried to do it but failed miserably
aymanzz said:
hello , is there anyway to install play store on cm10.1 without installing gapps ??
i used to install the apk and it always ran fine ( v 4.0.26 or 27 smth like that ) but since the lates few updates it always crashes
i tried to push the apk into the system but also it crashes
this happnes to me with cm10 , cm10.1 ( nearly all roms )
or is there a way to remove all the things that i dont need from the gapps zip file and then install it ? , i tried to do it but failed miserably
Click to expand...
Click to collapse
you can try flashing the gapps package and then individually uninstalling the parts you dont want from system apps by using a file explorer such as ES file explorer...
but as far as i know to run the play store you need to login to google account.
The component it needs is the Google services framework. You cannot use the play store without it.
However....you can disable the parts you don't like. It involves more than just deleting apps you don't want though. You have to disable stuff in the Google services framework to really shut the unwanted components off.
Check the thread in my signature. Go to the 2nd of 3rd post where I have a list of questions. Find the one about wake locks caused by the Google services framework and check out then link in that question. That will tell you how to edit the Google services framework and get you started on that process.
If you follow that guide exactly as I have written it you will end up with basically only the play store working and all other Google apps shut down. It nearly eliminates Google wake locks and might have a positive impact on battery use as a result. The only catch is that your WiFi and data icons will always be grey. They won't change color when connected .
Sent from your phone. You should be careful where you leave that thing.
I figured that since it took me forever to figure out how to install GooglePlay store on the N9009, the dual sim China variant running 4.4.2 KK, and get it working properly I thought it'd be worth sharing with others who might want to do the same.
Things you will need:
Rooted N9009
Odin 3.07 http://forum.xda-developers.com/attachment.php?attachmentid=1168421
CWM Recovery http://downloadandroidfiles.org/download-n9006-cwm-recovery-6-0-3-70922-fix-adb-tar/
GAPPS I used CM11 GAPPS from cynanogenmods wiki found here http://wiki.cyanogenmod.org/w/Google_Apps
ES File Explorer/Root Explorer
You will need to flash a custom recovery through Odin. Run Odin with administrator privileges and click the PDA button. Locate the n9006-cwm-recovery-6.0.3.7(0922)-fix-adb.tar file and click start. Your phone should reboot. You should noticed that we're using the N9006 CWM recovery, which was the only one I could find that'd work with the N9009.
The problem I discovered when trying to flash GAPPS on the N9009 was that the priv-app cache was full and wouldn't allow all of GAPPS to install to /system/priv-app/. This is where I had to use a root explorer and delete a couple of apps from /system/priv-app/ For example, I deleted the Samsung gallery app and a couple other non crucial non-needed Samsung junk. Now you should be able to flash the GAPPS zip from CWM.
This was the best method I found for installing the GooglePlay Store and having it run correctly. I tried to install it manually by copying Google Play Services framework and everything over to the folders myself but kept running into the gapps has quite unexpectedly, google services has crashed, or the play store would just never connect.
maybe you can use the google installer in wandouji market
also need root
you will not trip knox and only need install an apk and let the software to do it.
[RE] maybe you can use the google installer in wandouji market
Well it did need all of the Google Services to run properly and I'm not sure whether Wandouija store would include them all or not. Also I can't really speak/read Chinese and I can't remember if the Wandouija store was on the phone already or not.
I just figured it would be best to flash it as a system app from twrp because there always seems to be less problems that way.
Maybe next time I have to add the play store to my bosses dual sim Chinese phone I'll try it that way.
detailed Instructions please
Smaril said:
I figured that since it took me forever to figure out how to install GooglePlay store on the N9009, the dual sim China variant running 4.4.2 KK, and get it working properly I thought it'd be worth sharing with others who might want to do the same.
Things you will need:
Rooted N9009
Odin 3.07 http://forum.xda-developers.com/attachment.php?attachmentid=1168421
CWM Recovery http://downloadandroidfiles.org/download-n9006-cwm-recovery-6-0-3-70922-fix-adb-tar/
GAPPS I used CM11 GAPPS from cynanogenmods wiki found here http://wiki.cyanogenmod.org/w/Google_Apps
ES File Explorer/Root Explorer
You will need to flash a custom recovery through Odin. Run Odin with administrator privileges and click the PDA button. Locate the n9006-cwm-recovery-6.0.3.7(0922)-fix-adb.tar file and click start. Your phone should reboot. You should noticed that we're using the N9006 CWM recovery, which was the only one I could find that'd work with the N9009.
The problem I discovered when trying to flash GAPPS on the N9009 was that the priv-app cache was full and wouldn't allow all of GAPPS to install to /system/priv-app/. This is where I had to use a root explorer and delete a couple of apps from /system/priv-app/ For example, I deleted the Samsung gallery app and a couple other non crucial non-needed Samsung junk. Now you should be able to flash the GAPPS zip from CWM.
This was the best method I found for installing the GooglePlay Store and having it run correctly. I tried to install it manually by copying Google Play Services framework and everything over to the folders myself but kept running into the gapps has quite unexpectedly, google services has crashed, or the play store would just never connect.
Click to expand...
Click to collapse
Hi Sir! Can you please provide a more detailed instructions sir? I seem to have a hard time installing Gapps. Will the n9006 rom compatible with my n9009 running lollipop v5.0? Please help me sir. This problem is already taking me forever to solve.
LINK error, update link please:angel: