How to create flashable custom GApps package for accessibility - General Questions and Answers

Greetings everyone.
Recently, I have installed twrp and Pixel experience 12 on my Oneplus6. The rom already comes with google apps included, but not with specific ones that I need. I am completely blind and so I need Google Talkback and Speech services to use Android. However, in line with Lineage OS, CRdroid, and others, Pixel Experience rom does not come with either of these apps installed. I have looked at several GApps packages such as NickGApps, FlameGApps, and OpenGapps, and none offer a minimal package with Talkback and Speech services. I then looked at creating my own flashable zip file for TWRP. I followed several guides like this one...
[SAMPLE] TWRP Flashable zip [For Beginners][Empty Zip][Download]
TWRP Flashable Zip - Sample About This is a sample zip i.e Empty, with this you can move anything (for say: apps, fonts, boot anim, libs/hals, build.prop etc) to your system partition easily. How-to? Extract the zip Now copy-paste the stuff you...
forum.xda-developers.com
Flashing the zip files I made did not seem to do anything. Is there a way for me to create a small zip that can install Google talkback and Speech services, preferably as a system app? Better yet, is there a way to customize a preexisting GApps package to only install these 2 apps?
Thanks in advance.

Coside76 said:
Greetings everyone.
Recently, I have installed twrp and Pixel experience 12 on my Oneplus6. The rom already comes with google apps included, but not with specific ones that I need. I am completely blind and so I need Google Talkback and Speech services to use Android. However, in line with Lineage OS, CRdroid, and others, Pixel Experience rom does not come with either of these apps installed. I have looked at several GApps packages such as NickGApps, FlameGApps, and OpenGapps, and none offer a minimal package with Talkback and Speech services. I then looked at creating my own flashable zip file for TWRP. I followed several guides like this one...
[SAMPLE] TWRP Flashable zip [For Beginners][Empty Zip][Download]
TWRP Flashable Zip - Sample About This is a sample zip i.e Empty, with this you can move anything (for say: apps, fonts, boot anim, libs/hals, build.prop etc) to your system partition easily. How-to? Extract the zip Now copy-paste the stuff you...
forum.xda-developers.com
Flashing the zip files I made did not seem to do anything. Is there a way for me to create a small zip that can install Google talkback and Speech services, preferably as a system app? Better yet, is there a way to customize a preexisting GApps package to only install these 2 apps?
Thanks in advance.
Click to expand...
Click to collapse
hello Coside76
I have a person I know with the same necessity as you and who uses Google services to use the device.
You have a few options besides the Google Talkback and Speech option. But it depends on your choice and usability.
Let's get to the point where if your device has Google services installed: Have you tried to install the bare minimum so that accessibility can work?
I say try to install normally or update them through the Google Play Store the following applications: https://play.google.com/store/apps/details?id=com.google.android.marvin.talkback
Voice Access - Apps on Google Play
Provides accessibility by voice for hands-free mobile computing.
play.google.com
Speech Services by Google - Apps on Google Play
Speech recognition and synthesis for your device.
play.google.com
Everything will depend on how you configure the reading options and speed in the voice (Conversion of text to voice), touch and especially if you are going to use other accessibility options such as "Select to listen" or "TalkBack" itself requires specific settings for each user.
But if the installation from the Google Play Store doesn't work it will depend on the choices of the type of gapps you want. Generally better to use opengapps with the correct variant choices (full; stock or super). If you want to try this here is the link to the opengapps:
Home
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
Stock Package
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
Package Comparison
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
But if you want something more unique for the applications you want then you will have to ask an experienced person to create a zip patch or edit the opengapps zip file so that it installs only the desired applications.
You can try the Aroma variant if it's interesting. Read this:
Aroma Package
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
Advanced Features and Options
The main repository of the Open GApps Project. Contribute to opengapps/opengapps development by creating an account on GitHub.
github.com
About Flamegapps you need to ask someone to read the first post with the correct instructions/Notes and even try the Addon Packages option and in addition do the step to edit the flamegapps-config.txt file.
[GApps][ARM64] FlameGApps for Android [10.0+11.0+12.0+12.1]
Hello Everyone, Welcome to the FlameGApps thread, a Google Apps package for arm64 devices. We provide clean and resource-friendly Google Apps packages. We provide two editions - one is the Basic edition which includes the core GApps like Google...
forum.xda-developers.com
In the case of the person I know, she uses the Conversion of text to voice option that creates a button so that the user can choose when and what they want to hear on the device. Furthermore, with the help of the Google assistant, it can set simple tasks to read messages automatically without the user having to touch the screen and even send or receive messages through an application that I will not mention here.
If you want to try this here is the link to the Google assistant: https://play.google.com/store/apps/details?id=com.google.android.apps.googleassistant&hl=en-US
Cheers

Related

[DEV][TOOL] Shadow53's Flashable Zip Builder

Making flashable zip files for Android devices can be… frustrating.
For those who have never tried, here are some of the more irritations:
You use a very limited scripting language called edify to write your install scripts. So limited, that some people replace the binary (update-binary) used to parse the script (updater-script) with a normal shell script that performs the installation instead. What’s the point of having update-binary and updater-script, then?
Any app installed to /system/ with bundled libraries in the apk need to have those libraries extracted in order to not crash.
Various system files need to be created to grant certain permissions to apps by default, and you need to know the syntax of each one (usually some dialect of XML).
If the correct permissions are not set on an installed file, it can cause the system to bootloop.
The Solution:
I’ve created a program in Go that reads entries from a configuration file and builds a flashable zip for you, while taking care of the implementation for you. The name is simple: Zip Builder.
Features:
Configuration files can be written in JSON, YAML, or TOML.
Supports Android versions since 5.0 Lollipop
Automatic generation of updater-script and an addon.d persistence script.
Automatically extracts libraries from apps being installed under /system/.
Can specify different file or app sources for different versions of Android and/or CPU architectures. updater-script will only install the files for that particular system.
Validate downloaded files with md5, sha1, and/or sha256.
F-Droid interoperability: Specify the repo URL and app’s package name, and zip-builder automatically gets the rest of the app’s information from F-Droid’s repository, including a download link for the latest version of the app.
Remove any files you specify, e.g. apps that you are replacing with your own version or apps/files you just don’t want on your system.
Standalone binaries available for Mac OS X, Linux, and Windows. Android binaries (to use in a terminal app) coming soon.
Linux binaries may be usable with Termux on Android, though this is not tested or supported.
Links
Latest release announcement
Download zip-builder
Example configuration files
Complete documentation
Zips built with this tool
EmojiOne Emojis - Replace the NotoSans emojis with the ones from EmojiOne
F-Droid installer - Includes the F-Droid privileged extension, allowing F-Droid to perform automatic installs and updates.
Hacker bundle - Includes the F-Droid builds of Termux with API, Float, and Widget addons, and Hacker's Keyboard.
Google swipe libs - Includes the swipe libraries for the AOSP keyboard. One zip for all Android versions since 5.0 on all architectures.
microG - Installs the FOSS replacement for Google Play Services, microG. Optionally install the Play Store for downloading apps, using the patched version from NanoDroid.
Google Play Store - choose between the vanilla Google Play Store or the patched one from NanoDroid.
Google Sync Adapters - install the Google sync adapters for use with microG. Install contacts sync, calendar sync, or both.
UnifiedNlp - If you want network-based location without Google Play Services or microG, install this zip. Comes with the Mozilla location backend and Nominatim geocoder backend.
No GAPPS app packs - FOSS replacements for Google Apps packages, provides basic system apps for ROMs running without Google Play Services.. There are multiple tiers of zips you can download, matching the OpenGapps flavors. Click on the link to view the contents of each zip.
microg.zip doesn't flash anything in my redmi 2 oreo aosp. log attached
kurtn said:
microg.zip doesn't flash anything in my redmi 2 oreo aosp. log attached
Click to expand...
Click to collapse
I'm currently working on polishing up a new release of a different project of mine, then I'll have time to look it over.
Per your PM, though, you said busybox wasn't in the location that the zip assumed it was. Can you search through your system and tell me which directories contain either busybox or toybox? (I believe busybox was found in two different folders when I flashed Lineage before)
Shadow53 said:
I'm currently working on polishing up a new release of a different project of mine, then I'll have time to look it over.
Per your PM, though, you said busybox wasn't in the location that the zip assumed it was. Can you search through your system and tell me which directories contain either busybox or toybox? (I believe busybox was found in two different folders when I flashed Lineage before)
Click to expand...
Click to collapse
Just have to search with the right tool. In twrp I see busybox in the expected location.
kurtn said:
Just have to search with the right tool. In twrp I see busybox in the expected location.
Click to expand...
Click to collapse
I had a little bit of time to flash a beta Oreo ROM for my phone and had no issues with things getting copied to my system correctly. If busybox is in the location that the script expects it to be, it's not obvious what the problem is.
The log you gave me seems to show that it mounted your system and data partitions correctly, detected that a folder did not exist, and then exited normally.
Have you tried an updated zip recently? A little while back I had the script output the found values for Android version and CPU architecture. It's possible it got fixed along with whatever I was working on at the time.
Re-downloaded microg.zip from @Shadow53's page. Now it works as expected.
Pushed a commit that should hopefully fix the issue @marcdw reported in the MicroG thread at https://forum.xda-developers.com/an...y-services-t3217616/post74531435#post74531435
@marcdw, I rebuilt the zips with a build containing the fix. Can you confirm that the libraries are now loading correctly? Things are working on my end, except for the patched Play Store requiring a reboot before working.
@rottenwheel do you really mean xposed? I have the impression magisk gets more attention.
@Shadow53,
I had actually edited the updater and add-on.d scripts to use the short names on most of your zips and all was good.
After work I'll start anew using your rebuilds. ?
ZTE Axon 7 A2017U, Dark ROM, microG (NoGAPPS), Tapatalk 4.9.5
rottenwheel said:
As read on the microG thread:
Although XDA community and most Android modders tend to side with Xposed-based solutions, I need to emphasize this is not the absolute case. I rather to stay away from it as much as I can, because it's given unstability to my devices as soon as I start tinkering with some modules; as soon as I get it removed from my setup, bugs are gone. I don't want to engage in unrelated discussions here, I just wanted to let you know your zip solutions have been working like a charm and many of us will miss if you lose enthusiasm about it. Keep it up and rocking. Thanks to you, getting microG onto our handsets is easier.
Click to expand...
Click to collapse
NanoMod is optionally a Magisk module and has nothing to do with Xposed, though I appreciate the sentiment.
*If* I were to lose interest in this project or in providing scripts, the code for the zip-builder is open source and contains the build recipes I use for all of the zips I provide, so it shouldn't be too hard for someone to pick up if they wanted to.
That said, I have no intention of stopping providing zips any time soon, though development on the zip-builder itself is slow because university is keeping me busy. I use my zips too, so I gotta be at least a little invested
Shadow53 said:
@marcdw, I rebuilt the zips with a build containing the fix. Can you confirm that the libraries are now loading correctly? Things are working on my end, except for the patched Play Store requiring a reboot before working.
Click to expand...
Click to collapse
Howdy sir. My apologies for not getting back. Work got in the way.
The zips work perfectly. I setup two ROMs on my Axon 7 with microg-playstore, no-gapps, and hacker. Not a single hiccup with the included apps or Play Store. All is good.
Must say again, I like the apps included in no-gapps.zip. Most of those I use and have to get manually from F-Droid.
Perfect with Dark ROM which has no apps or launcher and thus no worries of duplicate functionality (like two cameras, two calendars, etc.).
I see Firefox has replaced Lightning. Haven't used Firefox since v28 so I get to see what the new one is all about.
??
LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
Awesome. Been looking into how to get F Droid and Micro G plus most other things to work for my sm-g900p!
Really not liking the way Google has been going.
So looking into HOW to get that this to work for me.
From what I had seen so far....
PLEASE keep working on this!!
Thank you Shadow 53!
marcdw said:
Howdy sir. My apologies for not getting back. Work got in the way.
The zips work perfectly. I setup two ROMs on my Axon 7 with microg-playstore, no-gapps, and hacker. Not a single hiccup with the included apps or Play Store. All is good.
Must say again, I like the apps included in no-gapps.zip. Most of those I use and have to get manually from F-Droid.
Perfect with Dark ROM which has no apps or launcher and thus no worries of duplicate functionality (like two cameras, two calendars, etc.).
I see Firefox has replaced Lightning. Haven't used Firefox since v28 so I get to see what the new one is all about.
??
LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
Click to expand...
Click to collapse
I'm glad to hear that it's working for you. I'll be posting a new release on GitLab around the end of the week (yay finals...)
Regarding the no-gapps zip, most included apps also remove the AOSP equivalent if present, with a couple exceptions such as Silence for SMS not removing the default SMS app and Firefox not removing the built-in browser, both to avoid potential issues.
godofsalt said:
Awesome. Been looking into how to get F Droid and Micro G plus most other things to work for my sm-g900p!
Really not liking the way Google has been going.
So looking into HOW to get that this to work for me.
From what I had seen so far....
PLEASE keep working on this!!
Thank you Shadow 53!
Click to expand...
Click to collapse
Development of the zip builder is stalled right now, largely due to time. It works great for what I need at the moment, but I will work on bug fixes for things that come up. The zips are rebuilt every week by a cron job on the server, though packages containing the official Play Store may not get updated if opengapps updates their version (which changes the URL). I try to catch that, but I don't always have time to check.
I'm considering putting together a comprehensive gapps removal zip that should remove as much trace of Google as possible from the device, including any application data. That will take some investigation, though, and so it shouldn't be expected soon. If/when it comes, it'll largely be for removing installations by opengapps and Beans gapps, as I can't account for all differences between OEMs.
Hey no worries about updates being "stalled"!
I know what your going though believe me. Can be such a frickin headache!!! Not to mention anxiety that some poeple get this time of the year!
AM certainly glad to hear that you are still somewhat working on it though. Plus frim what I can see, this has not been out long, so I don't thing others may even know about it!
I believe they will!!!
Running paid apps having a license verification at runtime
I installed a recent LineageOS for microG (build date 11/29) on my Samsung Tablet SM-T800 (chagallwifi) and added root by flashing the zip provided by LineageOS.
I first tried Yalp Store (version 0.29, downloaded from fdroid), but then figured out that I cannot use any paid apps that make use of a license validation at runtime. However, there are some paid apps that I require.
I did some reading and it seems like the installation of the original Google PlayStore is a solution.
So here are my questions:
1) Can I get paid apps running when I install the original PlayStore as a system app following the procedure described on the blog shadow53 (sorry, cannot post the link cause I am a new user, but it is easy to find when searching for 'shadow53 android downloads')?
2) Is there anything I have to do in addition to flashing the PlayStore zip?
3) Does flashing the original PlayStore give rise to any conflict with the FakeStore that comes installed as part of microG? If so, how do I remove the FakeStore?
ebiel said:
I installed a recent LineageOS for microG (build date 11/29) on my Samsung Tablet SM-T800 (chagallwifi) and added root by flashing the zip provided by LineageOS.
I first tried Yalp Store (version 0.29, downloaded from fdroid), but then figured out that I cannot use any paid apps that make use of a license validation at runtime. However, there are some paid apps that I require.
I did some reading and it seems like the installation of the original Google PlayStore is a solution.
So here are my questions:
1) Can I get paid apps running when I install the original PlayStore as a system app following the procedure described on the blog shadow53 (sorry, cannot post the link cause I am a new user, but it is easy to find when searching for 'shadow53 android downloads')?
2) Is there anything I have to do in addition to flashing the PlayStore zip?
3) Does flashing the original PlayStore give rise to any conflict with the FakeStore that comes installed as part of microG? If so, how do I remove the FakeStore?
Click to expand...
Click to collapse
1. Yes, you will be able to check licenses at runtime with the Play Store installed.
3. Yes, they use the same package name, so having both apps installed causes a conflict. Depending on where the FakeStore is installed, the Play Store zip may recognize where it is and automatically remove it for you. You will see some output while flashing, something like "Deleting existing file /system/priv-app/Phoneksy" if it was discovered (file path may be different).
If it does not automatically remove FakeStore, find the directory it is installed in and delete it, then on next boot modify the playstore addon-d script to delete that directory. You should see where and what to change when you open the file. If you do not make this change,
2. You may have to manually remove FakeStore with the above process. You should also look at https://shadow53.com/android/no-gapps/faq/playstore-not-loading/ regarding other gotchas with getting the Play Store running and https://shadow53.com/android/no-gapps/faq/playstore-incorrect-signature/ if you use the patched version of the Play Store.
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
Whether addon.d stuff works depends on the ROM. Some ROMs have a backup feature during flashing but a lot do not. Does LOS support addon.d backups?
ZTE Axon 7 A2017U, Dirty Unicorns UNOFFICIAL v11.7.2 ROM, Tapatalk 4.9.5
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
LineageOS has addon.d sopport. Maybe you should post a recovery. Log
memarama said:
The addon.d survival script dosn't work on my rom (play store patched). I use lineageos with microg on nexus 7 (flo).
Click to expand...
Click to collapse
After installing the microG Lineage fork on my own device to test, I realized that the Play Store zip marks FakeStore as something to remove on initial installation, but not across system updates. The addon.d script doesn't re-remove FakeStore.
Try downloading the latest version of the zip and installing it. FakeStore should stay uninstalled now.
In other news, I've decided to make my no-gapps zip into multiple, similar to the various OpenGapps zips. This means a larger selection of open source apps that can be installed, including some more replacements for AOSP apps. I'm working through a couple bugs right now potentially related to these zips, then I'll add an update with more details.

microG on Wiko Fever & clones

This guide can actually apply to any device and ROM
What is microG?
microG is a free reimplementation of GApps, which allows for more privacy and better battery life.
How to get microG on my ROM?
There are three steps:
Get rid of any GApps you already have installed (I don't mean Google Play Music etc, I mean Google Play Services, Google Play Store etc)
Enable signature spoofing
Install microG components & enable them
How to enable signature spoofing
The main component that microG aims at replacing is Google Play Services. In order to do this, it must be able to fake that it's Google Play Services, and it needs signature spoofing to do this.
There are three main ways to enable signature spoofing:
Some custom ROMs already have this as an option, such as crDroid. For a list of such ROMs and how to enable the feature, go here.
There is also an xposed module available here that enables signature spoofing
You can patch the ROM to allow signature spoofing. Either by installing someone else's patch, such as my patch for Asfand's RR 5.8.5, which you can download from here and enable at the bottom of the developer settings, or patch the files yourself using Haystack. You will need a Linux system to patch it yourself. The procedure itself is not complex, it involves downloading a set of scripts, taking 5 or so files out of your ROM, running 3 scripts on them them putting them back into the ROM. By the way: you do not need to operate like in the tutorial here, you can just take the files out of the ROM installation script, patch them, them put them in place of the files in the patch zip I created that I linked above.
How to install microG components
After having enabled signature spoofing, you want to install the various microG components. The classical way is to download the various files and manually place them into the ROM, but you can also use ale5000's unofficial installer and simply flash the zips he provides from your recovery. If you want Google Sync to also work you can flash the Google Sync Add-on he provides, or otherwise use something like DAVDroid for calendar and contact synchronisation.
Once you have installed microG, boot up your phone and open the microG settings app. Open the self-check section. Our goal is to have everything in this section ticked. If all went well, you should have signature spoofing and almost everything checked.
You will need to disable battery optimisations for GSF by tapping on the relevant section, so that it may maintain a stable connection (this is the same as with Google Play Services, just that it uses much less battery as it is not tracking your every move).
You will also need to enable UnifiedNLP in the UnifiedNLP settings (one menu back), configuring both a location and address lookup backend.
If you used the unofficial zip installer you should have Mozilla Location Service and Nominatim available. More information on the available backends can be found here.
Once you have enabled the backends you will also want to enable your phone's location services on High Accuracy or Battery Saving modes, and reboot.
You can now check if everything is ticked in the self-check section of microG settings (you might need to enable your WiFi or data connection and find your current location using some app in order for it to have your last known location checked).
You can the proceed to enable Google device registration to get the Play Store to work correctly and Google Cloud Messaging to get notifications to work correctly. Some apps may also force you to enable Google SafetyNet or they refuse to work.
You will need to reboot now to get everything we enabled to work properly
Extra information:
Currently Google Play Games is not compatible with microG.
Google Hangouts is only compatible through the use of a patched apk
To get Gmail working correctly you need to give it permission to access contacts
For extra privacy you might want to disable all permissions for Google Play Store except for storage
And that's it! You and your battery are now a little bit freer from Google's shackles :highfive:
Thanks bro we need it badly
Awesome thread, thanks bro !
I've added some extra information about apps' compatibility with microG and fixed some bits of the explanation
For Google Hangouts you can also use the official apk and simply disable a service in the app as explained here.
For signature spoofing there is also Tingle that work on all OS.
ale5000 said:
For Google Hangouts you can also use the official apk and simply disable a service in the app as explained here.
For signature spoofing there is also Tingle that work on all OS.
Click to expand...
Click to collapse
If I understood correctly the difference is that Tingle patches directly the OS you're running instead of patching the files and then placing them in the ROM/the system you're running.
gvlfm78 said:
If I understood correctly the difference is that Tingle patches directly the OS you're running instead of patching the files and then placing them in the ROM/the system you're running.
Click to expand...
Click to collapse
It is similar to Haystack, but it use a different patching method.
Both patch a file in the ROM.
Tingle do:
- Get file to patch
- Diassemble jar file (this create smali files)
- Patch smali file
- Reassemble jar file
- Put back the modified file in the Android ROM

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

[GUIDE] DeGoogle any device and install MicroG

This guide explains how to deGoogle any android by removing most of google invasive crap. (yes, GPlay services is also removed).​Play store, Google app and other crap is also removed from system, so if you want to use them, install them as user app. The installation for play store is different, and it is explained below.
Check my Post on reddit for more up to date info and clear instructions HERE
When we remove Gplay services, many apps and services stop working . Many apps will give error but still work (like maps and telegram and whatsapp). Play store will definitely not work and many apps that use push notification through Gplay services (most of them) will not be able to do so. In my case Uber, ola or any other ride app was also not working and was crashing constantly. Paytm will also not work without play services. And on top of that many apps that use location might not behave properly.
Whoosh! those are a lot of problems for uninstalling play services. So, why would anyone want to do that?
Simply put it, Google is an Advertising company. No it is not a company that sells product, i mean yes it sells products and earns from them BUT more than 60% of their revenue comes from Ads that they serve you. And yes, google is the biggest Ad company in the world with more than 80% of ad share (i may be wrong about the %, feel free to search yourself). So obviously they want ta make money out of your data (by selling it) and to do that what better way than to install spyware on world's largest mobile OS.
Google play services record your every action, tracking every app that you opened and everything you do. That data remains with google and they sell it to 3rd parties (and you agreed to it when you made Google account and setup your android device. Remember Clicking on "I AGREE"?).
Here i will not discuss how invasive it is. A simple Web search with "google play services tracking" will give you much more information. (and please do search it, i beg you) (Pro Tip: reddit has best answers, so explore reddit links from search)
Here is a good one explaining things
And Gplay services Eat a LOT of battery by constantly Running in background. So if you want better battery, remove it
So you have decided to degoogle your phone (and debloat it). What to do about all those errors after removing play services?
Here Comes MicroG. microG is an Open Source replacement for Google Play Services.
"MicroG is a free-as-in-freedom re-implementation of Google’s proprietary Android user space apps and libraries.
The linux-based open-source mobile operating system Android is not only the most popular mobile operating system in the world, it’s also on the way to becoming a proprietary operating system. How is that?
While the core operating system is still released as part of the Android Open Source Project, the majority of core apps are not. It gets worse: More and more libraries and APIs are only available on phones that run various Google apps pre-installed, effectively locking third-party apps to the Google ecosystem. For these reasons Android is described as being a “look but don’t touch” kind of open.
At this point, several popular open-source applications already require some of Google’s proprietary libraries to be installed. Increasing demand in the free software community in addition to severe problems in Google’s proprietary software discovered by the Android modding community, have led to the development of a free software clone of Google’s proprietary core libraries and applications - the microG Project was born.
Although most microG components are far from complete, users are amazed by the results. Free software users got extended application support, privacy-caring users can reduce or monitor data that is sent to Google and especially older phones can expect some battery life improvements."
(So it basically removes all those errors. Great!)
So, Lets start Degoogling!
Warning: bootloader needs to be unlocked, magisk should be there and twrp should be installed.
NOTE: MAKE FULL NANDROID BACKUP OF YOUR DEVICE BEFORE PROCEEDING BY GOING TO TWRP -> BACKUP -> SELECT ALL . store it in PC or somewhere safe​
Removing google crap
Flash TWRP and install magisk.
We need Signature spoofing in the ROM. Download SmaliPatcher from here and tick all patches, (We are interested in the "signature spoofing" one but all of them are useful) and follow the instructions on its page to install that module. Now your system supports signature spoofing. (I recommend SmaliPatcher even if your rom supports Signature Spoofing so that no issue arises)
Other ways for signature spoofing are given in MicroG wiki here
(IF YOU ARE ON STOCK ROM)
In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
GmsCore (PrebuiltGmsCore, PrebuiltGmsCorePi, PrebuiltGmsCorePix)
GoogleBackupTransport
GoogleFeedback
GoogleLoginService
GoogleOneTimeInitializer
GooglePartnerSetup
GoogleServicesFramework
Phonesky
SetupWizard
Velvet.
In case you forgot to remove the GmsCore updates, you can manually remove these using adb uninstall com.google.android.gms.
After that, reboot your android device - all privileged GAPPS should be removed. (a bootloop may be caused, but dont worry, just boot into TWRP and follow below steps.)
IF YOU ARE ON CUSTOM ROM-> after flashing rom zip, do not reboot and follow below (DONT FLASH ANY GAPPS)SIZE]
Make full backup of your device if not made till now​
Installing MicroG
Download Latest "MinMicroG-Standard-XXX.zip" from here
Add "system-" to start of package name (thus making it like "system-MinMicroG-Standard-XXX.zip" ) and copy it in sdcard or internal storage of phone. Now boot into TWRP
flash "system-MinMicroG-Standard-XXX.zip".
OLD METHOD, USE THIS IF ABOVE WONT WORK
Download the following from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
Copy below in sdcard or internal storage of phone. Now boot into TWRP
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
flash NanoDroid-setupwizard.zip, now an aroma installer is opened. click on next , agree to terms and click next, chose save location "/data/media/0" (you can change this as per your needs but remember this location since here the installer will save 3 files) and click next
now from here onwards you can select yourself according to your needs or follow my tutorial till the end of aroma installer.
you should be on generic settings page, tick 'apps', 'maps apiv1', 'init scrips', 'gnu bash', and 'shell utils'. click next.
in microG page, select "full", next, on f-droid page select "official", next, select all 4 nlpBackends, next, now here select "play store(patrched)" if you want to use Play store (your choice, if you want to degoogle select "Aurora + fake store"), next
now select apps of your choice here, next, on Debloat setup page click next (yeah just skip it), and finally click on create config, next and finish.
Aroma installer Ends now.
Now while in twrp, connect your phone to PC and browse to internal storage (or the location you selected during aroma installer to save files)
the 3 files will be ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps". Copy these to PC and keep them in some place safe. Now open "nanodroid.zip" (that you downloaded earlier) with winRAR or 7zip and drag and drop these 3 files in it. (they should be in root of the zip where "meta-inf" folder is)
now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it.
now boot into system. if flashing nanodroid causes bootloop, restore from twrp backup that you made (i told you so!).
Configuring MicroG
You need to setup microG , go into microG settings (in app drawer or in settings) and set up everything like:
check results in Self-Check, grant all the missing permissions (by tapping on them)
especially the Battery Optimization item
if Phonesky (= Fake Store or Play Store) lacks signature spoofing permissions head to Settings / Apps / Permissions / Signature Spoofing and grant it
enable Google device registration
enable Google Cloud Messaging (only if you want to receive push messages from your applications)
enable Google SafetyNet, required for applications that utilize SafetyNet, for example Pokémon GO (Currently Broken)
in UnifiedNlp Settings choose all (whichever you've choosen to be installed)
Déjà Vu, Mozilla, Apple, and others (like GSM and WiFi Location Service)
Nominatim as Address lockup backend
after everything is done, reboot
if you installed Play Store open it, setup account and install your apps
Make sure you have all options ticked in self-check of microG settings (except maybe for last one). if not web search it or post it here.
Congratulations, you have successfully removed Gplay services.
ONLY IF YOU HAVE USED OLD METHOD (USING NANODROID)
Updates of nanodroid
Make full backup of your device before update. In case anything happens after update, you can rollback easily​So the nanodroid is updated quite frequently with the apps that come with it. So when you see an updated version of nanodroid on official download page (yeah there are no automatic updates, you have to manually check by going to the download page and download it) download below zips from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip (the updated version)
NanoDroid-uninstaller.zip (the updated version)
* Now open "NanoDroid-xx.xx.xx.xxxxxxx.zip " (updated version) with winRAR or 7zip and drag and drop those 3 files [ ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps".] in it. (just like you did before)
* Now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it through twrp.
You may need to re-configure microG, so just do it again.
Huge thanks to the below members for the tools.
@FriendlyNeighborhoodShane for MinMicroG
@MaR-V-iN for microG (thank you sir!)
@Setialpha for nanodroid
and other ones whom i forgot to add
reserved
reserved 2
reserved just in case
Damn near best tutorial i've ever seen, thank you good sir!! :good::good::good:
i'm not sure i made it work completelly tho..
Coming from stock marshmallow on Galaxy Note 4. I uninstalled google crap first using Titanium backup even tho the phone seemed to get stuck when i was uninstalling the Google Play services, took it almost 1½ hour..). Then manually cleaned some leftovers using file manager in TWRP.
Then just for the heck of it tried to run the Nanodroid patch file but i got an error message that it couldnt deodex one x.jar file (can't remember it's name just now). Tried instead to patch with Smalipatcher but the damn thing couldn't see i have admin privileges no matter what i did and just refused to run alltogether.
Then i tried this way you described. Did everything as the tutorial says, got no error message, everything seemed to run smooth and the apps i chose were installed. (altho TWRP did freeze a couple of times during aroma setup so i had to reset by taking out the battery). Now i know i should set upp the microG settings, but the microG icon and the app is nowhere to be found. The modul named NanoDroid exists and is activ in Magisk, but it's not possible to open it.
Not sure what is happening and how to proceed from here.. Could you give a pointer or two? Would be much appreciated.
What about GoogleLocationHistory???
Is this one needed or does it have to be removed as well?
prkfsz said:
Damn near best tutorial i've ever seen, thank you good sir!! :good::good::good:
i'm not sure i made it work completelly tho..
Coming from stock marshmallow on Galaxy Note 4. I uninstalled google crap first using Titanium backup even tho the phone seemed to get stuck when i was uninstalling the Google Play services, took it almost 1½ hour..). Then manually cleaned some leftovers using file manager in TWRP.
Then just for the heck of it tried to run the Nanodroid patch file but i got an error message that it couldnt deodex one x.jar file (can't remember it's name just now). Tried instead to patch with Smalipatcher but the damn thing couldn't see i have admin privileges no matter what i did and just refused to run alltogether.
Then i tried this way you described. Did everything as the tutorial says, got no error message, everything seemed to run smooth and the apps i chose were installed. (altho TWRP did freeze a couple of times during aroma setup so i had to reset by taking out the battery). Now i know i should set upp the microG settings, but the microG icon and the app is nowhere to be found. The modul named NanoDroid exists and is activ in Magisk, but it's not possible to open it.
Not sure what is happening and how to proceed from here.. Could you give a pointer or two? Would be much appreciated.
Click to expand...
Click to collapse
updated the guide, see new instructions
Retseem said:
What about GoogleLocationHistory???
Is this one needed or does it have to be removed as well?
Click to expand...
Click to collapse
just search in internet what that does and if its useful to you, dont remove it.
Looks good! Almost there?
Thank you for your good work.! All seems well after I follow your steps using a AICP rom. All the checks in microG are green except the play store phonesky, that I can not fix but does not seem to be a problem
Problem:
One test case for me however is the app flightradar24. This app can be installed just fine from the Aurora store. When I start it however it prompts me immediately to install the google play services as they appear not to be installed or up to date. I can also install these from aurora, but haven't done that as it would defy the purpose of of all the previous work.
So my question is:
- Should I expect Flightradar24 to work on a minmicrog system on android 10?
- If so, where is it going wrong?
- Yes I have the microG location services enabled.
PS. Also I tested Gmail. It also complains about absent play services.
Addition: Actually I find that no application the requires Google is working at all. Did I miss something perhaps?
Samsung-frisbee said:
Thank you for your good work.! All seems well after I follow your steps using a AICP rom. All the checks in microG are green except the play store phonesky, that I can not fix but does not seem to be a problem
Problem:
One test case for me however is the app flightradar24. This app can be installed just fine from the Aurora store. When I start it however it prompts me immediately to install the google play services as they appear not to be installed or up to date. I can also install these from aurora, but haven't done that as it would defy the purpose of of all the previous work.
So my question is:
- Should I expect Flightradar24 to work on a minmicrog system on android 10?
- If so, where is it going wrong?
- Yes I have the microG location services enabled.
PS. Also I tested Gmail. It also complains about absent play services.
Click to expand...
Click to collapse
After further investigation I have not been able to run any apps that depend on Google play services. They all fail on not recognizing GPS.
All checks in microG are OK. I am puzzled
^- signature spoofing must be failing.
thanks for making this.
There's LineageOS with microG baked in: https://lineage.microg.org/
Hritwik said:
This guide explains how to deGoogle any android by removing most of google invasive crap. (yes, GPlay services is also removed). ​Play store, Google app and other crap is also removed from system, so if you want to use them, install them as user app. The installation for play store is different, and it is explained below.
Check my Post on reddit for more up to date info and clear instructions HERE
When we remove Gplay services, many apps and services stop working . Many apps will give error but still work (like maps and telegram and whatsapp). Play store will definitely not work and many apps that use push notification through Gplay services (most of them) will not be able to do so. In my case Uber, ola or any other ride app was also not working and was crashing constantly. Paytm will also not work without play services. And on top of that many apps that use location might not behave properly.
Whoosh! those are a lot of problems for uninstalling play services. So, why would anyone want to do that?
Simply put it, Google is an Advertising company. No it is not a company that sells product, i mean yes it sells products and earns from them BUT more than 60% of their revenue comes from Ads that they serve you. And yes, google is the biggest Ad company in the world with more than 80% of ad share (i may be wrong about the %, feel free to search yourself). So obviously they want ta make money out of your data (by selling it) and to do that what better way than to install spyware on world's largest mobile OS.
Google play services record your every action, tracking every app that you opened and everything you do. That data remains with google and they sell it to 3rd parties (and you agreed to it when you made Google account and setup your android device. Remember Clicking on "I AGREE"?).
Here i will not discuss how invasive it is. A simple Web search with "google play services tracking" will give you much more information. (and please do search it, i beg you) (Pro Tip: reddit has best answers, so explore reddit links from search)
Here is a good one explaining things
And Gplay services Eat a LOT of battery by constantly Running in background. So if you want better battery, remove it
So you have decided to degoogle your phone (and debloat it). What to do about all those errors after removing play services?
Here Comes MicroG. microG is an Open Source replacement for Google Play Services.
"MicroG is a free-as-in-freedom re-implementation of Google’s proprietary Android user space apps and libraries.
The linux-based open-source mobile operating system Android is not only the most popular mobile operating system in the world, it’s also on the way to becoming a proprietary operating system. How is that?
While the core operating system is still released as part of the Android Open Source Project, the majority of core apps are not. It gets worse: More and more libraries and APIs are only available on phones that run various Google apps pre-installed, effectively locking third-party apps to the Google ecosystem. For these reasons Android is described as being a “look but don’t touch” kind of open.
At this point, several popular open-source applications already require some of Google’s proprietary libraries to be installed. Increasing demand in the free software community in addition to severe problems in Google’s proprietary software discovered by the Android modding community, have led to the development of a free software clone of Google’s proprietary core libraries and applications - the microG Project was born.
Although most microG components are far from complete, users are amazed by the results. Free software users got extended application support, privacy-caring users can reduce or monitor data that is sent to Google and especially older phones can expect some battery life improvements."
(So it basically removes all those errors. Great!)
So, Lets start Degoogling!
Warning: bootloader needs to be unlocked, magisk should be there and twrp should be installed.
NOTE: MAKE FULL NANDROID BACKUP OF YOUR DEVICE BEFORE PROCEEDING BY GOING TO TWRP -> BACKUP -> SELECT ALL . store it in PC or somewhere safe​
Removing google crap
Flash TWRP and install magisk.
We need Signature spoofing in the ROM. Download SmaliPatcher from here and tick all patches, (We are interested in the "signature spoofing" one but all of them are useful) and follow the instructions on its page to install that module. Now your system supports signature spoofing. (I recommend SmaliPatcher even if your rom supports Signature Spoofing so that no issue arises)
Other ways for signature spoofing are given in MicroG wiki here
(IF YOU ARE ON STOCK ROM)
In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
GmsCore (PrebuiltGmsCore, PrebuiltGmsCorePi, PrebuiltGmsCorePix)
GoogleBackupTransport
GoogleFeedback
GoogleLoginService
GoogleOneTimeInitializer
GooglePartnerSetup
GoogleServicesFramework
Phonesky
SetupWizard
Velvet.
In case you forgot to remove the GmsCore updates, you can manually remove these using adb uninstall com.google.android.gms.
After that, reboot your android device - all privileged GAPPS should be removed. (a bootloop may be caused, but dont worry, just boot into TWRP and follow below steps.)
IF YOU ARE ON CUSTOM ROM-> after flashing rom zip, do not reboot and follow below (DONT FLASH ANY GAPPS)SIZE]
Make full backup of your device if not made till now​
Installing MicroG
Download Latest "MinMicroG-Standard-XXX.zip" from here
Add "system-" to start of package name (thus making it like "system-MinMicroG-Standard-XXX.zip" ) and copy it in sdcard or internal storage of phone. Now boot into TWRP
flash "system-MinMicroG-Standard-XXX.zip".
OLD METHOD, USE THIS IF ABOVE WONT WORK
Download the following from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
Copy below in sdcard or internal storage of phone. Now boot into TWRP
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
flash NanoDroid-setupwizard.zip, now an aroma installer is opened. click on next , agree to terms and click next, chose save location "/data/media/0" (you can change this as per your needs but remember this location since here the installer will save 3 files) and click next
now from here onwards you can select yourself according to your needs or follow my tutorial till the end of aroma installer.
you should be on generic settings page, tick 'apps', 'maps apiv1', 'init scrips', 'gnu bash', and 'shell utils'. click next.
in microG page, select "full", next, on f-droid page select "official", next, select all 4 nlpBackends, next, now here select "play store(patrched)" if you want to use Play store (your choice, if you want to degoogle select "Aurora + fake store"), next
now select apps of your choice here, next, on Debloat setup page click next (yeah just skip it), and finally click on create config, next and finish.
Aroma installer Ends now.
Now while in twrp, connect your phone to PC and browse to internal storage (or the location you selected during aroma installer to save files)
the 3 files will be ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps". Copy these to PC and keep them in some place safe. Now open "nanodroid.zip" (that you downloaded earlier) with winRAR or 7zip and drag and drop these 3 files in it. (they should be in root of the zip where "meta-inf" folder is)
now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it.
now boot into system. if flashing nanodroid causes bootloop, restore from twrp backup that you made (i told you so!).
Configuring MicroG
You need to setup microG , go into microG settings (in app drawer or in settings) and set up everything like:
check results in Self-Check, grant all the missing permissions (by tapping on them)
especially the Battery Optimization item
if Phonesky (= Fake Store or Play Store) lacks signature spoofing permissions head to Settings / Apps / Permissions / Signature Spoofing and grant it
enable Google device registration
enable Google Cloud Messaging (only if you want to receive push messages from your applications)
enable Google SafetyNet, required for applications that utilize SafetyNet, for example Pokémon GO (Currently Broken)
in UnifiedNlp Settings choose all (whichever you've choosen to be installed)
Déjà Vu, Mozilla, Apple, and others (like GSM and WiFi Location Service)
Nominatim as Address lockup backend
after everything is done, reboot
if you installed Play Store open it, setup account and install your apps
Make sure you have all options ticked in self-check of microG settings (except maybe for last one). if not web search it or post it here.
Congratulations, you have successfully removed Gplay services.
ONLY IF YOU HAVE USED OLD METHOD (USING NANODROID)
Updates of nanodroid
Make full backup of your device before update. In case anything happens after update, you can rollback easily​So the nanodroid is updated quite frequently with the apps that come with it. So when you see an updated version of nanodroid on official download page (yeah there are no automatic updates, you have to manually check by going to the download page and download it) download below zips from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip (the updated version)
NanoDroid-uninstaller.zip (the updated version)
* Now open "NanoDroid-xx.xx.xx.xxxxxxx.zip " (updated version) with winRAR or 7zip and drag and drop those 3 files [ ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps".] in it. (just like you did before)
* Now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it through twrp.
You may need to re-configure microG, so just do it again.
Huge thanks to the below members for the tools.
@FriendlyNeighborhoodShane for MinMicroG
@MaR-V-iN for microG (thank you sir!)
@Setialpha for nanodroid
and other ones whom i forgot to add
Click to expand...
Click to collapse
This is gold. Haven't tried yet but will be donating to the MicroG project if this works.
Hritwik said:
This guide explains how to deGoogle any android by removing most of google invasive crap. (yes, GPlay services is also removed). ​Play store, Google app and other crap is also removed from system, so if you want to use them, install them as user app. The installation for play store is different, and it is explained below.
Check my Post on reddit for more up to date info and clear instructions HERE
When we remove Gplay services, many apps and services stop working . Many apps will give error but still work (like maps and telegram and whatsapp). Play store will definitely not work and many apps that use push notification through Gplay services (most of them) will not be able to do so. In my case Uber, ola or any other ride app was also not working and was crashing constantly. Paytm will also not work without play services. And on top of that many apps that use location might not behave properly.
Whoosh! those are a lot of problems for uninstalling play services. So, why would anyone want to do that?
Simply put it, Google is an Advertising company. No it is not a company that sells product, i mean yes it sells products and earns from them BUT more than 60% of their revenue comes from Ads that they serve you. And yes, google is the biggest Ad company in the world with more than 80% of ad share (i may be wrong about the %, feel free to search yourself). So obviously they want ta make money out of your data (by selling it) and to do that what better way than to install spyware on world's largest mobile OS.
Google play services record your every action, tracking every app that you opened and everything you do. That data remains with google and they sell it to 3rd parties (and you agreed to it when you made Google account and setup your android device. Remember Clicking on "I AGREE"?).
Here i will not discuss how invasive it is. A simple Web search with "google play services tracking" will give you much more information. (and please do search it, i beg you) (Pro Tip: reddit has best answers, so explore reddit links from search)
Here is a good one explaining things
And Gplay services Eat a LOT of battery by constantly Running in background. So if you want better battery, remove it
So you have decided to degoogle your phone (and debloat it). What to do about all those errors after removing play services?
Here Comes MicroG. microG is an Open Source replacement for Google Play Services.
"MicroG is a free-as-in-freedom re-implementation of Google’s proprietary Android user space apps and libraries.
The linux-based open-source mobile operating system Android is not only the most popular mobile operating system in the world, it’s also on the way to becoming a proprietary operating system. How is that?
While the core operating system is still released as part of the Android Open Source Project, the majority of core apps are not. It gets worse: More and more libraries and APIs are only available on phones that run various Google apps pre-installed, effectively locking third-party apps to the Google ecosystem. For these reasons Android is described as being a “look but don’t touch” kind of open.
At this point, several popular open-source applications already require some of Google’s proprietary libraries to be installed. Increasing demand in the free software community in addition to severe problems in Google’s proprietary software discovered by the Android modding community, have led to the development of a free software clone of Google’s proprietary core libraries and applications - the microG Project was born.
Although most microG components are far from complete, users are amazed by the results. Free software users got extended application support, privacy-caring users can reduce or monitor data that is sent to Google and especially older phones can expect some battery life improvements."
(So it basically removes all those errors. Great!)
So, Lets start Degoogling!
Warning: bootloader needs to be unlocked, magisk should be there and twrp should be installed.
NOTE: MAKE FULL NANDROID BACKUP OF YOUR DEVICE BEFORE PROCEEDING BY GOING TO TWRP -> BACKUP -> SELECT ALL . store it in PC or somewhere safe​
Removing google crap
Flash TWRP and install magisk.
We need Signature spoofing in the ROM. Download SmaliPatcher from here and tick all patches, (We are interested in the "signature spoofing" one but all of them are useful) and follow the instructions on its page to install that module. Now your system supports signature spoofing. (I recommend SmaliPatcher even if your rom supports Signature Spoofing so that no issue arises)
Other ways for signature spoofing are given in MicroG wiki here
(IF YOU ARE ON STOCK ROM)
In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
GmsCore (PrebuiltGmsCore, PrebuiltGmsCorePi, PrebuiltGmsCorePix)
GoogleBackupTransport
GoogleFeedback
GoogleLoginService
GoogleOneTimeInitializer
GooglePartnerSetup
GoogleServicesFramework
Phonesky
SetupWizard
Velvet.
In case you forgot to remove the GmsCore updates, you can manually remove these using adb uninstall com.google.android.gms.
After that, reboot your android device - all privileged GAPPS should be removed. (a bootloop may be caused, but dont worry, just boot into TWRP and follow below steps.)
IF YOU ARE ON CUSTOM ROM-> after flashing rom zip, do not reboot and follow below (DONT FLASH ANY GAPPS)SIZE]
Make full backup of your device if not made till now​
Installing MicroG
Download Latest "MinMicroG-Standard-XXX.zip" from here
Add "system-" to start of package name (thus making it like "system-MinMicroG-Standard-XXX.zip" ) and copy it in sdcard or internal storage of phone. Now boot into TWRP
flash "system-MinMicroG-Standard-XXX.zip".
OLD METHOD, USE THIS IF ABOVE WONT WORK
Download the following from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
Copy below in sdcard or internal storage of phone. Now boot into TWRP
NanoDroid-setupwizard.zip
NanoDroid-uninstaller.zip (if it causes brick)
flash NanoDroid-setupwizard.zip, now an aroma installer is opened. click on next , agree to terms and click next, chose save location "/data/media/0" (you can change this as per your needs but remember this location since here the installer will save 3 files) and click next
now from here onwards you can select yourself according to your needs or follow my tutorial till the end of aroma installer.
you should be on generic settings page, tick 'apps', 'maps apiv1', 'init scrips', 'gnu bash', and 'shell utils'. click next.
in microG page, select "full", next, on f-droid page select "official", next, select all 4 nlpBackends, next, now here select "play store(patrched)" if you want to use Play store (your choice, if you want to degoogle select "Aurora + fake store"), next
now select apps of your choice here, next, on Debloat setup page click next (yeah just skip it), and finally click on create config, next and finish.
Aroma installer Ends now.
Now while in twrp, connect your phone to PC and browse to internal storage (or the location you selected during aroma installer to save files)
the 3 files will be ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps". Copy these to PC and keep them in some place safe. Now open "nanodroid.zip" (that you downloaded earlier) with winRAR or 7zip and drag and drop these 3 files in it. (they should be in root of the zip where "meta-inf" folder is)
now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it.
now boot into system. if flashing nanodroid causes bootloop, restore from twrp backup that you made (i told you so!).
Configuring MicroG
You need to setup microG , go into microG settings (in app drawer or in settings) and set up everything like:
check results in Self-Check, grant all the missing permissions (by tapping on them)
especially the Battery Optimization item
if Phonesky (= Fake Store or Play Store) lacks signature spoofing permissions head to Settings / Apps / Permissions / Signature Spoofing and grant it
enable Google device registration
enable Google Cloud Messaging (only if you want to receive push messages from your applications)
enable Google SafetyNet, required for applications that utilize SafetyNet, for example Pokémon GO (Currently Broken)
in UnifiedNlp Settings choose all (whichever you've choosen to be installed)
Déjà Vu, Mozilla, Apple, and others (like GSM and WiFi Location Service)
Nominatim as Address lockup backend
after everything is done, reboot
if you installed Play Store open it, setup account and install your apps
Make sure you have all options ticked in self-check of microG settings (except maybe for last one). if not web search it or post it here.
Congratulations, you have successfully removed Gplay services.
ONLY IF YOU HAVE USED OLD METHOD (USING NANODROID)
Updates of nanodroid
Make full backup of your device before update. In case anything happens after update, you can rollback easily​So the nanodroid is updated quite frequently with the apps that come with it. So when you see an updated version of nanodroid on official download page (yeah there are no automatic updates, you have to manually check by going to the download page and download it) download below zips from here
full NanoDroid-xx.xx.xx.xxxxxxx.zip (the updated version)
NanoDroid-uninstaller.zip (the updated version)
* Now open "NanoDroid-xx.xx.xx.xxxxxxx.zip " (updated version) with winRAR or 7zip and drag and drop those 3 files [ ".nanodroid-overlay", ".nanodroid-setup", ".nanodroid-apps".] in it. (just like you did before)
* Now copy NanoDroid-xx.xx.xx.xxxxxxx.zip to your phone and flash it through twrp.
You may need to re-configure microG, so just do it again.
Huge thanks to the below members for the tools.
@FriendlyNeighborhoodShane for MinMicroG
@MaR-V-iN for microG (thank you sir!)
@Setialpha for nanodroid
and other ones whom i forgot to add
Click to expand...
Click to collapse
This is gold. Thank you. Will be donating to the MicroG project if they accept donations, worth every penny.
Edited on Dec.10,2021
It works like a charm with Havoc OS (Samsung S8)
Hi,
I just installed MicroG on a Samsung S8 running Android 7 and although the installation went perfect, without any errors, I don't have any icon, thus I cannot get access to settings. I do see the microG Services Framework application installed in Application Manager but I cannot launch it.
I followed the new instructions to the letter.
Please advise!
Thanks!
SafetyNet fails?
will this guide work on the Stock MIUI 12.0.9 for Mi 9T?
I could use some assistance finding some files. I've tried several methods but can't seem to locate the files below. I'm using a rooted and unlocked S20 5G (986U1) Can you help me with a method or app to find these. I'm using Cx for file manager but the search seems limited, or I'm doing it wrong.
• In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
o GoogleBackupTransport
o GoogleLoginService
o GooglePartnerSetup
o Phonesky
o Velvet.
goobener said:
I could use some assistance finding some files. I've tried several methods but can't seem to locate the files below. I'm using a rooted and unlocked S20 5G (986U1) Can you help me with a method or app to find these. I'm using Cx for file manager but the search seems limited, or I'm doing it wrong.
• In case you had the Google Play Services previously installed (which Users having stock ROM have), remove all updates and the packages in /system/priv-app of the Google Services (you can use TWRP file manager or any root explorer to delete below packages, just delete the apk files in respective folders):
o GoogleBackupTransport
o GoogleLoginService
o GooglePartnerSetup
o Phonesky
o Velvet.
Click to expand...
Click to collapse
Download an all called App Manager from F-Droid
Thank you for this guide!
I have two new devices that I'm not using.
LG K50s and Tablet Lenovo M10
Would like to get them in shape before any use.
There's no Lineage for those or found a linux distro.
Is this the best way yo get rid of all the crap, bloatware, spyware, tracking?
Does it get clean of trackers?
Thank you!

Where to find Playstore apk file inside device ?

Hello members,
Very new to the forum, so please pardon any mistakes.
I am not able to find appropriate forum to ask this specific question.
Every Android device has playstore (aka Google Play) installed in them by default. Playstore app is an apk in itself (package name: com.android.vending).
I am on Android 8 version right now. Tried searching on following locations but failed:
- /data/data/<package name>/
- /data/app/
- /system/app/
- /data/local/
but failed to find apk of playstore.
system/priv-app/phonesky
shiv.ang said:
Every Android device has playstore (aka Google Play) installed in them by default.
Click to expand...
Click to collapse
That's not always true. When flashing replacement ROMs, the base Android does NOT come with the Google apps including the Google Play Store. That's why we go to the Open GApps website and download a collection of apps for a specific device architecture and Android version.
The Open GApps Project
OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.
opengapps.org
SteinbeckFan said:
That's not always true. When flashing replacement ROMs, the base Android does NOT come with the Google apps including the Google Play Store. That's why we go to the Open GApps website and download a collection of apps for a specific device architecture and Android version.
The Open GApps Project
OpenGApps.org offers information and pre-built packages of The Open GApps Project. The Open GApps Project is an open-source effort to script the automatic generation of up-to-date Google Apps packages. All Android versions and platforms supported.
opengapps.org
Click to expand...
Click to collapse
This case stands true when I root the device with replacement ROMs.
I can have playstore if I don't replace the OS. Please correct me if I am wrong. ( I think this is possible if we just use twrp with recovery and install SuperSu/Magisk but please feel to comment as I am new to rooting.)
In that case, I wanted to know apk location for com.android.vending
tutibreaker said:
system/priv-app/phonesky
Click to expand...
Click to collapse
Thank you. I will check this location on device without stockROMs.
For my current setup, this location was missing. As @SteinbeckFan said, the OS that I installed did not had playstore and hence this location was missing.
shiv.ang said:
Hello members,
Very new to the forum, so please pardon any mistakes.
I am not able to find appropriate forum to ask this specific question.
Every Android device has playstore (aka Google Play) installed in them by default. Playstore app is an apk in itself (package name: com.android.vending).
I am on Android 8 version right now. Tried searching on following locations but failed:
- /data/data/<package name>/
- /data/app/
- /system/app/
- /data/local/
but failed to find apk of playstore.
Click to expand...
Click to collapse
Good question. As you will find it in the root setting of the mobile. Lets go to the the setting and check the downloaded apps. It will be there. Like if you download bike rivals modded so it will be there in the downloaded app with the same name.

Categories

Resources