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.
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
- Download goroh_kun’s root tools.
- To issue ADB and Fastboot commands, you need to have ADB files on your PC. Get them here.
- Go to Settings>Developer Options and enable USB Debugging.
- 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.
- Open Command Prompt in the folder where you have both the root tools and adb files.
- Connect your device to PC via USB cable.
- In Command Prompt issue the following command:
adb install diaggetroot.apk
- After this, issue the following commands:
adb push getroot /data/local/tmp/getroot adb shell chmod 777 /data/local/tmp/getroot
- 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.
- You can now issue the following commands:
adb shell /dev/sh
- You must get # in command prompt now. If you don’t get it, toggle WiFi ON/OFF and issue /dev/sh once again.
- 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
- You need to boot your phone into bootloader mode. To do this, issue the command:
- Your phone will reboot into bootloader mode after which you can issue the command:
fastboot oem readcid
- 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:
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.