[Android General] mtpektas:
Hi guys, this is my first post about dev-ish stuff. Cause I didn’t something like that. So, lets get started...

As you know Android 10 has huge battery drain because of Google Play Services. Before that, I got nearly %40 of background usage. Then I start searching to fix that issue. I tried Magisk modules, moded apks but non of them work properly for me. Then, I want to use MicroG but I need Google Play Store, Google Contacts, Google Dialer etc. So, I made a mix of this solutions. That is what I did:

Before everything don’t forget that: I’m not responsible of anything that can brick or harm your devices. You can do these steps if your phone has signature spoofing ability.

1)Clean install ROM with GAPPS package. (I strongly recommend to use stock-ish ROMS like Los, Aex, Cr-Droid etc.)

2)Boot your phone, skip setup wizard then reboot to recovery again.

3)Mount /system partition and go Advanced -> File Manager -> System (folder)

4)Look into app, priv-app and /product/app, /product/priv-app folders.

5)Remove these folders: MatchmakerPrebuilt, Turbo, WellbeingPrebuilt, PrebuiltGmsCore, GooglePartnerSetup, Velvet, GoogleServicesFramework, CalendarGooglePrebuilt.

6)Reboot your phone

7)Download latest Nanodroid release from here and extract that with some zip utility. Find these apps: GmsCore, GsfProxy, nlpBackendApple, nlpBackendNominatim. Move these apks to phone and install all of them with the same order. Open MicroG settings and grant all permissions, disable battery optimization. Open Settings -> Apps -> Apple Backend -> Permissions -> Allow GPS always.

8)Now reboot recovery then install Magisk.

9)Open Magisk and install Aurora Module from this link

10)Reboot phone then open Aurora Services. Grant permissions and allow Play store under Whitelist.

11)Now, we need to install F-Droid app (I recommend AuroraDroid), add Nanolx and MicroG repos. Check for updates. If there is an update for MicroG or it’s components, update them.

12)Reboot your phone one last time and open MicroG settings app. Login with your Google account. In Google device registration make the status ON. In Google Cloud Messaging make receive push notifications status ON and click three dot menu on right cornerand enter advanced. Make confirm new apps status to OFF. Go back to MicroG main menu and enter Google safetynet and make it’s status to ON. Last step: Go location modules and make everything ON and configure their settings for your current location.

13)Now clean Google Play Store app cache and data then open it.

14)DONE. Now you can install your apps (premium and free).

Problems:

1.Some apps won’t work like Google Calendar, Grasshopper or Google Keep etc.

2.If you want to use Google Contacts and Dialer with Google Sync, you should install them in first step (with gapps or gapps included rom)

3.If you still can’t see your contacts open settings -> accounts -> google -> Account sync -> make contacts status ON then reboot.

4.If you still can’t see contacts check Google Contacts app. There is couple things can cause that like maybe you didn’t choose your default account or maybe you didn’t select the visible account for MicroG etc.

5. If you want to update your ROM with dirty flash, make sure to delete apps -said in fifth step- THEN reboot. If you don’t do it, you should start all steps from beginning and also your ROM may not boot.

Questions:

1.Why are we installing these apps manually, why don’t we just flash the NanoDroid.zip?

- Because of saving some apps from deletion and make easier to ROM updates with dirty flash.

2.Why don’t you build a zip file for must-remove Google apps?

- Actually, IDK how.. I’m not a programmer or developer or something like that. If someone can make a little bloatware-removal zip, that will be very nice but don’t forget, maybe you can find these apps in different folders in your system. Some ROMs has their unique directory or something like that.

3.Gboard says that it needs GMS, what should I do?

- Nothing, it works like a charm. Just ignore it.

Now, I can use my phone nearly 36h per charge.(Samsung Galaxy Note 8 Exynos) That is a huge change. Try and tell me what do you think. If you got trouble with some steps, write in comments. I’ll try to reply them.

Thanks for:

-Nanolx for Nanodroid Project

-Aurora Team for Aurora Services and AuroraDroid App

-MicroG team for MicroG project

You can buy me a coffe if you want. Just click here and see your options.

Note for mods: If I made something wrong, please tell me. That is my first pre-professional topic. I want to fix my wrong. Thanks...