Universal Android Debloater
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is a complete rewrite in Rust of the UAD bash script.
DISCLAIMER : Use this software at your own risk. I am not responsible for anything that could happen to your phone.
Summary
I try to maintain a universal tool which removes bloatwares on any Android phones by using ADB.
The main goal is to improve battery performance and privacy by removing unnecessary and obscure system apps. This can also contribute to improve security by reducing the attack surface.
Packages are as well documented as possible in order to provide a better understanding of what you can delete or not. The worst thing which could happen is removing an essential system package needed during boot causing then an unfortunate bootloop. After about 5 failed system boots, the phone will automatically reboot in recovery mode and you'll have to perform a FACTORY RESET. So make a backup first!
In any case, you can NOT brick your device with this script ! That's the main thing, right ?
Features
Uninstall/Disable and Restore/Enable system packages
Multi-user support (e.g apps in work profiles)
Export/Import your selection in uad_exported_selection.txt
Multi-device support: you can connect multiple phones at the same time
All your actions are logged so you never forget what you've done
NB : System apps cannot really be uninstalled without root (see the FAQ)
Universal debloat lists
GFAM (Google/Facebook/Amazon/Microsoft)
AOSP
Manufacturers (OEM)
Mobile carriers
Qualcomm / Mediatek / Miscellaneous
Manufacturers debloat lists
Asus
LG
Google
Fairphone
Huawei
Motorola
Nokia
OnePlus
Oppo
Samsung
Sony
Xiaomi
Mobile carriers debloat lists
French carriers: SFR / Orange / Free / Bouygues
US carriers: T-mobile / Verizon / AT&T / Sprint
German carriers: Telekom
UK: EE
How to use
Newbie guide
Acknowledgement
@orelta (his samsung root debloat script motivated me to start this project)
@skylot (developer of the Jadx software)
@Esther (maintainer of the Bazaar platform)
All the awesome contributors to this project!
Reserved
How to contribute
See here
How to report bugs
Open an issue on Github. I rarely respond on this XDA thread.
Nice approach. Has someone tried to debloat Google play services? Up till now I install GApps free custom ROMs on my phones.
I try extreme google debloat on Samsung A3 2017. First check was OK. Debloater 2.1 with standard settings GFAM worked fine. Factory reset completely restored all the bloatware.
Second try:
Install f-droid and hacker's keyboard before install
$ adb push F-Droid.apk /storage/emulated/0
$ adb push org.pocketworkstation.pckeyboard_1041001.apk /storage/emulated/0
Replace all #"com.google with "com.google in /lists/Google.sh
Debloat GFAM
Reboot is OK. Playstore still there, but can be deactivated. Samsung_bloat can't be debloated.
Sometimes I get the message Google play services has stopped.
F-Droid can install apps. They run.
Galaxy store can't get deactivated.
Edit: debloating webview was no good idea. I've got many crashes of antennapod app. Restoring helped.
Noob solution: copy Samsung list into Google list and debloat GFAM. Looks good. Only headlines are now says four times Samsung.
GMS debloat fails with some device policy error.
Next noob trick
$ adb shell
a3y17lte:/ $ pm uninstall com.google.android.gms
Failure [DELETE_FAILED_DEVICE_POLICY_MANAGER]
a3y17lte:/ $ pm disable-user com.google.android.gms
Package com.google.android.gms new state: disabled-user
Hi, thank you for this nice thread, exactly what I was looking for.
Possibly a solution for google play services:
I did deactivated the Google play services on Samsung a20 without computer by entering settings app, then "biometric and security" then "other security settings" then "device admin apps" and unselect "find my device", then head over apps in settings and "show system apps, then search for Google play services and now it can be disabled,
For samsung apps you can deactivate it by deactivating "galaxy store"
Perhaps the user must do that before running the code.
HOPE you can manage to translate that into your code language, and integrate it into your script, so we can all enjoy it.
Thank you very much, worked like a charm.
w1nst0n_fr said:
Universal Android Debloater
@xgouchet (developer of the Stanley app)
[/LIST]
[/LEFT]
Click to expand...
Click to collapse
Hi, I encountered a very small problem today when i tried to share a video to another phone through Wi-Fi Direct, I can't share with wifi Direct, the only available option is bluetooth (see attachment), do you how can I solve this ?
Maybeyou said:
Hi, I encountered a very small problem today when i tried to share a video to another phone through Wi-Fi Direct, I can't share with wifi Direct, the only available option is bluetooth (see attachment), do you how can I solve this ?
Click to expand...
Click to collapse
Search your "debloated packages" list for wifi related stuff and restore that. Or make sure both devices are i the same wlan and use an app like TrebleShot or KDE connect
Sorry for the wait!
I'm glad you find my project useful !
kurtn said:
Nice approach. Has someone tried to debloat Google play services? Up till now I install GApps free custom ROMs on my phones.
Click to expand...
Click to collapse
I don't understand your question. If you want to debloat Google Play Services why installing Gapps in the first place ?
kurtn said:
Install f-droid and hacker's keyboard before install [...]
Reboot is OK. Playstore still there, but can be deactivated. Samsung_bloat can't be debloated.
Sometimes I get the message Google play services has stopped. [...]
Edit: debloating webview was no good idea. I've got many crashes of antennapod app. Restoring helped.
Click to expand...
Click to collapse
Small tip : you can directly do
Code:
$ adb install F-droid.apk
There was a pretty nasty bug in v2.1 which prevented using the "manufacturer lists". Use v2.2.1 (or, better, wait for the v2.3 which should be released within the week!)
If you have the message `Google Play Services has stopped` it means you didn't uninstall the package. Did you uninstall some Google packages in the advanced debloat section ?
Regarding the Google Webview you can uninstall it but a lot of apps will no longer work correctly or even open. Bromite WebView is a good and more private alternative if you really need a Webview (which is a kind of mini web browser for apps which need to display web content btw)
kurtn said:
Looks good. Only headlines are now says four times Samsung.
GMS debloat fails with some device policy error.
Click to expand...
Click to collapse
Maybeyou said:
Hi, thank you for this nice thread, exactly what I was looking for.
Possibly a solution for google play services:
I did deactivated the Google play services on Samsung a20 without computer by entering settings app, then "biometric and security" then "other security settings" then "device admin apps" and unselect "find my device", then head over apps in settings and "show system apps, then search for Google play services and now it can be disabled,
For samsung apps you can deactivate it by deactivating "galaxy store"
Perhaps the user must do that before running the code.
HOPE you can manage to translate that into your code language, and integrate it into your script, so we can all enjoy it.
Click to expand...
Click to collapse
@Maybeyou is right. You need to uncheck Find My Device from the Device admin apps before trying to uninstall the Google Play Services.
I already mentioned this in the Google.sh file and a script can't do it. It's something you need to do ! I assume a user will read the package description I wrote in the advanced debloat section before doing anything.
Maybeyou said:
Hi, I encountered a very small problem today when i tried to share a video to another phone through Wi-Fi Direct, I can't share with wifi Direct, the only available option is bluetooth (see attachment), do you how can I solve this ?
Click to expand...
Click to collapse
Mhm... I delete Wifi-direct by default but I'm gonna change this behavior for the next version.
Restore com.samsung.android.allshare.service.fileshare to get Wifi-direct back
@w1nst0n_fr thank you. My first post was not about debloating custom rom from GApps. It was a general question: is the debloater an alternative approach to get a 99% Google free phone. My answer: yes, but you need some luck. You can't know how your phone perfoms afterwards. For custom rom there are tons of reports for each device.
w1nst0n_fr said:
Sorry for the wait!
I'm glad you find my project useful !
Mhm... I delete Wifi-direct by default but I'm gonna change this behavior for the next version.
Restore com.samsung.android.allshare.service.fileshare to get Wifi-direct back
Click to expand...
Click to collapse
Yes this is a great project for me, and I did restore com.samsung.android.allshare.service.fileshare and now wifi Direct is working again. Thanks mate, keep up this great work brother
kurtn said:
@w1nst0n_fr thank you. My first post was not about debloating custom rom from GApps. It was a general question: is the debloater an alternative approach to get a 99% Google free phone. My answer: yes, but you need some luck. You can't know how your phone performs afterwards. For custom rom there are tons of reports for each device.
Click to expand...
Click to collapse
Oh ! I misread you first post actually. You were talking about Gapps free phone. I understand better now!
IMO the most reliable and safest way to get a 99% Google free phone is to install an AOSP custom ROM without Gapps. For the 1% left you need to tinker with DNS, WebView, GPS... (this guide is not bad)
I insist on AOSP custom ROM because a stock-based custom ROM has the same issues as my script. The thing is it is not always possible to unlock the bootloader or to find an AOSP ROM for one's device. This why I created this script.
What is really tedious and not always simple is to document all the packages. There is a LOT of system packages whose the exact function is hard to determine and the consequence of their uninstallation very obscure. When I have the apk I can at least try to reverse-engineer to make some assumptions but it isn't bulletproof.
Maybeyou said:
Yes this is a great project for me, and I did restore com.samsung.android.allshare.service.fileshare and now wifi Direct is working again. Thanks mate, keep up this great work brother
Click to expand...
Click to collapse
Thanks.
w1nst0n_fr said:
Oh ! I misread you first post actually. You were talking about Gapps free phone. I understand better now!
IMO the most reliable and safest way to get a 99% Google free phone is to install an AOSP custom ROM without Gapps. For the 1% left you need to tinker with DNS, WebView, GPS... (this guide is not bad)
I insist on AOSP custom because a stock-based custom ROM has the same issues as my script. The thing is it is not always possible to unlock the bootloader or to find an AOSP ROM for his/her device. This why I created this script.
What is really tedious and not always simple is to document all the packages. There are a LOT of system packages whose the exact function is hard to determine and the consequence of their uninstallation very obscure. When I have the apk I can at least try to reverse-engineer to make some assumptions but it isn't bulletproof.
Thanks.
Click to expand...
Click to collapse
Nice promotion! "Hey this is second best" I see quite some advantages over aosp rom.
Better hardware support like camera or graphics acceleration.
Better security due to locked boot loader and latest patches in proprietary components.
Better stability - no hobbyists mess around.
hi developer
can u pls screenshot or youtube record the process please? im abit lost with the whole thing. i am aware how to use adb n remove manually bloatwares. unless u could provide the whole lists of bloatwares?
rameshhelp said:
hi developer
can u pls screenshot or youtube record the process please? im abit lost with the whole thing. i am aware how to use adb n remove manually bloatwares. unless u could provide the whole lists of bloatwares?
Click to expand...
Click to collapse
Download zip from link in OP. There are human readable files inside
I did "install WSL (Windows Subsystem for Linux) in order to be able to use bash scripts and Install ADB. If you want ADB support everywhere on your PC, you need to add the path of the ADB folder in the system variables"
When i use bash app: bash debloat_script.sh and get error "debloat_script.sh: line 112: adb: command not found"
Plz help me, tnx
netcrk said:
I did "install WSL (Windows Subsystem for Linux) in order to be able to use bash scripts and Install ADB. If you want ADB support everywhere on your PC, you need to add the path of the ADB folder in the system variables"
When i use bash app: bash debloat_script.sh and get error "debloat_script.sh: line 112: adb: command not found"
Plz help me, tnx
Click to expand...
Click to collapse
At some point it's easier to run a real Linux system. Dual boot or live usb stick.
- hi guys, i would like to share this exported txt file from 'debloater' which i installed as a magisk module to debloat a samsung phone, in essence debloater works in the same way as the script in the main thread ( thanks @w1nst0n_fr ) other than it can be used locally in termux.
- it took me a while to get the phone to a stable state with multiple tries but i eventually managed to do it.
- I've managed to debloat most of samsung/google junk out including but not limited to google apps, i hope this will help
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTE: For those asking about an update of this rom to the latest QK1 baseband, it appears that you can now manually update this rom to QK1 in Settings without adding any stock bloat or damaging the rom. For more info, please refer to this post HERE.
UPDATE: The Xposed Framework works with this rom. You can find more info on that HERE.
Hey guys! I thought I'd make this super lite version of the new "N920TUVU4EQC6" Nougat stock firmware for all my fellow T-Mobile Note 5-ers out there. It's much smaller than the official stock firmware package, but please note that I didn't get rid of all the Samsung or Gapps stuff like many debloated roms do. I basically tried to make the rom as lite as possible without reducing any functionality of the S Pen, networking, Settings & Quick Settings options, image & video editing capabilities, S Health heartbeat sensor functionality, S Voice and TTS stuff, etc., so I left all the necessary stuff to do that. I left the Play Store installed too, so no one has to flash a Gapps package just to download apps. Any other Google apps you want you can just download from HERE or you can actually still install a Gapps package if you really want too. I've tested the ones from OpenGapps btw and they work fine with this rom.(Just make sure you're selecting "ARM64", "7.0" & whatever Gapps package you want.) Keep in mind too that anything Google you add increases your online footprint, releases a lot more data over the web and decreases your own level of security.
The main thing I focused on for this rom though was the personal security of the user.
Security Features:
- VPN/TOR support For Online Anonymity.(via Orbot)
To get started using this feature right away and secure yourself just:
1) Make sure you've updated to the newest version of "Orbot" from the Play Store.(Contains some fixes for some crashes that were happening for some.)
2) Open Orbot from the "Security" folder on the home page.
3) Hit the "Start" button.
4) Click the top left menu and switch on "Apps VPN Mode".
5) Click "Proxy All" Button at the bottom of the next page.
That's it. You're done.
NOTE: Some users have reported experiencing force closes in Orbot for some reason when trying to apply the above settings for the first time. If this happens then just open android Settings and go to Apps>Orbot and click on "Force Stop" Then click on "Storage" below and tap "Clear Data". Should fix the issue. The latest version in the Play Store says that it fixes some crashes, so make sure Orbot is fully up to date.
- More Secure Web Browsing & Web Search Options.(via Orfox & DuckDuckGo)
Orfox browser comes with Tor already built in and is best for remaining anonymous online. DuckDuckGo is good for private searches and doing things that Orfox may block for security purposes. You can enable Tor in the DuckDuckGo browser settings if you want too, though all your apps should already be running on a private connection(VPN) as it is if you followed the Orbot steps above.
- Private Calls & SMS/MMS Text Messaging.(via Signal)
INSTRUCTIONS(To See Your Text Messages):
1) Open the Signal app at the bottom of the home page.
2) Enter your phone #.
3) Click the "Register" button.
Your texts will then appear and will be private/encrypted from now on. You can make private calls through the app too.
NOTE: If you must have the stock messaging app, then please refer to this post HERE.
- A Secure Password Manager For Creating & Storing Encrypted Passwords For All Your Accounts.(via Keepass2Android)
- 2-Factor Authentication Support For Your Accounts Providing The Ability To Generate 2 Step Verification Codes For Secure Log Ins.(via Authy)
You will have to sign up for 2 Step Verification with your account provider(Facebook, Google or wherever) first before you can use this service. Then you will have to authenticate it with the app. Afterwards when you try and log into your account it will ask you for a 6 digit token # to access your account which this app provides. Makes it so no one else can access your account even if they had your password because they would need to have your device as well to access it.
- Functionality To Block The Camera From Being Opened Secretly For Anti-Spyware Protection.(via Camera Blocker)
Camera Blocker Instructions
- Real-Time Connection Monitor For Tracking Exactly Where Your Apps Are Connecting To Visually On A Map.(via SpyMonitor)
I just added this one as a fun little extra security feature. It is good to check from time to time where all your data is going though.
- Best of all though, if you don't really want any of that stuff and just want to further debloat, I added an option for people to delete whatever system or user apps they want.(via System App Safe Remover)
NOTE: These are all important features for protecting your identity online, for more information on all the features listed above, please just look the corresponding apps up in the Play Store. If anyone wants more information about deleting apps or restoring some of the stock apps to the rom for whatever reason, then they should read this comment HERE.
Other Features:
Aroma Installer
Roots With No-Verity-Opt-Encrypt & SuperSU on install.
Init.d Support
Deodexed
Deknoxed
Debloated
Custom QC6 Lite Boot & Shutdown Animations
Custom Anonymous/Guy Fawkes Theme
Latest Version of the S8 TouchWiz Launcher
Latest Version of Bixby
Known Issues(and their fixes):
Bixby- Needs to update ICS(Interactive and Customized Services), but won't when you try to update. This is an issue on Samsung's end that came about recently. To get it to work you just have to install Personalization Service Client from HERE. You can always just touch and hold on the homescreen and toggle the switch to turn off Bixby if you don't want it too.
Orbot- If you experience any force closes, then make sure you've fully updated it in the Play Store. Latest version contains some important crash fixes.
Gear VR Function- I removed this stuff originally just to further debloat some of the extra Samsung stuff, but if anyone has Gear or a Gear VR device and wants those files back, then just flash the restore file from the Downloads page in TWRP. Thanks!.
Voice Typing- To enable the microphone in Samsung Keyboard, then just check out this post HERE
Netflix- This app is not included with the rom, but just as an honorable mention, Netflix doesn't work right out of the box. This is not a rom issue. This is a Netflix issue. You may not even find Netflix in the Play Store because it is not technically supported for the Note 5 on the new Nougat SDK yet. To fix this though, then just first download the newest Netflix app(version 4.16.1 build 15145 or newer) from HERE and then use ES File Explorer to find and delete the file "liboemcrypto.so" from "/system/lib/" so you don't experience any service interruption.
Prerequisites:
Root
Custom Recovery https://dl.twrp.me/noblelte/twrp-3.1.0-0-noblelte.img.tar.html
SM-N920T Only!!!
DISCLAIMER: I Am Not Responsible For What You Do To Your Device. Flash At Your Own Risk.
Installation:
1) Download Rom To Device.
DOWNLOAD HERE
2) Wipe
3) Flash Rom In TWRP (root and SuperSU included) & Reboot
4) WAIT!(See note below.)
5) Hit the "Thanks" button or feel free to Donate for my time.
NOTE: First boot may take several minutes(possibly as much as 5-10 mins even). It may reboot a few times as well as it roots and installs SuperSU...If you prefer Magisk for whatever reason, then just download the Magisk app and open it. I believe it should guide you through the process of switching over. Personally, I prefer the functionality & simplicity of SuperSU though.
Happy flashing guys! If you like the rom, then be sure to tap either the THANKS or DONATE buttons below. Thank you!
Update Details:
v.1.0 -
Added: Custom Boot/Shutdown Animations, Automatic Root By SuperSU On Install, Multiple Security Apps, Mobile Data Toggle In Quick Settings, New Apps & Widgets Set On The Homescreen By Default To Help You Get Started.
Updated: Bixby Instead Of Flipboard, TouchWiz Updated To S8 Version, Google Search Changed To DuckDuckGo Search, S Browser replaced with Orfox Tor Browser, Stock Text Messaging App Replaced With Signal Private Messenger App, Limited Stock File Browser Replaced With ES File Explorer
Fixed: Samsung Health Not Working On Rooted Nougat Device Issue
XDA:DevDB Information
QC6 LITE ROM, ROM for the T-Mobile Samsung Galaxy Note5
Contributors
bogarty
ROM OS Version: 7.x Nougat
Based On: Stock
Version Information
Status: Stable
Current Stable Version: QC6 Lite Rom v1.0
Stable Release Date: 2017-04-29
Created 2017-04-30
Last Updated 2017-04-30
Reserved
thanks, heard of TOR. will try tonight. hopefully super fast too. anyway to unlock tethering hotspot, Audio mod.
voyagerair said:
thanks, heard of TOR. will try tonight. hopefully super fast too. anyway to unlock tethering hotspot, Audio mod.
Click to expand...
Click to collapse
Well, I don't know about about Audio Mod, though it looks like you can just flash the file from here if this is the one you meant:
https://forum.xda-developers.com/tmobile-galaxy-note5/themes-apps/mod-tmon5surroud-sound-t3187359
Hadn't thought about tethering hotspot either, though, depending on what you want to do, I did leave the mobile Hotspot app in the rom for doing hotspot over wifi. There is always the Android Beam function if you just want to transfer files or share links, contacts, etc. from one device to another. It's not the same as tethering though I know. Maybe I'll look into incorporating that if I can at some point later on down the road if/when I get some more extra time.
thanks for the link.
I meant unlimited tethering hotspot. Tmobile limit 5 GB at 4GLTE, after that still can tether ...but at 2G speed which is useless nowadays.
Anyways...after reboot, ROM is still at very 1st screen. haven't SAMSUNG logo yet. 10 pass already
---------- Post added at 10:05 AM ---------- Previous post was at 09:52 AM ----------
3rd flash; made it to boot screen
HARKformat
flash
don't reboot
clean davidcatch/catch
reboot system
thanks
voyagerair said:
thanks for the link.
I meant unlimited tethering hotspot. Tmobile limit 5 GB at 4GLTE, after that still can tether ...but at 2G speed which is useless nowadays.
Anyways...after reboot, ROM is still at very 1st screen. haven't SAMSUNG logo yet. 10 pass already
---------- Post added at 10:05 AM ---------- Previous post was at 09:52 AM ----------
3rd flash; made it to boot screen
HARKformat
flash
don't reboot
clean davidcatch/catch
reboot system
thanks
Click to expand...
Click to collapse
As it says in the OP, you may have to wait awhile for the 1st boot to complete. Possibly even 5-10 minutes. Also, it may reboot up to 3 times or so on 1st boot while it roots. Believe me, it works really good. Using it right now in fact. Just have to be patient the 1st boot up.
1) Wipe.
2) Reflash.
3) Wait!
followed all of your steps to activate Orbot...but keeps FC
voyagerair said:
followed all of your steps to activate Orbot...but keeps FC
Click to expand...
Click to collapse
Strange. Try clearing the data on it in Settings and reboot.
does it support multilanguages ??
waelzubaidi said:
does it support multilanguages ??
Click to expand...
Click to collapse
Yes. Multi-language is actually quite built in now. Just go to "Settings>General Management>Language and Input, Language", then click on "Add Language" and add whatever language you desire.
Note: Click top right menu and click on "All Languages" to see more languages if yours doesn't appear.
bogarty said:
View attachment 4132658Hey guys! I thought I'd make this super lite version of the new "N920TUVU4EQC6" Nougat stock firmware for all my fellow T-Mobile Note 5-ers out there. It's much smaller than the official stock firmware package, but please note that I didn't get rid of all the Samsung or Gapps stuff like many debloated roms do. I basically tried to make the rom as lite as possible without reducing any functionality of the S Pen, networking, Settings & Quick Settings options, image & video editing capabilities, S Health heartbeat sensor functionality, S Voice and TTS stuff, etc., so I left all the necessary stuff to do that. I left the Play Store installed too, so no one has to flash a Gapps package just to download apps. Any other Google apps you want you can just download from here: https://www.apkmirror.com/apk/google-inc/
The main thing I focused on for this rom though was the personal security of the user.
Security Features:
- VPN/TOR support For Online Anonymity.(via Orbot)
To get started using this feature right away and secure yourself just:
1) Open Orbot from the "Security" folder on the home page.
2) Hit the "Start" button.
3) Click the top left menu and switch on "Apps VPN Mode".
4) Click "Proxy All" Button at the bottom of the next page.
That's it. You're done.
- More Secure Web Browsing & Web Search Options.(via Orfox & DuckDuckGo)
- Private Calls & SMS/MMS Text Messaging.(via Signal)
- A Secure Password Manager For Creating & Storing Encrypted Passwords For All Your Accounts.(via Keepass2Android)
- 2-Factor Authentication Support For Your Accounts Providing The Ability To Generate 2 Step Verification Codes For Secure Log Ins.(via Authy)
- Functionality to block the camera from being opened secretly For Anti-Spyware Protection.(via Camera Blocker)
- Real-Time Connection Monitor For Tracking Exactly Where Your Apps Are Connecting To Visually On A Map.(via SpyMonitor)
- Best of all though, if you don't really want any of that stuff and just want to further debloat, I added an option for people to delete whatever system or user apps they want.(via System App Safe Remover)
NOTE: These are all extremely important features for protecting your identity online, for more information on all the features listed above, please just look the corresponding apps up in the Play Store.
Other Features:
Aroma Installer
Roots With No-Verity-Opt-Encrypt & SuperSU on install.
Init.d Support
Deodexed
Deknoxed
Debloated
Custom QC6 Lite Boot & Shutdown Logos
Custom Anonymous/Guy Fawkes Theme
Latest Version of the S8 TouchWiz Launcher
Latest Version of Bixby
Known Bugs:
Bixby- Needs to update ICS(Interactive and Customized Services). It takes MANY tries to get it to update, but when it finally does, everything works fine. https://forum.xda-developers.com/showpost.php?p=72084170&postcount=11
This is an issue on Samsung's end that came about recently. You can always just touch and hold on the homescreen and toggle the switch to just turn off Bixby if you want too.
Prerequisites:
Root
Custom Recovery https://dl.twrp.me/noblelte/twrp-3.1.0-0-noblelte.img.tar.html
SM-N920T Only!!!
DISCLAIMER: I Am Not Responsible For What You Do To Your Device. Flash At Your Own Risk.
Installation:
1) Download Rom To Device.
DOWNLOAD HERE
2) Flash Rom In TWRP (root and SuperSU included)
3) Reboot
4) WAIT!(See note below.)
NOTE: First boot may take several minutes(possibly as much as 5-10 mins even). It may reboot a few times as well as it roots and installs SuperSU...If you prefer Magisk for whatever reason, then just download the Magisk app and open it. I believe it should guide you through the process of switching over. Personally, I prefer the functionality & simplicity of SuperSU though.
Happy flashing guys! If you like the rom, then be sure to hit either THANKS or DONATE buttons below. Thank you!
Update Details:
v.1.0 -
Added: Custom Boot/Shutdown Animations, Automatic Root By SuperSU On Install, Multiple Security Apps, Mobile Data Toggle In Quick Settings, New Apps & Widgets Set On The Homescreen By Default To Help You Get Started.
Updated: Bixby Instead Of Flipboard, TouchWiz Updated To S8 Version, Google Search Changed To DuckDuckGo Search, Stock Text Messaging App Replaced With Signal Private Messenger App, Limited Stock File Browser Replaced With ES File Explorer
Fixed: Samsung Health Not Working On Rooted Nougat Device Issue
XDA:DevDB Information
QC6 LITE ROM, ROM for the T-Mobile Samsung Galaxy Note5
Contributors
bogarty
ROM OS Version: 7.x Nougat
Based On: Stock
Version Information
Status: Stable
Current Stable Version: QC6 Lite Rom v1.0
Stable Release Date: 2017-04-29
Created 2017-04-30
Last Updated 2017-04-30
Click to expand...
Click to collapse
Nice job!
no message app
thanks nice rom
daegaa said:
no message app
thanks nice rom
Click to expand...
Click to collapse
Signal is the messaging app. It says that in the OP. Just type in your phone number and press register and then you will see your text messages. I replaced it for more security because it is a way of getting text messages(and making calls) privately.
voyagerair said:
followed all of your steps to activate Orbot...but keeps FC
Click to expand...
Click to collapse
Same happens with me as well, But I assure you the settings are still working if you changed anything. The only thing would be clearing the data and doing everything over again if you want to change your settings. I don't know why it does this but it's the only way that's been working for me so far.
As for the bixby ICS, just install the Personalization Service Client from APKMIRROR LINK and it will update it.
The only thing I'm having problem with is the bixby vision not being recognized on photos. I don't know if it have to do with installing the updated bixby files from apkmirror before updating the app, as I should of just left it as default since bogarty said it was on latest. So i'm unsure of that as scrolling to left works though, just not bixby voice and vision. Gonna Dirty Flash ROM and see if it fixes the problem.
Other than that, the ROM is pretty nice, enjoy the security done with this ROM.
TrayDays said:
Same happens with me as well, But I assure you the settings are still working if you changed anything. The only thing would be clearing the data and doing everything over again if you want to change your settings. I don't know why it does this but it's the only way that's been working for me so far.
As for the bixby ICS, just install the Personalization Service Client from APKMIRROR LINK and it will update it.
The only thing I'm having problem with is the bixby vision not being recognized on photos. I don't know if it have to do with installing the updated bixby files from apkmirror before updating the app, as I should of just left it as default since bogarty said it was on latest. So i'm unsure of that as scrolling to left works though, just not bixby voice and vision. Gonna Dirty Flash ROM and see if it fixes the problem.
Other than that, the ROM is pretty nice, enjoy the security done with this ROM.
Click to expand...
Click to collapse
Thanks Tray! You're right. Personalization Service does fix Bixby. I'll add the link to the OP. I haven't tried installing Bixby Vision yet, it's possible it may only work with the newest camera 7.0.x. I tried adding that camera to the rom actually, but it wasn't compatible.
bogarty said:
Thanks Tray! You're right. Personalization Service does fix Bixby. I'll add the link to the OP. I haven't tried installing Bixby Vision yet, it's possible it may only work with the newest camera 7.0.x. I tried adding that camera to the rom actually, but it wasn't compatible.
Click to expand...
Click to collapse
Ah, makes sense. Good to get a confirmation on it. Also thanks, appreciate it man.
voyagerair said:
followed all of your steps to activate Orbot...but keeps FC
Click to expand...
Click to collapse
TrayDays said:
Same happens with me as well, But I assure you the settings are still working if you changed anything. The only thing would be clearing the data and doing everything over again if you want to change your settings. I don't know why it does this but it's the only way that's been working for me so far.
Click to expand...
Click to collapse
You might also check and see if you need to update the app in the Play Store too. The latest update lists:
* Fixes for app selection screen layout and crash bugs.
* Fixes for native code crashes for some devices.
EDIT: By the way, if you guys ever want to change your Tor identity on the fly too, then you can just open the app and swipe the green onion picture in any direction.
Thanks for this dev. Has anyone gotten a hang on Install upon completion? After "Installation completed successfully", when I clicked NEXT, I got a full freeze. Waited 15 mins, nothing...
*Edited for keyboard battery dying, LOL.
I was able to hard reset and get back into TWRP. Tried installing again, this time I did it w/safe wipe and it seems to be working. Will keep you posted on results after light use. Thanks again.
Recoiler said:
Thanks for this dev. Has anyone gotten a hang on Install upon completion? After "Installation completed successfully", when I clicked NEXT, I got a full freeze. Waited 15 mins, nothing...
Click to expand...
Click to collapse
If it completed successfully, then just hold down the power button and reboot. Should be fine. First boot will take awhile.
Just went through and further explained all the security features in the OP. Added some images too as a guide. Hope this helps those who want to fully take advantage of those features.
Updated and tested for Android 10 (with Omnirom)
Why MicroG?
Here is a great explanation from the official wiki itself: https://github.com/microg/android_packages_apps_GmsCore/wiki
There are different and good reasons to move away from Google services and get microG services:
1) More privacy: all Marvin's work is open source and focused on privacy. The "Google Play Services" app is probably the worst app you can have on Android when it comes to telemetry, spying, etc. It's always running tons of services to know all your comings and goings. As a side note, it's also good to not rely on Google too much.
2) More RAM available: Google Play Services use a lot of RAM when GMScore uses almost nothing.
3) More battery life, especially while idling: you'll avoid all the wakelocks related to Play Services (whether they are intentional or not)
CREDITS / Thank you:
@MaR-V-iN, for his wonderful and amazing work to free us from Google. One of the most underrated dev in the Android world.
@Setialpha , for his nanodroid module and his availability to help.
@topjohnwu for Magisk
How will your Android experience change?
Actually, not so much. If you're only interested in MicroG for the reasons 2) and 3), you can still use all Google apps, including the Play store (you need a patched version). Be aware, some apps don't work or are not working properly. Implementation status of different Android/Google services can be found here: https://github.com/microg/android_packages_apps_GmsCore/wiki/Implementation-Status
If you wonder if an app works or if you've tried and it doesn't work, just check on the issues tracker on Github or on your favorite search engine.
Now, if you want to change your habits, F-Droid will become your new best friend. It's an app store, like the Play Store, but which only delivers controlled, quality and open source apps. Both stores share many apps in common but F-Droid also has apps that the Play Store doesn't, because they're against Google policy for example. It should become your main app store as it's always good to use open source apps, for many reasons. Let's not start a debate here.
However, at least, at the beginning, it's tough to not use ANY app from the play store. For that, you should use Aurora store (whick is a fork of Yalp Store FYI). You get access all apps from Play Store. You can either use an anonymous account or use your own Google account. In the second case, you'll be able to download your paid apps. However, these won't work if they include a license check (most of them nowadays). You can nicely ask the dev if there's a workaround. Some accept, like the team behind Titanium Backup for example. Or SmartPack Kernel Manager's developer.
If you're looking for open source alternatives to the apps you usually use, I could list a few of them but this list is just great: https://github.com/offa/android-foss .
If you don't know how to replace Google services, this list is great as well: https://shadow53.com/android/no-gapps/alternatives/
You can also check on reddit like on this subreddit: https://www.reddit.com/r/fossdroid/
What ROM to use?
Any custom AOSP ROM should work, as long as :
1° it supports signature spoofing
2° it's deodexed
3° it supports alternative location backends, it's
-I wouldn't recommend any ROM that comes with gapps included. It just makes things more complicated.
On Android 10, I would highly recommend OmniROM, which offers an archive with microg prebundled, and also because it perfectly supports microG (signature spoofing, alternative location backends, etc.)
USEFUL LINKS
-MicroG thread: https://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
-MicroG wiki: https://github.com/microg/android_packages_apps_GmsCore/wiki
-UnifiedNlp thread (location): https://forum.xda-developers.com/android/apps-games/app-g-unifiednlp-floss-wi-fi-cell-tower-t2991544
-Nanodroid (provides packages related to open source / microG stuff): https://forum.xda-developers.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928/ (you need to download the microG edition) + here to understand how to edit the .nanodroid-setup file: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md#detailed-description
-microG unofficial installer (doesn't work on our device yet): https://forum.xda-developers.com/android/development/microg-unofficial-installer-t3432360
-Useful website about installing, getting packages, etc. : https://shadow53.com/android/no-gapps/setup-guide/microg/
-Great list of FOSS (open source software) apps for Android: https://github.com/offa/android-foss
-Alternative to Google apps: https://shadow53.com/android/no-gapps/alternatives/
-Personnal experience feedback: https://forum.xda-developers.com/android/general/gapps-free-samsung-galaxy-s3-lte-gt-t3553620
If you read all these threads you'll start to have a good understanding of what is microG and how to live without Google.
Prerequisites:
-OnePlus 6
-Unlocked bootloader
-TWRP installed
-A ROM supporting microG
-All files downloaded, on your device
DOWNLOAD LINKS
-OOS: https://forum.xda-developers.com/oneplus-6/how-to/official-oxygenos-5-1-5-ota-oneplus-6-t3794232
-TWRP: https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3860815
-Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
-Nanodroid: https://downloads.nanolx.org/NanoDroid/Stable/ (you need to download the microG file)
-Push Notification Tester: https://play.google.com/store/apps/details?id=com.firstrowria.pushnotificationtester
-Working Google Maps app: https://www.apkmirror.com/apk/google-inc/maps/maps-9-82-1-release/
-F-Droid: https://f-droid.org/FDroid.apk
INSTALLATION TUTORIAL
Italic = recommended, but not mandatory. Do it if something doesn't work properly
0) DON'T RESTORE your apps until everything is set up, otherwise you'll have issues with GCM (getting instant notifications from messaging apps for example)
1) Flash the custom ROM of your choice ( these instructions should work: https://privatebin.net/?42d550f9ae5df09f#imAFxWjM0gW+V9+ex+8nRyYSoSQzLPjhNXsbKIUjzqA= )
2) Flash magisk, reboot to system
3) Reboot to recovery
4) Flash Nanodroid (you need to download the microG edition, and make sure you have made the .nanodroid-setup file at the root of your internal storage, see instructions here https://github.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md) or you can also try MinMicroG (https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases).
If you choose nanodroid, update microG thhis way: https://www.reddit.com/r/MicroG/comments/fd7udr/fork_of_microg_gmscore_with_unifiednlp_working_in/
5) Reboot to system
6) Open MicroG, give it permissions if that's not already the case
7) Click on self-check. Give signature spoofing to all the empty boxed so they get ticked.
For Omni/Arrow/Aex, you can make sure it's allowed in settings/apps & notifications/apps permissions/spoof package signature. for playstore/fakestore make sure you click on the 3 dots and check system apps (if it exists).
8) Give permission to ignore batter optimizations.
9) Enable Google device registration and Google Cloud Messaging.
10) Enable Safetynet if you want
11) Click on UnifiedNlp and active the 3 backends: location backends: Mozilla+ Déjà Vu; adress lookup backends: Nominatim.
12) REBOOT
13) Open your phone app, and type this:
Now try this instead in order to manually enable device registration and connect to Google Cloud Messaging:
Code:
*#*#2432546#*#*
Code:
(old) *#*#42678278#*#*
. Nothing will appear on your screen but it can help. It's probably necessary but I prefer to make all the steps to make everything work. Sometimes logging in on your Google account through settings help. You can then log out if you don't want to use any Google account.
14) Install Push Notification Tester from Yalp Store.
15) Test the app, see if everything works. If it doesn't, ask for advice here as it should at this point. You can try to reboot one more time. Make sure that in the GCM settings you're connected since X time, otherwise something is wrong. Step 23 is the most important step to check if it doesn't work.
16) Go back to the self-check menu, now you can check the self check status and almost all boxes should be ticked. Some are not for me but GPS still works, even on Google Maps. Here is a screenshot of how it looks like for me: https://i.imgur.com/WsPX5RC.png
17) Now you can try to install the apps you want! Don't install apps that need push notifications before all these steps otherwise they might never be registered. Clean installing apps is recommended. You can try to restore them from a backup as well, but it often doesn't work. The middle ground solution is to install the app with the Yalp Store / F-droid and then restore its data with Titanium Backup for example.
18) Now you should see apps being registered in microG.
19) You can make sure your gps work with either OSM (https://f-droid.org/en/packages/net.osmand.plus/) or Google Maps (see apk mirror link earlier, the last version won't work). You should get your location without any isuses at this point.
20) Enjoy your almost Google free phone.
EXTRAS:
α) If you have issues with location, you can try this (on some custom ROMs, Google Maps finds my location but then it doesn't update and so if I move around it won't update my location. Also sometimes I need to reload the app to update my location which is quite inconvenient. It seems that doing the steps following help)
Install a terminal emulator (I recommend Termux)
Make sure your phone has root rights and type :
Code:
su
Authorize the app
Type next:
Code:
pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
Then
Code:
pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION
iii) Reboot
β) If you have issues in general, try to update Nanodroid (if you used Nanodroid, ofc) apps from F-Droid. Add this repo to F-Droid: https://www.nanolx.org/fdroid/repo/
And then make sure all your apps are updated (including microG GmsCore)
A) DroidGuard uses non-open source stuff. It's in order to pass safety net.
B) GCM is not open source either.
C) If you want google maps to work, you need to install an "old" version and not update it. You can find it here: https://www.apkmirror.com/apk/google-inc/maps/maps-9-82-1-release/. Sometimes, your location might never appear. In this case, restart a few times Maps until your position shows up.
D) You can also try to install MicroG and its dependencies as user apps. I've tried it and wasn't very happy with the results as they don't work as well being user apps. From what I've heard, everything works fince except location. So you can give it a try as well this way.
E) My personal .nanodroid-setup is this one (to understand what it does, check here: https://gitlab.com/Nanolx/NanoDroid/blob/master/doc/AlterInstallation.md#detailed-description ):
Code:
nanodroid_gmscore=0
nanodroid_play=21
nanodroid_overlay=0
nanodroid_mapsv1=1
nanodroid_gsync=0
nanodroid_swipe=1
nanodroid_forcesystem=0
nanodroid_fdroid=1
nanodroid_nlpbackend=1100
Reserved.
Very nice,
too bad that it doesn't support OOS but it's understandable.
nimrodsv said:
Very nice,
too bad that it doesn't support OOS but it's understandable.
Click to expand...
Click to collapse
Maybe it could work with nanodroid patcher for signature spoofing and then manually deodexing the ROM. It would also be necessary to remove all the Google apps. So yes I guess it's just easier to use a custom ROM as a saner base.
nimrodsv said:
Very nice,
too bad that it doesn't support OOS but it's understandable.
Click to expand...
Click to collapse
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
whizeguy said:
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
Click to expand...
Click to collapse
NisseGurra said:
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
Click to expand...
Click to collapse
Maybe I'll give a try it seems possible.
@Tomatot- I see that you've tried to working with MicroG on Omni but getting bootloops and that you will try working with it again soon.
Anything I should know before I try this on Omni? Thanks!
nimrodsv said:
@Tomatot- I see that you've tried to working with MicroG on Omni but getting bootloops and that you will try working with it again soon.
Anything I should know before I try this on Omni? Thanks!
Click to expand...
Click to collapse
I had a weird experience on Omni. At first it was working all fine with nanodroid-microG, but then I tried to change the .nanodroid-setup and it broke all my system, I was never able to make it work again on Omni. I also tried once the Nisse .zip and it didn't work either. So I can't really tell what's the pattern to make things work or not work... I really liked Omni so I'm going to try again within the next few days, with a nice clean flash and Nisse zip. I will let you know. If you're impatient and want to try, try to follow the steps from this tutorial and let me know how it goes.
Omni is a bit tricky with permissions, use the latest Nanodroid-microG from https://downloads.nanolx.org/NanoDroid/Stable/ to install on omni, it adds bit more (calendar and contacts sync etc) that i dont want tho
NisseGurra said:
Omni is a bit tricky with permissions, use the latest Nanodroid-microG from https://downloads.nanolx.org/NanoDroid/Stable/ to install on omni, it adds bit more (calendar and contacts sync etc) that i dont want tho
Click to expand...
Click to collapse
Did you manage to make your script work on Omni? I'm not interested in these extras either.
Tomatot- said:
Did you manage to make your script work on Omni? I'm not interested in these extras either.
Click to expand...
Click to collapse
Yes, but some extra work is needed: Open the zip with 7-zip and extract all item from priv-app and delete the priv-app folder from the zip.
Install rom, the modified zip and boot into system.
Install the extracted apps normally.
Use https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851 to convert the 4 installed apps (gms, gsf, phonesky and yalp) to system apps (to priv-app).
Thats bit much but its functional on omni.
NisseGurra said:
Yes, but some extra work is needed: Open the zip with 7-zip and extract all item from priv-app and delete the priv-app folder from the zip.
Install rom, the modified zip and boot into system.
Install the extracted apps normally.
Use https://forum.xda-developers.com/apps/magisk/module-terminal-app-systemizer-ui-t3585851 to convert the 4 installed apps (gms, gsf, phonesky and yalp) to system apps (to priv-app).
Thats bit much but its functional on omni.
Click to expand...
Click to collapse
Awesome, thanks, I'll try this asap.
I will update OP but I can tell Arrow OS seems to support perfectly MicroG. And your script works directly @NisseGurra . I've noticed the location apps are a bit oudated, could you update them please? Cheers.
Thread updated with my experiences with the different custom ROMs available on our device. i've also improved instructions a little and make some steps not mandatory but recommended.
Thanks very much for this great tutorial although I've never had an OnePlus. Quite a long time ago, I tried to capture my personal way to become GApps-free from the very beginning by installing µG un to today where I always use NanoDroid. Maybe my thread contains some information useful to you?
Oswald Boelcke said:
Thanks very much for this great tutorial although I've never had an OnePlus. Quite a long time ago, I tried to capture my personal way to become GApps-free from the very beginning by installing µG un to today where I always use NanoDroid. Maybe my thread contains some information useful to you?
Click to expand...
Click to collapse
Yes I read it and it was very useful. Your thread was already included in "useful links" btw.
Updated backends microg installer (attached)
NisseGurra said:
OOS has normally odexed system and do not support signature spoofing.
An option would be to deodex services.jar and the use the nanodroid patcher to enable signature spoofing.
I have done that for some 8.1 OOS roms but not on the latest releases.
Click to expand...
Click to collapse
whizeguy said:
Like above, it could work. By installing xXx module and choose total gapps removal then try what he said above for spoofing. Tempted to try, but can't atm.
Click to expand...
Click to collapse
Bumping you again to give you some news.
So I really don't feel like going back to use Google Play services but I miss OOS for battery life and performance reasons.
However, I feel like deodexing OOS is really not optimal, see these links:
https://i.imgur.com/FRJgqVm.png
https://github.com/anestisb/vdexExtractor/issues/33
https://i.imgur.com/9Y6JBGD.png
So yeah, it's a tough choice...
Tomatot- said:
Bumping you again to give you some news.
So I really don't feel like going back to use Google Play services but I miss OOS for battery life and performance reasons.
However, I feel like deodexing OOS is really not optimal, see these links:
https://i.imgur.com/FRJgqVm.png
https://github.com/anestisb/vdexExtractor/issues/33
https://i.imgur.com/9Y6JBGD.png
So yeah, it's a tough choice...
Click to expand...
Click to collapse
Aw man.. That's just too bad :/ thanks for the update mate.
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 easilySo 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 easilySo 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 easilySo 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!
I think this is basically general(not device specific) question so I am posting my question here.
I have Galaxy Note 10 Plus which got OS upgrade recently. I havn't upgraded my phone so currently my phone is at Android Q(10).
I don't have much time to do OS upgrade. More specific, I don't have time to do full wipe, manually download and flash firmware with Odin, install huge amounts of apps, configure those apps etc. Well, you might think: why don't use just OTA upgrade? That's because I don't trust OTA thing. It broke my previous phone few years ago. After that, I always flash firmware with Odin after doing full wipe.
The main problem is, I can't use 'Backup Apps' because it is OS upgrade and I don't think simply moving app data from Q(10) to R(11) is good idea. I have to configure everything one by one by my hand. That will consume a lot of time. Like I said, I don't have much time for doing this. I have to save some time.
If then, I might be able to save some time when installing huge amounts of apps from Google Play Store. I guess it is about ~80 apps. If I can automate those app installation, I might be able to save some time and use that time to configuring apps.
So here is my question: How can I automate app installation in Google Play Store? I've searched Google but only got disappointing result. 'Download those APKs and install them via ADB!', 'Emulate touch input in Google Play Store!' etc. are not what I want to do. I think there would be much elegant way to do bulk install of Google Play Store apps.
TL;DR
I want to know if there is simple way to install multiple(~80) apps in Google Play Store without doing these:
- Downloading those APKs and install them via ADB
- Emulate touch input with certain app
My guess is there is no other way than to download the apps in question and afterwards install them via ADB, what all can be done by means of a common Windows Powershell file.
jwoegerbauer said:
My guess is there is no other way than to download the apps in question and afterwards install them via ADB, what all can be done by means of a common Windows Powershell file.
Click to expand...
Click to collapse
Wait, can I download and install apps via ADB with single powershell script? If then, I can accept it if those app which were installed by ADB can be updated with Google Play Store...
If yes, can you give me hint about that script?
Don't have such a script at my fingertips ... And I have not the time to write it ... Think it shouldn't be too difficult for you to write it ...
Hi peeps,
on my 8T I have Lineage OS 18.1 with MicroG installed. MicroG's fake store does not allow for in-app purchases so I thought about replacing it with a patched version of the Play Store that would allow exactly that.
My question would be if anyone has achieved this or has another means of making in-app purchases with Lineage OS and MicroG.
Here's a description of what I have tried so far:
So I have found this patch from the MicroG dev. However, I noticed that the patch newest patch is for version 20.9 of the Play Store which is pretty old. Trying to patch the recent version 25.6.14 (and 25.5.33) failed with the following error message:
Code:
Detected Play Store:
APK: Phonesky-25.6.14.apk
VER: 82561410 [25.6.14-21]
[1] Unpacking APK
[2] Patching APK
[3] Repacking APK
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_60043284154080583154029902298278840174.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 30, --version-code, 82561410, --version-name, 25.6.14-21 [0] [PR] 376382668, --no-version-vectors, -F, /tmp/APKTOOL9191445409255452037.tmp, -e, /tmp/APKTOOL384809595961443949.tmp, -0, arsc, -I, /home/alex/.local/share/apktool/framework/1.apk, -S, /home/alex/patched_playstore/microg-phonesky-iap-support/play_25.6.14-21/res, -M, /home/alex/patched_playstore/microg-phonesky-iap-support/play_25.6.14-21/AndroidManifest.xml]
ERROR: apktool failed to repack Phonesky-25.6.14.apk
So at first, I thought this failed because of the age of the patch but then the process failed in the repacking step, not the patching step. Secondly, I saw this issue implying that somebody successfully patched a version 25 Play Store. Am I missing something?
FWIW, my apktool version is 2.5.0-1 from the Arch User Repositories built with Oracle JDK 16.
Thanks in advance for any help!
Cheers,
Alex
@Oswald Boelcke
You said you were using µG for years. May I ask whether you have ever made any in-app purchases with µG or found a way to circumvent them somehow for instance maybe by making the purchase on another device with the Play Store and downloading the app on the µG device?
tangboshi said:
@Oswald Boelcke
You said you were using µG for years. May I ask whether you have ever made any in-app purchases with µG or found a way to circumvent them somehow for instance maybe by making the purchase on another device with the Play Store and downloading the app on the µG device?
Click to expand...
Click to collapse
Affirmative, I've made multiple purchases while running µG (the last two ones last month) but also in-app purchases. I'm convinced you're aware that this doesn't work with the "regular" Google Playstore (GPS) but only with the one modified by Setalphia, the developer of Nanodroid and owner of the nanolx f-droid repo. Setalphia's GPS is the one and only Google application in my app portfolio.
Usually, I use the Aurora Store but only with the anonymous account as I won't to avoid that Google deletes my account, what would be possible by their TOR's although I've personally never heard that it happened to someone. This means I can't access my purchases via Aurora and I'm also unable to make in-app purchases; as a side effect by use of the (mod) GPS I'm able to join beta programmes on Google.
Attached are screenshots what I'm using. In case of questions, please come back to me. Thanks to your question I realised that there was a newer version of the (mod) GPS available but I'd to remove the installed one first due to different signatures; I believe the one that was installed came with the Nanodroid microG module many months ago. By the way, I've downloaded and installed the new and latest (mod) GPS version via Aurora Droid.
Last but not least, I've never explored any alternate means to retrieves purchases or make in-app ones, and didn't find such ways by accident either. Use of warez is at no time any solution for me.
Spoiler: Screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@Oswald Boelcke
Thanks! Could you explain how you removed the "old version"? I just want to be safe that I don't misunderstand anything. Do I simply connect via adb shell and remove the FakeStore app from /system/priv-app/ and then use Aurora Droid with the Nanodroid repo enabled to install version 20.9? Does installing GPS via Aurora Droid install it as a system app? I assume that would be necessary for it to work correctly.
Thx a bunch!
tangboshi said:
@Oswald Boelcke
Thanks! Could you explain how you removed the "old version"? I just want to be safe that I don't misunderstand anything. Do I simply connect via adb shell and remove the FakeStore app from /system/priv-app/ and then use Aurora Droid with the Nanodroid repo enabled to install version 20.9? Does installing GPS via Aurora Droid install it as a system app? I assume that would be necessary for it to work correctly.
Thx a bunch!
Click to expand...
Click to collapse
How you uninstall might be subject to the device. I use a Samsung Galaxy S8+ (SM-G955F) with LOS 16.0 and Magisk v23.0. I very, vary rarely have the requirement to use adb, and in this case I uninstalled via Titanium Backup (very important to immediately reboot into system).
For many years, I believe since my Milestone 2 times, I haven't used the FakeStore. Maybe you find a date in my very old and for a long time not updated or maintained thread here. And you're correct, after my installation of the new version of (mod) GPS from the Aurora Store, it was just a "regular" app but it's a must to have it as system app in priv-app. I just the Magisk module "Systemizer" for that; an excellent and via terminal (in my case Termux) easy to use tool.
@Oswald Boelcke
Hmm, I was not able to uninstall FakeStore via Titanium Backup. After uninstalling and rebooting it was still there. You said it was important to reboot into system. I'm not sure what you meant there, surely not boot into the bootloader or recovery, right? I simply rebooted Lineage but after that, the FakeStore was still present.
I then tried to uninstall the FakeStore by removing its directory from /system/priv-apps. That was a pretty bad mistake! The boots took very long after this. After the first reboot I lost Magisk root as well as any wireless connectivity including mobile data. Also after a few minutes, I would get a message about a kernel panic related to the Qualcomm chip. I would have to restart every minute or two. So I had to reinstall Lineage OS from recovery, get root back and restore my backups via Titanium.
So now I'm basically back to square one. Do you know where I can find a tutorial help or help for uninstalling the FakeStore without breaking stuff? (My device is a Oneplus 8T and I installed µG via the dedicated images provided by µG for Lineage)
@tangboshi
Sorry to hear about your issues. Affirmative, by reboot into system I meant reboot into your OS i.e. LOS. As said, last I used FakeStore years ago but I think the procedure should be the same as I uninstalled my (mod) Google Playstore with TB.
Spoiler: Screenshots
In TB, I first clicked the "Uninstall" button but immediately after this has finished I swipped to left for the right tab. Now I used "Force remove app (by recovery exploit)", and after that process finished I immediate reboot into my OS without doing anything before.
And just a guess that might work, too. Download the Nanodroid mircoG module and flash the module via TWRP. I assume you're familiar with the Nanodroid setup and setup file creation.
@Oswald Boelcke
Before trying to uninstall FakeStore again I wanted to make sure that I can even systemize the Play Store app. So I tried to systemize another app "Greenify" that was already installed. So I did as you suggested and downloaded the Magisk Systemizer as well as Busybox modules. However, when trying to systemize Greenify with "systemize -a com.oasisfeng.greenify" it would say that /data/app/com.oasisfeng.greenify-*/base.apk doesn't exist which is true (pm list packages -f greenify told me that the path is actually "/data/app/~~8t9mrQoJML_GlZyNU2at0g==/com.oasisfeng.greenify-K8BSBcAN9N83QhKC3sYnow==/base.apk=com.oasisfeng.greenify". Using the fully qualified path did not work either...
By the way, I can't use TWRP as no image exists for my device, unfortunately (one exists for the OnePlus 8 and the 8 Pro but not the 8T). Instead I use the Lineage OS custom recovery image.
@tangboshi
Sorry, I've to resign. I quite using Greenify when I went to Oreo as I didn't recognise any reason anymore to use it as doze worked great for me on Oreo like now on Pie.
And no experiences with Oneplus, A/B devices or lack of TWRP at all.
I really hope somebody else is able to support you.
Oswald Boelcke said:
Affirmative, I've made multiple purchases while running µG (the last two ones last month) but also in-app purchases. I'm convinced you're aware that this doesn't work with the "regular" Google Playstore (GPS) but only with the one modified by Setalphia, the developer of Nanodroid and owner of the nanolx f-droid repo. Setalphia's GPS is the one and only Google application in my app portfolio.
Usually, I use the Aurora Store but only with the anonymous account as I won't to avoid that Google deletes my account, what would be possible by their TOR's although I've personally never heard that it happened to someone. This means I can't access my purchases via Aurora and I'm also unable to make in-app purchases; as a side effect by use of the (mod) GPS I'm able to join beta programmes on Google.
Attached are screenshots what I'm using. In case of questions, please come back to me. Thanks to your question I realised that there was a newer version of the (mod) GPS available but I'd to remove the installed one first due to different signatures; I believe the one that was installed came with the Nanodroid microG module many months ago. By the way, I've downloaded and installed the new and latest (mod) GPS version via Aurora Droid.
Last but not least, I've never explored any alternate means to retrieves purchases or make in-app ones, and didn't find such ways by accident either. Use of warez is at no time any solution for me.
Click to expand...
Click to collapse
Hey Oswald, can you tell me how to get the patched play store? I' running LOS 19 atm with integrated MicroG but no working play store. I would like to install my purchased apps, but didn't find any solution for my problem yet.
Thanks in advance.
Sc4r3Crow said:
Hey Oswald, can you tell me how to get the patched play store? I' running LOS 19 atm with integrated MicroG but no working play store. I would like to install my purchased apps, but didn't find any solution for my problem yet.
Thanks in advance.
Click to expand...
Click to collapse
Hello and good morning, @Sc4r3Crow
Sorry, I've most likely to apologise. On my Samsung S8+, I'm still running LOS 16.0 and will never go above that. I've got my patched Play Store from Nanodroid but it seems to be abandonned i.e. I even don't know how old my Play Store is but it's working still fine:
Spoiler
If you like I can extract the apk with SD Maid and post it here unless @Setialpha disagrees.
Oswald Boelcke said:
Hello and good morning, @Sc4r3Crow
Sorry, I've most likely to apologise. On my Samsung S8+, I'm still running LOS 16.0 and will never go above that. I've got my patched Play Store from Nanodroid but it seems to be abandonned i.e. I even don't know how old my Play Store is but it's working still fine: If you like I can extract the apk with SD Maid and post it here unless @Setialpha disagrees.
Click to expand...
Click to collapse
Hey @Oswald Boelcke, thanks for your reply.
I would appreciate that if you provide me the referring apk of the latest patched play store.
The last time I've used a working play store in combination with MicroG was some months ago while using MinMicroG, maybe an apk of the store could also be extracted from there, idk.
It would help me a lot if you help me with my issue, so thanks in advance
Greetings, Sc4r3Crow