i want to ReLock bootloader XT1521 (MOTO E2LTE) - E 2015 Q&A, Help & Troubleshooting

Moto-xt-1521 firmware for 6.0
build number :- mpi24.65-39 installed but i can't lock bootloader please help

tonyjaimy said:
Moto-xt-1521 firmware for 6.0
build number :- mpi24.65-39 installed but i can't lock bootloader please help
Click to expand...
Click to collapse
I'd highly recommend NOT relocking, but if you really want to, boot into fastboot on your phone and plug it in to a PC, then type this:
fastboot oem lock

jasonmerc said:
I'd highly recommend NOT relocking, but if you really want to, boot into fastboot on your phone and plug it in to a PC, then type this:
fastboot oem lock
Click to expand...
Click to collapse
this code not working i already tried it

Related

How to check bootloader unlock?

Dear all,
Merry Xmas and Happy New Year
I am new to oneplus x.
I rooted using this method i. e. Without PC.
http://forum.xda-developers.com/oneplus-x/general/guide-root-oneplus-x-twrp-pc-t3251027
Then I use flashify (app from appstore) to flash TWRP.
https://play.google.com/store/apps/...ify&pcampaignid=APPU_1_7mN_VrODMMivmAXCwJnoDg
http://forum.xda-developers.com/one...recovery-twrp-2-8-7-0-touch-recovery-t3252840
Then i flash blu_a Kernel.
http://forum.xda-developers.com/oneplus-x/orig-development/kernel-t3250995
How can i check if my bootloader is unlocked? For other phones, my understanding is that as long as u can flash twrp, bootloader is unlocked.
I think you can only check that with the adb tools on your computer.
Command to check bootloader status: fastboot oem device-info
Click to expand...
Click to collapse
source: https://forums.oneplus.net/threads/bootloader-status-check.52167/#post-2382799
I thought the bootloader needed to be unlocked first before flashing a custom recovery??
At OP, when you flash TWRP via flasify, did you run into any problems??
Just curious really.
Mojar7070 said:
I thought the bootloader needed to be unlocked first before flashing a custom recovery??
At OP, when you flash TWRP via flasify, did you run into any problems??
Just curious really.
Click to expand...
Click to collapse
Maybe i am daring
No issues. Used for few days
My Kernel is flashed via TWRP. I did backup too. No issues
knauji said:
I think you can only check that with the adb tools on your computer.
source: https://forums.oneplus.net/threads/bootloader-status-check.52167/#post-2382799
Click to expand...
Click to collapse
I have issues with drivers for my windows. Have Samsung s2, Asus Zenfone 2 all installed so i use the root without pc method. I suspect my bootloader is unlocked as i can flash twrp.
Any master has any idea?
Gosh... Seems like no one has the answer. Need to check via PC.
You have to go to setting / about phone / 7 times on build number to unlock dev options/
Then settings / dev options
5th line is OEM unlock.
How is yours?
Kéno40 said:
You have to go to setting / about phone / 7 times on build number to unlock dev options/
Then settings / dev options
5th line is OEM unlock.
How is yours?
Click to expand...
Click to collapse
I manually did that before all the process in my 1st post.
I think this is to allow u to unlock, not unlocking the bootloader per se.
with adb/PC ? isn't it ?
check status of bootloader
first go to fastboot mode
first power off the device than Hold Volume Up while Power on the phone
than in adb type: fastboot oem device-info
there it should be flagged as true
My opx was unlocked, installed twrp, now.... Back to stock ROM and bootloader now is locked and i cannot unlocked,
What can i do?
Thx
bébé53 said:
with adb/PC ? isn't it ?
Click to expand...
Click to collapse
I know but my laptop fails to install adb driver for oneplus x because i have too many phones installed. I uninstalled all drivers and tried installing oneplus x one but it fails.
simarjits said:
first go to fastboot mode
first power off the device than Hold Volume Up while Power on the phone
than in adb type: fastboot oem device-info
there it should be flagged as true
Click to expand...
Click to collapse
As per above. I have driver issues on my laptop.
overon37 said:
My opx was unlocked, installed twrp, now.... Back to stock ROM and bootloader now is locked and i cannot unlocked,
What can i do?
Thx
Click to expand...
Click to collapse
Based on my understanding, once unlocked, its difficult to lock back. If its lock now, i doubt you are unlocked at 1st place. Pleaae correct me if i am wrong.
Yes. You are wrong.
I have twrp, so i unlocked, but now, i do not know how is locked, because i didnt, and when i try fastboot oem unlock.... No errors but nothing happend.
When i flashed twrp and try cm 13 i flashed, from twrp, the stock zip, 2.1.3.x
And now say that is locked, and.... Never unlocked
PD. never rooted, but when i flashed yesterday CM 12.1, when i restarted my opx to system from recovery do not ask for root from twrp ¿?, when i flashed stock zip, asked me to root from twrp when i restart to system ¿?
Tiongkia said:
As per above. I have driver issues on my laptop.
Click to expand...
Click to collapse
You have to install adb and fastboot drivers before executing the commands . you can download from here http://forum.xda-developers.com/showthread.php?t=2317790
Cheers :good:
simarjits said:
You have to install adb and fastboot drivers before executing the commands . you can download from here http://forum.xda-developers.com/showthread.php?t=2317790
Cheers :good:
Click to expand...
Click to collapse
As mentioned, i cannot. I tried all methods. I installed too my adb driver on my laptop
Tiongkia said:
As mentioned, i cannot. I tried all methods. I installed too my adb driver on my laptop
Click to expand...
Click to collapse
did you try the Windroid Tool that is here on xda?

Huawei y6

hello,
my device is rooted tried to flash twrp recovery via rashr but always it open fastboot that's why
please tell me how to flash twrp on my device
scc-u21
thanks,
Desill said:
hello,
my device is rooted tried to flash twrp recovery via rashr but always it open fastboot that's why
please tell me how to flash twrp on my device
scc-u21
thanks,
Click to expand...
Click to collapse
Is ur bootloader unlocked
Amaan007 said:
Is ur bootlpader unlocked
Click to expand...
Click to collapse
may be it's not unlocked bc always open fastboot but on fastboot says bootloader: unlocked
Desill said:
may be it's not unlocked bc always open fastboot but on fastboot says bootloader: unlocked
Click to expand...
Click to collapse
In fastboot type
fastboot oem device-info
Amaan007 said:
In fastboot type
fastboot oem device-info
Click to expand...
Click to collapse
pc ? using adp?
it says connect your phone to us caple and open hisuit
Phone: unlocked
SRP: Unlock
so what I have to do?!
Desill said:
it says connect your phone to us caple and open hisuit
Phone: unlocked
SRP: Unlock
so what I have to do?!
Click to expand...
Click to collapse
You need minimal adb and fastboot drivers search it on xda

[GUIDE][X722] Unlock Bootloader + TWRP + ROOT

This is for x722 only
Hello, I've made this thread in order to clarify some users and to avoid possible bricks.
Obviously if you have your bootloader unlocked you don't need to unlock it again, you can check like that:
Code:
fastboot oem device-info
Results unlocked should be like that:
Code:
(bootloader) Device product name: [le_zl0_whole_netcom]
(bootloader) Device tampered: false
[B](bootloader) Device unlocked: true[/B]
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Serial console enabled: false
(bootloader) Serial hw output enabled: false
(bootloader) Display panel:
If you have :
Code:
Device unlocked: false
It means your bootloader is locked ofc
Bootloader unlock
Downgrade to 01D Rom
In some EUI roms you don't have to downgrade to 01D rom, but if you don't know if your rom can be unlocked or if you wanna feel more confortable and to avoid problems, is better to downgrade
-firmware WIXCNFN5802005041S (see Settings > About Phone to confirm whether you're on this firmware or a different one... if you're on a different firmware on 20s, you don't need to downgrade)
-stock 26s (if your x722 came with 26s, you need to downgrade to 01D)
you can find the file here: Download
Basically:
Attetion!!! This update is to be used in the official recovery, TWRP will hard brick, don't flash it with TWRP
Put update.zip file inside your sdcard
Reboot to recovery
Click on install update, and 01D rom will be installed
Now you can reboot to fastboot mode and unlock your bootloader
In fastboot mode type
Code:
fastboot oem unlock-go
To make sure bootloader is unlocked you can check with:
Code:
fastboot oem device-info
Now, under "Stock 20S unlocked" folder you'll have a stock rom, cleaned, unlocked and friendly to root, you can intall in fastboot by opening flash.bat
Install TWRP
Please make sure you have bootloader unlocked
Download TWRP: Download
Put phone in fastboot mode, place twrp image inside your adb folder and type:
Code:
fastboot flash recovery twrp-3.2.1-0-zl0.img
That's it, you can boot directly to twrp by typing:
Code:
fastboot boot twrp-3.2.1-0-zl0.img
Palm Trees said:
You might have to press the 'power' button twice before touch is enabled in TWRP
Click to expand...
Click to collapse
Root
Please make sure you have twrp installed and bootloader unlocked
Download magisk here: Magisk thread
Reboot to recovery(twrp)
Flash magisk
That's it
Things you shouldn't do
Don't flash official stock roms with twrp, it will brick your phone (hard brick)
Don't flash x720 roms on x722, it will brick too
Be careful about the modems you flash, it can mess up with your bands
sk8223 said:
1. You can unlock the bootloader and flash TWRP on 20s, provided that your ROM firmware isn't WIXCNFN5802005041S, which is the stock 20s ROM, I believe.
2. You cannot unlock the bootloader and flash TWRP on stock 26s. This will cause the bootloader to be permanently locked, and you'll only have access to fastboot mode. The only way to fix your phone would be to use Qualcomm's 9008 mode and a QFIL file for the x722... which doesn't exist.
3. Anyone who downgrades their ROM to the 01D ROM can unlock the bootloader and flash TWRP. It's just that if you're on a vendor 20s ROM, you can do so without having to flash 01D. Some users may flash 01D over their 20s vendor ROM to be safe, but this is not a necessity. The 01D ROM is really only for anyone on LeEco stock ROMs. Which very few of us are on, because third-party sellers almost always load their own ROMs on the x722.
Click to expand...
Click to collapse
If you not sure about what you doing, ask for help, better than get your phone bricked, cheers
Credits
https://forum.xda-developers.com/le-pro3/leeco-le-pro-3-elite-model-x722-guides-development--and-mods/stock-eui-5-8-20s-x722-t3680624
https://forum.xda-developers.com/le-pro3/leeco-le-pro-3-elite-model-x722-guides-development--and-mods/twrp-recovery-multi-tool-zl0-lex722-t3702703
https://forum.xda-developers.com/le-pro3/leeco-le-pro-3-elite-model-x722-guides-development--and-mods/rom-lineageos-15-1-oreo-leeco-le-pro3-t3729150
If some of you guys want to share some more info about this, just place on comments, or send me pm, I'll add it
Glad that someone finally made a thread about it! Maybe you should emphasize (like in bold text) that you absolutely should not attempt to flash TWRP on Geekbuying, Gearbest, Banggood, and other vendor ROMs, because a lot of people here don't seem to understand that you absolutely have to flash Batyan's developer ROM first... I sure didn't, lol.
sk8223 said:
Glad that someone finally made a thread about it! Maybe you should emphasize (like in bold text) that you absolutely should not attempt to flash TWRP on Geekbuying, Gearbest, Banggood, and other vendor ROMs, because a lot of people here don't seem to understand that you absolutely have to flash Batyan's developer ROM first... I sure didn't, lol.
Click to expand...
Click to collapse
done
thanks for opening this thread. support is really scarce for this model so this is absolutely welcome!
Please help
Build Number is: WIXCNFN5802001232S
5.8.020S
LEX722
When you say to transfer the update.zip to SDCARD, do you mean the internal storage? Any particular folder?
Hi,
This is my phone info, do I need to do your guide or is my phone ready to unlock?
rom
5.8.020s stable
anroid
6.0.1
kernel version
3.18.20-perf-g00cf2f0
[email protected] ]1
mon jan 13
build number
wixcnfn5802001232s release keys
Fastboot not working
EUI VERISON: 5.8.001D (Dev)
BASEBAND VERSION: MPSS.TH.2.0.c1.9.1-00032
3.18.20-perf-g00cf2f0
[email protected] # 1
WED JUN 14 17:23:24 CST 2017
Build Number:
WIXCNFN5800106140D
So, I go into the file (with the phone in fastboot mode) and I double click on the bat file with all of the Chinese symbols and then it just reboots and doesn't give me the option of doing the following:
"In fastboot mode type
Code:
fastboot oem unlock-go
To make sure bootloader is unlocked you can check with:
Code:
fastboot oem device-info"
I'm a bit lost and a very beginner. Could I have some guidance please
EDIT: Battery is only at about 20%, think I read somewhere it needs to be a minimum of 70%. Going to let it charge up while I go to bed. I'll try again in the morning and let you know
LWolfie said:
Build Number is: WIXCNFN5802001232S
5.8.020S
LEX722
When you say to transfer the update.zip to SDCARD, do you mean the internal storage? Any particular folder?
Click to expand...
Click to collapse
to the root folder of internal storage
Seantbh said:
Hi,
This is my phone info, do I need to do your guide or is my phone ready to unlock?
rom
5.8.020s stable
anroid
6.0.1
kernel version
3.18.20-perf-g00cf2f0
[email protected] ]1
mon jan 13
build number
wixcnfn5802001232s release keys
Click to expand...
Click to collapse
you need to be in developper rom 01D in order to unlock bootloader
LWolfie said:
EUI VERISON: 5.8.001D (Dev)
BASEBAND VERSION: MPSS.TH.2.0.c1.9.1-00032
3.18.20-perf-g00cf2f0
[email protected] # 1
WED JUN 14 17:23:24 CST 2017
Build Number:
WIXCNFN5800106140D
So, I go into the file (with the phone in fastboot mode) and I double click on the bat file with all of the Chinese symbols and then it just reboots and doesn't give me the option of doing the following:
"In fastboot mode type
Code:
fastboot oem unlock-go
To make sure bootloader is unlocked you can check with:
Code:
fastboot oem device-info"
I'm a bit lost and a very beginner. Could I have some guidance please
Click to expand...
Click to collapse
Well, clearly you don't know how to use fastboot xD
Install fastboot and adb: https://forum.xda-developers.com/showthread.php?t=2588979
Then open cmd and type : cd C://adb
Then: fastboot devices
Then: fastboot oem unlock-go
My lord and saviour
You're an absolute hero!
danielpinto8zz6 said:
Well, clearly you don't know how to use fastboot xD
Install fastboot and adb: https://forum.xda-developers.com/showthread.php?t=2588979
Then open cmd and type : cd C://adb
Then: fastboot devices
Then: fastboot oem unlock-go
Click to expand...
Click to collapse
LWolfie said:
You're an absolute hero!
Click to expand...
Click to collapse
So, you unlocked?
Yes! Was hoping for Paranoid Android so I think I've got a way to go yet
danielpinto8zz6 said:
So, you unlocked?
Click to expand...
Click to collapse
LWolfie said:
Yes! Was hoping for Paranoid Android so I think I've got a way to go yet
Click to expand...
Click to collapse
nice
I'm all systems go now, I really wanted to say thanks because this wouldn't have been possible without you
danielpinto8zz6 said:
nice
Click to expand...
Click to collapse
I dont understand a thing, the x722 is the same recovery of x720?
mauronofrio said:
I dont understand a thing, the x722 is the same recovery of x720?
Click to expand...
Click to collapse
Yes recovery is the same. It works because kernel is the same
danielpinto8zz6 said:
Yes recovery is the same. It works because kernel is the same
Click to expand...
Click to collapse
Ok, so my tool support also x722
mauronofrio said:
Ok, so my tool support also x722
Click to expand...
Click to collapse
You need a specific rom to unlock bootloader

I can't relock my mate20pro

I unlocked my mate20 pro, but problem is now i can't relock it , even I use "fastboot oem relock +unlock code"
anybody can help ?
have you tried fastboot oem lock?
you don't have to specify the code
i just tried also and cannot lock
Daniehabazin said:
have you tried fastboot oem lock?
you don't have to specify the code
Click to expand...
Click to collapse
still can't relock..................wait for solution
richard_li said:
still can't relock..................wait for solution
Click to expand...
Click to collapse
Refer to my post here ?
https://forum.xda-developers.com/ma...ocking-bootloader-magisk-root-t3885422/page22
I accidentally relocked the phone by using the hstool method of flashing a full firmware.
it does relock the phone and required me to unlock it again using the fastboot oem unlock code
xeroxide said:
I accidentally relocked the phone by using the hstool method of flashing a full firmware.
it does relock the phone and required me to unlock it again using the fastboot oem unlock code
Click to expand...
Click to collapse
That's interesting. So all your data was wiped when you used the hstool?
Someone else said flashing firmware via dload method also relocks the bootloader.
hmm i'm not sure.
I'll explain the whole situation.
I had just unlocked the bootloader and installed magisk.
after installing magisk, I installed a few modules, one of which made my phone bootloop.
I managed to get back into fastboot mode, use hstool to select my firmware (224) along with the patched hisuite from funkyhuawei.
after my phone recovered, it seems to have been completely reset and locked.
*edit*
I guess I should also add, I've never installed TWRP on this phone, only patched the recovery_ramdis.img for Magisk
xeroxide said:
hmm i'm not sure.
I'll explain the whole situation.
I had just unlocked the bootloader and installed magisk.
after installing magisk, I installed a few modules, one of which made my phone bootloop.
I managed to get back into fastboot mode, use hstool to select my firmware (224) along with the patched hisuite from funkyhuawei.
after my phone recovered, it seems to have been completely reset and locked.
*edit*
I guess I should also add, I've never installed TWRP on this phone, only patched the recovery_ramdis.img for Magisk
Click to expand...
Click to collapse
After locking, can you use the same code to unlock it again ?
EagleEye92 said:
After locking, can you use the same code to unlock it again ?
Click to expand...
Click to collapse
Yes sure
EagleEye92 said:
After locking, can you use the same code to unlock it again ?
Click to expand...
Click to collapse
Yes
ok just an update, while mucking around I accidentally softbricked my phone.
I used the external usb method (where you update using the code *#*#​2846579#*#*) and it 100% relock the phone.
*edit*
and yes, the same code works to unlock it again. KEEP THE CODE SAFE!
xeroxide said:
ok just an update, while mucking around I accidentally softbricked my phone.
I used the external usb method (where you update using the code *#*#​2846579#*#*) and it 100% relock the phone.
*edit*
and yes, the same code works to unlock it again. KEEP THE CODE SAFE!
Click to expand...
Click to collapse
Can you say me something about the usb method? dont know, what this is. :silly:
ClintP said:
Can you say me something about the usb method? dont know, what this is. :silly:
Click to expand...
Click to collapse
You need an external usb-c drive with some firmware on it.
I initially used v187 from this thread
https://forum.xda-developers.com/mate-20-pro/how-to/firmware-update-187-brings-oem-unlock-t3897301
Since then I downloaded a v206 which works over USB but I cannot recall where I got it from.
Note that you will loose all user data since the phone will be fully wiped.
Also this method requires a phone that is working, as in able to boot and access the dialer and menus.
If I find out where I got the v206 I will post it here as well.
I should also add, maybe it might work with a memory card as well... But this method requires an external source for the firmware since it formats the entire phone
@ xeroxide Thx for your help.
I Try this at the weekend.
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
Now it works well... i relocked my phone..........but i don't know why i failed last time because i followed exactly the steps...
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
richard_li said:
Now it works well... i relocked my phone..........but i don't know why i failed last time because i followed exactly the steps...
Click to expand...
Click to collapse
it means now relocked and problem solved.........
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
this worked for me thanks loads!

General Moto G6 Play Bricked in Fastboot

Hello folks. I have a Moto G6 Play that i flashed with custom rom and it is now stuck in fastboot.
Before it got to its current state the IMEI and Baseband both vanished. I was told to flash the modem with the NON-HLOS.bin and did without error or effect. I have attempted to flash XT1922-7 the stock firmware but cannot unlock the oem even with the 20 digit code provided by Motorola. The bootloader tells me to toggle Allow OEM Unlocking on in Developers Options only I cant boot up to access Developers Options. Any ideas guys...please, help a moron.
JansenLove said:
Hello folks. I have a Moto G6 Play that i flashed with custom rom and it is now stuck in fastboot.
Before it got to its current state the IMEI and Baseband both vanished. I was told to flash the modem with the NON-HLOS.bin and did without error or effect. I have attempted to flash XT1922-7 the stock firmware but cannot unlock the oem even with the 20 digit code provided by Motorola. The bootloader tells me to toggle Allow OEM Unlocking on in Developers Options only I cant boot up to access Developers Options. Any ideas guys...please, help a moron.
Click to expand...
Click to collapse
What does getvar all say? Remove the imei line before posting.
Code:
fastboot getvar all
If it's saying the bootloader is locked, but you didn't lock it.
Most likely the bootloader(or something) got corrupted and you need to flash a blankflash.
sd_shadow said:
What does getvar all say? Remove the imei line before posting.
Code:
fastboot getvar all
If it's saying the bootloader is locked, but you didn't lock it.
Most likely the bootloader(or something) got corrupted and you need to flash a blankflash.
Click to expand...
Click to collapse
heres the results of fastboot getvar all
JansenLove said:
heres the results of fastboot getvar all
Click to expand...
Click to collapse
There is a blankflash here
https://mirrors.lolinet.com/firmware/moto/jeter/blankflash/
Your device needs to be in EDL Mode to use the blankflash.
Is my device in EDL Mode?
How to boot into EDL Mode
sd_shadow said:
There is a blankflash here
https://mirrors.lolinet.com/firmware/moto/jeter/blankflash/
Your device needs to be in EDL Mode to use the blankflash.
Is my device in EDL Mode?
How to boot into EDL Mode
Click to expand...
Click to collapse
Thank you very much Im about to try it.

Categories

Resources