Xiaomi locks bootloader with update from 6.1.14 onward - Redmi Note 2 General

http://www.xda-developers.com/xiaomi-locks-bootloader-on-recent-devices/
What the hell, Xiaomi?
I don't know if the Redmi Note 2 is affacted yet as it's not on the list but I aborted the update download.
Looks like it will be locked in the future anyway, so watch out!!!

Yes, and I know some of people that haven't been noticed this kind of change and their phones have been bricked ...
So the only way to unbrick their phone - reboot to fastboot mode and use line flash to recover their system.
For those who have flashed non stock's MIUI ROM => Please don't flash 6.1.14 ROM. ( But only Xiaomi Mi Note Pro/Redmi Note3/Xiaomi 4C will be suffered.)

You can flash the weekly Roms by xiaomi.eu with unlocked bootloader

It sucks but it's kinda understandable... My note 2 came from the seller with a custom rom and bucket load of bloatware... They even removed the miui browser and installed a really suspicious browser.
I flashed a new rom as soon as I could but the average user might not have the knowledge or perception of what's going on so there's a real risk here and damages the brand.
Locking the Bootloader is a necessary evil for Xiaomi, upsets the geek/dev community but protects the wider (average) consumer.
If the unlock process works as they say it shouldn't be an issue for us.

I don't like the oficial MIUI roms (bloatware, suspicious system apps, etc.). So this is a new reason to avoid official roms.

dablado said:
I don't like the oficial MIUI roms (bloatware, suspicious system apps, etc.). So this is a new reason to avoid official roms.
Click to expand...
Click to collapse
these aren't official roms

rally200 said:
It sucks but it's kinda understandable... My note 2 came from the seller with a custom rom and bucket load of bloatware... They even removed the miui browser and installed a really suspicious browser.
I flashed a new rom as soon as I could but the average user might not have the knowledge or perception of what's going on so there's a real risk here and damages the brand.
Locking the Bootloader is a necessary evil for Xiaomi, upsets the geek/dev community but protects the wider (average) consumer.
If the unlock process works as they say it shouldn't be an issue for us.
Click to expand...
Click to collapse
Hi!
My rn2 also came in the same state - custom rom and bloatware. I dont know what kind of a user I am but Im probably closer to average than anything else. I am trying for 'advanced' title though: ). The problem I have is not exactly flashing the new rom, at least not yet. First I want to backup the one it came with. The thing is in case of warranty claim my service center wants it returned in the state I received it in. Ive used Flashify and Partitions Backup apps first, then I wanted to boot twrp and do another backup. But it seems there is something wrong with the bootloader. >fastboot boot twrp.img works for everyone but me. It returns: failed unknown command. Do you maybe have an idea what could be wrong? Bootloader custom too? What would you suggest I do to backup my phone? I would really appreciate it.
Thank you
m

While I understand their motivation for locking the bootloader, and I am willing to accept it, it's the unlock procedure that is nuts. If you brick your phone, and then need to wait 1-3 weeks to get an unlock code, that is crazy. Granted a lot of people would have no use for an unlocked bootloader, and heck, don't even know what it is. But for the folks that do, and want to experiment with non-official roms or recover from a brick/bootloop, this is a real drag.
Why does the unlock procedure have to be so potentially lengthy? If you have gone to the effort to contact them about unlocking it, what's the sense in making you wait several days to several weeks to actually get the necessary unlock code? The only issue this solves is of vendors loading junky firmware--it would be discouraging for them to have to wait 3-21 days for each phone they want to infect with a junkware rom. But the collateral damage is for the end user who needs it unlocked quickly--he/she will have to suck up the 3-21 day wait. Probably a good piece of advice for anyone interested would be to immediately request a bootloader unlock code from Xiaomi after receiving a device, and then it would be available in the future when needed.

bopy said:
Hi!
My rn2 also came in the same state - custom rom and bloatware. I dont know what kind of a user I am but Im probably closer to average than anything else. I am trying for 'advanced' title though: ). The problem I have is not exactly flashing the new rom, at least not yet. First I want to backup the one it came with. The thing is in case of warranty claim my service center wants it returned in the state I received it in. Ive used Flashify and Partitions Backup apps first, then I wanted to boot twrp and do another backup. But it seems there is something wrong with the bootloader. >fastboot boot twrp.img works for everyone but me. It returns: failed unknown command. Do you maybe have an idea what could be wrong? Bootloader custom too? What would you suggest I do to backup my phone? I would really appreciate it.
Thank you
m
Click to expand...
Click to collapse
Lol Your doing it wrong buddy it's :
fastboot flash recovery recovery.img
If your recovery is named twrp.img than it should be
Fastboot flash recovery twrp.img otherwise rename the .img file and use the first command

dissidius said:
Lol Your doing it wrong buddy it's :
fastboot flash recovery recovery.img
If your recovery is named twrp.img than it should be
Fastboot flash recovery twrp.img otherwise rename the .img file and use the first command
Click to expand...
Click to collapse
Thank you for your reply.
Actually its listed as command "boot <kernel> [ <ramdisk> ]" and on RN2: hxxp://en.miui.com/thread-207290-1-1.html
Havent tried flash yet and I wont until I figure out whats going on.

Lock the bootloader, i have no problem. But at least they should have given an easier and faster way to get it unlocked.

What about china dev rom 6.1.21?still lock bootloader?
Sent from my Redmi Note 2 using Tapatalk

harizamzi said:
What about china dev rom 6.1.21?still lock bootloader?
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
RN2 is still not affected, still unlock on 6.1.21

I also think that Xiaomi should not do this...
BUT the only thing that concerns me about locking the bootloader is,how I am going to root my device.. The only solution would be to have a zip that contains an SU binary,properly signed so it can be flashed with Mi Recovery.
When I had the Mi3, I flashed the Global Stable,then flashed a homemade (signed) update.zip that had SU inside and I was rooted. I had my phone "stock" but rooted and could do anything..

tonydeli7 said:
I also think that Xiaomi should not do this...
BUT the only thing that concerns me about locking the bootloader is,how I am going to root my device.. The only solution would be to have a zip that contains an SU binary,properly signed so it can be flashed with Mi Recovery.
When I had the Mi3, I flashed the Global Stable,then flashed a homemade (signed) update.zip that had SU inside and I was rooted. I had my phone "stock" but rooted and could do anything..
Click to expand...
Click to collapse
I agree on this. I don't need custom recovery but I need root access. So stock rom (or with lock bootloader) with root access is enough for me.

So is boot loader for RN2 still unlocked in all official roms?
I have been using custom roms for last couple of months now, so I did not really keep tab on this.
TIA

yea, but just to be safe, avoid the official roms and use the xiaomi.eu roms, they are modded for international users and have the bootload lock cleared out.

My redmi note 2 pro was using the latest 6.5.27global dev rom, and I had flashed cn dev rom 6.5.27, bootloader were not locked on both rom, but since 6.5.24 there removed the native root on cn dev rom but you like the native root, just goto security app > root permission and it will let you downloaded the root package. Since then, when ever i flashed a latest rom, also flashed superSU.zip in one go by twrp.
Sent from my 2014817 using XDA-Developers mobile app

My redmi 2 enhanced with cn latest miui8 rom, the bootloader still unlocked. What info will you got from.
Sent from my Redmi Note 3 using XDA-Developers mobile app

Related

[Q] How to Root?

Hi guys,
Anyone know a way to make root in Moto X Play it work?
Or can you use the method of CF-Root Moto X (2014)?
I did unlock the bootloader through the website of Motorola. It worked.
Tks.
(Sorry for my bad english)
Obs. ROOT process in post # 14
No TWRP/Root available as of yet. Give it some time, I guarantee you that XDA will basically be the first place it's posted when it happens. Keep in mind that the phone is just starting to roll out, but not in the US so it might take a while longer for somebody to get on it.
nourez said:
No TWRP/Root available as of yet. Give it some time, I guarantee you that XDA will basically be the first place it's posted when it happens. Keep in mind that the phone is just starting to roll out, but not in the US so it might take a while longer for somebody to get on it.
Click to expand...
Click to collapse
Tks nourez, In Brazil it was released on August 12. I'll wait longer.
lmsantiago said:
Hi everyone. ?Just a point: When doing 'Unlock the bootloader' for root ou flash custom roms, you agree to void your warranty.
Click to expand...
Click to collapse
Most people on this site could care less about warranty... Its a developer site after all
Sent from my Nexus 6 or Note 4
Even still, unless you REALLY screw something up, most of the time you can get away with it. (not sure how Moto X devices show the unlocked bootloader status and such).
....Note: Don't take that comment as fact. Your mileage may vary
Curious how developers figure out how to root. Is there something that's needed (besides having the phone, obviously), do we need kernel images from Motorola?
Devhux said:
Curious how developers figure out how to root. Is there something that's needed (besides having the phone, obviously), do we need kernel images from Motorola?
Click to expand...
Click to collapse
I don't have the device, so I won't be making a recovery for it, but it's not a particularly difficult process to make one. It took me around an hour to port TWRP to the 2015 Moto G, and it should be similar for this device. You can use a prebuilt kernel if sources are not available, but I think the 2015 Moto G kernel will actually work on this device. Moto will be releasing the proper kernel sources for this device soon anyway.
You just need to create a device tree and compile a recovery (such as TWRP). The recovery device tree doesn't need to be very thorough (the way ROM device trees are). It just needs to specify information about partition names and locations and kernel boot parameters etc. It should be a trivial modification to make my 2015 Moto G TWRP device tree work on this device.
Once you have a working recovery, just flash SuperSU with it and you'll be rooted.
squid2 said:
I don't have the device, so I won't be making a recovery for it, but it's not a particularly difficult process to make one. It took me around an hour to port TWRP to the 2015 Moto G, and it should be similar for this device. You can use a prebuilt kernel if sources are not available, but I think the 2015 Moto G kernel will actually work on this device. Moto will be releasing the proper kernel sources for this device soon anyway.
You just need to create a device tree and compile a recovery (such as TWRP). The recovery device tree doesn't need to be very thorough (the way ROM device trees are). It just needs to specify information about partition names and locations and kernel boot parameters etc. It should be a trivial modification to make my 2015 Moto G TWRP device tree work on this device.
Once you have a working recovery, just flash SuperSU with it and you'll be rooted.
Click to expand...
Click to collapse
This makes me happy and sad. Lol. Looking forward to root so I can drop DPI.
I would love to root it. I miss Viper4Android
Sent from my Golden Zenfone 2
I would love to root it too, I'm just wondering if we'll still have the possibility to install firmware upgrade if you root it and unlock the bootloader?
Nico3d3 said:
I would love to root it too, I'm just wondering if we'll still have the possibility to install firmware upgrade if you root it and unlock the bootloader?
Click to expand...
Click to collapse
A quick glance through the other Moto forums here on XDA would give us a good clue. I'm too tired to check at the moment, but if nobody else does by the time I wake up, I'll check then.
Good News! My Moto x play is rooted with the Moto G 2015 method.
Below process we did and it worked:
1- Through the forum: http://forum.xda-developers.com/2015-moto-g/orig-development/twrp-twrp-moto-g-2015-t3170537
I downloaded "TWRP-osprey-2.8.7-test1.img"
2 UPDATE-SuperSU-v2.46.zip downloaded at: https://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
[Copy to your internal SDcard]
3 Place your Moto-x in fastboot mode [Power + Vol. down]
3- install TWRP-osprey-2.8.7-test1.img with the command: fastboot boot TWRP-osprey-2.8.7-test1.img
[Installation is temporary, I tried to permanently install but did not work].
4. The recovery will open automatically, browse to the location where you saved the SuperSU and flash UPDATE-SuperSU-v2.46.zip
5. Restart.
I did this procedure and managed to get root, I'm not responsible for any damage caused to your phone.
Did you have to unlock bootloader before installing it? On my phone, I have an unlocked bootloader and it did work but perhaps people would be interested in trying it with a locked bootloader (less risk of voiding the warranty).
Nico3d3 said:
Did you have to unlock bootloader before installing it? On my phone, I have an unlocked bootloader and it did work but perhaps people would be interested in trying it with a locked bootloader (less risk of voiding the warranty).
Click to expand...
Click to collapse
My bootloader is also unlocked.
I believe you can not do without unlocking the OEM. since it would not be possible to install recovery.
If someone is on a locked bootloader and want to test, we can see if it works. But I believe that is not possible.
I'll gladly test it with a locked bootloader when I get home in a few hours, if it hasn't already been tested by then.
Just tried it with locked bootloader, no joy. Device downloads the boot.IMG but errors booting it and just stays in bootloader mode. Guessing needs the bootloader unlocking first.
Sent from my Nexus 9 using XDA Premium HD app
Good to know. Thanks @CharlesW123 for checking!
Anybody know if we are able to flash a logo to replace the unlocked bootloader warning on the X Play yet?
Sevael said:
Good to know. Thanks @CharlesW123 for checking!
Anybody know if we are able to flash a logo to replace the unlocked bootloader warning on the X Play yet?
Click to expand...
Click to collapse
Yep the method shown here does work on the Moto X Play, you will get back to the normal boot logo.
has anyone tested installing Xposed after rooting yet? I'm assuming the same procedure should work (fastboot boot recovery.img > flash xposed.zip)?
nourez said:
has anyone tested installing Xposed after rooting yet? I'm assuming the same procedure should work (fastboot boot recovery.img > flash xposed.zip)?
Click to expand...
Click to collapse
The Xposed is a .zip file, you need to install the TWRP via flash.
But still I am not the courage to try. I have no backup ROM error.

[Q] Another Rooting Question

The majority of my phones have been HTC so not really sure if unlocking the bootloader is normal procedure for a Motorola phone to obtain root. So i have a couple of questions on rooting this device, I'm happy to stay on a rooted stock so don't really see the point/need of unlocking the bootloader at this time.
1) Do you have to unlock the bootloader to root? or is there a method to root without unlocking the bootloader.
2) If the bootloader does get unlocked can it be relocked at a later date and would it show it had been unlocked?
Thanks in advance.
rnscotch said:
1) Do you have to unlock the bootloader to root? or is there a method to root without unlocking the bootloader.
Click to expand...
Click to collapse
Yes, at this time there's no way to obtain root without unlocking the bootloader.
rnscotch said:
2) If the bootloader does get unlocked can it be relocked at a later date and would it show it had been unlocked?
Click to expand...
Click to collapse
It can be relocked but then it'll be just "re-locked" not "locked", that means it'll have a different status.
Also note that you void the warranty just by obtaining the unlock code from Motorola; it doesn't matter if you've actually applied it to your device
If I unlock the bootloader and root, will I lose OTA updates, right? So, if I do this, how will I update to Marshmallow, when it's available?
LuizHenrique91 said:
If I unlock the bootloader and root, will I lose OTA updates, right? So, if I do this, how will I update to Marshmallow, when it's available?
Click to expand...
Click to collapse
With root you'll lose ota updates if I'm not wrong, but you can always flash the updated full firmware through fastboot or rsd.
If you're rooted, you're free to install any ROM you like. The Devs here at XDA got your back when it comes to updates. Every time the latest Android version came out for my past 2 devices I got it through ROMs from here way quicker than the carriers delivered it. That's not certain for every device, especially older ones, but it's up to you.
I will say since Motorola has kept the Android OS "pure," there may be a chance that this device gets Android M fairly quickly. However in my experience, developers on XDA seem to be able to squash the bugs so much quicker than the carriers.
Good luck in whatever you decide. Myself, I haven't unlocked or rooted since I just got this phone a few days ago. I'm keeping an eye on the forums to see some more ROMs come into play and the tweaking to be more common place with solid procedures. Though, I am itching to root just to get a working LED light. I'm not crazy about this Moto Display that blinks once with a notification and if I missed the blink, I never know something is waiting for me.
eskamhl said:
With root you'll lose ota updates if I'm not wrong, but you can always flash the updated full firmware through fastboot or rsd.
Click to expand...
Click to collapse
But if I flash the full firmware with the new version, I'll need to install the recovery and root again or will the phone stay rooted?
---------- Post added at 04:30 PM ---------- Previous post was at 04:28 PM ----------
ooklathemok said:
If you're rooted, you're free to install any ROM you like. The Devs here at XDA got your back when it comes to updates. Every time the latest Android version came out for my past 2 devices I got it through ROMs from here way quicker than the carriers delivered it. That's not certain for every device, especially older ones, but it's up to you.
I will say since Motorola has kept the Android OS "pure," there may be a chance that this device gets Android M fairly quickly. However in my experience, developers on XDA seem to be able to squash the bugs so much quicker than the carriers.
Good luck in whatever you decide. Myself, I haven't unlocked or rooted since I just got this phone a few days ago. I'm keeping an eye on the forums to see some more ROMs come into play and the tweaking to be more common place with solid procedures. Though, I am itching to root just to get a working LED light. I'm not crazy about this Moto Display that blinks once with a notification and if I missed the blink, I never know something is waiting for me.
Click to expand...
Click to collapse
Yes.. I'm considering to root mine X Play for be able to change the kernel and get the LED working (and maybe some optimizations). It's not prioritary, but I want. I won't install a custom ROM, because I like Moto Voice to much and I know we lost it.
LuizHenrique91 said:
But if I flash the full firmware with the new version, I'll need to install the recovery and root again or will the phone stay rooted?
Click to expand...
Click to collapse
Of course in that case you'll need to install the recovery and root, but as ooklathemok said you'll be able to update through a stock rooted rom simply from recovery
How do I fix this problem
So I fastboot stock firmware for my xt1563 from a rooted rim 6.0 to 5.1
And it all went good until I seen I lost root and recovery
So I re booted to bootloader and flashed
Fastboot flash recovery recovery img
Said okay and installed
I rebooted os
Then rebooted bootloader
Tried to go to recovery mode and the little android dude was there and below him says no command
What am I going wrong
deaksfrost said:
How do I fix this problem
So I fastboot stock firmware for my xt1563 from a rooted rim 6.0 to 5.1
And it all went good until I seen I lost root and recovery
So I re booted to bootloader and flashed
Fastboot flash recovery recovery img
Said okay and installed
I rebooted os
Then rebooted bootloader
Tried to go to recovery mode and the little android dude was there and below him says no command
What am I going wrong
Click to expand...
Click to collapse
Do not reboot to OS after flashing recovery, just reboot to recovery. If you reboot to OS after flashing twrp the stock Rom will over write recovery
Do Custom OS support Active/Moto Display and Moto voice?
yekollu said:
Do Custom OS support Active/Moto Display and Moto voice?
Click to expand...
Click to collapse
No, custom Roms do not support moto voice nor will they ever. Active display is all custom Roms provide.
This is my second moto x, I had the original moto x from 2013 and hated moto display.

Bootloader unlock without unlock code from Huawei

Is it possible to unlock the bootloader without the unlock code coming from Huawei itself?
I want to unlock the bootloader. Many pages on the web (and on this forum as well) say I need to get the unlock code from huawei, but... it seems that huawei is not collaborative any more: Honor/Huawei’s bootloader unlock page disappears with no explanation
Can I work it out without the code?
Actually, what I really want to do is...
Actually, what I really want to do is...: install a different firmware.
I'm a real noob in the world of modding & custom rom.
As far as I understand, unlocking bootloader is required in order to install a different ROM: is it right? or can I install it somehow even with bootloader locked? Also, can I root the P8 without unlocking the bootloader?
My P8 is on the latest firmware I recently received OTR from Huawei: GRA-L09C02B405. The phone is starting to have some problems: hight battery drenage, UI freezing and rebooting from time to time.
I'd like to install a previous version of Huawei official firmware, or different a custom ROM (I read about some of them in this forum: any suggestion?). But as far a I understand, unlocking bootloader is required, and it seems that without the code from Huawei I'm blocked
Ik zit met de zelfde vraag, ook mijn P8 kan ik niet unlocken website van Huawei met deze optie is verdwenen.
I have the same question, also my P8 I can't unlock Huawei's website with this option is gone.
You now have to contact Huawei and request it, providing IMEI, SN, Product Code, Model, and reason why you wish to unlock it.
Here is a link to contact the UK (most people say this is more successful than others) :- https://consumer.huawei.com/uk/contact-us/
Thanks @Sparkrite, I will try that way.
Can you help me also with my second post in this thread? I mean, do I have to unlock the bootloader in order to flash a custom rom and / or to root the phone?
ModNoob33 said:
Thanks @Sparkrite, I will try that way.
Can you help me also with my second post in this thread? I mean, do I have to unlock the bootloader in order to flash a custom rom and / or to root the phone?
Click to expand...
Click to collapse
For both, yes, you need to unlock your phone. For rooting, you have to flash a new boot.img, and for a custom ROM you have to flash the system.img too.
Without the unlocked bootloader you are unable to flash the images /partitions
ModNoob33 said:
Thanks @Sparkrite, I will try that way.
Can you help me also with my second post in this thread? I mean, do I have to unlock the bootloader in order to flash a custom rom and / or to root the phone?
Click to expand...
Click to collapse
For both NO, however it tends to be a bit easier if the bootloader is unlocked. Some third party rooting apps may or may not work, depending on what version OS you have installed, without changing the recovery partition.
However it is usually easier to root by flashing with TWRP etc. which necessitates an unlocked bootloader to allow you to flash the said recovery.img and then flashing SU.zip for example.
The same goes for flashing a system.img ( does not need an unlocked bootloader ) eg. use fastboot mode and an ADB shell or even DLOAD if it has the correct signatures. The caveat is that most if not all custom ROMs use a proprietary boot.img so an unlocked BL will be required in this case.
Hope that clears it up for you.
Sparkrite said:
For both NO, however it tends to be a bit easier if the bootloader is unlocked. Some third party rooting apps may or may not work, depending on what version OS you have installed, without changing the recovery partition.
However it is usually easier to root by flashing with TWRP etc. which necessitates an unlocked bootloader to allow you to flash the said recovery.img and then flashing SU.zip for example.
The same goes for flashing a system.img ( does not need an unlocked bootloader ) eg. use fastboot mode and an ADB shell or even DLOAD if it has the correct signatures. The caveat is that most if not all custom ROMs use a proprietary boot.img so an unlocked BL will be required in this case.
Hope that clears it up for you.
Click to expand...
Click to collapse
Isn't it? Oh, damn, all time I thought it necessary to do this. Sorry
Sparkrite said:
For both NO, however it tends to be a bit easier if the bootloader is unlocked. Some third party rooting apps may or may not work, depending on what version OS you have installed, without changing the recovery partition.
However it is usually easier to root by flashing with TWRP etc. which necessitates an unlocked bootloader to allow you to flash the said recovery.img and then flashing SU.zip for example.
The same goes for flashing a system.img ( does not need an unlocked bootloader ) eg. use fastboot mode and an ADB shell or even DLOAD if it has the correct signatures. The caveat is that most if not all custom ROMs use a proprietary boot.img so an unlocked BL will be required in this case.
Hope that clears it up for you.
Click to expand...
Click to collapse
I asked Huawei for the code, now I'm waiting for reply.
So, if I understand correctly, even without unlocking bootloader I should be able to flash a previous version of an official firmware, ain't it? I can consider that option if I don't get the code from Huawei
Thanks a lot, you are being really helpful
Bootloader unlocking is not needed for upgrading official firmware, unfortunately, normally it is a completely different matter when trying to downgrade .
Sparkrite said:
Bootloader unlocking is not needed for upgrading official firmware, unfortunately, normally it is a completely different matter when trying to downgrade .
Click to expand...
Click to collapse
So, it seems that I really need Huawei help to do something more or less useful for me. They made something such a "unhackable" phone which can be hacked only with their support. And more or less every other vendor I assume.
Quite weird I think.
AFAIK Huawei are/were the only vendors that made it so easy to unlock the BL, esp. when their code generator was online.
Have you heard back from them yet, some people report getting the code within 12 hours ?
Sparkrite said:
AFAIK Huawei are/were the only vendors that made it so easy to unlock the BL, esp. when their code generator was online.
Have you heard back from them yet, some people report getting the code within 12 hours ?
Click to expand...
Click to collapse
I got a first mail the day after I wrote, with them asking to add the reason for the code request.
This morning I answered them them that I wanted to play with root rights & custom rom, and that I was aware of the risks implied.
now (6 hours later) they sent me the code.
Quite a good support I'd say
ModNoob33 said:
I got a first mail the day after I wrote, with them asking to add the reason for the code request.
Click to expand...
Click to collapse
Yes indeed, the reason why, as I said in my first post, wonder why they're interested ?
Sparkrite said:
You now have to contact Huawei and request it, providing IMEI, SN, Product Code, Model, and reason why you wish to unlock it.
Click to expand...
Click to collapse
Any way you have it now, I assume it worked OK.
The product id in a custom firmware is the same as de original firmware?
i use this method to see product id *#*#1357946#*#* but in a custom firmware,because i lost the code but only want to save it,try the unlock page but i dont get code only errors.
Cientista2018 said:
The product id in a custom firmware is the same as de original firmware?
i use this method to see product id *#*#1357946#*#* but in a custom firmware,because i lost the code but only want to save it,try the unlock page but i dont get code only errors.
Click to expand...
Click to collapse
Try here for your product code :- www.imei24.com
well they dont give anymore codes for bootloader... my huawei p8 lite RIP
djokagg said:
well they dont give anymore codes for bootloader... my huawei p8 lite RIP
Click to expand...
Click to collapse
u sure there's absolutely no way?
AcidCat said:
u sure there's absolutely no way?
Click to expand...
Click to collapse
i'm struggling with the same issue. UK support doesn't want to give me the unlock code even if my P8Max is blocked on all google related stuff. I can't even get Google services
after the last OTA update ( DAV-703LC233B226 ) installed anymore. But still they persist that I should send back the unit ...
You can unlock your bootloaders by using DC Unlocker.

Look and unlock bootloader with official method

In other posts there is procedure , for device with bootloader unlocked with unofficial method, for look and unlook officially, but is confused and in other arguments.
Is possible have this post for this argument, with clear guide , because I think is important question.
This maybe procedure:
1. miflash to official China Beta rom first. Flash without relock.
1b. Download from PC VPN app, install on phone and set connection to China. Then you are able to active usb developer options
2. re-lock bootloader with official China Beta rom. Flash and relock.
3. unlock bootloader again with official China Beta rom. Need to tie up with Mi account and insert a SIM card. For me, need to wait for 720 hours before MM3 can be unlocked. I checked chinese miui forum. This apparently is a new requirement. One full month later. Gosh...
4. miflash to official Global rom and stop there.
5. Do not re-lock bootloader with official Global rom""
I don't try this procedure......
What's the point of looking the bootloader just to get it unlocked again after whatever hours waiting!?
Do you experience problems with the device being unlocked unofficialy? Or this is just another "good advice/info" coming from MIUI forums...
Be happy somebody already took care of that and enjoy the unlocked bootloader freedom you get.
nijel8 said:
What's the point of looking the bootloader just to get it unlocked again after whatever hours waiting!?
Do you experience problems with the device being unlocked unofficialy? Or this is just another "good advice/info" coming from MIUI forums...
Be happy somebody already took care of that and enjoy the unlocked bootloader freedom you get.
Click to expand...
Click to collapse
The device comes unlocked but your Mi account has not permission to unlock this specific device because you never followed the official unlock procedure.
Xiaomi with its new policy does not let you use a Chinese version of a phone with a global rom and a locked bootloader. If you flash the global rom and for some reason the bootloader gets locked, your phone will stuck on the recovery with the following message "this miui version cannot be installed on this device", at this stage you must unlock the bootloader to be able to boot again, if the bootloader was unlocked officialy with you own account, you can use the mi unlock tool to unlock again and make the phone bootable, if the bootloader was unofficialy unlocked or unlocked by other account, in this case you can't unlock with the Mi unlock tool, you can't flash another rom since the bootloader is locked, you can't follow the official unlock procedure because you are stuck in recovery, the only solution is to use the test point method with EDL authorized account
Ok, I guess sounds reasonable for majority of the users.
But me personally? I could care less...
You can backup bootloader unlocked status and restore it if locked by accident...
panospc said:
The device comes unlocked but your Mi account has not permission to unlock this specific device because you never followed the official unlock procedure.
Xiaomi with its new policy does not let you use a Chinese version of a phone with a global rom and a locked bootloader. If you flash the global rom and for some reason the bootloader gets locked, your phone will stuck on the recovery with the following message "this miui version cannot be installed on this device", at this stage you must unlock the bootloader to be able to boot again, if the bootloader was unlocked officialy with you own account, you can use the mi unlock tool to unlock again and make the phone bootable, if the bootloader was unofficialy unlocked or unlocked by other account, in this case you can't unlock with the Mi unlock tool, you can't flash another rom since the bootloader is locked, you can't follow the official unlock procedure because you are stuck in recovery, the only solution is to use the test point method with EDL authorized account
Click to expand...
Click to collapse
But the procedure in first post, work in unofficial unlocked bootloader ?
If yes, after I am able to install global fastboot ROM when will be available ?
lucaxxaa said:
But the procedure in first post, work in unofficial unlocked bootloader ?
If yes, after I am able to install global fastboot ROM when will be available ?
Click to expand...
Click to collapse
My brother's Mi Max 3 came with unlocked bootloader, I just flashed china stable with clean and lock without problems.
I have seen some reports of bricked devices from people who tried to flash and lock, honestly, I do not know what went wrong in their case.
nijel8 said:
You can backup bootloader unlocked status and restore it if locked by accident...
Click to expand...
Click to collapse
Does this involves EDL mode?
As far as I know, EDL mode is locked on newer xiaomi devices.
Check this thread for more info https://www.reddit.com/r/Xiaomi/comments/98jr79/psa_a_potential_fix_for_flashing_in_edl_mode/
panospc said:
...
Does this involves EDL mode?
As far as I know, EDL mode is locked on newer xiaomi devices.
Check this thread for more info https://www.reddit.com/r/Xiaomi/comments/98jr79/psa_a_potential_fix_for_flashing_in_edl_mode/
Click to expand...
Click to collapse
It requires either root or EDL or TWRP...
And no, EDL is not locked, it's not Xiaomi's feature to lock it, it's Qualcomm business... MiFlash is locked which is irrelevant... Who needs their stupid front end when you can use Qualcomm tools...
nijel8 said:
Who needs their stupid front end when you can use Qualcomm tools...
Click to expand...
Click to collapse
Quote from the link a gave you
Users have been experimenting with older versions of MiFlash as well as Qualcomm's official flashing tool QFIL, but to no avail, they couldn't flash in EDL because the programs could not bypass the requirement for authentication.
Click to expand...
Click to collapse
Is this irrelevant?
panospc said:
Quote from the link a gave you
Is this irrelevant?
Click to expand...
Click to collapse
Maybe, we are not talking QFIL and flashing roms here. Will let you know when I get my Max 3 and test it.
your help is highly appreciated
panospc said:
The device comes unlocked but your Mi account has not permission to unlock this specific device because you never followed the official unlock procedure.
Xiaomi with its new policy does not let you use a Chinese version of a phone with a global rom and a locked bootloader. If you flash the global rom and for some reason the bootloader gets locked, your phone will stuck on the recovery with the following message "this miui version cannot be installed on this device", at this stage you must unlock the bootloader to be able to boot again, if the bootloader was unlocked officialy with you own account, you can use the mi unlock tool to unlock again and make the phone bootable, if the bootloader was unofficialy unlocked or unlocked by other account, in this case you can't unlock with the Mi unlock tool, you can't flash another rom since the bootloader is locked, you can't follow the official unlock procedure because you are stuck in recovery, the only solution is to use the test point method with EDL authorized account
Click to expand...
Click to collapse
that is exactly what just has happens with me few minutes ago.
I bought the MAX3 through Ali Express with "fake" global Rom, and open bootloader, however since the global ROM is officially released by Xiaomi so I was trying to flash it through XiaomiFalsh but, mistakenly, and unfortunately, I kept the tick mark on "clean all and lock" and now the phone is stuck on recovery, I called the service center of Xiaomi by they said since it is not officially announced in my country so it is not their baby and they asked me to contact the seller "who ali experess! no way!!"
guys who can help me to get out of this issue will be really appreciated, but keep in mind I'm not an expert.
awaiting your kindness
maherd said:
that is exactly what just has happens with me few minutes ago.
I bought the MAX3 through Ali Express with "fake" global Rom, and open bootloader, however since the global ROM is officially released by Xiaomi so I was trying to flash it through XiaomiFalsh but, mistakenly, and unfortunately, I kept the tick mark on "clean all and lock" and now the phone is stuck on recovery, I called the service center of Xiaomi by they said since it is not officially announced in my country so it is not their baby and they asked me to contact the seller "who ali experess! no way!!"
guys who can help me to get out of this issue will be really appreciated, but keep in mind I'm not an expert.
awaiting your kindness
Click to expand...
Click to collapse
Apply for unlock bootloader here: https://en.miui.com/unlock/
Wait time is 720 hours. No other way around it. Sorry, buddy.
opasha said:
Apply for unlock bootloader here: https://en.miui.com/unlock/
Wait time is 720 hours. No other way around it. Sorry, buddy.
Click to expand...
Click to collapse
There is no way to apply for unlock without a bootable phone, He must go to Developer options -> Mi Unlock status -> Add account and device but this is not possible because the phone is stuck in recovery.
The only solution right now is to use the test-point method to flash the chinese rom.
panospc said:
There is no way to apply for unlock without a bootable phone, He must go to Developer options -> Mi Unlock status -> Add account and device but this is not possible because the phone is stuck in recovery.
The only solution right now is to use the test-point method to flash the chinese rom.
Click to expand...
Click to collapse
Someone I helped fastboot flash China 8.8.9 mistakenly did this and was able to boot. Is Global rom entirely different in this situation?
opasha said:
Someone I helped fastboot flash China 8.8.9 mistakenly did this and was able to boot. Is Global rom entirely different in this situation?
Click to expand...
Click to collapse
Yes, it's different
chinese device + global rom + locked bootloader = stuck in recovery
Check my previous post here https://forum.xda-developers.com/showpost.php?p=77574305&postcount=3
panospc said:
Yes, it's different
chinese device + global rom + locked bootloader = stuck in recovery
Check my previous post here https://forum.xda-developers.com/showpost.php?p=77574305&postcount=3
Click to expand...
Click to collapse
Oh right, now I remember. This was that very big announcement. Completely forgot. Thanks for the reminder. Yes, then test point is the only option, unfortunately.
Again, this was why I urged people to steer clear of global and stick to Eu roms. More harm than good especially related to such situations (many new flashers accidentally locking bootloaders).
panospc said:
There is no way to apply for unlock without a bootable phone, He must go to Developer options -> Mi Unlock status -> Add account and device but this is not possible because the phone is stuck in recovery.
The only solution right now is to use the test-point method to flash the chinese rom.
Click to expand...
Click to collapse
Thank you so much guys for your feedback, for now I have the flowing questions:
1- the phone is stuck in recovery mode, how I shutdown the phone.
2- If I wait for Xiaomi to launch MAX3 officially in y country do you think they will be able to help me even with charged service?
3- can any of you expert guys direct me to some useful link to see how do it use the test-point method.
4- If I succeeded to unlock the bootloader through the test-point method, is it mandatory to flash the Chinese version or I can flash global Rom and keep the bootloader unlocked.
thank you in advance for your time.
maherd said:
Thank you so much guys for your feedback, for now I have the flowing questions:
1- the phone is stuck in recovery mode, how I shutdown the phone.
2- If I wait for Xiaomi to launch MAX3 officially in y country do you think they will be able to help me even with charged service?
3- can any of you expert guys direct me to some useful link to see how do it use the test-point method.
4- If I succeeded to unlock the bootloader through the test-point method, is it mandatory to flash the global Rom and keep the bootloader unlocked.
thank you in advance for your time.
Click to expand...
Click to collapse
1. Hold power and volume down until boots to fastboot mode, leave it and it should turn off automatically after few seconds.
3. You can find some information scattered to the following threads
https://en.miui.com/forum.php?mod=viewthread&tid=3667214
https://en.miui.com/thread-3765172-1-1.html
https://forum.xda-developers.com/mi-max-3/help/guess-somewhat-kinda-bricked-nitrogen-t3848922
https://forum.xda-developers.com/mi-max-3/help/help-mi-max-3-hard-bricked-anti-roll-t3834769
How to take apart Mi Max 3 https://www.youtube.com/watch?v=aQhhbzQ6l2s (check from 0:00 to 3:00 minute)
Click to expand...
Click to collapse
4. With the test-point method you can flash the chinese rom even if the bootloader is locked, after succesfully flashing the china rom you have to apply for official unlock, after getting the unlock permission you can flash global rom by leaving the bootloader unlocked.
XiaomiTool official page is proposing another solution but you need to wait for a global dev rom to be released and it is not guaranteed to work
If you get the message "this miui can't be installed on this device" and your device is bricked you might be able to recover it using xiaomiadb by first installing global developer and then installing china developer OF SAME VERSION (for example 8.8.16->8.8.16) using "xiaomiadb sideload_miui -otarom CurrentRom [ZIP_ROM_FILE]"
Click to expand...
Click to collapse
hello all, if someone can help me, i have my mi max3 with locked bootloader.
now i dont have any rom on it so trying to load a rom but getting an error ERASE is not allowed in locked state
what rom can i flash on it ?
tried to unlock bootloader via the tool, it gets stuck at 50% cannot verify phone.
had the same problem, was able to recover it with the test point method and flashing chinese rom, and switching to english language.
the procedure is described here:
https://androidfilebox.com/tips/edl-test-point-mode-redmi-note-4x/
the installation process of the qualcom drivers is special.
you have to open te backcover, which is very special too, dont forget to the 2 mini screws at the usb port and the drawer on the side . search and look on youtube.
look further, where the testpoints are on the mi max3
follow strictly the procedure, load and double extract the chinese rom for the mi max 3.
It is real work, and real danger that you break something mechanical, one shoud have a calm hand and a lot of patience, but for me all went good and the phone spang to live again.
Another solution could be this, but I have no experience with it:
https://s-unlock.com/productsandservices/server

Root without unlocking bootloader?

There is any way to root my Mi note 7 without unlocking the bootloader? Because i want to have the mi account security features like find my fone etc.
Or any way to unlock the bootloader and still have the features.
Thanks for the attention and sorry about my bad english (if i write anything wrong i will be happy if you correct me)
equistemi said:
There is any way to root my Mi note 7 without unlocking the bootloader? Because i want to have the mi account security features like find my fone etc.
Or any way to unlock the bootloader and still have the features.
Thanks for the attention and sorry about my bad english (if i write anything wrong i will be happy if you correct me)
Click to expand...
Click to collapse
No, root needs the bootloader unlocked but I think that things like find my device is a google feature so maybe it can work with root ( maybe with magisk hide) but I'm not sure.
darhma said:
No, root needs the bootloader unlocked but I think that things like find my device is a google feature so maybe it can work with root ( maybe with magisk hide) but I'm not sure.
Click to expand...
Click to collapse
Thanks for the reply!
But I'm talking about the xiaomi ones... Like the feature that if you press the on/off button 5 times the device enters on SOS mode etc.
equistemi said:
Thanks for the reply!
But I'm talking about the xiaomi ones... Like the feature that if you press the on/off button 5 times the device enters on SOS mode etc.
Click to expand...
Click to collapse
You have to unlock bootloader in order to root. If you want Mi features, you can stay on stock MIUI or switch to MIUI-based ROMs like Xiaomi.eu.
equistemi said:
There is any way to root my Mi note 7 without unlocking the bootloader? Because i want to have the mi account security features like find my fone etc.
Or any way to unlock the bootloader and still have the features.
Thanks for the attention and sorry about my bad english (if i write anything wrong i will be happy if you correct me)
Click to expand...
Click to collapse
No you can't, because magisk at least requires flashing a patched boot.img either through fastboot or a custom recovery, which is impossible without unlocked bootloader.
An interesting idea would be ( if you dare! ) to short certain test points when you take the device apart to force the phone into edl mode and flash the patched boot.img. but I wouldn't do that to my daily driver.
Well, thanks for all the replies! My question is answered! Thanks for all of you.
Without unlocking boot loader can i flash custom recovery ? Mobile condition is :-stuck in boot loop in redmi logo , i can reset but i want data so plz have anyone idea ,
Costom recovery ,stcok recovery or boot.img is this possible ,? REDMI 7
Ashwin01e said:
Without unlocking boot loader can i flash custom recovery ? Mobile condition is :-stuck in boot loop in redmi logo , i can reset but i want data so plz have anyone idea ,
Costom recovery ,stcok recovery or boot.img is this possible ,? REDMI 7
Click to expand...
Click to collapse
that is not the case for phones after Android 5
Slim K said:
No you can't, because magisk at least requires flashing a patched boot.img either through fastboot or a custom recovery, which is impossible without unlocked bootloader.
An interesting idea would be ( if you dare! ) to short certain test points when you take the device apart to force the phone into edl mode and flash the patched boot.img. but I wouldn't do that to my daily driver.
Click to expand...
Click to collapse
Is it safe to flash patch boot.img with edl mode ?
Qwerty user said:
Is it safe to flash patch boot.img with edl mode ?
Click to expand...
Click to collapse
I'm sorry to disappoint you, that I found out that Xiaomi devices have their EDL mode locked for only verified Xiaomi service accounts (which I don't have). So I couldn't test that hypothesis.
Another thing is, Xiaomi phones are not like other phones I used to have (like pixel or oneplus), where you could boot the phone with custom images signed by your own private key. (Vbmeta generation and signing). This method of booting custom images requires you to unlock first, make your own ROM, boot and TWRP, sign them with your all with your key and add that to your vbmeta partition. Which is a tedious Process and an unknown territory for me. Making it not really worth it to keep the Bootloader locked.
To summarize, It is almost impossible to root w/o unlocking (avoiding Avb). You either need the private key from Xiaomi, which only they know or you need to have a verified EDL account in order to try.
Slim K said:
I'm sorry to disappoint you, that I found out that Xiaomi devices have their EDL mode locked for only verified Xiaomi service accounts (which I don't have). So I couldn't test that hypothesis.
Another thing is, Xiaomi phones are not like other phones I used to have (like pixel or oneplus), where you could boot the phone with custom images signed by your own private key. (Vbmeta generation and signing). This method of booting custom images requires you to unlock first, make your own ROM, boot and TWRP, sign them with your all with your key and add that to your vbmeta partition. Which is a tedious Process and an unknown territory for me. Making it not really worth it to keep the Bootloader locked.
To summarize, It is almost impossible to root w/o unlocking (avoiding Avb). You either need the private key from Xiaomi, which only they know or you need to have a verified EDL account in order to try.
Click to expand...
Click to collapse
Thanks for reply Slim K. Its very sad new for me but the other thing is i can't unlock the bootloader of of my mi 5 device due to unknown reason chinese error.
Qwerty user said:
Thanks for reply Slim K. Its very sad new for me but the other thing is i can't unlock the bootloader of of my mi 5 device due to unknown reason chinese error.
Click to expand...
Click to collapse
Please read all of this thread first. Make sure you're using the Official unlock tool and that your sim card number is registered to the same MI account as primary phone number. Use find my device to find out if everything is correct.
Ashwin01e said:
Without unlocking boot loader can i flash custom recovery ? Mobile condition is :-stuck in boot loop in redmi logo , i can reset but i want data so plz have anyone idea ,
Costom recovery ,stcok recovery or boot.img is this possible ,? REDMI 7
Click to expand...
Click to collapse
Same situation, in bootloop, with locked redmi note 5 pro
please post here if you get solution/workaround to flash such redmi note device
pra1shiv said:
Same situation, in bootloop, with locked redmi note 5 pro
please post here if you get solution/workaround to flash such redmi note device
Click to expand...
Click to collapse
Flash the stock ROM using Mi Flash tool, if you want to preserve your data, then check the option "keep data" in the tool.
SubwayChamp said:
Flash the stock ROM using Mi Flash tool, if you want to preserve your data, then check the option "keep data" in the tool.
Click to expand...
Click to collapse
Thanks SubwayChamp for the answer
just wanted to confirm before flashing, I have redmi note 5 pro indian version, I do not have mi account added while my phone was on, also i do not have OEM bootloder unlocked, Can I still do this method?
If yes, It will be very helpful to please let me know some pre-caustions that i should keep in mind.
pra1shiv said:
Thanks SubwayChamp for the answer
just wanted to confirm before flashing, I have redmi note 5 pro indian version, I do not have mi account added while my phone was on, also i do not have OEM bootloder unlocked, Can I still do this method?
If yes, It will be very helpful to please let me know some pre-caustions that i should keep in mind.
Click to expand...
Click to collapse
Well, as you didn't start the process to bind your Mi account, then you actually can't unlock the bootloader.
You will need to send your device to EDL mode, then you can flash, preferably, the same firmware you actually have.
To send to EDL mode, while device is locked, then it's not possible to use only commands or hardware buttons, you should need, instead to use a short-circuiting, just search for test point method for RN5 Pro.

Categories

Resources