yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Check Viper4Android thread here on XDA, you may find there some suggestions. There are several options you can change to your likings. I guess you'll have to try for yourself.

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
None. It works perfectly.... Recently I was on a vacation in foreign country and used it fully and all the time.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mar.ur:
Deleted
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ouroboros12:
Do you guys use dual boot feature on twrp?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
It makes the phone laggy. Not meant for non- devs.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ouroboros12:
Ok, thanks.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] davedophin:
Hey guys, I have the feeling the battery drains quite fast with this Rom. (At least much faster than sootis gsi Rom, which I am not able to install properly anymore). Is it the same for you and do you have any advise (kernel or settings) which can change that, since this Rom is very nice, quick, reliable.

Best regards!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Yes, I've noticed this as well. Battery drains faster than usual.

Down from 100% to 62% in just 2 hours.

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ibooth2004:
Sorry about this [MENTION=7210959]mountaser halak[/MENTION] but I want to switch from Moun kernel to sooti's kernel, any good way to do this?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] awein:
Hi all. I had the same issue after install last version(yesterday).

I think the issue is because device health services is drain the battery. After disable devicehealtservices think solve the battery drain. I'll wait around 2 days with devicehealtservices disabled.

Configuration:

Last system and vendor with moun kernel 6.2. Gapps aroma and magisk17.2. In previous release I had epic battery around 2-3 days with moderate use(devicehealthservices was disabled too).

Nice job [MENTION=5228265]Mountaser[/MENTION] halak. Thanks!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mountaser halak:
Lol sootis kernel is basically void with treble support Which already exists you can just flash that
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ibooth2004:
How do I flash it, should I wipe anything or just flash the zip in TWRP?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mountaser halak:
Flash magisk then the kernel
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Health services is provided through gaaps and could be because you are using aroma. Use micro,nano or mini...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
The status icon on lockscreen overshadow the text of date. (Plez see ss)

Also live wallpaper cannot be set.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Using nano here. It has Health Device Services and Wellbeing. Disabled Health Device as suggested. Waiting for 1/2 days of usage before report back.

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] awein:
In aroma you can pick if install devicehealthservices. Maybe it's installed by default?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Per latest change log - it is removed from the release.

Anyway I have it installed and no batter problems here. I suggest try clean install by wiping both A and B fully and install GSI and vendor in A after you reboot the twrp install gaaps micro, magisk and latest moun kernel for Treble (6.2 Treble) again in A. Reboot wait for all loading of Android (with full apps sync). Then reboot to twrp and change selinux to permissive. Reboot to Android and test camera. Then reboot again in twrp and change back to Selinux - enforce....

Aways keep in mind in which partition you are...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Tahsin Can:
https://drive.google.com/open?id=1jpUmAoh9oHAd0i4hrZ6YL1aQUbGNd_eT

Battery performance full brightness wifi always on project k kernel Havoc os 10/16 :/
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
Why make things complicated? Go easy:

Reboot to twrp (cosmic dan)

Wipe system, data, dalvik, vendor

Reboot--> change slot.

Follow wipe same as above.

Reboot to recovry

Flash gsi as system image

Flash vendor as vendor image

No need to reboot recovery( since unlike payload bins zip , images get flashed on the active slot you are on) still if u want to reboot to recovery, still can,no harm.,

Flash Gapps, magisk, treble kernel

Tissot manager--> patches. Check selinux, set permissive.(camera apps seems go dead when enforcing)

Reboot to system

Done.!

No need worry so much about which slot u are on if u follow the above steps precisely. Cheers!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
I'm with you on this one but keep in mind there is a bug(explained briefly in the tebleing guide) that sometimes the slot is changed and sometimes it is not and you have to manually do it (either with some persistence with changing it in twrp and rebooting until it happens or with fastboot). Believe me It happens a lot for me. It can be good for 10 twrp loads and then suddenly it will stops working for some time and then again it will start to work (regardless of the flashing or not )....

Anyway.... I'm also with that you don't need to reboot before gaaps but it won't do any harm and it will make twrp reload the /system and /vendor size partitions. It may also be needed to resize /system if flashing big gaaps (like mini or something more) which will provoke another reload of twrp(/system is left with something like 300mb free space after img flash).

About Selinux... I've made several tests(like 20 or more) and altho I haven't checked on the actual framework sources I managed to create proper enforce working only by loading all first on enforce then reboot in permissive (with clearing cache) with full load and then changing to enforce again (clearing cache here didn't had any effect)... by propper I mean that following that I had same result every time not that it won't work any other way... it just makes it consistent as a result..... :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Only noticed this today...

Thank you!! :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Latest build does not boot in Selinux - Enforcing for me. I had to manually switch to Permissive for it to be able to boot. Anyone else with that problem?

PS. On clean install....
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Yes, I confirm. Latest build is not booting with SELinux Enforcing.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] setsuikari:
Another case of Permissive SELinux over here with latest build.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Hello!

Just a quick feedback about the ROM.

1 - Latest build doesn't boot with SELinux Enforcing

2 - Latest build works with SELinux Enforcing if we activate it through terminal (or any other way) after booting up

3 - Live Wallpapers are working on latest build (and so is the option to change wallpaper daily)

4 - Battery drain is indeed caused by Device Health Services. Don't know why but it them disabled my battery has the same lifespan as it did on RR AIO 6.2.0

5 - Smart Lock works (to me only on latest build)

6 - WiFi and BT MAC Addresses get scrambled if the device reboots with them turned off

7 - Latest build has Updates OTA available? At least the option is there on settings...not sure if it will actually function.

8 - Loving every aspect of Android Pie and Havoc OS. Not going to change back to Oreo, that's for sure.

Cheers!

View attachment 4624799

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
About 4 - I don't have any battery drain problems with working Device Health Services on that and on the previous version. I guess it might be causing issue combined with some other app installed... or magisk module???

6 - Did several tests and manage to break only the BT MAC but WiFi is fixed to the original
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Yes, I thought of that as well. Maybe an app or a module could be the cause. But the thing is, I have exactly the same apps and modules as before. And by disabling Device Health Services I notice, clearly, a battery usage improvement. Besides, if I'm not mistaken, this has been assumed and taken as correct by the devs themselves.

Anyway, first things first. I believe that the major focus right now should be why the ROM doesn't boot with SELinux Enforcing. I would gladly share logs if I knew how to get them while booting up. Anyone knows who to do that?

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Yes... Uhm... how did you manage to set it to enforcing as my tries ended with hanging up the system.

BTW - Device Health Services is the app responsible for the new AI learning curve of app usage and based on it apps are categorized in different power buckets and it is updated through play store. If this app is missing it is switching to default from Android 8(and 7) behaviour which was based on statistic usage of app. We still get the new buckets so... it is still a win situation even without the AI :)

I'll try to get the logs if I get some time ... however I think as this is not a single issue and for all devices it is already being addressed...(there are already some really small changes to the sources about the sepolicy)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
[MENTION=7210959]mountaser halak[/MENTION]

According to THIS XDA article, Google Pixel 3 has an automatic dark theme based on time of day and battery saver. For what I've read, this feature is available through THIS commit.

Are you able to suggest this to Havoc devs team?

I would really enjoy this feature.

Thanks in advance.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Apih95:
can anyone help me . im having bootloop on latest GSI...i follow the update instruction already but the booting process taking so long ...

EDIT: i use magisk 17.3, pico gapps latest

EDIT2: i had to use 16/10 build back . latest one give me bootloop gg
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] zurik:
Set selinux to permissive from enforcing
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shobit Joura:
Are the gsi linked same. I mean one is extracted and one is compressed , can i download one file and extract it or i have to download both plz help!!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
They're both the same. The compressed one is just for quick downloads.

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Void_Dragon07:
does the stock camera work on this?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Yes, using a Magisk module. You can use Mi A2 stock Camera as well.

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Yes... flash though magisk or twrp....
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ibooth2004:
Any way to remove the rounded corners on the screen?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
You could try the inverse procedure of what's described on THIS article.

You may check the default values present on the ROM HERE (if I'm not mistaken).

Cheers!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shobit Joura:
No volte!!!!

I am airtel user and volte is not workibg i came from latest stock and there volte was working fine....

Plzz help
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Did you install ims.apk? I believe it's needed in order to get VoLTE working on GSI ROMs.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Void_Dragon07:
does it crash after using portrait mode?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Aman301582:
Device name is showing Phh treble vanilla.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Yes, it's normal since it's a GSI. You can change it by applying "safety net fix" that sooti has shared on it's AOSP+GAPPS GSI thread.

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shobit Joura:
Yes i instlled that but no success!!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
I can't test this with my provider, but you could try to use the voenabler magisk module or edit the build.prop manually.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shobit Joura:
Tried magisk module tooo, vo enbler , but no success!!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Aman301582:
Overheating and battery drain on standby when mobile data is on.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] KaaMyA:
Facing battery drain too...

I already wiped System, Dalvik, Data and Vendor in both slots.

Then clean flash... So, Havoc is the only thing there.

What I see is Universal "GMS Doze" Magisk module helps a little while screen is turned off, but draining starts as quick as use my phone again. I haven't any social app, farther than WhatsApp, however, draining happens just after Havoc is installed.

Have to mention that this behavior happened to me with all Pie ROMs I've tried.

AEX and RR 8.1 ROMs had good battery performance.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
I have a over night drain about 3-4% that's totally normal I guess.

Edit: void kernel, havoc gsi and sootis vendor.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Need a lot more information than that:

There could be a lot of things.....

What vendor are you using?

What gaaps are you using?

If you go to bare minimum gaaps or higher gaaps does the problem still exist.

Do you have wifi, bluetooth and/or data on?

Do you have the same drain if you disable all internet?

Do you have the same drain if you are in airplane mode (disable all network)?

Are there any wakelocks active?

Is your battery really drained or just miss calibration on it (this should be manually done)?

How fast the battery drains if the device is off and not charging? (self discharging)

What is the temperature of the battery during your normal usage?

Did you had your battery overheat(over 45 degrees celsius) sometime in the past?

What kernel are you using?

How the cpu acts (frequencies) during usage and during rest?

Do you have any logs that can help narrow the issue.

Have you used that tool to narrow the issue:

https://developer.android.com/topic/performance/power/battery-historian

These are all questions that can help narrow the problem. As you can see it is a lot of things and any of them could have an impact

(for instance samsung S5 lineage 14.1 had problem with BT taking wakelock and massively draining the battery and this is a vendor issue that can't be fixed as it is in the property closed sourced library).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] clarionero:
Hi. I'm sorry I can't agree with you. For me the ROM has an excellent behavior in terms of battery use. With a normal use I only have to charge the phone every 3 days.

My component configuration is what comes with the ROM itself (ROM, kernel Moun 6.2 and vendor by default).

On this configuration I executed the LSpeed application with the "Balanced" profile.

Greetings

Ruben
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Void_Dragon07:
does the stock a1 or a2 camera crash after using portrait mode or are they stable
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Mi A1 cam crashes after taking photo in Portrait mode but the picture is taken and saved on the device.

Mi A2 cam doesn't crash but the photo seems to be taken normally instead of portrait mode.

GCam takes portrait mode photos and it doesn't crash. Besides, AR stickers are working as well.

Cheers!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhpharma:
battery drain is seems to be common issue across all pie ROMs, but it is higher side with this ROM.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] KaaMyA:
Hi, friend, thanks for replying me ?

Well... this is what I can tell by now (I'm at office).

→ "20180929 Vendor" same folder where Havoc's GSI is.

→ OpenGapps Mini "20180123", not tested with less, since I always used this version with 8.1 ROMs.

→ Half of the day with Wi-Fi on, then I turned it off, while Data is on. Almost no use of Bluetooth, so is always off.

→ I haven't customized anything yet, as I said, drain comes just after I finished clean install procedure.

→ I'm not sure about that "battery calibration" thing you're mentioning, but, I'm used to let device die to 0% and then I charge it completely before I use it... But, honestly, that's something I'm used to do from time to time, even while I was using 8.1 AEX ROM without problems.

→ As I said before, the only thing that I've done and helps to stop draining, a little, while screen is turned off, was cleaning both slots, and then install Universal GMS Doze, otherwise, it's horrible.

→ Things happened started after I installed RR AIO ROM, then I also flashed Liquid Remix and finally I came to Havoc. All of them 9.0 ROMs. Before that, I had AEX, as well as RR 8.1 without battery problems. I doubt my battery is about to die, at least when is not related to ROMs.

→ Moun Kernel 6.2, with Kernel Adiutor installed, but I haven't touched any settings there... A probable cause?

→ I haven't checked with Battery Historian, I'll try it... But this smells like 9.0 ROMs aren't well optimized to Mi A1 yet.

Hi, friend, thanks for your answer!

Well, I don't use L Speed, the farthest thing I've there is Kernel Adiutor, but I haven't touched it yet.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Hey,

I don't think it is due to rom. I'm with mi A1 with sim cards on both slots and I haven't experienced any battery drain.

What I can suggest further is to test again with 8.1 rom just to be 100% sure it comes from 9 roms and not something else. Also li-ion battery don't really get well when are drawn to zero so don't let them go that down even for calibration... down to 15% is enough and actually everything below 20 is considered bad for it.

So enable the CPU info from the shortcuts (it will draw and overlay of the cpu frequencies), enable Caffeine for let say 5 minutes and observe the frequencies. They should all go down except for one which should stay on minimum at 652 mhz. Do that test with disabled battery saver and data saver. Also keep your wifi and data and Bluetooth connections off. Then kill them one by one and just observe how are the frequencies and the cores.

Also remove the magisk modules for dozing... you need clean test.

Also play with the spectrum profiles and see how the frequencies are changing.

Lastly try to pull data as it is explained in the link for Battery Historian and send it here... or try to analyze it yourself to see from where the draw is coming from....
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] KaaMyA:
I'll try to check what's actually happening there, with the tools you've provided me.

Thanks for your help and guidance. ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Well, I used to have a battery drain as well.

First I thought it would be because of Device Health Services, so I've disabled them and noticed a normal battery behavior.

But, since other users reported that with them enabled they didn't have any battery drain, I thought of enabling them just to see how it would go.

Well, today I've noticed a better battery usage.

I thought it was strange since with them disabled the battery drain did not exist, so why would it be better now it them enabled?

Then I've remembered...I've uninstalled an app. The app I used to had to connect with my car "services". I've noticed the app was with weird behaviors and decided to uninstall it.

I'm now conviced it's not a ROM problem, nor Device Health Services. It was really an App.

You guys should check your apps and try to uninstall some of them, even if, one by one and check your battery usage.

Cheers.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Also try checking with this app https://play.google.com/store/apps/...ckdetector&rdid=com.uzumapps.wakelockdetector

for wakelocks.....
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ivomin:
Another thing... I was about to test it myself with Battery Historian and noticed that the moment that I've enabled the Wi-Fi (regardless of connected or not) CPU starts to act crazy with constant load of 40%... I still trying to track down the exact cause but I'm over 90% sure it is not third party app related.... so take that also in consideration during the tests... I haven't noticed much power drain from it but still.....
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Aman301582:
Maybe the ROM was setting up that's why there was battery drain. Cuz after installing havos os my phone was overheating along with insane battery drain in standby. But now it's normal, or maybe it's normal because I disabled GPS.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Thank you!

It boots with SELinux Enforcing.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] damiancol:
hotspot funtion with passwork?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shobit Joura:
Volte not working tried that ims apk , tried magisk module volte enabler apk too!!! But no luck!!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] zurik:
WiFi hotspot still not work on all GSIs.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] awein:
Hi all.

Works without security. Tested.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Hunk97:
Gcams broken after latest update
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Typhus_:
Working here. Maybe an issue with the version your using? Or, try to clear app data and relaunch. Give all permissions first.

You could try, as well, boot with SELinux Permissive and, if the cam opens ok, change it back to Enforcing.

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Deriquest:
I made installations but got stuck on the "Android"

I wipe "Internal Storage". Could this cause a problem?

Which "moun kernel" should I flash?

I flashed "Moun_Kernel_V6.2-TissotTreble.zip"
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Hunk97:
Oh Sorry, my fault, I had messed up something.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhpharma:
Gcam is not working after latest update.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Deriquest:
which kernel did you flash?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] clarionero:
Working here...

Rubén
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] clarionero:
Hi. Im using Moun Kernel 6.2, treble version.

Rubén
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
I have notice that casting doesn't work for me.

I mean screen mirroring to my chromecast 2.

Is it a pie issue, because if I remember it right it had worked on sootis pie gsi. But I could be wrong about it.

Edit: whatever, it works after wiping cashes with twrp, my bad.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Arduino101:
I have a problem to establish internet connection (mobile data transfer). SMS'es and phone calls works, but only mobile internet don't work. Any ideas or other fixes? I'm using latest Vendor and Moun Kernel Plz halp
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] castanedajor:
I had same issue with Pie SMS XTended Rom, and for some reason, you must do these steps in this mandatory order:

1) Flash Rom

2) Boot and set APN

3) Flash Gapps

If I flash gapps before set APN it will cause the same issue than you have ... try this, maybe it is the same issue