yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abu25:
Hot Device

Hi Gavin/ all,

Is device getting hot with this build? I switched builds 4 time in the last week and I really don't want to give it another try without knowing if device is getting hot or not. For me with both oreo roms ( yours - the other build and Psy's build ) the device is getting really hot no matter what I do ( surf internet , browse phone, emails .... anything if the screen is on for 10 minutes - the device is getting HOT ).

Thanks for the hard work, I enjoyed OREO for a couple of days and it looks great , but with the device HOT all day long I cannot continue without breaking something in it ( screen burn, battery problems , anything can get wrong when the device is hot all the time ).
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Maybe it's an app that you use that's causing high/constant CPU usage which makes it hot? If it's a specific app then you should be able to identify it with something like SystemPanel.

If you flash Magisk then you can use Kernel Adiutor/Ex Kernel Manager to turn on some temperature control options/limit the CPU.

When you say hot, what temps are you actually getting?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abu25:
I will install it again and I will try to figure it out which app is using the CPU. I did not noticed anything strange in the battery menu ( any app to stand in front :P ). I did not look at the device temperature with an app, but I felt the device in hand that it was getting really hot with or without the cover ( especially the screen upper part ).

I'll let you know if I can figure out what's wrong.

Thanks!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] albertoduqe:
You are the man, mate!

Great job :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] drotaru:
los seems to be the same as this one in therms of battery drain and mobile.battery drain so.I'm gona stick with RR

Thanks for your continuing efforts Gavin!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] migmeil:
thanks [MENTION=5657304]gavin19[/MENTION], with the new twrp everything comes back to work as you play, I have a question? xposed works?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Everything works amazing. No problems whatsoever! Thanks again for your impeccable support :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I can't try it right now as I'm testing another ROM but I know it worked on some of the older builds. It should be fine. Just take a backup of /system in TWRP so you can restore it if you get a bootloop or whatever.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] migmeil:
[MENTION=5657304]gavin19[/MENTION] I installed and all ok, but there are modules that make bootloop go, for example, unique controls does not allow the system to boot
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
That's just how it goes. I haven't used it in years. I went back and installed ~6 modules that I used before. 2 of them blocked the phone from starting, and 2 didn't work properly or not at all. Only GravityBox and some YouTube one worked. A lot of them haven't received updates in a long time.

On the Google+ page for Unique Controls, several users mention that it doesn't work in Oreo. You could always try the app.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Interestingly my file explorer (MiXplorer) shows that my root folder is empty after flashing the new TWRP and the 28/2 update of RR. What raised my suspicion that something was amiss was that the root companion of Gsam battery monitor didn't allow me to install it as a privileged app.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Did you wipe system/data before installing? Also, take a look in the Superuser part of Magisk Manager. If you dirty flashed the ROM then you probably just need to toggle the root permission back on for those apps.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Absolutely, I did everything step for step and after restoring my apps with TB granted super user access again, but to no avail. I even reinstalled mixplorer and tries other root explorers but they all show nothing under /root.

I'll fetch a logcat and reproduce the steps I took to install the root companion. Will report back in a sec.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Empty root folders means either the app doesn't have root or the device isn't rooted. What does Magisk Manager say?

Was MM one the apps you restored? I noticed that restored apps would sometimes crash/malfunction on first launch (Messenger/YouTube) but be ok after that.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Here is the logcat. I tried installing the root companion, opening the root folder, and create a folder in the (empty) root folder which failed.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
I believe I deliberately left magisk out, but even if I didn't and I understand you correctly, it shouldn't matter? What would otherwise be a possible solution? Use magisk uninstaller and reinstall again?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Just what I was going to suggest. Uninstall/reinstall Magisk.

I just remembered restoring Magisk Manager before and it had reset the apps I'd granted root to. It appeared that my file manager etc didn't have root. All I had to do was toggle them back on in MM. You've already tried that, so uninstall/reinstall would be the next step.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abu25:
Hi Gavin,

I reninstalled the latest ROM abd I think I found when the device is getting hot. Apparently it is getting hot when I using the internet connection (Wigi or LTE). Each time Inam downloading something it is hoing over 70 degrees C.

I was restoring my emails on gMail and whatsapp data afterwards and I reached more than 80 degrees C. Every time I use chrome I get over 65 - 70 degrees. Do you have any idea why?

Thanks.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Cheers. Will do! Thanks Gavin

---------- Post added at 11:25 PM ---------- Previous post was at 11:08 PM ----------

Odd... Just uninstalled it and reinstalled magisk, but still nothing under my root folder :/ and what's even stranger is that root works. Adaway runs without issues.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
No idea.

Some Pixel Experience users mentioned battery drain with mobile connections due to high CPU usage. IIRC it was due to the netd process.

When downloading something in Chrome my phone never went above 55C. That was one large file though. I find (even on Nougat) that transferring a lot of smaller files would use a lot of CPU and spike the temps.

Those temps are still within a safe range, but like I said, there are kernel apps out there that can help (downclock/temperature modes etc).
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Is this explorer app listed in MM as having root access?

Which app is this exactly just so I can try? The closest I found was Mi Explorer by MIUI.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] ti325:
I has one of those effected by the no data in recovery after flashing. I've decrypted, formatted and flashed RR. All good till now. I want to update to the latest RR but TWRP (3.0.2) shows the files but can not flash them. Can not even wipe cache. I updated my TWRP and still can not wipe cache and now can not see any files (0mb) once again. I feel like I'm chasing my tail. What the heck am I doing wrong?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
You need the latest TWRP regardless. You'll need it for all future custom ROMs.

You said everything was OK but then you said you couldn't even wipe cache? It also sounds like you tried to flash the ROM before you updated TWRP?

I assume the flashing error was something like. 'This is for device lithium. Your device is....'?

Make sure your firmware is up to date too.

All you can do is what you did before. Backup apps with Titanium, copy the backups and anything else important off the phone, Wipe > Format Data in TWRP, then flash ROM/GApps/Magisk.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
Everything seems to be working.

Can i flash psyman 0.1 kernel over last rr build?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] baristaman:
So I installed the 2/28 build and most everything seems to be working... thanks. But oddly, I can't seem to either edit my APN or add a new one. My APN details are greyed out, and the three dot menu doesn't give me an option to make a new one. Are there any suggestions?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] laincat:
20180225 is ok

20180228 Error 7...........
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
Are you followed the manual and installed firmware 8.2.1 first?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
Its working just fine with me..
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] laincat:
Yes~

1.TWRP_3.1.1-2_multirom_lithium_20170807-01.img

2.Firmware_8.2.1_Mi_Mix.zip

3. rom
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
Wrong TWRP.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Minh Dao:
On the 28022018 build when I'm flashing with TWRP 3.0.2 by MrRaines it says "This device is lithium, but ROM is . "

My phone only can use that TWRP because it's China version.Another Twrp won't working
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
It seems some of the errors are caused by the user itself. Please find time reading the OP as it states almost everything that you need to do for a successful flashing of this ROM.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] thechopster:
I got that error when I used the MultiRom recovery. Flash the new raupe recovery from a few pages back. It worked for me.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] ti325:
It always good to double check.....flashed the correct version of TWRP and all is good. Cheers!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Sure! Here's the link to the app https://labs.xda-developers.com/store/app/com.mixplorer and the link to the thread, just in case: https://xdaforums.com/showthread.php?t=1523691

It could be that restoring MiXplorer and it's data with TB broke sth, but even if I download an alternative root explorer the problem of not seeing my root folder arises.

In the worst case scenario I'll clean install everything again, rom, gapps, and my apps with TB but this time without restoring MiXplorer.

Edit: not sure exactly what happened or changed but after I updated MiXplorer the files suddenly show under /root :silly:. If you haven't heard of MiXplorer though it's worth checking out! It's a very powerful file explorer for which the plugins (cloud integration, FTS, etc) are all free as opposed to Solid Explorer.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Konstantine34:
Hey Gavin. Thanks for the update. Couldn't find any major issue, so I showed up again ? with a visual glitch(on my end). Edit icon gets overlapped while using RTL layout(Im using RTL for a decade). I've taken a look a bit but couldn't find an option to re-place or hide it, there are lots of options, might have missed though.

Besides this BS; TSF completely stopped working, force closes immediately. I've also tried AICP 25.02 build, ended up returning to 10.02 which is the build that Tsf was working on it. I dont wanna seem to be complaining about non-rom related stuffs but as i said(also you've seen it) it was working before and not anymore. That's the crash log in case:

Cheers. ?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Huge relief. We had all hoped that the latest TWRP would finally kill off these crypto/data issues. Seems it's still good for now.

Glad to hear it. I bought Solid a long time ago (coming from ES) but I'll check it out. At the time I thought that ES was the best around but Solid had the edge.

I can edit/add APNs just fine. I can't find any bugs mentioned elsewhere related to APNs. When I was checking it I noticed that the APN for my second SIM was set to some network I'd never even heard of. Might be worth others confirming that they're on the right APN for their SIM (Settings > Network > Mobile Networks > Advanced > Access Point Names).

I flashed a plain Lineage build and the RTL bug is there too (edit/settings icons overlap but clock is right-aligned), but only when the shade is partially expanded. IIRC [MENTION=1826672]blunden[/MENTION] is a Mix maintainer for LOS. Maybe they can take a look.

You might have to write TSF off going forward. It badly needs an update but it doesn't seem like it'll happen. Looks like a similar error with that physics library like last time. As far as I can see, this error is something that can only be resolved by the dev when building. As for AICP, I'll try to build an update later with the proximity fixes, but given that it didn't work with the 25/2 build, I wouldn't be too hopeful.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zencooler:
Right. Th Substratum is working really great. I installed the dark theme (for changing the dialer and few others apps for a dark) and it's brilliant :)

Regards!

---------- Post added at 01:13 PM ---------- Previous post was at 01:07 PM ----------

Thanks you for a great work (again) Gavin.

How to proceed form the previous version (20180225)? Just flash the rom only with wipe for dalvik/cache? Is it enouh?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
You might be able to get away with just wiping system/cache/dalvik but you'll definitely need the new TWRP and the last firmware (8.2.1).
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zencooler:
The newest version of TWRP (twrp-3.2.1-raupe-blunden-15.1-vendor-fstab.img) recommended for this ROM is working fine.

However I realised the one bad thing after this version installed. You can unlock the screen lock without any questions for pattern or code.

Before this TWRP installation I worked with fingerprint+pattern and unlocking the screen asked for fingerprint or pattern. Now you can just swipe to unlock :(

I guess it is connected to the security changes implemented into this version (regarding the issue with encrypted partitions). Maybe it's just skip some security control?

Any others have the same issue?

Let me know, please. Regards!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
PIN and pattern works fine. It's likely because you didn't wipe system/data. Backup your apps with Titanium/oandbackup, wipe sys/data and flash ROM/GApps/Magisk.

The new TWRP doesn't have security compromised. The problem was that the old one couldn't properly decrypt the data partition. Nothing has been bypassed.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Pindarm:
Sounds like this is worth a try ;) Do you change all partitions to F2FS, or is it only Data and System?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] sikiro:
Unlocking the phone

Has anyone experienced any issues with unlocking the phone sometimes either via fingerprint or just pressing the button sometimes doesn't work?. Requires multiple tried to get it back. Also happens in calls with earpeace it refuses to come back even if I press the volume or power button.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] RedCriwx:
I'm experiencing the same issues. Sometimes, I'm forced to force reset the phone (holding the power butto for a few seconds) to be able to unlock the phone.

Doesn't hapen always but, to me, it is a big issue.

Anyway, thanks Gavin for your amazing work.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Just do data. That's the only one that benefits.

ROM version?

ROM version?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
No not the system partition. Only cache and data ;)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] drotaru:
If I activate the speakerphone in the dialer app I permanently lose sound no matter what I do :(

Also I cannot use another dialer ex: Google dialer from apkmirror since I don't have proximity with that one
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zencooler:
Thanks Gavin,

But didn't make any other flash - I mean I didn't upgrade the ROM etc.

The only thing I did the flash new TWRP via fastboot (and made wipe for cache and dalvik only).

So why i should wipe system and data??? My change regards TWRP only and after this the unlocking is not asking for pattern.

Can you explain a bit more this, please?

Sorry for asking you for this, but I just want to understand the logic ;)

Thanks in advance. Regards.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Proximity works with the Google Dialer too but the speakerphone issue exists regardless. It's also on the AICP I just built and the Lineage build from [MENTION=455439]bgcngm[/MENTION] over here, and they're one of the main people behind the proximity fixes.

EDIT: Found similar errors to what I got with alogcat here (LeECO Le Max 2) and here (Mi 5s Plus). Both of those devices, and ours, use msm8996, yet the errors all mention msm8974. Odd.

E/msm8974_platform( 9297): platform_check_backends_match: Invalid snd_device =
E/msm8974_platform( 9297): platform_get_snd_device_backend_index: BE DAI Name Table is not present
E/audio_hw_utils( 9297): send_app_type_cfg_for_device: Couldn't get the backend index for snd device speaker ret=-14

You only need to upgrade TWRP if you're upgrading the ROM. Either flash the TWRP you used before or upgrade RR.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zencooler:
Aaaaaa.... clear! So I will revert back to previous TWRP and let you know the feedback :)

Regards!

EDIT: Checked. Unfortunately, revert back to TWRP_3.1.1-2_multirom_lithium_20170807 didn't change the issue.

Still ulocking without pattern is possible :(

OK. We will see what happen after the next upgrade.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] sikiro:
Hey Gavin I'm on 2/28 I also noticed the back button does not work either on this version pressing it will not go back at all.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
No problems here.

Did you follow the flashing instructions (TWRP/Firmware, wipe system/data, flash ROM/GApps/Magisk)?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rainfactor:
I have successfully flashed the latest version and it's working perfectly so far.

Thank you.

I have encountered 2 problems:

1. I own few Philips HUE lights with a bridge. After installing the ROM I tried to get reconnected with the bridge and the app could not find any Philips lights no matter what I tried.

I have flashed AICP , just to rule out my own hardware, and I got connected right away, back to RR I had the same issue, no devices found.

The lights are fine as I am able to use a OnePlus5 to interact with them with no problem, they show up fine in my router and all the tests that I have performed on them came back with 0 issues.

If i go in the browser on the phone to https://www.meethue.com/api/nupnp, the query comes back successfully with the IP of the bridge but the native app nor other 3rd party cannot see it

2. I couldn't install the Google dialer for the life of me. I have used the same apk I have used with the previous RR version but It kept on going "App not installed"

Not sure what I was doing wrong :o . I ended up downloading the ZIP version from the PixelExperience thread and flashed it through TWRP

Aside from these 2 everything is fine :good::good:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] sikiro:
I have followed the steps I actually did a full factory reset then installed firmware from gapps booted into the system after I instaed magisk
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
You'll need to pull a log (something like aLogCat would suffice) and attach it to a post, or upload to somewhere like pastebin. It's odd that a fault with such a heavily-used function hasn't been reported by now. It'll be interesting to see if anyone else can confirm this.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] RedCriwx:
I'm using the latest (as for today), that's it 20180228, but it comes happening from the very begining. AICP works perfect with the same phone. As I dont get a proper error (only the screen doesn't turns on when it should) I don't think a logcat wolud be useful.

My firmware is 8.2.1. Data partition is on F2FS and system/cache are on EXT4. My TWRP is the one from 3.2.1-raupe (grabbed from the Mega link in the first post). My Mix is the 256GB/6GB version.

Thanks again!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Pindarm:
I just flashed the latest ROM, and I have no problem with my HUE lights. They worked right after reboot. Don't know what's the difference in our setup/upgrade. Did you flash the firmware before flashing the ROM? And did you wipe Dalvik & Cache after flash?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rainfactor:
Thank you for replying.

I neither flashed the firmware or cleaned the Dalvik/cache as I already had it flashed from the previous version and I did not think as clearing the the Dalvik or the cache would help me in any ways. I did a clean flash wiping the whole Data partition

I will try to see if it makes a difference.

It seems to have an issue with all my UPNP devices in the house :D, not a big deal though, I will survive.

I was simply curious if anyone has run into this issue with the latest build.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Pindarm:
I always wipe Dalvik and Cache after ROM flash. And firmware flash before is mandatory, as written in the description. I don't know what it does and why it has to be done, even when we have the latest firmware, but I followed the description, and that worked for me :good: ;) Hope it will solve your problems.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] dizzyberkowitz:
I tested Psy_Man kernels with latest RR

0.1 lithium kernel wont boot at all, just hangs on MI logo

0.1 universal build boots properly, but i get a tons occational hangs in different apps, so this kernel cant be used as daily driver for now

Anyway, RR pretty much stable on stock kernel, on 2nd day after overnight charging mobile standby drain seems to be gone.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
So if I want install this ROM F2FS is a must or EXT4 can still running. Basically I dont want to format my data partition cause many file inside
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
Just use the updated twrp posted by gavin.no need to change to f2fs..
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Lightde:
Is in this TWRP touch working?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] qqjoyko:
My MIX is hard to wake after a period of sleep(about 5 minutes or so) when the setting of expanded desktop "enable for all" is on.

It will not happens when I close the expanded desktop.

Is this happening to anyone?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
Yes it definitely works. Otherwise,Gavin will not include it in the instructions.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Fusionist:
No more encrypted issue?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
No more. thats why safe to flash
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] akosijabo:
Hi! Heard 8.1 opengapps are available. Has anyone tried to install them yet with this rom?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
I did. The Pico package. Works swimmingly ;)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Super_SU01:
Which version of twrp do I need that works,because I don't wanna go through another brick again.

The twrp in the op is this what will work,what does fstab mean, and same question applies will I be able to use this twrp for any other ROMs MM/Noug/Miui8 or 9?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
The raupe/blunden one linked in the OP and elsewhere is the one that everyone needs for Oreo from now on. 8.2.1 is the latest firmware. Whether that TWRP works for MIUI, you'd need to ask one of them.