yashsingh1/xdaforums huggingface dataset:
[Xiaomi 11T] M3t4ll1k0:
I have a problem, bough my 11t in a pawn store second hand and has bloatware from oragange not able to even deactivate not to mention uninstall, my speakers are loud but connecting a usbc to headphone adapter the sound is so low ins unable to enjoy music, though might be the adapter and bout a 175€ Fiio Q3 MQA dac/amp combo usbc to headphone jack and still sound is too low also in options is not possible to activate hifi sound.

As anyone know if flasing a stock xiomi's rom will solve the problem of low volume and be able to activate hifi sound, if so how to do it thx in advance.

Until now to mitigate the problem i use an app called power amp equalizer and jut crac up to 11 the preamp and all bands, it raises by software the volume enough, should work with speaker too. Problem is im using a 300€ audiophile headphones and a 175€ usc dac to listen to MQA lossless files and amplifying the sound by software diminish sound quality, but if using phone speakers it sold not be noticeable.

So tl;dr how to fix low volume on digital usb audio output, and unlock hifi feature or any tweek to improve volume and or sound quality on my 11t like forcing all linux sound system to work at 24b and use high quality resampling or not resampling at all (my dac can handle any sample rat and any bit depth). I know how to do this on desktop linux with pipewire but no clue on how audio system work in android. There is any equivalent to EasyEffects for android that works globaly not per app?

Bonus question any non stock rom or root app will be able to improve audio quality or camera quality?
[Xiaomi 11T] M3t4ll1k0:
If anyone have a similar problem, I found a better alternative to Poweramp EQ for Android wavelet, whay more poerfull simple and with necessary features for free. Beside auto EQ that accept pressets from autoEQ.app you can stack a additional graphic eq and just roll al the slider up to gain a flat +6db after the auto EQ preset makes the equalization for your headphones, after that the limites can be set to apply +5db more after limiting (is there is clipping).

In may case the limiter never kick is even with the auto EQ on plus 32db a second graphic eq flat plus 10db and the limiter addin 5db more... There is no clipping or diminished audio quality In my phone with my setup... Wich only make me think more there is something really misconfigure in android system level audio server/software mixer.

Before rooting or flashing random roms I wish some to give some information about how android Linux audio system work or where the problem is... No wrong comentes/awnsers... Idk anything about android audio, so any info is welcomed
[Xiaomi Mix Fold 2] Cyrax-001:
Upated on 26/01/2024

------------------------

Tested on Xiaomi Mix Fold 2 with HyperOS, and worked!

------------------------

Your Phone should have the simcard, and on Data, NOT WIFI

Create a Xiaomi account (if you don't have one)

1- Activate developers options (Click on OS Version until it gets activated)

2- Activate USB Debugging

3- Activate USB Debugging (Scurity Settings)

4- Activate OEM Unlocking

5- Download the PHP File https://drive.google.com/file/d/1C_jaRrxyrespG5nysw_FXz5MeLcZzerS/view

6- Unzip The File. you will get a folder named PHP. Open it, there should be another folder named PHP. Copy the second PHP folder and paste it directly to C

7- on your device, get into FASTBOOT by clicking power + volume down button

8- On your pc, go to the PHP folder in C, and double click on (bypass.cmd) that will open a windows command screen.

9- Connect your phone while on FASTBOOT. A series of command lines will appear automatically and it will ask you to add your Miui account on developers mode (on your phone).

if everything works, you will see command lines in green. When it finishes, download the MIUI Unlock tool and connect the phone again while on FASTBOOT mode, it will start to unlock the phone, then it will display a message saying that you can unlock it after a week (168 hours) That means you successfully baypassed the silly requirements. Wait for a week and then unlock it again using the Miui Tool. It should unlock immediately.

Here's the Video that shows the steps. It is in Vietnamese, but you can activate the subtitles in English

Thanks to @

Jim1912​
[Xiaomi Mix Fold 2] spiderpool27:
Unlocking the bootloader on Xiaomi devices often involves specific steps to ensure the process goes smoothly. Let's break down the instructions you've provided:

### Requirements:

- PHP 8.0+ installed on your system.

- OpenSSL and Curl extensions enabled in php.ini.

- Download `adb.php` and place it in the `php-adb` directory.

- Download platform-tools and place them in the `libraries` directory.

### Steps:

1. **Download PHP:**

Download and install PHP 8.0 or later from the official website: [PHP Downloads](https://www.php.net/downloads.php).

2. **Enable Extensions:**

Edit your php.ini file to enable the OpenSSL and Curl extensions. This involves finding and uncommenting the lines in the php.ini file that correspond to these extensions.

3. **Place Files:**

Place the `adb.php` file into the `php-adb` directory. Ensure that the platform-tools are in the `libraries` directory.

4. **Terminal Execution:**

Open a terminal and navigate to the directory where `adb.php` is located. Use the PHP interpreter to execute the script:

```bash

php adb.php

```

5. **Enable Developer Options:**

On your Xiaomi Fold 2, tap on "Settings" > "About Phone" > "MIUI Version" repeatedly to enable Developer Options.

6. **Enable USB Debugging:**

In "Settings," go to "Settings" > "Developer Options" and enable "OEM Unlocking," "USB Debugging," and "USB Debugging (Security Settings)."

7. **Log in to Xiaomi Account:**

Log in with a valid Xiaomi account on your device.

8. **Connect Phone to PC:**

Connect your phone to your PC via a USB cable. Ensure that you check "Always allow from this computer" and click OK when prompted.

9. **Follow Script Prompts:**

Execute the PHP script in the terminal and follow the prompts. This script likely interacts with Xiaomi's servers to facilitate the bootloader unlock process.

10. **Wait for Unlocking:**

After successful binding, you may need to use the official unlock tool to check the time you need to wait. During this waiting period, use the device normally, keep the SIM card inserted, and avoid logging out or turning off Find My Phone.
[Xiaomi Mix Fold 2] Cyrax-001:
I highly appreciate your effort and answer, although the 2,3,4 steps are still relatively vague to me (Since I have never done that before) I will follow your steps and come back to you here in case of any question.
[Xiaomi Mix Fold 2] spiderpool27:
Okay
[Xiaomi Mix Fold 2] Cyrax-001:
It's hopeless, the only thing I could do is downloading the file, I didn't even know how to install it, leave aside anything else. I believe I'm gonna keep looking for a way to disable the Powerkeeper Sh*t to fix the notification's delay... This method is way beyond my abilities
[Xiaomi Mix Fold 2] Jim1912:
Try this
[Xiaomi Mix Fold 2] Cyrax-001:
Thanks for sharing. I will try it tomorrow and report here
[Xiaomi Mix Fold 2] Cyrax-001:
it gave me a (fatal error), this error is displayed in the video but he only recommends to (disable anti virus)? I disabled the anti virus on my pc but nothing changed
[Xiaomi Mix Fold 2] Cyrax-001:
It seems it worked using the method in the video which requires only double click on (Bypass), The PHP folder should be directly in C partition. It was at first in another folder named PHP that's why it gave the fatal error.

Now I have to wait 168 Hours.
[Xiaomi Mix Fold 2] Cyrax-001:
I will update the thread today and post the exact steps so that everyone will be able to unlock the bootloader
[Xiaomi Mix Fold 2] jh7:
Good day,

is it possible to unlock the bootloader on a Xiaomi Redmi Note 13 Pro 5g (global) phone that does not have HyperOS this way? If not, is there any other option? Thank you very much.
[Xiaomi Mix Fold 2] SANTIAGOCHGD:
Gracias hermano, lo logré, solo era seguir las instrucciones del vídeo pero ya lo logré, solo me queda esperar las 168 horas, nos puedes informar para ver si funcionó?
[Xiaomi Mix Fold 2] Jim1912:
Any update?
[Xiaomi Mix Fold 2] Cyrax-001:
Sorry I have been so busy. I will update it today
[Xiaomi Mix Fold 2] SANTIAGOCHGD:
Waiting sir
[Xiaomi Mix Fold 2] k41th1ng5:
Why all this process? Having the official method too (silly question but I don't understand 😅)
[Xiaomi Mix Fold 2] CityKev:
Xiaomi have made it much tougher to unlock the bootloader if the device has been updated to HyperOS. It's not just a case of using the unlock tool and waiting for up to a week. One element is passing a test by getting at least 80% correct but looking at sample questions I highly doubt many would ever get that score.
[Xiaomi Mix Fold 2] Cyrax-001:
Thread updated
[Xiaomi Mix Fold 2] Cyrax-001:
If it is still on Miui you don't need all of that, just download Miui Unlock tool and unlock it. You still need to wait for a week though
[Xiaomi Mix Fold 2] Ghost K&M:
Thank you for the guide. I'm going to try it, but the only thing that worries me is the 168-hour wait... Maybe it's possible to bypass the 168-hour wait in this way by using the modified version of the Mi Unlock Tool that does not compel the user to wait for 168 hours. As unlocking the bootloader on Mi devices is pretty common, many developers have created modified packages of Mi unlock tools. In such tools, the restriction to wait for 168 hours is eliminated, which enables you to unlock the bootloader instantly.
[Xiaomi Mix Fold 2] Cyrax-001:
I wish I knew that last week 😅😅

If you try it and it works, please report back and I will update this thread accordingly so that people don't need to wait for a week
[Xiaomi Mix Fold 2] masA6:
Tested on my F5 and it worked, even though I have to wait 168 hours first...
[Xiaomi Mix Fold 2] deltaweb73:
Hello everyone, I bought a Poco F5 yesterday and, as I always do with all the Xiaomi devices I've had in the past, I was getting ready to unlock the bootloader to replace the classic original MIUI ROM, which is filled with spam and ads, with a Lineage 20 (which I still use on another Poco smartphone, an F3 that's two years old but still works excellently). Unfortunately, I hadn't read the testimonials from those who, recently, have switched to HyperOS and, convinced it was a traditional MIUI with an upgrade to Android 14, maybe with some ad hoc customization, I calmly did all the OTA updates that were suggested by the phone.. And I made a huge mistake! With the December 2023 version, the Global, HyperOS blocks any attempt to unlock. Using the Mi unlock tool (version 6.x and 7.x) a generic error message appears and on the smartphone, when checking the boot loader unlock status (in the developer options), another error message appears, telling me to "go check my user settings in the Xiaomi MI community forum".. Perplexed, I start reading about Xiaomi's policy change regarding unlocking, including a questionnaire to reach the so-called Level 5 of Android developer for Chinese users. Initially, I thought it was something limited to the Eastern market, but unfortunately, the many testimonials on Reddit and other sites convinced me that the block was not due to some error of mine or something not working at the software level on the PC. Luckily, immensely thanking Cyrax-001 here on XDA, I found this thread and wanted to try the method he proposed. This time the procedure did not give an error on the smartphone, a message appeared saying "to try again in 1 or 2 minutes" but connecting the phone to the PC and launching the usual unlock tool, this time the message correctly appeared to wait the famous 7 days to complete the procedure. Regarding the steps taken, I confirm that it's enough to copy the "php" folder of the zip file onto the root of the HDD and having already installed ADB on the computer, I simply installed the self-installing XAMP package (https://www.apachefriends.org/) that configures PHP on Win. Finally, as per the guide, I launched the "bypass.cmd" command as an administrator from the classic command prompt, a few moments and it's done. I'm linking this thread also in the section regarding the F5 in case this guide could help someone else and obviously, I thank the entire XDA community for the valuable support. Ciao ;)
[Xiaomi Mix Fold 2] CityKev:
This is interesting as it states that you can unlock the bootloader if you have updated to HyperOS with two simple conditions:

You have been logged into your Mi account for at least 30 days

You have downloaded the Xiaomi Community app (no need to participate)

How to unlock bootloader on Xiaomi HyperOS? - Xiaomiui.Net

Xiaomi HyperOS was officially announced on October 26, 2023. During the announcement, Xiaomi announced that it will go to some restrictions. Some of these

xiaomiui.net

I don't have HyperOS currently (it's not clear if the Redmi Note 10 Pro will get it or not) so I can't test to see if it is correct or not.
[Xiaomi Mix Fold 2] CityKev:
Further to my post above here is a screenshot from XDA with the full details of unlocking the bootloader on HyperOS:

Edit: I've just gone onto the Xiaomi Community app and settings~unlock bootloader. It gives the details here and it's good news as you can unlock if on HyperOS (I've deleted the original XDA post). All Xiaomi accounts registered outside China can do it and the other main requirements are that you have been logged into your Xiaomi account for at least 30 days and that you have downloaded the Xiaomi Community app. There is no need to participate in the Xiaomi community unlike in China and no test to pass.
[Xiaomi Mix Fold 2] DarkXylese:
I have done this exact thing, by finding this polish article first (it has the apk for the community app that works). You also need to set your account to global - just translate the page with google translate, and follow the steps. But I had an account from 2022 (when I got the auth key for my Mi Band 5 to connect it to GadgetBridge), and with that account, I managed to pass all of the steps without waiting 30 days, and have my wait time now set to 72h.

So all in all, can confirm this way works
[Xiaomi Mix Fold 2] DarkXylese:
Try following the steps from the article I linked in the message above
[Xiaomi Mix Fold 2] CityKev:
Even though my device (Redmi Note 10 Pro) doesn't have HyperOS & might not get it I've been authorised to unlock the bootloader (valid until next February).
[Xiaomi Mix Fold 2] NOSS8:
The unlocking mentioned below is supposed to only work with Global devices:

Xiaomi HyperOS BootLoader Unlock / Bypass Xiaomi Requirements (Simplified Method)

Upated on 26/01/2024 ------------------------ Tested on Xiaomi Mix Fold 2 with HyperOS, and worked! ------------------------ Your Phone should have the simcard, and on Data, NOT WIFI Create a Xiaomi account (if you don't have one) 1- Activate...

xdaforums.com

thank you to a Xiaomi Mix Fold 2 user to confirm whether it works or not
[Xiaomi Mix Fold 2] tutruelove1:
hi sorry to bother you, my question is if I unlock the bootloader on hyperOS then when the data is erase I will be downgrade into miui or I will stay in hyperOs with the unlock bootloader?
[Xiaomi Mix Fold 2] CityKev:
You would stay in HyperOS but with no further official updates. You would have to flash EU ROMs or similar.
[Xiaomi Mix Fold 2] GiaBảo0501:
help me, It shows like this and won't let me unlock it
[Xiaomi Mix Fold 2] Prydateer:
I get an error:
[Xiaomi Mix Fold 2] Cyrax-001:
Did you follow all the steps precisely? Are you on mobile data? You shouldn't be on wifi.
[Xiaomi Mix Fold 2] Prydateer:
Hi m8. Yes I did. I am on 4g on my mobile. My pc is connected to my wifi of course
[Xiaomi Mix Fold 2] Prydateer:
DELETED
[Xiaomi Mix Fold 2] Prydateer:
I found this but I don t understand:

Fail to send request, check your internet connection. · Issue #73 · MlgmXyysd/Xiaomi-HyperOS-BootLoader-Bypass

一点击绑定设备移动数据就会自动关闭

github.com
[Xiaomi Mix Fold 2] NOSS8:
The servers reset at midnight Chinese time, try later.
[Xiaomi Mix Fold 2] Prydateer:
I m already trying it for days. I think it is another problem. When I run the bypass command I can very briefly see my 5g icon on my phone disappear. So it seems like some kind of connection problem.
[Xiaomi Mix Fold 2] NOSS8:
Could be the problem but this method is not 100% guaranteed.
[Xiaomi Mix Fold 2] Prydateer:
Can you try to help me out?

I fould this:

Fail to send request, check your internet connection. · Issue #40 · MlgmXyysd/Xiaomi-HyperOS-BootLoader-Bypass

Stuck on "Fail to send request, check your internet connection". Then I found that $data was null. Value of $args or $headers exists, but it can't decrypt the $args or $headers. Here's the result. ...

github.com

and this:

Fail to send request, check your internet connection. · Issue #73 · MlgmXyysd/Xiaomi-HyperOS-BootLoader-Bypass

一点击绑定设备移动数据就会自动关闭

github.com

But I don t understand it. Something about a proxy?
[Xiaomi Mix Fold 2] NOSS8:
Try to fix the PHP error.

Here a fix for Mondrian, to see if useful for you.

Release 1.0-fix · MlgmXyysd/Xiaomi-HyperOS-BootLoader-Bypass

You need to download the PHP interpreter yourself Update: override install Settings if error 10000 (from marble V816.0.5.0.UMRINXM, you can uninstall override after binding)

github.com
[Xiaomi Mix Fold 2] Prydateer:
So, I managed to fix the "check your internet connection" notification. Of course it would be way too easy if it worked now :D:D

Next challenge: "Request parameter error (10000)"

Anyone tips?
[Xiaomi Mix Fold 2] kartasis:
hey, I had the same error as you, do you know how to fix it?

(sorry for my terrible English)
[Xiaomi Mix Fold 2] reinda:
Here i found the solution https://github.com/MlgmXyysd/Xiaomi-HyperOS-BootLoader-Bypass/issues/29#issuecomment-1900328997 for the request Parameter error 10000. You need to Download the APK, Install it, IT downgrade the stettings app, then Run the Script again, IT should Work now. Go to fastboot, Run miunlocker tool, IT Shows you the time you have to wait until you can unlock the bootloader. For me IT was 15 day = 360hrs.
[Xiaomi Mix Fold 2] reinda:
Now my question is can i flash Xiaomi Pad 6s pro chenese to Europe? Because the rom is released. So for me i can then Change the language to german
[Xiaomi Mix Fold 2] NOSS8:
Yep, with Mi Flash but does not lock the bootloader.

MIFLASH[GUIDE]⚙ USE XIAOMI FLASH TOOL

FOR ALL XIAOMI BOOTLOADER MUST BE UNLOCKED MIUI https://new.c.mi.com/global/post/101245 https://en.miui.com/unlock/index.html HYPEROS GLOBAL https://xdaforums.com/t/how-to-unlock-bootloader-on-xiaomi-hyperos.4654009/...

xdaforums.com
[Xiaomi Mix Fold 2] Punch Bag:
I got this message on my Xiaomi 12s Ultra, I have waited 7 days, but still cant unlock. It says " no more devices could be unlocked this month " !!!! what should I do now?
[Xiaomi Mix Fold 2] NOSS8:
If this mention appears on MiUnlock, you have exceeded the quota of 1 device per month, wait until the end of the month.

And the current rom is HyperOS?
[Xiaomi Mix Fold 2] Punch Bag:
Yes bro, been upgraded to HyperOs by mistake (Chinese variant), I have not unlocked any device this month or ever. Should I wait 30 more days or is there any way to get it done? this phone is killing me.
[Xiaomi Mix Fold 2] Punch Bag:
Here can you provide some links to these custom tools? And have you tested them yourself?
[Xiaomi Mix Fold 2] NOSS8:
Don't call me" bro".

Sometimes it's a bug and until June 1st it hasn't been 30 days.

Create a new account in case it gets the same error later.

⚙️How to unlock bootloader on Xiaomi HyperOS(all devices).

Only for GLOBAL devices. 1/Check here that your device is Global and not CN with a Global ROM. https://www.mi.com/global/verify/#/en/tab/imei ------------------------------------------------------------------------------------------ Requirements...

xdaforums.com
[Xiaomi Mix Fold 2] Punch Bag:
Thanks, i will wait for some more time then. And sorry about that....
[Xiaomi Mix Fold 2] Prydateer:
Just create a new account and wait 168 hours. Simple as that.
[Xiaomi Mix Fold 2] NOSS8:
With a new account, it's 30 days+3 for a Global device.
[Xiaomi Mix Fold 2] Zekuzeyoshi:
Hello Can you help me about that?

My data internet connection is stable so how can this happen?
[Xiaomi Mix Fold 2] NOSS8:
What model and version of Phone?
[Xiaomi Mix Fold 2] Zekuzeyoshi:
HyperOS 1.0.7.0 UMTMIXM

Redmi Note 12 8/128 4g
[Xiaomi Mix Fold 2] NOSS8:
Ok, there is a PHP error, no knowledge of it, but I know that everything must be in the same folder, also check the PC firewall.
[Xiaomi Mix Fold 2] Zekuzeyoshi:
Yeah someone help me for the placing of folder and i place it right, what do you mean check? Should i turn off?
[Xiaomi Mix Fold 2] NOSS8:
Check if the program is not blocked or create a rule.
[Xiaomi Mix Fold 2] Zekuzeyoshi:
How? (Im beginner for that sorry)
[Xiaomi Mix Fold 2] NOSS8:
To make it faster, temporarily deactivate the firewall before trying to unlock it.
[Xiaomi Mix Fold 2] Zekuzeyoshi:
Ohh okay
[Xiaomi Mix Fold 2] Zekuzeyoshi:
Still error:(
[Xiaomi Mix Fold 2] NOSS8:
You have a Global device, HyperOS 1.0.7.0 UMTMIXM, this is this method.

⚙️How to unlock bootloader on Xiaomi HyperOS(all devices).

Only for GLOBAL devices. 1/Check here that your device is Global and not CN with a Global ROM. https://www.mi.com/global/verify/#/en/tab/imei ------------------------------------------------------------------------------------------ Requirements...

xdaforums.com
[Xiaomi Mix Fold 2] Zekuzeyoshi:
Which method? Waiting 30days? (my redmi note 12 is 2weeks old) Or the HyperFuck?
[Xiaomi Mix Fold 2] NOSS8:
The one in the link and it is the Xiaomi account which must be at least 30 days old.
[Xiaomi Mix Fold 2] Zekuzeyoshi:
Oh so i need to wait 30days to unlock bootloader, btw thank you for helping me😊
[Xiaomi Mix Fold 2] NOSS8:
Yep, if you didn't have a Xiaomi account before buying this device.
[Xiaomi Mix Fold 2] Kriskuthu:
Xiaomi 13 ultra can also be unlocked with this method right?? It came with miui originally (mine Chinese device)
[Xiaomi Mix Fold 2] NOSS8:
Depends if it's a Global or CN version.
[Xiaomi Mix Fold 2] Kriskuthu:
Sorry I didn't mentioned...mine is china variant
[Xiaomi Mix Fold 2] NOSS8:
So, it's this method:

⚙️How to unlock bootloader on Xiaomi HyperOS(all devices).

Only for GLOBAL devices. 1/Check here that your device is Global and not CN with a Global ROM. https://www.mi.com/global/verify/#/en/tab/imei ------------------------------------------------------------------------------------------ Requirements...

xdaforums.com
[Xiaomi Mix Fold 2] Kriskuthu:
The hyf**k main link doesn't open.we can use the zip file right?..
[Xiaomi Mix Fold 2] NOSS8:
First try with the 1st link:

GitHub - MlgmXyysd/Xiaomi-HyperOS-BootLoader-Bypass: A PoC that exploits a vulnerability to bypass the Xiaomi HyperOS community restrictions of BootLoader unlocked account bindings.

A PoC that exploits a vulnerability to bypass the Xiaomi HyperOS community restrictions of BootLoader unlocked account bindings. - MlgmXyysd/Xiaomi-HyperOS-BootLoader-Bypass

github.com

For the 2nd link it is noted that it is no longer valid, hence the zip below.

And you have to use a PC.
[Xiaomi Mix Fold 2] Kriskuthu:
Got it..sorry..I misunderstood
[Xiaomi Mix Fold 2] Kriskuthu:
hi are you online sir?-got this error, in device it showed the try again in a minute or two

HP Fatal error: Uncaught Error: Call to undefined function openssl_decrypt() in C:\Bypass-1.0-fix-universal\bypass.php:230

Stack trace:

#0 C:\Bypass-1.0-fix-universal\bypass.php(330): decryptData('8/8Mnp7WcRph8sb...')

#1 {main}

thrown in C:\Bypass-1.0-fix-universal\bypass.php on line 230

Fatal error: Uncaught Error: Call to undefined function openssl_decrypt() in C:\Bypass-1.0-fix-universal\bypass.php:230

Stack trace:

#0 C:\Bypass-1.0-fix-universal\bypass.php(330): decryptData('8/8Mnp7WcRph8sb...')

#1 {main}

thrown in C:\Bypass-1.0-fix-universal\bypass.php on line 230
[Xiaomi Mix Fold 2] NOSS8:
This looks like a PHP configuration error, I can't help at this level, everything must be in the same folder.
[Xiaomi Mix Fold 2] Kriskuthu:
means in c folder there must one php folder right?, should i paste the bypass folder inside php extracted folder?