yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
ik & currently i have no fix for this ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] shmp30:
Very Smooth and sable ROM. using it for 4 months now and came here to thanks you OP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] KaaMyA:
Hi, [MENTION=5913672]murtaza1326[/MENTION], thanks for this update!

Is like to know why you updates aren't shown anymore at https://t.me/s/derpfestupdates?q=Tissot

As you can see, the last one was 2 builds earlier.

Thanks in advance!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
because i use banner which includes name of the device not in post

check down i firstly put in derpfest updates then my group and then xda
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] yashgumaste:
There is low in call volume. Anything you could suggest.

Tried a magisk module, but didn't work.

Tell me if you want me any specific logs.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] prashku89:
Hi , I have noticed in latest build temperature of the battery rising to 45 degrees when charging the device... If I turned off for 10 min and then charging its staying around 37-38 degrees. Has anyone facing this problem?? I'm on April 1st build.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] prashku89:
[MENTION=5913672]murtaza1326[/MENTION] Under theming style section crashes when I apply font or if I change anything else, I'm on April 1st build...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
there is no april 1st build ??
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] prashku89:
[MENTION=5913672]murtaza1326[/MENTION] strangely I got ota update even when I didn't install magisk or anything... Here is the attached image
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
?? check the device & this is not beryllium support thread go to your xda post
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] anassyafiq:
Can't play Mobile Legends

Hi there..i'm new tobthis Rom.

it is great rom, thank you.

but i can't play Mobile Legends.

when open the app, sound can be hear but no display...blank screen

is there any idea to fix. thank you
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
New Build is Up :) Links In OP ✌️

Check OTA Updater app for updates if you are using this rom already

Make sure to read first and second and third OP

You need root to install OTA Updates i suggest you to flash magisk

If you find Xiaomi Parts crashing look 3rd OP post for fix

FPS info tile is removed (it will be added in roms later)

if you have xiaomi parts zip installed remove it from magisk

Enjoy :)

(About usb fastcharge i am sorry in hurry to release new build i missed one file so to use usb fastcharge for now you can use it from kernel auditor) i will fix it in next release
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CyberSinister:
Yea that was me xD
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] recoman:
Hi [MENTION=5913672]murtaza1326[/MENTION]

• I use new build. Rom awesome and stable fast

• 2 bug on rom :

1. Call recoder not working. I try test any app form ch play not work.

2. Theme problem black . app call,mesages,chrome,v.v... Color black.

• You can Add support for 120Hz display refresh rate for mi a1. Thx you.

Everything work perfect.

Thx dev build rom mate?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
@murtaza1326 For the life of me, I cannot make Fast Charge to work (and no, I am not talking about USB fast charge, I know it is disabled in the current build). I tried clean flashing latest DerpFest (07/04), with just magisk installed, Plugged my AC adapter, but fast charge never kicks in, and I am below 80% charge, so no battery damage prevention should take place. I also tried with every other 4.9-based kernel for tissot. Same story, the only success I had was with a 3.18 based kernel (Moun 6.2), which of course has issues with Android 10 (like fingerprint and video recording not working), but fast charge works flawlessly (both from the AC adapter and the USB3 port of my laptop).

So my question is: Does Fast Charge (of any form) even work on 4.9 kernels (especially in DerpFest's?). If not, OP's in all their threads should clarify this, because it is a real deal breaker for many people I believe.

Thanks.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
lmao you read it wrong there is no fastcharge there in this rom (nor any 4.9 kernels out there) also i suggest don't use it as our device won't support fastcharge anyway (QC 3 ig is max) only usb fastcharge implementation is there kindly read OP post again
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
Thanks for the reply. What I mean by Fast Charge, is charing the phone to something beyond 100mA or so. The phone should be able to at least charge at 900mA, right? (in the same way as Stock Pie or 3.18 kernels do, or am I missing something?).

The message I get, when charging the phone is "Charging slowly", and current is around 100mA. Is this normal? (even from the AC adapter?)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
dude my phone literally charges atleast better then 100mA and it also reaches to 1.2 to 1.7k mA ? something is wrong with your hardware check it out

also that thing (lockscreen charging info is not accurate) is not accurate we mostly thinking to remove it

also check your proper ma from this app

https://play.google.com/store/apps/details?id=com.gombosdev.ampere
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
2. Couldn't understand what you meant here.

Also, lol, 120Hz can't be "implemented" in the Mi A1 because it doesn't have the hardware for it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
literally ignored that retard post ? because he post same on everythread
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
I tried with that app, and the same low mA are there. Unfortunately, I tried to go back to stock, and there everything seems to work normally. The phone charges at the right speed.

When going to DerpFest, it sometimes work, but other times it does not. Yesterday afternoon I managed to charge at 1.2 A with DerpFest, but during the night, it took 8 hours to only charge 15% of the battery from 56% to 70%. So, I still believe something is not working properly (at least not always).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mavado:
Yeah. Noticed this also on all 4.9 kernels. Flip the usb cable solves this. Don't know why.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
That's definitely strage. So, if that works, it might be an issue on how the current is measured: when having the cable on the "wrong" side, causes a negative reading of the current, and thus fast charge never kicks in?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mavado:
Don't know. I guess this is the used driver: https://github.com/DerpFest-Devices...erp10/drivers/power/supply/88pm860x_charger.c

Maybe debug to see what happens? Don't have much development experience in linux drivers. So don't know :).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
Btw, I tried to flip the USB cable, but it does not work for me. It seems to be random.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
Aww shoot. The Do Not Disturb expanded menu inside the notification shade was removed in the latest update :\ Other than that this ROM is still literally the best at this moment, I believe.

Edit: Also, it may just be me, I think the battery life got better after I applied the latest update. Used to get 5-6h of SOT now I get 7-8h.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
it is fine here ? but i will check it anyways
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
Having just a quick look at the kernel source code, it seems there are differences between the original Xiaomi code and current 4.9 kernels. In particular, in the power management code here:

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blame/d0ac7d6c37e6277595a3d369ffc177a8c22d0e87/drivers/power/qpnp-smbcharger.c

There are changes applied by Xiaomi that do not appear in 4.9 kernels. Of course I am not an expert on this stuff, and thus they might have been removed for a reason.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
So I did some experiments, and the following happens immediatelly after a cold boot. When connecting the USB to the phone and the charger for the first time, charging below 100mA. Then, disconnect and reconnect cable, charging at 1470mA. Then, disconnect and reconnect again, charging below 100mA. Disconnect and reconnect again, charging at 1470mA, and so on. After cyclic like this for a while, then the phone will never fast charge again, until a reboot. So, somehow disconnecting and reconnecting the cable triggers on and off proper charging for a bit. Moreover, Ampere says max USB current: 100mA, when the phone is charging slowly, and max USB current: 2000mA when charging fast, so it is not related to a hardware fault, but to some misconfiguration, that forces charging to stay below 100mA, for some reasons.

-EDIT-

With a higher quality cable, it now seems to consistently charge at 1500mA (altough with the ****ty cable it was charging at fast speed with stock and 3.18 kernels). However, even with the high quality cable, when moveing the phone from the wall charger to the laptop, and again to the wall charger, max USB current drops again to 100mA. I need to disconnect and reconnect the phone to the wall charger once more to restore charging at 2000mA.

Just don't get what's going on...

The only thing I can think of, that explains everything is that with a low quality cable, both the wall charger and the laptop are seen by the phone as simple USB ports, and USB fast charging on 4.9 kernels does not work, even if it is enabled (see e.g., Moun comment here). Then, no matter if you use wall charger or laptop, the phone will never charge fast with a low quality cable. With a good quality cable, the phone recognized the wall charger as not a simple USB port, and then it starts charging fast, and on laptops it charges slowly as USB fast charge simply does not work (even if enabled, see again Moun's comment).

On the other hand, with 3.18 kernels USB fast charge works, and then, with low quality cables, even if the wall charger is wrongly recognized as a simple USB port, USB fast charge kicks in, and charging is able to go above 900mA.

As a confirmation of what I said above, if I use a USB cable without data lines (i.e., it is only enabled for charging), then the phone charges fast even from a laptop, as there is no way for the phone to recognized the connection as a USB connection, but only as a "charging connection".

So, the message is USE GOOD QUALITY CABLES, and USB fast charging DOES NOT WORK on 4.9 kernels.

The only thing I cannot explain, is why, with the high quality USB cable (that is also data transfer enabled) after connecting the phone to a laptop, it does not charge fast on the wall charger immediately, but I have to disconnect the phone again, and reconnect it to the wall charger.

And, yes, the lockscreen current measurement is definitely not accurate (more precisely, not in real time. It takes some time to measure the current properly).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ptosch:
cannot disable AOD...

Hi, this ROM is quit nice, but I cannot use it, because now my phone stays always on, and I did not find any option to disable this feature.

Another problem is slow charging as Calivi already described, and camera instability (Hypercam is stable, but the switching times for zoom lens are unbearable).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
dude AOD can be disabled from settings (xiaomi parts or display/lockscreensettings)

slow charging depends on different variables (old age device or port or cable or brick)

camera yet again ? it's not my issue i will add gcam go (lite version) in future
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
As I said, slow charging is mainly due to two factors (unless the phone has some hardware issue): cable used, and from where you charge the phone. If using a good cable, the phone should charge fast from the power adapter. If you want to charge fast from a USB port, this needs to be USB3 and the cable must *not* support data transport (which means that the phone must not be recognized by the computer as an external storage, if connected with that cable).

Finally, by default, when the phone reaches 90% charge, it will switch to slow charge mode, to keep battery safe, regardless if it is connected to a power adapter or to a USB3 port.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ptosch:
Thanks for the tip "xiaomi parts". so I could disable this... "feature"!

Charging problem was not existent before flashing this rom. For now its more like lottery charging above 100mA.

camera: is there any possibility to flash stock camera from Android Pie? It has all the features needed and is stable (no freezes, reboots).

Anyway thanks for fast response and this marvelous rom!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
The reason why before it was charging fast is because the phone was falling back to USB fast charge when the cable is bad or phone is connected to a laptop.

USB fast charge is a charging mode used by the phone when it is connected to a normal USB port. This is different than fast charge from a power adapter. When the cable is bad, the phone does not recognize the power adapter, and falls back to USB fast charge also with a power adapter.

Since USB fast charge does not work on this ROM (or any other ROM based on 4.9 kernels), with a bad cable the phone will always charge in USB fast charge mode, which does not work.

So, use a better cable, and you will see fast charging working again (from a power adapter).

This is even more evident if you use Ampere, while the phone is connected. The app will tell you to which power source the phone believes it is connected.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ptosch:
[MENTION=8716631]Calivi[/MENTION]: thanks for the explanation, but I want reliable charging and reliable camera as before. When using derpfest both is unreliable so I will revert to stock PIE rom as I do not see any benefits, only disadvantages.

Anyway thanks for Your time!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] md_hedayat:
Slow charging speed!

After updating to the latest build I was constantly getting charging slowly and the battery would often drain while charging. Reversing the USB cable a few times solves this issue. The thing is the device starts treating the charger as a USB charger and caps at 100ma while when it thinks it's an AC charger it increases the cap to 2000ma. I have attached the screenshots which explain what I am trying to say.

Is there any workaround or solution?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
We literaly discussed this two post above.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
I asked Wyroczen (the guy who has experience porting Google Cameras to the Mi A1 and other devices) and he said it is possible to port the stock cam to Android Q ROMs. The problem is, there is no one we can rely on to do it. If I had coding and amateur Android porting experience, I would've definitely tried, because I too am in need of the stock Pie camera because of the slow-mo and portrait mode on anything other than human faces.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
spolier alert me & abhinav is working on it to make it possible but we need time ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
Oh ****, take all the time you need! Finally something good during these depressing days!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
New Build is Up :) Links In OP ✌️

Check OTA Updater app for updates if you are using this rom already

Make sure to read first and second and third OP

You need root to install OTA Updates i suggest you to flash magisk

Enjoy :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] youlenin:
For all those that are searching for a good and quite stable gcam app, i found that the ports from urnyx05 work the best. The latest 7.3 work quite good and do not freeze anymore. ProTIP: disable google photos as primary gallery in the gcam app.

Question: What is the overnight battery drain for you guys? Mine shuts down if i have 25% at the beginning of the night.

[Edit]: For me FPS Info doesn't work, and I stumbled upon an error that the Xiaomi Parts stoped working, after a reboot.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
I tried with that gcam but it freezes for me sometimes, and it is slow in switching modes. HyperCam provided by OP works perfectly for me (except slow motion of course).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
FPS tiles still need rework i might remove it in next updates it is good for us but not all prople (still if you want switch to permissive mode and it will work)

about charge i am pretty sure if i am 10% charge it will be 2,3 in morning
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rayhanrashed:
What do you mean by High Quality Cables? I have two MI cables which I received with phone. Are these "Good" ones? Yet I am facing the same issue as yours.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Calivi:
I am using the usb-c cable of my switch pro controller, and everything works as expected. With a couple of cheap usb-c cable, fast charge was not working.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ptosch:
I installed newest derpfest rom and then i found the option "Enable USB Fastcharge" in "Xiaomi Part" in Settings. Now the phone charges when attached to a USB2 port on my laptop! Before, it discharged when attached to USB2. With the same ultra-high-quality USB cable, btw. ;)

I am not quite sure if this option existed before?

Anyway, now only a camera app with fast tele switching is missing in this rom. Almost perfect, I am gonna stick to it now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
i keep adding features & making it more stable for daily use ? cameras to will be solved soon
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zrizal:
Hi, I can't get GPS fix when using navigation such as Waze & Google Maps. However, the location is working fine. Only that no sattelites detected.

Anyone is having the same issue?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
Used to have that. It fixed in newer updates. Before that, I just tried to keep restarting the phone until it worked.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zrizal:
Alright Zentom. I already flashed the latest update. I will try to do that
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
New Build is Up :) Links In OP ✌️

Check OTA Updater app for updates if you are using this rom already

Make sure to read first and second and third OP

You need root to install OTA Updates i suggest you to flash magisk

HighLights of this builds

- Stock Camera Hal Support added (Stock Camer ha can be found here)

- Statusbar & Q/S Tile Padding is Fixed

- Xiaomi Parts Crash & FPS Tile Fixed

Enjoy :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
Ooooh boy I'm going to be installing this soon.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rayhanrashed:
What is "Stock Camera Hal" btw? i am currently using "6.2_MiA1_Edition_v1.1G_Q.apk" posted somewhere in this thread and it works fine. But, the portrait mode doesn't work as good as stock cam. Will this be somehow improved with this 0427 update? If something messes up, would be frightened to update.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
that is telegraph ok i will post you links here

Stock camera hals :-https://drive.google.com/file/d/12bczOSYdVCOFkw26eEgiZHHpNyQ0NAKI/view?usp=sharing

Mi A2 camera :- https://drive.google.com/open?id=1SgdCFfqyLAkrkxxX-KrDqGHTBL4s39bw
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
Updated info on how to fix portrait mode on stock camera mi a2 cam which is crashing in 3rd OP post look before report :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
I was curious so I tried installing the HAL and the A2 Camera on my old DerpFest version (2 versions back). Turned off CameraPatchReborn too. Here are my observations:

-On default settings and with AI and image watermark turned on, photos captured are monochrome. They only have color if captured with HDR set to On.

-Slow motion doesn't work. Instead of slowing the video down, instead, the video is sped up and the slow part is at normal speed. I guess no slow mo on this ROM, regardless of GCam or stock cam :(

- (Just read the post, read OP on how to fix this issue) Portrait mode switches to the second cam, which is a good sign and the depth preview works. But as soon as I pressed the capture button, the camera glitches out and just says it couldn't connect to the camera.

Would love if somebody would test this on the latest version, since it has support for the modules already. I'm hesitant to switch because I don't want to lose my RGB accent color selector.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
prebuilts accent colors are fine and many options are there

about camera i told you guys already go to 3rd OP post for fix idk it's weird but portrait works perfectly for me

also for slowmo do that in gcam with stock camera hal it works just fine :) (tested)

and about that HDR that legacy is continued from pie as it is based on it
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
updated guide my bad i forget to add one simple step
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] himadridas1992:
Then create whatsapp group...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
??? whatsaap sucks no way
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mahyarmo:
SIM card

How to turn off one of my SIM cards? on Stock Rom there was an option to do that but now I remove it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nello74:
not possible android q?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
not possible on q even if mi launch stock Q for tissot it will not have it i don't know if it is possible to disable sim in other roms tho
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nello74:
https://xdaforums.com/android/apps-games/app-multisim-toggle-t2830647 work only have root ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] himadridas1992:
Okay ????
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jaggub4u:
-------------------------------------------------------------------------------------------------------------------------

Thanks for keeping this rom regularly upto date.

The best A10 ROM for tissot!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] devin2:
Hi

For me with the latest ... FM Radio is out....

And you ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
it this there already ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] devin2:
radio apk is in this Rom but don't work for me ( works ok on the 26-03 realease )
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
it is directly fetched from LOS team

can you show me what is it that is not working ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
Even tho May security patch is merged i am not releasing a build now it will be postponed between 10 to 15th may
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
New Build is Up :) Links In OP ✌️

Check OTA Updater app for updates if you are using this rom already

Make sure to read first and second and third OP

You need root to install OTA Updates i suggest you to flash magisk

HighLights of this builds

- Fixed Ok Google Detection conflicting with 3rd party apps (Credits [MENTION=2668771]abhinavgupta[/MENTION]371)

- Fixed FM Radio (Credits [MENTION=2668771]abhinavgupta[/MENTION]371)