Install Google Maps API without Google Talk etc. - Android Q&A, Help & Troubleshooting

Hi,
Is it possible to install Google Maps API (required by several Apps) without installing the garbage integrated in gapps package?
I use CM7.
MaR-V-iN

Just yank what you don't want out of the ZIP or remove everything that is safe to remove with adb or TitaniumBackup.. follow these guidelines http://wiki.cyanogenmod.com/wiki/Barebones

Thanks for the link, but that actually couldn't help me: I only want the Google Maps API, but I can't find those files. (I need api for some app requirements). I tried only installing the framework file, permissions xml and Google maps app, which allows you to use the original Google Maps app, but none of those requiring the Maps API...
Any help would be great.
MaR-V-iN

Related

[Q] Installing just Google Play (Market) without other GApps

Hi All -
I would like to install just Google Play (Market) without the other GApps. I tried a couple of APKs that I found floating around the forums, but none seem to work.
Are there some additional dependencies (like the Google account, for example) which I need to install in order to use Play? I am trying to avoid any Google synch and also don't need GMail, Talk, etc. Installing them just to remove them with Titanium or something seems counter-intuative.
Any help, ideas, or links are greatfully received.
Kind regards,
travis
Just to reply to myself...
I am running either CM 9.1 or 10 M2 on a Nexus S. GApps are not installed.
Feel free to edit the gapps.zip file to remove whatever apks you don't want, before you flash it. Even if you flash it as is, you can always remove the Google apps you don't want.
post-mortem said:
Feel free to edit the gapps.zip file to remove whatever apks you don't want, before you flash it. Even if you flash it as is, you can always remove the Google apps you don't want.
Click to expand...
Click to collapse
Thanks for the quick answer!
Are there any dependancies to be aware of (other GApps, something for the Google account so it can be called by Play, etc)? I assume I need to turn off signature verification as well, since the new zip won't be signed, right?
ttmooney said:
Thanks for the quick answer!
Are there any dependancies to be aware of (other GApps, something for the Google account so it can be called by Play, etc)? I assume I need to turn off signature verification as well, since the new zip won't be signed, right?
Click to expand...
Click to collapse
No need, they should work...Edit it( add,remove apps) then flash....
I remember once to install Google play on my emulator, I also had to install the Google services framework apk.
Sent from my GT-N7000 using Xparent SkyBlue Tapatalk 2
google feedback.apk
google services framework.apk
setupwizard.apk
and of course vending.apk
if you need auto update version just include marketupdater.apk

How can I install Google Play Services/Google Play Store on a phone with just AOSP?

I need to pair a watch with a phone that has just AOSP flashed on it and so I'm trying to figure out if/how I can install Google Play Services/Google Play Store onto the phone. (In order to pair the watch with the phone I need to install the Android Wear App, but I can't do that if the phone doesn't have Google Play Store/Google Play Services installed).
My phone is a Nexus 5 with the Lollipop AOSP installed, so I just tried installing the GSP apks using adb but I keep getting error messages that GPS has stopped running.
I'm an iOS developer and new to Android and have been searching for days how to solve my problem without success, so I'd be grateful if somebody could help me with the following questions:
1) If I get Google Play Services and Google Play Store apks from somewhere like apkmirror.com and install them will I be able to access the Android Wear app on Google play and download/install/run it?
2) If not then if I get the Android Wear app itself from somewhere like apkmirror.com and install it along with GPS will the Android Wear app run?
3) When I try to install GSP why do I get the error messages about it stopping? Are there other dependent components I need to also install to make it run?
4) Can I install it using adb or do I have to install it using a recovery? If so, then why does a recovery have to be used to install it, whats the difference between installing via a recovery and installing via adb?
Thanks for any insight, I'm getting nowhere and getting frustrated trying to work all this out.
I had exactly the same problem and could solve it.
I described my solution here:
https://code.google.com/p/aosp4nexus5/wiki/AOSPforNexus5
The documentation describes two alternatives:
1. Manual installation which is lost with every new flashing of the system image
2. Integration in the build process to create a system image including Google Play Store as vendor-specific prebuilt APKs
Thanks, I'll try it out
Do you have any ideas where I could get GoogleServicesFramework.apk from?
Places like apkmirror have GooglePlayStore.apk and GooglePlayServices.apk for Lollipop but not GoogleServicesFramework, (why would they have 2 of them but not all of them?).
I don't have a Nexus 10 device so can't obtain them as you did in your post.
mungbeans said:
Do you have any ideas where I could get GoogleServicesFramework.apk from?
Click to expand...
Click to collapse
You can unzip the file gapps-lp-20141109-signed.zip from BasketBuild https://s.basketbuild.com/gapps
You find it under system/priv-app/GoogleServicesFramework.
The name of the APKs may differ. GooglePlayServices is named something like GsmCore or com.google.android.gsm.
The Play Store is named something like Phonesky or Vending.
Thanks very much

Update Google Services

Can I update the google services? Lots of apps I want to use require the google services to be updated.
A lot of Google apps scream that they want the latest Google Play Services (GpS), but in reality will function with any version of GpS, and sometimes even without any GpS at all (just a dummy one), see this thread : http://4pda.ru/forum/index.php?showtopic=550506
In reality, just install these versions of google stuff as per instructions into /system/priv-app :
Google Account Manager 4.4.4
Google Play Services (GMS) 7.0.99
Google Play Store 5.5.12
Google Services Framework 4.4.4
And create /system/app/com.google.android.gms-1.apk folder to block GpS from updating.
Whatever app cannot work without the latest GpS for real, just find an older version of it, install it into /system/priv-app, and create an appropriate folder in /system/app (as above) in order to block the updates for this specific app.
@bibikalka: Gotta link for those of us who don't read Russian?
DoLooper said:
@bibikalka: Gotta link for those of us who don't read Russian?
Click to expand...
Click to collapse
Could be worse, could be CHINESE
Anyway, there is not much to it, other than people disabling GpS via that dummy app and then trying different gapps to see if they work.

Google play on a phone that blocks Google services?

Trying to work out how to get Google play and well GAPPS in general running on the Hisense A5 eink phone. It lacks Google services, and in fact prohibits it entirely. Installing and side loading everything is easy, but it all crashes on start. There's another thread here related to such:
https://forum.xda-developers.com/android/help/to-root-hisense-a5-t4058081
The bootloader is locked, no TWRP, and pretty much no development. So I'm looking for any direction anyone can point me in on this.
A successfull installation of Google Play relies on successfull installation of the following 4 APKs
Google Account Manager <- installs as system-privileged app ~11MB
Google Services Framework <- installs as system-privileged app ~6MB
Google Play Services <- installs as user app
Google Play Store <- installs as user app
what requires root access, means device must has been rooted before and there must be >=17MB free disk space available in device's /system partition.
It also should be clear only the version of the named APKs is to be installed that 100% matches your device's Android SDK version: Google will update the APKs itself automatically if necessary, unless Automatic Update got disabled.

[LG GPad v490] Unable to root/install Google Play (LineageOS)

Hello. I will begin with my root problem: I need to install newer (than stock 5.0.2) android on LG v490.
I installed the LineageOS (android 7.1.2), rooting with KingRoot -> using Flashify to boot into TWRP -> installed LineageOS.
During that whole process I was unable to boot to see bootloader (it was just normally booting) using adb. Now it also looks impossible.
Now I would like to install Google Play Store: downlaoded the package and the instructions says (because it's not just .apk file) to isntall this using TWRP. I cannot boot to TWRP. Last time (with stock ROM) i booted into TWRP using Flashify, but Flashify requires root from me. I am using Kingo Root, KingoRoot (and something else) both for Android and PC and every time it shows me "fail" or "Unable to root".
What can I do now in order to install Google Store?
@Morales1235
In order to install Google Play Store phone's Android must NOT got rooted.
You install it manually.
How-to:
Download from APKMIRROR these 4 APKs matching your phone's Android version:
Google Account Manager APK
Google Services Framework APK
Google Play Services APK
Google Play Store APK
Install the downloaded APKs in exact this order
Google Account Manager APK → Google Services Framework APK → Google Play Services APK → Google Play Store APK
to get the Google Play Store working correctly.
Finally re-boot
Thank you! Let's see, but...
How can I know which version of Google Play Services is proper for my android version? This is the only APK that has different numbering than android.
@edit
Ok, I downlaoded the latest version of Google Play Services for android 6.0+. After installation in given order constantly I get error that Google Services Framework stopped working. Wrong version or what?
Morales1235 said:
Ok, I downlaoded the latest version of Google Play Services for android 6.0+. After installation in given order constantly I get error that Google Services Framework stopped working. Wrong version or what?
Click to expand...
Click to collapse
Read here.
Buttons for clearing data and cache for Google Play Services are unavailable :/ Tried to just force stop Google Play Services and proceed with the others (as says in the link provided) but after reboot and running store I am still getting this error. No help in comments in provided article.
Anyone knows which version of "Google Play Services" (and then Google Play Store) should I choose for Lineage OS 7.1.2? I Suppose Play services keeps stopping because of wrong version.
Morales1235 said:
Anyone knows which version of "Google Play Services" (and then Google Play Store) should I choose for Lineage OS 7.1.2? I Suppose Play services keeps stopping because of wrong version.
Click to expand...
Click to collapse
You mix up Google Play Services and Google Services Framework: these are 2 different things!
Google Services Framework is used to update Google apps and apps from Google Play Store. This component provides core functionality like authentication to your Google services, synchronized contacts, access to all the latest user privacy settings, and higher quality, lower-powered location based services.
The required version of Google Services Framework depends on phone's model and Android version.
jwoegerbauer said:
You mix up Google Play Services and Google Services Framework: these are 2 different things!
Google Services Framework is used to update Google apps and apps from Google Play Store. This component provides core functionality like authentication to your Google services, synchronized contacts, access to all the latest user privacy settings, and higher quality, lower-powered location based services.
The required version of Google Services Framework depends on phone's model and Android version.
Click to expand...
Click to collapse
How do you say I'm mixing these thing? According to few posts above:
jwoegerbauer said:
Google Account Manager APK → Google Services Framework APK → Google Play Services APK → Google Play Store APK
Click to expand...
Click to collapse
1. Acc manager: I found version 7.1.2
2. Services Framework: found version 7.1.2
3. Play Services: Numeration is different than android version! (eg. 20.26.14)
4. Play Store: Numeration is different than android version! (different numbers than above)
How should I determine which version of Services and Store I need to install?
@Morales1235
You still don't get it. :crying:
That was your post
Ok, I downlaoded the latest version of Google Play Services for android 6.0+. After installation in given order constantly I get error that Google Services Framework stopped working. Wrong version or what?
Click to expand...
Click to collapse
Hence the Google Services Framework ( GSF ) you installed is not compatible!
FYI: The Google Play Services ( GMS) contains the individual Google services and runs as a background service in the Android OS.
BTW: I no longer participate this thread. Have a nice day.

Categories

Resources