Home Forum Blog Private Support Courses
Our courses are now on YouTube! Start Watching
Hovatek Forum OPERATING SYSTEMS Android [Tutorial] How to unlock Unisoc (SPD) bootloader using Identifier Token

[Tutorial] How to unlock Unisoc (SPD) bootloader using Identifier Token

[Tutorial] How to unlock Unisoc (SPD) bootloader using Identifier Token

Pages (42): Previous 1 29 30 31 32 33 42 Next
Wikinger98
Wikinger98
Wikinger98
Newbie
2
22-09-2023, 12:00 PM



My alldocube iPlay 50 Mini gives back the following answer after Step 9:

error: could not load 'unlock_bootloader': No such file or directory

What can I do?
hovatek
hovatek
hovatek
Administrator
50,901
28-09-2023, 01:25 PM
(22-09-2023, 12:00 PM)Wikinger98 My alldocube iPlay 50 Mini gives back the following answer after Step 9:

error: could not load 'unlock_bootloader': No such file or directory

What can I do?

Create a thread by clicking Ask Question at the top

Learn MediaTek, Unisoc / Spreadtrum (SPD) and Qualcomm Software Repairs @ https://www.hovatek.com/training
Note!
We have a reply schedule for Forum Support. Please try Private Support if you can't wait.
pmagix
pmagix
pmagix
Newbie
2
05-10-2023, 04:43 PM
Hello, I'm trying this on the realme c11 2021 with the unisoc sc9863a and im getting this error

downloading 'unlock_message'...
OKAY [ 0.000s]
unlocking bootloader...
FAILED (remote: Unlock bootloader fail.)
finished. total time: 0.107s


any help?
dementr0n
dementr0n
dementr0n
Newbie
3
28-10-2023, 12:31 PM
(12-02-2020, 06:25 PM)hovatek This tutorial will explain how to unlock a Unisoc / Spreadtrum (SPD) Android device's bootloader using its Identifier Token. This guide is ideal for those who had tried the generic fastboot bootloader unlock guide but had no success due to fastboot commands not getting recognized e.g
Code:

FAILED (remote: 'unknown cmd.') fastboot: error: Command failed

Requirements


How to unlock Unisoc (SPD) bootloader using Identifier Token


Follow the steps below to unlock the bootloader of Unisoc (SPD) devices


See the Video below or @ https://youtu.be/HhBTezxlAYw


  1. Open the modified_fastboot folder, right-click then select Open in Terminal

  2. Test detection using

    Code:

    ./fastboot devices

  3. Get Identifier Token using
    Code:

    ./fastboot oem get_identifier_token

  4. You should get an output like
    Identifier token:
    XXXXXXXXXXXXXXXXXXXXXXXX
    OKAY [  0.019s]
    finished. total time: 0.019s

  5. Copy out the Identifier token

  6. Run this command ; replace XXXXXXXXXXXXXXXXXXXXXXXX with your Identifier token
    Code:

    ./signidentifier_unlockbootloader.sh XXXXXXXXXXXXXXXXXXXXXXXX rsa4096_vbmeta.pem signature.bin

  7. You should have an output like
    Identifier sign script, ver 0.10
    1+0 records in
    1+0 records out
    50 bytes copied, 0.000257562 s, 194 kB/s
    Identifier sign successfully

  8. You should also see a signature.bin file in the modified_fastboot folder

  9. Finally, run this command
    Code:

    ./fastboot flashing unlock_bootloader signature.bin

  10. You should get a prompt on the device asking you to push a volume button to confirm unlock, do so

    [Image: bootloader-unlock-confirmation.jpg]

  11. You should now have an output like
    downloading 'unlock_message'...
    OKAY [  0.001s]
    unlocking bootloader...
    Info:Unlock bootloader success!  OKAY [ 85.787s]
    finished. total time: 85.788s

  12. Reboot the device using
    Code:

    ./fastboot reboot

  13. Your bootloader should now be unlocked

Important Notice
  • You can enter bootloader by first booting the device into recovery mode then selecting Reboot to Bootloader
  • This guide isn't guaranteed to work on all Unisoc devices especially if they require a different private key
  • Unlocking bootloader wipes your data so ensure to backup important stuff first
  • To hide the Warning: Lock flag is : unlock, skip verify!!! message, try flash stock vbmeta using
    Code:

    fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
  • For those who wish to relock their bootloader, then simply run the fastboot command below
    Code:

    fastboot flashing lock_bootloader
  • If you run into permission issues while running fastboot then run
    Code:

    sudo -i sudo usermod -aG plugdev root
    and cd back into the fastboot folder
  • If you still encounter permission denied error then right click the fastboot file > permissions > tick the checkbox for allow executing as a program then save and retry running a fastboot command
  • If you encounter /usr/bin/dd : input/output error, then the current folder dd has no write access to the current folder. Change the permissions of the current folder
  • Credits goes to ruslan_3_ for originally sharing the bootloader unlock tool & Petercxy

Video Transcript
Quote: In this video tutorial, I'll be explaining how to unlock the bootloader of a Unisoc (Spreadtrum) Android 9 (Pie) device using its unlock token. Now, you're going to need this modified fastboot. You're also going to need this private key used to sign a lot of Unisoc devices. You're going to need these scripts. Also, you're going to use a Linux based PC so make sure you get that in place. Now, once you have these in place, launch terminal by right-clicking and you select Open in Terminal.

Now, you're going to (or might) run into a couple of issues when using Linux as I did so this is just how to go about (fixing) them. You're going to first elevate your permission level then you're going to run this command to enable you have the permission you need to run fastboot. Now you're going to cd back to the fastboot folder so you just copy the path up here, paste then you tap Enter. Now you're back in fastboot directory. You boot the device into fastboot mode, you can use any method you wish. I boot from recovery mode usually and then I have detection. Next you get the identifier token by running this command.

Now, you select the identifier token then you paste it into this next command. Make sure there's just a space between the token and the private key in the command. Now you select.. sorry, select this, paste and and run (tap Enter). This is going to generate a signature.bin file. Yes, this is the file. Now, you're going to unlock bootloader proper. You paste. At this point, usually, your device is going to request for you to hold a button. I'm yet to run the command though but usually, your device would ask you to authenticate or verify Bootloader unlock either by pressing a button or thereabout. I'm going to run this right now and on my device, I have a confirmation prompt. In my case, I need to just tap volume down. Its going to vary with yours.

Once that is done, you're going to have the phone going into Erase Mode. Its going to erase your data so ensure you had backed up your important stuff before unlocking the bootloader and wait till that is done. Once the bootloader is done (with) unlocking, you're going to have a success message like I have here. At this point, you can either disconnect and boot up the device by holding the power button or you could run fastboot reboot. So that's how to unlock the bootloader of a Unisoc (SPD) Android 9 (Pie) device using its unlock token.     

At step 9, the bootloader fails, my phone is X6816D with rom v11, can you help me?
Gargoyle
Gargoyle
Gargoyle
Contributor
577
29-10-2023, 10:11 AM

Mediatek Course Mediatek Course


@dementr0n
The manufacturer probably used their own OEM key,
this method will not work.
This post was last modified: 29-10-2023, 10:11 AM by Gargoyle.
dementr0n
dementr0n
dementr0n
Newbie
3
29-10-2023, 12:38 PM
(29-10-2023, 10:11 AM)Gargoyle @dementr0n
The manufacturer probably used their own OEM key,
this method will not work.

That is, there is no way to open the bootloader? P.S. manufacturer refused to provide oem key
dementr0n
dementr0n
dementr0n
Newbie
3
29-10-2023, 12:40 PM
(29-10-2023, 10:11 AM)Gargoyle @dementr0n
The manufacturer probably used their own OEM key,
this method will not work.
Bad news, but okay, i buy Xiaomi Wink
deeheper2
deeheper2
deeheper2
Newbie
2
07-11-2023, 03:52 PM
downloading 'unlock_message'...
OKAY [ 0.000s]
unlocking bootloader...
FAILED (remote: Unlock bootloader fail.) 

I also encountered this message when trying to unlock bootloader of Realme c21y and itel s23 s665L...

I already loosed my hope of rooting this devices.. do have anyone successfully rooted or unlock boot loader of this devices?
Gargoyle
Gargoyle
Gargoyle
Contributor
577
08-11-2023, 03:35 PM
(07-11-2023, 03:52 PM)deeheper2 downloading 'unlock_message'...
OKAY [ 0.000s]
unlocking bootloader...
FAILED (remote: Unlock bootloader fail.) 

I also encountered this message when trying to unlock bootloader of Realme c21y and itel s23 s665L...

I already loosed my hope of rooting this devices.. do have anyone successfully rooted or unlock boot loader of this devices?

This is the output from vbmeta where it is possible to unlock bootloader where OEM key rsa4096_vbmeta was used
= Public key (sha1): 2597c218aae470a130f61162feaae70afd97f011
Code:

Minimum libavb version: 1.0 Header Block: 256 bytes Authentication Block: 576 bytes Auxiliary Block: 16960 bytes Public key (sha1): 2597c218aae470a130f61162feaae70afd97f011

Realme-C21Y
Code:

Minimum libavb version: 1.0 Header Block: 256 bytes Authentication Block: 576 bytes Auxiliary Block: 15872 bytes Public key (sha1): 9dd3ed7ce047caadf69df067b0d6a98a541e75f4

itel-S665L
Code:

Minimum libavb version: 1.0 Header Block: 256 bytes Authentication Block: 576 bytes Auxiliary Block: 14720 bytes Public key (sha1): 4e691d46efe7a3d2105adc3b8b98a33d2391c178

Realme and iTEL used their own OEM key "Public key (sha1):"
This post was last modified: 08-11-2023, 03:37 PM by Gargoyle.
hosam_asd
hosam_asd
hosam_asd
Newbie
1
26-11-2023, 09:47 AM
2downloading 'unlock_message'...
OKAY [ 0.000s]
unlocking bootloader...
FAILED (remote: Unlock bootloader fail.)
finished. total time: 0.029s

itel s23
how to solve pls?
Pages (42): Previous 1 29 30 31 32 33 42 Next
Users browsing this thread:
 8 Guest(s)
Users browsing this thread:
 8 Guest(s)
WhTlYt