yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Gonna push quite a large update. QS Panel light theme has returned with Landscape battery styles, the dialog for custom application selection for HW Keys binding has been fixed, LiveDisplay has also been brought back, and the custom APN file has been checked out to the latest version that LOS uses.

I think this update will definitely address multiple issues and I hope you guys continue supporting us!

Changelog for the latest (05/09/2022) update

Device changes:

==============================

Make fingerprint HIDL fully treble compliant

Remove obsolete eBPF property

Route vendor props correctly

Use correct values for Battery Health

audio: Disable ULL mode

audio: Don't advertise vorbis offloading support

properties: Disable SDM Scaler

properties: Use threaded GLES render engine

rootdir: Remove IO read_ahead_kb tune

------------------------------

ROM changes:

==============================

Add Google Search and Google Location History to location indicator whitelist

Battery: Color coded battery indication for Landscape icons

Don't report existing menu key if it was remapped

Evolver: Add "Enable taskbar" toggle

Evolver: Battery Styles: Introduce Battery Landscape

Evolver: hw keys: Fix custom app selection dialog

HWKeys: Disable haptic on keyguard

HardkeyActionHandler: Adapt to Android 11

Increase Zygote command buffer size to 32k

Introduce LiveDisplay from Lineage

Navbar: Patch navigation bar to emulate hw keys

PixelPropsUtils: Refactor & clean up

Properly update view for reTicker

Provide required permissions for cellbroadcastreceiver

RIL: Fix manual network selection with old modem

Settings: Add toggle for screenshot timestamp EXIF metadata

Settings: Hide settings that don't work when taskbar is enabled

Settings: Swipe gestures: Add show recents option

SystemUI: Add dual-tone light and dark themes for QS

SystemUI: Always refresh power menu on UI mode change

SystemUI: Follow light/dark theme in quick settings

SystemUI: Initialize QS tiles in inactive state

SystemUI: Only apply tuning changes when the fragment is attached

SystemUI: Remove colorSurfaceHeader dependency from framework

SystemUI: Strict lock screen rotation

Telecomm: Provide required permissions for Telephony

ThemedIconsOverlay: Import resources from https://t.me/modulesrepo/3166

base: fix deadlock between activity manager and power manager

fixup! Hardware key: Customization support

fwb: Import SwipeToScreenshot implementation from MIUI

libsysutils: Hide NetlinkListener error in recovery

media: MediaCodec: add RGBA_1010102 and RGBA_F16 format support

overlay: SystemUI: Follow light/dark theme in power menu

overlay: SystemUI: Use default surface colors for power menu buttons

overlay: core: Add chroma to light surface highlight color

prebuilt: apns-conf: Checkout to LOS

vendor: Add back livedisplay permissions

vendor: Don't enforce inclusion of common compatibility matrix

DOWNLOAD
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] clarionero:
Donated, thank you.

Rubén
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Appreciate it, Ruben! I will address issues like back gesture not working properly in future updates.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] XtraWater:
Swipe on the bottom of the screen results in switching apps. I can't find the setting to disable that feature.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
That's default behavior when you use swipe gestures. Switch to button nav or just disable navbar and use hardware keys instead.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Also, I won't be able to make an update within a week due to me having 2 wisdom teeth extracted yesterday. I hope you guys continue to support me as it's pretty expensive too. I'll need to rest about a week to have that side of my mouth heal.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] XtraWater:
To be sure: in the menu accessibility button & gesrures - use button or gesture : button is enabled.

In menu The Evolver - Buttons; on screen navigation bar is disabled.

I'm not sure what I'm missing.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Alright. I'm back. Just a bugfix/hotfix update to iron out more issues/include more fixes and improvements. I hope you're enjoying the weekend.

Changelog for the latest (05/15/2022) update

Device changes:

==============================

Make userspace dlopen vulkan.msm8953 instead of vulkan.adreno

Remove remaining vendor RenderScript implementation

Remove the RenderScript HAL from the vendor manifest

Upstream latest Matcha kernel changes

------------------------------

ROM changes:

==============================

Add more core Google apps to system app whitelist for applock

Add various system packages to indicator exemptions

Call setBrightness when user stops swiping on statusbar

Clean up whitelisted packages in privacy indicator controller

Evolver: Allow to force black qs background in dark theme

Evolver: Remove broken click to partial screenshot feature

Fix bluetooth percentage not showing on battery widget

NavigationBarView: Show floating rotation if 2-button nav mode enabled

PackageManagerService: Protect forced enabled components at runtime

PermissionManager: fix NPE in getIndicatorExemptedPackages

PixelPropsUtils: Spoof some Google apps to raven

PixelPropsUtils: Use Mi 11 Ultra for Tencent Games

QSFooter: Set tuner icon to always be invisible

Settings: Check wifi direct feature for showing preferences

Settings: Remove Google Cell Broadcast Receiver package config

Settings: Remove conflicting color modes array

SystemUI: Don't allow the end user to disable SystemUI Tuner

SystemUI: Fix power menu light/dark theme switching

SystemUI: fix black qqs on keyguard in light theme

SystemUI: migrate statusbar manual brightness to float

SystemUI: unify statusbar manual & auto brightness code

ThemedIcons: Update and add Repainter

Update translations

apn: Grameenphone uses APN 'gpinternet'

config: Copy bootanimation to system/media for pixel devices

core: Disable LiveDisplay display mode by default

fix ProcessCpuTracker.java file sLoadComparator issue

frameworks: Exempt location packages from location indicators

fs_mgr: Allow remounts with Magisk installed

init: Skip interface duplicates if service is an override

libsparse: Add simg2img_static target for host

overlays: Acherus: Use correct path for some icons

telephony: Bring back "Fix loading SIM phonebook redundantly"

telephony: Handle that an operator numeric can be null

DOWNLOAD
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] clarionero:
Thank you for your great work. Donated again.

Rubén
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ayunatsume:
Finally switched to your ROM, joeyhuab. I'm excited to see what you have here. I've seen you here since the days of trying to make the Mi A1 camera HAL work with custom ROMs through Magisk.

Clean-flashed 05/15/2022 through TWRP 3.6.0.0 on both slots A/B. Unencrypted.

Booted up nicely. Went through setup asking for fingerprint, faceunlock, Google Account, etc.

After setup and reinstall of some programs, I rebooted to recovery, reflashed TWRP 3.6.0.0 (apparently replaced by your stock recovery), flashed Magisk 24.3, and finally wiped dalvik, then reboot.

The only three issues I've found is that USB file transfer does not work, fingerprint is missing, and WiFi MAC Address Randomization cannot be disabled. Please advise, details below.

1- USB File Transfer doesn't work regardless of USB cable (they did work on the previous ROM and is quite new). Fiddled with USB configurations through Evolver>Misc and through Developer Options. Even USB debugging is not working. (see attached)

2- Fingerprint is missing somehow. I know fingerprint is working and I was asked for my fingerprint during setup but it is not working in lock screen and not found in Security>Screen lock. (see attached)

3- I can't disable/enable MAC address randomization for a particular WiFi network. There is no option to use the device MAC in the WiFi settings screen. Our network changes the gateway given to a device through DHCP based on a whitelisted MAC address list. (see attached) https://source.android.com/devices/tech/connect/wifi-mac-randomization-behavior

For pros, the ROM is very fast and stable! Very good ROM. GCam (wichaya) working with all lenses. Netflix is showing up in Google Play. Mobile data (Globe 4G/Smart 4G) is stable and switchable. Extra dim brightness option is a nice touch. Evolver options feels complete unlike other ROMs with no notification light, navbar, and hardware button settings. I have no force closes yet aside from the apps I restored through Neo Backup which is understandable.

The only feature I wish it had aside from the issues above is the ability to revert to the older Quick Settings tiles for the pull down notification drawer but I'm getting used to Android 12 :p

Thanks a lot joeyhuab! Sent a small donation your way :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Those issues like fingerprint loss are caused by the recovery you are using. Revert back to TWRP 3.5.2_9 or update to 3.6.1_9 as 3.6.0 caused those problems.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] amyren:
Thanks. Just updated from stock 9.0 to this 12.1 and everything looks great so far.

However, just following the first time install step by step did not work for me.

Installing the twrp zip from recovery failed, probably due to a blocked bootloader.

Then I grew some more gray hairs trying to get ADB/Fastboot to work on my win10 laptop. ADB worked, but whatever I tried I could not proper usb drivers to install to get the device connected in fastboot mode.

In the end I had to resort to a very old laptop I had lying around with linux mint on it, then fastboot worked.

But I could not flash it or boot into twrp directly, first I had to do this from the linux terminal (from the platform-tools directory) :

fastboot oem unlock

This will unlock the bootloader, so now it will accept the flash and boot commands.

Back into fastboot mode, and :

fastboot boot twrp.img

The phone then booted into TWRP and could be flashed.

I did flash the 12.1 rom, but ended in a bootloop to the animated logo after this.

This might have been my fault, I might not have wiped everything properly.

On every reboot since I unlocked the bootloader the display always starts up with a message that it "can't check the device for corruption, please lock the bootloader". So I figured I try to go back to fastboot and lock it. That did not help, it still was in the bootloop. Then after unlocking the bootloader again, it started to boot normally. Probably because when unlocking the bootloader it imidiately starts to erase the phone, so it wipes whatever I might have forgot before flashing.

But now it is all set up and working. I did not reinstall the twrp yet, since it seem to root the phone and I know some of my apps may have problems with that.

I see at the first post under known issues it says "Being encrypted may cause bootloops"

Is this refering to the bootloader being locked?

If not, is it recommended to lock the bootloader now that the rom is installed and working?

Anyway, thanks for the well working rom.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
It is always advised to format data after flashing a custom ROM, that's what the being encrypted part means. Formatting your data partition (including internal storage) rids the partition of any leftovers from stock ROM which will lead to fewer issues. TWRP won't trigger apps that check for root nor will it root your device automatically. Magisk is required for rooting. Having the folder named TWRP in your internal storage can trigger these root checks instead so rename it to something else obscure.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] amyren:
Thanks for your quick reply.

About twrp and root.

At some point in the process of installing this rom, I did try flashing the twrp zip file and I do recall a message showing that the device was rooted. I then checked the twrp installer zip file and I see that there is a file named magiskboot inside the archeive. So now after installing this rom, twrp is gone and then I see no point of reinstalling it.

I can get into TWRP without installing it if I launch it with the command from the linux terminal: fastboot boot twrp.img.

(just did so in order to create a full backup to sdcard in case I mess something up later)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
The message means that if you install the TWRP Installer, it would OVERWRITE the root and REMOVE IT, not keep it. That's why there's a message after installing the TWRP installer, it would "if you would want to recover root, flash Magisk after rebooting to recovery.

I use the ROM as supposed to. Flash the ROM, then TWRP Installer, then reboot to recovery then I flashed Magisk to root. Without TWRP, if your ROM encounters an issue and you're not at home or anywhere with the safety of a USB-C cord and a PC with ADB, then you'd be stuck on a recovery that couldn't save you. I hope you don't get into any bootloop while you're outside.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ayunatsume:
Hi! That did fix the problem of fingerprint and USB! I never thought versions of TWRP could have such an effect. I'm now wondering if missing USB in my Nexus 7 2012 could also have been due to an incompatible version of TWRP.

I ended up using 3.5.0_9 (an older installer I already downloaded based on previous posts of it being suggested).

Using 3.6.1_9 does solve the issues too, but reflashing TWRP (via TWRP or via EvoX stock recovery) after flashing ROM ends up with TWRP booting every time (even when told to boot to system). Never tried fastboot flash recovery though. Took me several system installations to realize TWRP 3.601 is doing this after thinking I might have been doing things wrong. TWRP 3.509 was smooth -- wipe system, install ROM, flash TWRP, switch slot, install magisk, and done :)

In case its useful for others -- To fix, I rebooted to TWRP recovery, flashed my new TWRP version (3.509), reboot recovery, wiped system in both slots, flashed ROM, flashed TWRP 3.509 again, switched slots, flashed Magisk 24.3. Data is not affected but it doesn't hurt to have a backup of your system and data before starting!

Back in the days of CWM, the only problems I got were when using too old of a recovery that the ROM wont proceed to install. Also happened to me I think when trying to install an Android 11 ROM so I always try to install using a later version of TWRP (isn't latest, but close) that I see someone saying they've had success with. Just a small problem at least.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Some other users encountered that as well. I'll take note of it in the main post. But yeah, surprisingly, broken TWRP causes such issues which is weird. Glad you were able to confirm that it got fixed. :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] amyren:
I wonder where to find a setting to disable the swipe from bottom gesture.

I find it rather annoying that chrome and other apps gets minimized when I try to scroll a page.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
It's in Settings > System > Gestures.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] XtraWater:
I disabled it but still it's there. Tried numerous combinations with gesture on / off
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] amyren:
Strange. I do not have any options in there for that, and everything in gestures is turned off except for the quick open camera option.

Unless you have added a new option in todays build, I have not had time to update yet.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Just turn off navbar fully in Evolver > buttons and you'll never see any swipe gestures again.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
I finally updated after a while, and I'm glad I'm on the latest and greatest at the moment. The only thing I've noticed is that the QS Settings background stays Dark/Black no matter what theme you're device is set at, Light or Dark. This didn't use to be the case before. Is this an intended change?

Otherwise, amazing ROM! I wish I could donate but PayPal isn't available from where I am :(
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
It's intended by Google and I no longer have plans to bring back light theme to QS.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] idrsyh:
does it have to be from stock rom android 9 pie to flash this rom? current position in stock rom 8.1 oreo
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Please follow the instructions so that issues are lessened.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] amyren:
Maybe I'm going blind here, not finding the right setting. Navbar was already turned off, still it swipes from bottom.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
If you mean swipe up to recents gesture, that can't be turned off as it is part of the Recents provider within Pixel Launcher. Try changing launchers.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] amyren:
I dont know the name of the gesture, but back to recents could be it.

If I swipe slowly from the bottom it brings up recent apps, but when swiping fast (which I tend to do when scrolling) it will hide the app you're in and bring you to the Home screen.

That is what I dislike the most.

I may try another launcher. I remember using one named galaxy launcher or something, but not sure how to find it. Any suggestions are welcome.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] amyren:
It seems quite persistant. I now tried two different alternative launchers (Nova and Niagara), but that swipe behaviour is still there. I guess I just have to try to get used to it😂
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cspro:
I successfully flashed the ROM using TWRP only one time recovery as I couldn't install TWRP recovery but I'm facing some problem regarding the system sound, video playback and fingerprint so did I flash it in a wrong way or how can I fix this, PS: I'm new to this.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
It's explained in the main post which TWRP version to install to avoid issues (3.5.2_9).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] amyren:
When in Chrome or other apps and tapping at the bottom of the screen, the home screen icons flash to front for a fraction of a second. This is very visible when typing on the onscreen keyboard using the keys at the bottom.

Anyone else experienced this?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cspro:
On trying to boot to TWRP using the following command : fastboot boot "C:\Users\Username\twrp-3.5.2_9-0-tissot.img" that I downloaded from the official TWRP website the phone gets stuck on a black screen til I run adb reboot to reboot system, Any ideas on why is this happening ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
No clue. Haven't experienced this.

Yikes. Are you sure you're on the latest firmware to flash these stuff? Make sure first to be on the latest firmware then flash twrp. For further inquiries, join the telegram group. Everyone will assist you there. You're having too much trouble that shouldn't be happening if you followed the instructions correctly.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
I've run into a small bug, not critical or anything, but a bit annoying sometimes.

Using full screen gestures, swiping up to go home registers and the phone vibrates, but nothing happens. The system stays in the app. I have to do it at least 3 times (each time I feel the vibration) until it twitches a bit and I go into the recents app screen or sometimes the home screen.

I don't know if this is either a launcher problem a ROM problem, but I haven't had this issue on an older version of this ROM.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ayunatsume:
Your bootloader is unlocked right? If unsure, flash to latest stock Android 9 using MiFlash. Then enable ADB and unlock bootloader. Reboot to confirm. Then use fastboot to boot to TWRP 3.529 and flash TWRP 3.529. Then reboot to recovery (TWRP). Wipe system, data, dalvik. Flash ROM zip. Change slots so we can Flash both slots and be sure. Flash ROM zip again. Boot to system.

I can't remember how to make sure data is decrypted though.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Spontaneous Evaluation:
I can't find any camera app. There is a com.google.android.GoogleCamera package installed with the app name of Google Camera Dummy. What's your suggestion on this?

Can't play video when trying to play any video from photos or any other app. I also experienced this in pixel experience plus 12 rom. Then I tried pixel experience 12 rom, that was fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ayunatsume:
Try using Gcam by wichaya. I'm using version 1.5 based on Gcam 8.1.101. You have to manually set the camera IDs for auxiliary -- back main 0, back wide 2, front main 1.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] deepesh_p:
Hi everyone,

First of all thanks to @joeyhuab for keeping this device not just alive, but thriving.

I'm trying to install a custom ROM after a very long time and need some assistance. I've read all the post so far and have a few queries:

1) Is it important to flash this ROM on both slots? The original post doesn't mention it but a few responses over here do. If yes, how to change slots?

2) Are there any special care/steps to be taken if you're going from a stock firmware (Android 9, no root, but bootloader unlocked) directly to the latest May update of EvoX 12.1? I remember when I first considered going from stock 9.0 to an Android 10 custom ROM, there were some complications around 2 different kinds of fingerprint hardware (Goodix and the other one I can't remember). Eventually, I decided not to upgrade back then. Are these variables still important while considering this ROM or are things simpler now?

3) I read some older posts about GPS performance being sub-par. Are things better now in the May 2022 update?

4) This is my primary device and use my banking apps in it. How to maintain safety net integrity after installing a custom ROM? Btw, I don't need root.

5) Which gcam mod does the developer recommend for this particular ROM? I see some mentions of Urnyx05 and Wichaya?

Look forward to responses from this thriving community. Thanks & regards :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
1. No.

2. No. Just flash last firmware for tissot if not sure.

3. Yes.

4. Safetynet passes by default.

5. Check previous posts or ask in the telegram group.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] deepesh_p:
Hey, thanks for the prompt reply. Just took a backup of my data and started the process. However, I'm getting a 'Failed to mount /vendor (invalid argument)' inside twrp.

Here are the steps I followed:

1) Unlock bootloader from fastboot (this wiped my device and showed 'Unlocked' and then I saw a 'Encrypting your device' screen and then the initial setup)

2) Flash twrp 3.5.2_9

3) Wipe data/cache/system (this is where I'm getting the above error)

What am doing wrong?

Edit: Wanted to also ask how does one 'make sure recovery persists'?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
That partition error isn't important at all and you can ignore it. Recovery persists after you flash twrp installer zip after the ROM each time after an update.