首頁 > How to...? (video,manual) > HTC > Unlock CDMA HTC Desire 510 Sprint

Unlock CDMA HTC Desire 510 Sprint

Unlock CDMA HTC Desire 510 Sprint/Virgin/Boost
 
Unlock CDMA HTC Desire 510 Sprint/Virgin/Boost
STEP 1: Get SPC/MSL code 
Use file manager and open the SPC utility apk – read SPC. Enter DIAG mode ##3424#
 
Step 2: Unlocking the Bootloader
Go to URL - http://www.htcdev.com/ 
 
STEP 3: Flash write protection removed kernel
Donload http://www.mediafire.com/download/2yq87z9yetb371d/b.img
Now type: fastboot flash boot b.img
 
STEP 4: Installing TWRP
Now type: fastboot flash recovery openrecovery-twrp-2.8.5.0-a11.img
 
STEP 5: Rooting
 
Now type: adb push UPDATE-SuperSU-v2.40.zip /sdcard/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

DFS - Click on Programming tab and in the CONFIG Section a RUIM Config a Select RUIM_ONLY and click Write
 
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=0
ro.bt.tetheringUI=0
ro.usb.tetheringUI=0
To:
 
ro.wifi.hotspotUI=1
ro.bt.tetheringUI=1
ro.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)
 
<item type="boolean" name="tethering_guard_support">true</item>
<item type="integer" name="tethering_support_ipv6">0</item>
<item type="integer" name="TetheringGuard_Rule">3</item>

to:
 
<item type="boolean" name="tethering_guard_support">false</item>
<item type="integer" name="tethering_support_ipv6">1</item>
<item type="integer" name="TetheringGuard_Rule">0</item>
 
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.