Bootloader unlock

Status
Not open for further replies.
Search This thread

ryanyz10

Senior Member
May 17, 2014
194
37
You will need a linux box or python installed on windows. Find instructions on the web for that.

Step 1: Download attachment
Step 2: Run command and make note of code return
Code:
adb shell cat /sys/block/mmcblk0/device/manfid
Step 3: Run command and make note of code return
Code:
adb shell cat /sys/block/mmcblk0/device/serial

Now you should have 2 sets of numbers. first should be in the format of 0x0000XX where XX is numbers. And the other is 0xSSSSSSSS.

So now use the downloaded file and execute (obivously replacing the entries with what was returned above.
Code:
./cublock.py XX SSSSSSSS

This will tell you you have unlock.signed now. So move that to your fastboot/adb directory and then reboot to bootloader and issue this command

Code:
adb reboot-bootloader
fastboot -i 0x1949 flash unlock unlock.signed

Once done, get back to android and do the following:
Code:
adb shell
su
idme print

You should now see unlock_code: AAAAAAAA and on and on.

Now go flash my TWRP build in OG dev


Original credit goes to @dpeddi & @vortox for the exploit. I did nothing to this code and it is all their work. So give them thanks

Sorry for the noob-ish question. How do you get adb to recognize the fire? When I type "adb devices" there are no devices present.
 

ryanyz10

Senior Member
May 17, 2014
194
37
Question

Sorry for another question. When I type ./cublock.py, I get ". is not recognized as an internal or external command".

Sorry again for being annoying lol
 

edouble312

Senior Member
Nov 19, 2012
139
51
You will need a linux box or python installed on windows. Find instructions on the web for that.

Step 1: Download attachment
Step 2: Run command and make note of code return
Code:
adb shell cat /sys/block/mmcblk0/device/manfid
Step 3: Run command and make note of code return
Code:
adb shell cat /sys/block/mmcblk0/device/serial

Now you should have 2 sets of numbers. first should be in the format of 0x0000XX where XX is numbers. And the other is 0xSSSSSSSS.

So now use the downloaded file and execute (obivously replacing the entries with what was returned above.
Code:
./cublock.py XX SSSSSSSS

This will tell you you have unlock.signed now. So move that to your fastboot/adb directory and then reboot to bootloader and issue this command

Code:
adb reboot-bootloader
fastboot -i 0x1949 flash unlock unlock.signed

Once done, get back to android and do the following:
Code:
adb shell
su
idme print

You should now see unlock_code: AAAAAAAA and on and on.

Now go flash my TWRP build in OG dev


Original credit goes to @dpeddi & @vortox for the exploit. I did nothing to this code and it is all their work. So give them thanks

Hi jmz,

I have a question here- all that was in your ZIP file was the cublock.py file.

Are we supposed to use this with the rest of draxie's tools in the HDX thread? If so, I was able to get an 'unlock.img' file, but nothing called 'unlock.signed'

maybe you didn't upload all the attachments we needed?

either way, thanks soooo much for your work !
 

jmz

Inactive Recognized Developer
Sep 17, 2008
3,623
4,804
Lawton, OK
www.jmzsoft.com
Google Pixel 4a 5G
Hi jmz,

I have a question here- all that was in your ZIP file was the cublock.py file.

Are we supposed to use this with the rest of draxie's tools in the HDX thread? If so, I was able to get an 'unlock.img' file, but nothing called 'unlock.signed'

maybe you didn't upload all the attachments we needed?

either way, thanks soooo much for your work !

sorry, with that tool you only get the unlock.img . I need to correct the post
 

devicer

Senior Member
May 24, 2011
53
2
In my linux box 'cuber' module, required by cublock.py, is not installed; is this the correct source? https://github.com/benesch/cuber

One more question: I forgot to block OTA update so my HD6 updated to 4.5.4, loosing root permissions. What I should do? Need to wait KingRoot supports the new software version or can I proceed to unlock bootloader and install twrp? Or could install, if available, a 4.5.3 recovery through dd? Very thanks.
 

robert896

Member
Dec 1, 2010
31
0
So i generated unlock.img, but i am still unable to enter fastboot mode,
i tried changing boot to 4002, i rooted and tried to execute fastboot file, nothing works tbh, how do you suppose i fix this?

thanks in advance
 

robert896

Member
Dec 1, 2010
31
0
Need more info: Your computer OS, tablet device model (Settings>Device Options), Fire OS version (Device Options>System Updates). Tell exactly what happens when you run: adb reboot-bootloader.

ok im on ubuntu 15.04 got full adb and fastboot (they work on other devices) --- fire os 4.4.3---device model, kfhd 3rd gen

i also have windows 7 x64 dual booted with full adb and fastboot set up also

when i do adb reboot-bootloader, it restarts but doesnt enter fastboot ,, it boots into normal mode
 

vinnievegas

Senior Member
Sep 29, 2012
282
16
I am new to the tablet scene. This is my very first tablet. I would like to root the device and install custom recovery and hopefully custom Rom. Is this the first thing I do or should I start somewhere else?
 
Status
Not open for further replies.

Top Liked Posts