[OEM] Go back to LOCKED Bootloader (LG G4 - All variants) - G4 General

Temporarily Locked - until I prepare complete method​
!!! WARNING !!!
This method is currently in testing
Do this at your own risk! I'm not responsible for bricks.
Read and follow this steps correctly!​
Description:
Regarding OllieD thread (available in Credits) he found that bootloader have several references in persistent partition which was correct. I was trying to continue his research and I found that before unlock and after unlock some partitions not included in KDZ files are modificated by unlock.bin key.
This partitions are: cust, drm, misc, modemst1, modemst2, mpt, persistent and sns. I knew that drm, modemst1, modemst2, mpt and sns partitions cannot be important in unlocking / locking process so I was able to check 3 partitions which was CUST, MISC and PERSISTENT.
This first contains informations about whole boot process like boot image, boot procedure and also information about bootloader state which is visible on the top of the screen while bootloader is unlocked.
Second partition is the most important - it contains DEVICE-ID needed to unlock device and real bootloader state which can be check using "fastboot getvar unlocked" and also used unlock.bin when bootloader is unlocked. There are some references between this partitions which check them both so this partitions MUST be flashed together.
Persistent partition contains procedure for unlocking bootloader (parse command to flash unlock.bin) so we dont need to flash it - but if you want, you can
Result of relock:
- "Bootloader Unlocked!" message disappear while booting. (CONFIRMED)
- "fastboot getvar unlocked" returns "no" (CONFIRMED)
Requirements:
- ADB and FASTBOOT
- ADB Driver installed
- LGUP (which can be downloaded from here)
- LG_ROOT (which can be downloaded from here)
After relock, you can use the same Unlock Key which was used to unlock bootloader for the first time (this one from official LG Bootloader Unlock Site)
INSTRUCTION:
IN PREPARATION...
Video (Prove - not instruction):
WARNING! DONT TRY METHOD SHOWED IN THIS VIDEO FOR THIS MOMENT !!!
COMMANDS USED IN THIS VIDEO ARE DEDICATED TO H815 EU VARIANT
IF YOU DONT HAVE THIS VARIANT, THIS COMMANDS CAN HARD-BRICK YOUR PHONE!!!​
Credits:
- OllieD (for: Relocking Bootloader May Be Possible...)
- shakeyabooti (for: "LGUP - NEW!!! - INSTALL KDZ - MM or LP - FACTORY RESET/UPGRADE")
- thecubed (for: "[ROOT] TMO/VZW/ATT/SPRINT/INTL Root your LG G4 with Low Effort Root!")
- Unjustified Dev (for: "[GUIDE] New Root Method for LG Devices")
- dominik-p (for: "[How to] Determine dd Parameters For All LG G4 Models")
- leptdre (for: "Unbrick LG G4 H815 9008 Qualcomm")

You are the man if it works!

Oh man,big up for u!

Uhmm.... Does this mean that... if we get the bootloop issue.... we will be able to relock and send back to LG for warranty purposes???!?!?
(I mean, if it's really shown as locked in every possible aspect, after relocking...)

polfrank said:
Uhmm.... Does this mean that... if we get the bootloop issue.... we will be able to relock and send back to LG for warranty purposes???!?!?
(I mean, if it's really shown as locked in every possible aspect, after relocking...)
Click to expand...
Click to collapse
Yes, but you don't need to.
I had bootloader unlocked, and LG repaired it under warranty
Just place LG G4 motherboard to your cooker, 200 celsius degrees for 10 minutes and device is broken forever without any traces - send it to them, tell "i dont know what's happened - just bootlooped and now died" - and voilÃ*. They replaced motherboard and after 2-3 days, i got my LG working without any bootloop (and with locked bootloader). And of course for free :highfive:
So, I've just extracted all partitions "BEFORE" unlocking bootloader, then i unlocked it, again extracted all partitions to make a HEX compare, and that's it - just flash important (2 or 3) partitions from state BEFORE bootloader was unlocked and wow - relocked, unlocked, again relocked, unlocked - no crash, no brick, working as hell.
And as I wrote:
xVANKO said:
Result of relock:
- "Bootloader Unlocked!" message disappear while booting. (CONFIRMED)
- "fastboot getvar unlocked" returns "no" (CONFIRMED)
- [I need to find is there any other method to check, is bootloader locked or not - IF YOU KNOW ANY OTHER METHOD TO CHECK BOOTLOADER STATE PLEASE WRITE IT IN COMMENT OR SEND ME VIA PM]
Click to expand...
Click to collapse
There is no information while booting about unlocked bootloader, and also fastboot command "getvar unlocked" returns "no" - so official command to check bootloader state returns that bootloader is locked. I don't know is there any other method of checking bootloader state but it seems to be fully locked.
The biggest problem for me is 1 of this important partitions - becouse, what if this partition contains DEVICE-ID needed to unlock bootloader. If you relock it using my method, probably your phone will get DEVICE-ID of my phone - which can be easly detected by LG Support. I need to check some things before I make this release.

Well, one option would be to create a script for those that did not unlock yet, so they save the 3 partitions and then they can happily unlock, knowing that they can relock. What do you say about this as a partial solution, if some device dependent information is stored in those partitions.?

ObiDanKenobi said:
Well, one option would be to create a script for those that did not unlock yet, so they save the 3 partitions and then they can happily unlock, knowing that they can relock. What do you say about this as a partial solution, if some device dependent information is stored in those partitions.?
Click to expand...
Click to collapse
First partition store data which customize boot screen (like boot logo, information about bootloader lock state, etc). Second partition store bootloader extra configuration like used unlock key, real unlock state. Third partition is unknown for me at this moment. For sure, people with locked bootloader will have the most secure way to relock it after unlock - just using their own partitions dump - not shared and published for all. If second partition does not contain informations about DEVICE_ID, there wiil be only one simply method to relock bootloader again.

Locked bootloader for 1,5 years, so this will be huge for me, finally unlocking the bootloader and back again in case of something happens! Great....
Sent from my LG-H815 using Tapatalk

Oh man! If you'll do that and it'll be working 100% I will try to donate to you for that! I wanted to unlock my bootloader but I was always worried about some problems that I might get
Wysłane z mojego LG-H815 przy użyciu Tapatalka

All the people are worried about warranty in case of a bootloop. How would you revert the 3 partitions content when the phone is bootlooping and you have access only to send_command.exe?

Oh, while my G4 is still in the owen now, I'm reading this thread H815 506 bootlooped this April. Warranty repair rejected. Worked with big-core disable tool for 6 months, until it finally died today.
Ok, if it is not finally dead after baking in the owen, then I will try to lock again and give it to the repair

Now I'm just waiting for proper LG G5 Port until Nougat is released [emoji14]
Wysłane z mojego LG-H815 przy użyciu Tapatalka

ObiDanKenobi said:
All the people are worried about warranty in case of a bootloop. How would you revert the 3 partitions content when the phone is bootlooping and you have access only to send_command.exe?
Click to expand...
Click to collapse
Maybe you can flash the kdz that disables the big cores and then you have a properly working phone, where you can do anything you like, such as relocking the bootloader...

ObiDanKenobi said:
All the people are worried about warranty in case of a bootloop. How would you revert the 3 partitions content when the phone is bootlooping and you have access only to send_command.exe?
Click to expand...
Click to collapse
You can import partition files to sdcard and flash it via send_command - and bootloader will be locked.
undef1ned said:
Oh, while my G4 is still in the owen now, I'm reading this thread H815 506 bootlooped this April. Warranty repair rejected. Worked with big-core disable tool for 6 months, until it finally died today.
Ok, if it is not finally dead after baking in the owen, then I will try to lock again and give it to the repair
Click to expand...
Click to collapse
As I wrote, I had bootloader UNLOCKED and i LG repaired my phone under warranty - i just destroyed it completly in the cooker and sent it to them just telling "i dont know whats happen, just bootloped and now died" - they wouldnt able to check bootloader state so ... >

xVANKO said:
As I wrote, I had bootloader UNLOCKED and i LG repaired my phone under warranty - i just destroyed it completly in the cooker and sent it to them just telling "i dont know whats happen, just bootloped and now died" - they wouldnt able to check bootloader state so ... >
Click to expand...
Click to collapse
I've bought mine in Poland. Unfortunately sent to repair with "Bootloader Unlocked" message on, just read several forums (including forum.android.com.pl) and some ppl shared positive experience of the unlocked phone to be fixed. Not sure if I can apply for the second time, may-be they've marked it as an unlocked somewhere in the database. Anyway I need to cross the UA/PL border twice to do it.
After baking method, my phone is on, but switching 4 small CPUs on - makes it supper laggy & unresponsive, however it does not go into bootloop mode
When are you going to post instructions?

Minto107 said:
Now I'm just waiting for proper LG G5 Port until Nougat is released [emoji14]
Wysłane z mojego LG-H815 przy użyciu Tapatalka
Click to expand...
Click to collapse
Relock will work also for LG G5 - this is the same security level and the same procedure
undef1ned said:
I've bought mine in Poland. Unfortunately sent to repair with "Bootloader Unlocked" message on, just read several forums (including forum.android.com.pl) and some ppl shared positive experience of the unlocked phone to be fixed. Not sure if I can apply for the second time, may-be they've marked it as an unlocked somewhere in the database. Anyway I need to cross the UA/PL border twice to do it.
After baking method, my phone is on, but switching 4 small CPUs on - makes it supper laggy & unresponsive, however it does not go into bootloop mode
When are you going to post instructions?
Click to expand...
Click to collapse
Tomorrow i will post video showing this method, instruction will be on Monday or Tuesday

Does that mean that there is a chance for an unofficial unlock in the near future? for those without EUR devices?

tim455 said:
Does that mean that there is a chance for an unofficial unlock in the near future? for those without EUR devices?
Click to expand...
Click to collapse
Yes, there is a big chance to unlock non-euro devices. Probably if you flash prepared by me dumps I can transorm any LG variant to EURO variant - of course with possibility to go back to stock.
Just uploaded video to main thread.

Nice ! Thanks .but i wait step by step instructions video very laggy :

When we can get dumps to flash ??

Related

Back to stock without fastboot?

Hi
As in the topic - Is that possible? In all guides I saw the process went through fastboot.
As my nexus 7 has broken usb data transfer, I would like to RMA it. But I have right now Modaco Custom Rom - I afraid, that Asus service could use that as arguments against free repair....
Wysyłane z mojego HTC One X za pomocą Tapatalk 2
The only method claimed (I haven't tried it) for re-locking the bootloader that does not require the use of fastboot - and thus no need for working USB hardware - requires that you had previously captured a raw (binary) dump of a specific eMMC partition (that contains encrypted lock-state information) while the bootloader was locked.
Apparently this can't be simply copied from another device as a unique (per-device) encryption key is used.
TL;DR: No.
I realize you said "stock ROM", not "locked bootloader" - but Asus has no motivation to inspect files on the device once they've seen the "unlocked" icon in the boot screen.
I hope people understand that it is the act of unlocking the bootloader that invalidates the warranty - not the present lock state of the device. If you previously unlocked the bootloader, the warranty is invalid.
That makes posts of this nature equivalent to "please help me defraud Asus".
good luck

[WARNING] Do NOT lock your bootloader when on Android 5.1

The new Device Protection features of Android 5.1 on the Nexus 9 and Nexus 6 can, in certain cases, cause you to have a bootloader which can not be unlocked.
Please have a read of the following links:
https://support.google.com/nexus/answer/6172890?hl=en
http://forum.xda-developers.com/nexus-6/help/update-to-5-1-lock-bootloader-t3058480
http://forum.xda-developers.com/nexus-6/general/relock-bootloader-time-updating-to-5-1-t3053497
What a pita
Sent from my Nexus 5 using XDA Free mobile app
i would never relock my bootloader
people unlock there bootloader for a reason
but to relock it after thats just wrong...
thats one of the things i hate about CM
they recommend you to relock your bootloader...
Agreed, why would you lock your bootloader unless sending in for repairs maybe?
But Google is really messing up the flow. The nexus 6 5.1 OTA is a mess right now but I will leave that for another thread.
Android 5.1 for Nexus 9? You must be joking.
So, I just purchased a Nexus 9 via the 4-hour online-only sale at Best Buy. It was $100 off, couldn't pass it up. My question is: is this likely going to be shipped in such a condition as to prevent me from permanently unlocking the bootloader? Or is a permanent lock something one must deliberately do?
disturbd1 said:
So, I just purchased a Nexus 9 via the 4-hour online-only sale at Best Buy. It was $100 off, couldn't pass it up. My question is: is this likely going to be shipped in such a condition as to prevent me from permanently unlocking the bootloader? Or is a permanent lock something one must deliberately do?
Click to expand...
Click to collapse
No no you can still unlock it
But if you relock it that's the problem
disturbd1 said:
So, I just purchased a Nexus 9 via the 4-hour online-only sale at Best Buy. It was $100 off, couldn't pass it up. My question is: is this likely going to be shipped in such a condition as to prevent me from permanently unlocking the bootloader? Or is a permanent lock something one must deliberately do?
Click to expand...
Click to collapse
As USBhost said, you'll be able to unlock it. However, when you are first setting it up and are running through the set-up wizard, there will be an option to "Protect Device" or something like that. If you enable it, and re-lock the bootloader, it will put you in a situation where you can only unlock the booloader in certain situations -- and if you happen to have a bootloop with a locked bootloader, that's when you are in trouble.
EDIT: On Nexus devices, I personally unlock the bootloader as soon as I take it out of the box, without first booting into Android, and then leave it unlocked. But of course, you give up some security by doing that.
efrant said:
As USBhost said, you'll be able to unlock it. However, when you are first setting it up and are running through the set-up wizard, there will be an option to "Protect Device" or something like that. If you enable it, and re-lock the bootloader, it will put you in a situation where you can only unlock the booloader in certain situations -- and if you happen to have a bootloop with a locked bootloader, that's when you are in trouble.
EDIT: On Nexus devices, I personally unlock the bootloader as soon as I take it out of the box, without first booting into Android, and then leave it unlocked. But of course, you give up some security by doing that.
Click to expand...
Click to collapse
Considering this is a tablet, hopefully I won't lose or misplace it
Thanks, guys! Glad I stumbled across this thread before the thing arrived.
Locking the bootloader doesn't protect you from anything. If the device leaves your physical control in a potentially hostile environment, whatever is on the system or boot partition becomes suspect, regardless of whether the bootloader is locked or unlocked.
doitright said:
Locking the bootloader doesn't protect you from anything. If the device leaves your physical control in a potentially hostile environment, whatever is on the system or boot partition becomes suspect, regardless of whether the bootloader is locked or unlocked.
Click to expand...
Click to collapse
Example: I have a device running a stock ROM with no encryption, the stock recovery and a lock screen password. I happen to lose my phone. What happens to the photos of me dancing to Old Time Rock & Roll in my underwear that are stored on the device? If the bootloader is unlocked, someone just plugs it into a PC, boots TWRP and pulls them off. If the bootloader is locked, there is no easy way to see or get the photos off the device.
That is all I was saying about security. Nothing to do with you leaving your device somewhere or losing it, and then finding it again. Strictly about the personal content on the device.
efrant said:
EDIT: On Nexus devices, I personally unlock the bootloader as soon as I take it out of the box, without first booting into Android, and then leave it unlocked. But of course, you give up some security by doing that.
Click to expand...
Click to collapse
I thought Lollipop always requires you to go in and check the Enable OEM Unlock box? Or is that not true if you never booted into Android even once?
bailyc said:
I thought Lollipop always requires you to go in and check the Enable OEM Unlock box? Or is that not true if you never booted into Android even once?
Click to expand...
Click to collapse
If you have never booted into Android, then you don't need to check that setting. As I said, that's the way I did it on my N6: take out of box -> charge -> boot directly into bootloader -> "fastboot oem unlock". No other steps required if you don't boot into Android first.
can i use this guide for safely relock my Bl on Nexus 9 ..... Relocking coz of RMA and warranty purpose as bought from amazon India instead of Play Store
http://forum.xda-developers.com/nexus-6/general/guide-safely-lock-bootloader-android-5-1-t3067302
lilliput222 said:
can i use this guide for safely relock my Bl on Nexus 9 ..... Relocking coz of RMA and warranty purpose as bought from amazon India instead of Play Store
http://forum.xda-developers.com/nexus-6/general/guide-safely-lock-bootloader-android-5-1-t3067302
Click to expand...
Click to collapse
Yes, that should work for the N9 as well.
The bootloader on my Nexus 9 Android 5.1.1 is locked forever due to my mistake
Short backstory:
- I wanted to install the Android M developer Preview for the Nexus 9 but I forgot to check "Enable OEM unlock" in developer options (worst mistake).
- I used adb command to flash the new image but failed somehow
- I carelessly type # fastboot oem lock
- I tried to factory reset from bootloader to bring it back to Stock. Now it couldn't factory reset and my Nexus 9 hangs in a nice boot loop.
- I try # fastboot oem unlock but failed with permission denied error
I tried some ways to save my device but no hopes
- I used Nexus Root Tookit to unlock bootloader or restore image with force mode but failed,
- I follow instruction in HTC dev forum to get identifier token in order to receive your unlock code binary file but failed
- Unluckily, I don't installed any custom recovery.
Please help if you know a way unlock the bootloader or flash the factory ROM to save the nexus 9
quekl84 said:
Please help if you know a way unlock the bootloader or flash the factory ROM to save the nexus 9
Click to expand...
Click to collapse
Not possible. You will have to return it to HTC for repair or replacement.
quekl84 said:
Short backstory:
- I wanted to install the Android M developer Preview for the Nexus 9 but I forgot to uncheck "Enable OEM unlock" in developer options (worst mistake).
- I used adb command to flash the new image but failed somehow
- I carelessly type # fastboot oem lock
- I tried to factory reset from bootloader to bring it back to Stock. Now it couldn't factory reset and my Nexus 9 hangs in a nice boot loop.
- I try # fastboot oem unlock but failed with permission denied error
I tried some ways to save my device but no hopes
- I used Nexus Root Tookit to unlock bootloader or restore image with force mode but failed,
- I follow instruction in HTC dev forum to get identifier token in order to receive your unlock code binary file but failed
- Unluckily, I don't installed any custom recovery.
Please help if you know a way unlock the bootloader or flash the factory ROM to save the nexus 9
Click to expand...
Click to collapse
u mean u forgot to CHECK to box to allow oem UNLOCK? im confused lol
cobyman7035 said:
u mean u forgot to CHECK to box to allow oem UNLOCK? im confused lol
Click to expand...
Click to collapse
Yes, I forgot to check the box to allow oem UNLOCK. And now my device is locked forever.
A quick question: A lot of N9 ROMs require flashing an updated bootloader from the factory image. Aren't these bootloaders locked by default? Can we flash a factory bootloader over a custom ROM?
It seems that we might bork our Nexus 9s if we flash a locked bootloader in.

Bootloader Unlock Tip

Hey All,
I've seen some posts stating that the bootloader for this phone can't be unlocked.
I'm using the E6533 model and wanted to confirm that it is possible.
Just go to this website: http://developer.sonymobile.com/unlockbootloader/ (the official sony one)
Select Xperia Z3 as the model (I know we have the Z4/Z3+ but it still works). Enter your email and click the link they email you.
Insert the IMEI number and they will give you the unlock code. then just run
adb reboot bootloader
fastboot oem unlock <code>
and it will work.
As a note this WILL wipe your device, so backup anything you may need on it.
Hopefully with this we can get root / twrp built
So TA backup is needed to keep the DRM keys before unlocking the bootloader. Is there a way to back up TA of non-rooted devices? Flashtool doesn't fully support Z3+ yet.
help
Quick question , what to do if you have Unlock allowed: No?
Generally speaking this always meant just what it says... That it's not possible to unlock the bootloader. This was often the case with oem phones. Today it could also mean you have myxperia security activated. If you have log out of that and try again.
Oh and do not activate it after unlocking bootloader, you could brick your device for good!
3lastic said:
Quick question , what to do if you have Unlock allowed: No?
Click to expand...
Click to collapse
Make sure you don't have the xperia security software enabled (the find my iPhone equivalent)
It prevents the bootloader from being unlocked. Otherwise it means your carrier disabled the feature
Thanks diemadedrei and ChrisJ951.
It worked, it was the Xperia Security software that was enabled.
Rooting status: unknown
Hello, i tried to unlock my BL from the sony website, but after i flashed the code in my phone, it just restored and now just says rooting status: unknown and also the option of unlock allowed does not even appear! anybody could please help me?
thanks and hello from Mexico!
The z3+ is now selectable on the unlock page officially
@bryantronics: it should say bootloader unlocked yes under rooting status. Generally it should have worked if everything went as described.
diemadedrei said:
The z3+ is now selectable on the unlock page officially
@bryantronics: it should say bootloader unlocked yes under rooting status. Generally it should have worked if everything went as described.
Click to expand...
Click to collapse
hello! thanks for the reply, the bootloader said yes... but that line doesnt appear! it just says rooting status unknown, i tried to upload the screenshot but i dont know how to do it
3lastic said:
Thanks diemadedrei and ChrisJ951.
It worked, it was the Xperia Security software that was enabled.
Click to expand...
Click to collapse
Thanks to all, I have tried to change it to "YES" 24 hours
OK so with this recent tidbit of data that a bootloader unlock no could become a yes I am concerned. When I bought the phone it said yes. But no where can I figure out if the DRM keys are a)original b)intact c) working with this present rom. Could anyone tell me so I can be sure that if I resell this item I don't misrepresent this information.
haist i have a same problem for that issue ...until now i can not flash boot img...please resolve this problem...guys plssssss......
i have the same problem i cant flash img due to remoted lock state: unlocked
any updates?
I am suffering the same problems as my colleagues in the previous posts. I cannot get the bootloader unlock, no matter how hard I try:
performed the official Sony way (using minimal adb and fastboot; phone is listed in fastboot devices; "remote: command not allowed")
flashtool64: both with blu manually and by leaving the text file in the registered devices folder (which was found and used for a unlock, which turned out not to be successful).
Sony MyDevices is not activated. Android 5.0.2 (E6533; 28 0 A 8 272 HK)
Do you have any further tips how to open the bootloader?
thx, Benedikt
ChrisJ951 said:
Hey All,
I've seen some posts stating that the bootloader for this phone can't be unlocked.
I'm using the E6533 model and wanted to confirm that it is possible.
Just go to this website: http://developer.sonymobile.com/unlockbootloader/ (the official sony one)
Select Xperia Z3 as the model (I know we have the Z4/Z3+ but it still works). Enter your email and click the link they email you.
Insert the IMEI number and they will give you the unlock code. then just run
adb reboot bootloader
fastboot oem unlock <code>
and it will work.
As a note this WILL wipe your device, so backup anything you may need on it.
Hopefully with this we can get root / twrp built
Click to expand...
Click to collapse
Thanks for the tip but how I can back up TA Partition? Can you help me about that? And I am using latest Nougat Single Variant E6553, your tip will work with nougat?
I tried this Sony method but showing remote cammand not allow please help
---------- Post added at 05:50 PM ---------- Previous post was at 05:40 PM ----------
I trying same methods but showing remote command not allowed
hi
How long does it take to unlock ? the bootloader. I've waited for long.
Unlock bootloader NO
Any solution
i was crashing my head to do it and nothing to it done, and I discovered that the problem was that my xperia was enabled, so I disabled it and finally unlocked the bootloader
I had bootloader unlock allowed: no on latest firmware. I backed to Android 6 a I have bootloader unlock allowed: yes

How can I downgrade my XC from N to MM without unlocking the BL?

Hi, I want to backup my TA/DRM key. However the "Universal (Dirtycow-based) TA Backup v2" seems not compatible with Android Nougat. It asked me to downgrade my device first. Is there a way to downgrade Xperia X Compact without unlocking it (or without losing the DRM key)? Thanks.
yjcbn said:
Hi, I want to backup my TA/DRM key. However the "Universal (Dirtycow-based) TA Backup v2" seems not compatible with Android Nougat. It asked me to downgrade my device first. Is there a way to downgrade Xperia X Compact without unlocking it (or without losing the DRM key)? Thanks.
Click to expand...
Click to collapse
Just use the flashtool, you don't need to be unlocked to flash firmware.
XperienceD said:
Just use the flashtool, you don't need to be unlocked to flash firmware.
Click to expand...
Click to collapse
Thanks! Sucessfully downgrade to 6.0.1 and make a backup of the TA/DRM key just now.
XperienceD said:
Just use the flashtool, you don't need to be unlocked to flash firmware.
Click to expand...
Click to collapse
Another question. My phone is showing up "Bootloader unlock allowed: No" in the Service Menu. I've already turn on "OEM unlocking" and "USB debugging" (
authorized, and confirmed all the necessary drivers were installed).
The "Unlock your boot loader" site is saying that "It will only be possible to unlock the boot loader for certain releases." Does that means I should flash another firmware with differnt region or Android version? I've already tried to downgrade my phone to MM again, however the issue still exists. Thanks.
P.s. I am able to get the unlock code from the "Unlock your boot loader" site.
yjcbn said:
Another question. My phone is showing up "Bootloader unlock allowed: No" in the Service Menu. I've already turn on "OEM unlocking" and "USB debugging" (
authorized, and confirmed all the necessary drivers were installed).
The "Unlock your boot loader" site is saying that "It will only be possible to unlock the boot loader for certain releases." Does that means I should flash another firmware with differnt region or Android version? I've already tried to downgrade my phone to MM again, however the issue still exists. Thanks.
P.s. I am able to get the unlock code from the "Unlock your boot loader" site.
Click to expand...
Click to collapse
If your phone says that is is NOT allowed... sorry, but it is not possible.
Even though Sony is happy for us to unlock the bootloader, if the carrier/operator (verizon, o2, virgin, etc) wants - these companies can ask Sony to stop the bootloader from being unlocked.
Sim lock is one thing... at least that can be removed. I have no idea why they would choose to prevent the bootloader from being unlocked.
Actually, maybe because in some countries the consumer laws are very good, so even if you root or something, your warranty still exists.
But if you cannot unlock the bl -> you can't root -> less device problems/bricks -> less money on repairs for the phone operator? (just an idea)
The first (used) Xperia X Compact I bought, it was carrier branded, and the bootloader was unable to be unlocked.
I talked to the shop owner, I chose the other device in stock, it was unbranded, I could unlock it
qvmuhuuxz said:
If your phone says that is is NOT allowed... sorry, but it is not possible.
Even though Sony is happy for us to unlock the bootloader, if the carrier/operator (verizon, o2, virgin, etc) wants - these companies can ask Sony to stop the bootloader from being unlocked.
Sim lock is one thing... at least that can be removed. I have no idea why they would choose to prevent the bootloader from being unlocked.
Actually, maybe because in some countries the consumer laws are very good, so even if you root or something, your warranty still exists.
But if you cannot unlock the bl -> you can't root -> less device problems/bricks -> less money on repairs for the phone operator? (just an idea)
The first (used) Xperia X Compact I bought, it was carrier branded, and the bootloader was unable to be unlocked.
I talked to the shop owner, I chose the other device in stock, it was unbranded, I could unlock it
Click to expand...
Click to collapse
Thanks for your answer. Though it's a bad news for me. [emoji30]
Since it's impossible to unlock my device, can I just modify the FTF and flash it through the Flashtool? If it's possible, then how to modify the FTF file? I want to change the font into another.
yjcbn said:
Since it's impossible to unlock my device, can I just modify the FTF and flash it through the Flashtool?
Click to expand...
Click to collapse
No. If you've still got time to return it do so now otherwise your modding is going to be limited.

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

Categories

Resources