yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] andraslate:
GCam: Switch Hal 1 to Hal 3 in your settings or use the Hal switcher quick settings ( go to edit mode and look for a camera icon )

Face unlock: dev asked on telegram and majority of the ppl didn't wanted face unlock to be implemented in the rom. Also its not safe, that's why it was also removed on stock rom with Android 10 update.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] lacia-chan:
Its not just this its also illegal because it uses the motorola implementation and the custom roms which have this (PE AOSPA crDROID etc) all don't have the proper licenses to use this software the original repo's got dmca'd by motorola because of this and because of the usage of the megvii libs iirc hence why posp dropped it a while ago and other roms just privated the repo and aospa went even further to change the name altho they left bits and pieces of motorola's code.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
Gcam: Yes, I viewed this setting. That's all? Simply.

FaceUnlock: Really, not interested if not safe

I think I need some apps from the Play Store. Alternatives on f-droid, there are a couple (ex. Yalp, Aurora etc). I refer to banking apps. Is it safe to download them from unofficial stores?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
So, F-Droid is very safe and reputable. All apps need to be open source, are reviewed and built by the f-droid team. Banking apps won't be on F-Droid though as they probably are closed source. For those or any other apps I recommend using the Aurora store. It is an alternative client to the Play Store, so you are actually downloading the same apk as you would from the Play Store. Therefore, I would consider it safe to download banking apps from there. I would not recommend downloading them from sites like apk mirror or similar. Those are generally fine, but not as controlled and therefore I would not download critical apps there.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
I agree, I prefer a reliable store to download apps from. I didn't understand how to download microG. If it use Google services, I still don't prefer it. On f-droid there is gsm-core but I have not deepened. I used Yalp in the past but it was having trouble updating apps (on my good old Motorola with Lineage smartphone).

I can try Aurora. I see there are some anti-features. Ditto in NewPipe (alternative to YouTube) or is Vanced better? Thanks so much for the support. Any suggestion regarding the apps to have absolutely on Mi A2 Lite, is welcome.

I love that rom, crDroid :good:
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
I don't think you can use banking apps without google services though. Look back several posts (or maybe in another thread?) where I posted about installing microG as magisk module, it's really simple. NewPipe I've used for a few years now to listen to music and it's excellent, the developers are very prompt with updates. Aurora is good too and constantly updated.

Check out also on f-droid Shelter which provides a "work profile" (separate storage, contacts, everything).
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] monojp:
Hi, I'm very happy with the ROM but there's one thing I'm curious about: are there known problems with echo cancellation? Not only in this rom but in general with our custom kernels or so?

I'm asking because I have one app that regularly turns down my mic completely if both parties use the speaker and my wife has another one where she has feedbacks.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
There are. I've had echo issues mostly with Signal on all roms. With crDroid the echo seems to be worse, usually Whatsapp was fine but with this rom I have echo with everyone I talk to. Actually they complain about it, my audio is fine though, basically the mic picks up the other person's voice from the speaker and sends it back with a delay.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] monojp:
Yeah exactly. I think we have echo cancelation problems on our devices. I wonder how we can debug that and what the culprit is. Unfortunately I don't know enough about that but I would very much like to help out.

Maybe it is related somehow to binary blobs / drivers but I'm just guessing here.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
Interesting, I have not encountered this issue yet. I have had a few calls with my gf that uses daisy with my crdroid as well and I have not noticed it. But I will check if there is a way to influense this behaviour on a device basis.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] monojp:
I've not tested it yet with a "normal" voice call but I have it with the XMPP app Conversations and JitsiMeet (which doesn't need an account) when doing a video call in speaker mode. My microphone seems to be getting quieter every second and the other person cannot hear me anymore. Apparently the noice cancellation is too sensitive or something like that. Fix: Use headphones. It's similar to what people are describing in https://xiaomi.eu/community/threads/redmi-3pro-microphone-problem-in-calls.36509/ and https://xiaomi.eu/community/threads/microphone-problem.54977/

I tried to play around with resetprop and magisk and set "fluence" (SnapDragon echo/noice cancellation) properties to true or off but that didn't change a thing. I'm not sure if there are additional steps needed though. At least I have a good test case and can reproduce it and play around. When searching for similar problems this seems to be a kind of common problem for different custom roms on different devices and they always have different fixes. Documentation on those properties is also really bad though.. I'll try to compare them with what stock has.

Update: Had the same problem in POSP as well.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
Hey guys,

I have not found any evident fixes for the noice cancelling issues yet, but September security patch is finally here and a new build was just uploaded.

Note that OTA is broken for this one due to some regex checking issue in the OTA app (has to do with v 6.10 being seen as older than 6.9 because 1<9). The crdroid devs are aware of this and it should be already fixed for upcoming builds, but as the patch can't be applied retroactively, you will need to flash this update via TWRP.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
Yes, I can. There is Vanced (Manager) for Youtube, it includes microG but I don't want Google on my phone.

Aurora yet installed

And the procedure is? We need to flash everything except SD and Internal Storage?

My phone is not recognised by the PC and it is not possible to view memory or folders :rolleyes:

Thanks
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
Download Rom to phone from sourceforge (see op), put it in storage, reboot to twrp, flash rom and twrp installer, change slot, reboot to recovery and flash gapps (if used) and magisk (if used) then reboot to system.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
I know, I read the guide on first page but my question are as described on previous message. With the default browser, it is not possible to download the rom in zip (it's a bin file); I installed Bromite and I downloading correctly...

Is it suggested to do a dirty flash or a Wipe-Format Data?

Yes, when I connect the Xiaomi to the PC, it is not detected. Weird!

Thanks dev.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
The new version 6.10 does not overwrite the previous. I followed the dirty flash guide, i.e. installed by TWRP, but 6.9 remain the version running on phone.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
For me was fine.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
What procedure you have follow, step by step?!

Thanks for the answer
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
Flash the rom

Flash TWRP

Change slot

Reboot recovery

flash gapps

Flash Magisk.

Reboot.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
This, without Gapps.

From Slot B to Slot A... It doesn't matter, I think.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
Always change slot, no matter which one is active.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] SmokanE:
I think I found a bug: When you are connected to bluetooth headset, phone not ringing when you're called and does not ring in the headset either. Another is with proximity sensor, somtimes work when I am in a call, somtimes not. I tested it with an app, and it works perfect.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Hi all, i'm noting some issues on this ROM

1- I cannot disable the first SIM Card

2- Battery life is not good. I 'm not able to end my day

Are you experiencing the same issues also on the latest release? Thanks
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
For me battery last like 2 or 3 days and like 6 or 8 hours of screen .
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] andelf2:
Do you have sim active?

(I have performed high battery duration, but no sim, just wifi)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
Yes, i use sim card.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
Ok, can you please test something: Does it ring if you turn down the call ringer volume all the way. I know this sounds counterintuitive, but I've had a guy with the same issue on telegram and he found it working afterwards. This clearly isn't a fix, but it would help me narrowing down the issue to see this confirmed.

Battery live in my experience is more like described by the post below. Can you check for which apps drain a lot of battery, either in android settings or using some external tool?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Thanks for the answer.

I' ll try to monitor battery using any external monitoring app.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] SmokanE:
Unfortunately I can't test because I changed the rom. I have to hear when the phone rings, that I use it a lot with a bluetooth headset.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
It rings indeed in the headphones! Just tested it
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] inz.mamon:
Prox sensor behaviour

Same here. The more, sometimes it makes impossible to answer the call. Phone rings in my pocket, when taken out the screen is still black. Swiping down shows only notification to left from notch. Swiping again shows two more options: Reject and Answer. When Answer touched - it asks for fp to unlock. Then, when unlecked screen is still blank but the notification. Swiping down again shows Answer and Reject, but usually calling is already done.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
Sounds familiar, I used to have this behavior on AOSiP Pizza. Try turning on Pocket detection, see if that helps, it does for me (though it shouldn't be related).
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
I was wrong, the black screen when receiving a call persists!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
Is not way more confortable answering a call with the volume keys than swiping the screen?.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] epcesp:
I installed this rom and almost everything works, thanks [MENTION=8661641]opal06[/MENTION] !

I have only one problem: I can't disable the second sim, if I tap on the slider to disable the sim nothing happens (the same happens with the first sim)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] lucasgta95:
how is this rom compared to aosip pizza?

what kernel works better with this rom?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] epcesp:
Hi [MENTION=8661641]opal06[/MENTION] , this is the logcat related to that problem:

10-07 20:47:55.930 2333 2333 E PhoneInterfaceManager: 69 failure. Not updating modem status.com.android.internal.telephony.CommandException: REQUEST_NOT_SUPPORTED
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Galunid:
Disregard the rest, it's an issue with Android 10 update... it works alright on stock 8.1, but it's broken on stock 10.0

Is there any way to fix this rom being too loud on headphones? I flashed it on top of v11.0.04, but the headphones are quite a bit louder than on stock. I tried to turn them down in SmartPack, and it works on the right headphone, but not the left, the left one has "invalid range". Any idea what could cause this/how to fix it?

Edit:

Some more information:

At first /sys/kernel/sound_control/headphone_gain looks like this:

-17 -17

After playing and stopping music a few times/turning volume up/down it turns into this

-2147483638 -17

Logcat:

10-08 03:46:38.273 1990 2034 D MediaSessionService: dispatchVolumeKeyEvent, pkg=com.android.launcher3, opPkg=com.android.launcher3, pid=3105, uid=10183, asSystem=true, event=KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_VOLUME_UP, scanCode=115, metaState=0, flags=0x8, repeatCount=0, eventTime=1534050, downTime=1534050, deviceId=8, source=0x101, displayId=0 }, stream=-2147483648, musicOnly=false
10-08 03:46:38.273 1990 2034 D MediaSessionService: Adjusting null by 1. flags=4113, suggestedStream=-2147483648, preferSuggestedStream=false
10-08 03:46:38.284 2906 3104 I vol.Events: writeEvent level_changed STREAM_MUSIC 6
10-08 03:46:38.285 2906 3104 I vol.Events: writeEvent key STREAM_MUSIC 6
10-08 03:46:38.289 1990 2034 D MediaSessionService: dispatchVolumeKeyEvent, pkg=com.android.launcher3, opPkg=com.android.launcher3, pid=3105, uid=10183, asSystem=true, event=KeyEvent { action=ACTION_UP, keyCode=KEYCODE_VOLUME_UP, scanCode=115, metaState=0, flags=0x8, repeatCount=0, eventTime=1534216, downTime=1534050, deviceId=8, source=0x101, displayId=0 }, stream=-2147483648, musicOnly=false
10-08 03:46:38.290 1990 2034 D MediaSessionService: Adjusting null by 0. flags=4116, suggestedStream=-2147483648, preferSuggestedStream=false
10-08 03:46:38.293 2906 2906 I vol.Events: writeEvent show_dialog volume_changed keyguard=false
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
So, I flashed the latest build and it works great except the black call screen issue which I observed with other roms as well.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Hi guys,

to update this ROM, after flashing ROM, Gapps, Magisk following the update guide, i should reflash also disforsenc_daisy__zero.zip and others mod i flashed? Regards
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
I always flash encryption disabler after twrp, just in case, but i think is not needed.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
I am having a weird bug, some apps does not open , just flashed when i try, i record a video and attached a logcat.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
hi guys, i would share with you my update process.

1- Reboot recovery

2- Flash Crdroid update

3- Flash twrp

3- reboot in recovery changing slot to A partition... (my active slot was B)...

4- Flash TWRP, gapps, magisk

5- reboot system

My system is unable to boot (Unable to find OS installed)

I reboot again in twrp, changed slot

After reboot system i'm stuck on crdroid loader...

rebooted again in twrp... flashed magisk, gapps .... rebooted again in system.

My system boot successfully with latest crdroid . i have gapps, magisk.... but i lost all permissions app.

gmail is unable to launch.

I think i broke A/B partitions.

I'm going to flash again from stock d version.

Did I do something wrong ?

Thanks guys
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
After so many tutorials on this...

Flash rom, twrp, change slots reboot to recovery, flash whatever. No need to flash twrp twice. Better yet, reboot to recovery and flash everything else after you set up the rom. TWRP is valid on both slots once you flash it.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
After changed slot, i pressed reboot button , TWRP showed me "No OS installed...". Maybe that is here the problem.

I rebooted anyway without success.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
Just disregard that, TWRP is wrong about that. I suggest you start from zero, flash stock, reboot to it and set it up, reboot to bootloader, boot to twrp, flash force encryption disabler, format data, flash crDroid, twrp, change slot, reboot to twrp to make sure that it works and then finally reboot to OS. That's how I do it and it works.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Yes. At the end i reflashed all again.

When new version will be released , i 'll try again the update process. I hope it will work.

I cannot reflash all every time new release coming out .

Thanks celrau.

Regards
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] albertalbert1968:
Great job friend. Found two jambs. Broadcast to TV and PC does not see the device, although it can be seen perfectly on TV
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
On todays new build, fingerprint does not work.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] albertalbert1968:
The previous persist section may have crashed again
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] Txatxiquesi:
Also camera does not work.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
Yes, today's build is quite buggy. The issue is down to a common error which was indirectly caused by a change in the source that I did not account for. Anyway, the issue is already fixed on a quick testbuild, but to prevent I wanted to do a clean build, which is still running. It is getting late here in Germany and I probably will only be able to upload the build tomorrow morning. I am sorry for the inconvenience. I did not test the build before uploading, as I should have.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Hi opal06,

did you solve black screen in call with latest version?

Regards
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
I was not able to reproduce this issue in my tests. Which call app do you use?

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

A new build is up. It has the same date as the old one, but it should fix the issues with camera etc. Please update (either trough OTA or by donwloading from sourceforge manually) to the new build, the old one also was removed from Sourceforge. Changelog is the same. I am sorry for the inconvenience.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
The technical aspect is the following: Crdroid decided to provide libhidl in the main source a few weeks ago. Therefore, I removed it from the device tree. For daisy, this worked fine, but on other devices there where issues with the new approach, so it was reverted. I did miss this prior to building and therefore did not readd libhidl in the device tree. There was no build error, but libhidl is a core component and many services try to access it. All those return not found. I readded libhidl and it should work. If any of those persist on the newest build and the actual service feature doesn't work, please report again.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] kikolyso:
Thanks opal06.

i use Exdialer.

I' ll try to use default Dialer.

Regards
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] celrau:
I posted about this issue several times too and now with the latest build it persists with stock app. With sensors off the screen lights up when receiving a call, as it should. I tried True Phone (sensors on) and it behaves correctly when the call comes in but the screen turns black once I answer the call.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] albertalbert1968:
Greetings. OTA arrived yesterday. It was installed perfectly. Here are the logs as agreed. If you can fix it then tell me how
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
I agree but there is another banking app that I want to use/try. I downloaded it from the Aurora but the app doesn't work. For full compatibility it reminds me it is necessary a lost component, available on F-Droid (UnifiedNlp (no GAPPS)) or the well known Play Service by Google (Aurora Store). The component from F-Droid is very old...

Any suggestion?

Ok, is it the Oct. 14 update 6.11 (716MB)? OTA is now available. Great! :good:

Edit

But, I need to follow these steps?!
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] albertalbert1968:
I didn’t do this on this update. Twrp magisk flew off remained in place. Removed all fixes in the system.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
If in doubt and in order not to corrupt the os, I updated following the procedure. All successful!

However, in the settings I no longer find the double tap to wake up. While I only found the quick settings curtain different. Some settings are as if they are returned to default. Nothing relevant!

Not using Google services I have a hard time getting banking apps to work. Is it advisable to install pico / nano GAPPS?

Other advice is welcome
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] albertalbert1968:
Friend, I don't use gapps so I won't tell you, but I know that people use a bit of gapps successfully. After the update, everything is fine with me and there are no changes in the curtain and double tap is also in place
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] nabav:
Now it works ! Double tap was in Display, not in Gestures :rolleyes:

I don't want GAPPS because GPlay is always running on the background, increasing usage of ram and battery.

Bye
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] odjinan:
flashed latest version, good to go ... next one, android 11? ;)

quick tutorial :

Goto TWRP (it should be thelatest Offain's version)

Flash ROM and twrp installer

change slot (A<->B), reboot directly to recovery

Flash gapps and latest magisk

Reboot
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] opal06:
Those errors are non-issues unless you experience some real bugs while using the device.

I strongly recommend NOT to use the official TWRP. It is and it always was terribly broken and I don't understand how it can be still mantained by TWRP. It might work, but it might also cause some wierd issues, so rather use Offain's older TWRP or one of the newer unofficial ones, those are all great. Rest is good though. Android 11 will most probably come, but it is not quite ready yet, so for now I will continue update the Android 10 while working on 11.
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] odjinan:
ok, post updated ;)

i've use this one: twrp-installer-daisy-3.3.1-0-offain.zip

https://androidfilehost.com/?fid=6006931924117887097
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] gfpeti2:
:) Nice rom! :)
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] eusebiumustea:
Hi . This rom has a smoother UI?
[Xiaomi Mi A2 Lite ROMs, Kernels, Recoveries, & Oth] monat regenmacher:
My experience with crDroid on Mi A2 lite

1. I first installed 6.10 with openGapps micro instead of recommended nano. It crashed 5 times in 2 days. Then I clean flashed 6.11 with nikgapps basic. No special features such as Live Captions, but quite stable now.

2. This rom has some battery health preservation features. It only charges quickly (at 1500mA) only when the battery is under 80%. After that, charging is slowed down to <1000mA. I don't even use smart charging for that. But, it contradicts itself by overclocking the cpu to 2.2GHz; you will get a lag free day to day usage and gaming at the cost of accelerated battery depletion. Cranking it down to 1GHz with efficiency mode saves battery and reduces performance ever so slightly. Frankly, there is no need to overclock its cpu as the Adreno 506 is not a powerhouse and will not follow a faster cpu.

3. This rom also cannot disable sim cards, as is the case with other roms. And default sim for calls will always change back to SIM 1, no matter how many times you have set it to SIM 2.

There are no fatal flaws though. It is perfect for a daily driver so far.

Edit: About that call preference resetting problem, set preferences in the AOSP dialer.