iamrafic 85 Report post Posted March 15, 2015 (edited) 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: Micro USB cable Laptop/computer DFS Software - http://www.cdmatool.com/download Create an account in htcdev.com HTC Sync Manager-http://www.htc.com/us/software/htc-sync-manager/ Adb+Fastboot+Drivers=http://www.mediafire.com/download/qxntl2nbk62ycjx/adb-setup-1.4.2.exe TWRP image - http://techerrata.com/browse/twrp2/a11 SuperSU binary - http://download.chainfire.eu/641/SuperSU/UPDATE-SuperSU-v2.40.zip Attached APK files 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) 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=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. Congrats, we're done! com.viper.simunlockhelperfree.apk HtcOMADM_SPCS.apk SPCUtility.apk Edited March 16, 2015 by iamrafic 31 Share this post Link to post Share on other sites
::: VA ::: 531 Report post Posted March 16, 2015 I am sure your sincere efforts of compiling this guide from various sources is highly commendable and appreciated by many members. Keep it up 1 Share this post Link to post Share on other sites
sameer7186 41 Report post Posted March 16, 2015 Really nice job. Thanks any specific setting for REV. B? Share this post Link to post Share on other sites
kreyaz 0 Report post Posted March 16, 2015 Hey that was great, will help lots of newbie like me who are stuck with unlocked phones will the process help me in unlocking my note4 cdma sprint to be used in hyderabad on a cdma network, if not can any body help me Share this post Link to post Share on other sites
iamrafic 85 Report post Posted March 16, 2015 Really nice job. Thanks any specific setting for REV. B? There is no specific settings needed. You can simply pop in you new series Precut SIM (RECRUC) and it automatically catches REV.B network. See the speed test results...http://www.rimweb.in/forums/topic/37237-how-to-sprint-lg-tribute-ls660-omhevdowifi-hotspot/page-7#entry318514 Share this post Link to post Share on other sites
cooladitya007 41 Report post Posted March 17, 2015 good job cheers. Share this post Link to post Share on other sites
nabeelnavs 3 Report post Posted March 17, 2015 Thank for good tutorial If possible please upload direct download link for Boot.img Share this post Link to post Share on other sites
dr.faramroze 703 Report post Posted March 18, 2015 Stock boot.img is already uploaded on XDA and androidforums. It can be found in custom kernel threads. Sent from my Droid Turbo Share this post Link to post Share on other sites
nabeelnavs 3 Report post Posted March 18, 2015 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 ###### It's not success after start Please help Share this post Link to post Share on other sites
iamrafic 85 Report post Posted March 19, 2015 Can you explain? Share this post Link to post Share on other sites
CHEESEX147 4 Report post Posted March 20, 2015 Too good ya... Really appreciate your hard work... Thanks a lot... One thing more does this method only unlocks it for Reliance or for MTS/Tata also? Share this post Link to post Share on other sites
Anand Mehta 15 Report post Posted March 20, 2015 step 5 not working any other method pls Share this post Link to post Share on other sites
nabeelnavs 3 Report post Posted March 20, 2015 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 ###### Jab Start Ka button press Karr raha hoon tab mobile koi response nahi deraha hai Or nahi Mobile freez hora hai I have done all procedures successfully but stuck on step 5 Sim is not unlocking please help Sorry for bad English Share this post Link to post Share on other sites
sqechy 0 Report post Posted March 22, 2015 by accident i deleted HTCOMADM_SPCS.apk and HTCOMADM_SPCS.odex, what do i do? Share this post Link to post Share on other sites
Rickin Menger 6 Report post Posted March 23, 2015 sim unlock works just give permissions as read write execute all the squares to the new HTCOMADM_SPCS.apk and reboot every thing works. Share this post Link to post Share on other sites
Rickin Menger 6 Report post Posted March 24, 2015 but there is problem with play store we need to uninstall updates every time we open play store [df-dferh-01] just little rnd and found that this is related to usa phones used outside usa gives these problem.(main reason) i feel it can be fixed by a script writer or any dev who knows what to flash and what to flash will even try flashing gapps zip also devs trying it to work with gsm hope one day we get it. thanks to all developers and their hard work on xda, Share this post Link to post Share on other sites
dr.faramroze 703 Report post Posted March 25, 2015 Clear data from settings->apps->all->playstore Sent from my Droid Turbo Share this post Link to post Share on other sites
Kalaichelvi 14 Report post Posted March 25, 2015 A friend of mine is having a Sprint HTC Desire 510 (A11) .... Is this unlockable for OMH as stated by this procedure ? .. or its a different phone ? Share this post Link to post Share on other sites
sqechy 0 Report post Posted March 25, 2015 1- the Google play error existed before rooting 2- keeps coming back unless you have a working sim in 3- for USA I talked to a friend of mine who works for boost says can't be unlock to GSM unless ur in another country out of USA I might be wrong on all these but was the info I had thought to share Share this post Link to post Share on other sites
gpkumaran 21 Report post Posted March 25, 2015 A friend of mine is having a Sprint HTC Desire 510 (A11) .... Is this unlockable for OMH as stated by this procedure ? .. or its a different phone ? Its the same I think Share this post Link to post Share on other sites
iamrafic 85 Report post Posted March 26, 2015 A friend of mine is having a Sprint HTC Desire 510 (A11) .... Is this unlockable for OMH as stated by this procedure ? .. or its a different phone ? Yes, It is the same. The above mentioned procedure will work. Happy unlocking Share this post Link to post Share on other sites
Anand Mehta 15 Report post Posted March 26, 2015 data not working i hv done all procedure perfectly sim is detected and also connected to data but no pages will open on internet pls help Share this post Link to post Share on other sites
drmadhu 87 Report post Posted March 26, 2015 @anand try to change sim Share this post Link to post Share on other sites
Anand Mehta 15 Report post Posted March 27, 2015 thnks it worked but now is any one having front camera or selfie issue i hv 2 htc desire 510 and in both of them front camera does not works after unlocking Share this post Link to post Share on other sites
sos2020 0 Report post Posted March 27, 2015 This is working, but the phone not receives signals in gsm network, any solution? Share this post Link to post Share on other sites