remove Gapps and install MicroG - Xperia Z3 Q&A, Help & Troubleshooting

Hello,
i would try to install MicroG on my Xperia Z3.
Has anyone an idea how can i install it correct? Any chance to remove all Gapps with all lib files for an clean beginning? I use the root Xperia Z3 concept Software.

The only way to clean it completely is to flash a clean ROM.
But to only removing conflicting GApps and install microG you can use microG unofficial installer.

Related

Removing Gapps

I have a Oneplus One and I want to remove as much Google functionality (Google Apps (gapps)) from my phone as possible.
Q: Does "disabling" (in Settings App) for all gapps truly prevent *all* data from being sent to Google (i.e. analytics).
Q: I unlocked the bootloader, added TWRP Recovery, added SuperSU. But I don't see an "uninstall button" for gapps in the Settings App. How do I uninstall gapps in the OS?
Q: If I do an OTA/cyanogen update, is there a script I have to remove to prevent re-installation of gapps?
Q: Will removing gapps prevent me from getting any OTA/cyanogen updates?
I'm new to the Android world, so any broad information will help!
Executor89 said:
I have a Oneplus One and I want to remove as much Google functionality (Google Apps (gapps)) from my phone as possible.
Q: Does "disabling" (in Settings App) for all gapps truly prevent *all* data from being sent to Google (i.e. analytics).
Q: I unlocked the bootloader, added TWRP Recovery, added SuperSU. But I don't see an "uninstall button" for gapps in the Settings App. How do I uninstall gapps in the OS?
Q: If I do an OTA/cyanogen update, is there a script I have to remove to prevent re-installation of gapps?
Q: Will removing gapps prevent me from getting any OTA/cyanogen updates?
I'm new to the Android world, so any broad information will help!
Click to expand...
Click to collapse
1. I doubt it.
2. You'd have to do it manually with a root-enabled file explorer.
3. See answer to question 4.
4. You'll still receive the OTA update, but it will not install if you've made any modifications to system files.
If you really want a Google-less phone, ditch CM11S and install CM11 instead, but don't install a gapps package. Hey presto, you've got what you were looking for.
Transmitted via Bacon

You don't need Lineage for stock/rootable/hackable/adaptable Android

The Planet Computers ROM is pretty much bone stock, but with the improvements that allow the Gemini to function like a phone.
Right now I'm rooted with TWRP and running Xposed modules no problem, and it's about as stock an experience as you can get. You're able to use Gravity Box, etc with no issues whatsoever. The Xposed you need is arm64 sdk25 and the rooted boot-verified.img is provided on Planet Computers' website.
All you need to do is:
Flash stock rom with replaced rooted boot-verified.img through FlashTool
Boot ROM and enable USB Debugging
Throw MagiskManager apk, Xposed apk, Xposed flashable zip on internal storage
Install MagiskManager in Android
Turn off phone and flash TWRP through FlashTool
Boot to recovery (hold down power button and Gemini assist button as phone boots until TWRP appears, then release)
Flash Xposed through TWRP
Reboot phone and install Xposed Installer apk
Profit
Lineage is nice, but unless Gemini fails to update in a timely manner and we can get newer and complete builds from flashing Lineage, I'm going to stick with this process.
Is it possible to remove the gapps and google libs with that process?
jerome_m said:
Is it possible to remove the gapps and google libs with that process?
Click to expand...
Click to collapse
I managed to remove Browser, Chrome (these two browsers need to go together) , Hangouts, Duo, Keep, Youtube adn several others through Titanium Backup on rooted android with TWRP and Magisk, os I think so. I mainly went for applications cluttering the Play store, but I think may more can be removed. some might be crucial though.
Is it possible to root WIFI only device using the same procedure?
That is by replacing rooted boot-verified.img in the firmware and reflashing?

MIUI EU ROM with microG installation guide

After reading several threads, and muddling through a lot of the information, I finally managed to successfully install the MIUI EU ROM with no bootlooping, or other issues. This guide is specifically for installation with microG (since I'm trying to stay away from Google!). If you have additional tips, please add it to the thread, and I will try and update the OP as needed....
Please note that this guide assumes that you can perform basic stuff (like installing ADB drivers, installing TWRP, etc.).
Pre-requisities:
Unlocked bootloader
Latest TWRP (v11) or CN TWRP installed on phone
Working ADB connection between phone and PC
Pre-installation:
Download Nanodroid and Nanodroid patcher latest version - must have this on the PC
Download Magisk latest version - must have this on the PC
Download latest MIUI EU ROM - must have this on the PC
Using TWRP, create a full backup of your current setup (just in case!)
Using Titanium/Migrate/whatever backup all programs, settings, etc.
Backup phone (the 128 Gb part!) to PC - This is ESSENTIAL, since the next steps will result in all data on the phone being wiped!
Installation:
Boot into TWRP and wipe System, Data, Caches and Storage (I usually wipe three times for good measure!)
In TWRP, select Wipe>Format Data, type in "yes" and format the entire phone (this is to get rid of encryption)
Reboot into TWRP
From the PC, copy the downloaded MIUI EU ROM to the phone
Using TWRP, install the ROM
Reboot system
Do the initial set up, enable Developer settings, set up ADB, etc.
Reboot into TWRP
Copy Nanodroid patcher, Nanodroid, and Magisk to phone
Using TWRP, use the Nanodroid patcher to patch system.jar to enable signature spoofing support (since the EU ROM is deodexed, this should work with no issues)
Reboot into TWRP (probably not required, but this is what I did!)
Install Nanodroid
Reboot into system
Setup microG
Reboot into TWRP
Install Magisk
Reboot into system
Continue on to debloating apps, restoring backups, etc.
You are trying to stay away from google but you use Android ...Nice.
Struck at patcher
Hello mate, I am trying to install it on my note 7 pro device. I am struck at nanodroid patcher; it gives me error "failed to apply patches". Did you try microg on newer miui eu rom? Do I have to do additional steps? Thanks for your guide though!
So, it's the same procedure of a custom ROM?
ZoiraP said:
You are trying to stay away from google but you use Android ...Nice.
Click to expand...
Click to collapse
Using open source parts only is definitely better than anything Google proprietary, I believe?
orestarod said:
Using open source parts only is definitely better than anything Google proprietary, I believe?
Click to expand...
Click to collapse
+1. I used to trust Google somewhat. I no longer trust them at all.
You need more read about AOSP and GMS, this is good way to hardening stalking from Google. I know Google have keys from Android system like every developers, but cant using our data for ads and marketing (and more) when we are not using proprietary apps and frameworks where we have to accept licence agreement. (SORRY FOR MY ENGLISH)
HI,
is google playstore working?
Using this method will GP works ? Contacts sync, chrome sync etc ?

[solved] lineage OS 16 with MicroG and working Playstore

Hello,
I using Lineage OS 16 without Gapps but with MicroG.
For me I had no chance to install the NanoDroid Mod. I get always an Bootloop. I don't know why.
I installed MicroG manually over the F-droid Repository. All things work fine. Except the Playstore. The force close when I would use it.
I need the playstore for license verification for few apps.
Has anyone an working setup and can help me?
I solved it myself.
With the magisk module Systemizer I moved the Playstore to /system/priv-app and it works...
Would you be able to help point me to where you got the play store from? Was it just a vanilla play store apk? Or a patched zip file?

Help Upgrading LineageOS

So I'm on an unofficial build of LineageOS 16 with TWRP, Magisk, F-Droid, microG, and EDeXposed. I want to update to the LineageOS 17.1 build from microG. What would be the safest way to do this? I would like to keep my installed apps if possible. I'm currently on a Linux computer but I do have access to Windows.
Since I have TWRP can I just wipe my phone and install the new ROM directly from there? Presumably then just reinstalling Magisk and my other apps with Titanium or something?

Categories

Resources