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 28 29 30 31 32 42 Next
Elbasha2005
Elbasha2005
Elbasha2005
Enthusiastic Member
5
14-05-2023, 09:56 AM



realme C25Y RMX3269
hovatek
hovatek
hovatek
Administrator
50,891
15-05-2023, 10:06 AM
(14-05-2023, 09:56 AM)Elbasha2005 realme C25Y RMX3269

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.
mortimera
mortimera
mortimera
Enthusiastic Member
7
09-07-2023, 01:30 PM
Hi there, I am trying unlock bootloader of RealmeC21Y and I face a problem. When I test detection (./ fastboot devices) it says "permission denyed". I used the codes written in the "important notice" part, but it didnt help. Now it says "no permissions (user in plugdev group, are your udev rules wrong?") - what can I do about it?
Prowindows62
Prowindows62
Prowindows62
Newbie
2
11-07-2023, 12:08 PM
Hello, my tablet "GeneralMobile e-tab20" refuses to unlock the BootLoader with this method, it says "Remote unlock fail" or something that i forgot. I think it needs a special key to unlock, is it possible via PAC file? I can send it.
hovatek
hovatek
hovatek
Administrator
50,891
13-07-2023, 11:56 AM

Mediatek Course Mediatek Course


(11-07-2023, 12:08 PM)Prowindows62 Hello, my tablet "GeneralMobile e-tab20" refuses to unlock the BootLoader with this method, it says "Remote unlock fail" or something that i forgot. I think it needs a special key to unlock, is it possible via PAC file? I can send it.

(09-07-2023, 01:30 PM)mortimera Hi there, I am trying unlock bootloader of RealmeC21Y and I face a problem. When I test detection (./ fastboot devices) it says "permission denyed". I used the codes written in the "important notice" part, but it didnt help. Now it says "no permissions (user in plugdev group, are your udev rules wrong?") - what can I do about it?


Create a new 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.
k1ng1
k1ng1
k1ng1
Techie Member
59
03-08-2023, 07:29 AM
(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.     

sir does this work on  Unisoc SC9863A (28nm) with out a problem also can i use a wsl instead of bootable usb??? i hope you answer thank you 
hovatek
hovatek
hovatek
Administrator
50,891
03-08-2023, 05:09 PM
(03-08-2023, 07:29 AM)k1ng1 sir does this work on  Unisoc SC9863A (28nm) with out a problem also can i use a wsl instead of bootable usb??? i hope you answer thank you 

You'll have to try.
WSL might give issues but you're free to try

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.
k1ng1
k1ng1
k1ng1
Techie Member
59
04-08-2023, 12:51 PM
(03-08-2023, 05:09 PM)hovatek
(03-08-2023, 07:29 AM)k1ng1 sir does this work on  Unisoc SC9863A (28nm) with out a problem also can i use a wsl instead of bootable usb??? i hope you answer thank you 

You'll have to try.
WSL might give issues but you're free to try
ok sir ill try it
Benja254
Benja254
Benja254
Junior Member
20
21-08-2023, 05:09 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.     

Is this possible using cywin terminal on windows ?
mortimera
mortimera
mortimera
Enthusiastic Member
7
21-09-2023, 04:42 PM
It worked for me. Thank you for the tutorial.
Pages (42): Previous 1 28 29 30 31 32 42 Next
Users browsing this thread:
 4 Guest(s)
Users browsing this thread:
 4 Guest(s)
WhTlYt