yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ChadThunderC:
I've google'd my head off and can't find an answer: is there any way to turn off the randomizing wifi mac addresses every time you reboot? Even unticking Randomize MAC addresses in Wireless & Networks doesn't stop this, and even the description in that very setting says "MAC randomization is used during scanning whether or not this is enabled."

This is a pretty big annoyance for people on corporate routers who have to go into their account every time and add a device with a mac address.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
I'll see if I can find that code and eliminate it, or at least try to make the MAC static when unchecked. I'll let you know if I figure that out.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] duckstardeluxe:
Ah the beauty of stock Android looks on a beautiful device.

Installed yesterday and setup the 96 apps, that I have on my account. Magisk and Greenify with aggressive doze really makes the combo a thrill.

A Wow factor that AOSP features adopted this early in the device life cycle. Thanks a lot John.

Installed Exposed with a few modules (YouTube adaway and Viper that unfortunately made the ROM go into stuck mode at the logo animation. Haven't investigated yet but had to wipe and start over.

Sendt fra min MI Mix 2 med Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] EVEDork:
Thanks. It's really the best ROM yet for the MM2. Already ditched my OP5.

Only other thing on the wishlist would be a way to make holding the back button kill the current app process. Saw home and switcher were bindable in settings, but not back for hold or double press. Being able to hold back and kill the current process is niceeeeee.

---------- Post added at 08:21 AM ---------- Previous post was at 08:17 AM ----------

In my experience, viper caused these problems if I installed anything but the core, magiskcompatibility, v4a2505, and profiles in build prop. Any added things in build prop started giving me bootloops. Try just those four set to true in your viper install prop to start. Using it now, works great (latest viper4arise package).
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ChadThunderC:
Thanks. Do you know if there's any way to boost mic volume? Some value to edit in an xml file somewhere in root explorer or something?

Not sure if it's just this ROM since I didn't try the mic on EU or Global when I was on those, but I'm noticing now my mic recording seems extremely soft to the point where I'm putting my mouth up to the phone on messengers/etc.

I see in an OP3T thread from a few months ago that some people did it with root/system/etc/mixer_paths.xml and path_name=speaker had some values to change (see this link: https://xdaforums.com/showpost.php?p=71570033&postcount=5), but in that quoted link it is one file, in our case I'm seeing three different mixer_paths xml's with three different postfixes (qvr, skuk, and tasha) in the system/etc directory.

I'm thinking it's completely different code somewhere else to boost mic.

I'm surprised there isn't some universal root app to boost mic gain.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] duckstardeluxe:
Double tap to wake screen doesn't work. Is that a known bug?

Setting found under screen, not wake gestures.

Sendt fra min MI Mix 2 med Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
That setting is a bit buggy, however, if you restart your phone, it will work after that.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
Go to developer settings, and at the bottom is a setting to enable lol app with holding back button.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] renzhe207:
It's a great ROM, double tap home button to one hand mode is especially useful.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] duckstardeluxe:
That works. Thanks.

Sendt fra min MI Mix 2 med Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] iXanza:
Hi can I just inquire if proximity sensor is only used during calls? What about ambient display?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
I'm pretty certain proximity sensor is used only for calls. However, if I can get the proximity sensor working, it might be possible to use it for "hand wave" to turn on the screen for ambient display.

The proximity sensor is not the same technology used in other phones, and I know one of the developers for the original Mi Mix was having difficulty implementing hand wave to wake because of the proximity sensor technology.

The sensor used in the Mix & Mix 2 uses ultrasound waves emitted from the speaker & picked up by the mic, and isn't really a sensor in the traditional sense. It's all software based.

So far, the drivers used in the original Mix aren't working on the Mix 2, so there may be different calibration settings for it, or different sound mixer paths, or I may be dealing with SELinux permission issues during boot. Those are the challenges at the moment.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] iXanza:
Thank you so much for this detailed answer. I've just flashed your ROM and it's been pretty good so dar. Just the right amount of customizations IMO
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] iXanza:
Sorry for the double post. I'm getting no connectivity on Mobile data after about 20 minutes. I have to toggle airplane mode on and off to regain connectivity for another 20 minutes. Any idea what could be causing this?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Firipu:
Tried to flash the ROM.

Running Global Rom

1. Unlocked bootloader

2. Installed TWRP 3.1.1-0

3. Wiped Data, Cache, System, Dalvik/Art

4. Flashed XenonHD ROM

5. Flashed GAPPS Mini

Reboot phone and it gets stuck on the bootlogo.

I tried to flash Resurrection ROM, just to see if it works, but it also gets stuck on the bootlogo.

What did I do wrong?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] stroke55:
Maybe you try to not only wipe but also to format the data partition.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] slyyke:
Very good stuff. Using it as my daily driver. One thing to note that's kind of annoying, or maybe I haven't found the config for it yet. The onscreen navbar is fairly big and when its on can interfere with some apps. Big example snap chat in portrait mode. Nav bar hides the Snapchat buttons so you can use them (they're behind the nav bar). Is there a way to shrink the height of it? Or hide it temporarily for times like that?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Firipu:
Thx. I tried to do a format, on top of a wipe. Completely empty phone, except for TWRP. No avail, it still gets stuck on the boot logo :(
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] KOLIOSIS:
Try formatting once more,but,this time,reboot directly back into TWRP,then,sideload the ROM.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
That is a peculiar issue. I've not seen that in my phone, so I'm not sure how to tackle that. I think I'd try wiping cache & dalvik/art cache in twrp & see what that does.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
Yes, this.

For sure reboot twrp directly after formatting data. TWRP for this phone is kinda buggy at the moment, and it causes some weird things now and again.

[MENTION=3512846]KOLIOSIS[/MENTION], on another front: I still haven't gotten a new build that has Bluetooth audio working. I'm at a complete loss at the moment. TeamHorizon made a few changes in their repos and I didn't check that before I re-synced my build. I don't know if that has anything to do with it breaking bluetooth, but I've not changed anything else so...dammit. I forked a bunch of their repos into my git hub and went back a couple versions and I'm rebuilding now. Hopefully I can get it working again.

In the mean time, the 10-25 version on Android File Host is the one with working bluetooth, but no dirty flash :( These are the things that make me go hmmm. (amongst other choice words).
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] KOLIOSIS:
[MENTION=5372388]hondajohn88[/MENTION]

If need be,I can stay on the dirty-flash update for testing/etc.......

I only use B/T audio on my commute to work,not a lot,so,I'm not missing it much.

I usually carry two phones anyway,I can just as easy use the other for B/T audio in the meantime..........
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Firipu:
Just tried doing that. Wipe everything. Format Data. Reboot to recovery. Sideload Rom, reboot to system -> Stuck on spinning logo :(
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] KevinLuong:
Have you tried flashing back to the China ROM first?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
Hmmm, which build are you installing?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Firipu:
XenonHD-171025-Unofficial-chiron
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
There currently is no setting to adjust the height of the nav bar, but if you go into Display settings, and then Expanded desktop settings, you can turn the nav bar off globally, or pet app.

This setting actually just hides the nav bar, and it will pop up with a swipe up from the bottom of the screen, then they reappear for a few seconds.

I'll see if I can find the settings code to resize them or make them customizable.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] slyyke:
Very cool I didn't even realize you could hide stuff that way. Is that android standard or? This should work. I do know RR ROM has those options so maybe check with their github to see what settings that's under? Thanks!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hardspartan360:
You also have a more radical option that i'm using right now.

Using a file Explorer like Solid Explorer you can edit the build prop yo completely disable the navbar.

The Line you're looking for is:

enable navigation bar qemu.hw.mainkeys=0

Change It to:

enable navigation bar qemu.hw.mainkeys=1

Before doing that you should set Up an app to control the phone via gestures. For me the best are All In One Gestures and Edge Gestures. I'm using the former because It allows Gestures from the bottom of the phone. Also It has a option for total immersive mode; ie: hide the status bar also if you want.

Enviado desde mi MI Mix 2 mediante Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Firipu:
Just to make sure I didn't make any mistakes, I reflashed the Global rom over fastboot using the Xiaomi tool, relocked it and all. Then I did the same things again. Unlock, flash TWRP, wipe, format, reboot to recovery, Sideload ROM. Same result.

edit: Tried it a few times. When I tried to reboot one of the times, I got an error stating: "No Os installed" in TWRP. Don't get that every time though.

edit2: I guess I'll suffer through MIUI a bit longer and try again in a few weeks. Thx for all the reactions/suggestions.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] subashchandran:
This rom has OMS support and there is a substratum module to reduce navbar height.

https://xdaforums.com/nexus-6p/themes-apps/mod-navbar-height-changer-android-nougat-t3447956

I usually set it to 30 or 36 anything higher or lower looks disproportionate if your display dpi is set at 411

Note: if you use other substratum themes which modify the navbar this will work alongside with that, make sure you apply this last.

---------- Post added at 06:24 PM ---------- Previous post was at 06:21 PM ----------

I actually ended up in this state after installing global v8.5, how i got out of it.

* Install MIUI 9 beta (globeRom or Epic/EU)

* set it up to get to home screen and reboot once

* reboot to recovery

* Wipe -> format data -> type yes

* Wipe -> advanced -> select cache, system ..everything except OTG

* reboot to recovery via TWRP

* transfer ROM and gapps via MTP

* disconnect USB from PC / or stop file sharing

* flash ROM first - wait for complete

* go back to TWRP home

* flash gapps

* reboot to system (select dont install TWRP app in the prompt)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] KOLIOSIS:
If you want to try again,I ran into the same problem earlier today.

I got as far as you did,w/Global MIUI8 & no OS.

Despite the warning,I rebooted anyway & of course nothing happened,just the MI emblem.

Booted to recovery & it showed the stock recovery ,soooooo......................

I reflashed TWRP,formatted > rebooted to TWRP > side-loaded MIUI8 Global stable = PROFIT.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Raod:
I'd tried to install this rom with this method and by adb sideload without luck. Tried XenonHD-171025-Unofficial-chiron.zip and it flash without errors but ends with the spinning logo at boot. When I try to load the previous version it rejects flashing with error 7.

Sideloading de EU ROM works without problems with the same format/wipes.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] DanteXXL:
Try flashing Chinese Beta, unlock again then switch to other ROMs. I was stuck in bootloop but flashing Chinese Beta solved it.

It was the same situation when I was using the Redmi Note 3, couldn't unlock or do anything with it until I flashed the Chinese Beta :confused:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Raod:
Hi and thanks for your suggestion.

I'll download the chinese beta (7.8.21(7.0-MIUI 9) could work?) and give a try this afternoon. I'd really like to see AOSP in my mix2.

I'll post later with the result. Fingers crossed!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Raod:
Hello again.

After I realized that download by error a Chinese beta ROM for the wrong device (lithium instead of chiron) and while downloading the correct one I tried again to sideload this rom/gapps with the same result, never ending spinning logo. Then I reboot and entered TWRP again and tried to format data again and nothing more. Then reboot to system and voilá! Booted perfectly!

Maybe it helps someone facing the same problem...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ChadThunderC:
Not sure if it's a bug, but I've noticed that when I go to Phone App -> Calling Accounts -> (My Sim) -> WiFi Calling and slide it to "on" and go back, it remains off.

Thus it seems I can't do wifi calling. I can do it on other ROMs, and I've never seen such behavior as the WiFi Calling slider/setting not "sticking" to "on" when I set it to on. The slider itself on the WiFi calling window doesn't go back to off, it stays at "on," but when I go back to the previous window with the list containing WiFi calling, it's "off", and going back into there shows the slider is indeed off.

Hmm.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] GiammyA7X:
Ma quante ne sai? Troppe

An italian way to say that you are a ****ing genius. Thank You
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
That is certainly not normal behavior for this rom. That setting in mine stays on. I just updated the OP to include a new version of TWRP (Thanks very much to IceMan) and a dirty-flashable version of XenonHD.

Please try updating your twrp with the version linked in OP and dirty flash the rom linked in OP.

Please let me know if that helps.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] apokit:
Any news about proximity sensor or about a ROM based on android Oreo?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
I'm still working on the proximity sensor. At this moment, the sensor shows up in an android hardware app, so at least it is implemented, but still isn't functional. It's progress I suppose, but still frustrating.

I'm not going to touch Oreo yet until I get a handle on all hardware for this phone on nougat.

Hopefully the proximity sensor will start coming to its senses soon.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Achi92131:
Dirty flashed new Rom with new recovery. Works perfect. Great work ! Thanks a lot.

Gesendet von meinem MI Mix 2 mit Tapatalk
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] abax4401:
I installed the new TWRP. All my folders show weird random letter/number names now. Is there a fix for that, that you know of?

Thanks
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
Were you encrypted before you installed the new twrp?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] abax4401:
I believe I was, yes.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
That is likely the reason, I'll need to research how to fix that.

I've not run into that before since I don't encrypt, but I'm certain the new twrp isn't able to read the encrypted files that weren't made by it.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] abax4401:
Thanks man.

I've got nothing on my phone at all, can I just delete everything and start clean with the folder name back in place?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
That makes it much easier.

You'll need to format data using the advanced button in twrp and type "yes" to confirm format, then reboot twrp, then copy the Rom & gapps back into the phone & flash.

Formatting data will get rid of encryption.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] abax4401:
I'll give it a go. Thanks

---------- Post added at 06:44 PM ---------- Previous post was at 06:25 PM ----------

Looks like I have no folders now. I rebooted recovery too. Moving my files onto the phone from my computer. Maybe after that's done and I rebooted with a Rom they'll come back?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
Yes, once the Rom boots, it'll create the folder structure again
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] abax4401:
It did. [emoji106]
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Arasthel:
Hi [MENTION=5372388]hondajohn88[/MENTION], I just wanted you to know that sources for chiron kernel are out - or at least it seems that way.

I was able to build a ROM for Mix 2 with no changes. It booted, the phone worked but WiFi module wouldn't load and no A2DP - this last one is probably because I was using a sagit base. There might be other issues, but I haven't tested it thoroughly yet.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] apokit:
Does proximity sensor work in your ROM?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ny-hardcore:
Building lineage from source as we speak.

Using device tree from honda John and using xiaomi kernel source from micode github.

Last build i did was for hammerhead more than 2 years ago though.....:)

Edit: getting all sorts of errors with kernel ebfilter stuff. ...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ChadThunderC:
Anyone else feel the mic recording volume feels low by default (test it on say a voice recording app, or something like messenger sending voice clips, etc)?

Trying to figure out where the xml file would be in root explorer to edit some value that probably looks like MIC_LEVEL_VALUE=(a number too low)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
The file to change would be mixer_paths_tasha.XML in system/etc and there are a number of sound channels for microphone. There are several microphones on this phone. I've personally not experienced low recording volumes, but if you are able to increase the volumes, please let me know and I'll implement it into the rom :good:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] GerManiac:
Yes same here, especially in messenger apps. Would be great if you figure out a fix that can be implemented. ;)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] chimera533:
Just throwing this out there for people with Mic issues. I'm not using this ROM so I can't test it but if you have Magisk there is an "Android Mic Fix" module that sounds like it's designed to address the types of issues being described here. I think it's available under Downloads in Magisk Manager.

I have it installed on my ROM but honestly I hardly ever use voice so I haven't had a chance to do any major testing with it.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Terraalpha:
Hi all

I'm looking for a tool with which you can unpack Xiaomi Roms.

I would like to extract the Stockrecovery from Rom.

Can someone help me?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] allrockedout:
[MENTION=5372388]hondajohn88[/MENTION] hey I'm trying to get Bluetooth audio working on RR. Is there in a simple fix I could try thanks.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
Are you building rr, or flashing an already built rr Rom?

If building from scratch, you need to add android_system_bt repo from my git hub as well as the hardware_qcom_audio repo.

If you're flashing an already built rr Rom, I don't think there's a way to get Bluetooth audio working. The Rom needs to be built with the proper files.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] allrockedout:
Thanks for the reply yeah I'm just trying to get latest build working. I'll give xenon a try.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ChadThunderC:
Thanks. I actually took a better look at the mic positioning, and realized I was still talking into the bottom of the phone like my old phone. Better results speaking right at the front or the top even.

I also noticed that -- according to accubattery -- sometimes I am charging at QuickCharge rates (3200-3300 mah), and sometimes it is only charging at 1300'ish. This is with the stock charger, but even with another QC3 cable/charger I used with my old N6P which worked (and produces the same results of "sometimes" giving me that quick charge rate).

Has anyone else tracked their charge rates to see if they're getting quick charge speed? I'm actually charging right now from about a 45% rate and am getting the QC rates of about 3200, but yesterday I wasn't. I can't imagine if that could possibly be ROM-related, or if it's just the battery tech they used with this phone being finnicky about when it wants to engage QC rates, etc.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] allrockedout:
K just cleaned installed, going to give this a try. Thanks
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] allrockedout:
Is this typical battery results people seeing? 79% 24 min sot
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Raod:
Battery life is pretty good to me...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] YanChivas:
Just a question,in TWRP recovery,under 'mount' settings do we need to tick or untick the 'system partition read only' to install the Rom?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] hondajohn88:
Should untick that if it's ticked
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] YanChivas:
Okay with that sorted out then in 'settings' under 'storage',under 'others' how much GB incurred for all of u?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] slyyke:
[MENTION=5372388]hondajohn88[/MENTION] Hey Im having trouble encrypting my phone. I came from the latests build but in my attempt to fix it I full wiped including userdata. I then flashed rom / gapps using the recommended twrp. On first boot i select restore from cloud (my gaccount) and then after a short while i go to the settings and encrypt area w/o password or pin. It goes to the screen where it looks like its trying to encrypt but after 5 seconds reboots back into system, and it still is not encrypted. This is only a concern as my corporate systems require phones to be encrypted (unfortunately) so i would love to be able to encrypt my device but have not had any luck so far, even after searching and going through what some other folks have done in this thread. Any suggestions?