yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
[MENTION=3249724]charlie_kilo[/MENTION]

- download the ROM package from mega. (Link in the first post)

- Wipe your system, dalvik/cache, data in twrp

- Flash the following in this order

1. Firmware (under extras)

2. ROM (from 19.02.2018)

3. Gapps (under extras)

4. Magisk (if you want to be rooted. Under extras).

That should do the trick.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] johnnyb47:
Would it be possible to add the Wireguard VPN kernel module to this ROM? I've been using OpenVPN with RR until now, but it drains about 25% of my battery.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] charlie_kilo:
Thanks - I hope you are right. I will surely try that

However....... I will wait a little while. 5 min ago I just managed to flash the phone with an older Nougat version (RR-N-v5.8.4-20170811-lithium-Weekly). I also managed to flash it with a full nougat Gapps.

I can now use the phone :) Now I know how to flash it with RR nougat and will try in a week or so to see I succed with the new oreo version.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Sure. It worked for me, but my only issue is that I'm not able to flash an updated Oreo ROM as my internal storage I.e. ROMs are not shown in TWRP. Not sure why that is [MENTION=5657304]gavin19[/MENTION] hinted that it might have something to do with TWRPs inability to work along with Oreo ROMs.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
If you look into Oreo ROMs for other devices, some of them will only work properly (especially with en/decryption and mounting data) with an updated/patched TWRP, like https://xdaforums.com/oneplus-5t/development/recovery-twrp-3-2-1-0-oreo-8-0-8-1-t3729673. Psy has told me that we will need an updated TWRP (and we definitely will when it comes to implementing Treble changes). raupe is actively working on updates for TWRP but none are fully functional yet.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Perfect. Looking forward to flashing it once it's released. I'm using your ROM now and wait patiently till I can flash the patched twrp via the twrp app :) also, the dark theme is amazing on this rom.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Yeah, and you can set it to automatically change based on the time/wallpaper. The blur personalizations in that same section are a nice touch too (blur background when pulling down the notification shade).

For others, it's found in Settings > Configurations > Interface > Theming.

The main reason I take RR/AIP over LOS/PE is the Dirty Unicorns smartbar which allows us to add extra nav buttons and configure an action for tap/double-tap/long press on each of them. In Settings > Configurations > Navigation, enable Smartbar in the Navigation mode, then go into Smartbar settings to set it up. It also allows us to add transparency to the nav buttons, change the nav icons, and change the height of the nav bar. You can also save the layout so you can restore it if you wiped system or moved from AICP<>RR.

Settings > Configurations > Recents > Slim recents I find to be much better than the clunky default recents layout. It uses a narrow sidebar (right or left) with small tiles. Especially useful if you have a lot of apps open at once as it makes it much easier to see which are open and switch to them/close them.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
You did a hell of a job. I'm very happy with it! Looking forward to what the future might bring for RR :)

I haven't found the setting, but is there a way to swap the back and recents button by ant chance?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
That's in the smartbar settings I mentioned above. You can drag/drop buttons as well as add more, so you can just swap the back/recents around. There is no quick toggle that does it for you like in MIUI.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Found it plus all the other customisation options. I want to change the icons from the navbar. I wouldn't know where I could find icons to replace them manually, but I'm using substratum now and that seems to work well!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] charlie_kilo:
You are absolutely right. It worked for me to :) I really love this community :)

CK
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] albertoduqe:
WOW Gavin my friend: having a lot of work with those encryption issues :(

I won't be able to be of much help but I will put forth here my view and the little of my experience with Oreo for the Mix...

First: hell of a job with RR and yeah, I might be the second guy around with zero issues. Flashed it, used it a bit, went back to other roms. No problems :)

Second: from the little I know many of these problems are not strictly from the rom and shouldn't have to be solved by the developer. They have a lot to do with twrp. No 3.2... twrp for lithium and things get messy with oreo roms.

Third: data partition is not internal storage guys. Don't mix them up.

Fourth: I had my load of encryption problems a while back and they were basically due to have an encrypted phone. Formatted data and all went happily ever after. Just decrypt your devices people, if you don't want trouble flashing whatever you wanna flash into them.

And that's more or less it :)

Great job Gavin!

Thanks for RR Oreo, really :) I love it.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] hatbo:
gavin hi!

RR ROM 7.1 update released, do you plan to update the firmware for the Mix?

PS or how to do it by myself? )))
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Roman_RO:
Is the 7.0 20190125 build pie or Oreo?

Edit,

Never mind
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] remont5:
Hey, i flashed RR-P-v7.0.0-20190125-lithium-Unofficial.zip

How to change grid size of status bar?

I have now 3x3 but I want 6x2

I tried a lot apps but without effect

Edit: ok I found this settings built in ROM
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] aykutkaraca:
Auto brightness

Hi guys I am using 7.0.0 but the crazy adaptive auto brightness is driving me nuts. I think this is a common bug in RR. How can wte fix it? Please don't say turn it off.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Yamanagi:
Quick question, has anyone else had any issues with using Hotspot/tethering?

It was a working fine on stock firmware, but after I flashed the recommended files for resurrection, if I start up Hotspot, it'll show up on a computer or other device, and it'll connect, but it'll say no internet, even when my phone is in a full service range.

If I need to post logs of any kind, just let me know how to access the correct ones.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] xjesus:
Mine is working with this release:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Yamanagi:
Okay, I'll see about obtaining those versions of everything. It's gonna suck because I'm on a higher version, and I've got to back everything up to flash the older version
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Yamanagi:
Unless there's a way to flash just the base band?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Cheers. I actually tried 3.2.1-0 out of curiosity (the one with broken touch) with a mouse via OTG and it doesn't work at all. I get the error about not being able to mount data, but it also has problems mounting pretty much anything, and it also throws that crypto error. Looks like we need 3.2.1-O and not 0.

I got rid of encryption as a by-product of wiping /data when I switched to f2fs. I've never had a problem since (well, related to crypto at least). Ideally, we should be able to use any of these ROMs, encrypted or not. Hopefully a TWRP update will even things out again.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Thanks for the information. The reason why I thought the the data partition and internal storage were interlinked was because I can't see any of the zip files (or folders such as DCIM) in TWRP. Even after formatting the data partition didn't make the zips appear.

After reading this I think I understand that the encrypted data partition AND not being able to see the contents of my internal storage in TWRP are 2 separate issues altogether. Especially since I AM able to see my files in RR. Just not in TWRP.

I hope that when TWRP is optimised for Oreo both will be solved and I'll be able to easily switch between ROMs as well.

As for the ROM, it's fantastic. And I'm really happy I made the switch from ViperOS to RR. :) Thanks for your amazing efforts [MENTION=5657304]gavin19[/MENTION]
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] noodle089957:
bug music player no sound and problem whit twrp I can't restroe rom and can't mount data or install orther rom
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
Please read the rest of the posts in this thread. You're not the only one facing this issue with TWRP. As for the music player, I can only imagine there are some rough edges that need to be smoothed out considering this is just the 3rd build. Give it some time.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Can confirm that the default music player is broken but any other one I've tried (Rocket/Play music etc) all work fine.

As for the TWRP thing, you'll need to copy everything off the phone that you want to save (pics/vids/music etc). Make sure it's backed up to your PC/Laptop/cloud etc. Boot into TWRP and go to Wipe > Format Data > yes and it'll wipe everything (removing encryption). You can now flash the ROM/GApps again, either by putting them onto a USB stick and flashing them from there, or in TWRP go to Advanced > ADB Sideload and use adb on your PC/Laptop to flash the ROM from there, e.g

adb sideload RR-O-v6.0.0-20180219-lithium-Unofficial.zip
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shantanil:
Let me put in my experience of all the encryption issues. This is a fabulous ROM no doubt, but as mentioned here, I too ran into encryption issues where TWRP (MrRaines) was unable to mount data and my internal storage was not showing on TWRP. I installed the multiROM TWRP linked here through fastboot and on getting back to TWRP was prompted to enter the password. Simply pressed 'Cancel' and entered TWRP after which I performed a data/factory reset. Then rebooted back to TWRP and found a TWRP folder under /sdcard. Connected the phone to the PC and transferred the AICP 13.1 ROM along with the relevant GAPPs Magisk 14.3 and Firmware 8.2.1 to the TWRP folder and flashed Firmware, AICP ROM, GAPPs and Magisk in that order. If you have error 7 simply unmount 'system' before flashing. The flash went fine and I booted to AICP 13.1. Now there is no problem with encryption. TWRP works just fine. So I guess this should be a problem with TWRP being unable to read the /data partition in RR due to encryption. I shall continue for the time being with AICP 13.1 but shall sure return to RR once a relevant TWRP version comes out that does not have this problem. But while it was there, I have to say this ROM was simply awesome.

Just my 2 cents. Thanks once again.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Thanks for the info. Just out of curiosity, were you encrypted before flashing, and are you encrypted now?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] shantanil:
I got encrypted after flashing RR but after flashing AICP with the process mentioned above, I am no more encrypted now.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Avalon:
This is exactly how I did it as well. The TWRP folder that suddenly appeared was peculiar but saved me from not being able to flash this ROM.

I decided to stick with RR and I hope that once TWRP is optimised flashing it via the TWRP app will solve all the issues whilst having RR installed.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] albertoduqe:
That twrp folder is created by twrp after wiping sdcard or making a data reset and booting back into twrp.

Never went into the specifics but the scripts that make it boot into recovery like first time/boot create.

Actually, every time you flash twrp and boot into it, it is created. Only usually you have your storage full of stuff so we just don't see it :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] charlie_kilo:
Ringtones for each SIM card missing

The normal Oreo option where you can set a ring tone for each SIM card seem to be missing in RR. Have anybody you you found it? Under sound and notification I can only choose one ring tone and the. The trigger set ringtone for each SIM card is missing.

CK
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] james1089:
I got that and had to say it was me who signed in on another device email from Google before it worked. Never seen that before

,
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Updated - 23/2

- Vibrate option for in-call notifications instead of beep

- Update Adreno graphics stack

- SystemUI: Disable tuner

- SystemUI: Fix left clock visibility
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] yoodah:
After changing filesystem into F2FS,I succeeded in mounting /data in Multi-ROM TWRP.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
Mind sharing the procedure on how to change to f2fs?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Minh Dao:
On the 20180223 version the sound is not working, video playback from gallery and youtube is laggy
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I mentioned this a few days back but this was one of the things that differs on my device compared to most others. Only a few of us switched to f2fs but I have never had issues with crypto/data mounting. If simply switching to f2fs allowed you to mount data then this could be the key. It's certainly not a solution, but neither is there any harm in doing it, and there is plenty of evidence out there that f2fs offers at least a small perf boost.

For switching to f2fs - https://xdaforums.com/showpost.php?p=73614081&postcount=2

There still is the question of whether it'll work if encrypted or not too. Were/are you encrypted?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Those are all classic signs of having outdated firmware. Did you update to 8.2.1 (you can find it in the extras folder of the download link)?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Minh Dao:
Oh, thanks for help. I've thought that it's bug of ROM so I flashed all ROM like a crazy guy ?

Now it's working ?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Mataujo:
for those who having problem with twrp not mounting data partition change your data partition to F2FS that will fix it (works for me) :highfive:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] rhong:
I exactly did as what the procedure stated but it doesn't mount data, system and cache..so correct me I'd wrong, after converting to f2fs, its should mount all right? Because on my experience, it doesnt hence I can't install any ROMs.so I returned to ext4...
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
No-one has pinned down the exact issue yet. We're still guessing for the most part. When I was trying to think about differences that saved me from the TWRP issues the only thing that set my device apart from 99% of others was that I'd switched to f2fs. This other guy comes along and says he had the problem but switched to f2fs and now theirs is working fine. Maybe it's f2fs or they were encrypted before and they formatted when switching and that killed the encryption.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Update - 24/2

- Added black theme (actual black, in addition to the existing dark theme)

- Added white accent (theme)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] msn100dc:
Works for me. I converted both my data partition and cache to f2fs using your recommended twrp, flashed AICP oreo, magisk 16, and Gapps, also running firmaware 8.1.25 . Booted into rom and then rebooted back into recovery to check. All partitions go (Mount).

As an aside, experimenting tonight i noticed that when I was on ext4 first boot took alot longer, upwards of 3-4 minutes, but after changing to f2fs it was as if i had been simply rebooting my phone after normal use, ie less than 30 seconds. Without logs i know nothing, but id speculate that there is some type of encryption going on, even though as noted, the rom itself states unecrypted even if you cannot mount in twrp. As you say, the solution is functionally the same

bonus is now im on f2fs. When i tried this months ago the thing just wouldnt cooperate, constantly reverting to ext4.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] lieying:
When could we have the official date, please?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] qqjoyko:
The camera is stuck in the dark environment when the flash is turned on.

And the The location icon cannot disappear in the status bar unless rebooting system.

Could you fix these problems:D
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abraham_T.:
hi

1- i wanna thank mr [MENTION=274218]Gavin[/MENTION] for this amazing share (i was waiting for rr oreo for long)

2-thanks foe everyone sharing his experience

3-how on earth can you guys change your data partition to F2FS when not being able to mount data?

i tried to format everything and before flash any i change data partition to F2FS it say not able to mount data

i tried the same after flashing the system, same error

i used twrp BROKEN-TOUCH and MrRaines

any help???
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
IIRC, you need to format first (Wipe > Format Data) so data can be mounted then switch to f2fs. As always, make sure you've got everything backed up to your PC/cloud first.

For TWRP, there is a MultiROM one in the extras folder that I've used for months.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] thechopster:
It's so weird. I had issues of one kind or another with the Oreo ROMs in terms of flashing and thought I would have it for sure with RR. But as a last resort I tried flashing it using mrraines recovery and it works with no issues regarding the data partition- go figure! Great ROM! Love the tweaks on this especially the navigation bar. Hoping that the nav bar can be translucent at some point but having the ability to narrow it or hide it is great! Thanks so much gavin19!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] JonWayne101:
Yeah I flash any rom with mrrainea recovery and have no problems at all..I'm sticking with it !!.

---------- Post added at 08:10 PM ---------- Previous post was at 08:01 PM ----------

1st of all just want to give thanks to [MENTION=7902896]Gavin.[/MENTION].for keeping rr for the mix alive..I have tried a few other custom ROMs in the last couple days and hands down rr is the best in my opinion....so Thanks man !! Donation on the way !!!
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
No worries. The smartbar is why I will always stick with RR (or AICP). I like to narrow it vertically (Settings > Configurations > Navigation > Portrait height), and make the nav buttons more transparent (Settings > Configurations > Navigation > Smartbar settings > Button transparency). The only thing we're missing from there is Dynamic navbar colour, which changes the navbar background colour to match that of the current app (e.g red nav bar in YouTube). I always liked that option.

Agreed. RR > all the rest.

Update - 25/2

- Added partial screenshot as smartbar action

- Updates to f2fs filesystem
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abraham_T.:
@ gavin19

i just wanna say thank you so very much

all is ok buddy
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Hen Ry:
Is there anything new about the data partition?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I haven't been able to find anything that causes the issue. Psy said it's to do with our outdated TWRP. Seems those who're unencrypted are safe.

No-one has reported issues for a few days, but that could be because I put a warning into the OP.

For building all of these ROMs from Oreo sources we're still having to work around the Treble-related commits, like this because a) TWRP can't see the cust partition, b) it breaks some functionality (mainly bluetooth/SIM cards) and c) Magisk won't work because it fails with an error about mounting /vendor. Psy was kind enough to make NT (non-Treble) branches to help in this respect.

Either way, we need a new TWRP.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abraham_T.:
can anyone tell me how to How to delete thermal files on android oreo??
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Using a file explorer (root), delete the thermal-engine file found in /system/vendor/bin, then reboot.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abraham_T.:
i did so . after i delete it one of my apps cant open stick at loading screen
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
I can't imagine how it would break an app. I remove it with every install. Which app?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abraham_T.:
sorry my bad i forgot to reboot

all is good now

thanx again:good:
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Hen Ry:
RR runs beautifully, with Magisk v16 :)

Too bad that TWRP doesn't work :(
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
Agreed. I'm very happy with RR as it is now. It's 99% of the way back to Nougat in terms of speed and functionality.

TWRP (the MultiROM versions at least) work fine for me. I've flashed dozens of builds of RR/AICP/Cardinal/Pixel Experience and LOS over the past two weeks and never had an issue in TWRP.

I'm on 8.2.1 firmware, unencrypted and data/cache set to f2fs. Being unencrypted and/or using f2fs for data seems to have immunised me against these problems.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] akosijabo:
hi! can i use the opengapps from http://opengapps.org/ instead? has anyone tried it?

the sourceforge link on the description for the gapps is really messy for me, the connection breaks easily.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] gavin19:
No. The opengapps website is still stuck at 8.0 but we need 8.1.

If you follow the download link for the ROM you'll see an extras folder. I keep an up to date version of the Full Gapps package there that you can download.

The link for GApps in the OP is the most stable of all the ones I've tried. They were under DDOS attack earlier so that's why it's being slow/not loading. Any other time it's perfect.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] akosijabo:
Glad to know, thanks! Will try this on a better connection back home. Thanks for getting us an RR, always have been a fan of it back on my oneplus one :)
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Abraham_T.:
when i chick my storage it says :

system : 19gb

is that normal?
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] alphamode:
when i flash the multirom twrp from the OP, it doesnt boot up. I get some static at the top of my screen on the MI boot up screen and then it starts the twrp splash and then reboots. I already removed the rom from my device so im essentially stuck at fastboot or mr raines recovery that doesnt see my zips. any help would be appreciated
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] Konstantine34:
I presume your data partition shows 0. So you can have a rom on an otg pendrive then flash it, you also have to format your data to f2fs. If you don't have an otg, just format the data and mount your device as storage to be able to send a rom from the PC.

Ps. If you have some data on internal to be saved, just flash a rom without formatting. Boot into the rom and back up your data then format.
[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] alphamode:
Can I use Mr raines twro to format to f2fs? I was thinking I had to use the multirom twrp but it's not working for me