September 22, 2017

Android SDK not recognizing debug-able HTC one V device

My HTC one V was not detecting in the Ubuntu 12.04  while connected through USB cable for application development and debugging.

1) First connect the mobile(HTC one V ) to the USB of the PC
2) Check using command lsusb , below one print will come
Bus 002 Device 011: ID 0bb4:0ce5 High Tech Computer Corp. 
3) Add the below lines to the end of the file/etc/udev/rules.d/51-android.rules

## Rule for an HTC One V Android Phone

SUBSYSTEMS==”usb”, ATTRS{idVendor}==”0bb4″, ATTRS{idProduct}==”0ce5″, MODE=”0666″

SUBSYSTEMS==”usb”, SYSFS{product}==”Android Phone”, MODE=”0666″

4) After this reinsert the device , you should be able to see the below print while typing adb devices

$ root@dino-Satellite-C665:~# adb devices
List of devices attached
SH258TV06083 device

 

Happy Application Development and Debugging :) :) :)

Unlocking HTC One V bootloader

Read this before doing !!!

  • Read and understand the whole instruction
  • The instructions in this guide are intended for use with the HTC One V. Applying these instructions on another device or model may produce undesired outcomes.
  • Use these instructions at your own risk. Understand the instruction first before actually executing

Things to do before starting

  • Download HTC Sync to your computer. You will be needing this to install the USB drivers for HTC One V on the computer.
  • Download the Fastboot package here (Fastboot.zip, 404.46 kB).
  • WinRAR or 7-Zip installed on your computer.
  • Charge your phone’s battery to 70% or more.
  • Backup all personal data on your phone to make sure you have a copy of your personal data (e.g., contacts, SMS, MMS, Internet settings, Wi-Fi passwords, and the like) in case the procedure in this guide erases such data.

Instructions

  1. Download HTC Sync from the link above and install it on your computer. This will be needed to install the USB drivers for HTC One V.
  2. Download the Fastboot package from the link provided above.
  3. Extract Fastboot.zip to a folder on your computer.
  4. Go to HTC Development page and make an account. Use your account to log into the site.
  5. Go to HTC’s Unlock Bootloader page.
  6. Go to the list of supported devices and select All Other Supported Models.
  7. Click Begin Unlock Bootloader and select Yes when a warning message appears. On the next page, you will see on-screen instructions on how to unlock your HTC One V’s bootloader. You can use this as your guide.
  8. Switch off your HTC One V.
  9. Press the Volume Down key and Power button simultaneously to reboot your phone into Bootloader Mode.
    • NOTE: Once in Bootloader Mode, you will be using the Volume keys to navigate and the Power button to select an option.
  10. Select Fastboot from the Bootloader menu.
  11. Using your USB cable, connect your HTC One V to the computer.
  12. Open a command prompt window on the computer. Navigate it to where the Fastboot program is located.
    • NOTE: For Windows 7 users, you can easily navigate a command prompt from a specific folder. Open the desired folder. Press the Shift and right mouse button in any vacant portion in the folder. A menu will appear. Select Open Command Window here and a command prompt will appear with the location of the selected folder.
  13. To make sure that your HTC One V has successfully connected to the computer, type the command fastboot devices. Your phone’s serial number will be displayed on the screen.
  14. Type the command fastboot oem get_identifier_token. The command prompt will display your HTC One V’s Token ID.
  15. Copy the Token ID. When copying the Token ID, start from the line <<<< Identifier Token Start >>>> and end at the line <<<<< Identifier Token End >>>>>.
    • NOTE: To copy the Token ID from the command prompt window, right-click on the command prompt window. A menu will appear. Select Mark and highlight the Token ID. After highlighting your Token ID, click the right mouse button to copy it.
  16. Go back to HTC Development page and submit your Token ID. You will receive a file Unlock.code.bin via your email. Further instructions will also be attached to the email. You may use this as your guide.
  17. Download the Unlock.code.bin and paste it into the Fastboot package folder.
  18. Go back to the command prompt window and type the command  fastboot flash unlocktoken Unlock_code.bin then hit the Enter key.
  19. Your HTC One V will receive an Unlock Bootloader request. Use the Volume keys to select Yes and tap the Power button to confirm your action.
  20. Your HTC One V will automatically reboot and perform a factory reset.
  21. To confirm that your phone’s bootloader has been unlocked, reboot your phone into Bootloader Mode. The word UNLOCKED will be displayed on top of the menu.

That’s all,  you are done.  Now enjoy your mobile with unlocked bootloader and do what ever you want.