yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Is the partition actually encrypted though or does TWRP just think it is?

Some people are getting an error relating to the data partition that mentions crypto but as far as I can see it isn't actually encrypting that partition. All I can say right now is that with the 8.2.1 firmware, unencrypted device, and using this TWRP I have had no problems. If I wipe cache/dalvik it works fine, but it ends with a warning about not being able to mount storage but that's all it is. As far as I can tell it's only saying that because /data is already mounted (and cache) when I boot into TWRP. I can freely mount/unmount the data partition and browse it. What would happen if you flashed this on an encrypted device is unkown.

I flashed TWRP 3.2.1-0 and I got the error message (crypto footer) that some have reported. It doesn't work at all. The only TWRP that works for me is the one I linked to in this comment.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] angryharambe:
can't flash getting "ERROR: 7"

this rom isn't compatible.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Make sure you're using the TWRP (MultiROM!) first, then flash the latest firmware. Both here.

Once those are in place you can flash the ROM/GApps etc.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Konstantine34:
Exactly. Device shows unencrypted through Settings, and internal storage was there. Just twrp doesn't mount the data, shows 0mb.

To be able to mount /data in recovery.

I was using the multi rom twrp that you've linked for a long time. Also 8.2.1 firmware was installed. What went wrong don't know but when I clean flash the AICP, google services whilst setting wizard show ''The device was reset. Enter your previous security pin(or something like that).'' Silly me, didn't back up my 200gb data before attempting to solve it. :D
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
When you say you're not able to see any of your files in the internal storage, what do you mean exactly? You mean using the file manager in TWRP you can't browse to the sdcard folder or it gives an error or...? What happens if you go into Mount and try to mount/unmount the data partition. What exactly do you see in TWRP that says the device is encrypted?

Does 'fastboot format userdata' not wipe all your files (i.e all the stuff in /sdcard)?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
In TWRP, if the sdcard folder is empty, it's either that data isn't mounted or it really is empty.

Damn. Been there before. Sorry you lost all that data. It's not much comfort to you but at least the data could be copied off before having to reset. Are you using AICP 13 (latest build?). If so, I'm interested to see how that goes because it shares a lot in common with RR. If it works then at least I can rule some stuff out.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
When I boot into MIUI my internal storage shows all my files. I made a few random pics and connected my phone to my laptop to confirm if the DCIM folder got populated with those random pics and it does.

This is when I don't have TWRP yet. When I flash the TWRP you linked to in your previous post I see the "mount decrypt data" screen as in the screenshot attached. Every password is wrong even though I haven't set a Screenlock / fingerprint yet.

When I press cancel in TWRP to move on to the homescreen I press install (after I swiped to allow modifications) literally nothing shows. (See screenshot for more pics) internal storage also shows as 0MB.

Another reason what makes me believe the data partition is encrypted is because under mount it gives the option "decrypt data" and data doesn't appear in the list with tickboxes. Image attached.

Yes the command does wipe all files, but I started adding those random pics after I did that.

I truly hope it helps, because it starts to look like something is terribly wrong.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
It would be encrypted now because MIUI encrypts by default. In the mount options you won't be able to decrypt data unless you set a PIN/Pattern in MIUI first. Set one, boot back into TWRP and decrypt data. Once you've done that you should be able to use Wipe > Format data which will kill encryption. If that works you can then use Reboot > Recovery and flash a ROM via USB stick or Advanced > ADB Sideload.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
I will try setting a PIN now to rule this out. If this works doesn't that mean that I can boot back into MIUI and download your Rom and gapps and then flash it?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
No, because you'll be wiping the whole data partition to kill encryption so you'll need to have the ROM etc on a USB stick or connect to a PC/Laptop and use adb sideloading to install.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Tried it. Set my pin to 1234, tried the same pin in TWRP and it still gives me the "wrong password" error.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
IIRC you need to enable the option that asks for the PIN before booting into Android. It's not in Oreo but it's still in MIUI Nougat. After you set a PIN/Pattern it should mention something about secure boot. If you enable that then TWRP should accept it.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Konstantine34:
Yeah no problem. I wasn't intending to format though. Some other things came up. Luckily I've got found my tibu backup of Flat style bar indicator module. I'll be healed sooner lol.

Yes, I was and am using AICP, Im almost comfortable with the nav bar. Everything including no proximity is OK but black caller screen when receiving a call. Thanks for providing it. ?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Flashing the Google dialer will fix that problem.

I should have stuck with AICP. I got lucky building it and overreached with RR. Yes, they still haven't restored expanded desktop but it has 99% of what RR has without these TWRP issues. I appear to the only one running RR that has no problems (yet). Hopefully raupe/Psy can update/pacth TWRP too.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
I can't see anything that says secure boot. I did find the option "Encrypt device using Lock screen password" which I enabled with pin 1234, but still it doesn't get accepted by TWRP. I tried finding the secure boot on Google, but to no avail. After I set a pin it doesn't give me any other additional options unfortunately.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
After I wiped data a "TWRP" folder suddenly appeared under /sdcard in which I managed to copy paste RR from my laptop. It feels like it's one step closer to the solution but unfortunately I get a strange error once I try to flash RR.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Glad to hear it!

The error is because MIUI includes firmware which would have been an older version and got flashed along with it. You'll need to flash 8.2.1 again.

I just uploaded a new RR. It has no specific fixes but for me I no longer get the 'Cannot mount storage' warning.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Will flash it now. A bit off-topic but what's your opinion about using flashfire to update roms?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Never heard of it until you mentioned it. I extract new firmwares as the ROMs drop from MIUI and upload them to Mega. I don't know if FF would even keep track of Mi Mix firmwares. Considering it only takes a minute to reboot/flash/reboot with TWRP I'm not sure what advantages it provides.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Super_SU01:
I was running this rom I decided on going back to RR nougat so I wiped everything except internal after I flashed RR nougat I don't get the setup screen i get a prompt that's says my data is corrupt and that I need to factory reset. I had rains twrp 3.0.2 after a 2nd full wipe I was going to reflash RR nougat but now all of my stuff is gone I mean everything. Now I have probably done so thing that I wasn't supposed to have done, so don't be to hard on me. What would I need to do to fix this. Thanks!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
There is nothing you can do to fix it, as far as getting your data back. You'll need to flash the TWRP mentioned in the OP so you can use Oreo and Nougat if you're going to be switching back and forward. I haven't switched back to Nougat since moving to Oreo so maybe some others users who have can confirm.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Super_SU01:
I sent u a PM
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] StarScream159:
Hey guys! Just got my Mi Mix phone and installed this ROM. It's great! Love it so far. Have a question on where to find some settings though:

The OP says there are "Battery Light" and "Notification Light" customization. I can't seem to find where they are. I must be blind. Can anyone point me in the right direction?

EDIT: wow. I feel dumb. You can just search "Battery Light" and "Notification Light" in the settings search to find the locations. Here I was expecting it to be under the RR Configurations screen.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] noobwork94:
I have had issues with back camera lagging in other camera apps than the system one.

Mx camera, open camera etc... all had back camera lag, but the front camera is working fine.

Rom Version: 2018-05-25 -> 2018-05-31

Firmware: 8.5.10

After flashing the latest update it somehow fixed the lag issue, it wasn't suppose to fix anything besides termals for cpu, from my understanding in previous posts, But it did.

Just though i should share since their maybe others experiencing the same issue.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] amaliestar:
Having a few issues with this rom/latest firmware (8.5.24, also 8.5.17 and 10 tested);

-The back camera lags for certain apps that more seem to have, for me usually happens after phone have been running a while, reboot temporarily fixes it.

-Video playback lag in certain apps as well, like snapchat, facebook, chrome(pornhub's player), also only happens after phone have been running for a while, reboot fixes temporarily.

-Last one, same as both above, works fine after reboot, suddenly stops working; no sound in or out during a phone call, I can hear the call sounds before the person picks up, screen/proximity sensor seem fine as it turns the display off when holding into my ear, switching to speaker mode makes no difference, muted on both ends.

(Think also when this happened recording videos did not catch the sound either, nor does Duo video calls etc, no sound either way).

Again a reboot seem to fix all these issues for a short period of time, I don't know the time between the reboot and issues arising again, or what might trigger it, everything else seem fine and smooth on the phone, can't see any issues with memory or cpu.

OpenCamera and Snapchat are 2 apps that are working perfectly fine for me though on taking pics or recording videos, front and back camera, only playback in snap stutters.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] 315602494:
I have to say that the "suspend actions" of miscellaneous in RR configurations is very good,it does save lots of battery for me when screen off.But I have to reenable it everytime after reboot my phone.Because if I don't it wouldn't work at all:confused:any solutions?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] fritzen:
Very good rom with only one defect... Only 3hrs of sot :(
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zrzatore:
Look what drain you battery
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] sadnessblues:
Longpress to force close app not working at fling navigation bat
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I got around to looking at this and it seems that it can't be made to work in Oreo with the new permissions. I'll just make sure to disable it in the future.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] fritzen:
Now i have charged my Phone to 100%. After 80 minutes with 38 minutes of SOT with chrome, facebook and mail i have 83% of battery left. It's not good for me.

Edit:

this night in about 8 hours the battery dropped from 48% to 32%.

I have installed last firmware, it's right?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] xjesus:
This was working on RR6.0-20180330 and firmware 8.4.4, from that I jumped to RR...0520 and firmware 8.5.17 where it stopped working.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] sadnessblues:
Why disable it, this function is so convenient
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I tried reverting the smartbar code back to before the 30/3 build but it still doesn't work.

I'm not disabling it just for the sake of it. It's not working. Until its fixed there is no point in it being there. It'll just have more people reporting it as broken when we already know that.

I'll take another look at it tomorrow but if I can't fix it then it'll be disabled in future builds until it works again.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] camoway:
I can't install unique controls as a system app.. it just gets deleted!!? Did you guys find a way around this? On rr final, fw 8.5.2
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

Hello, tried to install rr oreo on my mi mix. Cleared everything , flashed rom, and flashed gapps,. on reboot all I get is blank screen, help...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] mmidders:
Have you flashed the firmware and TWRP version from the first post?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

I just realized that I missed the firmware part. Do I flash it first before anything else?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] mmidders:
Yes; not sure if flashing it will fix everything in situ, best to flash it then everything again.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

Thanx, I'll start over and see what happens. Can I flash the pixel camera file? OOps just noticed that the pixel is an apk, duhhh

---------- Post added at 11:54 AM ---------- Previous post was at 11:48 AM ----------

Should I flash magisk and the manager all with rom and gapps one after the other?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

tried to flash firmware first this time , still I get error, didnt install...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Which firmware version are you flashing and where did you get it from?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

I think I may have it. I just realized that I had to put my nandroid backup in and it doesnt have updated TWRP is has the old one. I'll try that...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
From my experience, backups of /data may not work between ROMs. It depends on which ROM was installed when you took it and which ROM you're flashing. Sometimes it'll just boot to a black screen, or it'll boot to the lock screen but it gets stuck in a loop. I find it more reliable to simply backup all the apps with something like Titanium and restore them once booted.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

Still no luck. I put updated TWRP in and flashed firmware and still it failed, what am I doing wrong????

---------- Post added at 02:17 PM ---------- Previous post was at 02:15 PM ----------

Do I only have to wipe data, cache and dalvic?

---------- Post added at 02:32 PM ---------- Previous post was at 02:17 PM ----------

Should I make a new nandroid before I try any of these steps for the new rom, because when it does not work I just use a previously made backup.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Which firmware version did you flash?

Which TWRP did you flash?

Which ROM were you running before this?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
firmware ver. 8.5.10 i think, TWRP ver. 321 , resurrection remix
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Download the 8.5.10 firmware and twrp-3.2.1-raupe-blunden-15.1-updated.img from here and flash them.

When you say you came from RR I assume you mean Nougat? If so, you'd need to start clean - wipe system/data (NOT internal)/caches. During setup you'll be able to restore all your apps that have been synced. I don't use this method so I'm not sure it'll restore everything (like saved game progress etc).

If you want to make sure that you don't lose any app settings/data then you'll need to go back to the old RR and backup your apps (Titanium/oandbackup etc). With them saved, you can restore them no matter which ROM you flash.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
That's what I have been using all those versions you just mentioned but nothing works...

---------- Post added at 03:06 PM ---------- Previous post was at 03:04 PM ----------

I dont think I wiped system...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
In TWRP

- wipe system/data/caches

- flash firmware

- flash RR

- flash GApps

- flash Magisk for root (optional)

- wipe cache/dalvik when prompted

- reboot

Links for the ROM/GApps can be found in the OP.

First boot can sometimes take 5-10 mins.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
I'll give it one more shot, Thanks alot for your time and help. big ups...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

well once again failure. I did exactly what you said and still it fails. I cant even get past the first step of flashing the firmware...

---------- Post added at 09:25 PM ---------- Previous post was at 09:15 PM ----------

error message says "Zip signature verification failed".
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] zrzatore:
Try format backup before
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Disable signature verification in TWRP > Settings.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Yeah , already done, I figured it out about an hour ago. Every thing is in and I'm just reinstalling stuff, I'll see how she works. Thankx bunch for your help. Peace out...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

Hey buddy, is there any way to make this rom fast charging, cause my phone doesn't charge fast now :( :( :(

---------- Post added at 11:53 PM ---------- Previous post was at 11:45 PM ----------

Crazy, now it's fast charging...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
It will usually build up to fast charge. It doesn't start as soon as you plug it in. Sometimes it can take 5-10 minutes to peak.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] bluboy88:
Cant install...

Bangin :):):)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] amaliestar:
Think I'll have to move to a different rom for now even though I like RR a lot, but unable to play videos (lag), make recordings with sound (mic), and make/receive calls (mic & speaker) there's just too many downsides for me still :/

(Even though a reboot may fix it for a short time, I don't want to be rebooting my phone every hour or worry that calls will be muted both ways on random).
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I would highly recommend moving to crDroid. They're 99% similar. I haven't used RR for barely a day since I switched. I've never had audio loss, or lag, or issues with recordings. The bug with switching from ear>speaker>ear is found in all ROMs that I'm aware of (barring MIUI).

The lag issue is puzzling because it sounds like a memory leak (especially so when a reboot 'fixes' it, but then it builds up over time again). When the device begins to lag, you could look into exactly which resources are being used. Simple System Monitor is a free app that'll let you observe CPU/RAM usage. Alternatively, just run the 'top' command from within a terminal.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] amaliestar:
Thank you for the suggestion :) I haven't found any issues with the ram/cpu though while testing videos and stuff, all look normal, but I suspect all issues I mentioned could be related to a audio driver crashing and not starting again, causing lag in videos for some (unknown) reason, because I noticed that when the audio in calls disappears and mic isn't recording anymore, actually all audio on phone was gone, at least it was last time (even when a alarm goes off). And the audio loss on calls wasn't related to switching ear>speaker>ear, just neither worked, and mic was "disabled" too. (Though in the past when also call audio was missing it did make the call sound out once and play the ringtone when receiving call, so unsure, but I will try other roms for now and see anyway, I tried re flashing RR as well but issue was consistent).

*Edit: Oh and about the cpu/ram on videos, it's also never lag in the app or phone otherwise, only the video playback itself, stuttering/slow motion lag but also missing audio.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] brambizimski:
I'm experiencing the same issues as you, lag in videos, not all though, but I do always lose the audio, even for a timer in the clock, same with calls, how is your battery life though? Mine is pretty poor, i'm wondering if it's related. Gonna try crDroid since the maintainer of this rom recommends it.

Are you talking about the issues or the features in RR ?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] amaliestar:
I think my battery lifetime was poor too, seem to hold longer now but I ended up going to RR 7.1 instead as I initially planned, I gave crDroid a try twice, but didn't stay long enough to see if the video/audio issues was persistent because I wasn't able to configure my fling navigation bar (setting custom action apparently crashed the setting menu for me, consistently).

Also tried Pixel experience but that is of course lacking all the features/customizations I want with RR so although I want Android 8 too I'd rather have RR working on 7 x)

I used the firmware 7.9.21 for RR 7.1 which was supposed to prevent the video lag etc, seems to be working fine so far, running for about 20 hours. (If you want to downgrade though be sure to backup all internal storage data first, as you may be required to Format Data in TWRP to use it, it told me when I started 7.1 that I typed the right password but all my data was corrupt, re flashed 8.1 to get back in and backing up all my stuff before formating and installing 7.1).
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
The features. Also, crDroid doesn't have the expanded-desktop-no-wake bug.

I'm going to switch to RR for a few days to see if I can replicate this lag issue. For anyone having this problem, ensure you're using 8.5.10 firmware or above.

That is fixed now. I'm just waiting on them updating to the June security patch to do another round of builds. They've already bumped Lineage 13/14 to June so it should be today some time.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] ducatisto:
Just my 2cents, and i know a 'mine is working' doesn't help anybody, but here i go: mimix 6/256, had some time lately so went through 8.5.10 to 8.5.24 to pixel exp. to miui10 8.6 to gavins RR - which runs perfect and smooth. Tested everything...not a glitch, wonderful. Thanks mate.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] brambizimski:
If you're still running a smooth rom with the latest firmwire by now, then this might actually be the key, i remember having to do the same thing with 7.1 RR if i recall correctly