yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] abiral_pokharel:
Download the pixel experience rom zip file and save it to your sd card(if you have it it's better) or just internal storage. Then boot into twrp by using adb command or just powering down the phone and holding the power and volume up at the same time for a few seconds. Stop after you see the twrp logo. Then in the main menu of twrp press wipe, then tap format data. Then write yes and swipe. After this press advanced and select everything you see there except Internal and SD(if you have your rom and backups in SD you can even wipe internal but since it's risky DONT select internal and SD) then press wipe and swipe across the screen. With this done press the home button and tap install. Then go to the directory you stored your rom file. Tap it and swipe to install. You might want to install magisk as well for reversing the over clocked CPU/gpu. Then clear cache/dalvik. The reboot you are done once you see the G logo.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Jtz14:
Hello V_v3k

Is it possible to make the settings menu in black colour instead of dark mode?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] mezdez:
are you saying that we do not need to flash the latest developer firmware after (or before) installing the Pixel Experience 8.1 rom?

When i first installed a custom rom on my phone, i followed all the steps (for Resurrection Rom 7.1.2).. But as soon as i do the wipe sequence, it clears out everything on internal storage.. i mean everything - it bricks it completely even after i install rom/firmware etc.. and i require to open up the phone physically and do the paper clip trick to force it into download mode and then reinstall the stock rom/firmware and start all over again
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] abiral_pokharel:
Since you already have twrp you dont need to be in developer rom at all. I dont think clearing internal storage bricks your phone. I do it all the time so I dont litter another rom with previous rom's files and it always runs fine. If you can access either recovery/fastboot mode, you can revive your phone without the paper clip. As far as I can tell clearing the internal storage doesnt clear everything but a partition in the actual storage of the device.

You say you've cleared everything and I think that no operating system is installed in the phone which actually "freezes" the phone into the manufacture logo. Just go back to twrp and install the pixel exp rom or any rom for that matter. You might encounter a problem during setup about entering the old password though that means you haven't cleared the encrypted data. Anyways try doing that, if its actually bricked (no response while pressing power button combination) download the mi flash tool and the official fastboot rom from mi website and then boot to edl using adb (There's a thread here in xda, just google emergency download mode in mi and open the first link. )

PS.: if you can access fastboot, dont panic.

Update: I just now realized, you are a different person than I replied to initially . My bad anyways, the paper clip thing is used to manually unlock bootloader without xiaomi's 3 days waiting time(used to be like 15 days before). I think you tried wiping everything before unlocking bootloader thats why it wiped everything. The person I originally replied to has an unlocked bootloader so there isnt any risk of bricking phone in an unlocked bootloader. And i dont think you need to do that paper clip anymore. The emergency download mode is for that situation. You just need a properly modded fastboot command prompt.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] mezdez:
im not sure what i did but it happens each time i flash a rom from a clean state. And i never wipe internal storage, just everything else.

My bootloader is unlocked. I unlocked it when i first got the phone (it says unlocked in the boot screen). But when i do the wipe, and then go through the rom installing process, it totally fks the device. after installing the rom and other things within TWRP, i reboot to system through TWRP. but it keeps booting back into TWRP. so i then shut down the phone completely, and it wont turn on at all. Fastboot, download mode .. nothing works. No button combination does anything. The charging cable attached to the phone doesn't even trigger the screen to turn on, or any notification lights. Even attaching the phone to the PC via USB doesn't trigger anything on the computer - the device is literally dead

the only way around this was to force it into download mode using the paperclip method, and then reinstalling stock and then installing the new rom on top. Not sure if there was an issue with my TWRP but then i changed the TWRP version, but still same issue.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] abiral_pokharel:
Well I guess something might be wrong with your twrp or the installation media. I owned multiple phones and i always clean the internal ? and none of the phones have ever bricked themselves. I guess you shouldn't clear the internal for the time being. And about forcing to download mode, there is the edl mode which can be accessed using fastboot command prompt without the paper clip. Its there for situations exactly like this.

Your phone doesnt need to respond when connected to the computer for adb commands to work.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] mahdi-ibraheem:
Notes on ROM Pixel for MaxMax 2

Notes on ROM Pixel for MaxMax 2

Hello . 7/8 2018

There are several audio problems

1 voice amplifier in calls and others

2 Sound at the other end is unclear

3 in video shooting sound is very low
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] cooldude20000:
Only audio issue i have is the in video shooting sound is very low
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Ye12222:
Third-party rom call hands-free volume is too small.How should I solve it?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
-- Duplicated --
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Sure mate I'll look into it

Since you've mentioned that you wipe every other partitions apart from internal storage, could you please let me know what are the other partitions you wipe apart from /system, /cache, /dalvik or art cache and /data?? :confused:... Just wanted to make sure you didn't accidentally wipe any other important partition along...

Ok, so I'm joining all the audio related issues together :D... First thing is I'll try resolving some issues (mostly I'll be using Eva's changes for this :p), apart from in call audio. I'm not assuring you that it'll be fixed soon, but I'll try my best along with the others to fix them... :fingers-crossed:

As for the in call audio, I'm currently back at square 1 where we faced exploding audio issues in ear piece, and this is because I've switched to a new audio HAL which, from the next update, will be built from source instead of the one we previously used(from MIUI)... :fingers-crossed:

Since this is done, now we could attend to the volume adjustment issues with ease...

Deep sleep is working as expected... You can try this app https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector.noroot

Make sure to follow the instructions for non root user which at first requires a PC...

Sadly I can't do that mate. Why not request for this in PEX telegram group?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Moresche:
Guess I found a bug.. after my LTE signal is lost, or even i turn on and turn off the airplane mode, my signal won't come back. The only way to solve the problem is by rebooting the cell phone and turn on/off the airplane mode, then It comes back to normal.. any Idea for the solution?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] alexep:
This sometimes happens to me too, but I'm on Lineage. Not always, but sometimes.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Moresche:
This happens to me all the time I lose signal :(
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] NXPT:
The best rom for mi max 2, congratulations.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Jtz14:
Anyone experienced sms app crashing after last update in playstore?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] mfd10000:
Hello!

Is there a way to update Pixel Launcher from rhe market? Update is available....
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] NXPT:
Yes, do not upgrade The sms apk, The problem this him.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Yes I've had this issue too... But in MIUI, before the custom ROMs came up. In my case this happened when the device didn't receive any signal for a long time, and when the signal comes back LTE didn't work. For now the option is to reboot... Not really sure of the cause at present... :confused:

It should be fixed with the latest app update on play Store :good:

Now that you've mentioned it, it shows an error 505 probably because this one is slightly tweaked. There is 1 option... You can remove the default launcher with a root explorer (be informed that you'll need to have another dummy launcher before doing this or you'll be stuck with blank screen or boot loop)...

A workaround which will be added to the main post once the next update would be released:

- For people who wish to remove fingerprint data... Please switch to a swipe lockscreen and then switch back to pattern/pin/password lock then try removing them...

And guys about the update, I'll be pushing it as soon as the latest security patches are available :fingers-crossed:
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Voidablazer:
For daily driver should I use this or msm? Someone who used both please tell us.

Pixel experience seems regularly updated and this seems good.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
This is the first time I'm hearing that it's updated regularly :eek:... Well thanks :D, and if I have to answer this question, both are good ROMs and can be used as daily driver, major difference is options to customize. ;)

Anyway I've pushed another update today so here are the list of changelogs:

Update Release Version: 20180908

System Specific Updates:

* Reverted auto unlock on face recognition
* Switched to OSS Audio HAL
* Optimizations for loudspeaker audio cracking
* Enabled AptX HD codec
* Enabled LDAC for BT audio devices
* Better Signal Reception tweaks

The September Security Patch has not been pushed with this updated, so might possibly push it with the next release...

Treble version users, sorry to break the bubble, but due to time constraints and major unsolvable issues I won't be supporting treble builds...
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] mfd10000:
Great news!
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] linglingftw:
Thanks for the update! Stupid question, should it show under system/ota or will I need to dirty flash? Will wiping the partitions listed affect any app settings or data?

Could you also share a donation link to buy you a beer/coffee?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
You'll receive OTA notification, in case if you couldn't download it through OTA app, then you can use the PEX site ;)...

Dirty flashing is fine if you're on the same ROM, but I would suggest one thing... Wipe /system, /cache and /dalvik or art cache, because at times some system files get appended, so better to wipe these 3 partitions to avoid possibilities of issues even when dirty flashing...:)

And sorry mate I'm not accepting donations ;)

But really thank you mate for coming forward to support our efforts :highfive:
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Dapadapp:
Recording application

Can u attach the default recording in system sir? Thanks:D
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] sleek4923:
Is there any possibility of getting PE Pie on MI Max 2(oxygen)?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] himul:
I like you not to receive donations, but maybe you need to accept, because you accept not ask, and that is our appreciation and gratitude as connoisseurs

and I still use cosmic os hehe ,, I am waiting for the next update
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] mezdez:
just /system, /cache, /dalvik and /data - if i remember correctly.

It seems like it clears literally everything in the internal memory, which is the only thing i can think of as to why none of the buttons or button combinations work. For example, after i'd install the rom after formatting - if i try to exit out of the TWRP through the UI, it will keep booting back to the TWRP - unless i turn it off. If i turn it off, it doesnt turn back on - at all. After I turn it off, PC does not recognise the phone no matter what method i use. The only way the PC does recognise the phone is using the paperclip method. And i have to install everything from scratch - weird

Could it be because i have the black version of the Mi Max 2?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] jbmc83:
devs already working on making android pie bugless for us. just a little patience and im sure we will be rewarded :)
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] sleek4923:
Thank you very much for your response. I just needed Confirmation yes or no.

I'm not impatient, willing to wait any longer...
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
I don't I could add additional apps without permission mate... I'll check with PEX lead dev and will let you know...

The good news is we're almost there... HardRock bro has been really putting a lot of effort into it, I'm supporting him in every possible way too... So are Iscle and many others... Hope to get it ready soon :fingers-crossed:

Thanks man :highfive:... And I'm waiting for some time to check back into Cosmic... It's not updated for a very long time now...

Hmm... That's really odd mate... Actually even I'm having the black color, but have never come across such an issue ever before... And wiping /data doesn't touch your internal storage, wiping is only done when you select internal storage in the partitions to wipe list :confused:...

I believe there's some internal issue with your device, perhaps you should look for a replacement or something :rolleyes:
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Moresche:
Can i make a dirty flash of the new version?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] pkdlca:
Does this support substratum?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] tej12345:
Howzz the incall echo issue?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] sleek4923:
Thank you very very much for your great efforts, bro!!!:o
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Voidablazer:
Does latest Magisk 17.1 work or I have to flash 16.7 version?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Yeah... Sure

Nope, please read the main post before raising questions mate... I've mentioned clearly that it won't support substratum... :eek:

I haven't heard from my contacts about audio echo so far!! ;)

You can go on with the latest version of Magisk... You won't have any issues :good:
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] dhiraj003:
Hi,

I am also facing incall echo issue..
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Hard_Rock83:
We are trying our best and quiet very close..lets see how much time it takes to cook pie:confused:.. it just need a lot of patience and hardwork..

Till then have patience;)
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] jbmc83:
mmmmmm i LOVE freshly cooked pie, delicious :) :D
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] monts19:
where is the link of the twrp provided to this rom
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Okay mate... Think I'll try tweaking something :fingers-crossed:

Me too bro... :p I got a holiday tomorrow, I'll be supporting HardRock bro with his work to bring Pie to our device :fingers-crossed:

I've removed it mate, it's no longer required as I've stopped Treble support completely until further notice...
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Hey guys... New update with September security patch is on way today... Please check your OTA apps/PEX site in a while to get the update!! And please note that this is a quick release so didn't get to focus on the reported audio issues... I'll try tweaking them with the next update...!

Changelogs:

=======================

09-12-2018

=======================

System Specific Updates:

* Security Patch Level: 05-September-2018

* Google Apps updated as on 12-Sep included
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] dieorglory:
Face unlock is missing on the latest update
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Badodoy:
Enabling dark mode of Android messages app failed to produce the desired result.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Hard_Rock83:
For in call audio issue, just go inside kernel auditor and in sound tab make handset microphone gain to 0.. By default its 4.. That's why its echo while u r in call..u have sound mod tweaks in hard rock kernel, just use it lol
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Thanks mate... I'll check it out :)

Hmm... Probably some issue with the app :confused:... Wait for the update from play store mate, it should be resolved... :fingers-crossed:

Thanks a bunch bro :D... I'll add this to the main post so that it's not missed out by anyone :highfive:
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] pengu1981:
no support for fingerprint also in this rom ..
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Strangely new info :confused:... No one has faced FP issues so far... Better try a clean flash mate.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Voidablazer:
Can we bind the hardware up and down volume buttons to a script that edits volume gain in the kernel using kernel auditor?

So we can fix the audio in call bug?

Or hack it some other way like using the released oreo sources of another device with the same or similar hardware?

---------- Post added at 07:58 PM ---------- Previous post was at 07:00 PM ----------

MI A2 lite seems to use the same/compatible audio drivers with MI Max 2. And since it's oreo sources are released, I am thinking of trying to build a kernel using the audio drivers and config files found here

https://github.com/MiCode/Xiao...ource/tree/daisy-o-oss?files=1

Have you tried something similar Hardrock regarding the in call volume bug?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Hard_Rock83:
No not yet..I am quiet busy these days..will check and try that
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] daubh:
DELETED

---------- Post added at 04:34 PM ---------- Previous post was at 04:19 PM ----------

Is it true that if coming from a different ROM, I don't have to wipe /data? It's what the flashing guide says...
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Hmm... Guess I missed that part, anyway I updated the thread now. It is mandatory to wipe data when you are switching from a different ROM to avoid boot issues or other possible problems...
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] daubh:
Safetynet fails

Attached screenshots.

So I was coming from the latest MIUI Beta Weekly.

I flashed Twrp 3.2.3, booted in Twrp, flashed Magisk 17.1. I flashed Magisk after booting into twrp cuz the guide said to do so instead of the dm-verity zip.

wipe data, system, cust, dalvik, cache. Flash rom, flash Magisk 17.1

Ctsprofile in Magisk passes but not safetynet test on the separate app. I wanna make sure it passes for apps.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] sleek4923:
Thank you very very much for your great efforts.

Ray of hope is enough to wait any longer... :)
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Are you able to use secured apps? I mean the ones that require your phone to not be rooted?? If you're able to use them, then it's not an issue... May probably be because they haven't updated to the latest Google API for SafetyNet...

Note: I'm able to use Google Pay and banking apps...
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] daubh:
I am unable to reload balance in the Tim Hortons app. But I have been having that issue since the beginning of this year anyway - probably an app issue since nothing I do (not even stock rom) seems to fix it. Could be my unlocked bootloader but I don't want to go back to a locked bootloader. Dunno why it works fine with the same credit card on my friend's Nexus 6P (unrooted) but not on my Mi Max 2. Magisk should hide the unlocked bootloader status from the app if I check the app right?

I guess a secured app would be Pokemon Go? If it runs until the login screen, it should be good? (I can't remember my login)
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Hmm... Strange :confused:... Yes, Magisk does the job perfectly, though there are some apps that are really hard to bypass (ex: intune company portal and few others)...

And yes, Pokemon Go is one such app... The issue comes up on a random basis, at times when the game is started or when trying to log in or even after logging in. So I would suggest you to give it a shot, I mean logging in (if possible)...
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] reganEZ:
hello everyone!

I cannot download the rom for some reason. Get extremely slow DL speeds and then just gives me error after some time. Trying since yesterday :)

I can download all the other roms(downloaded RR/MSM to try)

Anyone has another link that I can try?

thanks in advance
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] Badodoy:
Looks like you are out of luck. You can download the file only from their website.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] reganEZ:
its only the website that i am having a problem with. Lets see.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] ari666:
I have installed this rom on my friend device. Everything is buttery smooth as expected from pixel rom. Except I have a problem with PUBG Mobile.. He have a screen flickering issue.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Sorry to hear that... But this is just temporary, PEX downloads will be shifted to a different server soon. So you can expect better downloading speeds then. Can't provide an ETA on that ATM...

Hmm... Ok, I'll look into it mate, thanks for letting me know :)
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] ALI AHMED@:
network problem

Network problem after installing custom ROM 1 or 2 days work fine but after that It's showing full network but i can't call. Please help me.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] daubh:
Latest ROM:

Wifi drops every now and then. About 3-5 times a day (from what I can tell when I'm using it anyway). That's while lying in bed, with a pretty strong signal.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] chetchuakaka:
Me too.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Which network are facing this issue on mate? I've been using Jio/Airtel/Vodafone here, but haven't faced this issue... Could you try a network reset once and let me know how it goes?

I'll check out the cause of it and will patch it up with the next update :fingers-crossed:
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] daubh:
The Wifi drops more often when trying to load webpages in Chrome. Haven't seen it happen at all when watching YouTube.
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] ridershahmir:
Guys where to find face unlock?
[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] V_v3k:
Face unlock isn't working at present mate, tried a build today, still the same issue... I believe it's some Gapps issue, will re-sync again tomorrow to check if it's working...

General update:

The ROM downloads has been shifted to SourceForge servers. So better download speeds can be expected starting today :D