[Unlock] Bootloader unlock - Updated November 26th 2012

Search This thread

jcase

Retired Forum Mod / Senior Recognized Developer
Feb 20, 2010
6,307
15,757
Sequim WA
Please see this safer/easier/faster method instead of using the one below http://xdaforums.com/showthread.php?p=36976137#post36976137







Original guide provided below for historial purposesonly, seriously use hte one above:

Please refrain from repackaging, or rehosting my materials, ask prior to deciding to.

If this guide fails, or the auto script (which I will not recommend you use) fails, please do a factory reset before attempting again.

If you appreciate this, please make sure you check out my original article on the AndroidPolice. Without the support of AP, I wouldn't spend nearly as much time doing this. To the bloggers who will chose to link to a forum post, rather than the original post on a better blog, you suck.

http://www.androidpolice.com/2012/11/24/exclusive-how-to-unlock-the-droid-dnas-bootloader/

Donations for new test devices can be made at the paypal link to the left. I reserve the right to send leftover funds to whatever charities I feel like. Generally I choose Boys and Girls club of america, sometimes I choose seasonal charity, or a medical related one.

Known Problems:
Adb server is out of date
Uninstall HTC Sync, Samsung Kies, etc any software that talks to the phone.

If you get stuck, please immediately find someone in our chat that knows what they are doing. It is very easy to brick your phone if you follow these directions incorrectly, or if a problem arises!

Need faster help? or Want to help visit our chat
http://chat.andirc.net:8080/?channels=#droid-dna

Credits:
Original development: jcase
Awesome saver of the day: Sean Beaupre
Crash test dummy: dsb9938 (I bricked his phone making this!)
Artem and all @AndroidPolice for putting up with my nonsense.
Special thanks to Fuses for recommending a better target, and the numerous testers that let me play with their new phones.

Warning: This is semi complicated, and is known to ruin phones if done incorrectly. Proceed at your own risk


Needed:
1gb free space on the phone.
Working adb, must support the adb restore feature (ICS and up!)

Downloads:
backup.ab (300mb) mirrors: http://d-h.st/tau - http://depositfiles.com/files/9c61r4lgo - http://www.filefactory.com/file/2va8yp2i1h99/n/backup.ab

DNA_TeamAndIRC mirrors - http://d-h.st/D4r - http://www.putlocker.com/file/F357F205F5235B3D - http://rapidgator.net/file/59342799/DNA_TeamAndIRC.zip.html


Unzip DNA_TeamAndIRC, put runme.sh, CIDGen.apk and backup.ab into the directory where adb is (or anywhere if you have your paths setup right).

Please Check the readme.txt before continuing!

Code:
adb install CIDGen.apk

Run the CIDGen app on your phone, enter the last digit of your IMEI (NOT YOUR MEID) and press generate. Then confirm the generated file exists.

Code:
adb shell ls -l /sdcard/CIDBLOCK.img

If CIDBLOCK.img does not exist, run the app and try again. Do not proceed without generating a CIDBLOCK.img, it is needed to repair the phone and unlock.

Once you have CIDBLOCK.img on your sdcard, open two terminals (command prompts) and continue

In the first terminal/cmd prompt run these commands:

Code:
adb push runme.sh /data/local/tmp/
adb shell chmod 755 /data/local/tmp/runme.sh
adb shell /data/local/tmp/runme.sh

runme.sh will continue to loop and spit out No such file or link failed errors, just leave it running for now.

In the other terminal/cmd prompt run this commands:

Code:
adb restore backup.ab

Then allow the restore on your phone. Once the process is finished, you can go back to the looping terminal and stop it with control + c, or close the terminal

At this point, do not continue unless you are certain you can do this. Past this point, is where people can brick if they do not follow the directions correctly. If you run into a problem, find someone to help you. Do NOT power your phone off or reboot it. Leave it charging and find someone.

Code:
adb shell rm /data/data/com.htc.usage/files/exploit/*
adb shell mv /data/DxDrm /data/DxDrm_org
adb shell mkdir /data/DxDrm
adb shell ln -s /dev/block/mmcblk0p5 /data/DxDrm/DxSecureDB
adb reboot

Once the phone is rebooted, open two terminals and repeat the restore exploit:

In the first one:
Code:
adb shell /data/local/tmp/runme.sh

This process will also loop forever and give out lots of "No such file" or "link failed" errors - again, just leave it running.

In the second terminal, restore the backup again:

Code:
adb restore backup.ab

After the restore is done, we will undo the DxDrm symlink attack and write the new CIDBLOCK.img:

Code:
adb shell mv /data/DxDrm /data/DxDrm_trash
adb shell dd if=/sdcard/CIDBLOCK.img of=/dev/block/mmcblk0p5

If this returns an "out of space error" come to our chat, and find either jcase or beaups. Do not reboot. Do not continue.

Code:
adb reboot

After reboot, you can go to http://HTCDev.com, and unlock through their official process. Choose the "All other supported models" option when selecting your phone.


Cheers!
 
Last edited:

jcase

Retired Forum Mod / Senior Recognized Developer
Feb 20, 2010
6,307
15,757
Sequim WA
Lol.... I'm going to wait for the one click, can't afford to brick my device while trying to unlock with 2 kids running around lol...

P.s. thank you j case and DSB for the unlock and root

Sent from my HTC6435LVW using xda premium

I wouldnt trust a one click, i automated the PITA part already with the CIDGEN app
 

jonah1234

Senior Member
May 29, 2012
1,762
1,089
This is for the new bootloader right. Just wanna make sure.

Sent from my HTC Droid DNA
 

Argumentation

Senior Member
Feb 21, 2012
385
149
Washinton, DC
Lol.... I'm going to wait for the one click, can't afford to brick my device while trying to unlock with 2 kids running around lol...

P.s. thank you j case and DSB for the unlock and root

Sent from my HTC6435LVW using xda premium

I just did it, and it's really not that hard, took maybe 10 minutes, just copy and paste the commands and you should be good :good:
 
  • Like
Reactions: typeriz

TheBiles

Senior Member
Jan 27, 2010
3,573
176
34
North Carolina
www.flickr.com
So I was able to unlock with this method via HTCDev, I installed TWRP and the insecure kernel, but my SuperSU will not work after I flashed the file in recovery. None of my apps can get root access, and I cannot update the superuser binary via SuperSU. What's going on here?
 

typeriz

Senior Member
Dec 10, 2007
442
189
I just did it, and it's really not that hard, took maybe 10 minutes, just copy and paste the commands and you should be good :good:

I'm going to wait till I put the kids to bed, tonight. Thanks again !!

Sent from my HTC6435LVW using xda premium

---------- Post added at 04:32 PM ---------- Previous post was at 04:29 PM ----------

So I was able to unlock with this method via HTCDev, I installed TWRP and the insecure kernel, but my SuperSU will not work after I flashed the file in recovery. None of my apps can get root access, and I cannot update the superuser binary via SuperSU. What's going on here?

http://xdaforums.com/showthread.php?p=34551547

How unlock and root work on the Droid DNA.
I belive you have to manually update it

Sent from my HTC6435LVW using xda premium
 

jcase

Retired Forum Mod / Senior Recognized Developer
Feb 20, 2010
6,307
15,757
Sequim WA
So I was able to unlock with this method via HTCDev, I installed TWRP and the insecure kernel, but my SuperSU will not work after I flashed the file in recovery. None of my apps can get root access, and I cannot update the superuser binary via SuperSU. What's going on here?

Sounds like bad or incorrect su binary
 

largeselection

Senior Member
Dec 22, 2010
107
11
NYC
Never mind. Figured out the issue. Now it's just hanging at full restore. There's no password right? I selected restore my data and nothing happens.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 82
    Please see this safer/easier/faster method instead of using the one below http://xdaforums.com/showthread.php?p=36976137#post36976137







    Original guide provided below for historial purposesonly, seriously use hte one above:

    Please refrain from repackaging, or rehosting my materials, ask prior to deciding to.

    If this guide fails, or the auto script (which I will not recommend you use) fails, please do a factory reset before attempting again.

    If you appreciate this, please make sure you check out my original article on the AndroidPolice. Without the support of AP, I wouldn't spend nearly as much time doing this. To the bloggers who will chose to link to a forum post, rather than the original post on a better blog, you suck.

    http://www.androidpolice.com/2012/11/24/exclusive-how-to-unlock-the-droid-dnas-bootloader/

    Donations for new test devices can be made at the paypal link to the left. I reserve the right to send leftover funds to whatever charities I feel like. Generally I choose Boys and Girls club of america, sometimes I choose seasonal charity, or a medical related one.

    Known Problems:
    Adb server is out of date
    Uninstall HTC Sync, Samsung Kies, etc any software that talks to the phone.

    If you get stuck, please immediately find someone in our chat that knows what they are doing. It is very easy to brick your phone if you follow these directions incorrectly, or if a problem arises!

    Need faster help? or Want to help visit our chat
    http://chat.andirc.net:8080/?channels=#droid-dna

    Credits:
    Original development: jcase
    Awesome saver of the day: Sean Beaupre
    Crash test dummy: dsb9938 (I bricked his phone making this!)
    Artem and all @AndroidPolice for putting up with my nonsense.
    Special thanks to Fuses for recommending a better target, and the numerous testers that let me play with their new phones.

    Warning: This is semi complicated, and is known to ruin phones if done incorrectly. Proceed at your own risk


    Needed:
    1gb free space on the phone.
    Working adb, must support the adb restore feature (ICS and up!)

    Downloads:
    backup.ab (300mb) mirrors: http://d-h.st/tau - http://depositfiles.com/files/9c61r4lgo - http://www.filefactory.com/file/2va8yp2i1h99/n/backup.ab

    DNA_TeamAndIRC mirrors - http://d-h.st/D4r - http://www.putlocker.com/file/F357F205F5235B3D - http://rapidgator.net/file/59342799/DNA_TeamAndIRC.zip.html


    Unzip DNA_TeamAndIRC, put runme.sh, CIDGen.apk and backup.ab into the directory where adb is (or anywhere if you have your paths setup right).

    Please Check the readme.txt before continuing!

    Code:
    adb install CIDGen.apk

    Run the CIDGen app on your phone, enter the last digit of your IMEI (NOT YOUR MEID) and press generate. Then confirm the generated file exists.

    Code:
    adb shell ls -l /sdcard/CIDBLOCK.img

    If CIDBLOCK.img does not exist, run the app and try again. Do not proceed without generating a CIDBLOCK.img, it is needed to repair the phone and unlock.

    Once you have CIDBLOCK.img on your sdcard, open two terminals (command prompts) and continue

    In the first terminal/cmd prompt run these commands:

    Code:
    adb push runme.sh /data/local/tmp/
    adb shell chmod 755 /data/local/tmp/runme.sh
    adb shell /data/local/tmp/runme.sh

    runme.sh will continue to loop and spit out No such file or link failed errors, just leave it running for now.

    In the other terminal/cmd prompt run this commands:

    Code:
    adb restore backup.ab

    Then allow the restore on your phone. Once the process is finished, you can go back to the looping terminal and stop it with control + c, or close the terminal

    At this point, do not continue unless you are certain you can do this. Past this point, is where people can brick if they do not follow the directions correctly. If you run into a problem, find someone to help you. Do NOT power your phone off or reboot it. Leave it charging and find someone.

    Code:
    adb shell rm /data/data/com.htc.usage/files/exploit/*
    adb shell mv /data/DxDrm /data/DxDrm_org
    adb shell mkdir /data/DxDrm
    adb shell ln -s /dev/block/mmcblk0p5 /data/DxDrm/DxSecureDB
    adb reboot

    Once the phone is rebooted, open two terminals and repeat the restore exploit:

    In the first one:
    Code:
    adb shell /data/local/tmp/runme.sh

    This process will also loop forever and give out lots of "No such file" or "link failed" errors - again, just leave it running.

    In the second terminal, restore the backup again:

    Code:
    adb restore backup.ab

    After the restore is done, we will undo the DxDrm symlink attack and write the new CIDBLOCK.img:

    Code:
    adb shell mv /data/DxDrm /data/DxDrm_trash
    adb shell dd if=/sdcard/CIDBLOCK.img of=/dev/block/mmcblk0p5

    If this returns an "out of space error" come to our chat, and find either jcase or beaups. Do not reboot. Do not continue.

    Code:
    adb reboot

    After reboot, you can go to http://HTCDev.com, and unlock through their official process. Choose the "All other supported models" option when selecting your phone.


    Cheers!
    7
    Is there a one-click for this?

    Sorry, I couldn't resist!

    Support chat: http://chat.andirc.net:8080/?channels=#droid-dna


    D

    .
    4
    I cannot speak for everyone, but it is the time of year when lots of people are off the computer and being with family.

    If you should encounter problems while doing this between now and the new year, I do not know if you will be able to find help in the chat.

    Just putting that out there.

    D

    .
    3
    Lol.... I'm going to wait for the one click, can't afford to brick my device while trying to unlock with 2 kids running around lol...

    P.s. thank you j case and DSB for the unlock and root

    Sent from my HTC6435LVW using xda premium

    I wouldnt trust a one click, i automated the PITA part already with the CIDGEN app
    2
    If anyone is sketchy about this, you can check out my channel for a video on How To. If its good, then someone can put it in the OP.

    http://www.youtube.com/watch?v=gQRxIDW5vo0&feature=plcp

    Worked no problem for me. Not "ADB" problems. I'm using Windows 8.