MlgmXyysd / Xiaomi-HyperOS-BootLoader-Bypass

A PoC that exploits a vulnerability to bypass the Xiaomi HyperOS community restrictions of BootLoader unlocked account bindings.
https://www.neko.ink/
2.93k stars 319 forks source link

Request parameter error (10000) #183

Open keenan316 opened 1 month ago

keenan316 commented 1 month ago

Hi,

I'm using a Poco X6 5G with latest HyperOS 1.0.16.0 UNREUXM, so I also can't downgrade settings.apk.

I created my Xiaomi account in 2015, but still it's almost impossible to just unlock the bootloader.

Is there any other way to get past this error other than jumping through Xiaomi's ridiculous hoops?

Thank you

Snarov commented 1 month ago

The same crap is with my Note 13 pro 5G Global. Unlocking Xiaomi bootloader has never been so tricky.

Any help will be appreciated

BlazingRiser commented 1 month ago

Go in pull requests, there is one open post, inside there is link to 123pan, download your device specific settings apk from there that should fix this issue.

Tigercat000 commented 1 month ago

Go in pull requests, there is one open post, inside there is link to 123pan, download your device specific settings apk from there that should fix this issue.

Same as X6 5G try all on 123pan setting.apk , is not working now, anyone have update news?

BootloaderJunkie commented 1 month ago

Same here. After downgrading / replacing settings with 123pan variant or a variant from apkmirror, I get: "The system is being upgraded. Please try again later. (30003)"

blackmatch commented 1 month ago

For error code 10000, you can downgrade Setting using this file: https://drive.google.com/file/d/1T8XjD6mO3TkwMSX8ssEFOHUVn91tN8op/view?usp=sharing

and then try to unlock again.

Tigercat000 commented 1 month ago

For error code 10000, you can downgrade Setting using this file: https://drive.google.com/file/d/1T8XjD6mO3TkwMSX8ssEFOHUVn91tN8op/view?usp=sharing

and then try to unlock again.

Thanks my friend , can you teach me how to make this apk? can make it by myself?

keenan316 commented 1 month ago

For error code 10000, you can downgrade Setting using this file: https://drive.google.com/file/d/1T8XjD6mO3TkwMSX8ssEFOHUVn91tN8op/view?usp=sharing

and then try to unlock again.

It doesn't work. When trying to install it's the same as all other setting.apk available..

"App not installed as package appears to be invalid"

Tigercat000 commented 1 month ago

For error code 10000, you can downgrade Setting using this file: https://drive.google.com/file/d/1T8XjD6mO3TkwMSX8ssEFOHUVn91tN8op/view?usp=sharing

and then try to unlock again.

It doesn't work of me too..same result "App not installed as package appears to be invalid", can you modify ?

blackmatch commented 1 month ago

App not installed as package appears to be invalid

I guess I used the wrong ROM to extract the apk file, can anyone tell me what the ROM are you use ? so that I can extract the correct apk file. The Global one ?

blackmatch commented 1 month ago

For error code 10000, you can downgrade Setting using this file: https://drive.google.com/file/d/1T8XjD6mO3TkwMSX8ssEFOHUVn91tN8op/view?usp=sharing and then try to unlock again.

Thanks my friend , can you teach me how to make this apk? can make it by myself?

It's very complex and will use many tools, the main steps are:

Smartslabs commented 1 month ago

For error code 10000, you can downgrade Setting using this file: https://drive.google.com/file/d/1T8XjD6mO3TkwMSX8ssEFOHUVn91tN8op/view?usp=sharing and then try to unlock again.

Thanks my friend , can you teach me how to make this apk? can make it by myself?

It's very complex and will use many tools, the main steps are:

  • get the payload.bin file from the earliest HyperOS ROM.
  • get the system_ext.img from payload.bin
  • get the apk file from system_ext.img

Thank you for the detailed instructions. However, how can I determine which version is the correct one and the one I need?

blackmatch commented 1 month ago

image

how can I determine which version is the correct one and the one I need?

check this code on your mobile. the ROM file name includes this code, for example:

image
Smartslabs commented 1 month ago

image

how can I determine which version is the correct one and the one I need?

check this code on your mobile. the ROM file name includes this code, for example: image

Same as my existing OS? So why should install it ?

keenan316 commented 1 month ago

Mine is HyperOS 1.0.16.0 UNREUXM and non of the settings.apk can be installed to downgrade.

BlazingRiser commented 1 month ago

You need to install the oldest version of settings apk from hyperos that is 1.0.1.0 followed by your region code matching your about phone page. Also check if bypass is supported or not in status.md, under main files on github.(X6 5g is redmi note 13 pro, codename garnet).

code4fun1024 commented 1 month ago

Thanks to @blackmatch , I finally extract the correct apk file. The apk file is from HyperOS 1.0.8.0 UNREUXM : https://drive.google.com/file/d/18VGV58Ci9eCs4TgR2ZCNdtAhE0fS5tIG/view?usp=sharing

@keenan316 you can try this apk file.

keenan316 commented 1 month ago

Thanks to @blackmatch , I finally extract the correct apk file. The apk file is from HyperOS 1.0.8.0 UNREUXM : https://drive.google.com/file/d/18VGV58Ci9eCs4TgR2ZCNdtAhE0fS5tIG/view?usp=sharing

@keenan316 you can try this apk file.

Hi @code4fun1024

I just tried it, but unfortunately it's still the same "App not installed as package appears to be invalid"

Thanks for your effort though..

vuccahh commented 1 month ago

App not installed as package appears to be invalid

I guess I used the wrong ROM to extract the apk file, can anyone tell me what the ROM are you use ? so that I can extract the correct apk file. The Global one ?

sorry for bothering you , i have xiaomi poco pad (redmi pad) using 1.0.7.0 UNSMIXM getting error 10000 , tried everything out there but no luck, just asking if its really rootable?

AlnorFromYT commented 1 month ago

@blackmatch @code4fun1024 help, I need the correct settings app for mine🙁, I'm using XIAOMI 11T using HyperOS at 1.0.6.0.UKWMXM please🥹

Smartslabs commented 1 month ago

No anyone can provide Note 13 Pro / Poco x6 5G update setting.apk?

tbprothai commented 1 month ago

錯誤30001,我應該點做?

code4fun1024 commented 1 month ago

https://github.com/code4fun1024/setting-app-for-hyperos

@vuccahh I've extract the apk file from OS1.0.1.0.UNSMIXM. @AlnorFromYT your "ROM code" should be UKWMIXM ? I extract the apk file from OS1.0.2.0.UKWMIXM.

anyone who want the old version Setting app apk, please comment your "ROM code" here

moffa13 commented 1 week ago

For those who need the specific Settings.apk for their ROM code Download the oldest hyperos recovery rom (zip file, not fastboot) extract the zip and get payload.bin use a tool like extract_android_payload to extract system_ext.img (python extract_android_payload.py extract -p system_ext payload.bin /tmp/)

extract the contents using a tool like erofsUnpack Search for Settings.apk

Tigercat000 commented 1 week ago

For those who need the specific Settings.apk for their ROM code Download the oldest hyperos recovery rom (zip file, not fastboot) extract the zip and get payload.bin use a tool like extract_android_payload to extract system_ext.img (python extract_android_payload.py extract -p system_ext payload.bin /tmp/)

extract the contents using a tool like erofsUnpack Search for Settings.apk

oldest hyperos recovery rom?that's mean is the first out hyper version ? Thanks

moffa13 commented 1 week ago

For those who need the specific Settings.apk for their ROM code Download the oldest hyperos recovery rom (zip file, not fastboot) extract the zip and get payload.bin use a tool like extract_android_payload to extract system_ext.img (python extract_android_payload.py extract -p system_ext payload.bin /tmp/) extract the contents using a tool like erofsUnpack Search for Settings.apk

oldest hyperos recovery rom?that's mean is the first out hyper version ? Thanks

I'm not sure but I guess yes, I was not able to test as my hyperos version (1.0.8.0) does not allow me to update settings app

BlazingRiser commented 2 days ago

For those who need the specific Settings.apk for their ROM code Download the oldest hyperos recovery rom (zip file, not fastboot) extract the zip and get payload.bin use a tool like extract_android_payload to extract system_ext.img (python extract_android_payload.py extract -p system_ext payload.bin /tmp/) extract the contents using a tool like erofsUnpack Search for Settings.apk

oldest hyperos recovery rom?that's mean is the first out hyper version ? Thanks

I'm not sure but I guess yes, I was not able to test as my hyperos version (1.0.8.0) does not allow me to update settings app

Check if bypass is supported or not for your device first if settings apk is not installing here