Unlock The KDDI HTC J Butterfly Bootloader

The HTC J Butterfly was released months back in Japan by the Japanese carrier KDDI. It’s the world’s second smartphone to feature a 1080p display and comes with a 1.5 GHz Snapdragon S4 Pro Processor and 2 GB RAM. That shows how powerful the device is. Being powered by the open source Android 4.1 Jelly bean platform, the device is ready to be hacked and we’ll publish a series of tutorials to hack the HTC J Butterfly released by KDDI in Japan.

HTC J Butterfly

First up, we’ll tell you how to unlock the bootloader of this device. No wonder, all HTC Devices can be unlocked from HTCDev.com but you need to perform a few more tasks before you go to the website to unlock the device’s bootloader. You need to run some ADB commands. Let us see how.

[box_light]Please note that this process voids the warranty of your device. We recommend you to backup everything on your device using our backup guide. Please do not comment below blaming us for any loss of data. We are also not responsible for any bricked devices. You do this because you want to do it, not because we are telling you. Since this process requires communication between the device and PC, you need to have the necessary drivers installed.[/box_light]

To unlock the device, we need to get temporary root access, change the CID of the device and then head over to HTCDev.com to unlock it.

Steps to Unlock HTC J Butterfly

  1. Download goroh_kun’s root tools.
  2. To issue ADB and Fastboot commands, you need to have ADB files on your PC. Get them here.
  3. Go to Settings>Developer Options and enable USB Debugging.
  4. Extract the contents of goroh_kun’s root tools and put them in the same folder where you have the ADB files which you downloaded in Step 2.
  5. Open Command Prompt in the folder where you have both the root tools and adb files.
  6. Connect your device to PC via USB cable.
  7. In Command Prompt issue the following command:
    adb install diaggetroot.apk
  8. After this, issue the following commands:
    adb push getroot /data/local/tmp/getroot
    adb shell chmod 777 /data/local/tmp/getroot
  9. Pick up your phone and run the app called BreakSuidDiag and wait for the Hello World! message. When this appears, you must have gained temporary root access.
  10. You can now issue the following commands:
    adb shell
  11. You must get # in command prompt now. If you don’t get it, toggle WiFi ON/OFF and issue /dev/sh once again.
  12. This step will change the CID of your device. Once you see # in command prompt, issue the following command:
    echo -ne "11111111" | dd of=/dev/block/mmcblk0p5 bs=1 seek=20
  13. You need to boot your phone into bootloader mode. To do this, issue the command:
    reboot bootloader
  14. Your phone will reboot into bootloader mode after which you can issue the command:
    fastboot oem readcid
  15. This command should display the CID of your device which should be 11111111 because this is the CID we gave in Step 12. See the screenshot below for example:
    Unlock HTC Butterfly Bootloader

Your device is now ready to be unlocked from HTCDev.com If you face any issues, feel free to comment below.

The credit for this guide goes to SharpIS03 on XDA forums.

  • jabomz

    /dev/sh: not found the htc j butterfly rebbot?any help please???thanks

    and one thing i also do wifi toggle on off but it keeps getting to reboot..
    adb shell always a dollar sign..

    • bogdan laurentiu vasilache

      hi there, did u manage to get # or not, i have the same prob. keep getting the dollar sign, tnks!