yashsingh1/xdaforums huggingface dataset:
[Poco X3 GT (Redmi Note 10 Pro 5G)] NOSS8:
it seems to me that this TWRP is A11 and MIUI 14 A13.

No need for TWRP to root.

Root:

1. Find or redownload the TGZ file for your current ROM or other rom.

2. Browse inside the zip file and find boot.img under the images folder

3. Copy this file to a temporary location in your PC first, and then transfer it to your phone

4. Install the desired version of Magisk app

5. Run the app and choose Install under Magisk

6. Choose Select and Patch a File, then select the boot.img that was transferred earlier

7. A process will run and create a new .img file in the same folder where the original one was

8. Transfer the new file to your PC in the same directory where fastboot.exe is located

9. Open a command prompt window in that same directory

10. Reboot your phone to fastboot mode and connect to PC, USB2.0 port. Check for connection by running command fastboot devices.

11. Run the command fastboot flash boot_ab magiskXXXX.img

***On some devices, disable-verity is required.

Once it's completed, run command fastboot reboot and the phone should boot and be rooted.
[Huawei P10 Lite Questions & Answers] SilvioTO:
Hello everyone, I have a:

Huawei P10 Lite

Model: WAS-LX1A

Build number: WAS-LX1AC432B209

Security level patch: may 1 2018

EMUI version: 5.1.1

Android version: 7.0.0

CPU: Kirin 658

Kernel version: 4.1.18-gf935254 (Fri Apr 27 18:47:24 CST 2018)

with unlocked bootloader. Is my intention to install Lineage os 17.1, but in trying to do so I ran into many problems and, in the end, in a bricked phone (it start, but there are no app icons on the screen). I have successfully installed TWRP 3.1.1-2, becouse 3.4 won't install (FAILED (remote: partition length get error).

Unfortunately with 3.1.1-2 the internal storage is encrypted and I can't see files moved here. As a final problem, I cannot restore the original system via ERECOVERY. Screen Stucked: "Getting package info failed !"

I therefore ask if anyone can help me at least try to get the phone working again.

I'm so sad :(

Thanks a lot,

Silvio.
[OnePlus 3 Questions & Answers] néonaloj:
Hi,

I've got an old OP3 wich my son is using. The problem is that the power button is broken/not working. Last update was made years ago (maybe 4 or 5..), and there is "Tipsy rom" installed (Android 7.1.2 :) ).

So when battery is empty for instance, to put the phone on I had to put the phone on charge, and then the screen(s) appear(s) that it should "boot in 5 sec" (see attachments). It did work before, but doesn't anymore... ! Don't know why.. ?!

I've searched how I could do but I don't find an answer.

To be clear : adb is enabled but the phone isn't recognized (or only while in recovery) so I can't use code lines (I also tried in different usb slots / on different pc). And when I put it on charge, I still do have the boot screens that say "if no key pressed : your device will boot in 5 seconds", but instead the charge screen appears (with battery charging). I've tried to disconnect the battery, the volume button, the motherboard.. with always the same result.

Could someone please be kind enough to give me advice on how to boot the phone ? It'd be really appreciated !! Thanks.. !
[OnePlus 3 Questions & Answers] ze7zez:
It is difficult to assess the situation without carefully checking the operation of the switches, whether current is passing or not. If they are not damaged, the cause may be a defective electronic button controller on the motherboard.

Since it is currently not self-starting, there could be more causes.

I suggest replacing the switches with working ones. This will be the first,cheapest and maybe the only option for diagnosis.
[OnePlus 3 Questions & Answers] néonaloj:
Thanks for your reply !

I didn't test if current goes through because the battery must be get out to check it (I removed batteries before and had "bent" ones often). So you're right I don't know if it's the button switches/cable, or worse (contact/motherboard...).

That said, I would like to try to find a way to "force" boot, for exemple I've tried to hold volume button while/between/after boot screens appear, but yet I always come on the screen wich allows to choose from "power off, restart, recovery, fastboot mode"... (with volume button). I don't understand why it rebooted before (like the screen says "after 5 seconds") as it worked well before but refuse to now..

I appreciate your input, many thanks ! If you've another idea... ? ;). Thanks anyway !!
[Android General] thiago92nr:
I waited a long time, but do not leave this status
[Android General] hikari_calyx:
1. In case that happens, check if your laptop only has USB 3.x port. If yes, try to execute the command before connecting the phone to PC.

2. Execute the command under /home/your_user_name instead of /opt/edl to prevent permission issue.
[Android General] nojo123:
Worked perfectly. I was able to unbrick my Nokia 5.3 by flashing the stock rom with Fastboot after unlocking the bootloader.
[Android General] hikari_calyx:
Regarding to stock firmware installation after bootloader unlock.

I'm sure you can obtain a stock ROM somewhere, for example the one I obtained has filename "HMDSW_TA-1229-340A-0-00WW-B01_user_devicekit.zip". (However it can be used on non TA-1229 models like TA-1234)

HMDSW_TA-1229-340A-0-00WW-B01_user_devicekit.zip | by Hikari Calyx for Generic Device/Other

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

www.androidfilehost.com

DO NOT USE MINIMAL ADB AND FASTBOOT! DELETE IT BEFORE YOU PROCEED!

These are possible locations of Minimal ADB and Fastboot:

C:\adb
C:\Program Files (x86)\Minimal ADB and Fastboot
C:\Program Files\Minimal ADB and Fastboot
C:\Windows\system32

Delete these 4 files: adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll, fastboot.exe

Extract the firmware package twice and you'll see a batch file named "sm6125_fastboot_all_images.bat". Right click on it and remove the second line (adb reboot bootloader) - since you're already in fastboot mode, also, change "fastboot reboot" into "fastboot --set-active=a reboot".

Then, extract Platform Tools from following websites and place files along with firmware files: https://developer.android.com/studio/releases/platform-tools

Make sure fastboot.exe, AdbWinApi.dll, AdbWinUsbApi.dll are placed altogether with firmware files, then double click "sm6125_fastboot_all_images.bat" to reinstall stock firmware.

As for macOS and Linux, you've probably noticed the existence of Captain_download_mac.sh and Captain_download_ubuntu.sh. Edit them and execute it under terminal.
[Android General] xmichaxb7:
Hello, do you mind to make a video how to do those steps? It's quite confusing especially for the 1st step and the 6th step.
[Android General] hikari_calyx:
I'll have to wait few days to weeks for another Nokia 5.3 test unit's arrival.
[Android General] xmichaxb7:
Oh, alright. I guess I must wait patiently. My Nokia 5.3 has a problem with the NFC on A12. It just keeps detecting my E-Money card like every 1 second or 0.5 second. So, I hopefully will be able to downgrade to A11 after I unlock the bootloader.
[Android General] pingusp:
I tried this after facing the same issue as @thiago92nr with no success still stuck on mode detected Sahara.

I used the live CD to try unlocking the bootloader and still no luck
[Android General] thiago92nr:
Type the command and press enter before connecting the device, then connect. it worked for me like this
[Android General] pingusp:
I'll give it a go thanks :)
[Android General] pingusp:
@thiago92nr I have another eorr.edl.py: No such file or directory
[Android General] thiago92nr:
remove the .py extension
[Android General] pingusp:
Tried that and it's giving me this error @thiago92nr
[Android General] pingusp:
Hey everyone I'm stuck on this part with no idea on what to do
[Android General] thiago92nr:
try this command

edl printgpt --loader=/home/user/Download/prog_emmc_firehose_Sm6125_ddr.elf

Then this one for Abl flash a and b

edl r abl_a abl_a.bin --memory=emmc --loader=/home/user/Download/prog_emmc_firehose_Sm6125_ddr.elf
[Android General] pingusp:
Before I do this should I download all 3 files or the one with the prototype abl
[Android General] pingusp:
Tried it same message

Apparently it could be due to pkhash does match the device pkhash or hardware doesn't match loader
[Android General] MEYSAMKIA:
some indan dude can unluck it without disassembling the Device! thats interesting he gives 20$ for that but i wanna know how its possible????
[Android General] pingusp:
I think he might use hickari calyx bootloader unlock method or the hmd device toolkit
[Android General] MEYSAMKIA:
idk
[Android General] john231423:
Are you able to relock the bootloader after using this method?
[Android General] pingusp:
Is there anyway just to flash the firmware through edl mode?
[Android General] hikari_calyx:
To those who want to see procedure on video:
[Android General] hikari_calyx:
Bootloader can be relocked, but considered how bootloader unlock procedure is complicated, simply forget about relocking the bootloader - which is why our WIP bootloader unlock tool for earlier Nokia phones doesn't have relocking the bootloader feature.
[Android General] xmichaxb7:
I did it! The short-circuit part was so time consuming and worrying. But yeah, it did work, and I managed to flash an Android 10 on the phone!

Edit: I wonder, can I flash a previous kernel from Android 11, so I can get the NFC worked perfectly (not detected my NFC tag every millisecond) if I am gonna flash Android 12?
[Android General] newbie@everything:
Followed the above steps, everything was working until i reached the "fastboot devices", my device isn't showing ... is there another way around this??
[Android General] hikari_calyx:
Open Device Manager and see if your phone is listed under "Other devices" as "Android". If yes then it means you don't have a proper fastboot driver installed.

If it's listed under Android Phones category, make sure you're not using Minimal ADB and Fastboot.
[Android General] newbie@everything:
Ooh, am running Jammy-Jellyfish(ubuntu)...so i guess i have to install hardinfo as i don't think ubuntu has device manager, however even with commands like lsusb the device won't show. in simple terms my logic is that the phone developer options were turned off by the time i was resetting hence the device not showing for fastboot comands. That's why i thought using edl would work since through this i can actually access the phone...as a result now am stuck ... : (
[Android General] mariuschris:
This software is defective
[Android General] mariuschris:
It makes the screen on, always
[Android General] LOSEROX:
Is there any help? I wrote this code (./edl w abl_a /home/your_user_name/Download/CAP-abl.elf --loader=/home/your_user_name/Download/prog_emmc_firehose_Sm6125_ddr.elf) at the beginning by mistake, and now the phone does not want to boot into the system or anything
[Android General] hikari_calyx:
Once you finish bootloader unlock, please reinstall stock firmware.
[Android General] Charu C Pant:
You can simply obtain the EDL mode by shorting the GND and D+ wire (green and black wire) in the USB Cable without disassembling the Device.

After that, you can continue to the bootloader unlocking process.

After using this method you can relock your bootloader using sdk Platform tools.
[Android General] MEYSAMKIA:
R u high?
[Android General] Charu C Pant:
I recently restored my Nokia 5.3 using the same method.

PROCEDURE-

Begin by stripping the sleeving off a section of the USB-C cable, Once you have your section of stripped wire, examine the wires for what type you have.

You will either have:

Red, White, Green Black wires; including Tin shielding mesh, and possibly a nylon core

OR

Red, White, and Green; including Tin shielding mesh, and possibly a nylon core(here black wire is actually a mesh of copper wires mixed in with the tin mesh, in this case, treat the tin outer mesh like the black wire)

At this point you should have:

Green wire, cut, and tips stripped

Black wire, the same as green, if it applies

Mesh shield crafted into a wire, if it applies

(either the black wire or mesh is required, but NOT BOTH).

Your cable should look like this-

Now follow the Bootloader unlocking steps as mentioned by Hikari Calyx, and when he is shorting the test points, you just do the following steps:

Connect one end of the USB cable to your pc, and the other end to your phone while shorting the D+ and GND wires. (make sure that your phone is switched off while connecting the USB cable.)

Keep holding the wires for at least 5 seconds, now disconnect the D+ and GND wires from each other, your device is in EDL mode now.

The next time when he is shorting the test points in the video, you need to remove the USB cable from your phone and power it on, again power it off and connect the USB cable again as mentioned above.

So by these steps, you can get the EDL mode without disassembling the device and can perform a bootloader unlock.

FOR BOOTLOADER RELOCK (WINDOWS)

you will have to install the Android SDK Platform Tools on your PC.

You will also have to enable USB Debugging on your device so as to make it recognizable by the PC in ADB mode.

Now connect your device to the PC via a USB cable. Make sure USB Debugging is enabled.

Now run the CMD from the platform-tools folder.

Run the following commands one by one :

adb reboot bootloader

fastboot devices

fastboot oem lock

Now use the Volume keys to select Relock the Bootloader and press the Power key to confirm.

Your device will undergo a reset and the bootloader will be locked. It will then boot to the OS.

DIY EDL Cable Guide :

https://xdaforums.com/t/hard-unbric...-hard-bricked-zenfone5-live-qualcomm.3915137/
[Android General] luridphantom:
you think one of these will work for us lazy asses? https://www.amazon.com/Flash-Cable-Xiaomi-Phone-Engineering/dp/B07NVHD3WT
[Android General] old_wolf24:
do you think, the procedure with usb-cable is also possible with Nokia 5.4?
[Android General] Charu C Pant:
If you get a cable with proper connections, then it should be going to work, but there are so many people in the review section who are complaining about the connections of the cable.

So in my opinion, if you have a spare USB cable then go and build it on your own.

Nokia 5.4 also comes with a processor powered by Qualcomm Snapdragon, so the procedure with a USB cable is also possible with Nokia 5.4.

(The USB cable method will work for most of the Phones powered by Qualcomm Snapdragon CPUs.)
[Android General] jupsu3:
Hello,

My Nokia 5.3 bricked after factory restore.

I was followed the guide and i was able to re-install the software, but after reboot device was in bootloop and after a while it was stuck in fastboot mode again. Does anyone have any idea, what i could do now?

ABL files read from device are exactly 1MB (both). Is this normal, or should it be larger? Can someone shara me his ABL files to test and compare, or are they paired with hardware?
[Android General] hikari_calyx:
Select "Wipe data/factory reset" in recovery mode.
[Android General] jupsu3:
Recovery mode is not working. If i try to enter there, phone just reboots and returns back to fastboot mode. ☹️
[Android General] Charu C Pant:
After reboot device was in a boot loop and after a while, it was stuck in fastboot mode

again.

It means the firmware is not flashed correctly(maybe 1 or 2 files from the firmware failed to flash)

I faced the same problem when I was trying to flash the firmware using "TFT UNLOCK TOOL", the tool was unable to flash some of the files from the firmware, and after reboot device was in a boot loop and after some time it got stuck in fastboot mode again.

But the @hikari_calyx method worked perfectly for me, so I suggest you reflash the firmware.
[Android General] kalid85:
in windows

edl is adirectory

edl not a command

i installed python git and all requirements

any help ?
[Android General] ph03n!x:
This link is not accessible anymore - is this file the same as the CAP-340A-abl.zip file that is attached to the first post?

EDIT: Nevermind, worked after a few min of posting this!
[Android General] ph03n!x:
@hikari_calyx and @Charu C Pant - thanks a million ton! I have unlocked my Nokia 5.3 with the steps from the first post and using an EDL cable (from Amazon!) instead of opening up the phone!

@hikari_calyx - would you know how to edit the abl.elf to get rid of the unlocked bootloader warning at every boot - like this: https://xdaforums.com/t/guide-remove-unlocked-bootloader-warning.4069207/
[Android General] hikari_calyx:
It's not possible to remove it, unless you know how to resign ABL.

Doing unauthorized modifications on ABL image will cause the phone refuse to boot and stuck at 900E.
[Android General] hikari_calyx:
Hi all,

The procedure is now optimized a little bit:

1. If you don't want to disassemble the phone, you can choose to buy or build an EDL cable for Xiaomi phones (also known as deep flash cable on some shopping websites).

2. If you prefer using QFIL, you can now flash the prototype ABL image via QFIL. However since we don't have original ABL image backed up, treat this phone as bricked - reinstall stock firmware immediately after bootloader unlocked.

About relocking the bootloader:

It's safe to relock the bootloader after given 340A build is installed.

But if you want to downgrade the phone, don't relock the bootloader since the anti rollback index cannot be erased - or the phone will fail to boot and you must unlock the bootloader again.
[Android General] kalid85:
i loaded firehose and rawprogram then i clicked cancel

how i put cap-abl.elf with them ?!
[Android General] kalid85:
Can i back abl before doing this ?!
[Android General] hikari_calyx:
Unfortunately you can't. You must reinstall stock firmware after finishing bootloader unlock.

Did you see "Click here to download Prototype ABL"?
[Android General] kalid85:
@hikari_calyx and @Charu C Pant

Great thanks

.

finally i unlocked the boot loader

i restored abl a& b and no need to flash new rom

.

you can back up abl a& b by qfil using programer attached

.

from tools partition manager …edit partition data then read partition data

and after unlock boot loader i flashed these bins as you explained

..

these abl a & b for my rom build number 00ww_3_490_sp03
[Android General] kalid85:
can you integrate my try in your post ?
[Android General] bobbywan30:
can you help me please. I reset my nokia 5.3 and it stuck in fastboot. and I don't know how to unlock the bootloader so I can reinstall the firmware
[Android General] kalid85:
select boot to recovery

then press power + volume up

clear cash and reset
[Android General] bobbywan30:
I reset. but it comes back in fastboot
[Android General] kalid85:
with edl cable and qfil and follow steps in the main thread you can unlock the bootloader
[Android General] bobbywan30:
I opened the phone. can enter mod edl. but I don't know how to use with qfil
[Android General] bobbywan30:
I don't know how to edit partition
[Android General] kalid85:
{Mod edit: Link to paid services website removed. Oswald Boelcke, Senior Moderator}

download driver and qfil
[Android General] bobbywan30:
I downloaded them to my laptop. driver, firmware, qfil
[Android General] kalid85:
qpst not qfil

follow this video

remembr to backup abl a&b
[Android General] bobbywan30:
thank you very much for wanting to help me. but please make a video from beginning to end with all the details. I'm new in the field and I'm not very good at it
[Android General] bobbywan30:
thank you very much. Your video helped me. I managed to reset the nokia 5.3 after unlocking the bootloader
[Android General] DeAd_PooL:
i successfully unbricked my phone... i have one question now. can i lock bootloader again safely..?! and in future will i be able to unlock bootloader again..?! (need to update to android 12 via OTA, that is why i am asking)
[Android General] kalid85:
Fastboot oem lock
[Android General] mahradmohiti2:
Thanks for letting me unbrick my phone after a whole year. I have also downgraded it to Android 10 for the ultimate performance.
[Android General] mahradmohiti2:
Is there going to be any it's update installing? Because I have downgraded to Android q and I need it to be remained Android 10.
[Android General] spandatech:
Just tried. Doesn't work for me getting stuck 'fastboot oem unlock-go' :/ Need to go at it one more time though. Will update.
[Android General] felipeunderx:
unlock the bootloader, and then when trying to close the bootloader, and start it tells me something that the operating system is corrupted and I get a red exclamation point. How can I fix this, or I can't do anything anymore.

thank you.

pd. I already found the answer, thanks.
[Android General] hikari_calyx:
Just to let other members know, repeat the bootloader unlock procedure.
[Android General] felipeunderx:
pd. it already works, I had a problem with the build I installed to lock the bootloader, it had to be the same as the one I used to unlock.
[Android General] kalid85:
Can anyone help to find custom recovery or twrp for nokia 5.3
[Android General] Vicnite:
Please how can I flash the stock firmware directly from QFIL while in EDL mode.

I cant use adb because of this issue. laptop doesn't even see the device in fastboot mode

@hikari_calyx
[Android General] MEYSAMKIA:
use Ubuntu for that
[Android General] MEYSAMKIA:
use this source to compile
[Android General] failasof:
nokia 5.3 unlock bootlooder?😐
[Android General] ViBE:
please help me understand. i have a TA-1234 which become bricked with android 12 after factory reset. there is no other way to switch on oem unlocking without a working system, right? so it is still necessary to disassembly the phone to start the process?
[Android General] hikari_calyx:
You can also choose to buy or build an edl cable to simplify the process.
[Android General] Palirson:
Hey,

I've gotten this far, but am stuck. I have two question,s please help me out. :( I am trying to get this done on windows.

1. Do I leave the phone in fastboot mode, when giving out the fastboot commands, or should it be in EDL mode?

2. I have tried giving out these commands in minimal Fastboot and ADB and in android sdk, but nothing worked. From what source did you install fastboot utility on windows?

Thank you very much in advance!
[Android General] hikari_calyx:
1. Once abl flashed into the phone, retun to fastboot mode.

2. https://developer.android.com/tools/releases/platform-tools
[Android General] Palirson:
Hi,

Thank you for the fast answer. Now the problem is that fastboot denies that the flashing unlock_critical command exists. Is that supposed to be normal even though the abls are flashed into the phone? And did I understand right that the abl that was needed to be flashed for both able_a and _b was the CAP-abl?
[Android General] Palirson:
For anyone stuck on this, I've managed to figure it out since then: in Qfil you have to manage abl_a and _b as raw, then erase them, then upload CAP_abl.elf to both of them.
[Android General] ViBE:
really? no need to tear down? cable like this? (two models available at the page)
[Android General] hikari_calyx:
Yes, this cable will work.
[Android General] hikari_calyx:
If you don't want to unlock the bootloader on a bricked Nokia 5.3 due to factory reset, there's an easy way to unbrick it.

1. enter recovery mode.

2. when you see an android robot lying on the ground, hold power key then press volume up key.

3a. if you have a PC, choose apply update from ADB and sideload this package:

https://android.googleapis.com/packages/ota-api/package/c30235955b9fbf4d2fd52064ad5f0cbbdd180894.zip

3b. If you don't have a PC, but has external SD card, copy that ZIP package (do not extract) to your external SD card, and install it from SD card.

4. wait for the procedure completes. Once it completes, reboot it.

Note to Windows PC users:

Do not use Minimal ADB and Fastboot. Use this instead:

SDK Platform Tools release notes | Android Studio | Android Developers

Android SDK Platform-Tools is a component for the Android SDK.

developer.android.com

Please forward this reply to users who want to unbrick 5.3.