Goodnight all,
I unlocked the OEM bootloader and Rooted my Samsung Galaxy Z Flip 4 using Magisk. It is a European model.
Now each time I start it I get warning messages that the security has changed as a result.
I reset my phone completely and I still have these warning messages on startup.
Is it possible to remove these warning messages because I will most certainly resell the phone???Is there a solution to lock the OEM bootloader again or is it irreversible???
Thank you in advance for your help and good evening to all.
This is by design. An unlocked bootloader should display the ORANGE state on boot to notify the user. This is normal, and no action is needed.
It is not possible to remove these warning messages as this is a result of the bootloader functioning as intended.
You can re-lock your bootloader if you want but make sure you have performed a clean flash with the factory firmware first. You would then follow the same process you used to unlock the bootloader (device off, hold both Volume buttons, plug in USB cable).
It's just a minor inconvenience though and does not affect device operation.
Good evening,
@V0latyle
if I understood your explanation , I download the latest firmware which is installed on my phone with the help of SamFirm or other software.
Then I use Odin in administrator mode and I select the file in the BL box, the file in the AP box, the file in the CP box and especially in the CSC box I put the CSC file (and not Home_CSC) in order to a hard reset of my Samsung Galaxy Z Flip 4 phone. Once the flash is done, the phone reboots to factory state, I click the build number 7 times then I go to developer options and there I could finally lock my OEM development loader again??? Once I've done all of this
,will the bootloader security warning message go away???
Please tell me if I understood correctly please and above all thank you again for your help.
nicoco19 said:
Good evening,
@V0latyle
if I understood your explanation , I download the latest firmware which is installed on my phone with the help of SamFirm or other software.
Then I use Odin in administrator mode and I select the file in the BL box, the file in the AP box, the file in the CP box and especially in the CSC box I put the CSC file (and not Home_CSC) in order to a hard reset of my Samsung Galaxy Z Flip 4 phone. Once the flash is done, the phone reboots to factory state, I click the build number 7 times then I go to developer options and there I could finally lock my OEM development loader again??? Once I've done all of this
,will the bootloader security warning message go away???
Please tell me if I understood correctly please and above all thank you again for your help.
Click to expand...
Click to collapse
You don't have to do anything with Developer Options or the OEM Unlock toggle. OEM Unlocking only functions as a "safety" to permit you to unlock your bootloader.
If it is already unlocked, simply follow the instructions you used to unlock it after you enabled OEM Unlocking the first time - with the device powered off, use the key combo to boot into Download Mode, then hold Volume Up until you see the device lock warning. When you relock the bootloader, it will wipe data. Once done, no further steps are needed.
If you want to tinker with your device and enjoy the benefits of root, why not leave it unlocked? Sure the bootloader warnning is slightly annoying but again that's by design.
@V0latyle
ah ok, I understand better, I'm doing the reverse step of what I did the very first time I unlocked the OEM bootloader.
I put my phone in download mode by connecting it to my computer and then I hold the volume up key for a long time to lock the OEM bootloader. And if I understood correctly, once this is done, my phone will be factory reset and no more warning message on startup. That's right ???
In fact, I'm asking you all this because I want to sell my phone to switch to the S23 Ultra.
thank you for your help and your feedback
nicoco19 said:
@V0latyle
ah ok, I understand better, I'm doing the reverse step of what I did the very first time I unlocked the OEM bootloader.
I put my phone in download mode by connecting it to my computer and then I hold the volume up key for a long time to lock the OEM bootloader. And if I understood correctly, once this is done, my phone will be factory reset and no more warning message on startup. That's right ???
Click to expand...
Click to collapse
Yes, if the bootloader is locked and the firmware is original OEM, there should be no warning.
@V0latyle I'm testing all this to the letter tomorrow evening and in the process I'll come back for other people that it could help.
thank you for your help and keep you posted
Hello,
I did what you said and problem solved, the warning messages at startup disappeared.
Thank you again for your help @V0latyle
But u know that KNOX is triggered and u loose some of functions anyway even if you relock bootloader ?
Related
Hello, I have a problem with my phone. For some unknown reason, without flasheos or roms, stopped working, it stays locked in the logo. The bootloader is locked, I need to do is unlock it and install back the stock rom.
The problem is that USB debugging is not enabled, so you can not unlock the bootloader in any way, and since I can not unlock it allows me not install any rom. Able is something simple but not how to proceed.
Sorry if not all well written, my language is Spanish and this is translated. Thank you very much, I hope you can help me.
agus_nirich said:
Hello, I have a problem with my phone. For some unknown reason, without flasheos or roms, stopped working, it stays locked in the logo. The bootloader is locked, I need to do is unlock it and install back the stock rom.
The problem is that USB debugging is not enabled, so you can not unlock the bootloader in any way, and since I can not unlock it allows me not install any rom. Able is something simple but not how to proceed.
Sorry if not all well written, my language is Spanish and this is translated. Thank you very much, I hope you can help me.
Click to expand...
Click to collapse
Why do you want to unlock it, you can solve the problem even without unlocking.
Try to factory reset in recovery mode: Switch off and press power button + Volume down, on bootloader mode look and select recovery mode, once you get, factory reset it, this should work if not reflash your system!
BTW... You don't have to be unlocked to flash an official ROM as long as it's the same or newer version, you only have to unlock to downgrade or use custom stuff.
Sent from my MotoG3 using Tapatalk
Because i rooted all my phones so far, i also want to root my new Huawei Mate 9 to get all advantages and full access.
But how can i unlock my bootloader without requesting an unlock-code from Huawei and being on a black-list?
Is there a way to get rid of this?
Do one of these three solutions wok for Mate 9?
https://translate.google.com/transl...k-fuer-alle-huawei-phones/&edit-text=&act=url
http://actualizatumovil.com/Temas-Bootloader-unlock-without-emailing-Huawei
https://forum.xda-developers.com/showthread.php?t=2290610
Thank you for your answers in advance,
Florian
--- EDIT ---
Solved!
My tutorial for unlocking, installing TWRP and rooting Huawei Mate 9 at Post #13
Use dc-unlocker, but you have to pay, usually around 4-6 USD.
https://www.dc-unlocker.com/supported_models_1/huawei_phones
Hi azukayx,
thank you for your answer!
azukayx said:
Use dc-unlocker, but you have to pay, usually around 4-6 USD.
https://www.dc-unlocker.com/supported_models_1/huawei_phones
Click to expand...
Click to collapse
This method is working securly?
My Build-Number is "MHA-L09C432..." but here it says only MHA-L09B, it could work still?
And only read bootloader code is available: is that the code i am normally getting from Huawei? Or what is that?
Thank you for your answer in advance,
Florian
htcdesire-hd said:
Hi azukayx,
This method is working securly?
My Build-Number is "MHA-L09C432..." but here it says only MHA-L09B, it could work still?
And only read bootloader code is available: is that the code i am normally getting from Huawei? Or what is that?
Florian
Click to expand...
Click to collapse
Not sure, you can always shoot them an email asking or use their chat when they are online. There may be other unlocking services floating around, you may have to google them.
Need help to relock bootloader stock mate 9 usa
I have the mate 9 USA version bought it with unlocked bootloader and some programs are missing like the software update setting is gone, file manager etc. Please I need help going back to stock and relocking bootloader. :
azukayx said:
Not sure, you can always shoot them an email asking or use their chat when they are online. There may be other unlocking services floating around, you may have to google them.
Click to expand...
Click to collapse
Thank you i will try this and contact the support before...
Is there also a unlocking method without Huawei?
azukayx said:
Use dc-unlocker, but you have to pay, usually around 4-6 USD.
https://www.dc-unlocker.com/supported_models_1/huawei_phones
Click to expand...
Click to collapse
Thats the service i used to unlock my phone.
htcdesire-hd said:
Hi azukayx,
thank you for your answer!
This method is working securly?
My Build-Number is "MHA-L09C432..." but here it says only MHA-L09B, it could work still?
And only read bootloader code is available: is that the code i am normally getting from Huawei? Or what is that?
Thank you for your answer in advance,
Florian
Click to expand...
Click to collapse
Read bootloadercode is fine, save it in a textfile and use fastboot oem unlock xxxx (where xxxx is your bootloader unlock code) be sure usb debugging and oem unlock are activated before using fastboot
After downloading the DC Android app and investing about 4€, the bootloader could be unlocled without problems and without Huawei!
But resetting phone (after Bootloader unlocking) failed and EMUI is not loading any more...
I try to flash the original firmware and hope to solve this problem with that... Downloading EMUI via eRecovery also failed because of verification problems...
htcdesire-hd said:
But resetting phone (after Bootloader unlocking) failed and EMUI is not loading any more...
I try to flash the original firmware and hope to solve this problem with that... Downloading EMUI via eRecovery also failed because of verification problems...
Click to expand...
Click to collapse
If you're still stuck try Funkyhuawey.
htcdesire-hd said:
After downloading the DC Android app and investing about 4€, the bootloader could be unlocled without problems and without Huawei!
But resetting phone (after Bootloader unlocking) failed and EMUI is not loading any more...
I try to flash the original firmware and hope to solve this problem with that... Downloading EMUI via eRecovery also failed because of verification problems...
Click to expand...
Click to collapse
Try to do factory reset again from stock recovery,and wipe cache.
Hold volume up + power till you see the logo and release power while keeping volume up.
By the way i hate dc unlocker,more problems than fixing lol
gm007 said:
Try to do factory reset again from stock recovery,and wipe cache.
Hold volume up + power till you see the logo and release power while keeping volume up.
By the way i hate dc unlocker,more problems than fixing lol
Click to expand...
Click to collapse
I solved the Problem!
I only had to re-lock and then unlock my bootloader again via fastboot and it's working now!
But there are other problems:
When i activate developer options and try to open it, the settings are always crashing...
The same happens when i try to make a factory reset within the storage settings...
When i connect my phone to a PC while in TWRP, there are only some folders with cryptic numbers and i am not able to copy files to my phone (like superuser)...
What can cause this strange behavior?
And why is there no HiCare App and no update menu available? How can that be reactivated?
Problems solved using FunkyHuawei!
Now everything seems to work correctly (except of backing up via TWRP)...
For others who have the same problems with rooting their Huawei Mate 9, here is a little Tutorial:
How to unlock the bootloader without Huawei
download and install "DC Huawei Bootloader Codes" (from dc-unlocker) from playstore
open the app and klick on "DC-unlocker account"
pay the about 4€ via playstore (username and password is sent via email to the given address)
download and run the DC-Unlocker client (from dc-unlocker.com)
follow instructions from website (https://www.dc-unlocker.com/huawei-id-unlock)
unlock-code should be shown after following all instructions
shutdown phone
hold volume-down-key and connect the phone via USB to a PC (release key when bootloader appears)
run fastboot-command "fastboot oem unlock xxxxxxxxxxx" (x = your unlock code)
confirm message on screen
system performs factory reset
bootloader should now be unlocked! (can be seen in bootloader)
if something not working try to lock ("fastboot oem relock xxxxxxxxxxx") and unlock the bootloader again
or do a factory reset and wipe cache via recovery
if nothing solves the problem buy a FunkyHuawei account (15$/month) and make a clean re-installation of the firmware like discribed there (https://funkyhuawei.club/instructions)
How to install TWRP recovery
shutdown phone
hold volume-down-key and connect the phone via USB to a PC (release key when bootloader appears)
flash recovery via fastboot (recovery should be in same folder as fastboot.exe) ("fastboot flash recovery twrp-xxx.img") (x = downloaded version)
type "fastboot reboot"
leave the USB cable connected to PC
when phone booted hold volume-up, volume-down and power key
release power key after vibration
release volume keys after Huawei-logo disappears
TWRP should start!
How to root phone
requirements: unlocked bootloader and TWRP recovery t3.0.2-2-hi3660 (from this thread: https://forum.xda-developers.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617)
copy superuser-r275.zip to phone storage (download link also available in the thread mentioned above)
boot into TWRP recovery (connect the USB cable to PC -> hold volume-up, volume-down and power key -> release power key after vibration -> release volume keys after Huawei-logo disappears)
choose "install" and select the previous copied .zip-file
after installation reboot phone
install Superuser_2.0_Beta_9.apk (from here: https://forum.xda-developers.com/showpost.php?p=69224582&postcount=1896)
download "Root Checker" from play store
Root Checker should show root access!
Please cosider that i am not responsible for any damage on the device after using this tutorial
htcdesire-hd said:
Problems solved using FunkyHuawei!
Now everything seems to work correctly (except of backing up via TWRP)...
Click to expand...
Click to collapse
Is this method possible without involving FunkyHuawei?
Are there any problems with losing functionality after this is complete? Heard reports of the software update setting going away, file manager missing, themes not working, etc.
xfive420 said:
Is this method possible without involving FunkyHuawei?
Are there any problems with losing functionality after this is complete? Heard reports of the software update setting going away, file manager missing, themes not working, etc.
Click to expand...
Click to collapse
I don't think so, because i had to re-flash the whole firmware to cure the errors and i think, until now, there is no other method to flash a firmware without using the Huawei eRecovery (modified with FunkyHuawei)...
No, after the clean setup with FunkyHuawei everything works fine for me, without any errors! It works like before, allthough the Bootloader is unlocked and the phone is rooted
So, I have a really really odd situation. I have an MDM on my phone, MASS360. I typed in the phone's password wrong too many times, and it locked me out of the phone. The phone says to reach out to the IT Department to fix it. I reached out to the IT Department, but they weren't able to fix it. So I have a bit of a conundrum. OEM Unlock is off, and so is USB debugging. I cant unlock the phone to turn them on. I also can't factory reset (even from the recovery menu) because of the MDM's policy. Is there a way to Sideload a file or something to factory reset the phone? Any other ways that I can factory reset the phone? I'd also be fine with installing another ROM on the phone if its possible.
Phone info: Samsung Galaxy J327U
jordanbw1 said:
So, I have a really really odd situation. I have an MDM on my phone, MASS360. I typed in the phone's password wrong too many times, and it locked me out of the phone. The phone says to reach out to the IT Department to fix it. I reached out to the IT Department, but they weren't able to fix it. So I have a bit of a conundrum. OEM Unlock is off, and so is USB debugging. I cant unlock the phone to turn them on. I also can't factory reset (even from the recovery menu) because of the MDM's policy. Is there a way to Sideload a file or something to factory reset the phone? Any other ways that I can factory reset the phone? I'd also be fine with installing another ROM on the phone if its possible.
Phone info: Samsung Galaxy J327U
Click to expand...
Click to collapse
flash factory firmware in Odin
Youdoofus said:
flash factory firmware in Odin
Click to expand...
Click to collapse
Thanks so much! I didn't realize you could flash stock firmware without OEM unlock.
jordanbw1 said:
Thanks so much! I didn't realize you could flash stock firmware without OEM unlock.
Click to expand...
Click to collapse
you bet! Welcome to XDA btw!
I have almost exactly the same issue. I was tinkering with MDM 'force PIN' and then stupidly removed the device (Samsung SM -T505) from MDM (Scalefusion) before disabling the PIN lock. Now the PIN is not recognised, I can't get into the the home screen at all because of the PIN, the recovery menu is missing wipe data/factory reset and (of course) USB debugging is NOT enabled. If I try to flash a stock ROM, ODIN reports 'SetupConnection..' but eventually times out without sending anything. ADB devices list is empty. However, I can get into ADB sideload from the recovery menu and ADB devices (on the PC) then shows a device in sideload mode. I tried loading the Samsung stock ZIP, but the tablet reported signing errors and quit.
Is it possible to sideload a stock rom? Or a 'force factory reset' zip file of some sort? Or perhaps from SD card?Choosing the bootloader menu shows 'Fasboot Mode' in red with device state - locked (also in red.
I m not trying to crack an ebay cheepy or anything else (I have the receipt to prove purchase), but I REALLY need to get back into this darned thing! I suppose at least one can say that the Knox system works well!.
Any offerings, please?!!
/AJC
I have bought a used Samsung S10e (SM-G970F/DS) it came with Android 12 and it was reseted.
My goal is to install iodeOS. Even if the iodeOS website says "Update the stock firmware to the latest" I considered the instructions from LineageOS and installed the latest Android 11 version, following this (https://iode.tech/en/iodeos-installation/#1629185391421-4cf1f5c8-d900) uninstall instructions.
After Android 11 was installed I enabled the developer options. OEM-Unlock was not available. Therefore I followed these instructions (https://www.xda-developers.com/fix-...y-s9-samsung-galaxy-s8-samsung-galaxy-note-8/) and the OEM-Unlock was available again.
Now it seemed that everything is ready to install iodeOS or LineageOS. Therefore I followed this instructions (https://wiki.lineageos.org/devices/beyond0lte/install). It worked fine until "Installing a cutom recovery using heimdall"
after the "heimdall flash --RECOVERY <recovery_filename>.img --no-reboot" command the S10e shows a bar which is filled from the left to the right and then it shows "Custom Binary (RECOVERY) Blocked By OEM Lock"
Now I have no clue what to do :-(
I would be glad for any help.
You need to unlock the bootloader. You've toggled the OEM Unlocking switch, so unlocking the bootloader is the next step.
Make sure you have the Samsung USB drivers installed on your PC.
Turn off your device.
While holding the Bixby and Volume Down buttons, connect your phone to your PC.
The device should start in Download Mode. Hold down Volume Up until you get a warning about unlocking the bootloader. Unlocking the bootloader will wipe your data. Click Volume Up to confirm.
Your device will wipe data, then reboot. At this point, you can reboot to download mode and flash a custom recovery using Odin or Heimdall.
Thanks a lot for all your help!
The problem was I entered the download mode by the adb command "adb reboot-bootloader" and this mode seems to be different to the one which can be accessed by pressing the keys.
Now everything worked fine
I have exactly the same problem here:
SM-A205G with OEM Unlock enabled
There is no unlock bootloader in the bootloader no option anymore
at least in the bootloder of this edition
And I suppose that if it is the bootloader that flashes everything, it is COMPLETELLY LOCKED, could be jailbroken by some new method, but until them... no option :sad:
V0latyle said:
You need to unlock the bootloader. You've toggled the OEM Unlocking switch, so unlocking the bootloader is the next step.
Make sure you have the Samsung USB drivers installed on your PC.
Turn off your device.
While holding the Bixby and Volume Down buttons, connect your phone to your PC.
The device should start in Download Mode. Hold down Volume Up until you get a warning about unlocking the bootloader. Unlocking the bootloader will wipe your data. Click Volume Up to confirm.
Your device will wipe data, then reboot. At this point, you can reboot to download mode and flash a custom recovery using Odin or Heimdall.
Click to expand...
Click to collapse
It seems that this <confirm> option in the bootloader is being removed by samsung, so... even if unlock oem is enabled... it will not work...
I can only reach the bootloader by going to recovery mode them selecting reboot bootloader, or by adb reboot bootloader, but it boots directly in download mode without the option to long-press volume up key
A flasher that doesn't flashes doesn't makes sense. Maybe samsung have hidden something new in there?...
Ok. I've found the solution
1 - Power the phone off
2 - Hold both volume up and down
3 - PLUG THE USB BUTTON WHILE YOU HOLD BOTH these buttons
4 - NO NEED TO PRESS POWER BUTTON
I guess this will work for all phones that don't have the option to start with power+down
Yes. A flasher that does not flash don't exists.
Good luck ! \o/
source:
HELP!!! Custom Binary (BOOT) Blocked By OEM Lock
Hi there, I've been having trouble rooting my Samsung Galaxy A20 - SM-A205GN for awhile now. I'm officially on Android Version 10 with One UI Version 2.0, I've followed the provided guide to root my device but it fails on Odin "all versions" when...
forum.xda-developers.com
wavedevice said:
Ok. I've found the solution
1 - Power the phone off
2 - Hold both volume up and down
3 - PLUG THE USB BUTTON WHILE YOU HOLD BOTH these buttons
4 - NO NEED TO PRESS POWER BUTTON
I guess this will work for all phones that don't have the option to start with power+down
Yes. A flasher that does not flash don't exists.
Good luck ! \o/
source:
HELP!!! Custom Binary (BOOT) Blocked By OEM Lock
Hi there, I've been having trouble rooting my Samsung Galaxy A20 - SM-A205GN for awhile now. I'm officially on Android Version 10 with One UI Version 2.0, I've followed the provided guide to root my device but it fails on Odin "all versions" when...
forum.xda-developers.com
Click to expand...
Click to collapse
Yes, you don't unlock the bootloader VIA the bootloader in Samsung phones.
so you know what happened? I accidentaly reset my phone! I have gone into download mode and there was additional choices: to unlock bootloader holt volup, so I did, then again to confirm unlocking press volup. I did so and then there was for a brief moment android logo and "erasing" and then after about 2 minutes of just Samsung logo phone restarted and asked me to perform setup as it was new! WTH? There was nothing mentioned about deletion
DaHansi said:
I have bought a used Samsung S10e (SM-G970F/DS) it came with Android 12 and it was reseted.
My goal is to install iodeOS. Even if the iodeOS website says "Update the stock firmware to the latest" I considered the instructions from LineageOS and installed the latest Android 11 version, following this (https://iode.tech/en/iodeos-installation/#1629185391421-4cf1f5c8-d900) uninstall instructions.
After Android 11 was installed I enabled the developer options. OEM-Unlock was not available. Therefore I followed these instructions (https://www.xda-developers.com/fix-...y-s9-samsung-galaxy-s8-samsung-galaxy-note-8/) and the OEM-Unlock was available again.
Now it seemed that everything is ready to install iodeOS or LineageOS. Therefore I followed this instructions (https://wiki.lineageos.org/devices/beyond0lte/install). It worked fine until "Installing a cutom recovery using heimdall"
after the "heimdall flash --RECOVERY <recovery_filename>.img --no-reboot" command the S10e shows a bar which is filled from the left to the right and then it shows "Custom Binary (RECOVERY) Blocked By OEM Lock"
Now I have no clue what to do :-(
I would be glad for any help.
Click to expand...
Click to collapse
I had the same problem on my samsung tab a10.1. That's why I had to flash the stock firmware 3 times. Every time I flashed twrp with odin, I got the error (custom binary blocked by oem lock).
I write what they should do in order.
1. Turn on the phone.
2. Open Developer mode
3. USB debugging mode - on
4. oem unlocking - on
5. then turn off the phone and disconnect from usb
6. Connect the phone to the PC with USB by holding down the volume up and volume down buttons at the same time. WITHOUT PRESSING THE POWER BUTTON
7. Press and hold the volume up button according to the instructions in the pop-up window.
oem unlocked
Sorry that, I had another problem. May I know how to unlock the OEM if my S10e phone can't turn on.
My device always on "samsung" display page, can't open to index. Do you know this issue? Expecting your reply.
Hi! I have the same issue on my Xiaomi Mi 11 Pro (It was Chinese) but it came unlocked with xiaomi.eu rom.
After i installed a global rom, and google wallet nfc pay did not work, so i thought okay i will lock it then so maybe wallet would accept it, (with the eu rom it worked before) so i put the device in fastboot and used fastboot oem lock on cmd...
And from then it stucks on miui recovery 5.0 screen, and says, this miui version can't be installed on this device...
I might not enabled oem unlocking before i shut if off, but i added it to my mi account so i dont know if after a week i can maybe unlock it. But i think the other possible solution would be to sideload the original chinese stock rom, which is for M2102K1AC, Mi 11 pro, codename mars, but i couldn't find it anywhere... If someone can upload a link to it, that would be a huge help! Or any idea! thx!
geraldmany said:
HI! i got a mi 11 pro 1 year ago, and it was offically chinese, but it came unlocked with Xiaomi.eu firmware, but i could't update it via the updater app, so i searched and found the global star version and just flashed it, everything worked, only now google pay nfc didnt work, it said that its probably because of the unlocked bootloader, so i got to fastboot and in cmd i sent fastboot oem lock, and since then my phone is stuck in miui recovery 5.0 screen and says that i cannot run this firmware on the device, i tried to unlock it but failed, maybe after a week, but i think that i didnt turn on oem unlocking on the phone itself before this... So im just hoping that after a week unlocking could be done... Or my other idea is, that i could install the original chinese rom with sideload, because i managed to install another global version on it since, but the result is still the same, the only problem is that i cannot find literally anywhere a mars codenamed firmware...
Click to expand...
Click to collapse
Anyone who might have the same situation, i found a simple, but effective solution, not sure if it works on every xiaomi device, but i will write down the steps here:
You need to use XiaomiADB, here is the download link and the description for how to use it -> https://xiaomiui.net/how-to-use-xiaomiadb-8044/ (if the page is not available, then feel free to msg me!)
For xiaomi adb, you need to go to 3rd option on the miui recovery screen, NOT THE FASTBOOT
So basically i went through the steps to “xiaomiadb sideload_miui <filename>”
And I tried to install a rom, BUT IT DIDNT ACCEPT IT!
The message was:
ERROR: This rom cannot be installed, server code -> 2001, server message -> Can't install unofficial rom
after trying 4 times all the same and: Installation of this rom via stock recovery is not allowed by Xiaomi
Says Installation failed, and then i just decided to download another rom so i PLUGGED OUT THE PHONE right after this, and went to another room to connect to wired network, to download and try a different rom... when i came back, to all my surprise, the phone was turned on, so i went to the setting dev ops and enabled bootloader unlocking, linked it to my account enabled adb and everything that is needed to flash another rom later, so then i rebooted and again, miui recovery 5.0 screen, but now i enabled unlocking, so i put the phone in fastboot, and tried MI UNLOCKER TOOL again, now it says: Please unlock 168 hours later. And do not add your account in MIUI again, otherwise you will wait from scratch.
So that means, after 7 days i wll be able to unlock it, until then, i can turn it on with the above method, in short try to sideload (copy and install) a rom to it, and then after it failed, plug it out and just wait like 10-20 maybe 30 seconds and bam your device is normally booted... I hope it helps to some of you, (i have been searching for the solution for almost a week, my other option was to pay someone who can MAYBE do it or send the phone back to china and pay the repairs, so im really happy with this method! If it helps to you, please reply so i and the others will know that it worked! Have a nice day!
Rescue and smart cannot flash phone ADB side load does not detect device not sure what next method to try
You can try to edl short the device to flash a blank flash file to "rejuvenate" the bootloader. Then use tinyfastboot script to "flash" the exact version of update that was last installed on the device. Search for tinyfastboot script on lolinet. Unzip, Run the .bat file given. Select version. Hit 5 hit enter/return. Watch A LOT of red words go by very slowly. If it's going slow then your device will be flashing even though it says it's not. Patience don't just unplug it real quick or close the bat when you see red right away. As long as the program doesn't stop you got the right update. If frp locked find a guide on hardreset.info or you won't get past checking pin or Google account. It will more than likely trip verity and reboot device. Remove security pin/pattern/password and Factory reset from settings > system > reset. If you want bootloader unlocked again you need the same code from Motorola bootloader unlock email as prior unlocking. (Not sure if you can reapply for it, haven't tried as I had my old number)