yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] csabreu:
All went smoothly on my side. Dirty flashed on top of the 0305 build, with the official micro gapps.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] msn100dc:
Sounds like the problem is between the mix and the chair then... Ill take a closer look when i get some time, thanks for the feedback.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] james1089:
Think you should try wiping cache's and system then flash everything over the top.

---------- Post added at 05:56 PM ---------- Previous post was at 05:55 PM ----------

Chair:eek:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] msn100dc:
I solved it with a system wipe. Its common knowledge, but id gotten so used to los wiping system before installed that i began to not do it manually.

As an aside, on the current release I've noticed a deterioration of gpu performance, or perhaps its cpu. In a moba i like to play, arena of valor, ive lost about 10-20 frames of performance when compared to the same setup on March 5th rom. Another vexing issue.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Performance has dipped a bit in the last week or so. I will almost always do a couple of passes in Antutu with every build and I would typically have gotten 170-175k using my own tweaks. Now I'm getting more like 160-165k. My baseline (170k) was be 50k (CPU), 70k (GPU), 40k (UX) and 10k (MEM).

I switched from f2fs back to ext4 about a week ago because I wanted to go back to MIUI, so I expected to lose a little, but not that much. CPU scores are actually staying the same but I'm losing 3-4k off each of the other 3 metrics. As to what's causing it, I'm none the wiser.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] msn100dc:
Glad to see this confirmed. I ran Geekbench not too long ago and got 1800 to 1850 single core, which is almost a 10% drop in performance. Shame. Normally i dont care about benchmarks beyond verifying stock behavior, but the performance difference was jarring.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] drotaru:
Could you tell us the tweaks please I get 135K in antutu would like to reach that farr, but not sure if the tweaks are for score or sustainable with a game like a moba which is what I'd like ( ido about phone heating up)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
In a file explorer with root access, go to /vendor/bin and move the thermal-engine file to somewhere (Downloads folder or wherever). Reboot the phone and let it sit for five minutes. Try running Antutu again.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] msn100dc:
I actually throttle for sustainability when playing games like arena. Phone gets too hot, cpu can see upwards of 75 Celsius if at stock levels for me,and the battery drain in crazy.

Im am fairly sure if you run Gavins mod you'll experience similar, i feel that that is for bursty workloads, games are not. I get 55 to 60 fps throttling down to roughly 1600mhz on the big cores and throttling gpu to 560mhz (on March 5th), and i can play for 4 hours at those settings. And, i can charge the battery concurrently, it stops charging if it is too hot.

It all depends on your priorities.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] trevt:
I switched back to AICP 8.1 from crDroid 8.1. For me it ticks most of the boxes. If the proximity sensor gets fixed down the line I think this is the ideal ROM for the Mix for me. :good:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
I have zero issues with the ROM (short of Proximity) but I am thinking of returning to MIUI due to the fact my Android Auto can't connect to Oreo ?

Just been lazy as I'm not confident in restoring apps with Titanium backup. ?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] albertoduqe:
You wizard! :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] KenshiroGT:
Have question How to fix speaker distorted after flash this rom and How to use full screen mode?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Ultraman666:
Weird I haven't had any distorted audio... You getting that thru the earpiece or the actually bottom speaker? Do you have Dolby Atmos installed it any other audio enhancer installed? If so check to make sure you don't have them maxed out or something
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Update - 22/3

- Add animation to quick settings tiles

- Ambient battery level: use a ⚡ symbol when charging

- Long-press power for torch when screen off
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] thechopster:
Has anyone been able to make a backup and reboot into the backup successfully? I've tried all of the versions of twrp including the newest 3.2.1 raupe blunden version one and I haven't been successful. I always get stuck on the Mi Mix screen. Btw- this happens with recent firmwares
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
This happens with all the Oreo ROMs I've used. I can only assume it's a bug with TWRP. What you need to do after restoring is to flash ROM/GApps again and it'll boot fine. It's an extra step, but it works.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
I have backed up and restored flawlessly to AICP when I tried to go straight back to MIUI.

No issues at all here so I'm not convinced it is a bug with TWRP. One thing though, I dirty flashed AICP from Mr. Raines MIUI at the very beginning of this journey and have never had a lot of the issues people were describing even with Mr. Raines' TWRP. Not sure if I just got lucky, maybe someone else ccan test and come up with the reason.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Which TWRP are you using now? I never had issues with the old MultiROM one. The restore bug is only with the raupe/blunden one. That said, I still strongly recommend people to use it if flashing Oreo, especially those with encryption.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Ultraman666:
Is performance still suffering on the latest?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] juggaknot77:
Found a bug in the battery section...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] juggaknot77:
Here's another shot
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
The last restore I did was with the Raupe one and it completed no problem, no need to flash over the top again etc.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
Here's what mine looks like... I haven't updated to the latest build yet.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] trevt:
Latest build is fine for me.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] msn100dc:
From my testing today everything seems much better. Geekbench still pulls lower numbers for me, around 1800-1900,but actual performance is much better. Im not losing 10 to 20 frames in aov anymore; thats enough for me to jump on board.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I got that a couple of times when upgrading or moving from another ROM without wiping data (which is the only 'fix' that worked for me).

Yeah, performance on RR/AICP/crDroid has all improved markedly with the last round of builds.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Ultraman666:
Sweet then I'm upgrading, ?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] :
proximity sensor

[MENTION=5657304]gavin19[/MENTION] could you comment and give us a status update about the proximity sensor issue ?

Why none of your oreo build has it working? What have you tried so far? what do you think we are missing?

on the official lineageos thread someone posted a unofficial prerelease oreo rom where it was working perfectly the promximity sensor.

the thread im refering to is https://xdaforums.com/mi-mix/development/rom-lineageos-builds-mi-mix-lithium-t3619884

Maybe [MENTION=455439]bgcngm[/MENTION] and you can align how he fixed on this oreo rom the proximity sensor issue?

[MENTION=455439]bgcngm[/MENTION] maybe you want to contribute to this developer? we all would benefit if you share how you fixed the proximity sensor issue. thanks in advance
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
I didn't move from another ROM the last flash was just updating to what was the latest build at the time. It was fine before that for sure. It just didn't really bother me so didn't bother to say...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
albertoduqe and I have both posted builds with working proximity. The problem is that it comes with undesirable side effects. I (and Bert) have came to the conclusion that the benefits of proximity are outweighed by the negatives (no sound in call for either caller or both/occasional reboot on incoming call/broken loudspeaker etc etc).

I check the Lineage gerrit multiple times daily for any new patches so as soon as any land I'll update AICP/RR and crDroid.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] albertoduqe:
Those dollars look fancy :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] :
Really appreciate your work and contribution here for this device
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] juggaknot77:
With a fresh install the device seems to run a lot smoother with the new update, battery runs a lot better too. This one is a keeper for sure.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Kristian91:
Why this?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Update 30/3

- Update to latest sources
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shassouneh:
Just wanted to say this is the best Damn rom for the lithium (mi mix 1). Thank you so much for your efforts and general awesomeness :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] non33:
I'm still on 20171031 build of aicp 12.1

What's the build with the best overall experience?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Ultraman666:
Oreo firehound
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] molichen88:
Wake up slow from lockup. I use the Nova launcher. what should me do?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] csabreu:
[MENTION=5657304]gavin19[/MENTION] Thanks for the new build and April's security patch.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] trevt:
Solid update [MENTION=5657304]gavin19[/MENTION]. Thank you.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
Ok so this is now perfect for me, so glad I also came across the font zip in the firmwares folder, looks way better now. Proximity sensor is brilliant, no more turning the torch on when in calls!! Hats off to the dev. Brilliant.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Alfettone33:
There is a way to get USB Host working? Is the only cons i find in this rom. :P
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
Maybe go into USB options and change from charging only to another option? I have no problems connecting this device through USB to any PC or Mac. Did I understand the question correctly?

The only bug is the laggy camera in Whatsapp and I'm unsure how to fix that but it seems this is a bug across many lineage based roms.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Phaze1585:
Im trying to install this rom on my phone using TWRP by MrRaines. I keep getting error 7. Any thoughts?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] xX.R.O.G.Xx:
Maybe you need to update your firmware
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Phaze1585:
I figured it out. Thanks for the reply tho.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Update - 19/5

- Little CPU cores now properly use default min/max values (307-2188) instead of being locked to (1516-)

- Update to May security patch

Known issues

- Switching between speaker/earpiece in call results in losing earpiece sound so only speaker works

- Camera preview lags in some apps (e.g WhatsApp) and with some camera functions (panorama, lens blur) [Shiny new bug!]
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Wmateria:
Does switching the cpu frequency messes up the cores when being locked at a different frequency?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
The little cores defaulted to 1516/1593MHz min/max when they should have been 307/2188. Even setting them to the default values with something like Kernel Adiutor, they would reset to 1516/1593 under certain conditions (like rebooting). Now they start at 307/2188 and even when changed will stick to the new values. There is no need to change those min/max values now, unless you want to underclock.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Wmateria:
Actually i do want to underclock, but I think it's fine this way since underclocking does not stick properly when changing to a different governor. It resets either way does with all roms both global stock, eu stock, custom roms in general; even with other kernels at this point.

However, the changes you made brings so much improvement on battery drain. The battery drains at a much slower rate than Global stock and Lineage 14.1. The phone doesn't heat up at all too. The all the CPU processors by default goes back to 307 when the device is idle at the moment, and etc. Again, great job with the fix. :) I really like how CPU 2 is offline on power saver mode, i use that mode a lot since I don't play games on the device.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] trevt:
Another solid update [MENTION=5657304]gavin19[/MENTION]. Thank you for taking the time to build AICP, it is very much appreciated.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
No worries. Amazon accidentally sent me a much better CPU than I ordered so I'm down from ~3 hours to 50 minutes for a build. Much more convenient.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] trevt:
Nice one :cool:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Rudolpht:
This is the perfect ROM. Getting one aberrant item. Titanium Pro will not open even with cleaned caches and reinstall.

If there would be a way to make battery work longer it would make the phone perfect.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shassouneh:
Anyone running into this issue below with SwiftKey on this ROM? Only happens in Google Chrome. It works fine elsewhere.

[IMG="Interesting swiftkey bug"]https://s8.postimg.cc/gdndlogut/Screenshot_Jun_16_2018_12_43_10_PM.png[/IMG]
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Are you using 'Dynamic navbar color' in AICP Extras > Navigation bar?

Update - 17/6 (must use at least 8.5.24 firmware, found in extras/firmwares folder)

- Update to June security patch

- Added more accent colours (themes)

- Added more clock/lockscreen styles

Known issues

- Can't think of any right now
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shassouneh:
Thank you for the tip. I upgraded to the latest firmware (at this time) 8.6.17 and the latest build (0617) and that fixed this particular porblem.

However, I am now seeing other issues.

1. Endless crashes ("XXYYZZ keeps stopping"). Happens most often for Calendar, but Gmail and Keep keep doing it (I never used Keep in the first place).

2. Play store searches return nothing. (just a rotating circle)

3. Adding weather provider also returns nothing (just a rotating circle) (see number 2 above)

I did try the following (none fixed the problems)

1. wiped cache / Davlik

2. Wiped cache/storage for the calendar app.

3. Re-flashed the 0617 build

4. Did a full wipe, Re-flashed the 0617 build. Worked great until I flashed the gapps (full) package. Now "Google play services keep stopping".

Unfortunately, I will need to roll back to the 0519 build! :(
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I just did a clean flash of the build and it works fine. Just the ROM and the full GApps package from today. No other apps installed yet. I'm using 8.5.24 firmware but that shouldn't make a difference. That said, you should use the recommended firmware all the same. I only post newer firmwares so they're readily available when the time comes.

> Worked great until I flashed the gapps

Btw, you shouldn't boot into the ROM unless you've flashed GApps already. Sounded like you flashed ROM and booted into it without GApps?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shassouneh:
Thank you for the help and support.

Basically the "typical" flow I use (which worked in the past) is the path of "minimum disruption". Meaning, I typically flash the image .zip only. So what i had done was flash the image (.zip) and firmware only then booted into the system.

That being said, I just restored back to my backup of 0519 and flashed to update to 0617 and flashed the latest gapps package. Now there aren't any crashes but now its saying No sim no service! (unless I use Wifi) ARGH! Progress maybe?

update: Downgrading to the 8.6.5 firmware (I was on 8.6.17) fixed the cellular issue. Now I need to make sure everything works, and snap a backup :)

Thank you!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I was just about to say, having a too new firmware is something that could mess with the SIM/Network functionality but you beat me to it. Glad it's working again.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
As usual an excellent update. No issues at all, battery life is great - one thing, I wasn't able to dirty flash from the previous version, settings would not open but that is a small thing. Once again AICP is the most stable ROM for my device. Others always seem to have way more issues.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Wmateria:
Is there a specific order to load the firmware.. last i tried to install the 8.5.24 Firmware, apply the Rom zip, and then Gapps... or do you install after installing both zips?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shassouneh:
What I did was (and there's no gurantee this is the right order)

1. Install the ROM .zip

2. Install the firmware .zip

3. Install the GApps .zip

4. Boot into the System. DO a quick check to make sure everything is fine, no crashes, data is preserved, etc.

5. Boot back into recovery and perform a full backup

Note: Step 5 is optional but highly recommended. Also, by default step 5 will also backup your firmware which can be very handy :)

Lastly, do NOT use the 8.6.17 firmware (it gave me issues with cellular radio). I used 8.6.5 without issues :)

Hope that helps
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] james1089:
I always flash the firmware first as there are sometimes checks in place that won't allow installation of ROM before the correct firmware is in place.

So I go firmware

Wipe caches

Install ROM

Then gapps.

If you watch miui installs they always flash firmware first.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] psychedelicNerd:
Thinking of upgrading. A few questions.

I intend to install this today. The ROM looks very promising. I am currently on RR (Nougat) and it works perfectly for me. Have been wanting to upgrade to Oreo. AICP looks like a good ROM that I can try. A few questions though:

a) I Have read the thread and it seems like there are no major issues. Anything I should be aware of?

b) Data/LTE works fine? I am on TMobile 4g LTE network

c) If anything goes wrong, is going back to Nougat a matter of restoring a backup?

Gratitude in advance.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Everything works for me, but there may be some niggles I'm not aware of because I don't use the functionality, like NFC etc.

Works fine for me, but again I only have O2/3 (UK).

If you take a full backup in TWRP then you can restore it, but I'd recommend staying with Oreo. To my knowledge, only Lineage still maintains a Nougat-based ROM. Using anything else means you'll always be falling behind on security patches.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] psychedelicNerd:
Thanks. I am assuming if there is a need to rollback, I will have to put Mr. Raines TWRP back (that's what I have installed now). Or should I flash the new TWRP from the first post do a backup of my current Nougat image and then I should be able to restore it back without reflashing TWRP to old one, in case there is an issue?

Thanks again.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
As far as I know the new TWRP works with Nougat and Oreo but I've been on the new TWRP for months and never switched back to Nougat.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
There are no issues at all with NFC, the proximity sensor could do with being a little more sensitive but that is a small niggle. Use the latest TWRP blunden one and everything will be cool. Install Magisk 16.4 during the flash and make sure you install the latest firmware before first boot.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] psychedelicNerd:
Thanks. Can you confirm on the Firmware version number please? There is a post a few posts above where someone reported issues with the latest one and had to downgrade to 8.6.5.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
I'm on firmware 8.6.17 and have had zero issue, clean flash
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] psychedelicNerd:
Everything turned out perfectly and the ROM is running smooth so far. Thanks for all the help guys. Keep up the great work !!!!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
One thing I have noticed because of the underclocking the system clock doesn't always update until the phone is unlocked. I've had to turn off battery optimisation for clock and cLock, not missing alarms now!!!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] psychedelicNerd:
What did you use to underclock? Aduitor?

Also how much did you underclock? Can you share the specifics? Do you see significant battery savings?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
Gavin will confirm that the kernel in the build is underclocked as standard.

I have made no adjustments...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
A user on another thread noticed a problem with alarms specific to the stock app. Is that what you're using (it almost certainly is if you installed any GApps below 'mini')? If so, you can install the Google clock instead, and disable the stock one.

Under heavy load it will be limited to 1824/1440MHz (at most) due to the thermal management, but if you check the overall CPU usage then it should be using the max frequencies too (2342/2188) when it needs to.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
To be honest it is fixed by turning off battery optimisation on the clock, also I installed GApps Full from your mega share, which clock should I disable then? cLock or Clock?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
The only one you need is com.google.android.deskclock. You can see the package name in Settings > Apps > All apps. cLock can be disabled.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] laopai:
The latest version of this rom finally fixed the overheat issue I had been having since long time ago. Thanks a lot!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shassouneh:
This issue is repro'ing even on the latest firmware and ROM. Back to the drawing board. Any ideas?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I'm using RR for a while but I know that it happens to me in Chrome too, but it's black, not white. The buttons are still there but they're black on black, so even though they can't be seen, they can be used. Is this the same for you or is it inert space?

For me, it only happens when I have the Dynamic Navbar Colour option enabled. That's why I asked about it the first time around.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
Actually this didn't fix the issue, only turning off battery optimisation truly fixes the issue for me I am sorry to say. It's no big deal, battery life is still great.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] djjackobyte:
Is this ROM still being updated?