how do i unlock bootloader on my lg k51
How to Unlock Bootloader of LG Phones Official Method
This is the guide of LG Android Smartphones how to Unlock Bootloader of LG Phones Official Method To Unlock LG G6, LG G7, LG V30, LG V40
www.gizdev.com
I've got my hands on this phone. I've read through all of the replies and I see that @Warlockguitarman has come up with a universal mediaTek method I suppose. So far just going into what I know about LG I've been able to get into fastbootd mode very easily. After that it's a pain in the ass.
You need to download the Minimal Adb and Fastboot tools or just use the latest platform tools. For the people who didn't read the previous posts, the command to reboot to fastboot, is:
Code:
adb reboot fastboot
You'll be rebooted to fastbootd, which is fastboot but moved to the userspace to allow for "flawless" system tweaks.
In fastbootd you can't do much until you've already updated you're drivers from the Device manager. You'll wanna update the LG K500 device I believe. This is the weird part because I can't seem to get consistent results.
Originally I tried using Android Bootloader Interface driver to talk to the device and I noticed that I was getting a HAL issue. Which meant that my cable or driver was messed up. So naturally I tried the LG Adb drivers next. And this time I kept getting (No Link). I then tried searching for some OEM commands. In our devices case, they're hidden by our carriers. So there's not much we can do about that.
On LG's official developer website for unlocking the bootloader, the command to get the OEM unlock code is "fastboot oem device-id". So I tried this as well, and I get a combo of the 2 errors from above. I need more tests from others. If you need help with getting to fastbootd or getting your device to showup in fastboot just ask. We'll help(or at least I will)
On top of everything else, I believe that in order to unlock the bootloader we have to put the device in emergency download mode so that we can dump the full rom of our devices using some low level mediatek interface perhaps. If we can dumb the bootloader, we can extract the hidden OEM commands to see exactly what we need to see. And as @Warlockguitarman says, one of the main issues in getting root is disabling dm-verity. Or boot verification in vbmeta.img.
You can get root without disabling avb, you use patched magisk boot.img and flash in fastbootd, I have my bootrom and preloader dumped and fully understand how the unlock is done, but the correct signature needs to be done to the modified seccfg to be able to flash it to correctly unlock the bootloader and so far only paid tools can do this for the time being... and on the HAL error, that is because fastbootd removes oem commands, so no oem unlock command will work, the seccfg holds the bootloader lock and unlock info an 01 needs to be changed to an 03 and then flashed back. So far only bootrom allows the seccfg.img to be flashed and it requires the correct signature. Check out the mtkclient tool.
GitHub - bkerler/mtkclient: MTK reverse engineering and flash tool
MTK reverse engineering and flash tool. Contribute to bkerler/mtkclient development by creating an account on GitHub.
github.com
The tool works for the k51! Go unlock your bootloaders
greetings again mr.warlockwizardguitarman...if you could spare the time..and possible,list the steps for the mtk bootloader unlock for the k51,???couple paragraphs or such,in which you did this...ill be able to figure everything out from there,just a lil garbled r.now..learning to much to quickly,and no experience...lol phew..like i said b4,just started doing the phones from computers,,but,i know py.c,java so,just tryn to put it all together...if you woud be so kind t.y.
How to unlock bootloader and root the LG Stylo 6 and K51 K61 and other K model LG devices
STYLO 6 MTKCLIENT INSTRUCTIONS FOR FLASHING, BACKING UP, UNLOCKING THE BOOTLOADER, AND ROOTING ON WINDOWS 10/11: !!!WARNING!!! ATTEMPT THIS AT YOUR OWN RISK, READ THE FULL TUTORIAL BEFORE YOU START!!! I AM NOT RESPONSIBLE FOR ANY BRICKED...
forum.xda-developers.com
..
I have a Lg k41s
with root with and bootloader unlocked, in
android 9, I could get into the recovery stock,
aply update-from adb, but what the adb said; drive does not load into the directory.
but on android 10 all the stars disappeared, and the powers of heaven were shaken ,, the recovery disappeared does not enter, if you can give me a light, as I enter the fastboot, please
Related
This is an untouched copy of the recent update for our devices. It has no file extension from TCL, but I'll leave info on how to download the firmware originally below, with it mirrored to Android File Host. Can just open this file like a Zip file
Original Link from TCL grabbed with LogCat
Code:
https://g2slave-ap-north-01.tclcom.com/64c9b63f5a85fdd27b552eec614f884add8fdb67/54/586054
Mirror Link: https://www.androidfilehost.com/?w=files&flid=322525
I have tried patching the Boot.img.p with Magisk, but it doesn't recognize the file format. Renamed it to just boot.img, still won't patch
KaptinBoxxi said:
This is an untouched copy of the recent update for our devices. It has no file extension from TCL, but I'll leave info on how to download the firmware originally below, with it mirrored to Android File Host. Can just open this file like a Zip file
Original Link from TCL grabbed with LogCat
Code:
https://g2slave-ap-north-01.tclcom.com/64c9b63f5a85fdd27b552eec614f884add8fdb67/54/586054
Mirror Link: https://www.androidfilehost.com/?w=files&flid=322525
I have tried patching the Boot.img.p with Magisk, but it doesn't recognize the file format. Renamed it to just boot.img, still won't patch
Click to expand...
Click to collapse
Completely new to this phone. Nice grab! I was able to use your download and 7z zip to extract boot.img from boot.img.p.
I tried to put this file into magisk but no luck.
Have you been able to unlock the bootloader yet?
I tried the fastboot OEM unlock and fastboot flashing unlock when in bootloader mode but it doesn't work.
With someone else's help I was able to locate where the boot.img is located on the phone but unable to extract it.
/dev/block/bootdevice/by-name/boot
Backup boot.img via terminal one-line command
I am trying to make an image backup of boot. The script must work on any android. I think on any Android the boot location is /dev/block/platform/???/by-name/boot My command line find /dev/block/
android.stackexchange.com
Screenshots attached.
JayTM said:
Completely new to this phone. Nice grab! I was able to use your download and 7z zip to extract boot.img from boot.img.p.
I tried to put this file into magisk but no luck.
Have you been able to unlock the bootloader yet?
I tried the fastboot OEM unlock and fastboot flashing unlock when in bootloader mode but it doesn't work.
With someone else's help I was able to locate where the boot.img is located on the phone but unable to extract it.
/dev/block/bootdevice/by-name/boot
Backup boot.img via terminal one-line command
I am trying to make an image backup of boot. The script must work on any android. I think on any Android the boot location is /dev/block/platform/???/by-name/boot My command line find /dev/block/
android.stackexchange.com
Screenshots attached.
Click to expand...
Click to collapse
I did the same thing you probably did to attempt to patch it with Magisk, no luck. I haven't had the time to try further recently. Enabling OEM Unlock and attempting to unlock the bootloader just leads to needing an unlock code, much like bootloader unlocking a Moto device.
I contacted TCL support a long time back when I first got the phone and they were 100% not willing to help with any USA based TCL 10 Pro unlocking. The customer service worker literally said they weren't allowed to help with US based devices. There's no downloads anywhere for the firmware either, which I think goes against Google's agreement to android on a device, but I'm not 100% sure on that.
KaptinBoxxi said:
I did the same thing you probably did to attempt to patch it with Magisk, no luck. I haven't had the time to try further recently. Enabling OEM Unlock and attempting to unlock the bootloader just leads to needing an unlock code, much like bootloader unlocking a Moto device.
I contacted TCL support a long time back when I first got the phone and they were 100% not willing to help with any USA based TCL 10 Pro unlocking. The customer service worker literally said they weren't allowed to help with US based devices. There's no downloads anywhere for the firmware either, which I think goes against Google's agreement to android on a device, but I'm not 100% sure on that.
Click to expand...
Click to collapse
Android 11 for the TCL 10L has been being pushed in italy. This a large file about 2 to 3 GB. I really hope when we see it on our phones you are able to pull the link from logcat as well. This should be the entire rom. All we have now is OTA patch files. I've tried so many things. I have all drivers fully working even the Qualcomm 9008 Diagnostic driver. I can put the phone into EDL mode.
To put phone into EDL mode you need usb debugging enabled and type in secret code into the dialer *#*#3424#*#* which enables the diagnostic port via toast notification. Then turn phone off, hold both volume up and volume down and plug phone into PC. You will be prompted with the Download mode screen. Hold volume up to enter EDL.
There are ways to backup in EDL mode, I'm just not well versed in commands.
JayTM said:
Android 11 for the TCL 10L has been being pushed in italy. This a large file about 2 to 3 GB. I really hope when we see it on our phones you are able to pull the link from logcat as well. This should be the entire rom. All we have now is OTA patch files. I've tried so many things. I have all drivers fully working even the Qualcomm 9008 Diagnostic driver. I can put the phone into EDL mode.
To put phone into EDL mode you need usb debugging enabled and type in secret code into the dialer *#*#3424#*#* which enables the diagnostic port via toast notification. Then turn phone off, hold both volume up and volume down and plug phone into PC. You will be prompted with the Download mode screen. Hold volume up to enter EDL.
There are ways to backup in EDL mode, I'm just not well versed in commands.
Click to expand...
Click to collapse
I'm wondering if I can pull some social engineering off, maybe be like "Hey my phone reset itself, can't boot it, but I read online something for a samsung phone called Odin and Fastboot and such? Some how you can install the system that way?" See what they say/link me to
KaptinBoxxi said:
I'm wondering if I can pull some social engineering off, maybe be like "Hey my phone reset itself, can't boot it, but I read online something for a samsung phone called Odin and Fastboot and such? Some how you can install the system that way?" See what they say/link me to
Click to expand...
Click to collapse
Good luck to you.
I contacted TCL support myself with no luck. They immediately put my case in pending close status.
Is there a way this ZTE tool can be modified to work for our device?
Axon 7 EDL Tool - Flash / Backup / Restore / Unlock in the EDL mode
Axon 7 EDL Tool BAT-program for Flash / Backup / Restore / Unlock the phone in EDL mode Qualcomm HS-USB QDLoader 9008 (COM ...) !!! Whatever you do, you do at your own risk !!!" !!! If you are not sure of yourself do not use this program ...
forum.xda-developers.com
All partitions are detected in EDL mode.
JayTM said:
Is there a way this ZTE tool can be modified to work for our device?
Axon 7 EDL Tool - Flash / Backup / Restore / Unlock in the EDL mode
Axon 7 EDL Tool BAT-program for Flash / Backup / Restore / Unlock the phone in EDL mode Qualcomm HS-USB QDLoader 9008 (COM ...) !!! Whatever you do, you do at your own risk !!!" !!! If you are not sure of yourself do not use this program ...
forum.xda-developers.com
All partitions are detected in EDL mode.
Click to expand...
Click to collapse
I'll check it out. If its possible to view the code in a tool like dnSpy or extract files from the exe with 7zip, its possible to use with our device, i'm sure as long as the commands are similar
Well you're in luck as it is just a .bat file program simple notepad++ will do.
I will be following this thread with intrest, root could be the deciding factor in me purchasing this device.
Tech101yt said:
I will be following this thread with intrest, root could be the deciding factor in me purchasing this device.
Click to expand...
Click to collapse
Have had the phone for less than 6 months and I'm already having LCD issues. When the display is off, just sitting on a table or something, it'll flash white randomly like its getting an electric signal at random. Its nothing I did. I've never hard dropped the thing. Everywhere I go pretty much is carpeted except work. If manufacturer warranty doesn't cover me, I'll stop recommending the phone to people
I actually switched to an Essential Phone recently. Way better experience, way cheaper too. I have around a dozen of them anyway and have been selling em on swappa (dunno if I'm allowed to say that here, but oh well) lol
@KaptinBoxxi Sounds like you have Ambient Display on for notifications.
mschoolbus said:
@KaptinBoxxi Sounds like you have Ambient Display on for notifications.
Click to expand...
Click to collapse
Nah its turned off. It flashes like a broken LCD would look. All snowy and stuff like an old TV. Its not notifications, just a bad LCD
that sucks... could try reseating the screen's ribbon cable :-/
can anybody share the full update rom about android 11?
top170 said:
can anybody share the full update rom about android 11?
Click to expand...
Click to collapse
I don't believe anyone has Logcatted the update process yet to get the firmware, but on the subject of this post, I do have some updates
I was digging through my Logcat from january and realized I missed something massive. I have yet to figure out the URL structure, but I have all the info for it.
So when you go to the following link, it gives a bunch of errors of missing info
https://g2master-sa-east.tclclouds.com/notify_new.php
For the firmware here on this post at least, each value from my device is
Code:
id = 0156260
curef = T799B-2ALCUS11
vk = 741ace917e3527af81412ca93b0fcce2de04a264
salt = 1611977254070885419
fv = 4DJ1LM10
tv = 4DJBLMB0
op = 1000
status = 999
mode = 2
cltp = 10
type = firmware
formatted from logcat
reportContent= {"id":"0156260","salt":"1611977254070885419","curef":"T799B-2ALCUS11","fv":"4DJ1LM10","tv":"4DJBLMB0","mode":"2","cltp":"10","type":"Firmware","op":"1000","status":"999","vk":"741ace917e3527af81412ca93b0fcce2de04a264"}
no matter what, I get the errors on the web page
Hey everyone, my first post on here. So I have a problem with my Motorola Moto G 2nd Gen (2014), I tried flashing a stock ROM (through Android SDK) because my phone went into a bootloop, but it failed and I found out it was because the bootloader was locked, but I can't access my OS to enter developer options and enable unlock OEM option (I tried the fastboot unlock oem command but it says that I have to unlock it through developer options but I can't), I can't enter recovery mode because it got corrupted somehow. Is there any solution, I am trying to flash a stock OS!
Simple 1 minute research reveals several ways of doing that, i never tried them nor do i have experience it motorola smartphones also your data will be lost so do it at your own risk!
I found this assuming that you can access fastboot https://www.hardreset.info/devices/motorola/motorola-xt1064-moto-g-2nd-gen/faq/firmware-flash/
Also because your phone has a snapdragon processor maybe you can find a compatible firmware and flash it using qualcomm's flash tool.
Add " Motorola Moto G 2nd Gen (2014) " to front of this thread's title thus owners of such device get addressed.
I am using an OPPO F9 pro , OPPO devices(at least mine) does not have fastboot mode as the manufacturers have given no access for that ,the "OEM unlocking" option under developer options is literally useless as it is basically not possible to unlock its bootloader.
My aim actually is to install a custom ROM using any of those recoveries , if anyone can help me regrading how to install any of these recoveries without unlocking the bootloader please help me if that is possible to do so without OEM unlock ,btw my device has mediatek chipset.
I have already set all other prerequisites like ADB ,drivers, USB drivers for my phone etc ; and i am able to use ADB bridge to control my device using my pc.
All i want to know that is there any way by which we can install custom recovery given that the phone does not have any "bootloader/fastboot" mode which indirectly also means that there is no OEM unlock access.
I would again like to clarify that i am 100% sure that it is impossible for most OPPO phones to enter fastboot mode ,i have tried to enter fastboot mode using ADB commands(adb reboot bootloader) and that power + volume up/down after power off ,nothing works for in my OPPO phone that allows me to use fastboot mode.
At last ,i have also asked from OPPO service ,they clearly told me that there is no bootloader in oppo devices
I AM REALLY STRESSED RIGHT NOW AS MY STOCK ROM SUCKS SO ANY HELP WOULD BE REALLY APPRECIATED.
armankang said:
I am using an OPPO F9 pro , OPPO devices(at least mine) does not have fastboot mode as the manufacturers have given no access for that ,the "OEM unlocking" option under developer options is literally useless as it is basically not possible to unlock its bootloader.
My aim actually is to install a custom ROM using any of those recoveries , if anyone can help me regrading how to install any of these recoveries without unlocking the bootloader please help me if that is possible to do so without OEM unlock ,btw my device has mediatek chipset.
I have already set all other prerequisites like ADB ,drivers, USB drivers for my phone etc ; and i am able to use ADB bridge to control my device using my pc.
All i want to know that is there any way by which we can install custom recovery given that the phone does not have any "bootloader/fastboot" mode which indirectly also means that there is no OEM unlock access.
I would again like to clarify that i am 100% sure that it is impossible for most OPPO phones to enter fastboot mode ,i have tried to enter fastboot mode using ADB commands(adb reboot bootloader) and that power + volume up/down after power off ,nothing works for in my OPPO phone that allows me to use fastboot mode.
At last ,i have also asked from OPPO service ,they clearly told me that there is no bootloader in oppo devices
I AM REALLY STRESSED RIGHT NOW AS MY STOCK ROM SUCKS SO ANY HELP WOULD BE REALLY APPRECIATED.
Click to expand...
Click to collapse
You can not flash anything custom without first unlocking the bootloader, there is no way to do this.
Yes, there are devices out there that have TWRP even though the device has a locked bootloader, it is tricky to explain but most of these devices do not truly have TWRP installed in the traditional manner. They merely use some kind of trick or code to trick the device into booting TWRP from a secondary location instead of booting stock recovery from the stock recovery partition.
how do I delete a comment?
armankang said:
I am using an OPPO F9 pro , OPPO devices(at least mine) does not have fastboot mode as the manufacturers have given no access for that ,the "OEM unlocking" option under developer options is literally useless as it is basically not possible to unlock its bootloader.
My aim actually is to install a custom ROM using any of those recoveries , if anyone can help me regrading how to install any of these recoveries without unlocking the bootloader please help me if that is possible to do so without OEM unlock ,btw my device has mediatek chipset.
I have already set all other prerequisites like ADB ,drivers, USB drivers for my phone etc ; and i am able to use ADB bridge to control my device using my pc.
All i want to know that is there any way by which we can install custom recovery given that the phone does not have any "bootloader/fastboot" mode which indirectly also means that there is no OEM unlock access.
I would again like to clarify that i am 100% sure that it is impossible for most OPPO phones to enter fastboot mode ,i have tried to enter fastboot mode using ADB commands(adb reboot bootloader) and that power + volume up/down after power off ,nothing works for in my OPPO phone that allows me to use fastboot mode.
At last ,i have also asked from OPPO service ,they clearly told me that there is no bootloader in oppo devices
I AM REALLY STRESSED RIGHT NOW AS MY STOCK ROM SUCKS SO ANY HELP WOULD BE REALLY APPRECIATED.
Click to expand...
Click to collapse
Simple answer: You can't. And if you unlock the bootloader and flash a custom recovery, DON'T TRY TO LOCK IT BACK! It will brick your phone badly.
armankang said:
I am using an OPPO F9 pro , OPPO devices(at least mine) does not have fastboot mode as the manufacturers have given no access for that ,the "OEM unlocking" option under developer options is literally useless as it is basically not possible to unlock its bootloader.
My aim actually is to install a custom ROM using any of those recoveries , if anyone can help me regrading how to install any of these recoveries without unlocking the bootloader please help me if that is possible to do so without OEM unlock ,btw my device has mediatek chipset.
I have already set all other prerequisites like ADB ,drivers, USB drivers for my phone etc ; and i am able to use ADB bridge to control my device using my pc.
All i want to know that is there any way by which we can install custom recovery given that the phone does not have any "bootloader/fastboot" mode which indirectly also means that there is no OEM unlock access.
I would again like to clarify that i am 100% sure that it is impossible for most OPPO phones to enter fastboot mode ,i have tried to enter fastboot mode using ADB commands(adb reboot bootloader) and that power + volume up/down after power off ,nothing works for in my OPPO phone that allows me to use fastboot mode.
At last ,i have also asked from OPPO service ,they clearly told me that there is no bootloader in oppo devices
I AM REALLY STRESSED RIGHT NOW AS MY STOCK ROM SUCKS SO ANY HELP WOULD BE REALLY APPRECIATED.
Click to expand...
Click to collapse
Have you tried looking at indian tutorial videos? I can't tell if that's going to work, since I have no experience with OPPO phones, but this one seems interesting.
uwucake2020 said:
how do I delete a comment?
Click to expand...
Click to collapse
Click edit and erase all text in it.
armankang said:
I am using an OPPO F9 pro , OPPO devices(at least mine) does not have fastboot mode as the manufacturers have given no access for that ,the "OEM unlocking" option under developer options is literally useless as it is basically not possible to unlock its bootloader.
My aim actually is to install a custom ROM using any of those recoveries , if anyone can help me regrading how to install any of these recoveries without unlocking the bootloader please help me if that is possible to do so without OEM unlock ,btw my device has mediatek chipset.
I have already set all other prerequisites like ADB ,drivers, USB drivers for my phone etc ; and i am able to use ADB bridge to control my device using my pc.
All i want to know that is there any way by which we can install custom recovery given that the phone does not have any "bootloader/fastboot" mode which indirectly also means that there is no OEM unlock access.
I would again like to clarify that i am 100% sure that it is impossible for most OPPO phones to enter fastboot mode ,i have tried to enter fastboot mode using ADB commands(adb reboot bootloader) and that power + volume up/down after power off ,nothing works for in my OPPO phone that allows me to use fastboot mode.
At last ,i have also asked from OPPO service ,they clearly told me that there is no bootloader in oppo devices
I AM REALLY STRESSED RIGHT NOW AS MY STOCK ROM SUCKS SO ANY HELP WOULD BE REALLY APPRECIATED.
Click to expand...
Click to collapse
U can't install orangefox recovery on a oppo device
OrangeFox Recovery Downloads
OrangeFox Recovery is one of the most popular custom recoveries in android ecosystem, with amazing additional features that are not present in other recoveries. We support a host of devices
orangefox.download
As u can see their not s single oppo device that support for oppo so you're out of luck
But u can install twrp recovery on a oppo device if you're in luck but u need to unlock bootloader
Devices
This is the Team Win website and the official home of TWRP! Here you will find the list of officially supported devices and instructions for installing TWRP on those devices.
twrp.me
ok thanks everyone of u for helping me i got to know that its not possible for my device as its not supported.
franta0 said:
Have you tried looking at indian tutorial videos? I can't tell if that's going to work, since I have no experience with OPPO phones, but this one seems interesting.
Click to expand...
Click to collapse
maybe that video works for realme devices but all the videos(only except 3 or 4 oppo phones those have fastboot mode given by manufacturer) in which they tell the way to unlock bootloader for oppo devices are fake except for those few i already told, although the process for different brand phones are quite same.
franta0 said:
Click edit and erase all text in it.
Click to expand...
Click to collapse
It says "Please enter a valid message."
Wiko life 3
Tryed
fastboot OEM unlock , fastboot OEM-unlock ,
fastboot OEM_unlock , fastboot oem unlock ,
fastboot oem-unlock , fastboot oem_unlock ,
fastboot flashing unlock .
fastboot Flashing get_unlock_ability
returns;
0 not unlockable.
When I began I was able to get it into an energy down load mode but, have not been able to again
1) So how is this phone flashed
2) Is there a recovery that can be used on it
3) How is it rooted
You ever figure this out? Got the same phone and wanted to play with it properly.
Edit: I'm not seeing the OEM Unlock switch under device settings/developer settings. Completely missing for me.
Not sure if you have ran across any method yet but this will probably do it for you. I just got this phone but I have not looked to see if it has an mtk processor that is compatible with the program. I have used it to root a couple of other wikos but not the bootloader. Anyways here is the link to the program. https://github.com/bkerler/mtkclient
I personally could not get it to work in windows because of the USB drivers the site says to use gave me a bsod. If you search on here for rooting the wiko u307as I posted about my experience with the software. I wish I knew about this program years ago.
hey guys mtkclient will unlock the bootloader but make sure to back up the original firmware with mtkclient before you change anything, i got ahead of myself, i forgot to make a backup, i tried to flash gsi, now im stuck in bootloop without the stock firmware to fix it.
Does anyone know how to get a Wiko Life3 to connect to a PC windows 7 USB drivers not available and cant even get it to connect to any tools.
Hello everybody,
i'm not new in custom roms, but i have a problem, i can't solve by myself:
I flashed an unlocked Mi5 to linageos 19.1 without problems.
I had the bad idea to relock the bootloader due to security reasons (fastboot oem lock).
Now the device is not booting anymore, i can just see the Mi-Logo flashing very shortly.
I can access fastboot, but can't boot into recovery.
I tried to unlock the device again, but the Mi Unlocker fails and prompts me to go to the developer options in Miui, which is clearly impossible.
Any chance to proceed from fastboot (fastboot oem unlock does not work...) ?
Thanks, Jan
congrats, you succesfully hard bricked your phone. please take it for a walk to the xiaomi service and pay for gettting it fixed. who told you it is a good idea to relock the bootloader with a custom rom installed ?
Fytdyh said:
congrats, you succesfully hard bricked your phone. please take it for a walk to the xiaomi service and pay for gettting it fixed. who told you it is a good idea to relock the bootloader with a custom rom installed ?
Click to expand...
Click to collapse
actually, i remember some banking apps complained about the locked bootloader. I thought i can lock/unlock it in fastboot mode, but looks like i was wrong.
I will give the MiFlash Tool a chance, but i have not much hope...
@Fytdyh: do you think, Xiaomi Service can fix it ?
jever2k said:
actually, i remember some banking apps complained about the locked bootloader. I thought i can lock/unlock it in fastboot mode, but looks like i was wrong.
I will give the MiFlash Tool a chance, but i have not much hope...
@Fytdyh: do you think, Xiaomi Service can fix it ?
Click to expand...
Click to collapse
Make sure if your bootloader is really locked or not using fastboot command
fastboot oem device-info
OR,
fastboot getvar unlocked
If it's not locked, you can simply flash your stock rom using flash tool available for mi. Before downloading a rom from internet, take note of your device info using fastboot command ,
fastboot getvar all
And if bootloader is really locked, you have to flash stock rom from EDL mode. You may have to remove back cover to turn on EDL mode. Your device has snapdragon chipset (Plus point). Watch tutorials about xiaomi edl rom flash - snapdragon. You can go to service centre. If they tell you that you have to replace motherboard, don't be agree. Tell them to flash rom using EDL mode.
Tawsif999 said:
Make sure if your bootloader is really locked or not using fastboot command
fastboot oem device-info
OR,
fastboot getvar unlocked
If it's not locked, you can simply flash your stock rom using flash tool available for mi. Before downloading a rom from internet, take note of your device info using fastboot command ,
fastboot getvar all
And if bootloader is really locked, you have to flash stock rom from EDL mode. You may have to remove back cover to turn on EDL mode. Your device has snapdragon chipset (Plus point). Watch tutorials about xiaomi edl rom flash - snapdragon. You can go to service centre. If they tell you that you have to replace motherboard, don't be agree. Tell them to flash rom using EDL mode.
Click to expand...
Click to collapse
looks like i am getting closer... located the two EDL points to short during PC connection, installed the Qualcomm serial driver. For a second i see the device appearing as COM6 but then it disappears again and is not availiable anymore.
Any hints ?
Thanks again, Jan
jever2k said:
looks like i am getting closer... located the two EDL points to short during PC connection, installed the Qualcomm serial driver. For a second i see the device appearing as COM6 but then it disappears again and is not availiable anymore.
Any hints ?
Thanks again, Jan
Click to expand...
Click to collapse
Try this to solve the issue.
If it doesn’t help, read this to boot properly into edl
jever2k said:
Hello everybody,
i'm not new in custom roms, but i have a problem, i can't solve by myself:
I flashed an unlocked Mi5 to linageos 19.1 without problems.
I had the bad idea to relock the bootloader due to security reasons (fastboot oem lock).
Now the device is not booting anymore, i can just see the Mi-Logo flashing very shortly.
I can access fastboot, but can't boot into recovery.
I tried to unlock the device again, but the Mi Unlocker fails and prompts me to go to the developer options in Miui, which is clearly impossible.
Any chance to proceed from fastboot (fastboot oem unlock does not work...) ?
Thanks, Jan
Click to expand...
Click to collapse
Flash stock recovery for your device via fastboot, then you should be able to boot into recovery or flash a stock system.img or your full stock firmware for your device, then unlock the bootloader(fastboot oem unlock) then flash TWRP and LineageOS again.
Droidriven said:
Flash stock recovery for your device via fastboot, then you should be able to boot into recovery or flash a stock system.img or your full stock firmware for your device, then unlock the bootloader(fastboot oem unlock) then flash TWRP and LineageOS again.
Click to expand...
Click to collapse
But he mentioned, bootloader fails to unlock. Actually it's hard brick(Even though he can boot into fastboot,the bootloader is locked. So nothing to do with fastboot).Without unlocked bootloader, flashing something from fastboot will hard brick his device completely (Will not be able to boot into fastboot). Or flashing will be denied
Tawsif999 said:
Try this to solve the issue.
If it doesn’t help, read this to boot properly into edl
Click to expand...
Click to collapse
OK, next level reached. The phone is connected to the com-port and the correct driver is displayed.
The whole procedure is a bit unstable, i need to connect the phone several times, to get a stable EDL mode.
The Xiaomi Flasher recognizes the phone, but flashing does not succeed. Sometimes it's not able to receive a kind of Hello message, sometimes it displays "object reference not set to an instance of an object".
I also downloaded the QPST flasher, but have no plan, how to use it.
I'll keep on trying!
Thanks to all, who helped me to reach this point!
jever2k said:
OK, next level reached. The phone is connected to the com-port and the correct driver is displayed.
The whole prcedure is a bit unstable, i need to connect the phone several times, to get a stable EDL mode.
The Xiaomi Flasher recognizes the phone, but flashing does not succeed. Sometimes it's not able to receive a kind of Hello message, sometimes it displays "object reference not set to an instance of an object".
I also downloaded the QPST flasher, but have no plan, how to use it.
I'll keep on trying!
Thanks to all, who helped me to reach this point!
Click to expand...
Click to collapse
I found something new by watching this video. Maybe you don't understand hindi(India is our relative country, so I do).
Lemme explain,
This guy's xiaomi k20 pro phone hard bricked with a locked bootloader. He tried a lot to repair it(by deep flash or something idk). But everything failed. At last he came to this step of EDL mode. But xiaomi Edl mode flash requires an "AUTHORIZED MI ACCOUNT" . Xiaomi people pay to get authorized account license that normal users don't have. So the guy contacted with them on a telegram page called "Mod Edit: Name Removed" . They told him that they will repair his phone via teamviewer. All he had to do is pay some $ & connect phone in edl mode. Rest of the things were done by them. And his phone repaired successfully! (Watch the video from 4:00)
So In his video, he is telling to go to that page & contact with "Mod Edit: Name Removed" there. They take 20-25$ (depends on device). If you tell them you're from Mod Edit: Name Removed's video, they will give some discount
Tawsif999 said:
But he mentioned, bootloader fails to unlock. Actually it's hard brick(Even though he can boot into fastboot,the bootloader is locked. So nothing to do with fastboot).Without unlocked bootloader, flashing psomething from fastboot will hard brick his device completely (Will not be able to boot into fastboot). Or flashing will be denied
Click to expand...
Click to collapse
Yeah, I jumped the gun and posted before seeing all the replies in the thread describing their whole scenario, should've known better.
They obviously need a hardware approach, i.e. JTAG/RIFF/Octoplus or replace motherboard.
Tawsif999 said:
I found something new by watching this video. Maybe you don't understand hindi(India is our relative country, so I do).
Lemme explain,
This guy's xiaomi k20 pro phone hard bricked with a locked bootloader. He tried a lot to repair it(by deep flash or something idk). But everything failed. At last he came to this step of EDL mode. But xiaomi Edl mode flash requires an "AUTHORIZED MI ACCOUNT" . Xiaomi people pay to get authorized account license that normal users don't have. So the guy contacted with them on a telegram page called "Mod Edit: Name Removed" . They told him that they will repair his phone via teamviewer. All he had to do is pay some $ & connect phone in edl mode. Rest of the things were done by them. And his phone repaired successfully! (Watch the video from 4:00)
So In his video, he is telling to go to that page & contact with "Mod Edit: Name Removed" there. They take 20-25$ (depends on device). If you tell them you're from Mod Edit: Name Removed's video, they will give some discount
Click to expand...
Click to collapse
Thanks for research!
Meanwhile, i stopped using Windows due to all the caveats and switched to reliable Debian Linux on a different machine.
Again it takes 10 attempts to get into EDL Mode.
I used qdl (Qualcomm downloader for Linux) with all the firehose, raw and patch .xmls
Code:
sudo ./qdl --debug --storage ufs --include . prog_ufs_firehose_8996_ddr.elf partition.xml rawprogram0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
Output looked like some stuff was written, at the end i receive:
Code:
qdl: failed to write: Connection timed out
However, the phone is now dead as can be without fastboot working any more.
Maybe i'll give it another try, or get a used Mainboard...
Best regards, Jan
jever2k said:
Thanks for research!
Meanwhile, i stopped using Windows due to all the caveats and switched to reliable Debian Linux on a different machine.
Again it takes 10 attempts to get into EDL Mode.
I used qdl (Qualcomm downloader for Linux) with all the firehose, raw and patch .xmls
Code:
sudo ./qdl --debug --storage ufs --include . prog_ufs_firehose_8996_ddr.elf partition.xml rawprogram0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
Output looked like some stuff was written, at the end i receive:
Code:
qdl: failed to write: Connection timed out
However, the phone is now dead as can be without fastboot working any more.
Maybe i'll give it another try, or get a used Mainboard...
Best regards, Jan
Click to expand...
Click to collapse
jever2k said:
Thanks for research!
Meanwhile, i stopped using Windows due to all the caveats and switched to reliable Debian Linux on a different machine.
Again it takes 10 attempts to get into EDL Mode.
I used qdl (Qualcomm downloader for Linux) with all the firehose, raw and patch .xmls
Code:
sudo ./qdl --debug --storage ufs --include . prog_ufs_firehose_8996_ddr.elf partition.xml rawprogram0.xml rawprogram1.xml rawprogram2.xml rawprogram3.xml rawprogram4.xml rawprogram5.xml patch0.xml patch1.xml patch2.xml patch3.xml patch4.xml patch5.xml
Output looked like some stuff was written, at the end i receive:
Code:
qdl: failed to write: Connection timed out
However, the phone is now dead as can be without fastboot working any more.
Maybe i'll give it another try, or get a used Mainboard...
Best regards, Jan
Click to expand...
Click to collapse
That's expensive. Anyway, it will be better if you don’t waste time on this. Just go for 3rd party help(From that official telegram channel or service centre). That will cost less
Tawsif999 said:
That's expensive. Anyway, it will be better if you don’t waste time on this. Just go for 3rd party help(From that official telegram channel or service centre). That will cost less
Click to expand...
Click to collapse
Thanks Tawsif for the good hints and links.
I don't really depend on the phone, so i will keep trying.
It's not wasted time, it's mainly learning new stuff and improving skills.
I believe, i'm not too far away and if it works, it's the best satisfaction.
If not, i bricked an old Mi 5.
All the best,
Jan