[Unlock] Bootloader unlock - Updated November 26th 2012

Search This thread

iamrenne

Member
Nov 14, 2007
31
1
Geleen
Last question before I start.
I'm using Windows 8, should I use the normal CMD, Powershell or Powershell ISE?
Or doesn't it matter?
 

pennie57

Senior Member
Dec 12, 2010
179
17
JCase says easier method coming on Twitter

Sent from my HTC6435LVW using xda premium
 

Amphibliam

Senior Member
Feb 28, 2011
1,916
404
What files does the adb restore put on the phone? I decided I did not want to unlock and want to remove them.
 

Amphibliam

Senior Member
Feb 28, 2011
1,916
404
I just did it the first time, before the "point of no return". Apparently I'm banned from the IRC channel. I asked one question, so idk why.
 

phatmhat

Senior Member
Oct 6, 2010
90
3
Jcase... I know you said a new easier unlock was coming. Just curious how soon we are? I'm getting mine Monday so I want to see if I can do it this way or if the newer easier way would be around soon after and I can just use that..

Sent from my SCH-I535 using Tapatalk 2

me too. but ive arleady got mine. if i cant easily and more safely unlock mine within a week - back it goes and back i go to the note 2...as big as it is.

thanks for working hard guys.
 

rfarrah

Senior Member
May 30, 2008
3,164
495
OKC
Samsung Galaxy Watch 4
me too. but ive arleady got mine. if i cant easily and more safely unlock mine within a week - back it goes and back i go to the note 2...as big as it is.

thanks for working hard guys.

It's really not that bad if you follow the instructions completely. If you get in a bind, just hold on and run over to irc chat and the nice folks there will fix you up.
 

bakemcbride21

Senior Member
Sep 15, 2009
671
159
It's really not that bad if you follow the instructions completely. If you get in a bind, just hold on and run over to irc chat and the nice folks there will fix you up.

+1 to that

Very easy and straightforward if you follow the instrucitons. I bet some people are having issues getting ADB to work properly (especially Windows laptops). It worked fine for me the very first time I plugged in my phone. I had downloaded the latest ADK..took the files I needed, ADB, fastboot, backup.ab, AdbWinapi, etc., and had them at C:\ADB and it worked like I charm. After getting unlocked and heading over to HTCDev I installed HTC Sync and finished the rooting process without a hitch.

But after that I couldn't ever get ADB to work again, even when I uninstalled HTC Sync. Always get killing the server, error no device found, etc.
Fastboot still worked fine so I could flash kernels, but nothing through ADB. Obviously if I had these issues from the start I wouldn;t have been able to unlock and then root.

So, I saw in another forum on here somewhere to use PDANet as it loads the proper USB driver which allows your laptop/ADB to work/see your device. So I made sure HTC Sync and any HTC drivers were uninstalled, rebooted the laptop and installed PDANet 3.50 on my desktop (which also installs it on your phone during the process) and voila! ADB works like a charm again from my C:\ADB folder. PDANet is free in the market.

So I guess my advice to those having issues with the unlock process due to their ADB being stubborn is to make sure you have the latest ADK and the necessary files in your ADB folder. Uninstall any HTC Sync programsand drivers, an install PDANet 3.50 and see if your ADB works properly before attempting this. A quick "adb devices" command will show you if it sees your phone. I also did "adb reboot" and "adb reboot-bootloader" just to see that it was working/working after a reboot before I went through the unlock process.

If those test adb commands work for you, you should be able to easily unlock your device following the instructions. They are detailed and spot on.

Running a Thinkpad T420 Win 7 Professional (x64) fyi
 
Last edited:
  • Like
Reactions: tfrank10

clucernoni

Member
Jun 15, 2010
14
0
What exactly does this gain you? I keep seeing in other threads that people are complaining about there being no dev community for the DNA, but it seems to me we already have some ROMs out there. So this method will allow unlocking/root/ROMing to a certain extent correct? We just can't get AOSP and/or off HTC's framework until the phone is completely hacked...am I understanding this correctly?
 

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.