yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dutz14:
Been using this ROM for several days, so far so good (battery life & performance are both good enough for daily driver).

Have a bit of problem though, I cannot boot up into the ROM right after flashing with clean wipes - dalvik, cache, and data, it just looping from mi logo - black - mi logo - back to TWRP main screen (not FBE loop).

It will be able to boot up ONLY if I flashed supersu from TWRP (No, magisk flashable zip still leads to same exact loop).

I've flashed the files listed in first post in order (TWRP - firmware - ROM - GApps) and still not being able to boot up without supersu root. Anybody got any idea about this?

I cannot format internal storage since I got quite a lot of data that needs backup in my phone and I don't have access to PC right now.

I think i will try to format internal storage tomorrow night as soon as I backed up my data and see what happens if I flashed from that clean slate.

Also, anybody knows how to find out whether FBE is enabled or not? I already formatted my internal storage several times (almost every single time I'm trying different ROMs) and still quite unsure that my device is encrypted or not.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NickTheSickDick:
That's odd, messenger, for example is working fine.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dickeeli:
Didn't even think about messenger! Confirmed, chat heads are working. Interesting, I wonder if different apps use the overlay function in different ways. Any other popular overlay apps I could test?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
In answer to the encryption

You can see if it is or not from settings - security

It says if it us or not

In terms of the ROM. If it hasn't stated that its not FBE then it probably is FBE enabled.

In which case you'd only need to format if you were unencrypted before (the ROM then sets up a new encrypted data partition)

Or on rare occasions the FBE made by one ROM wont work for another ROM and has to be formatted.

Eg) I came from LOS 15 FBE to AOSPA with FBE without formatting. Just wiped.

Then from AOSPA to AtomicOS with out formatting.

In these cases wiping data was enough as the FBE partition was compatible across ROMs.

The only reason to format is when ROMs don't use FBE or vice versa and you are essentially disabling it / enabling it from the partition itself.

So I always try a wipe of data then install a new ROM.

If it won't boot I try booting without magisk.

And worst case if it still won't boot I format data entirely and it will usually boot because the data partition hadnt been compatible from the last ROM.

With superSU it seems the ROM is pre rooted to /system so magisk won't boot first boot (not really sure why) and superSU must be able to disable system root and replace it from the boot IMG.

In that case I'm not sure why the ROM wouldn't boot from a wipe of /data and no installation of root. Then boot back to recovery and install a root solution.

Or just use the /system root and balls to safety net.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NickTheSickDick:
I know some screen recording apps like du screen recorder use it for the ui, and it does seem to work as well. Pretty weird.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] insestito:
For me best Mi 6 ROM(battery friendly).
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
For those happy with the battery you can get even more Juice out of the battery if you Doze Google play services https://xdaforums.com/apps/magisk/module-enable-doze-google-play-services-t3608783
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wojtoo:
You will not

Take a look at picture above. Google is Ca. 1% of battery usage.

I will be more interested if is possible to go lower with freq with this kernel
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
I would say the higher frequency has actually improved battery life.

Since SOCs are more power friendly now it actually makes sense that higher frequencies are now the lowest one since the CPU can finish tasks and cycles faster in the lowest speed and so can go back to idle using less power.

Seems like a performance/ power balancer from Xiaomi and so far so good
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dutz14:
Well I formatted my internal storage just now (backed up my data first of course) and then went on and flashed the ROM and guess what, it still refuse to boot,

With absolutely empty internal storage (formatted after flashing to enable FBE).

I did tried prepatching the boot.img I extracted from the ROM using magisk manager and then flashed it through TWRP image flash and still came up with same result.

Now I really ran out of ideas. :(
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Does the rom boot without magisk? If so boot then flash Magisk after.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
As suggested absolutely do not pre patch your boot IMG with magisk and then flash it.

Magisk creates an image inside /data which it uses so when you only use the boot IMG with magisk installed then it won't work properly.

Boot the ROM with no patches.

Then go back to recovery and flash boot image modifications.

Literally ROM, gapps, boot.

Then you can to back to twrp and sort it all out.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dutz14:
Nope, the only way to get it to boot was flashing supersu flashable zip.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Have you formatted data? As in press wipe then format data and type yes to confirm. Maybe that might fix it? Just guessing now
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dutz14:
Well that was before I formatted my internal storage.

Just now, I did just what you suggested, Firmware - ROM - GApps.

Still not booting at all, MI logo - blank screen - MI logo - back to TWRP main menu

---------- Post added at 05:18 PM ---------- Previous post was at 05:12 PM ----------

And this actually works. I tried everything but this, silly me.

How can I forget the difference between wiping and formatting. I guess I still got a lot to learn :D

Thank you very much guys for sparing your time! dobsgw & littleanthony
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NickTheSickDick:
One issue I've found is that the camera sometimes messes up when establishing white balance and exposure, leading to masterpieces such as this.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Can you confirm this is only the front facing camera? I too have this although it does not happen all the time.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NickTheSickDick:
Nope! Happens to the back camera as well.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Maybe it's just me but my rear camera is consistent with both the stock camera and miui camera.

Note that enabling auto HDR(at the bottom) in stock camera causes the app to crash and you will need to clear data to use it again.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NickTheSickDick:
I remember it happening in open camera.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] doru15:
Flashed today, here is my feedback:

I found a critical bug: after i changed my sim card color and rebooted phone became unusable. Sim card isnt detected anymore and got spamed by a crash of android.phone and SIM pin popups. Fixed by wipe and reflash but had to let sim card color unchanged.

In Settings i had to deal with lots of crashes. In apps section if you force close an app than you cant click anything on that screen. Dialog windows (with yes/no) are hard to click also.

VoLTE is missing for me, no icon in taskbar, no trigger in settings or HD icon in calls.

WiFi download speed in Play store after screen turns off is going from few MB/s to few KB/s.

And the whole ROM (20 january release) feels laggy.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SkubiDoo:
The same happening with the front camera and white photos from time to time for me
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] diavol90:
I drop this rom, lag, battery drain, bt bad quality in last release.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
Not sure of all the complaints. Maybe people aren't setting the ROM up correctly (which i see a lot here tbf).

The only bug I faced is the force stop lagging in apps settings but its solved by closing settings and going back again... So not that bad.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] tiago44:
Cant use the rom

So, I have instaled the ROM 2 times, the first time I instaled with gapps, and when the rom boots, it keeps giving me a error saying something like "The google services stoped working..." I click Close and it keeps showing.

In the 2 time, installed it without the gapps, and when boots ups, says, laucher3 stoped working, click close app, and keeps showing the same error.

Can someone pls help?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] NickTheSickDick:
Try this Gapps package. https://androidfilehost.com/?fid=962157660013069204
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] DavidRJ:
I wouldn't say not using microG is an incorrect way of setting up a ROM. Or what are people doing wrong a lot in your opinion?

Then again, very impressive battery stats. :good:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] felipefda:
Same here

---------- Post added at 12:38 AM ---------- Previous post was at 12:07 AM ----------

I found a serious bug.

I turned on the option auto hdr on snap cam and now every time I try to open cam it lags and close.

I don't know how to restore de cam.

Anyway, great job with snap cam, it's fantastic.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dekor67:
Volte wovifi?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SH1M4BD3:
All this lag, fcs was caused by mature permissions set (even system apps) head to LAB and Misc tab then set them manually through app-ops..
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Buthmann:
The best rom i've ever stuck to.

Best battery backup.

Thanks for the effort.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Rupurudu!:
It looks very nice indeed. UnknownDev420 is a known developer, and he also ports LineageOS.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] zieruchan:
using telegram and whatsapp camera get this problem too, sometimes blue red or green
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SkubiDoo:
Hi

Could you help me to investigate what drains my battery so much?

I got Mi6 with Atomic 2.1

Looks like phone is not getting to deep sleep.. it is only 2h18m from 12h16min

the rest is awake (screen off)

I can send you all necessary screenshots from Battery stats

from 100% to 50% battery drain in that way

https://imgur.com/a/VQLZx
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] DomeD13:
Someone here said you can restore the cam by deleting the cache and data of the camera in the settings.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] angomania:
... same here
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] felipefda:
Please, change the language of your system to english and retake the screenshots. I guess it would be more easy for us.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SkubiDoo:
What is not in english? The screenshots from settings where is not hard to guess what is what ?

All the rest is in english except "Google Play Service" (Usługi Google)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ukicar:
Dont get me wrong, but all of my problems about laggy in os solved with L Speed app. It's free in the store, battery life is great as well (from 89 at midnight to 86 in the morning -6:30).
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] steven0110:
Could you change snapcam with miui cam like resurrection remix? Is more stable and nica than all others.

Thank man, good work
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
Microg offers very little battery savings over play services. I use it more for privacy and device control. I literally only need google apps for GCM and play store so that's where microg comes in handy. No need for other bloat and downloads :)

Idk I guess I spoke without really thinking about it which is unfair.

But I do notice some people struggling with stuff like "oh camera doesn't work"

Yet 100x its been said not just here but across XDA - set permissions in settings. Its not even a super user task...

Everyone starts somewhere I guess, so fair enough.

P.S. 60% battery remaining - 5hrs SOT - 23.5hrs since last full charge

ROM is perfection (insert good feels Pepe)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] DavidRJ:
No worries, I get what you mean - sadly most of the people still can't get to figure out how to use the search function.

Not that I don't believe you, but that would translate to over 12 hours SOT - how do you do that? I suppose only WiFi, no mobile data? Any particular tweaks? I've had my fair share of phones with many different ROMs and while the Mi6 is one of the longest lasting phones, the longest I got to manage was about 10hrs SOT, and that was without Google Play Services (even though you say battery impact from that is minor). So, what's your secret?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] benfleet5:
I'm glad you are in this forum! Common sense and a little reading will go far!

So you think its a good time to update from ASOPA now?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
Yeah it was a good update from AOSPA, but I have a feeling when AOSPA hits 8.1 these ROMs will rival each other.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
I think realistically due to mobile data in idle etc it will be more like 8-10 SOT but its still awesome. I can't get any other ROMs to drain so little over night.

I use a mix of WiFi and mobile but I'm at home a lot ATM so I have that advantage. Usually I'm out a lot though so I don't use WiFi for like 8-10 hours of the day.

The secret is not adding too many modifications.

Stock kernel (of the ROM not stock device)

Magisk with only a few modules (currently I have none)

Let Android control battery. No task killers. Just use settings - apps and then for each app that doesn't need to run in the background disable "run in background".

Keep screen brightness on auto and adjust it to a point where the screen reads like a piece of paper. Not so bright that it becomes a light source, not so dim you can't see it properly. But don't be worried about turning it up when you need to.

No background sync unless you have loads of data added all day. If you add like 1 event and 1 contact a day just sync after adding them.

Location off. Unless you use it all day get used to toggling it manually.

Reboots eat battery. Minimise reboots and twrp use to only when you need it. Like when you need to flash something or when you need to backup (at least once a week is good).

Most importantly:

Functionality of device > battery life.

Best to use the device as you need it and charge when it needs it. Not using features you want to just save battery isn't right.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dutz14:
Anybody got a pair of xiaomi usb type c ANC earphones?

Mine cannot be used for calls. If I received a call when the earphone is connected, the phone seems to ignore the fact that an earphone is plugged in at all and just utilizes phone earphone and mic for audio input and output.

The headphone icon on status bar shows only headphone (with no mic) if that helps.

The ANC works fine though, it cancels out external noise when I flipped the switch.

Was using MIUI 9 (stable and developer - Nougat non-FBE) and AEX (Nougat FBE enabled) before this ROM and never had this issue so I wonder if it's this ROM issue or oreo ROMs in general.

Also, is it just me or the equalizer (musicfx) is only applicable for the retro music app, not system wide.

Tried deep buffer remover module for magisk but seems to cause no effect.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Chinese Dabao:
Do you still remember your hasty kernel？It has a serious problem.

I am a Chinese, but also your old fans, probably in November 2017, I use your hasty kernel on aicp, to be honest, there was a big problem when my device failed to power on and I tried to force a reboot, But what surprised me was that my phone had crashed yellow screen, but I was able to enter fastboot and twrp, so I immediately fastboot the miui, normal boot, now brush your atomic and aicp aex like this will happen , Only lineage and miui can be used normally. I posted a post in the country and found that many domestic equipment is also because of the yellow core of the kernel, the current can not be resolved, please give help, I am very grateful!:good:

My email address is 503344552@qq.com
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
When you wipe your phone, are you formatting data? As in press wipe, format data then typing yes to confirm. Looks like a similar problem someone had yesterday.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] DavidRJ:
Ah, fair enough. 8-10hrs sounds more reasonable. With mostly mobile data I get about 7-8hrs SOT which is fantastic as I use things like navigation on my commute.

Cheers for sharing your advice, I also am running everything on stock besides Magisk. It really is a great ROM.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] doggi3:
Having SELinux permissive is dangerous considering day-to-day usage?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] steven0110:
Do you mean to leave the rom with its kernel, and flash no other kernel?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
Only if others have access to your device to load up malware really.

Technically remotely installed malware could also be an issue.

Day to day? You'll be fine just don't install any risky apps.

Much better to have it enabled though but since we all seem to use root here I doubt it makes much difference for security.

---------- Post added at 02:41 PM ---------- Previous post was at 02:40 PM ----------

Pretty much yes.

Also xposed etc
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] radutomy:
Thanks so much for posting this, I have the same pair of ANC headphones too and was wondering how they pair with this ROM. Does the mic work anywhere else? eg WhatApp or Skype?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dutz14:
Just tried it with whatsapp voice call, I can hear the output from the earphone speaker but the earphone mic not working at all (no voice at all from the other side).

I think it simply fails to detect the existence of the mic on ANC earphone hence the icon only shows headset (with no mic), assuming the headset icon in status bar acts the same way like the one in MIUI.

If that's the case, I think all of those problem would be solved once we managed to get our device to fully detect the ANC earphone somehow (as mic+headset).

I think I will try to do a nandroid backup and test my earphone on the ROMs I mentioned earlier just to make sure it's not hardware fault on my side.

Perhaps you could do the same? just do a complete nandroid backup and flash this ROM just to test out whether you will encounter the exact same problem or not. I'd be really grateful if you would :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] selfisher:
Very nice rom, smooth and fast. I have a couple of questions tho:

- auto brightness sometimes doesn't adjust brightness properly (too dark or too bright) or is changing quickly with no external light changes, does anyone experience such thing?

- is there a way to disable double tap to wake? I disabled tap to wake/sleep in display and in laboratory but double tap to wake the phone is still working, I'm not using it so probably turning this off can improve battery life

- when I go to apps and open app info I'm unable to click eg battery or data usage row for a couple of seconds, I need to tap several times to open the row details

- how often are you going to update the rom? Will there be a way to dirty flash/update to the next versions?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dickeeli:
According to Reverso, their functionality has been tested on Android Oreo and it works. Assuming they're right, there is something ROM specific about the drawing over apps feature that applies to some apps (Reverso) and not others (Messenger). Any other Reverso users or others with weird drawing over apps experiences?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] radutomy:
Ok, I will do it by Friday... currently super busy with work :crying:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] :
New update has been released on sourceforge: https://sourceforge.net/projects/teamdarkness/files/Atomic-OS/sagit
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] doru15:
Changelog? Can be flashed over 20 January version?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
Adaptive brightness is broken.

Immediately goes to full brightness with no adjustment.

As suggested reboot resolves this if anyone else has it.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] :
Reboot.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
Did it before you said it and yes fixed ;)

Did you change some values?

It doesn't adjust the same way. Better now I think.

Less sensitive to lux changes.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] :
I imported all init files from the latest MIUI. Must've been something there. Not sure :P i'll look into it.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
Seems like whatever was in Init from MIUI has broken the IR blaster.

I've seen it reported on the 8.1.18 build as a bug.

Seems to have crawled into the ROM.

Non crucial feature though
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Yep I can confirm
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] divineatma:
Has the Bluetooth call audio issue been fixed?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] p8pepe:
Reboot does not help. But wipe cache/dalvik does the job :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] :
Will be fixed in next build ;)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
I charge at 30% so this is where the fun stops.

Damn it's good...

End of spam
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] anderson79:
you use a special kernel
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] rzki03:
Hello, Poweramp Music Player notification text are all white and this message are popped up, can you fix this dev ?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] SH1M4BD3:
show me how-to use of microg sir
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] whiteze:
No clue how you get such battery life, since 8.1 its been awful for me, tried just about anything
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] mabs123:
for me autobrightnes doesnt work and proximity sensor is broken. The previous version all worked fine.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] :
Remove /system/vendor/manifest.xml in a root explorer or twrp.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] angomania:
... that is really disturbing.

:good: On the other hand, this is currently the best Mi 6 rom :good:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] mabs123:
Worked well. Thank you.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Marculens95:
Bluetooth is now working or not?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] angomania:
I had the same problem. Thank you.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Ultraschorsch:
It works
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
Nope.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Dobsgw:
https://shadow53.com/android/no-gapps/