Related
So I've noticed that Netflix doesn't seem to play well with AOSP based roms. Well here's a fix.
First, go here and install the Xposed Framework installer...
http://forum.xda-developers.com/show....php?t=1574401
Once installed open the installer and install Xposed. Grant it root access and reboot. Once you've booted go here and download and install this module:
http://forum.xda-developers.com/atta...9&d=1358293052
Once downloaded install the module and reopen Xposed. Enable the module and reboot. Once you've booted go to settings>applications and find Netflix. Clear all data from the app. Now open Netflix and enjoy.
Also, here is a list of various Xposed modules if you want them:
http://forum.xda-developers.com/show....php?t=2327541
(I take no credit for any of this. Google is my friend.)
--Adapted from my previous guide posted Here
All download links as well as a link to a list of Open-Source applications to replace commonly used Play Store apps are in the third post.
*This will NOT work with any future MIUI ROM if one gets released*
I will be continuously updating this guide for everyone as I stumble upon or unofficially release more supported ROMs, more MicroG flashable zips, and other misc. edits. This is made with Android Nougat in mind but I have used it on Marshmallow and Oreo on several devices, and this may work on even older releases of Android with Xposed support or ROMs with Signature Spoofing. This has also only been personally tested on the XT1031 (Moto G1), XT1607 (Moto G4 Play), XT1766 (Moto E4 QCom), and kltedv/kltespr (Samsung Galaxy S5 G900P).
In order to sync calendars and contacts from your Google account, you must flash the Google Sync Addon by ale5000. If you want swipe gesture typing on the AOSP keyboard, you must flash Shadow53's swipelib.zip. Shadow53 also has a No-Gapps zip package that includes F-Droid, Firefox, and several other apps.
One final thing: This is not for everyone. There was a point in time I didn’t ever think I could go without the Play Store, but ever since I have I don't want to go back. There are numerous pros to switching to a Google-free android setup such as much better battery life, more privacy on your device, a world of open-source alternatives to popular applications, and more. If you have any questions, or if any of this seems daunting if you are newer to things of this nature, please do not hesitate to ask for help. I will try the best I can in my free time to help. Thank you for taking the time to read this, let’s go ahead and start.
Quote:
*Disclaimer* Your warranty is now void if you modify your phone. I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Click to expand...
Click to collapse
*This first post is for ROMs without native Signature Spoofing support. A list of those with native spoofing can be found in the second post as well as the guide for ROMs that include native signature spoofing.*
1. Your Phone with at least 80% battery, preferably 100%.
2. A computer to transfer files to phone
3. You must have Root Access. This can be native root, SuperSU or Magisk.
4. Your ROM of choice
5. Download the correct Xposed SDK and Xposed APK for your version of Android. The Xposed SDK version may differ for your device.
6. MicroG Unofficial Installer ZIP and Google Sync Addon (optional) by ale5000 or any of Shadow53's MicroG flashable files (download links in third post)
7. Your favorite backup method if you wish to back up such as Titanium Backup, MyBackup Root/Pro, etc.
8. Third Party App Store/APK downloader such as Yalp Store if not wishing to use all open source apps
9. A working Google account
Click to expand...
Click to collapse
Steps:
1. Make sure you have downloaded the requirements.
2. If you wish, backup the data you want. This should not erase any files stored on an SD card, but I cannot guarantee.
3. Boot into a custom recovery, I am using TWRP
4. Use the standard wipe data options
5. Flash the files in the following order:
-Your ROM of choice
-MicroG Unofficial installer
-Xposed SDK
-SuperSU or Magisk, whichever you prefer
-Custom kernel if using one
6. Just to be safe and to avoid any potential complications, boot up your device and set up the basics. Afterwards, reboot into recovery.
7. In recovery, wipe Dalvik/ART cache only (Not really required, I always recommend it though just to be safe)
8. Go into Settings —> Security —> Turn Unknown Sources on to allow for APK installs.
9. Install the Xposed Installer APK
10. Open Xposed, grant any permissions if it asks for any. Go to the download tab, and search for FakeGApps, download and install. Next go into the Modules tab of Xposed, and check the box next to the module. Reboot to activate (A soft reboot may work, but I recommend a full reboot.) Installing this allows MicroG to bind to the system and spoof the required signatures.
11. Open MicroG in the app drawer, and allow all permissions it asks for. While in here, turn on Google Device Registration
12. After allowing all permissions, go into Settings. Go to Accounts —> Add Account —> Google Account. Sign into your Google Account. This is necessary to allow certain applications that require Google Play Services to work properly.
13. After signing in, head back into MicroG, go under Google Cloud Messaging and enable.
14. In MicroG settings, head to the UnifiedNLP settings. Under the Configure location backends section, open WiFi Location Service and select Mozilla Location Service and grant any permissions asked. Under Configure address lookup backends, select Nominatim.
15. Finally, in Settings, go to Location and change the mode to either Battery Saving or High Accuracy
16. Check MicroG's Self-Check to see if everything has been set up properly, and if so, you are good to go!
Click to expand...
Click to collapse
This post is the steps for ROMs that natively support Signature Spoofing. There is a list at the bottom of this post of those that currently support it
What you will need:
-Your Phone
-The ROM that supports Signature Spoofing and the kernel of your choice
-MicroG unofficial installer and (optional) Google Sync Addon by ale5000 or one of Shadow53's MicroG installers
-Magisk Root Manager (Optional)
-About 20-30 minutes of your time
Click to expand...
Click to collapse
The steps
1. Backup anything you want to have backed up. I recommend backup up your Contacts and Calendar events if you have those synced to Google
2. Boot into Recovery on your phone
3. Perform a standard wipe in TWRP
4. Flash the ROM
5. Flash the chosen microG zip file(s)
6. (Optional) Flash Magisk and your favorite kernel
7. (For crDroid Only)If you are flashing crDroid, you need to head over to Settings --> Miscellaneous and turn on the Signature Spoofing toggle
8. Go into Self-Check in microG, and tap the text that says "System grants signature spoofing permission", and allow microG that permission.
9. Still in MicroG, head back to the main part of the app. Open UnifiedNLP.
10. Select the pre-installed location backends.
11. Sign in to your Google account if you wish
12. You're done!
Click to expand...
Click to collapse
ROMs with native signature spoofing:
1. AEX - 7.1.2
2. AICP - 7.1.2
3. crDroid - 7.1.2
4. ViperOS - 7.1.2
5. DotOS 2.x - 8.x
6. Ressurection Remix - 7.x-8.x
Flashable Packages and App Replacements
There are several different MicroG flashable zip files to choose from. ale5000 has one that includes MicroG, several location backends, and the Play Store. Shadow53 has MicroG and several other zip files such as an F-Droid package, the Swipe Libs for gesture typing on the AOSP keyboard, and several more.
Downloads:
*MicroG Unofficial Installer - ale5000
*Shadow53's Downloads for MicroG, F-Droid, and more
Now alternatives to apps you might commonly use such as Twitter, Facebook, Gmail, etc. can be a bit difficult to find at first. I stumbled upon a list that a user by the name of Decentralized Peer has compiled on GitLab that has a good collection of alternative open-source applications. Also, you can alternatively download APK files of certain apps such as Netflix, Messenger Lite, etc. if you don't find a suitable replacement.
Some open-source apps that are found on F-Droid I use daily are:
-Flym - RSS Reader
-QK SMS - SMS App
-Twidere - Twitter Client
-Toffeed or MaterialFB- Facebook web-client
-Newpipe - YouTube player
-K9 Material - Mail app
-ApkTrack - Checks for updates on APKs installed
Feel free to let us know what you use if you also use open-source apps, and I'll add them to the list!
UPDATE 06 OCT 2019: I will be returning to the project next week...
Apologies for my long silence over the past few months. After the initial release of this ROM I started focusing on getting the fingerprint sensor to work, which after some struggle I got it working. I then began spending time on removing non-FLOSS apps, services and providers that comes with lineageOS and replacing them with even better FLOSS alternatives. I made some good progress on this and created an automated build script for this. I also wanted to make the installation of the ROM easier, so I even created a script that automates the entire flashing procedure for you....yip...it's pretty cool On the security side I also made some good progress: I've applied several recommended hardening patches to the base system, and also patched the flawed mac-address randomization implementation that still exists in android today.
As I got close to preparing for release, google decided to stop support for maps-api V1 which is used by migrog. This completely broke all map views in apps and even started crashing the mobile browser. Because of the complexity of the android build workflow and tool-chain, I initially thought I screwed something up, but it was only after a couple of days of pulling my hair out people started reporting it on github. I had to wait for the mapbox implementation of microg to be released, and it eventually came a few weeks later.
It was shortly after the release that my personal priorities changed. I've been occupied (visa related) with that ever since but I'm happy to report that I should be able to return back to the project next week. Obviously some time has passed, so I will have to get up to speed with the latest releases of all of the repos and get that merged with my local changes, but that should only take a day. Hopefully there won't be many breaking changes, and if that is the case then I should be in a position to release V2 in about two weeks!
Cheers,
fanix (git-repo here: https://github.com/FaN11X?tab=repositories). Once you see commits you'll know I've started.
New build is available apparently.... don't know if it's the same dev..
UPDATE 08 MAY 2019: I'm in the process of adding support for the in-display fingerprint sensor. Stay tuned.
This is a lineageos 16.0 build from source on 25 April using latest source. The ROM is has been prepatched for system lavel signature spoofing based on the MicroG Android Pie patch (url removed, sigh). I did however change the protection level from "Dangerous" to "Signature|Restricted". This is a more secure way of enable signature patching as it requires the app using signature spoofing to be privaliaged, in other words, it needs to be installed to /system/priv-app in order for it to be granted this permission. This means that you wont be at risk of downloading and installing apps that might abuse signature spoofing.
The ROM also passes FULL SafetyNet with microg installed. It uses a custom build from Nanadroid which contains all the latest code changes which you wont find in there official releases as its not yet been packaged as a release. This solved many issues for me, like safetyNet now passing which allows me to install and run banking applications (like Barclay's Mobile Banking) and also uber seems to work just fine using the UnifiedNLP backend providers.
This custom ROM has NO google related apps or code, and you have the ability to switch on google released integration services through the microg services menu.
WORKING
So far... everything I've tested. (except fingerprint)
NOT WORKING
On-display fingerprint.
Installation steps:
1. Restore to stock firmware. I recommend the following Fastboot ROM as thats the one I used. *url removed* (download file search google "equuleus global images V10.2.2.0.PECMIXM")
2. Put device in fastboot mode (adb reboot bootloader or Power Button + Vol Down)
3. Flash using MiFlash (Find it on google and be sure to select the "FLASH ALL.bat" option at the bottom and NOT the LOCK on, otherwise you will relock your device)
4. After flashing the stock ROM, let it boot up, then enable developer options and USB debugging.
5. Flash TWRP
* adb reboot bootloader
* fastboot erase recovery
* fastboot flash TWRP_equuleus_1102.img
* fastboot boot TWRP_equuleus_1102.img
6. Once in TWRP, goto WIPE and select DATA. Enter the word "yes" and once it is complete, go back to main menu, RESTART=>RECOVERY to reboot and automatically boot back into recovery.
7. Goto WIPE again, but this time WIPE DalvicCache, SYSTEM & Cache by selecting all 3 and wiping them (NO NOT RESTART AFTER THIS STEP
8. Once wipe is complete, push the content from the download folder provided below to the sdcard folder of the phone.
* adb push download_folder_containing_all_the_files /sdcard/
example: adb push /home/fanix/Downloads/lineageosrom /sdcard/
9. Once complete, you are now ready to flash lineage ROM. Select the lineageos zip file and flash it. (filename => lineage-16.0-20190425-UNOFFICIAL-equuleus.zip)
10. Once complete, you can then reboot to system to load lineage. After going through the lineage setup, you can then install microg (if you want)
Optional - Installing microg (from latest nanodroid) FULL SAFETYNET SUPPORTED
* Boot into TWRP (adb reboot recovery)
* Goto INSTALL, and select the following file: (NanoDroid-microG-20.7.92.20190424.zip).
* NOTE: This will install microg, including MsfProxy and UnifiedNLP with 4 backend providers. It will also install Aurora Store & Fake store.
* When install is complete, reboot and once in lineage, you can configure microg. You can log into google store using Aurora, either with your own account or their anonymised account. This allows you to download anything form the google app store, including apps that require verification, like mobile banking apps.
* If you want, you can test your SafetyNET using Magisk. You can find the magisk manager in the download folder. Install that and test SafetyNET. You do NOT need to root your phone to test this, you can simply install the manager. If you want to root your phone, simply boot back into TWRP and select the magisk 19.0 zip file and that will then also root your device.
Enjoy!
DOWNLOAD LINK:
https://drive.google.com/open?id=1aJ...bkaHPw86sgHYMj
I've contacted one of the mods and asked if thye could post the link. Hope they do, otherwise if someone has the ability to post links then message me and i'll PM you the download link which you can then share to the thread.
Cheers
fanix
Hi fanix-uk,
Thank you very much! Is 3D face recognition working or just the 2d with the front camera?
mateHD said:
Hi fanix-uk,
Thank you very much! Is 3D face recognition working or just the 2d with the front camera?
Click to expand...
Click to collapse
Not sure, I haven't tried it. To be honest I've never used that feature on this phone before.
fanix-uk said:
Not sure, I haven't tried it. To be honest I've never used that feature on this phone before.
Click to expand...
Click to collapse
I tried it. Face unlock works with google smartlock. It use IR sensor, not the front camera, but it isn't 3D. So it works without light, but less secure than the stock rom version.
Btw. the rom works perfectly. Thanks again.
Is possible to have the miui camera with this rom?
mateHD said:
I tried it. Face unlock works with google smartlock. It use IR sensor, not the front camera, but it isn't 3D. So it works without light, but less secure than the stock rom version.
Btw. the rom works perfectly. Thanks again.
Click to expand...
Click to collapse
You are most welcome! Thanks for testing it... I'm working on a new release with some really cool features, including
Updated, hardened kernel.
Wireguard kernel module built into kernel.
Removal of non-FOSS apps/providers/services and replace with FOSS alternatives
Weather provider integration with openweathermap.
In-display fingerprint
perillo95 said:
Is possible to have the miui camera with this rom?
Click to expand...
Click to collapse
I can try and grab the camera app and drivers from stock and package it for you, but won't be including proprietary software in this build. I'll keep you posted.
fanix-uk said:
You are most welcome! Thanks for testing it... I'm working on a new release with some really cool features, including
Updated, hardened kernel.
Wireguard kernel module built into kernel.
Removal of non-FOSS apps/providers/services and replace with FOSS alternatives
Weather provider integration with openweathermap.
In-display fingerprint
Click to expand...
Click to collapse
Looking forward to it. I will probably try the current version as soon as I'm allowed to unlock my bootloader.
fanix-uk said:
I can try and grab the camera app and drivers from stock and package it for you, but won't be including proprietary software in this build. I'll keep you posted.
Click to expand...
Click to collapse
With miui camera and the in-display fingerprint would be a perfect ROM, Great work
thanks a lot for LOS!
Q: do i need to install gapps after ROM?
eerastov said:
thanks a lot for LOS!
Q: do i need to install gapps after ROM?
Click to expand...
Click to collapse
Yes.
Whats up with the new version? Can i help somehow?
Thanks
Hi Fanix
I really appreciate what you have done for Mi8 Pro. If you did not share your work here, I think I nearly sell my phone, as the MIUI is pretty trash.
Also, thanks for your progress on adding in-display finger sensor, after you done it I feel you can create one link for donation. I really hope you can keep develop on this phone and make LOS Andorid Q available in the future.
Kind regards
One of Mi8 Pro users
---------- Post added at 07:51 AM ---------- Previous post was at 07:47 AM ----------
I flashed this rom on my phone, it works really well. And I flashed a Gapps on my phone, work well as well. I did not flash the Nanadroid on my phone, is it necessary? I just worry about it becasue you said something related to SafetyNet, ahaha. I do not know if I do not have it, is my phone still safe?
Thanks a lot again.
fanix-uk said:
UPDATE 08 MAY 2019: I'm in the process of adding support for the in-display fingerprint sensor. Stay tuned.
This is a lineageos 16.0 build from source on 25 April using latest source. The ROM is has been prepatched for system lavel signature spoofing based on the MicroG Android Pie patch (url removed, sigh). I did however change the protection level from "Dangerous" to "Signature|Restricted". This is a more secure way of enable signature patching as it requires the app using signature spoofing to be privaliaged, in other words, it needs to be installed to /system/priv-app in order for it to be granted this permission. This means that you wont be at risk of downloading and installing apps that might abuse signature spoofing.
The ROM also passes FULL SafetyNet with microg installed. It uses a custom build from Nanadroid which contains all the latest code changes which you wont find in there official releases as its not yet been packaged as a release. This solved many issues for me, like safetyNet now passing which allows me to install and run banking applications (like Barclay's Mobile Banking) and also uber seems to work just fine using the UnifiedNLP backend providers.
This custom ROM has NO google related apps or code, and you have the ability to switch on google released integration services through the microg services menu.
WORKING
So far... everything I've tested. (except fingerprint)
NOT WORKING
On-display fingerprint.
Installation steps:
1. Restore to stock firmware. I recommend the following Fastboot ROM as thats the one I used. *url removed* (download file search google "equuleus global images V10.2.2.0.PECMIXM")
2. Put device in fastboot mode (adb reboot bootloader or Power Button + Vol Down)
3. Flash using MiFlash (Find it on google and be sure to select the "FLASH ALL.bat" option at the bottom and NOT the LOCK on, otherwise you will relock your device)
4. After flashing the stock ROM, let it boot up, then enable developer options and USB debugging.
5. Flash TWRP
* adb reboot bootloader
* fastboot erase recovery
* fastboot flash TWRP_equuleus_1102.img
* fastboot boot TWRP_equuleus_1102.img
6. Once in TWRP, goto WIPE and select DATA. Enter the word "yes" and once it is complete, go back to main menu, RESTART=>RECOVERY to reboot and automatically boot back into recovery.
7. Goto WIPE again, but this time WIPE DalvicCache, SYSTEM & Cache by selecting all 3 and wiping them (NO NOT RESTART AFTER THIS STEP
8. Once wipe is complete, push the content from the download folder provided below to the sdcard folder of the phone.
* adb push download_folder_containing_all_the_files /sdcard/
example: adb push /home/fanix/Downloads/lineageosrom /sdcard/
9. Once complete, you are now ready to flash lineage ROM. Select the lineageos zip file and flash it. (filename => lineage-16.0-20190425-UNOFFICIAL-equuleus.zip)
10. Once complete, you can then reboot to system to load lineage. After going through the lineage setup, you can then install microg (if you want)
Optional - Installing microg (from latest nanodroid) FULL SAFETYNET SUPPORTED
* Boot into TWRP (adb reboot recovery)
* Goto INSTALL, and select the following file: (NanoDroid-microG-20.7.92.20190424.zip).
* NOTE: This will install microg, including MsfProxy and UnifiedNLP with 4 backend providers. It will also install Aurora Store & Fake store.
* When install is complete, reboot and once in lineage, you can configure microg. You can log into google store using Aurora, either with your own account or their anonymised account. This allows you to download anything form the google app store, including apps that require verification, like mobile banking apps.
* If you want, you can test your SafetyNET using Magisk. You can find the magisk manager in the download folder. Install that and test SafetyNET. You do NOT need to root your phone to test this, you can simply install the manager. If you want to root your phone, simply boot back into TWRP and select the magisk 19.0 zip file and that will then also root your device.
Enjoy!
DOWNLOAD LINK:
https://drive.google.com/open?id=1aJ...bkaHPw86sgHYMj
Click to expand...
Click to collapse
hello I have tried treble version but i got MusicFX Force Close i hope you can fix this
and maybe you can port Miui Camera on this ROM thanks for your work
I found a bug :
NFC is not found in Settings and NFC Icon on status bar is error
Edit :
sometimes when opening the camera, freeze and got pop-up cannot be connected to the camera
And for musicFX is working...
Thanks
fanix-uk said:
UPDATE 08 MAY 2019: I'm in the process of adding support for the in-display fingerprint sensor. Stay tuned.
This is a lineageos 16.0 build from source on 25 April using latest source. The ROM is has been prepatched for system lavel signature spoofing based on the MicroG Android Pie patch (url removed, sigh). I did however change the protection level from "Dangerous" to "Signature|Restricted". This is a more secure way of enable signature patching as it requires the app using signature spoofing to be privaliaged, in other words, it needs to be installed to /system/priv-app in order for it to be granted this permission. This means that you wont be at risk of downloading and installing apps that might abuse signature spoofing.
The ROM also passes FULL SafetyNet with microg installed. It uses a custom build from Nanadroid which contains all the latest code changes which you wont find in there official releases as its not yet been packaged as a release. This solved many issues for me, like safetyNet now passing which allows me to install and run banking applications (like Barclay's Mobile Banking) and also uber seems to work just fine using the UnifiedNLP backend providers.
This custom ROM has NO google related apps or code, and you have the ability to switch on google released integration services through the microg services menu.
WORKING
So far... everything I've tested. (except fingerprint)
NOT WORKING
On-display fingerprint.
Installation steps:
1. Restore to stock firmware. I recommend the following Fastboot ROM as thats the one I used. *url removed* (download file search google "equuleus global images V10.2.2.0.PECMIXM")
2. Put device in fastboot mode (adb reboot bootloader or Power Button + Vol Down)
3. Flash using MiFlash (Find it on google and be sure to select the "FLASH ALL.bat" option at the bottom and NOT the LOCK on, otherwise you will relock your device)
4. After flashing the stock ROM, let it boot up, then enable developer options and USB debugging.
5. Flash TWRP
* adb reboot bootloader
* fastboot erase recovery
* fastboot flash TWRP_equuleus_1102.img
* fastboot boot TWRP_equuleus_1102.img
6. Once in TWRP, goto WIPE and select DATA. Enter the word "yes" and once it is complete, go back to main menu, RESTART=>RECOVERY to reboot and automatically boot back into recovery.
7. Goto WIPE again, but this time WIPE DalvicCache, SYSTEM & Cache by selecting all 3 and wiping them (NO NOT RESTART AFTER THIS STEP
8. Once wipe is complete, push the content from the download folder provided below to the sdcard folder of the phone.
* adb push download_folder_containing_all_the_files /sdcard/
example: adb push /home/fanix/Downloads/lineageosrom /sdcard/
9. Once complete, you are now ready to flash lineage ROM. Select the lineageos zip file and flash it. (filename => lineage-16.0-20190425-UNOFFICIAL-equuleus.zip)
10. Once complete, you can then reboot to system to load lineage. After going through the lineage setup, you can then install microg (if you want)
Optional - Installing microg (from latest nanodroid) FULL SAFETYNET SUPPORTED
* Boot into TWRP (adb reboot recovery)
* Goto INSTALL, and select the following file: (NanoDroid-microG-20.7.92.20190424.zip).
* NOTE: This will install microg, including MsfProxy and UnifiedNLP with 4 backend providers. It will also install Aurora Store & Fake store.
* When install is complete, reboot and once in lineage, you can configure microg. You can log into google store using Aurora, either with your own account or their anonymised account. This allows you to download anything form the google app store, including apps that require verification, like mobile banking apps.
* If you want, you can test your SafetyNET using Magisk. You can find the magisk manager in the download folder. Install that and test SafetyNET. You do NOT need to root your phone to test this, you can simply install the manager. If you want to root your phone, simply boot back into TWRP and select the magisk 19.0 zip file and that will then also root your device.
Enjoy!
DOWNLOAD LINK:
https://drive.google.com/open?id=1aJ...bkaHPw86sgHYMj
Click to expand...
Click to collapse
Current anything is good !
thanks a lot again
Any news plss
Any news?
Still others are maintaining this rom, looking forward to updating
I was willing to bring up the rest of the hardware and make this device official, but I don't have the device. Is there any interest in donating a device for such purpose?
bgcngm said:
I was willing to bring up the rest of the hardware and make this device official, but I don't have the device. Is there any interest in donating a device for such purpose?
Click to expand...
Click to collapse
Would love to be in a position to do that. However, I have just had my OnePlus 6T stolen, and now need my Mi 8 Pro as a daily driver. Would be happy to donate to get the fingerprint reader working on AOSP / GSI-Treble ROMs for the MI 8 Pro.
PART 1 of 3
Had trouble posting this in XDA, got flagged by the system so the guide is broken into 3 parts.
Attachments are in part 3.
This guide is as detailed as possible so that you won't make the same mistakes I did and won't face the same problems.
Thanks to @xd4d3v and @conbak49 for your help buddies.
[TEXT IN BLUE ARE SPECIFIC TO LG V30]
THIS IS A MUCH SAFER AND EASIER WAY TO DE-GOOGLE / DE-BLOAT ANY ANDROID ROM AND IS WRITTEN SPECIALLY FOR THE LG V30, MIGHT WORK FOR ALL PHONES
AS OF POSTING THIS, I AM ON H930DS OREO ROM BUT THIS PROCESS MIGHT BE APPLICABLE FOR ANY ANDROID ROM, ANY VERSION
YOU NEED TWRP FOR THIS TO WORK. FOR ROOTING AND TWRP PLUS MAGISK RELATED PROCESS, REFER TO OTHER GUIDES ON THE V30/SPECIFIC PHONE XDA THREAD
Preparation
CHECK THAT YOU HAVE DOWNLOADED THE FOLLOWING APPS IN A FOLDER IN YOUR PC/LAPTOP)
(side note : the folder is in your pc because sometimes the phone's internal storage is encrypted and it is best to wipe all user data. We will copy this folder to internal storage after a clean install/factory reset)
A. TITANIUM BACKUP (download v8.3.3 or above from apkmirror.com)
B. Magisk 19+zip
(NOTE: if you followed @TxanMoe and @ChazzMatt 's WTF bootloader exploit for rooting the lg v30, be aware that the magisk.zip in that post is v18, you need magisk v19 for this process, but it is okay as long as you download magisk v19 from from "https://magisk.download/" website AND put it in the folder.
[ FOR THE V30, YOU NEED THESE EXTRA FILES IN THE FOLDER:
C. Encryption Disabler(Disable_Dm-Verity_ForceEncrypt_08.18.2019.zip OR no-verity-opt-encrypt - 6.0_1_.zip(OREO) )
D. LG ROOT CHECKER Disabler(AK3_RCTD_REMOVER.zip OR lg-rctd-disabler-1.0._1.zip(OREO) )
I am on oreo so I have the ones with red OREO, the first .zips are the latest and are probably for pie and oreo both ]
DISCLAIMER:
Although we are completely removing google apps pre-bundled in the stock rom; at the end of this process, you will have a fully functioning Aurora Store . It is the same Play Store side by side without any google trackers, and is from the open source MicroG project, so relax, you will be able to download all apps(Anonymously) including paid apps(with your login) just like you downloaded apps from the play store.
BEFORE WE BEGIN
TWRP will sometimes give a error message in red saying 'unable to mount storage/system'... This often happens if you were previously working on a different storage(OTG/SD card) and TWRP fails to switch storage. If it happens :
Go to MOUNT>STORAGE>SELECT STORAGE MEDIA>INTERNAL MEMORY and try again...it will get fixed.
WARNING:
NEVER EVER START REMOVING SYSTEM APPS WITHOUT BOOTING THE ROM/SYSTEM FOR THE FIRST TIME. SYSTEM WILL CRASH AND A BOOTLOOP WILL BE JUST AROUND THE CORNER.
STEP 1: VERY VERY VERY IMPORTANT
REMOVE YOUR GOOGLE ACCOUNT AND PHONE'S SCREEN LOCK PASSWORDS FROM SETTINGS>ACCOUNTS
DOUBLE CHECK that any google account is removed from settings.
DOUBLE CHECK that ALL FINGERPRINTS/PIN/PASSWORD LOCK METHODS HAVE BEEN REMOVED OR CANCELLED
IF YOU DON'T REMOVE YOUR GOOGLE ACCOUNT, SETUP WON'T COMPLETE WITHOUT GOOGLE APPS. YOU WILL GET ENCRYPTION ERROR AND MANY OTHER PROBLEMS (I learned it the hard way)
REBOOT [IMPORTANT]
STEP 2: IF POSSIBLE HAVE A TWRP FLASHABLE ZIP OF YOUR ROM READY IN THE PC FOLDER
if you don't have a twrp flashable zip for your system, it's ok. It's just a fail-safe method.
(Note: FOR the lgV30 you can download flashable rom zip from https://forum.xda-developers.com/showpost.php?p=76584629&postcount=193 (at the very last of that post under UPDATE H930, US998, H930DS with latest stock firmware TWRP-flashable "ROMs" )
2.1 IF YOU HAVE A USB OTG/SD CARD
COPY THE FOLDER FROM PC TO USB OTG/SD CARD
STEP 3: back up your files from internal storage
It's getting WIPED/FORMATTED. Back up.
PART 2
STEP 4: TWRP AND FULL SYSTEM FORMAT
Disclaimer
We are going to format/factory reset your phone and delete all your data.
4.1 FROM TWRP
(Note: if you have magisk installed, to boot into TWRP simply go to 'Modules' in left plane of Magisk and in right pane inside 'Modules' there is option to 'reboot into recovery')
[ FOR THE LG V30, another method to boot into TWRP via volume down+power button is here: https://www.youtube.com/watch?v=VJF8oTGqohg
HARDWARE KEYS TO BOOT INTO TWRP:
> continue holding volume down and power button (10 sec)
>continue holding for the bootloader warning too
>as soon as LGV30 white logo appears on black background immediately unpress and repress the power button and
>continue holding both buttons
>a screen comes saying all your files will be deleted, press volume down button to YES, then press power button
>the same screen reappears again, press volume down button twice to YES, then press power button
>wait, phone reboots
>the same screen giving warning comes again
>Don't press any buttons
>After a while TWRP starts
4.1.A. PERFORM A FULL FACTORY RESET
In TWRP,
go to WIPE
SELECT ADVANCED WIPE
SELECT: DALVIK / ART CACHE
DATA
INTERNAL STORAGE
CACHE
(NOTE: don't wipe SYSTEM if you don't have flashable rom zip, there won't be any system to boot into)
(NOTE: after factory reset, Magsik must be re-flashed from TWRP, there will be Magisk icon in a firmware with previously Magisk installed, but it won't work)
(NOTE: many android roms now require a encryption disabler, make sure you have that in a flashble zip file for your rom)
SWIPE TO PERFORM ADVANCED WIPE, DON'T REBOOT.
THERE IS NOTHING IN INTERNAL MEMORY NOW
4.1.B FROM SD CARD/OTG
FLASH MAGISK 19+ ZIP
FLASH ENCRYPTION DISABLER ZIP
FLASH LG ROOT CHECK DISABLER ZIP
4.1.C IF YOU DONT HAVE SD CARD/USB OTG
follow STEP 5(not 5.1), after system starts connect phone to PC. copy the folder from PC to phone's internal memory.
COMPLETE STEP 4.1.B
While still in TWRP, go to WIPE and perform the default TWRP wipe then follow step 5 and 5.1 .
Remember this time you are not wiping your internal storage so 4.1.C users need not follow step 6. The copied folder is still there.
STEP 5: LET THE SYSTEM BOOT NORMALLY, DON'T CONNECT TO INTERNET
5.1 After booting up your system, configure settings to your like, manage display size, change your wallpapers etc.. to your liking.
THIS IS THE BASE SYSTEM WHICH WE WILL TAKE A BACKUP OF and which YOU WILL BE CONSTANTLY RESTORING VIA TWRP SHOULD ANYTHING GO WRONG.
5.2 ONLY FOR LG PHONES
LG Apps like HIFI Recorder and Smartdoctor have a Terms of use Screen before using that app for the first time. Removing google apps makes the terms of use app crash and consequently app like HIFI Recorder refuse to start. This is possible to bypass by the following method:
After step 5, open all Lg apps that you want to use like Hifi Recorder, Lg health etc and accept the terms and conditions. Once that is done; you can even remove those EULA app, Terms and conditions app...
I believe this is due to the lack of webview which gets removed along with 'Android System Webview'.
However, by the end of this post we will have a fully working, trackers and AD free Bromite webview.
STEP 6: MAKE SURE EVERYTHING IS FINE, COPY THE FOLDER FROM PC TO INTERNAL MEMORY/SD CARD/USB OTG AND REBOOT PHONE
STEP 7: BACKING UP YOUR SYSTEM IMAGE IN TWRP
After rebooting, reboot into TWRP via Magisk.
WHEN YOU START DELETING SYSTEM APPS, SYSTEM MIGHT NOT BOOT, GET STUCK IN A BOOT LOOP, HANG INFINITELY ETC. , IT TOOK ME 15+ SYSTEM RE-INSTALLS TO GET A WORKING LIST OF REMOVABLE APPS WITHOUT GETTING CAUGHT IN A BOOT LOOP.
RE-INSTALLING SYSTEM FROM A FLASHABLE ZIP IF ANYTHING GOES WRONG IS A LENGTHY, TEDIOUS PROCESS AND YOU WILL HAVE TO REPEAT EVERYTHING DONE TILL NOW.
TO MAKE RE-INSTALLING SYSTEM EASIER FOR YOU, YOU ARE GOING TO TAKE A COMPLETE SYSTEM IMAGE FROM A CLEAN INSTALL, THIS PROCESS IS IMPORTANT
In TWRP , go into BACKUP
Excluding 'SYSTEM IMAGE' back up everything to internal storage/SD, it only takes up a few minutes.
YOU NOW HAVE A COMPLETE MIRROR IMAGE OF YOUR SYSTEM. IF ANYTHING GOES WRONG AFTER REMOVING ANY APP, IT LITERALLY TAKES ONLY 2 MINUTES TO GET YOUR SYSTEM UP AND RUNNING FROM THE BACKUP.
STEP 8: REBOOT
STEP 9: INSTALL TITANIUM BACKUP,ALLOW ROOT ACCESS
STEP 10: FIND A LIST OF UN-INSTALLABLE GOOGLE APPS.
Personally, I think the easiest way is to download a FULLgapps package from 'opengapps.org' for your android version, extract it and find a file titled ' remove-gapps.txt ' . This gives you a basic idea of which packages are from google and which are not.
As a rule of thumb, packages with name like com.google.NSA_spyware are from google and packages with brand/vendor names like (here LG ELECTRONICS/lge) com.lge.hippityhoppityLGproperty are from your phone brand. Packages with name like com.android.teagoodcoffebad are core shared android apps, don't delete these.
Code:
UPDATE: DON'T USE THIS \ CAUSES BOOTLOOP thanks @cascabel for checking
HOWEVER, YOU CAN USE THIS FOR FINDING OUT GOOGLE PACAKGES YOU ARE UNSURE OF
[COLOR="Sienna"]There is this zip file specially made for removing gapps:
' [url]https://github.com/CHEF-KOCH/Remove-Gapps/releases[/url] '
but I didn't use that and it doesn't remove 'Android System Webview'
so it's upto you to find a list of removeable apps from your system.[/COLOR]
NOTE: nanoDroid/microG is a collection of open source softwares that combine the functionality of google services in a open source package. It is said that the nanoDroid installer automatically removes google packages during install. We will be installing nanoDroid later.
However, nanoDroid installer didn't remove google apps from the LG V30 OREO.
IF YOU SIMPLY WANT TO REMOVE SYSTEM AND GOOGLE APPS ON A HIT AND TRIAL BASIS, IT'S OK TOO AND THAT'S WHAT I DID BECAUSE WE HAVE A FULL SYSTEM BACKUP AND WE CAN RESTORE EVERYTHING EASILY IN 2 MINUTES.
STEP 10: IN TITANIUM BACKUP:
-----------------------------------------------
THIS PROCESS IS FOR BATCH REMOVING APPS THAT YOU ARE SURE ARE BLOATWARE\GOOGLE APPS like DRIVE,DUO,GMAIL etc
At the top right corner there are three icons: a search icon, a file with tick mark, and menu: Select the middle one.
This opens the 'Batch actions -ALL'
Swipe down to 'Un-install'
In Un-install, the last option is : 'Un-install all all user & system apps'
Select that, don't worry it just opens a page with all your apps.
Note the green tick mark at the top right corner.
Deselect all and select only the ones that you want to remove.
-----------------------------------------------
NOTE: YOU WILL FIND A LOT OF APPS WITH NAME ENDING IN OVERLAY like com.android.phone.overlay corresponding to an app com.android.phone.
They are very very small sized files and not full apps. I don't know if it is okay to leave them but by far there has been no problems leaving them alone.
Also if you remove the main app then TITANIUM BACKUP will show an error while trying to remove the overlay. JUST LEAVE OVERLAYS ALONE or REMOVE OVERLAYS BEFORE REMOVING THE MAIN CORRESPONDING APP.
-----------------------------------------------
DELETING APPS ONE-BY-ONE
ALSO: HOW TO KNOW A PACKAGE NAME IN ANDROID:
To know a package name like com.google.calculatorprebuilt from an app titled calculator so that you can be sure where the package is coming from (google/vendor/AOSP android), open TITANIUM BACKUP and in the first screen there is overview BACKUP/RESTORE Schedules; SELECT BACKUP/RESTORE and click any app. On the new window, select the button with YELLOW TEXT and find Package name.
If you are sure to remove this app, on this new window there is a option in RED titled UN-INSTALL!. Hit OK twice and uninstall the app.
Update: IN THE LG V30 removing 'Android Services Library 1' and 'Android Shared Library 1' causes bootloop and their name start with com.google.package....
-----------------------------------------------
STEP 12: AFTER REMOVING A FEW APPS RESTART YOUR SYSTEM
NOTE THE PACKAGES YOU HAVE REMOVED.
Often times, many apps inter-rely on each other and removing one app may cause other to crash.
IF THE SYSTEM BOOTS UP, FINE. CONTINUE REMOVING SYSTEM APPS.
STEP 13: BOOTLOOP AFTER REMOVING SYSTEM APPS/
SYSTEM REFUSES TO BOOT AFTER REMOVING GOOGLE APPS/
SYSTEM STUCK ON LG LOGO
This usually happens when you remove a core system app and the system fails to boot.
FOR A CONDITION LIKE THIS IS WHY WE TOOK A WHOLE SYSTEM BACKUP IN TWRP BEFORE (also called nAndroid Backup)
NO PROBLEM, FOLLOW STEP 14
STEP 14: RESTORING SYSTEM FROM A BOOTLOOP
1. BOOT INTO TWRP
2. GO TO RESTORE
3. RESTORE SYSTEM
4. DONE
PART 3/FINAL PART
STEP 15: TRY REMOVING APPS AGAIN FOLLOWING THE SAME PREVIOUS STEPS BUT CAREFULLY
STEP 16: INSTALLING microG services via NanoDroid
1. Download two zips from https://downloads.nanolx.org/NanoDroid/Stable/
First download NanoDroid-patcher-.zip
Secondly download NanoDroid-microG-.zip
2. COPY zips TO PHONE
3. IN TWRP, first flash the patcher then microG zip.
Note that the patcher takes a very long time.
4. In advanced wipe clear cache only in TWRP.
REBOOT
YOU NOW HAVE A PLAY STORE EQUIVALENT AURORA STORE AND OTHER CORE GOOGLE SERVICES IN OPEN SOURCE APPS.
PLEASE NOTE:
MOST OF YOUR APPS HAVE LOST THEIR PERMISSIONS NOW SO OPEN ALL APPS FROM LAUNCHER AND GIVE THEM PERMISSIONS. IT'S EASY. EVEN FILE MANAGER WILL ASK FOR PERMISSIONS. THIS IS DUE TO THE PATCHER PATCHING SOME SYSTEM FILES
STEP 17: INSTALLING WEBVIEW
Once Everything is done you will notice that some apps dependent on AndroidSystemWebview.apk will crash or not display properly. An example of this is the popular 'English' dictionary that can be downloaded from the play store. Instead of proprietary Webview we will now install open source webview.
IN MAGISK (Needs Internet)
1. Install Bromite Systemless Webview module(module itself needs internet and takes some time)
2. Install Xposed Framework [ UPDATE: THIS MODULE IS BROKEN AS OF NOW, DOWNLOAD XPOSED APK FROM ELSEWHERE]
IN XPOSED FRAMEWORK
1.INSTALL AnyWebView module
REBOOT
GO TO SYSTEM>Developer options
Under webview implementation option select Bromite Webview
STEP 17: AFTER REMOVING ALL APPS THAT YOU DON'T WANT, TAKE A BACKUP OF THIS BLOATWARE FREE SYSTEM IN TWRP AGAIN.
THAT WAY YOU DON'T HAVE TO GO THROUGH THESE SAME STEPS AGAIN IF YOU NEED TO FACTORY RESET YOUR DEVICE AGAIN
STEP 18: A LIST OF SAFE TO REMOVE APPS IN THE LG V30 OREO ROM
By now I am too tired to type all the apps so I just took a screenshot of all the apps I now have after installing nanoDroid and Bromite.
So you can safely remove all other apps that ARE NOT in these screenshots.
SCREENSHOTS IN ATTACHED ZIP.
Launcher: Nova Launcher
Icon Pack : Pixel Pie Icon Pack
Any Queries WELCOME.
Suggestions on other removable apps from the list HIGHLY WELCOME.
Been looking for a thread like this. Awesome!
Just a quick Q or two...
1. I might just use the zip and remove webview manually. Would that be okay? And should i uninstall libs too (g-killer has that option)?
2. I see you used nano microg - would it be fine to use the full nanodroid installer? There are some apps there that are handy afterr you have de-googled.
Again, thanks for the thread. Been trying to go microg on stock for a while now withoutuch luck (full of fc's).
Will try this asap.
cascabel said:
1. I might just use the zip and remove webview manually. Would that be okay? And should i uninstall libs too (g-killer has that option)?
2. I see you used nano microg - would it be fine to use the full nanodroid installer? There are some apps there that are handy afterr you have de-googled.
Again, thanks for the thread. Been trying to go microg on stock for a while now withoutuch luck (full of fc's).
Will try this asap.
Click to expand...
Click to collapse
Which zip are you referring to in the first point? If you mean bromite zip and if it is available, I think it would be okay to flash it. You (might) see two webviews in developer settings. I really have no idea regarding libs, I really don't have much idea of core android system but afaik the zip file from PART 2 under
There is this zip file specially made for removing gapps: ' https://github.com/CHEF-KOCH/Remove-Gapps/releases ' but I didn't use that and it doesn't remove 'Android System Webview' so it's upto you to find a list of removeable apps from your system.
Click to expand...
Click to collapse
lists many libs if you extract it and find a file delete.sh in zip>system>system.sh (shell/sh is essentially a .text file). You can try deleting those.
I might even try that zip file and see if it works or you can and update us, remember backing your system! after a fresh install.
I used the full nanoDroid package before and it came with a plethora of apps that scared me. You can download each of those apps from f-droid one by one if you just want a specific app. thanks for asking. good day!
B
tamakooo said:
Which zip are you referring to in the first point? If you mean bromite zip and if it is available, I think it would be okay to flash it. You (might) see two webviews in developer settings. I really have no idea regarding libs, I really don't have much idea of core android system but afaik the zip file from PART 2 under
lists many libs if you extract it and find a file delete.sh in zip>system>system.sh (shell/sh is essentially a .text file). You can try deleting those.
I might even try that zip file and see if it works or you can and update us, remember backing your system! after a fresh install. I think that's he zip you mentioned in your post. Not sure, though (at work and don't have time to check).
I used the full nanoDroid package before and it came with a plethora of apps that scared me. You can download each of those apps from f-droid one by one if you just want a specific app. thanks for asking. good day!
Click to expand...
Click to collapse
Oh. Sorry. My post was unclear.
I meant using g-killer to remove system apps instead of doing it manually (i don't have the time nor patience lol). I was wondering if i should delete libs using g-killer or just let them be and just remove apps. I think that's the gapps remover you linked (not sure. At work and don't have muh time besides checking here every once in a while )
About nanodroid, yeah it dies have a lot of apps. I do use the setup zip so i select which i use. Downloading on f-droid works, too.
Sorry for the questions. I'll try this tonight (maybe in 5-6 hours) and let you know what happens. :good:
Attempt 1: using the gapps uninstaller on you link gave me a bootloop. Gonna try gapps killer this tike without removing any libs.
Attempt 2: gapps killer without deleteing libs gives bootloop, too. Lol. Gonna try again but won't uninstall framework.
Attempt 3: same thing. Will try without deleting ps, play services, and framework.
Attempt 4: ok. So that worked. Still have PS and the others, though. Gonna try patching now and see if the last remnants of Google will disappear.
Ok. So i got it to work without having to clean flash. Gonna try a clean flash now and repeat. Not sure if i got all google apps deleted. Gonna try the zip again (gapps remover). If it works, I'll restore my old twrp backup and do it there. If not, I'll restore my backup and try again tomorrow. Patching takes a while...
Seems using g-apps killer zip or the gapps uninstaller zip you provided causes bootloops.
I'll try again tomorrow...
cascabel said:
Attempt 1: using the gapps uninstaller on you link gave me a bootloop. Gonna try gapps killer this tike without removing any libs.
Attempt 2: gapps killer without deleteing libs gives bootloop, too. Lol. Gonna try again but won't uninstall framework.
Attempt 3: same thing. Will try without deleting ps, play services, and framework.
Attempt 4: ok. So that worked. Still have PS and the others, though. Gonna try patching now and see if the last remnants of Google will disappear.
Ok. So i got it to work without having to clean flash. Gonna try a clean flash now and repeat. Not sure if i got all google apps deleted. Gonna try the zip again (gapps remover). If it works, I'll restore my old twrp backup and do it there. If not, I'll restore my backup and try again tomorrow. Patching takes a while...
Seems using g-apps killer zip or the gapps uninstaller zip you provided causes bootloops.
I'll try again tomorrow...
Click to expand...
Click to collapse
thanks for checking, I updated the post. Also had some other minor updates in the post.
Hey OP, thanks for writing this guide. I'm running Android 12 stock ROM + Magisk root on Zenfone 9 but I've had trouble deleting stuff in /system due to it being read-only. I am able to "freeze" goolag apps in Titanium Backup but can't seem to uninstall them with either TB or in TWRP recovery mode file browser. Seems that everything system related is mounted as read-only. Do you have any ideas on how to proceed with de-googling in such conditions? Regards
How to root and pass SafetyNet on Sony Xperia 10 III (XQ-BT52)Tested on firmware 62.0.A.3.163.
Disclaimer:
This guide assumes you're familiar with the concepts of rooting, Magisk, SafetyNet, fastboot, adb and so on. I will explain why things are done but if I explained everything it would become too long.
This guide is limited to getting root and apps working on the stock Sony ROM. It doesn't cover installing other ROMs.
You can mess up your phone if you don't know what you're doing. This is not a beginner's guide.
Before you do anything else, do these preparations:
Make sure your device is updated to the latest firmware. Getting updates after you unlock the bootloader will be more complicated.
Use XperiFirm to grab a copy of your current firmware (after you've updated it). It can run on Linux too, either via Mono or in a virtual machine. It's basically just a downloader, it doesn't need any fancy hardware access.
Screenshot everything under Settings > System.
Open the dialer and enter *#*#7378423#*#*. Screenshot everything in the service submenus.
Unlock developer options (tap Settings > About > Build number 7 times) then find it under Settings > System > Advanced. Activate USB debugging. Activate OEM unlocking.
Install the Android SDK Platform Tools. On Linux they're most likely in a package provided by your distro.
Copy the screenshots to your PC because the phone will be reset at some point.
Boot into fastboot by turning the phone off, then connect it to PC via USB, and press POWER and VOLUME UP together. The phone led will turn blue. On PC run fastboot devices and make sure it lists your phone and has the serial number you got from the service menu.
Unlocking the bootloader:
This is the point of no return as far as warranty is concerned!
This will factory reset the phone! Make sure you got everything you needed off it.
Obtain the unlock code (you will need the IMEI of the 1st SIM slot).
Boot into fastboot, check again that fastboot devices lists the phone.
Issue the unlock command using the code you got earlier: fastboot oem unlock 0x<unlock code here>
Reboot the phone (you can say fastboot reboot). It will say "can't check for corruption" and "erasing" a couple of times but will eventually boot up to the factory setup.
Enabling Magisk & root:
Download the latest Magisk apk to the phone and install it. Right now that means v24+.
Open boot_X-FLASH-ALL-8A63.sin from the original firmware with any archive manager (it's a tar.xz), 7zip will work fine.
Extract boot.000, rename it to boot.img and put it on the phone.
Open the Magisk app, next to "Magisk" tap "install", choose "Select and patch a file", pick the "boot.img" file.
Download the patched img to PC (will be next to boot.img called something like magisk_patched-24100_MKPRJ.img).
Boot into fastboot, check again that fastboot devices lists the phone.
Flash the patched boot image: fastboot flash boot magisk_patched-24100_MKPRJ.img
Must say OKAY. Can then reboot the phone (you can say fastboot reboot).
Open the Magisk app again, it should say "installed" now next to "Magisk". Also the Superuser and Modules buttons should now be enabled.
Go into Magisk settings and activate "Hide the Magisk app". This is NOT MagiskHide, it does not hide Magisk from other apps, it hides the Magisk Manager app from other apps. More on this later.
Go into Magisk settings and activate Zygisk. This is a built-in replacement for Riru going forward.
Reboot!
Install a root checker app and verify that you get a prompt from Magisk to give root and that the checker says it got root.
Important changes about Magisk:
Riru is now obsolete. It has been replaced by a feature built-into Magisk called Zygisk (which is essentially Riru running in Zygote). It is strongly recommended to go into Magisk settings and activate Zygisk (even if you don't use Riru modules). Do not install Riru anymore. All modules that needed Riru should have Zygisk versions by now unless they're abandoned.
Magisk no longer maintains a module repository, To find and install modules install Fox's Magisk Module Manager. It's a dedicated module management app that supports the old Magisk repo as well as new ones. Inside Magisk you can still enable/disable/remove/install manually and can also update if the module has an update URL, so you can do without Fox if you get your modules directly from their XDA or GitHub pages.
MagiskHide has been replaced by a new feature called Deny list (it's in Magisk settings). It's much more powerful because the apps & processes added to the deny list will be completely excluded from anything based on Magisk so it's impossible for them to detect leaks anymore. On the downside, excluded apps can't be affected by any Magisk or LSPosed modules (LSPosed will grey out such apps and say "it's on the deny list".) This feature should be used sparingly (see below) because Magisk still does a good job of evading detection.
Passing SafetyNet:
Install YASNAC to check your SafetyNet status. At this point you're probably not passing either Basic or CTS check.
Go into Magisk settings. Enable "Enforce deny list". Enter "Configure deny list", find Google Services, check it, expand it, and select only the process ending in .gms and the one ending in .gms.unstable.
Reboot. Check YASNAC. At this point you should be passing Basic check but probably not CTS.
Install Universal SafetyNet Fix (aka USNF) by kdrag0n in Magisk. (Some GIS ROMs already include what this module does, so if you install a GIS ROM you may not need it.) This module hijacks the CTS verification and drops an error which causes the Google service to fall back to Basic verification, which we already fixed in the previous step.
Reboot. Check YASNAC. At this point you should be passing both Basic and CTS. That's it!
You may need to clear storage & cache for Google Play & Services. Go to Settings > Apps & notifications > See all apps, select "All apps", find them in the list, clear storage/cache and reboot. After that try searching for a restricted app such as Netflix on the Play store, if it shows up in results you're all good.
Remember to also add to deny list other apps that try to detect if you're using root, like banking apps.
Other SafetyNet related fixes:
People using non-stock GIS ROMs will probably need module MagiskHide Props Config by Didgeridoohan. This will install a props command line util that you can use (as root) to force Basic attestation, apply extra Magisk hiding techniques, spoof device fingerprint, change the way fingerprinting is checked, or even impersonate another device altogether. Install, reboot, enter adb shell, type su to go root (will need to grant root to shell on the phone when prompted), then run props and follow the options.
People running extra-stubborn banking apps (or other apps that try to detect root extra-hard) that don't work even when added to the Magisk deny list can try module Shamiko by LSPosed. This module adds extra hiding techniques for the apps on the deny list. Please note that Shamiko will disable the Magisk "enforce deny list" option but that's ok, that's an extra feature, the deny list is in effect even without it.
Working apps and modulesPlease note that this list is limited to stuff that I personally use. I can't and won't install other stuff to test it.
Root apps:
AFWall(+): Works, but configure it to use its own internal busybox and iptables. Applying rules fails occasionally and you need to retry.
Call Recorder by skvalex: Recording works out of the box, no fiddling required with either headset of mic recording.
JuiceSSH, Termux etc. and other terminal apps: No issues getting root with su.
Busybox: you can install zgfg's module which exposes Magisk's internal Busybox to the rest of the system (bonus: will be updated with Magisk); or you can install osm0sys's module which contains a standalone separate Busybox. As of now both of them provide Busybox 1.34.
MyBackup Pro: Works fine. Used it to transfer 15k+ SMS messages from Android 8.
Solid Explorer: Can access root partitions without issues.
Tasker: No issues.
Titanium Backup: Works but will hang when restoring APKs whose target API doesn't support the ROM's Android version (ie. APKs you can't install directly either).
OAndBackupX: Modern alternative to Titanium, works perfectly.
XPERI+: Version 6 works well and allows you to remap the assistant button and has another couple of features. Version 7 crashes.
Magisk modules:
AFWall Boot AntiLeak
Backup
Builtin BusyBox
Magisk Bootloop Protector
MagiskHide Props Config
Shamiko
SQLite for ARM aarch64 devices
Systemless Hosts (comes with Magisk, enable it in settings)
Universal SafetyNet Fix
Zygisk LSPosed
LSPosed modules:
App Settings Reborn: Works well. May require a couple of reboots before the targeted apps start showing the modifications.
Disable Flag Secure: com.varuns2002 is working, sort of. Please read the module's page. Apps got wise to rooted devices ignoring FLAG_SECURE so now they use hardware DRM or detect screenshots and show you something else (Netflix). So it works only in older versions of apps, or apps that haven't bothered to detect screenshots.
GravityBox [R]: Everything I tried works perfectly.
Physical Button Master Control: The module works as intended, the companion config app has some issues, hopefully they'll be solved soon.
XPrivacyLua: Works perfectly. No issues with SafetyNet.
Not working:
...
Other tested and working Root Apps:
AdAway
Fox's Magisk Module Manager
Franco Kernel Manager
Termux
Not testet yet:
Call Recorder
FolderSync
Total Commander
Vanced Manager
WireGuard
Other tested and working Magisk modules:
1Controller - 1 Module to support all Controllers
Call Recorder - SKVALEX
F-Droid Privileged Extension
Move Certificates (version by Androidacy)
Other tested and working LSPosed modules:
BubbleUPnP AudioCast