[Android 10] Current status of GSI - Xiaomi Mi 8 SE Guides, News, & Discussion

Hello there,
while we wait for the development of AOSP Android Q ROMs I wanted to make a central hub for discussion related to Android Q GSI by phh, which is the only option we have right now to run an AOSP Q system.
It's also kind of a guide since the GSI doesn't boot out of the box when using the Q vendor by xiaomi.eu, so here's how to boot it.
1. Flash xiaomi.eu 9.10.24+ which is based on android Q. You should be able to get it to boot on your own, if it doesn't I'm sorry but this guide is not about that. One tip, you need to use an up-to-date TWRP, I used 3.3.1-1024 which you can find in the forum.
2. Reboot to recovery
3. Factory reset
4. Mount vendor in recovery and delete the last line of /vendor/etc/selinux/vendor_sepolicy.cil "(allow zygote_28_0 dalvikcache_data_file_28_0 (file (execute)))". The GSI will not boot if you skip this step.
5. Flash the latest Android Q GSI from phhusson's github releases page. It needs to be A/B (yes that's right) and arm64, so it will be something like system-quack-arm64-ab-vanilla.img. You can also use the gapps variant.
If nothing goes wrong the phone should successfully boot to Android 10.
It's stable (no crashes or anything) but I already found a couple bugs which make it unusuable for me, like alarms and notifications are silent (multimedia is fine), screen casting doesn't work and although I'm not entirely sure it was the GSI fault but cellular data felt quite slow.
I've also decided to write this post because it would be ideal if someone who feels like playing around with the phone a bit, or has a spare sirius will try booting the GSI off of Chinese vendor from here.
I know that in the past it used to be the case that xiaomi.eu vendors were more GSI-friendly, though I've checked and the Chinese vendor doesn't have the SELinux problem described above. Also it would be ideal because if we want any help from phh with fixing bugs it would be better to follow his guidelines about using OEM vendors.
Thank you all and let's get Android 10 running nicely on this phone

Related

[GUIDE] GSI ROMs installation tutorial. In pursuit of the best ROM that is not MIUI

Disclaimer: I am not a developer (I don't code), but I have been flashing ROMs for many devices over the years. This is more of a practical guide from an end-user perspective in pursuit of finding the best ROM for this magnificent hardware. This is more of a compilation of all the relevant information I found. I'm very open to suggestions/corrections that could improve this.
Disclaimer: Only tested with RR, PixelExperience, and ArrowOS GSI.
I haven't seen a proper guide to flash GSI ROMs for Mi Mix 3, thus I decided to share what I know that works. I put a brief explanation for each step below.
1. Unlock Bootloader - If you haven't done so yet, I recommend following the instructions in https://www.reddit.com/r/Xiaomi/wiki/bootloader
2. Install TWRP
a) I recommend to use the official TWRP from this link https://twrp.me/xiaomi/xiaomimix3.html or refer to the forum https://forum.xda-developers.com/mi-mix-3/development/recovery-unofficial-twrp-recovery-t3901261.
b) To install TWRP, I recommend to follow the instructions from Xiaomi.eu. For those not familiar, the "twrp.img" in the code should be the full path of the file. Something like "D:\folder\twrp.img"
c) If you have an older version of TWRP, I suggest to update it to the official.
3. Install Xiaomi.eu - Start from this step in case of bootloops or issues (especially caused by Magisk modules by my experience)
a) This is what I do instead of the 'flash vendor.img from Chinese Dev' prerequisite mentioned in other threads. This is an easier step (just one flash in TWRP) and a better fallback (a working ROM) in case things go wrong. I have had no issues (fingerprint, calls, etc..) with this and I've done this thrice.
b) Download the latest MIUIv10.2 Stable for MIMix3 from the link https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-stable-release.47170/.
c) Wipe > Format Data (prevents problems, and removes encryption if you had it). Also do Factory Reset (idk, just to be sure).
d) Copy xiaomi.eu ROM to internal storage, then Install > Flash. No need to boot/restart, proceed to the next step.
4. Install GSI ROM - wth is GSI? https://github.com/phhusson/treble_experimentations/wiki/Frequently-asked-questions-(FAQ)
a) We can actually install any GSI in https://forum.xda-developers.com/project-treble/trebleenabled-device-development but there is an issue in installing Google Apps (Open GApps) as many people mentioned in https://forum.xda-developers.com/mi-mix-3/development/9-0-resurrection-remix-v7-0-t3891975 and as confirmed by the official TWRP thread https://forum.xda-developers.com/mi...p-recovery-t3901261/post79035909#post79035909
b) Given the above, the only feasible options are GSI ROMs with built-in GApps and the only 2 I found are PixelExperience GSI and ArrowOS GSI. As GApps is integrated in the system.img, no need to flash Open GApps thus no issues. Having tried both, I personally recommend ArrowOS due to the performance and additional customization options.
c) Download the arm64 AB version (ArrowOS as an example) https://forum.xda-developers.com/pr...abled-device-development/gsi-arrowos-t3835111
d) Copy the resulting system.img to internal storage (extract if its a .zip), in TWRP click Install > Install Images > select system.img of ArrowOS > select System partition. You can now boot, or follow next step to root with Magisk.
5. Install Magisk
a) The Magisk version that passes SafetyNet is the builds from ianmacd https://github.com/ianmacd/MagiskBuilds look for v18.2 (newer versions might work but I haven't tried them yet). You can still use the official Magisk Manager and the ianmacd version will be recognized. Just change the update channel in Magisk to https://goo.gl/yZpnrf. Credits to this thread https://forum.xda-developers.com/mi-mix-3/how-to/root-magisk-18-2-mix-3-t3905754
b) After flashing Magisk, boot, install Magisk Manager, then download and install the module "SafetyPatch". SafetyNet check will now be success.
c) Even though SafetyNet is passed, some banking apps still are not working. Hopefully someone can share a solution (probably MagiskHide Props Config, or canary builds?) to make banking apps work.
Final Thoughts
ArrowOS GSI seems to be stable enough and I'm using it as my daily driver now. I am so much happier compared to when using MIUI Global ROM. I really like the performance (very fluid), battery life (a lot better than MIUI Global), customizations (like traffic indicator, status bar stuff), unli Google Photos, and everything that makes AOSP/stock android awesome. No more bloatware, annoying non-dismissable notifications, and horrible auto brightness from MIUI.
The only real issue I encountered so far is the bluetooth audio/music issue, but this seems to be a common problem in GSI ROMs. Bluetooth calls work though. There is no app to handle the slider (but I don't care. lol). Lastly, the AI button becomes useless, but see below for the fix.
Optional stuff that makes things better:
1. Remapping AI button - When using GSI ROMs, AI button becomes useless. But to map it back to Google Assistant (or anything actually), follow the instructions from this thread (needs some knowledge about Tasker). https://forum.xda-developers.com/showpost.php?p=78523778&postcount=38 For the Tasker Task, I selected Input > Voice Command. This now assigns the button to open Google Assistant. Does not work well when screen is off though, but its just easy to unlock.
2. Google Camera - The main reason why I bought this phone. Google Camera brings out the best in the awesome camera - Use this version https://forum.xda-developers.com/mi-mix-3/themes/gcam-6-manual-focus-long-exposure-t3885610
3. Stereo Speaker Mod - https://forum.xda-developers.com/mi-mix-3/themes/magisk-stereo-speaker-mod-mix-3-t3900580 Makes the phone earpiece into a speaker, increasing overall volume. I personally use version 3 and I'm very happy.
4. Fluid NG - App in Google Play Store to have the same recents/home/back gestures from MIUI 10.
reasonablebasis said:
Disclaimer: I am not a developer (I don't code), but I have been flashing ROMs for many devices over the years. This is more of a practical guide from an end-user perspective in pursuit of finding the best ROM for this magnificent hardware. This is more of a compilation of all the relevant information I found. I'm very open to suggestions/corrections that could improve this
I haven't seen a proper guide to flash GSI ROMs for Mi Mix 3, thus I decided to share what I know that works. I put a brief explanation for each step below.
1. Unlock Bootloader - If you haven't done so yet, I recommend following the instructions in https://www.reddit.com/r/Xiaomi/wiki/bootloader
2. Install TWRP
a) I recommend to use the official TWRP from this link https://twrp.me/xiaomi/xiaomimix3.html or refer to the forum https://forum.xda-developers.com/mi-mix-3/development/recovery-unofficial-twrp-recovery-t3901261.
b) To install TWRP, I recommend to follow the instructions from Xiaomi.eu. For those not familiar, the "twrp.img" in the code should be the full path of the file. Something like "D:\folder\twrp.img"
c) If you have an older version of TWRP, I suggest to update it to the official.
3. Install Xiaomi.eu - Start from this step in case of bootloops or issues (especially caused by Magisk modules by my experience)
a) This is what I do instead of the 'flash vendor.img from Chinese Dev' prerequisite mentioned in other threads. This is an easier step (just one flash in TWRP) and a better fallback (a working ROM) in case things go wrong. I have had no issues (fingerprint, calls, etc..) with this and I've done this thrice.
b) Download the latest MIUIv10.2 Stable for MIMix3 from the link https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-stable-release.47170/.
c) Wipe > Format Data (prevents problems, and removes encryption if you had it). Also do Factory Reset (idk, just to be sure).
d) Copy xiaomi.eu ROM to internal storage, then Install > Flash. No need to boot/restart, proceed to the next step.
4. Install GSI ROM - wth is GSI? https://github.com/phhusson/treble_experimentations/wiki/Frequently-asked-questions-(FAQ)
a) We can actually install any GSI in https://forum.xda-developers.com/project-treble/trebleenabled-device-development but there is an issue in installing Google Apps (Open GApps) as many people mentioned in https://forum.xda-developers.com/mi-mix-3/development/9-0-resurrection-remix-v7-0-t3891975 and as confirmed by the official TWRP thread https://forum.xda-developers.com/mi...p-recovery-t3901261/post79035909#post79035909
b) Given the above, the only feasible options are GSI ROMs with built-in GApps and the only 2 I found are PixelExperience GSI and ArrowOS GSI. As GApps is integrated in the system.img, no need to flash Open GApps thus no issues. Having tried both, I personally recommend ArrowOS due to the performance and additional customization options.
c) Download the arm64 AB version (ArrowOS as an example) https://forum.xda-developers.com/pr...abled-device-development/gsi-arrowos-t3835111
d) Copy the resulting system.img to internal storage (extract if its a .zip), in TWRP click Install > Install Images > select system.img of ArrowOS > select System partition. You can now boot, or follow next step to root with Magisk.
5. Install Magisk
a) The Magisk version that passes SafetyNet is the builds from ianmacd https://github.com/ianmacd/MagiskBuilds look for v18.2 (newer versions might work but I haven't tried them yet). You can still use the official Magisk Manager and the ianmacd version will be recognized. Just change the update channel in Magisk to https://goo.gl/yZpnrf. Credits to this thread https://forum.xda-developers.com/mi-mix-3/how-to/root-magisk-18-2-mix-3-t3905754
b) After flashing Magisk, boot, install Magisk Manager, then download and install the module "SafetyPatch". SafetyNet check will now be success.
c) Even though SafetyNet is passed, some banking apps still are not working. Hopefully someone can share a solution (probably MagiskHide Props Config, or canary builds?) to make banking apps work.
Final Thoughts
ArrowOS GSI seems to be stable enough and I'm using it as my daily driver now. I am so much happier compared to when using MIUI Global ROM. I really like the performance (very fluid), battery life (a lot better than MIUI Global), customizations (like traffic indicator, status bar stuff), unli Google Photos, and everything that makes AOSP/stock android awesome. No more bloatware, annoying non-dismissable notifications, and horrible auto brightness from MIUI.
The only real issue I encountered so far is the bluetooth audio/music issue, but this seems to be a common problem in GSI ROMs. Bluetooth calls work though. There is no app to handle the slider (but I don't care. lol). Lastly, the AI button becomes useless, but see below for the fix.
Optional stuff that makes things better:
1. Remapping AI button - When using GSI ROMs, AI button becomes useless. But to map it back to Google Assistant (or anything actually), follow the instructions from this thread (needs some knowledge about Tasker). https://forum.xda-developers.com/showpost.php?p=78523778&postcount=38 For the Tasker Task, I selected Input > Voice Command. This now assigns the button to open Google Assistant. Does not work well when screen is off though, but its just easy to unlock.
2. Google Camera - The main reason why I bought this phone. Google Camera brings out the best in the awesome camera - Use this version https://forum.xda-developers.com/mi-mix-3/themes/gcam-6-manual-focus-long-exposure-t3885610
3. Stereo Speaker Mod - https://forum.xda-developers.com/mi-mix-3/themes/magisk-stereo-speaker-mod-mix-3-t3900580 Makes the phone earpiece into a speaker, increasing overall volume. I personally use version 3 and I'm very happy.
Click to expand...
Click to collapse
Not all GSI work ontop of Xiaomi Eu
Flashing magisk and safety net patch also doesn't guarantee safety net passing on a few of the GSI as well. CTS will fail for obvious reasons
Mackay53 said:
Not all GSI work ontop of Xiaomi Eu
Flashing magisk and safety net patch also doesn't guarantee safety net passing on a few of the GSI as well.
Click to expand...
Click to collapse
Noted. Which GSI have you tried that do not work on top of Xiaomi.EU? I tried RR, PixelExperience, and ArrowOS and all work well. I can put this as a disclaimer.
Any solution for the Magisk safetynet, or is this really the best solution available so far?
reasonablebasis said:
Noted. Which GSI have you tried that do not work on top of Xiaomi.EU? I tried RR, PixelExperience, and ArrowOS and all work well. I can put this as a disclaimer.
Any solution for the Magisk safetynet, or is this really the best solution available so far?
Click to expand...
Click to collapse
Can't remember as it was a while ago, possibly OctoOS and descendant and 1 other, omni ROM maybe.
For the ones that come with SU you need to navigate to the xbin folder in the system and remove the SU file.
Then cause Xiaomi EU uses the wrong fingerprint props you need to use the magisk props config module and manually type in the mix 3 fingerprint (unless the module has been updated to include mix 3).
If you installed the Chinese dev vendor then the props will be there ready to be used so the magisk module can make them active without manually typing it. This will sort out both safety net fails.
If this was sometime ago, the features in China Dev would have already been integrated in the latest China Stable, which is the basis of Xiaomi.EU.
Maybe you can test it now to see if Xiaomi.EU really works. I tried it with RR, PixelExperience, and ArrowOS and I'm facing no issues. So flashing China Dev vendor.img seems to be an outdated instruction.
reasonablebasis said:
Noted. Which GSI have you tried that do not work on top of Xiaomi.EU? I tried RR, PixelExperience, and ArrowOS and all work well. I can put this as a disclaimer.
Any solution for the Magisk safetynet, or is this really the best solution available so far?
Click to expand...
Click to collapse
Pixel dust gsi too....
reasonablebasis said:
If this was sometime ago, the features in China Dev would have already been integrated in the latest China Stable, which is the basis of Xiaomi.EU.
Maybe you can test it now to see if Xiaomi.EU really works. I tried it with RR, PixelExperience, and ArrowOS and I'm facing no issues. So flashing China Dev vendor.img seems to be an outdated instruction.
Click to expand...
Click to collapse
The 3 GSI you mention is a very small sample of the GSI available so you can't say it's an outdated instruction. Have you tested them all like I have? No you haven't.
Xiaomi EU does not use the correct mix3 vendor.img, that's what causes the issue.
Mackay53 said:
The 3 GSI you mention is a very small sample of the GSI available so you can't say it's an outdated instruction. Have you tested them all like I have? No you haven't.
Xiaomi EU does not use the correct mix3 vendor.img, that's what causes the issue.
Click to expand...
Click to collapse
Ok, I'll put a disclaimer that this only works on RR, PixelExperience, and ArrowOS. Anyway, I'm sure that the latest stable Xiaomi.EU vendor works without any issues with ArrowOS, else why would I be using it as my daily driver.
[deleted, duplicate post]
Someone know if there is a GSI with gapps and that don't have issue with bluetooth?
SafetyPatch module
reasonablebasis said:
5. Install Magisk
a) The Magisk version that passes SafetyNet is the builds from ianmacd https://github.com/ianmacd/MagiskBuilds look for v18.2 (newer versions might work but I haven't tried them yet). You can still use the official Magisk Manager and the ianmacd version will be recognized. Just change the update channel in Magisk to https://goo.gl/yZpnrf. Credits to this thread https://forum.xda-developers.com/mi-...mix-3-t3905754
b) After flashing Magisk, boot, install Magisk Manager, then download and install the module "SafetyPatch". SafetyNet check will now be success.
c) Even though SafetyNet is passed, some banking apps still are not working. Hopefully someone can share a solution (probably MagiskHide Props Config, or canary builds?) to make banking apps work.
Click to expand...
Click to collapse
Mate, I can't find this module via Magisk Manager... Please help!
jonny908 said:
Mate, I can't find this module via Magisk Manager... Please help!
Click to expand...
Click to collapse
You sure? Try searching for "SafetyPatch"
reasonablebasis said:
You sure? Try searching for "SafetyPatch"
Click to expand...
Click to collapse
Strange....
reasonablebasis said:
You sure? Try searching for "SafetyPatch"
Click to expand...
Click to collapse
Issue resolved. I had to use Magisk Manager 7.x.x, I was trying using 6.0.
Installed, MagiskHide working as it should now.
---------- Post added at 18:23 ---------- Previous post was at 18:15 ----------
@reasonablebasis
Sorry for third post in a row., but.... I have no issues with bluetooth audio/music that everyone is talking about. Listening to Spotify on my QCY bluetooth earphones now.....
jonny908 said:
Issue resolved. I had to use Magisk Manager 7.x.x, I was trying using 6.0.
Installed, MagiskHide working as it should now.
---------- Post added at 18:23 ---------- Previous post was at 18:15 ----------
@reasonablebasis
Sorry for third post in a row., but.... I have no issues with bluetooth audio/music that everyone is talking about. Listening to Spotify on my QCY bluetooth earphones now.....
Click to expand...
Click to collapse
On Arrow ?
Wahoux said:
On Arrow ?
Click to expand...
Click to collapse
Yep! Not sure how to prove that though xD
Android Q GSI !
https://www.xda-developers.com/android-q-gsi-project-treble/
Wahoux said:
Android Q GSI !
https://www.xda-developers.com/android-q-gsi-project-treble/
Click to expand...
Click to collapse
Dare to try? xD
jonny908 said:
Dare to try? xD
Click to expand...
Click to collapse
ahah no xD
Right now i'm about to flash Arrow, I hope I won't have bluetooth issue . On the non-GSI Pixel Experience, some reported issue with bluetooth whereas it was working fine for me... so let's see :fingers-crossed:
jonny908 said:
Mate, I can't find this module via Magisk Manager... Please help!
Click to expand...
Click to collapse
jonny908 said:
Issue resolved. I had to use Magisk Manager 7.x.x, I was trying using 6.0.
Installed, MagiskHide working as it should now.
---------- Post added at 18:23 ---------- Previous post was at 18:15 ----------
@reasonablebasis
Sorry for third post in a row., but.... I have no issues with bluetooth audio/music that everyone is talking about. Listening to Spotify on my QCY bluetooth earphones now.....
Click to expand...
Click to collapse
Wow good for you. You flashed xiaomi.eu prior to GSI right? enumerate the steps you did, so that we we hopefully can replicate your success. Hehe

Question custom rom to galaxy a32 4g?

custom rom to galaxy a32 4g?
nope. although you could try GSI'S or generic system images from this list. dont try to unofficial android 13 by SOOTI. it didnt boot on my A32 4g.
Generic System Image (GSI) list
Notes about tinkering with Android Project Treble. Contribute to phhusson/treble_experimentations development by creating an account on GitHub.
github.com
Oh wait seems like it was removed. i mean after what happened in the thread... anyways gl finding a good gsi for your phone. i would recommend crdroid since it has alot of customizations options or try Arrow os 12.1 (the animations seemed smooth for me)
i hope you already know on how to install these.
Marj1 said:
custom rom to galaxy a32 4g?
Click to expand...
Click to collapse
You can install a GSI.
I'd recommend PixelExperience if you want a Pixel feeling, CrDroid if you want customization or Phh-Experimentations if you just want the base one without custom fonts etc, but there are some issues that i have found out while using these GSI's before i switched to a Redmi note 10S.
1. Neither fingerprint or coping files to PC doesnt work (although there is a workaround which is faster than the normal one: https://forum.xda-developers.com/t/adb-file-explorer-python-application-cross-platform.4360633/)
2. If you use an older version of a GSI, you need to have root by patching boot.img (IT MAY CAUSE THE IMEI TO DISAPPEAR SO MAKE A BACKUP ON IMEI AND MAKE IMEI READ ONLY!)
3. It lags (A12 GSIS only) and also there are some asthethic bugs.
You must repack it through repacksuper.sh (google "repacksuper.sh") and then you can flash it through odin.

my experiences - flashing custom rom Xiaomi Mi Play (lotus)

I tried to flash any custom rom on my device, but I couldn't find any build for mi play. I started to mine on the internet, and I found Project Treble. Generally any device that has at least Android Oreo must support Project Treble, stock android version on mi play is Android 8.1, so it must support this project.
I downloaded an app Treble Info (https://play.google.com/store/apps/details?id=tk.hack5.treblecheck&hl=pl&gl=US). It said that I have to look for an image with device category a for (of course) arm64. Unfortunately the only rom I found then was unofficial build of lineage os 16 (https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/). It was long ago, so there was still no twrp build for mi play (https://forum.xda-developers.com/t/unofficial-twrp-recovery-3-5-2_9-0.4344611/). I was confused about gapps but I managed to install microG. I just installed magisk (by patching boot image), and i installed magisk module microG_installer (https://github.com/nift4/microg_installer_revived).
Week ago I decided to install other rom. I found couple of them. HavocOS, Resurrection Remix, AOSP and CrDroid R MOD. Every of this rom didn't work. Only HavocOS and AOSP showed their boot splashes, but AOSP never booted to actual OS and HavocOS made boot loop.
I think, GSI (project treble) rom on Xiaomi Mi Play must have two things to have even a chance to boot. First thing is version of android - maximum is Android Pie. Second thing is phh. The image must be "Phh-treble" (just look form images with phh in name or description), but this is only my theory.
Finally I decided to flash back lineage os 16 from Andy Yan, but with open gapps (https://opengapps.org). I tried to flash nano, but there was error, that i have to small free space on system partition. Fortunately I successfully flashed pico, but after booting I couldn't even proceed by google device confguration.
So if you want to have custom rom on your Xiaomi MI Play I recommend you to:
Flash Lineage OS 16 from Andy Yan's builds (https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/)
Flash magisk (you can do it from twrp https://forum.xda-developers.com/t/unofficial-twrp-recovery-3-5-2_9-0.4344611/)
Install microG_installer magisk module (https://github.com/nift4/microg_installer_revived)
I hope this post was useful for you
Can you share the link of the other builds please?
RezaUllah__ said:
Can you share the link of the other builds please?
Click to expand...
Click to collapse
Havoc: https://download.havoc-os.com/?dir=arm64-aonly
CrDroid R Mod: https://forum.xda-developers.com/t/unofficial-crdroid-r-mod-crdrom11.4269719/
AOSP: https://forum.xda-developers.com/t/aosp-9-0-2019-08-25-phh-treble.3831915/
Ressurection: https://forum.xda-developers.com/t/resurrection-remix-unofficial-2018-06-28-phh-treble.3767688/
Good blog! I truly love how it is simple on my eyes and the data are well written. I’m wondering how I could be notified when a new post has been made. I have subscribed to your feed which must do the trick! Have a great day!
meta trader 4
IpyZ said:
I tried to flash any custom rom on my device, but I couldn't find any build for mi play. I started to mine on the internet, and I found Project Treble. Generally any device that has at least Android Oreo must support Project Treble, stock android version on mi play is Android 8.1, so it must support this project.
I downloaded an app Treble Info (https://play.google.com/store/apps/details?id=tk.hack5.treblecheck&hl=pl&gl=US). It said that I have to look for an image with device category a for (of course) arm64. Unfortunately the only rom I found then was unofficial build of lineage os 16 (https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/). It was long ago, so there was still no twrp build for mi play (https://forum.xda-developers.com/t/unofficial-twrp-recovery-3-5-2_9-0.4344611/). I was confused about gapps but I managed to install microG. I just installed magisk (by patching boot image), and i installed magisk module microG_installer (https://github.com/nift4/microg_installer_revived).
Week ago I decided to install other rom. I found couple of them. HavocOS, Resurrection Remix, AOSP and CrDroid R MOD. Every of this rom didn't work. Only HavocOS and AOSP showed their boot splashes, but AOSP never booted to actual OS and HavocOS made boot loop.
I think, GSI (project treble) rom on Xiaomi Mi Play must have two things to have even a chance to boot. First thing is version of android - maximum is Android Pie. Second thing is phh. The image must be "Phh-treble" (just look form images with phh in name or description), but this is only my theory.
Finally I decided to flash back lineage os 16 from Andy Yan, but with open gapps (https://opengapps.org). I tried to flash nano, but there was error, that i have to small free space on system partition. Fortunately I successfully flashed pico, but after booting I couldn't even proceed by google device confguration.
So if you want to have custom rom on your Xiaomi MI Play I recommend you to:
Flash Lineage OS 16 from Andy Yan's builds (https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/)
Flash magisk (you can do it from twrp https://forum.xda-developers.com/t/unofficial-twrp-recovery-3-5-2_9-0.4344611/)
Install microG_installer magisk module (https://github.com/nift4/microg_installer_revived)
I hope this post was useful for you
Click to expand...
Click to collapse
The 2nd link is twrp ryt?
RezaUllah__ said:
The 2nd link is twrp ryt?
Click to expand...
Click to collapse
3rd link
It’s nearly impossible to find knowledgeable folks on this topic, however, you appear to be there’s more you are talking about! Thanks
Monoprice 110010
IpyZ said:
I tried to flash any custom rom on my device, but I couldn't find any build for mi play. I started to mine on the internet, and I found Project Treble. Generally any device that has at least Android Oreo must support Project Treble, stock android version on mi play is Android 8.1, so it must support this project.
I downloaded an app Treble Info (https://play.google.com/store/apps/details?id=tk.hack5.treblecheck&hl=pl&gl=US). It said that I have to look for an image with device category a for (of course) arm64. Unfortunately the only rom I found then was unofficial build of lineage os 16 (https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/). It was long ago, so there was still no twrp build for mi play (https://forum.xda-developers.com/t/unofficial-twrp-recovery-3-5-2_9-0.4344611/). I was confused about gapps but I managed to install microG. I just installed magisk (by patching boot image), and i installed magisk module microG_installer (https://github.com/nift4/microg_installer_revived).
Week ago I decided to install other rom. I found couple of them. HavocOS, Resurrection Remix, AOSP and CrDroid R MOD. Every of this rom didn't work. Only HavocOS and AOSP showed their boot splashes, but AOSP never booted to actual OS and HavocOS made boot loop.
I think, GSI (project treble) rom on Xiaomi Mi Play must have two things to have even a chance to boot. First thing is version of android - maximum is Android Pie. Second thing is phh. The image must be "Phh-treble" (just look form images with phh in name or description), but this is only my theory.
Finally I decided to flash back lineage os 16 from Andy Yan, but with open gapps (https://opengapps.org). I tried to flash nano, but there was error, that i have to small free space on system partition. Fortunately I successfully flashed pico, but after booting I couldn't even proceed by google device confguration.
So if you want to have custom rom on your Xiaomi MI Play I recommend you to:
Flash Lineage OS 16 from Andy Yan's builds (https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/)
Flash magisk (you can do it from twrp https://forum.xda-developers.com/t/unofficial-twrp-recovery-3-5-2_9-0.4344611/)
Install microG_installer magisk module (https://github.com/nift4/microg_installer_revived)
I hope this post was useful for you
Click to expand...
Click to collapse
Bro it shows this...why?
IpyZ said:
I tried to flash any custom rom on my device, but I couldn't find any build for mi play. I started to mine on the internet, and I found Project Treble. Generally any device that has at least Android Oreo must support Project Treble, stock android version on mi play is Android 8.1, so it must support this project.
I downloaded an app Treble Info (https://play.google.com/store/apps/details?id=tk.hack5.treblecheck&hl=pl&gl=US). It said that I have to look for an image with device category a for (of course) arm64. Unfortunately the only rom I found then was unofficial build of lineage os 16 (https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/). It was long ago, so there was still no twrp build for mi play (https://forum.xda-developers.com/t/unofficial-twrp-recovery-3-5-2_9-0.4344611/). I was confused about gapps but I managed to install microG. I just installed magisk (by patching boot image), and i installed magisk module microG_installer (https://github.com/nift4/microg_installer_revived).
Week ago I decided to install other rom. I found couple of them. HavocOS, Resurrection Remix, AOSP and CrDroid R MOD. Every of this rom didn't work. Only HavocOS and AOSP showed their boot splashes, but AOSP never booted to actual OS and HavocOS made boot loop.
I think, GSI (project treble) rom on Xiaomi Mi Play must have two things to have even a chance to boot. First thing is version of android - maximum is Android Pie. Second thing is phh. The image must be "Phh-treble" (just look form images with phh in name or description), but this is only my theory.
Finally I decided to flash back lineage os 16 from Andy Yan, but with open gapps (https://opengapps.org). I tried to flash nano, but there was error, that i have to small free space on system partition. Fortunately I successfully flashed pico, but after booting I couldn't even proceed by google device confguration.
So if you want to have custom rom on your Xiaomi MI Play I recommend you to:
Flash Lineage OS 16 from Andy Yan's builds (https://sourceforge.net/projects/andyyan-gsi/files/lineage-16.x/)
Flash magisk (you can do it from twrp https://forum.xda-developers.com/t/unofficial-twrp-recovery-3-5-2_9-0.4344611/)
Install microG_installer magisk module (https://github.com/nift4/microg_installer_revived)
I hope this post was useful for you
Click to expand...
Click to collapse
Ok it I flashed it ...but it shows that I can't wipe data ..shows error
RezaUllah__ said:
Ok it I flashed it ...but it shows that I can't wipe data ..shows error
Click to expand...
Click to collapse
Data is encrypted. You can't just wipe it. Before you enter advanced vipe, theres an option "format data". Enter it, type "yes" (it's just a confirmation) and ur data is formated
If you then run MIUI or flash lineage and run it, it will again encrypt data
IpyZ said:
Data is encrypted. You can't just wipe it. Before you enter advanced vipe, theres an option "format data". Enter it, type "yes" (it's just a confirmation) and ur data is formated
If you then run MIUI or flash lineage and run it, it will again encrypt data
Click to expand...
Click to collapse
So if I just use format data ...I am good to go?
RezaUllah__ said:
So if I just use format data ...I am good to go?
Click to expand...
Click to collapse
Yeah. Format data just reformat partition. It clears every encryption, or any other things that can possibly block you from wiping it.
IpyZ said:
Yeah. Format data just reformat partition. It clears every encryption, or any other things that can possibly block you from wiping it
Click to expand...
Click to collapse
Reformat partition? How do you do that?
RezaUllah__ said:
Reformat partition? How do you do that?
Click to expand...
Click to collapse
I mean, option "format data" is doing it for you
IpyZ said:
I mean, option "format data" is doing it for you
Click to expand...
Click to collapse
Ohhh ok
So I go to wipe , format data , type yes , after that go to install ...then flash the ROM ? Like this ?
RezaUllah__ said:
Ohhh ok
So I go to wipe , format data , type yes , after that go to install ...then flash the ROM ? Like this ?
Click to expand...
Click to collapse
Yeah that should work.
Please remember that all your personal data like photos or documents will be gone so, make sure u made a backup
You produced some decent points there. I looked on the internet with the problem and discovered most individuals go in addition to along with your website.
Internet Plans and Offers
how stable is the rom?
Well, many apps just don't works, because they are thinking that the device is rooted. In some way it's true.
There are some strange behaviours of fingerprint detector.
But overall the ROM is not crushing
I haven't noticed any other bugs or I do not remember them. But that was mine main pain about this rom
alcatel4010x said:
how stable is the rom?
Click to expand...
Click to collapse

Question Get Me Up To Speed (What Apps / Utilities for A12 in 2022?)

While awaiting the arrival of my new OP9 Pro, I plan to root & install a custom rom. I'm currently gathering all the utilities/files needed for flash, and preparing for the install.
I'm coming from a OnePlus 6t [Android 9 / Root / Havoc-OS], and lot has changed in terms of what apps/utilities are used for specific functions.
I have no prior hands-on experience since Android 9. I'm playing catch-up on the latest methods on how to do things, so I'm not going in blind.
In short, I'm trying to get up to speed here on what go-to apps/utilities are mainly used for our devices:
Device: OnePlus 9 Pro LE2125 (Root)​Pending ROM: crDroid v8.9 [Android 12L] OR Nameless ASOP [Android 12L]​
--FULL SYSTEM BACKUP ?--
I previous used TWRP & Titanium Backup (I like the 'freezeframe' style of backups where system can be recovered right where I left off). Its my understanding that TWRP is not supported on A12. It appears a lot of TWRP functions are replaced with MSM Tool / LineageOS Recovery since A12 released.
​What is relevant now for A12?
*I've see a lot of people using 'Swift' & 'Migrate' to back up apps​*I've read EDL Mode + MSM Tool can be used for full system backup -- Cant find a guide on how to do this. I thought MSM Tool is only used to recover bricked devices to factory.​*Is LineageOS Recovery a viable replacement for TWRP?​
--APPS ?--
SD Maid?
Is this still relevant for A12 in 2022? Any alternatives?​​MiXplorer?
Is this still relevant for A12 in 2022? Any alternatives?​
I also have a OP9P on its way to me, and I'm doing research as well.
Thank you for starting it.
Great choices when it comes to the ROMs you selected. Here's my personal list of mods/apps/ROMs
ROM: Nameless AOSP
Mods: Google Sans Plus for system wide Google Sans, AdAway for Ad Blocking, YouTube Vanced, SafetyNet Fix [dicey but usable] , SwiftBackup for backing up and restoring (100% would recommend works perfectly)
Titanium has not been updated in a while. Swift is indeed a great replacement, can recommend.
Lineage recovery works for lineage OS and some ROMs if they explicitly state to use it. Some custom ROMS have their own recovery for A12 (example crDroid and StagOS). Do not use lineage recovery for these custom roms, will risk soft brick.
crDroid is great, recommend their firmware flash tool to flash their required base rom to both A and B partitions (dual boot partitions are a thing now, not sure if it was on A9). However its still under active development and not rock solid stable yet. StagOS is stable on A12. Cant speak about Namless have not tried it.
Also be aware some custom A12 roms require OOS/A11 base for install, while others require OOS/A12 base. Some require payload dumping (see Fastboot stuff further below for payload dump GUI).
NikGapps (micro to full options) for Gapp suite.
Magisk with some key modules such as safetynetfix and magiskhide props config (sideload magisk if you can during custom rom install, easiest method). Can recommend shamiko as well for better denylist. FoxModuleManager app if you want magisk module repos. Debloater for debloating. Deatch are Detach3 for detaching apps. Amaze for file manager.
Adaway is great for adblocking. Vanced for youtube (ReVanced as successor, not sure how long vanced will still work; dev has stopped). Aurorandroid for a decent f-droid replacement. Kernel flasher for kernel switching (blu_spark is a good custom kernel). And LSpeed for system tweaks.
Fastboot Enhanced (payload dumper with GUI) and Fastboot++ (very up to date with latest ADB drivers) for best adb/fastboot environment.
Anecdotally, A11 is better for battery and A12 for performance. You wont miss out on much in A12 vs A11 in most other regards.
Great info! Thanks for the replies!
Definitely helps me out
uses0ap said:
While awaiting the arrival of my new OP9 Pro, I plan to root & install a custom rom. I'm currently gathering all the utilities/files needed for flash, and preparing for the install.
I'm coming from a OnePlus 6t [Android 9 / Root / Havoc-OS], and lot has changed in terms of what apps/utilities are used for specific functions.
I have no prior hands-on experience since Android 9. I'm playing catch-up on the latest methods on how to do things, so I'm not going in blind.
In short, I'm trying to get up to speed here on what go-to apps/utilities are mainly used for our devices:
Device: OnePlus 9 Pro LE2125 (Root)​Pending ROM: crDroid v8.9 [Android 12L] OR Nameless ASOP [Android 12L]​
--FULL SYSTEM BACKUP ?--
I previous used TWRP & Titanium Backup (I like the 'freezeframe' style of backups where system can be recovered right where I left off). Its my understanding that TWRP is not supported on A12. It appears a lot of TWRP functions are replaced with MSM Tool / LineageOS Recovery since A12 released.
​What is relevant now for A12?
*I've see a lot of people using 'Swift' & 'Migrate' to back up apps​*I've read EDL Mode + MSM Tool can be used for full system backup -- Cant find a guide on how to do this. I thought MSM Tool is only used to recover bricked devices to factory.​*Is LineageOS Recovery a viable replacement for TWRP?​
--APPS ?--
SD Maid?
Is this still relevant for A12 in 2022? Any alternatives?​​MiXplorer?
Is this still relevant for A12 in 2022? Any alternatives?​
Click to expand...
Click to collapse
I've had lemonadep for a long time and I've been using nameless since it's been available but I've always been testing other rom's that came out, I can tell you that nameless is very stable along with crdroid (which I don't use because I I don't have a switch to FHD+ when I need more battery)
for backup i use swift backup, and it never failed.
for recovery it is important to use the recommended by the developer, and nothing else.
I wonder how is the effectiveness of SDMaid on a high end cell phone like ours, in aosp, so I don't use it.
MiXplorer is practical and I've been using it for a few years, it's good for accessing the root and for some services on the network
Thank You good info. I was looking for good backup app

How To Guide A Complete Guide to Unlocking and Flashing for the A52s 5G.

Disclaimer​
Your warranty will be void
Some carriers' Terms of Service prohibit device modifications
Modifying will trip Samsung Knox and SafetyNet, so be aware that some apps will cease to work
I AM NOT RESPONSIBLE FOR BRICKED DEVICES, FAILED ATTEMPTS AND OTHER CAUSES OF IMPROPER USAGE OF THIS GUIDE!​Now that we got that out of the way, we can continue.
Unlocking the Bootloader​UNLOCKING THE BOOTLOADER WILL ERASE ALL OF YOUR DATA!​
Go into Settings > About Phone > Software Information
Find Build Number and quickly tap it 7 times. This will enable Developer Options
Find OEM Unlocking and USB Debugging options and enable them
Turn off the phone
Hold Volume Up and Volume Down while connecting your phone to a PC to boot into Download Mode
Read the Warning carefully to understand it and then if you want to continue press Volume Up
On the Unlock Bootloader screen, press and hold the Volume Up button one more time (This is the step that erases all of your data, if you don't want to do it, now is the time to turn back!)
After the automatic reboot, repeat steps 1. - 3. and make sure that OEM Unlocking is greyed out and enabled
Congratulations! You bootloader is now unlocked.
Flashing a Custom Recovery​Credit to @BlackMesa123 for this guide.
Rooting your Phone​
Download the latest version of Magisk on your Computer
Follow the Official Installation Guide from Magisk developers
Flashing a GSI (Generic System Image)​
Choose a GSI from this List
Power Off your phone and connect it to your Computer
Hold Volume Up and Power buttons, after the logo appears, release only the Power button, this will boot you into TWRP
Do a Wipe and transfer the GSI file from you Computer to your Phone
Click Install >Image Flashing, find your transferred GSI file and tap on it.
Toggle the System Image option and flash the file.
After flashing Format Data to be able to boot into your new System.
I know your Camera doesn't work, don't worry check out this Post to get it to work again.
Useful Resources​
A52s bootloader/modem collection repository
OrangeFox Recovery
SafetyNet Fix for Magisk (Zygisk)
Custom ROMs: RayOS (One UI 4.1), NcX (One UI 5.0)
Mesa's Custom Kernel
Credit to @BlackMesa123 @Ryzen5950XT @ShaDisNX255 for the additional resources.
That's it! Thank you for following the guide and enjoy your unlocked Samsung.
This is very helpful thanks
Thank you for the guide. Here's some additional resources/changes that can be added in the post:
- A52s bootloader/modem collection repository
- OrangeFox Custom Recovery, same as TWRP but with a different UI
- SafetyNet and (some) Knox features can still work with the correct adjustments. See the SafetyNet fix for Magisk (Zygisk) or custom ROM's such as RayOS (One UI 4.1), NcX (One UI 5.0)
- Mesa's Custom Kernel, greatly improves device's performance
Hoping to see the list enhanced soon.
BlackMesa123 said:
Thank you for the guide. Here's some additional resources/changes that can be added in the post:
- A52s bootloader/modem collection repository
- OrangeFox Custom Recovery, same as TWRP but with a different UI
- SafetyNet and (some) Knox features can still work with the correct adjustments. See the SafetyNet fix for Magisk (Zygisk) or custom ROM's such as RayOS (One UI 4.1), NcX (One UI 5.0)
- Mesa's Custom Kernel, greatly improves device's performance
Hoping to see the list enhanced soon.
Click to expand...
Click to collapse
Thank you for the links, thread is now updated.
Quick question, with MCK, should I wipe everything before/after flashing and will it work with PE+ GSI?
kzyx said:
Thank you for the links, thread is now updated.
Quick question, with MCK, should I wipe everything before/after flashing and will it work with PE+ GSI?
Click to expand...
Click to collapse
You shouldn’t wipe anything when flashing the kernel. If the stock kernel works fine, I don’t see why mine shouldn’t
Everything is working perfectly, thanks for the guide. I installed the PixelExperience GSI but for some reason Fingerprint sensor is not working. The process is stuck on "Touch the sensor" and the sensor is not lighting up. Yes, I set the color of fingerprint sensor to White (and even tried all other colors).
I even have the following options checked
- Enable Extra Sensor
- Enable workaround for broken fingerprint sensor
- Enable workaround for white-ish screen
Any help will be appreciated, thanks.
Mian-786 said:
Everything is working perfectly, thanks for the guide. I installed the PixelExperience GSI but for some reason Fingerprint sensor is not working. The process is stuck on "Touch the sensor" and the sensor is not lighting up. Yes, I set the color of fingerprint sensor to White (and even tried all other colors).
I even have the following options checked
- Enable Extra Sensor
- Enable workaround for broken fingerprint sensor
- Enable workaround for white-ish screen
Any help will be appreciated, thanks.
Click to expand...
Click to collapse
I don't know what could be the issue, maybe try to google or try disabling and enabling the fingerprint lock again.
I have tried few GSI Roms. Here is my summary:
Android 13
- AOSP, Android 13, No image with GAPPs pre-installed and cannot seem to install it. Tried NikGAPPs, and LiteGAPPs, both didn't work
- Google GSI, Android 13, same issue
- Pixel Experience, Android 13, GAPPs pre-installed but Fingerprint sensor won't get detected.
Android 12
- AOSP, Android 12, GAPPs pre-installed, Fingerprint sensor detected (changing color to white). Will stick to it unless there is an issue detected.
Mian-786 said:
I have tried few GSI Roms. Here is my summary:
Android 13
- AOSP, Android 13, No image with GAPPs pre-installed and cannot seem to install it. Tried NikGAPPs, and LiteGAPPs, both didn't work
- Google GSI, Android 13, same issue
- Pixel Experience, Android 13, GAPPs pre-installed but Fingerprint sensor won't get detected.
Android 12
- AOSP, Android 12, GAPPs pre-installed, Fingerprint sensor detected (changing color to white). Will stick to it unless there is an issue detected.
Click to expand...
Click to collapse
Thanks for the feedback, have you tried any ROMs instead of GSIs?
You have links for them in this thread.
kzyx said:
Thanks for the feedback, have you tried any ROMs instead of GSIs?
You have links for them in this thread.
Click to expand...
Click to collapse
Nope, I tried to find a good custom rom for A52s but couldn't find any.
What about volte and hotspot on GSI pixel experience 13?
Mian-786 said:
I have tried few GSI Roms. Here is my summary:
Android 13
- AOSP, Android 13, No image with GAPPs pre-installed and cannot seem to install it. Tried NikGAPPs, and LiteGAPPs, both didn't work
- Google GSI, Android 13, same issue
- Pixel Experience, Android 13, GAPPs pre-installed but Fingerprint sensor won't get detected.
Android 12
- AOSP, Android 12, GAPPs pre-installed, Fingerprint sensor detected (changing color to white). Will stick to it unless there is an issue detected.
Click to expand...
Click to collapse
Thanks for your summary,
Is there any experience with MicroG on this device with AOSP 13?
7slaper said:
Thanks for your summary,
I'm on AOSP 13 now, but perhabs it's better to go back to 12. I'm very interested in the AOSP with the GAPPs pre-installed. Could you share a link to the file?
Click to expand...
Click to collapse
I got the image from AOSP under the official Android 12/12L section. You can find release here. The exact image I got is the system-squeak-arm64-ab-vndklite-gapps-secure.img.xz one since the standard gapps one came with an app called "superuser" which I couldn't seem to uninstall (I tried the scripts to remove supersu). This caused my banking apps to not run. That is why I installed the "secure" one and then installed Magisk and added my banking apps to the defylist.
Zhazhael said:
What about volte and hotspot on GSI pixel experience 13?
Click to expand...
Click to collapse
I think VoLTE was available as an option in one of the ROM I tested but I don't remember exactly. Currently AOSP 12 doesn't support it. Hotspot worked on every ROM just fine.
Mian-786 said:
I got the image from AOSP under the official Android 12/12L section. You can find release here. The exact image I got is the system-squeak-arm64-ab-vndklite-gapps-secure.img.xz one since the standard gapps one came with an app called "superuser" which I couldn't seem to uninstall (I tried the scripts to remove supersu). This caused my banking apps to not run. That is why I installed the "secure" one and then installed Magisk and added my banking apps to the defylist.
Click to expand...
Click to collapse
Hi Mian,
Thanks for your response. When I typed my question I realized that in the end I want to have and de-googled phone. So I changed my question in the direction of MicroG. I didn't expect you to be so quick with answering.
7slaper said:
Hi Mian,
Thanks for your response. When I typed my question I realized that in the end I want to have and de-googled phone. So I changed my question in the direction of MicroG. I didn't expect you to be so quick with answering.
Click to expand...
Click to collapse
I haven't tried MicroG in any of the ROM. I just to have as little Google apps as possible but if you do find a good guide, let me know, I will try to use a de-googled phone.
Thx, all worked.
Mian-786 said:
I haven't tried MicroG in any of the ROM. I just to have as little Google apps as possible but if you do find a good guide, let me know, I will try to use a de-googled phone.
Click to expand...
Click to collapse
I've installed MicroG. But it seems AOSP doen't allaw support system spoofs signature. Play services (GmsCore) is installed but without the spoofed signature it can't do much I guess...
I have been using AOSP Android 12 for the past week or so. Most of the things just plain works but somethings don't. Here is the list of things that are not working so you can decide if the hassle of installing GSI is worth it or not.
- Proximity Sensor is worse than it was in OneUI. Yes, it is a virtual sensor but on OneUI, it worked better. Now, it is worse. More often than not, it turns on the screen during the call. It would have been better if it simply didn't work.
- The viewport of default camera App in the AOSP displays picture in 4:3 but the camera hardware is giving out 16:9, so the viewport was squeezed. After installing GCam everything is good.
- Fingerprint Sensor simply doesn't work in-app like those in banking apps. It works on the lock screen but nowhere else.
- USB Audio Devices don't work. I have a USB-C to A OTG where I used to insert my headphones. On OneUI they used to work but here they don't. Storage devices work.
- 120 Hz felt smoother on OneUI.
Hello everyone
I managed to install LineageOS with working GApps and camera using this guide, so a big thanks to everyone who worked on flashing this phone
If anyone wants to install it, you need to:
Chose a bgN package (I installed this one : https://sourceforge.net/projects/an...UNOFFICIAL-arm64_bgN-vndklite.img.xz/download). It includes the GApps. You won't be able to install GApps after installing a vanilla (bvS / bvN) package. For some reasons, the /system partition is too small.
For unlocking camera and install magisk, just flash this kernel : https://forum.xda-developers.com/t/kernel-12-13-a528b-n-mesas-custom-kernel-r4.4490653/
I also installed magiskhide prop conf module, but I'm not sure it changed anything and the camera fix was probably already in the MCK. You can find it here anyway : https://forum.xda-developers.com/t/...safetynet-prop-edits-and-more-v6-1-2.3789228/

Categories

Resources