Jump to content
Reliance Jio & Reliance Mobile Discussion Forums
iamrafic

[Tutorial] How to unlock HTC Desire 510 Sprint/Virgin/Boost

Recommended Posts

Post how did you get it work, helpful a lot

Share this post


Link to post
Share on other sites

Any one help for unlocking sharp aqous crystal (sprint)

Sent from my XT1080 using Tapatalk

Share this post


Link to post
Share on other sites

actually i just renamed the htcsetup.apk file to bak. and all errors gone.

Share this post


Link to post
Share on other sites

Guys,

Anybody facing issues with calls while roaming. My 510 works perfectly in home location but when moving to roaming location only data works. Unable to do outgoing calls nor able to receive incoming calls.

I did all the changes in roaming guard and mode to automatic.

What settings needs to be changes.

Sent from my 710C using Tapatalk

Share this post


Link to post
Share on other sites

Guys,

Anybody facing issues with calls while roaming. My 510 works perfectly in home location but when moving to roaming location only data works. Unable to do outgoing calls nor able to receive incoming calls.

I did all the changes in roaming guard and mode to automatic.

What settings needs to be changes.

Sent from my 710C using Tapatalk

I didn't even check any settings for roaming. Every thing is working as usual as in home location.

Share this post


Link to post
Share on other sites

Guys,

Anybody facing issues with calls while roaming. My 510 works perfectly in home location but when moving to roaming location only data works. Unable to do outgoing calls nor able to receive incoming calls.

I did all the changes in roaming guard and mode to automatic.

What settings needs to be changes.

Sent from my 710C using Tapatalk

I didn't even check any settings for roaming. Every thing is working as usual as in home location.

Ok, so i suspect something needs to be changed at network side. The sim i am using is ported from BSNL to reliance. Raised a complaint at CC. Lets see.

Share this post


Link to post
Share on other sites

i cant rename the files in step 5

Share this post


Link to post
Share on other sites

i cant rename the files in step 5

Are you using the recommended root explorer and did you grant the necessary SuperSU permission to it?
  • Like 1

Share this post


Link to post
Share on other sites

hello all HTC desire 510 user i just bought and unlock it for CDMA ....sim work fine and just insert a GSM sim in it.... its show sim sms and contact and sim toolkit in menu like as show CDMA sim so i thing GSM radio need .... any buddy have a gsm RADIO IMG for 510 like cricket and another gsm 510 thanks

Share this post


Link to post
Share on other sites

Hi All,

I have compiled all the necessary steps from various internet forums to help our forum members . All credit goes to XDA forum members dip_spit, wolfaas12345, pattyboi:), nikme,Elithefly and our forum members.

Originally Posted by Rusty! >#include <std_disclaimer.h>/** Your warranty is now void.** I am not responsible for bricked devices, dead SD cards,* thermonuclear war, or you getting fired because the alarm app failed.* YOU are choosing to make these modifications, and if* you point the finger at me for messing up your device, I will laugh at you.*/ 

>>> Unlocking Bootloader will overwrite any data stored on your device, backup your files before proceeding <<<

Prerequisites:

STEP 1: Get SPC/MSL code


  • · Copy the downloaded SPC Utility to your mobile phone
    · Use file manager and open the SPC utility apk – read SPC
    · Make a note of it or Remember J
    · Now type ##3424#
    · Select 1. DM On
    · Enter the SPC Code –OK – Your Mobile is now moved into Diagnostics mode

Step 2: Unlocking the Bootloader

  • Power down the device
  • Remove the battery for few seconds and then re-insert the battery
  • press Volume Down and while pressing Volume Down, press Power holding both buttons to start the device into Bootloader mode. This will boot you into hboot
  • Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
  • Connect the device to your computer using the USB cable
  • Wait for the drivers to get installed
  • Then navigate to C:\adb
  • In adb folder while holding shift right click on empty space and select open command window here
  • Open cmd and ensure that your device is recognized by typing: fastboot devices
  • You should get something similar to the following: FA4AJxxxxxxx fastboot
  • Now type, fastboot oem get_identifier_token , this is your token you'll need for HTCdev – Copy the token starting at the top <<<< and ending at the bottom >>>>> (refer image)
  • 2wp2mpx.jpg
  • Go to URL - http://www.htcdev.com/ and select unlock bootloader à Get Started
  • In supported devices drop down select HTC Desire * à Begin Unlock Bootloader à Yes to continue
  • Scroll Down to the bottom of the page and select Proceed to Step 5
  • Paste the copied token in the “My Device Identifier Token” box in the bottom of the screen and click submit
  • Go to the email address you used to register with HTCdev and there will be an email with an attachment named Unlock_code.bin, download the attachment
  • In cmd, cd to the folder you've downloaded Unlock_code.bin to
  • Now type, fastboot flash unlocktoken Unlock_code.bin
  • As I said above, this will erase everything on your phone (pictures, sms, videos, apps, etc) and restore it to stock, so I hope you made backups
  • Your device will now have a screen that asks if you want to unlock the bootloader, use the volume rocker to select and the power button to enter
  • Once it's done your phone will reboot, power back down (or remove the battery and reinsert) and boot to hboot, your device should now say **** UNLOCKED **** at the top
  • Disconnect the mobile and reboot

STEP 3: Flash write protection removed kernel

  • Download the latest kernel image from the link http://forum.xda-developers.com/desire-510/development/kernel-rhinstone-a11-t3013989 and paste in in your adb folder and rename the image file to simple name like b.img
  • Power down the device
  • Remove the battery for few seconds and then re-insert the battery
  • press Volume Down and while pressing Volume Down, press Power holding both buttons to start the device into Bootloader mode. This will boot you into hboot
  • Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
  • Connect the device to your computer using the USB cable
  • Then navigate to C:\adb
  • In adb folder while holding shift right click on empty space and select open command window here
  • Flash the kernel with fastboot flash boot b.img
  • Press enter and then reboot

STEP 4: Installing TWRP

  • If your device is connected, disconnect it
  • Power down the device (if you're still in TWRP from making a backup, back out to the main menu and tap Reboot, then tap Power Off)
  • Hold the down volume and power buttons at the same time to boot into hboot
  • Using the volume rocker select FASTBOOT and press the power button
  • Connect the device to your computer
  • If you closed cmd, reopen it and cd to the folder that you downloaded openrecovery-twrp-2.8.5.0-a11.img
  • Now type: fastboot flash recovery openrecovery-twrp-2.8.5.0-a11.img
  • Let it do it's thing and now you have TWRP installed on your device

STEP 5: Rooting


  • Power down your device if it is booted (or by taking the battery out and reinserting it)
  • Hold the down volume and power buttons at the same time to boot into hboot
  • Using the volume rocker select RECOVERY and press the power button
  • This will boot you into TWRP
  • Open cmd and cd to the folder that you downloaded UPDATE-SuperSU-v2.40.zip
  • Now type: adb push UPDATE-SuperSU-v2.40.zip /sdcard/UPDATE-SuperSU-v2.40.zip
  • In TWRP tap install and in the file browser tap sdcard and then tap UPDATE-SuperSU-v2.40.zip
  • Flash UPDATE-SuperSU-v2.40.zip

STEP 5: SIM Unlock

  • Install Root Explorer from Play Store and SIM Unlock Helper apk from the attachment
  • Use root explorer and rename HTCOMADM_SPCS.apk and HTCOMADM_SPCS.odex to something else (like HTCOMADM_SPCS2.apk and HTCOMADM_SPCS.2odex) from /system/app Directory now copy the HTCOMADM_SPCS.apk attached in this post make sure you have set the permission rw-r-r and reboot.
  • Open htc on sim unlock helper on your phone it will say htc one device check fail now click the 3 menu dot and click on display sim unlock log then hit the back button it should say Device Verified, now hit start and scroll down to simlock it will freeze for few seconds and then press back button it should be successful reboot
  • Delete the modified HTCOMADM_SPCS.apk and rename the original HTCOMADM_SPCS.apk and HTCOMADM_SPCS.odex to original state which we renamed in previous steps to avoid vdm client stopped error.

STEP 6: Make it RUIM Only

· Connect your phone

· Open DFS software on your computer

· Click on Ports – Select your HTC diagnostics port

· Enter the SPC you obtained using SPC utility and then click the blue icon, now the log will show DEVICE UNLOCKED

· Click on Programming tab and in the CONFIG Section à RUIM Config à Select RUIM_ONLY and click Write

· Then click Reset on the top right hand corner to reboot your mobile

· Now you can pop in your CDMA SIM J

STEP 7 : Enable WIFI HOTSOPOT and Bluetooth Tethering

You have to edit /system/build.prop to change these lines: (if you can edit with an editor that shows line #'s they're lines 26,27,28)

ro.wifi.hotspotUI=0ro.bt.tetheringUI=0ro.usb.tetheringUI=0

To:

ro.wifi.hotspotUI=1ro.bt.tetheringUI=1ro.usb.tetheringUI=1

SAVE.

Then edit /system/customize/ACC/default.xml

change these lines: (if you can edit with an editor that shows line #'s they're lines 191,194,867)

&lt;item type="boolean" name="tethering_guard_support"&gt;true&lt;/item&gt;&lt;item type="integer" name="tethering_support_ipv6"&gt;0&lt;/item&gt;&lt;item type="integer" name="TetheringGuard_Rule"&gt;3&lt;/item&gt;

to:

&lt;item type="boolean" name="tethering_guard_support"&gt;false&lt;/item&gt;&lt;item type="integer" name="tethering_support_ipv6"&gt;1&lt;/item&gt;&lt;item type="integer" name="TetheringGuard_Rule"&gt;0&lt;/item&gt;

STEP 8 : Disable Hands Free Activation

Try renaming HtcOMADM_SPCS.apk Which is located at /system/app/ to HtcOMADM_SPCSOLD.apk. But doing this you may get vdm client stopped error.

:clap:Congrats, we're done! :clap1:

hi, i am totally new to this stuff. i have a question. in first step you said now type ##3424#. where do i type it?

hi, sory for my previous comment. figured out after i start doing it. but now i am stuck at step 5. you said install root explorer from play store. but after step 4 when i restart my phone it started as a brand new phone and trying to setup for first time. on the screen it shows that "HANDS FREE ACTIVATION ... CONNECTING NETWORK." so i cant reach play store to install root explorer. i am sure i did first 4 steps and everything went well. either i am doing something wrong at step 5 or i have done something in last 4 steps. can you help me pleas?

Hi All,

I have compiled all the necessary steps from various internet forums to help our forum members . All credit goes to XDA forum members dip_spit, wolfaas12345, pattyboi:), nikme,Elithefly and our forum members.

Originally Posted by Rusty! &gt;#include &lt;std_disclaimer.h&gt;/** Your warranty is now void.** I am not responsible for bricked devices, dead SD cards,* thermonuclear war, or you getting fired because the alarm app failed.* YOU are choosing to make these modifications, and if* you point the finger at me for messing up your device, I will laugh at you.*/ 

>>> Unlocking Bootloader will overwrite any data stored on your device, backup your files before proceeding <<<

Prerequisites:

STEP 1: Get SPC/MSL code


  • · Copy the downloaded SPC Utility to your mobile phone
    · Use file manager and open the SPC utility apk – read SPC
    · Make a note of it or Remember J
    · Now type ##3424#
    · Select 1. DM On
    · Enter the SPC Code –OK – Your Mobile is now moved into Diagnostics mode

Step 2: Unlocking the Bootloader

  • Power down the device
  • Remove the battery for few seconds and then re-insert the battery
  • press Volume Down and while pressing Volume Down, press Power holding both buttons to start the device into Bootloader mode. This will boot you into hboot
  • Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
  • Connect the device to your computer using the USB cable
  • Wait for the drivers to get installed
  • Then navigate to C:\adb
  • In adb folder while holding shift right click on empty space and select open command window here
  • Open cmd and ensure that your device is recognized by typing: fastboot devices
  • You should get something similar to the following: FA4AJxxxxxxx fastboot
  • Now type, fastboot oem get_identifier_token , this is your token you'll need for HTCdev – Copy the token starting at the top <<<< and ending at the bottom >>>>> (refer image)
  • 2wp2mpx.jpg
  • Go to URL - http://www.htcdev.com/ and select unlock bootloader à Get Started
  • In supported devices drop down select HTC Desire * à Begin Unlock Bootloader à Yes to continue
  • Scroll Down to the bottom of the page and select Proceed to Step 5
  • Paste the copied token in the “My Device Identifier Token” box in the bottom of the screen and click submit
  • Go to the email address you used to register with HTCdev and there will be an email with an attachment named Unlock_code.bin, download the attachment
  • In cmd, cd to the folder you've downloaded Unlock_code.bin to
  • Now type, fastboot flash unlocktoken Unlock_code.bin
  • As I said above, this will erase everything on your phone (pictures, sms, videos, apps, etc) and restore it to stock, so I hope you made backups
  • Your device will now have a screen that asks if you want to unlock the bootloader, use the volume rocker to select and the power button to enter
  • Once it's done your phone will reboot, power back down (or remove the battery and reinsert) and boot to hboot, your device should now say **** UNLOCKED **** at the top
  • Disconnect the mobile and reboot

STEP 3: Flash write protection removed kernel

  • Download the latest kernel image from the link http://forum.xda-developers.com/desire-510/development/kernel-rhinstone-a11-t3013989 and paste in in your adb folder and rename the image file to simple name like b.img
  • Power down the device
  • Remove the battery for few seconds and then re-insert the battery
  • press Volume Down and while pressing Volume Down, press Power holding both buttons to start the device into Bootloader mode. This will boot you into hboot
  • Use the Volume buttons to select up or down. Highlight Fastboot and press the Power button.
  • Connect the device to your computer using the USB cable
  • Then navigate to C:\adb
  • In adb folder while holding shift right click on empty space and select open command window here
  • Flash the kernel with fastboot flash boot b.img
  • Press enter and then reboot

STEP 4: Installing TWRP

  • If your device is connected, disconnect it
  • Power down the device (if you're still in TWRP from making a backup, back out to the main menu and tap Reboot, then tap Power Off)
  • Hold the down volume and power buttons at the same time to boot into hboot
  • Using the volume rocker select FASTBOOT and press the power button
  • Connect the device to your computer
  • If you closed cmd, reopen it and cd to the folder that you downloaded openrecovery-twrp-2.8.5.0-a11.img
  • Now type: fastboot flash recovery openrecovery-twrp-2.8.5.0-a11.img
  • Let it do it's thing and now you have TWRP installed on your device

STEP 5: Rooting


  • Power down your device if it is booted (or by taking the battery out and reinserting it)
  • Hold the down volume and power buttons at the same time to boot into hboot
  • Using the volume rocker select RECOVERY and press the power button
  • This will boot you into TWRP
  • Open cmd and cd to the folder that you downloaded UPDATE-SuperSU-v2.40.zip
  • Now type: adb push UPDATE-SuperSU-v2.40.zip /sdcard/UPDATE-SuperSU-v2.40.zip
  • In TWRP tap install and in the file browser tap sdcard and then tap UPDATE-SuperSU-v2.40.zip
  • Flash UPDATE-SuperSU-v2.40.zip

STEP 5: SIM Unlock

  • Install Root Explorer from Play Store and SIM Unlock Helper apk from the attachment
  • Use root explorer and rename HTCOMADM_SPCS.apk and HTCOMADM_SPCS.odex to something else (like HTCOMADM_SPCS2.apk and HTCOMADM_SPCS.2odex) from /system/app Directory now copy the HTCOMADM_SPCS.apk attached in this post make sure you have set the permission rw-r-r and reboot.
  • Open htc on sim unlock helper on your phone it will say htc one device check fail now click the 3 menu dot and click on display sim unlock log then hit the back button it should say Device Verified, now hit start and scroll down to simlock it will freeze for few seconds and then press back button it should be successful reboot
  • Delete the modified HTCOMADM_SPCS.apk and rename the original HTCOMADM_SPCS.apk and HTCOMADM_SPCS.odex to original state which we renamed in previous steps to avoid vdm client stopped error.

STEP 6: Make it RUIM Only

· Connect your phone

· Open DFS software on your computer

· Click on Ports – Select your HTC diagnostics port

· Enter the SPC you obtained using SPC utility and then click the blue icon, now the log will show DEVICE UNLOCKED

· Click on Programming tab and in the CONFIG Section à RUIM Config à Select RUIM_ONLY and click Write

· Then click Reset on the top right hand corner to reboot your mobile

· Now you can pop in your CDMA SIM J

STEP 7 : Enable WIFI HOTSOPOT and Bluetooth Tethering

You have to edit /system/build.prop to change these lines: (if you can edit with an editor that shows line #'s they're lines 26,27,28)

ro.wifi.hotspotUI=0ro.bt.tetheringUI=0ro.usb.tetheringUI=0

To:

ro.wifi.hotspotUI=1ro.bt.tetheringUI=1ro.usb.tetheringUI=1

SAVE.

Then edit /system/customize/ACC/default.xml

change these lines: (if you can edit with an editor that shows line #'s they're lines 191,194,867)

&lt;item type="boolean" name="tethering_guard_support"&gt;true&lt;/item&gt;&lt;item type="integer" name="tethering_support_ipv6"&gt;0&lt;/item&gt;&lt;item type="integer" name="TetheringGuard_Rule"&gt;3&lt;/item&gt;

to:

&lt;item type="boolean" name="tethering_guard_support"&gt;false&lt;/item&gt;&lt;item type="integer" name="tethering_support_ipv6"&gt;1&lt;/item&gt;&lt;item type="integer" name="TetheringGuard_Rule"&gt;0&lt;/item&gt;

STEP 8 : Disable Hands Free Activation

Try renaming HtcOMADM_SPCS.apk Which is located at /system/app/ to HtcOMADM_SPCSOLD.apk. But doing this you may get vdm client stopped error.

:clap:Congrats, we're done! :clap1:

also now when i start my phone it goes to HTC logo screen in the bottom it says in red font that this development purpose only bla bla bla. and phone gets stuck there i cant even power it down i have to take the battery out to turn it off. i dont know whats going on i never done anything like this before. but i did follow all the directions as you posted. i am not blaming you for it i am responsible for what ever is happening . but if you can help me fixing these issues i am having i'll sure appriciate it. thanks

Share this post


Link to post
Share on other sites

Hi All,

For the past few days with the help of the unlock procedure i am able to use Reliance CDMA sim with out having any issue in my HTC desire 510.

Yesterday got a system update - 1.48.652.2 (60.66MB).

update causes phone to reboot in the TWRP recovery mode and does not update. How to fix it?

Share this post


Link to post
Share on other sites

I am stuck on step 5 after pushing update SuperSU I can't locate the zip on sd card or phone memory. So unable to root the phone. My bootloader says "tempered unlocked" what to do next pl guide.

Sent from my Motorola Moto E 2015 using Tapatalk

Share this post


Link to post
Share on other sites

here is my question. i was doing this process step by step. after step 5 i dont know what i did but my phone got messed up. when i turn on the phone it goes to htc screen and in the bottom it says this is for development only bla bla bla. but my phone is not going any further. so i decided to redo everything and start again. so i download RUU but RUU is not restoring my phone after 3% it says error 155, pleas download correct RUU. i contact HTC they told me that i have downloaded the correct RUU. i have wiped whole phone in recovery mode. i have formated memory card as well. and then i have tried to redo everything from step 1. but nothing is working my problem is still there at HTC screen. any idea what went wrong and what can be done?

Share this post


Link to post
Share on other sites

before flashing ruu boot loader should be locked.

Share this post


Link to post
Share on other sites

here is my question. i was doing this process step by step. after step 5 i dont know what i did but my phone got messed up. when i turn on the phone it goes to htc screen and in the bottom it says this is for development only bla bla bla. but my phone is not going any further. so i decided to redo everything and start again. so i download RUU but RUU is not restoring my phone after 3% it says error 155, pleas download correct RUU. i contact HTC they told me that i have downloaded the correct RUU. i have wiped whole phone in recovery mode. i have formated memory card as well. and then i have tried to redo everything from step 1. but nothing is working my problem is still there at HTC screen. any idea what went wrong and what can be done?

You need to perform below steps to install RUU.

Flash the stock recovery through fastboot with the command "fastboot flash recovery StockRecovery.img"

After that, lock your bootloader with the command "fastboot oem lock"

Then run the RUU.

Sent from my One M8 using Tapatalk

Share this post


Link to post
Share on other sites

hi I did all steps but the phone settings doesn't show to change from cdma to gsm

Share this post


Link to post
Share on other sites

hi I did all steps but the phone settings doesn't show to change from cdma to gsm

Only the Elder Wand could do that for you. Sorry jokes apart, what you are wishing is not possible by these steps.

Sent from my XT1080 using Tapatalk

Share this post


Link to post
Share on other sites

I am not able to download twrp img file from techretta.. It is downloading upto 99.99% and then stops.. I tried it several times.. any help gys?

Download on Mobile. Sometimes it happens with PC browsers for TWRP

Share this post


Link to post
Share on other sites

thanks Rafic, Babajee. Vahid.

finally got working call update data etc later

Share this post


Link to post
Share on other sites

thanks Rafic, Babajee. Vahid.

finally got working call update data etc later

Share the method how u got it working.

Sent from my Motorola Droid Turbo using Tapatalk 2

Share this post


Link to post
Share on other sites

Method is same as posted by rafic

use below link for kernel to flash in it

http://forum.xda-developers.com/desire-510/development/sprint-virgin-mobile-stock-desire-510-t2958969

most important is read care fully simunlocker instructions

If you retrying second or more time than let HTCOMADM_SPCS.apk and HTCOMADM_SPCS.odex back to there original state and delete modified HTCOMADM_SPCS.apk which is manually kept by you @ /system/app than start from STEP 3: Flash write protection removed kernel

After u get Success in sim unlock you can flash kernel and wifi patch given in original post

Edited by atishj

Share this post


Link to post
Share on other sites

i am facing weird issue, if my mobile is in idle mode for around 2 hours it automatically turn off even if battery is fully charged but if i use mobile every hours or just unlocked the display every hour mobile working fine i dont know why this happening any clue??

Share this post


Link to post
Share on other sites

i am facing weird issue, if my mobile is in idle mode for around 2 hours it automatically turn off even if battery is fully charged but if i use mobile every hours or just unlocked the display every hour mobile working fine i dont know why this happening any clue??

I also in doubt for same issue in my mobile

Share this post


Link to post
Share on other sites

Same as above 2. Happens also while charging. Phone gets switched off and stops charging

Sent from my Motorola Droid Turbo using Tapatalk 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×