Deodexed services.jar / microg question - OnePlus 7 Pro Questions & Answers

I am trying to get microg to work and was told that services.jar needs to be deodexed to work correctly. What is the best way to go about this? Is this true? Anyone else successfully replace Google play services with microg?
Thanks

Related

Modifying google maps APK

Hi,
I wanted to decompile, modify XMLs only of the Google Maps app and add one asset, and recompile the APK (only for personal use). I already tried this process but the package will not install on my Galaxy S5. I just added an extra permission (may not be used since the code doesn't use it) and when I try to install the new APK it tells me that it requires the new permission (success), but when I click 'install' it tries to do it but ultimately says "app not installed."
Does anyone have any idea as to what is going on? I understand that once I sign the package with my own keystore, the Google API will stop working. I tried to create my own Google API key that is linked to my keystore, but that didn't seem to resolve the issue. I would appreciate any help from someone who has done this previously.
Thank you very much!

Google Phone Apk

Does anyone have a working Google Phone apk? The stock Samsung dialer on this phone really sucks! I;ve tried the ones from apkmirror and the Play Store (indicates not compatible with this phone), ones from apkmirror won't install.
If no one has a working apk, can you at least explain how to change file permissions without having root? Thanks
Well what do you know? It only took 10 days to find a copy that will install https://forum.xda-developers.com/android/apps-games/app-google-dialer-t3557412 LOL!

No Gapps Guide&Tutorial (MicroG)

Hi guys, this is an Tutorial of installing MicroG.
MicroG is an alternative to Gapps that includes:
Service Core: Is a library app, providing the functionality required to run apps that use Google Play Services or Google Maps Android API. (GmsCore)
Services Framework Proxy: Is a small helper utility to allow apps developed for Google Cloud to Device Messaging (C2DM) to use the compatible Google Cloud Messaging service included with GmsCore. (GsfProxy)
Unified Network Location Provider: Is a library that provides Wi-Fi- and Cell-tower-based geolocation to applications that use Google’s network location provider. It is included in GmsCore but can also run independently on most Android systems. (UnifiedNlp)
Maps API: Is a system library, providing the same functionality as now deprecated Google Maps API (v1). (mapsv1)
Store: Is a frontend application providing access to the Google Play Store to download and update applications. (Phonesky) [Same functionality and looks as the Gplaystore]
Why you would want to install MicroG instead of Gapps?
1.More privacy
2.Uses very little ram and memory
3.OGYoutube, an youtube app that works only with MicroG and has backround playback and downloads directly from the app
How to install MicroG:
Prerequisites:
In order for MicroG to work, it needs to pretend to be the official implementation of Play Services. To do this, MicroG must be able to spoof Google’s Play Service’s package signature.
Signature spoofing is not available in most custom ROMs, though patches are available for ROM developers to include in their project. For Marshmallow and Nougat ROMs, spoofing is provided as a runtime permission that the user can grant or deny to apps, which is an added bonus.
If your Rom doesen't include Signature spoofing then you can activate Signature spoofing with: Tingle/Haystack/NanoDroid/FakeGapps[Xposed Module]
First option:
Download Services Core, Service Framework Proxy, UnifiedNpl and FakeStore if you want to install other stores than the Official Google play store. (Yald Store, F-Droid etc)
Install them. After that go to MicroG settings and click on self-check, give MicroG the permissions required and check "System grants signature spoofing permission" if its not checked. To log in to Phonesky you need to enable Google device registration in microG settings, after that make any changes you want to the settings.
For more Advanced things check out: https://shadow53.com/android/no-gapps/setup-guide/3/ and https://shadow53.com/android/no-gapps/setup-guide/4/
Option two:
Flash MicroG from Recovery
Dowloads:
MicroG: https://www.androidfilehost.com/?fid=890129502657595051
PlayStore: https://www.androidfilehost.com/?fid=818070582850504869
Patched-Playstore: https://www.androidfilehost.com/?fid=673956719939831837
UnifiedNLP: https://www.androidfilehost.com/?fid=746010030569965960
Microg&Playstore: https://www.androidfilehost.com/?fid=746010030569965959
Microg&Patched-Playstore: https://www.androidfilehost.com/?fid=962187416754472306
Flash any of theese in recovery.
Option three:
Download from https://downloads.nanolx.org/NanoDroid/Stable/
I recommend NanoDroid-MicroG.....zip
Go to Magisk Manager, Go to Modules and add the NanoDroid zip that you like.
Thats it.
Or is it?
How to install OGYoutube:
Install the modified MicroG apk from https://www.apkmirror.com/apk/ogmods...-apk-download/ (Its made so OGYoutube could work correctly)
Install OGYoutube apk from https://www.apkmirror.com/apk/ogmods...-apk-download/
[To make more apps work wihout play services, that MicroG doesen't include you can install "This app will run wihout google play services" Xposed Module]
You are DONE!
Give me a thanks if i helped you
MicroG: https://microg.org/
NanoDroid: https://forum.xda-developers.com/app...icrog-t3584928
Thespartann said:
Hi guys
Click to expand...
Click to collapse
:good:
Edit:- @Thespartann
These are my suggestions:-
Tingle/Haystack/NanoDroid/FakeGapps[Xposed Module]
Click to expand...
Click to collapse
Add Needle and this link also https://github.com/microg/android_packages_apps_GmsCore/tree/master/patches and also For above tools give embedded links...
Download Services Core, Service Framework Proxy, UnifiedNpl and FakeStore if you want to install other stores than the Official Google play store. (Yald Store, F-Droid etc)
Click to expand...
Click to collapse
Why you said to install UnifiedNlp if GmsCore also said to install?
Also Yald Store = Yalp Store
Install the modified MicroG apk from https://www.apkmirror.com/apk/ogmods...-apk-download/ (Its made so OGYoutube could work correctly)
Install OGYoutube apk from https://www.apkmirror.com/apk/ogmods...-apk-download/
Click to expand...
Click to collapse
The first link for modified microG is not working..
I think the link should be https://www.apkmirror.com/apk/ogmods/microg-for-ogyt/
HemanthJabalpuri said:
:good:
Edit:- @Thespartann
These are my suggestions:-
Add Needle and this link also https://github.com/microg/android_packages_apps_GmsCore/tree/master/patches and also For above tools give embedded links...
Why you said to install UnifiedNlp if GmsCore also said to install?
Also Yald Store = Yalp Store
The first link for modified microG is not working..
I think the link should be https://www.apkmirror.com/apk/ogmods/microg-for-ogyt/
Click to expand...
Click to collapse
Hey. Thanks for this. This was an old guide in my nooby times and i didn't have time to update it. I will update it when i can with useful informations.
Hi,
Informations are quite clear but i still need information regarding my specific case.
I have a OnePlus 6 (OxygenOS 9).
I'd love to get ride of all Google stuff and have MicroG as I have on another mobile phone (LineageOSMicroG).
If i flash from recovery NanoDroid on my existing rom (i don't have Magisk).
What will happen exactly ?
Will i loose something from my device ?
Will i get MicroG AND still all the Google apps ?
Will i get just MicroG and the Google apps will have been removed ?
Sorry if it looks stupid questions.
I now how to flash a rom starting from scratch but not on existing installation ....
Thx for any help.
Regards
Thespartann said:
Hey. Thanks for this. This was an old guide in my nooby times and i didn't have time to update it. I will update it when i can with useful informations.
Click to expand...
Click to collapse
If interested, here I posted the whole story how I went GApps-free from the very beginning until nowadays using mainly NanoDroid modules.
I did install MicroG on a ArrowOS 9.0 ROM. Signature spoofing seems to work, the self check looks good.
Still Apps complain they need Google Play. What's wrong?
howdy folks.
just catching up on this thread and this wonderful substitute for gapps is something that I had already fascinated me just that I became where it does exist. before I install it after removing my gas on a custom rom that I have ... I am sure it has progressed through a bunch of correction cycles so I'd want to know where it stands as of now for the following functionality .
-Google voice dictation voice to text is it working with this substitute
-Gmail
-Google maps live directions. should be able to turn on GPS Google maps and get live directions while driving
-Hangouts
-Google documents specifically only looking for Google PDF reader Google docs and spreadsheets
-syncing contacts and dictionary
-Google drive and photos
the last one having the least priority for me
would someone please Care to reply to my bullets...a bulleted reply as to what works and to what extent, and specifically in what hardware environment if it is available.
thank you so much for all your hard work and efforts.
also when you reply please leave a link where people like me can donate to your good work
-
I had this last year and we now enter a new year still no shine on this thread...... could someone pitch in.... with a few valuable cents
Sent from my Moto G4 Plus using Tapatalk
hi
i did not make Option three because i had bootloop when i did it first time, and now every thing is working good by doind just the first and secend option , so what is your comment guys
thanks

Replacing GoogleSettings.apk with Settings.apk

Hi,
The above pertains to the Pixel 3A stock ROM but the question itself is pretty generic.
The rom has GoogleSettings.apk which has a dependency on Google Play Services (surprise surprise). When the USB lead is unplugged the app works fine otherwise it crashes. I'm looking to replace it with the Settings.apk that comes with lineage or aosp to work around it.
I first removed GoogleSettings.apk using titanium backup. I had a signature error trying to install anything else so looked like it needed a reboot. Upon doing this the phone continuously crashed. I recovered GoogleSettings.apk through twrp file manager so now I'm back where I started.
The question is I see there is a SettingsProvider apk. Does this tell it to point to GoogleSettings.apk?
This is the last link in clearing the phone of all Google crap, so any pointers are much appreciated!
Regards,
Andrew
^^ bump
snoopy20 said:
Hi,
The above pertains to the Pixel 3A stock ROM but the question itself is pretty generic.
The rom has GoogleSettings.apk which has a dependency on Google Play Services (surprise surprise). When the USB lead is unplugged the app works fine otherwise it crashes. I'm looking to replace it with the Settings.apk that comes with lineage or aosp to work around it.
I first removed GoogleSettings.apk using titanium backup. I had a signature error trying to install anything else so looked like it needed a reboot. Upon doing this the phone continuously crashed. I recovered GoogleSettings.apk through twrp file manager so now I'm back where I started.
The question is I see there is a SettingsProvider apk. Does this tell it to point to GoogleSettings.apk?
This is the last link in clearing the phone of all Google crap, so any pointers are much appreciated!
Regards,
Andrew
Click to expand...
Click to collapse
I cannot help you with this but I'm curious about all things and steps you did so far to remove Google crap.
snoopy20 said:
Hi,
The above pertains to the Pixel 3A stock ROM but the question itself is pretty generic.
The rom has GoogleSettings.apk which has a dependency on Google Play Services (surprise surprise). When the USB lead is unplugged the app works fine otherwise it crashes. I'm looking to replace it with the Settings.apk that comes with lineage or aosp to work around it.
I first removed GoogleSettings.apk using titanium backup. I had a signature error trying to install anything else so looked like it needed a reboot. Upon doing this the phone continuously crashed. I recovered GoogleSettings.apk through twrp file manager so now I'm back where I started.
The question is I see there is a SettingsProvider apk. Does this tell it to point to GoogleSettings.apk?
This is the last link in clearing the phone of all Google crap, so any pointers are much appreciated!
Regards,
Andrew
Click to expand...
Click to collapse
I think you'll run into signature issues if you try to change the settings provider. I think the apks are signed with the platform key, so swapping an apk needs the correct signature. For the stock rom Google has the keys. Lineage has a wiki page about switching from official to unofficial. This might give you some insight into how roms and apks are signed.
Why not just install aosp, graphene, or los? You can add back whatever Google services you want.

Installing play store without other google apps

Hello has anyone got a way working for this phone to install just the Google Play Store (and play services given those will probably be needed for it to work) without having to install a bunch of extra apps in the process?
I'm aware gapps packages exist but those usually override many AOSP variants of apps and introduce features which I don't need.
Choose a Vanilla AOSP rom.
NOSS8 said:
Choose a Vanilla AOSP rom.
Click to expand...
Click to collapse
Vanilla AOSP don't come with anything google at all, what I'm asking is that from that starting point how would I go about installing the Google Play Store and whatever else it needs to work on it.
For example with Nikgapps choose core
https://nikgapps.com/downloads#downloads

Categories

Resources