Trying to unlock bootloader using Linux any help? - Xiaomi Redmi Note 4 Questions & Answers

Hello there , i get my device recognised with : adb devices .
Then i restart to bootloader with adb reboot bootloader .
then i try to unlock the bootloader using this : sudo fastboot oem unlock
but the error i get is this : fastboot oem unlock
...
FAILED (command write failed (Protocol error))
finished. total time: 0.004s
any idea what i should do?

no ideas?

Related

[Q] How to Unlock BootLoader for Canvas A177

I have a Micromax Canvas Juice A177.
Rooted successfully by FramaRoot.
I wanted to unlock the Bootloader but was unsuccessful in doing so.
Connected phone to pc and typed in adb
Code:
adb reboot-bootloader
So my phone rebooted into fastboot with a black screen and only "Fastboot mode.." on the screen.
i dont know what to do after that....
i tried
Code:
C:\android>fastboot oem unlock
...
FAILED (status read failed (Too many links))
finished. total time: 45.669s
As failed appeared i think it was not successful also i think that "fastboot oem unlock" only works for Nexus phones.
I need help. i want to unlock bootloader so that i can take a backup of my system.img etc directly on my pc.
Thanks in Advance.

Asus Me302kl Softbricked in fastboot mode

Hi all
i have asus memo pad fd10, model: me302KL with soft bricked problem ( stuck at fastboot mode and show ERROR: invalid boot image )
i try to flash with fastboot flash recovery from image files but failed..
below are the message:
fastboot flash recovery recovery.img
sending 'recovery' (6002 KB)...
OKAY [ 0.188s]
writing 'recovery'...
FAILED (remote: Invalid input Image. Cannot flash before unlock)
finished. total time: 0.219s
fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.188s]
booting...
FAILED (remote: Bootloader is locked)
finished. total time: 0.203s
i think bootloader is locked. How to unlock boot loader? i don't have any os to install apk and unlock/root the me302kl.
i try
fastboot oem unlock
FAILED (remote: unknown command)
What should i do now? Please help and provide me any advice.
Many thanks !!
please help
try fastboot oem unlock-go. On fastboot help:
flashing unlock_critical (this enables flashing bootloader-related partitions)
flashing unlock (this enables flashing except bootloader-related partitions)
fastboot oem unlock-go
...
FAILED (remote: unknown command)
finished. total time: -0.000s
Any method to unlock the bootloader in fastboot mode?
Any one know how to save my soft bricked pad me302kl??
thanks!
I have the same problem, please help!
push
I have the same issue. Bad flash wiped out the partition table so i cant fastboot flash the oem zip.
push
push
push
no one know how to save my pad T_T
up ...
up ...
Same here
I guess all the unlock info is here:
http://dlcdnet.asus.com/pub/ASUS/Ee...73.649178616.1498070896-1875799990.1498070896
but this is an apk and we need a fastboot method to do it.
Can any1 help!
Thanks!
can you boot your device normally? you need to allow OEM unlocking under developer options before using the code.
Me too, I have the same problem, please help us!

Sony Xperia XZ: unlock bootloader FAILED (remote: Not necessary)

Hi Guys
I'm trying to root my device "Sony Xperia XZ (F8332)", and I have followed the steps in the develpoer.sonymobile.com, in the last step I faced this error:
..
..
C:..\sdk\platform-tools> fastboot devices
CB512CF1A4 fastboot
C:..\sdk\platform-tools> fastboot -i 0x0fce oem unlock 0x**********************
...
FAILED (remote: Not necessary)
finished. total time: 0.023s
Then turned on the device and then it did a reset factory, and I found the status for the OEM unlocking in the developer option says that the bootloader is already unlocked.
What does this error mean?
What I have to do to complete the root ?

How to unlock bootloader and Root Nokia 1 TA-1066

Hi,
Please share the details to unlock bootloader and root Nokia 1 TA-1066
Nokia has released the kernel source code which is available at https://www.nokia.com/en_int/phones/opensource
Thank You!
-Mayur
The bootloader unlock method is totally the same to Nokia 3.
As for root method... not yet.
hikari_calyx said:
The bootloader unlock method is totally the same to Nokia 3.
As for root method... not yet.
Click to expand...
Click to collapse
I tried to unlock boot loader of Nokia 1 using Nokia 3 procedure. It is not working.
1. Take one IMEI number (there are two IMEI No as its a dual sim )
2. Generate key using https://passwordsgenerator.net/md5-hash-generator/
3. Bootloader unlock failed. Below are the steps I used
>fastboot.exe -i 0x2e04 oem key <key>
OKAY [ 0.003s]
finished. total time: 0.005s
>fastboot.exe -i 0x2e04 oem unlock
(bootloader) Start unlock flow
FAILED (remote:
Unlock failed - Err:0x7001)
finished. total time: 6.323s
JainMayurD said:
I tried to unlock boot loader of Nokia 1 using Nokia 3 procedure. It is not working.
1. Take one IMEI number (there are two IMEI No as its a dual sim )
2. Generate key using https://passwordsgenerator.net/md5-hash-generator/
3. Bootloader unlock failed. Below are the steps I used
>fastboot.exe -i 0x2e04 oem key <key>
OKAY [ 0.003s]
finished. total time: 0.005s
>fastboot.exe -i 0x2e04 oem unlock
(bootloader) Start unlock flow
FAILED (remote:
Unlock failed - Err:0x7001)
finished. total time: 6.323s
Click to expand...
Click to collapse
I have unlocked the bootloader successfully. Below are the steps to unlock bootloader for nokia 1
>adb get-serialno
Generage hash key using https://passwordsgenerator.net/md5-hash-generator/
fastboot.exe -i 0x2e04 oem key <xxxxxxxxxxx>
fastboot.exe -i 0x2e04 oem unlock
bootloader unlocked
Thank You!
-Mayur
Unlock bootloader
1. Get Phone Serial No
>adb get-serialno
2. Generage hash key using https://passwordsgenerator.net/md5-hash-generator/
3. Unlock bootloader
>fastboot.exe -i 0x2e04 oem key <xxxxxxxxxxx>
>fastboot.exe -i 0x2e04 oem unlock
Root Nokia 1
1. Flash recovery image
>fastboot flash recovery TWRP-3.2.1-frt-20180506.img
> Fastboot reboot
> Copy Magisk-v16.4.zip to the phone
> adb reboot recovery
2. Install Magisk-v16.4.zip in the recovery mode
3. Reboot and your phone will be with root previledges
No OS. Need firmware
I did a system format by mistake and now no OS is installed in my Nokia 1. I cannot find the stock firmware anywhere.
Can someone please send me the link for firmware of Nokia 1 TA-1066 or any custom rom. Please I beg of you.
MyTH30 said:
I did a system format by mistake and now no OS is installed in my Nokia 1. I cannot find the stock firmware anywhere.
Can someone please send me the link for firmware of Nokia 1 TA-1066 or any custom rom. Please I beg of you.
Click to expand...
Click to collapse
I added this zip you can use in twrp Link
Twrp
Do you have the file of this version TWRP-3.2.1-frt-20180506.img? The latest version TWRP-3.2.3-frt-20180802.img can’t install/flash any zip files.
Error:
“Checking for Digest files
Skipping Digest check: no digest file found”
hi everybody,
unknowing i flashed my nokia 1
now it is stuck in fastboot mode
i dint on usb debugging nor i on developer mode
i am unable to flash nor get serial no pls help

Oem unlocking via command line?

I want to flash new version of TWRP to my Jiayu S3. In order to flash a new recovery, I have to unlock the bootloader. Normally this is done in Android Settings > Developer options > OEM Unlocking. I can't do this, because my boot process hangs and I can't access the Android user interface at all. However, I have access to command line via adb shell and TWRP Terminal.
Can I unlock the boot partition using the command line? For example, can I use a command such as flash_unlock?
How to allow download for partition 'recovery' via command line?
Here is the actual error messages that I get:
Code:
[[email protected] ~]# fastboot flash recovery /home/Big/Download/twrp_20180417.img
target reported max download size of 134217728 bytes
sending 'recovery' (13198 KB)...
OKAY [ 1.002s]
writing 'recovery'...
FAILED (remote: download for partition 'recovery' is not allowed
)
finished. total time: 1.005s
The following fails as well:
Code:
[[email protected] ~]# fastboot flashing unlock_critical
...
FAILED (remote: unknown command)
finished. total time: 0.003s
[[email protected] ~]# fastboot oem unlock
...
(bootloader) Start unlock flow
FAILED (remote:
Unlock operation is not allowed
)
finished. total time: 64.993s
So my question is, is there any command that I could enter in adb shell or TWRP Terminal Command that would allow me the flash a new recovery? Now the Android user interface for this phone does not work, but fastboot, adb and TWRP still work.
Now I have TWRP version 2.8.7.0 but in order to flash madOS Android 8.1 I should upgrade to their version of TWRP.
The usual command is fastboot oem unlock. If your phone supports this, it will wipe your phone as it unlocks the bootloader. If not, you get that error message. Not all phones support bootloader unlocking, as many ZTE owners have found out.
hello , having the same problem any soloutions ?
I would also like to know. I toggled the OEM Unlocking option thinking I was done flashing roms, but then an update happened updating my phone from android 10 to 11. Now my phone is stuck in a bootloader loop. I was able to boot OrangeFox recovery and access the terminal and I was wondering if you can navigate to that "OEM Unlocking" setting and change it to "on" somehow. My phone is the Moto G Stylus (2021) XT2115-4

Categories

Resources