[HTC Droid DNA] drumz0rz:
I know there are other threads out there that offer exactly what this does, but even with those, I think it can still be a bit tricky to figure out what to do if you're looking to root and modify your phone. I made this thread to collect everything I've done in one place. This should make everything very straightforward and basically n00b-proof.

I take no credit for any of this work. Please thank all the hardworking devs!

**Following all of these steps will WIPE all data from your phone. Backup before beginning. While these should all be safe, there's always the possibility of bricking your phone. I take no responsibility if you do.**

What you'll need:

USB Cable

USB port

HTC Droid DNA (without the OTA update!)

PC running Windows

Glass of Orange Juice (for the Vitamin C!)

**All of this shouldn't take more than 30 minutes but just in case, make sure your phone has at least a 70% charge.**

Preparing (Installing SDK, Setting PATH, testing ADB)

I highly recommend creating a directory on the root of your C: drive on your PC to hold ALL related files. I called mine "android" but you can call yours whatever you'd like. Whenever issuing any ADB command, make sure you navigate to this folder first.

1. Connect your phone to your computer. One of the pop ups will ask to install HTC Sync. Install this to install the drivers onto your computer. Once installed, you can go into your Add/Remove Programs and uninstall the HTC Sync software if you want.

2. Enable USB Debugging in your HTC Droid DNA from the path “Settings > Applications > Development > USB debugging”. The option of USB Debugging should be ticked.

2. Download the latest version of the Android SDK to your PC here.

3. Extract the files to your PC (I recommend something easy like C:\android)

4. Run the SDK Manager and uncheck everything but the Platform Tools and install

5. Add the SDK tools to your system PATH file by doing the following:

1. Simultaneously hold down the Windows Key + R

2. type 'sysdm.cpl' into the run dialogue box and click OK

3. On the system properties window that just opened, click on the 'advanced' tab. Then click on 'Environment Variables'

4. Scroll down through the System variables until you find the PATH. Click 'Edit', then add ';C:\android' (or whatever you named your folder) to the end of the line

5. Click OK and close the open windows.​

6. Test ADB by connecting your phone to your PC then:

1. Open a new command prompt window by pressing Windows+R and typing "cmd" into the box

2. Type 'adb devices' and press enter. You should see your phone's UID listed.

If it says adb devices is not a recognizable command then you didn't setup your PATH correctly

If it says <waiting for device> then your missing the drivers or you didn't enable USB debugging. Try rebooting, and if it still doesn't show, reinstall HTC sync.

Other Tips

You can download all the files necessary at the beginning and do everything through ADB.

Always check the MD5-hash after downloading a file. If they don't match, the download is corrupt and you should try again. I use this simply tiny, no-install MD5 checker.

Always Test after each install to ensure it is working properly. Don't just string all of these together without rebooting once. Bad things might happen and you'd have no idea what's causing it.

You can reboot your phone into the bootloader by either issuing the command "adb reboot bootloader" or pressing and holding the PWR and VOL DN buttons simultaneously when you reboot your phone.

From the bootloader you can enter recovery or you can issue the command "adb reboot recovery"

If your command prompt hangs pressing Ctrl+C will break out of the running command.

Some useful command prompt (DOS) commands:

cd - change directory (ie. 'cd C:\android' will change to the 'C:\android' directory)

cd .. - moves up one directory level

dir /p - lists files within the current directory

Unlocking Bootloader

The next step is to unlock the bootloader. The best method right now is provided by jcase. NOTE: Don't install the OTA update or you won't be able to do this!

Step 1: Get SuperCID

Full instructions can be found here.

1. Download .apk from link above.

2. Run the app

3. Run the following Commands via ADB

adb reboot bootloader
(wait for phone to reboot into bootloader)
fastboot oem readcid

If you see 22222222 you're good to proceed. If you see anything else, reboot the phone and try again.

Step 2: Unlock via HTC Dev site

Go to the HTC Developer website and carefully follow the instructions. They're very straight forward.

When completed you'll have unlocked the bootloader. You'll see a new warning on the splash screen and the bootloader will say *tampered* at the top.​

Install Custom Recovery

You can choose either ClockworkMod (my preference) or TWRP recoveries.

1. Download the latest version of your preferred recovery. rename it "recovery.img"

2. Using ADB issue the following commands

adb reboot bootloader
(once the phone reboots into the bootloader)
fastboot flash recovery recovery.img
(once installation is complete)
fastboot reboot

Now you'll have a custom recovery, and can make a full nandroid backup (recommended!).

S-OFF

Full instructions can be found here. beaups did an excellent job writing this up so it would be pointless for me to reproduce here.

Root / Custom ROM

Choose any ROM you'd like. I prefer Team Venom's ViperDNA. I'll use that as the basis for the next steps.

1. Download the full ROM found in the second post in the above link to your phone.

2. Reboot into recovery

3. Select "install zip from sdcard" and choose the ROM .zip file mentioned above. Follow the instructions on screen.

Note: If you choose a different ROM make sure it either includes a kernel that supports system write or you have to install one first by doing the following. Also, if you have WiFi issues after flashing the ROM follow these steps to reinstall the kernel.

Installing the Kernel

1. Download a Kernel (such as dsb's Cubed Kernel)

2. Unzip the file and copy the modules.zip file to your phone.

3. Via ADB issue the following commands:

adb reboot bootloader
(once rebooted)
fastboot flash boot boot.img
(once complete)
fastboot reboot recovery

The phone will reboot into recovery, at which point you should flash the modules.zip​

ENG HBOOT

This is *Optional* and allows for additional ADB commands to be used.

1. Download the HBOOT-8064 file found here. (thanks to fnoji111 and Argumentation)

2. Via ADB issue the following commands:

adb reboot bootloader
(once rebooted)
fastboot oem rebootRUU
(once rebooted to the black HTC screen)
fastboot flash zip PL83IMG.zip
(once complete)
fastboot reboot

Mods

These are some mods I found to be essential.

Remove the Splash Screen disclaimer

Full instructions can be found here.

1. Go to the above link and download the RegawMOD tool (first post) AND the Droid DNA ENG Hboot plugin (2nd post).

2. Make sure the plugin is in the same folder as the tool.

3. Customize it how you'd like. I chose to replace the disclaimer with my own, that basically reads

4. When you're finished press "Create ZIP" and save the file.

5. Via ADB issue the following commands:

adb reboot bootloader
(once rebooted)
fastboot oem rebootRUU
(once rebooted to black HTC screen)
fastboot flash zip <YourZipName>.zip
(once complete)
fastboot reboot

Now you should have a fully unlocked S-OFF custom ROM, custom Kernel, HBOOT Droid DNA! I hope this helps!