yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mix Fold 2] ThatsJustLogic:
I was bored last night and decided to see if the brightness issue was solvable (it is but I wont be solving it because I dont actually know how)

I did find the problem though. The GSI brightness slider only ever writes to panel0 and never to panel1 even if panel1 is the one being used.

You can manually write a brightness value for the outer display as long as you have root. Although this isnt a great fix because the slider obviously still doesnt work but it will make your phone more usable.

`echo 2000 > /sys/class/backlight/panel1-backlight/brightness`

This will set the brightness to about 50% max value is 4095. Just run the command in a root shell

You can probably write something to link `/sys/class/backlight/panel1-backlight/brightness` and `/sys/class/backlight/panel0-backlight/brightness` I dont have enough android knowledge to patch this so good luck to whoever wants to try :)
[Xiaomi Mix Fold 2] none24:
I mean honestly its a great find and a great temporary fix because having no brightness sucks lmao.

As much as id love to walk around in tablet mode all day its just not practical so having to write a manual value to it is fine especially if it sticks. Ill test it out on a GSI today and let you know how it goes.

Now if only we could find a permanent solution to the SMS/MMS issue and get TWRP that'd be awesome.

I think I might spend the weekend attempting to build or port it.
[Xiaomi Mix Fold 2] nmhusa:
One of the developers from the elite rom group posted that he was able to achieve twrp booting on mix fold 3. So probably works on mix fold 2. Also posted that the elite rom is running well on mix fold 3.
[Xiaomi Mix Fold 2] none24:
Whatttt that's dope! Would you mind linking to where I can find all of this?
[Xiaomi Mix Fold 2] nmhusa:
It was on the elite telegram channel.

Elite Development Channel

All Elite Roms, Updates stuff will be posted here...	Web: https://www.EliteDevelopment.com.pk	Main Group @EliteDevelopmentforMi	Binance id: 853075128	Only public/free releases channel: @EliteDevelopment

t.me
[Xiaomi Mix Fold 2] none24:
Thanks!! I had no idea this even existed!
[Xiaomi Mix Fold 2] nmhusa:
No public rom posted yet for the mix fold 3. Sadly. I'm going to follow the development and see what transpires.
[Xiaomi Mix Fold 2] nmhusa:
Was able to obtain a beta Mix Fold 3 Elite Lite Rom after sending a donation in and I installed via Fastboot. Rooted with Magisk and am now installing magisk modules. Working well so far.
[Xiaomi Mix Fold 2] none24:
From what little I can gather there it seems like there might be a GSI version -- not sure. but im also not sure how to get access to any DL links to a rom.
[Xiaomi Mix Fold 2] none24:
yep thats what i saw in the telegram group. one guy told me he just installed it via fastboot to his fold 3 , which makes me believe theres a GSI?

not sure.
[Xiaomi Mix Fold 2] nmhusa:
That was myself that installed it via fastboot. I don't know if the rom is a GSI. It was provided to me by the elite rom developer after I sent a donation to him.
[Xiaomi Mix Fold 2] none24:
OH! I see. How did you do it then? was it just the flashall.bat like how the stock firmware files are installed?

(Sorry im not sure whats in the rom file provided) im sending a dono too so I can take a look
[Xiaomi Mix Fold 2] nmhusa:
The rom came with a flash bat file that waited for the phone to be in fastboot mode and then installed and formatted the device. Been setting up the phone this evening after the reboot. Tried magisk and was able to patch the init_boot.img from the rom file and gain root. Installed modules to hide root and checked that all apps are working. Uninstalled some left over stock apps using adb and installed my preferred apps.
[Xiaomi Mix Fold 2] knives of ice:
wait, did mods remove the "we need a fold 3 forum" thread? I can't find that thread now and still don't see a fold 3 forum. I think i'm ready to pull the trigger
[Xiaomi Mix Fold 2] nmhusa:
They moved the mix fold 3 thread to a general thread page.
[Xiaomi Mix Fold 2] knives of ice:
pathetic. that helps no one. open a fold 3 forum or let people post where they want
[Xiaomi Mix Fold 2] nmhusa:
Agreed.
[Xiaomi Mix Fold 2] deuse:
Is that the mix fold 3 in the picture?
[Xiaomi Mix Fold 2] nmhusa:
Yes
[Xiaomi Mix Fold 2] deuse:
Where can I get the rom from?

I never knew that a version of twrp was done.

Does most things work?

I may not sell the phone now
[Xiaomi Mix Fold 2] nmhusa:
Elite lite rom was developed by Mirza. He's on telegram. He can send you the link to the rom if you send him a donation. Most things work like a global rom. It doesn't need twrp to install as it just installs on a fastboot mode mix fold 3 phone with stock rom and unlocked bootloader.
[Xiaomi Mix Fold 2] deuse:
Thank you.

I'm not on telegram.

So I'll wait a bit longer.
[Xiaomi Mix Fold 2] deuse:
Any chance of posting that version of twrp?

I have tried a few I found, but they don't work.

How much should I give to the dev on telegram?
[Xiaomi Mix Fold 2] nmhusa:
8 is usual. I gave 10
[Xiaomi Mix Fold 2] deuse:
Thanks
[Xiaomi Mix Fold 2] adwinp:
Has anyone tried LeOS? They just released an A14 gsi & it seems to be functional on Mix Fold 1. The one issue I'm aware of is that both screens are turned on at the same time.
[Xiaomi Mix Fold 2] OrionBG:
Hey guys,

Can someone post a guide or a link to 100% working one for the Mix Fold 2 for installing a GSI rom, please? I have followed two already and with the official Google A14 GSI rom it never boots... Just stays on the boot logo for a short time, then reboots then stays on the boot logo again, this time for a lot longer time... Then at some point it reboots again and the whole thing repeats...

Thanks in advance!
[Xiaomi Mix Fold 2] adwinp:
Try ponces' or TD first.

Some have reported success with LeOS.

You also need to have an unlocked bootloader & flash a blank vbmeta.
[Xiaomi Mix Fold 2] OrionBG:
Thanks,

I finally got it booting.

My first issue was a problem with the ADB drivers, not the correct driver was loading in FastbootD mode.

Then I was waiting for the recovery to load but the phone was in a closed state so I did not see it actually loading on the internal screen only (the stock recovery).

After flashing the system.img properly and wiping data from the recovery, things loaded.

I tried the Google stock A14 GSI with GMS and the thing boots. It does not in any way recognize the phone as a foldable though. Nothing looks as it should on a big (tablet-like) display.

Only the internal screen works.

No Auto Brightness.

Have not tried any Mobile data options yet. No SIM in the phone.

I wonder if there is a GSI for the PIXEL Fold that might work better...? Also, I need GMS so LeOS is not a good option for me.

Will try the other two.
[Xiaomi Mix Fold 2] adwinp:
Here's a link to ponces' gapps variant: https://github.com/ponces/treble_bu...0.20/aosp-arm64-ab-gapps-14.0-20231020.img.xz

I was referring to LeOS because the dev got both screens to work in the mix fold 1. Chances are it will be the same with the fold 2.

Albeit with bugs - screens cannot work independently.
[Xiaomi Mix Fold 2] OrionBG:
So I installed the latest A14 GSI from here: https://github.com/ponces/treble_build_aosp/releases/

It almost works... Almost

No 5G in settings (but 4G is there for both SIMs, including VoWIFI. Not had time to test though)

No automatic brightness for the internal screen

Outside screen works but no brightness control at all.

I use gestures for navigation and the app drawer is a little wonky but a 3rd party launcher will probably fix this.

Some times the outside screen will not wake up when you press the power button but opening the phone and pressing the power button a couple of times, wakes it.

Still no SMSes are being delivered but sending works.

The tablet mode for apps is available when you play with the "Smallest Width" setting in Developer Options. Setting it over 600 on the internal screen will enable it.

If the SMS and 5G issues are fixed, I'll be able to use it daily.
[Xiaomi Mix Fold 2] OrionBG:
Update:

Had some more time today so I tested the latest A13 Pixel Experience GSI.

I now have full 5G back. With HD Call (Did a test call and I had the HD icon on both phones)

Bluetooth also seems to working.

The SMS issue still persist unfortunately and also WiFi calling does not work. ( You have the settings to enable it but it does not get used.

External screen still has some waking issues but it might be related to AOD... Also no brightness control of it but this will probably require a specific patch.

If I figure out how to fix the SMS delivery issue, I'll be able to do a proper test drive with all of my apps and settings...

IMS Registration is successful. i do see that Voice over WiFi is not enabled there so it might be that the operator has not enabled it for the specific phone model.

Anyone on 1p mobile in the UK? Is wifi calling working for you on your stock mix fold 2 rom?
[Xiaomi Mix Fold 2] OrionBG:
Hey guys,

Time for another update...

After a week of battling different GSI ROMs with variable success, I came upon the Evolution X GSI A14 from 28.10

Guys, you can't even imagine how well the Mix Fold 2 can actually work!

The performance and battery life are quite good. I've rooted it with Magisk and all the apps that I ever had issues with (because of the China-made-Global MIUI and issues running Maggisk hidden) now just work flawlessly. My Galaxy Watch 5 Pro connected right away, My Bank apps are working with no issues, Google Wallet is happy, and all notifications are received immediately!!!!!...

If it only wasn't for my nemesis... the missing SMSes...

I still can't receive SMSes on SIM1 although I was able to make SIM2 to receive them. What finally did it was me opening the SIM Toolkit app that appears for SIM2 (the card has some stupid menus to check your usage, horoscope, weather, and other things) after browsing through the menus for a minute, I began receiving SMSes on that card. Unfortunately for me, SIM1 does not have suck menus so there is no SIM Toolkit icon for it.

To summarize, I'm currently using this as my main phone, and the small issues (except the SMS thing) are not preventing me to be a happy user of this device again.

SMS receive does not work yet on SIM1. sending from SIM1 works.

There is no brightness control for the external screen but the one it stays at is mostly OK. You can change the brightness of the internal screen can be adjusted. No Auto Brightness for now though.

a few apps do not stretch fully on the external screen but they do on the internal one...Go figure...

VoWifi does not work for now...

VoLTE works when you receive a call (HD Icon) but not when you initiate the call...

I'm guessing the last two have something to do with the SMS issue but may be wrong.

Anyway, I put the SIM card in another phone for an hour so I could get all the codes for all the apps I had to install.

On another note, I also tested one GSI that was made from Pixel Fold sources.

Google has put some very nice optimizations here and there specifically for foldables that are not in any other ROMs.

Unfortunately, that specific GSI was not running very well on the Mix Fold 2 as it was specifically made for the Pixel Fold.
[Xiaomi Mix Fold 2] adwinp:
Thanks for taking the time to test & share your feedback.

I tried ponces', TD & LeOS roms with varying success. I hope the issues with the screen brightness & SMS will get sorted once we get an A14 vendor + kernel from the official updates.

On a sidenote, did you need to relock your bootloader for safetynet to stick?
[Xiaomi Mix Fold 2] OrionBG:
Nope, my bootloader is still unlocked but my Lloyds bank app does not care 😁

And this app is very sensitive towards any modifications. For instance, with the original rom and all the patches, the biometric login is broken and the app disables itself every two or three starts.

Here, it works fine. I have just hidden Magisk and added the SafetynetFix MOD.

To be fair, the brightness issue have not bothered me at all. Only the stupid SMS thing is getting me mad...

By the way, I also tried some A13 ROMs and still had the same SMS issue so I'm not sure new Vendor and Kernel will fix it... Why other Xiaomi devices do not have this issue?

I'm wondering if a modem.img from another device would be able to help. Maybe from the Xiaomi 12? Same SoC, 2 sims, should possibly be compatible...
[Xiaomi Mix Fold 2] OrionBG:
Aaaand another update.

I've been using this Rom for 5 days now and thing mostly work quite good.

Two days ago I decided to switch my SIM card so SIM1 became SIM2 and vice versa.

The strange thing was that my main card tha was not getting SMSes (now in SIM2) still is not receiving, while the second SIM (now in SIM1) is still working fine...

Last night I decided to remove my 1pMobile (EE.uk MVNO) main SIM card with one from O2... Oh miracle... SMSes were working fine with it... Sent and received at least 10 messages and made and received a couple of Calls. All calls were marked as HD calls and the audio quality was quite good. Only VoWiFi was not working but this is quite normal for a Chinese device. At the same time my 1pMobile SIM was working fine in the other phone I got the O2 SIM from.

That all lasted until I rebooted the phone (to check if that miracle will survive a reboot)... It did Not... After the SMS receive was broken again and whatever I tried did not fix it... I presuming some initialisation happens at boot that break it...

Question... The latest MIUI DEV Rom, does it have a newer Radio version than the stable 14.0.12 ?

Can anyone using that dev rom share the Radio version, please?

Thanks!
[Xiaomi Mix Fold 2] adwinp:
Thanks for sharing your new findings.

You can always download the dev ROM, extract the HLOS file/modem, & list the strings or use a hexviewer to discover the version.
[Xiaomi Mix Fold 2] OrionBG:
And just like that... My SMSes began working...haven't done anything out of the ordinary...

Even rebooted several times, still working... Will report in a day or two how its going...

Currently trying to figure out how to mod Pixel Launcher to support other icon grid sizes and icon sizes...
[Xiaomi Mix Fold 2] asamuel11:
who is the developer and how can i get it im willing to pay as well
[Xiaomi Mix Fold 2] OrionBG:
This was mentioned for the Mix Fold 3 not for the 2. Mix Fold 3 now has its own forum so if you are looking for anything Mix Fold 3 related, asking in there would be better.
[Xiaomi Mix Fold 2] OrionBG:
Also, here is a quick update on my GSI experience so far.

It has now been one week since I've been using the phone as a daily driver and I like it a lot.

Mind you I also have the Global version of the Honor Magic Vs (with all the GMS bells and whistles integrated) and still, the Honor has been sitting turned off for that time...

Even with the annoying things that I have to deal with, I still like it better than the Honor...

I'm trying to figure out how to mod the Pixel Launcher so it has more App Grid options and a way to change Icon size without affecting the size of everything else. Still waiting for a response from my operator regarding VoWiFi being approved for the device (not ROM related but still...) Some apps are not aware that this is a Foldable device and do not scale properly on the screens but that should hopefully be fixed when Google releases the Android 14 Update (or service pack if you will) that is currently in beta. It will have integrated per-app support for choosing the app aspect. (4:3, 16:9, Full screen... such things) Most Phone Manufacturers that have done Foldables have made custom patches for this till now...

Still no Autobrightnes or any Brightness control over the external screen but that has not bothered me a lot. There is one option to dim the screen in the Quick Buttons so if it is bright in the evening, I just use that. It lowers the brightness by about 10% I think so it gets comfortable again.

Now for the reasons I'm still using it...

1. It is fast... Very Fast...

2. Notifications for everything, everywhere, at the exact moment they are supposed to come.

3. Apps like the pure Android more than you would think. The function exactly as they were supposed to. No weird compatibility issues, no additional "Optimizations" no strange ideas on how your Notification shade should look like...

4. That is a personal one but still... I have something to tinker with... (although it is not mandatory)

My phone i now fully Rooted, Magisk is installed and I can load whatever I need, I have R/W access to System, and even with all of those active, all apps are happy. Google Wallet works, My banking App works. Some other apps that were having issues on MIUI are also working fine. My Galaxy Watch 5 Pro connected flawlessly and no issues there either, I can make and receive HD Calls over 4G and 5G, my SMSes still work :D ...

With some more tweaks and fixes, this could be the perfect ROM for this Foldable...
[Xiaomi Mix Fold 2] OrionBG:
... My SMSes died again...

I updated the Phh Settings App yesterday and this morning it began crashing for some reason (probably because it was a nightly)...

I did not receive one authentication SMS and several tests after that were not successful...

Uninstalling the update did not solve it...

Back to the drawing board...
[Xiaomi Mix Fold 2] OrionBG:
Hey everyone,

It has been a while but last night I had a little breakthrough!

I saw that Xiaomi has released the first DEV beta with Android 14 so I downloaded it, exported all the .img files from the Payload.bin, and flashed them all through Fastboot/fastbootd depending on the partition.

After the ROM booted I looked around to see quickly if there was anything interesting in the "all-new" HyperOS and then I decided to try my luck with GSI again. Flashed the latest Derpfest and rebooted.

It booted, went through the initial setup, and then installed the alternative IMS package.

Created the IMS APN from the PHH Settings and rebooted... Oh, miracle!!! A ton of SMSes flooded the phone.... All the ones that I have not received... Somehow the new base made for A14 seems to have fixed any compatibility issues with the IMS Service and my SMSes work fine (at least for now) I also have some things I never fully got working before, VoLTE and VoWiFi. Both seem fully operational! So happy!

The last major issue I had with GSI ROMs seems gone now... Only the annoyances are left, like Brightness control, Pixel Launcher modifications, and some small tweaks here and there.

No More MIUI!!!

...

The worst part about those Pixel Mods I need is that several days ago I accidentally found one thread here describing how to do those manually (as Pixel Launcher Extended is still not compatible with A14) and I did not save it... Now I can't find it again... There are some XML files somewhere that are holding the entire Pixel Launcher config and by editing those you can make it do almost whatever you want...

The battle continues...

Oh and if I sound like an excited little boy... keep in mind I'm 41... :)
[Xiaomi Mix Fold 2] Cyrax-001:
We are all veterans here, the vast majority most probably +35 :))

I have some questions, is this ROM unrooted? I mean can I use Banking apps with it?

How is the Multi-window experience? is it like that on the Pixel Fold? since the Multi window experience on the official ROM is so limited, you can't even resize the two windows you open simultaneously.
[Xiaomi Mix Fold 2] OrionBG:
The original Boot.img is the one that came with that DEV Beta Android 14 MIUI ROM so it is an unrooted stock one, yes. I have rooted mine and have found it a lot easier to hide Magisk and other things from Banking apps. For instance, on MIUI, I've had a lot of issues trying to hide root from the Lloyds banking app, Google Wallet, and some others, while on those AOSP based GSI ROMs, it usually works fine with just Magisk Hide. Sometimes the Play certification can break due to Google updating something but the developers are quick to patch those.

Multi Windows is as good as any other Android 14 AOSP ROM. As Google envisioned it. No custom changes to those unless the ROM developer has baked some. Using the options from Developer Settings usually makes most programs resizable and able to go in a window so I think you will be good on that front. I can move the middle bar between the apps and make one wider and the other slimmer.

You can testdrive a couple of GSI ROMs and see if you like it. You can always go back to stock MIUI if it does not work for you...
[Xiaomi Mix Fold 2] adwinp:
I'm glad it worked out. I was convinced the vendor from A14 MIUI would solve a lot of these pesky issues.

Could you be more explicit which partitions you flashed? Did you flash to 1 slot only, or both? Did you flash boot as stock or did you disable verity/verification?
[Xiaomi Mix Fold 2] domineus:
I wonder if GSI will work on the mix fold 3. Also where did you find the dev beta with Android 14? I'm waiting 5 days to unlock my bootloader but I am probably going to migrate to GSI at some point after using Elite Rom
[Xiaomi Mix Fold 2] OrionBG:
Basically I used most of the batch file that installs EliteROM with some small changes as some partitions needed Fastboot and some Fastbootd. Most of the partitions were flashed to both slots but I think only should be enough. I flashed all thirty something partitions. Stock boot. Only patched it with Magisk. I did use the vmsomething img to to allow flashing of the GSI rom.
[Xiaomi Mix Fold 2] OrionBG:
The rom link i found here in the forum. It was directly from Xiaomi's servers. There is a Thread for it. GSI are universal so it should boot. How fully it will work is another question but I'm OK with the slight issues here and there. I like that I have something to play with 😁
[Xiaomi Mix Fold 2] domineus:
I'll probably test when I can unlock my bootloader in a few days - unless I can fastboot it...
[Xiaomi Mix Fold 2] OrionBG:
The first step is always to unlock the bootloader. No custom code flashing is possible before that is done...
[Xiaomi Mix Fold 2] Cyrax-001:
Any new updates? how is it going with the GSI Rom?
[Xiaomi Mix Fold 2] OrionBG:
Sorry guys, been quite busy lately but still using the GSI ROMs...

The Issue I had with SMS Delivery is gone now with the mase from the A14 Xiaomi stock DEV ROM.

I have a pretty good idea what needs to be done to fix the Brightness issue but don't have the Android skills to do it yet... have been reading though... Some folding phone-specific things need to be addressed but I'm guessing a system partition from the Pixel Fold will do the trick with some mods.

I actually was able to boot a stock Pixel Fold System.img on the Mix Fold 2 (the Pixels are using project Treble after all) but there were some glitches due to the fact Google have customized it for the hardware of the Pixel Fold.

Hopefully, I'll have some time, peace and quiet during the holidays so I might have some luck...
[Xiaomi Mix Fold 2] Cyrax-001:
Xiaomi Hardware with Pixel Fold software 😍

May the force be with you mate
[Xiaomi Mix Fold 2] OrionBG:
That is my dream...

I actually purchased another foldable several months after I got the Mix Fold 2, the global Honor Magic VS but ever since the GSI option appeared for the Fold 2, the Honor has been in my desk drawer... 😋

I love the bigger screens of the Mix Fold 2 and its thin design! And the unlocked bootloader of course 😁
[Xiaomi Mix Fold 2] roland-2020:
would you kindly share this gsi rom after you sort the main issues out? how stable is it now