[Guide] Build your own ultimate Android - Android General

After a long time of writing I'm proud to release my free e-book / extensive guide called:
"Build your own ultimate Android"
It'll cover A LOT of Android modding (23 pages) but it's really detailed and I hope it'll be a good starting point for newbies to the scene.
But I'm pretty sure even novice modders will still be able to get something out of this.
In the guide I'll be modding a OnePlus 3T from start to finish but it should also mostly be suitable for other brands as well since I described it pretty generally.
If you follow the book you should end up with a build running the Latest LineageOS, one of the most private android's that will be out there, that has zero advertisements and is really battery and resource friendly.
You can read/download it from here:
DropBox Download - Build your own Android
Up-doots are welcome if you learned something from it, took a long time to write all of this down.
This is the table of contents to give you a more in-depth overview:
Info on the Android system:
Unlocking the bootloader:
Flashing a Custom Recovery (TWRP)
Flashing LineageOS 17.1
Flashing Magisk
Setting up LineageOS 17.1
Magisk Manager for Recovery
Magisk Modules:
Ainur Narsil / Sauron
Audio Modification Library
BusyBox for Android NDK
CloudFlareDNS4Magisk
GPU Turbo Boost
LiboemCrypto Disabler
Universal GMS Doze
Wifi Bonding (Qcom)
Installing Xposed Framework
Installing Aurora Store, Droid & Services
Installing MicroG
Installing Orbot
F*ck advertisements:
AdAway
MinMinGuard
FireFox
YouTube Vanced
Spotify
SoundCloud
Viper4Android FX
AfWall+
Facebook & Messenger
Mobilism
XPrivacyLua
MiXplorer
Titanium Backup
GravityBox
Substratum
Jasi Patcher
CPU Info
Split APKs Installer (SAI)
Keepass2Android & KeeWeb
WebKey
FairEmail
Customizing Termux
Conclusion
Honorable Mentions

A note: Sauron is good but the author is on hiatus and only compatible with Android 9 or below, Narsir is compatible with 10 but the removal of libs may affect other functions (like on my Redmi K30 when install Narsir there's no voice when calling)

do you have a guide on building lineageos rather than just flashing it?

Related

Magisk Manager Download

Magisk Download is the alternative of Chain fire SuperSu zip file. Magisk can hide root from an app entirely, which means that Google apps will not detect the root access on your Android phone. But it’s much better than the Supersu root access. The biggest change in Magisk Manager is that it comes with Android O support and a new SafetyNet workaround. Magisk modules will help you to run all the Google apps which are not working on rooted Android phones Like Netflix, Snap chat and lots of more Android apps. Magisk Manager is similar to System less root by Chain fire which allowed users to get root access without modifying the system partition.
Magisk Download packs with a super powerful Universal Systemless-ly Interface for Android which is aimed to make custom mods go systemless-ly. Both apps are allowing uninterrupted installation for OTA updates even when the device is rooted. But Magisk manager gives you more controls and installing system less root via Magisk modules also allows you to use Android Pay with root. Magisk Download with a super powerful Universal systemless-ly Interface for Android which is aimed to make custom mods go system less.
magiskandroid.com​
Mabel_Davis said:
Magisk Download is the alternative of Chain fire SuperSu zip file. Magisk can hide root from an app entirely, which means that Google apps will not detect the root access on your Android phone. But it’s much better than the Supersu root access. The biggest change in Magisk Manager is that it comes with Android O support and a new SafetyNet workaround. Magisk modules will help you to run all the Google apps which are not working on rooted Android phones Like Netflix, Snap chat and lots of more Android apps. Magisk Manager is similar to System less root by Chain fire which allowed users to get root access without modifying the system partition.
Magisk Download packs with a super powerful Universal Systemless-ly Interface for Android which is aimed to make custom mods go systemless-ly. Both apps are allowing uninterrupted installation for OTA updates even when the device is rooted. But Magisk manager gives you more controls and installing system less root via Magisk modules also allows you to use Android Pay with root. Magisk Download with a super powerful Universal systemless-ly Interface for Android which is aimed to make custom mods go system less.
magiskandroid.com​
Click to expand...
Click to collapse
Dude you're late : https://forum.xda-developers.com/apps/magisk
sachin n said:
Dude you're late : https://forum.xda-developers.com/apps/magisk
Click to expand...
Click to collapse
true
thread closed

Replace fakestore with PLAY STORE and install droidguard and pass safetynet!

This is a module to simple replace fakestore with playstore and install droidguard helper in los microg forks, as many prefer microg over gapps and for an easy life they just install los microg for but los microg comes with fakestore and no droid guard helper which breaks safetnet and user cant use paid apps as yalp store/aurora store downloaded paid apps doesnt pass license verification
for making users work easy i just made this module to do all systemlessly and making ** OTA's INSTALLABLE ** and this thing ota survivable.
LINK: https://github.com/Shabinder/Replace-fakestore-with-playstore-mod-and-install-Droidguard
now we can install paid apps from playstore and can pass safetynet without any issue(add droidguard in magisk hide)
NOTE: In some cases if during safety net check droidguard stops then plz intall the apk as an update over installed app by extracting the module zip in /system/priv-apps/droidguard
For updating playstore download fdroid and add this repo in it " https://nanolx.org/fdroid/repo/?fin...6FE93D14596B381D75BE83A1D616E2D44A12654AD015"
NEED HELP OR REPORT ISSUES: WRITE TO @shabinDER ON TELEGRAM
###credits: MARVIN FOR MICROG , NANOLX FOR MODDED PLAYSTORE , TECHNO SHAB(aka Shabinder) for this module.
Are there any news on this?
I tried the last version, but as already written on GitHub, it also ended in a bootloop.
Unfortunately I had the same problem - ended in bootloop

Passing Google Safety Net On Lineage 18.1 + microG + Magisk Root

Hi folks!
I'm trying to pass the Google Safety Net on my 8T but I fail both on the basic integrity and the cts profile check.
So here's what I did:
I started from a "clean" phone, out-of-the-box with stock everything.
I installed Lineage OS for microG = no gapps (their custom recovery and the ROM image from here following this wiki guide)
I updated the preinstalled Magisk to the newest version (version 23.0 (23000))
I patched my boot image with Magisk, flashed it, getting root.
I installed microG DroidGuard Helper from the Fdroid nanolx repository (version 0.1.0-10-gf64bf69)
I installed the following module: MagiskHide Props Config (version 5.4.0-v128)
I rebooted
I enabled Magisk Hide and hid microG Services Core ( = com.google.android.gms) and tried to hide DroidGuard (but the checkbox wouldn't stay ticked)
I rebooted
After this, I can't even get past the basic integrity test. The evalType says basic.
So I have read about this Universal Safety Net fix to pass the cts profile check but it says it would require a pass in the basic integrity test first, so I'm out of luck there.
As this is the first time I'm dabbling with rooting my phone please point out any mistakes and request any information you might need to help.
Thanks in advance,
Alex
Unless something has changed very recently you can't pass SafetyNet in microg.
Oh, I see. That's a shame. Do you know why that is or can you point me to a source that explains why this does not work or what would be needed to make it work?
tangboshi said:
Oh, I see. That's a shame. Do you know why that is or can you point me to a source that explains why this does not work or what would be needed to make it work?
Click to expand...
Click to collapse
I believe to remember that the microG thread contains a few information:
[APP] microG GmsCore - lightweight free software clone of Google Play Services
Introduction microG GmsCore is a FLOSS (Free/Libre Open Source Software) framework to allow applications designed for Google Play Services to run on systems, where Play Services is not available. If you use your phone without GAPPS this might...
forum.xda-developers.com
The required DroidGuardHelper isn't up-to-date - and probably can't be updated, I don't know.
You can't also check the µG Github for reported issues:
GitHub - microg/GmsCore: Free implementation of Play Services
Free implementation of Play Services. Contribute to microg/GmsCore development by creating an account on GitHub.
github.com
Personally, I using µG for years but I personally don't require to pass SafetyNet i.e. I never cared.
microG GmsCore 0.2.23.214816 can pass SafetyNet.
Starting from this version microG DroidGuard Helper is no longer needed and it must be removed.
ale5000 said:
microG GmsCore 0.2.23.214816 can pass SafetyNet.
Starting from this version microG DroidGuard Helper is no longer needed and it must be removed.
Click to expand...
Click to collapse
Any guides on this anywhere ? Is it true for all devices ? Mine is XZ2C anyway..
I've tried LineageOS for micro g and official lineageOS installing micro g afterwards and no luck still.
official lineageOS with google services works fine to pass safetynet.
Your input or a little guide would be greatly appreciated. Thank you

Magisk + Magisk Manager = Total Confusion

I've read myself to exhaustion trying to understand how this all works with no luck. With articles on the web having no or vague instruction and authors using the terms Magisk and Magisk Manager interchangeably (this one is the worst) I'm totally confused. Additionally there is too much assumed knowledge in the instructions I find. Go do this, go install this with no links, no explanation of what I'm installing, how to install it, where the instruction and files live, how to use it or the actual effect upon install.
Here is my current state and my questions (please excuse the caps, they just express my frustration):
Pixel 4a
Android 11
Rooted with Magisk
Can't use banking apps
MagiskHide doesn't fix the problem
I read that using MagiskHide Props Config can fix my SafetyNet issues but the instructions are very extensive and I want to be sure of what I'm doing before I tackle it.
Does Magisk also live inside Magisk Manger? Do I need both?
Do I need Magisk Manager to load modules?
Hiding root and passing Safety Net:Magisk and MagiskHide Installation and Troubleshooting guide
www.didgeridoohan.com
Why do these instructions tell me to "Make sure that the app in question is selected in the Hide list (Under MagiskHide in the Magisk app)." and there IS NO HIDE LIST! under MagiskHide in the Magisk app?!
OR
"Most Magisk modules can be hidden by MagiskHide, but that depends on exactly what the module does. If you can't figure out what is triggering an app, try disabling all modules." THERE IS NO PLACE TO SELECT OR DISABLE MODULES IN MAGISK!
I am very, very technical and can can follow well written instructions but this android (and linux) stuff is new to me. I just want my Pixel 4a to have root and be able to use my Golden1 credit union software. I apologize for the drama but this task is becoming almost insurmountable.
Thank you very much for any opinion or insight!
Arsenal420 said:
I've read myself to exhaustion trying to understand how this all works with no luck. With articles on the web having no or vague instruction and authors using the terms Magisk and Magisk Manager interchangeably (this one is the worst) I'm totally confused.
Click to expand...
Click to collapse
Totally agree with you: all is based on slopiness of the authors.
Magisk is a software framework- it provides additional low level routines / replaces in parts Android's default system software - what hooks Android's boot and system files, thus you can extend Android's default system features by adding 3rd-party modules.
Magisk Manager is a pure Android app for managing Magisk.
jwoegerbauer said:
Totally agree with you: all is based on slopiness of the authors.
Magisk is a software framework- it provides additional low level routines / replaces in parts Android's default system software - what hooks Android's boot and system files, thus you can extend Android's default system features by adding 3rd-party modules.
Magisk Manager is a pure Android app for managing Magisk.
Click to expand...
Click to collapse
Thank you very, very much. So do you need to have Magisk installed for Magisk Manager to work? If it's like maybe .Net framework then the answer would be "yes" but since I don't know this platform perhaps Magisk is "embedded" in Magisk Manger and you only need it to do all your work. Thanks again jwoegerbauer you filled in a major blank.
Magisk Manager is companion Android application for Magisk framework so it should be obvious that Magisk framework must be installed before.
I know what you mean. I just started trying to install an news magic today instead of lucky passer and I can't even get it installed and authorized because of the tar and the different things that wants to have me do. There's no instruction it's just supposed to be knowledge you're supposed to have. I think I'm just gonna delete it go back lucky.

Signature Spoofing in Android 10 (Android Q) (Nanodroid not working)

Hi XDA
I'm having an issue deodexing or signature spoofing, all the tutorials seem to be for Android 9, 11 or 12, but not 10. Everyone seems to recommend Nanodroid but that isn't working for me, the MicroG self-check fails on "System spoofs signature" and "Play Services (GmsCore) has correct signature", I hear this happens when spoofing is enabled system-wide, but most Gapps still don't work properly, like the Play Store crashing immediately on startup (I'd prefer to use the Aurora store so I'm just listing it as a symptom), YouTube (stock and revanced root installed) complaining that Play Services isn't enabled, no notifications and location services not working at all so Maps is useless.
I did try Smali Patcher and that didn't work either (though the Screenshot on restricted apps patch did work) and I've heard some call it "shady" though they didn't say why.
I've heard that there is a way of enabling spoofing on a per-app basis (like apps requesting root access) which I would prefer, and I wasn't really a fan of how Nanodroid disabled the app installation dialog box (I prefer to micromanage updates), though as mentioned above I did like that screenshots couldn't be blocked.
Does my ideal setup exist or it is another pipe-dream?
Thank you in advance.
Look inside here:
doc/NanoDroidPerm.md · master · Christopher Roy Bratusek / NanoDroid · GitLab
microG, F-Droid, GNU Bash, FOSS applications and more for Android
gitlab.com
jwoegerbauer said:
Look inside here:
doc/NanoDroidPerm.md · master · Christopher Roy Bratusek / NanoDroid · GitLab
microG, F-Droid, GNU Bash, FOSS applications and more for Android
gitlab.com
Click to expand...
Click to collapse
Thank you for the suggestion, I ran the script as root but it didn't change anything.
EDIT: I just read through the documentation on the nanodroid repo and it seems you can't set up MicroG using this method on a Gapps preloaded stock ROM without installing it through recovery, which I can't as there's no port of any custom recoveries like TWRP.

Categories

Resources