Team Infernal FakeCid AUTOMATIC bootloader unlock
First of all i want to thank captainrewind without his help and his device this wouldnt be possible, i didnt even own the device myself im just planning to buy it and with him offering himself to test everything, well we combined knowledges and made it all you need to do is simple:
Anyone wanting to know how this Started read http://forum.xda-developers.com/show....php?t=1984936
mdmower experienced issues with ril(calls and else) and contacts not syncing so i worked with him and we discovered supercid is responsable for this so the only thing you got to do is reverse cid(thats option number 3 on script) and you are ready to go, no need to relock bootloader!!, they are 2 versions of script one with recovery one without its your choice, the recovery one is pretty big 8mb and without only a few kbytes, screenshots below
the one with recovery
The one without recovery
Also please note as mdmower said Special Note: If you run the script multiple times, be sure to remove mmcblk0p4 and mmcblk0p4.backup from the directory each time. I purposely leave these in case you want to make a backup. mmcblk0p4 corresponds to SuperCID and mmcblk0p4.backup corresponds to VZW__001.
The script is attached below, script unlocks bootloader and installs a recovery for you, not root but you can find intructions on next post
Originally Posted by mdmower
I have another script update. The temproot method is no longer used to change the cid after you're unlocked
. Those procedures now assume you have superuser installed (root) and are much faster and more reliable.
My package still does not include a recovery image to reduce the size of the download, but I have included a menu option to install recovery - you simply need to download either CWM or TWRP and put recovery.img in the same directory as the script.
If you run the script multiple times, be sure to remove mmcblk0p4 and mmcblk0p4.backup from the directory each time. I purposely leave these in case you want to make a backup. mmcblk0p4 corresponds to SuperCID and mmcblk0p4.backup corresponds to VZW__001.
Bin4ry for temproot method
Grankin01 for the cid base
mdmower for correcting script
Superdave for discovering temp root(forgot to mention before sorry)
The manual way!!!!
DO AN ADB BACKUP BEFORE STARTING AS THIS WILL RESTORE TO FACTORY DEFAULTS!
EVERYTIME WE SAY TYPE IT MEANS TYPING THE CODE AND PRESSING ENTER
SOME USERS ARE HAVING ISSUES TEMPROOTING. IF SO PLEASE DO FACTORY RESET AND/OR REINSTALL THE RUU BEFORE STARTING. Also, verify you are NOT using a USB 3.0 port by looking at the inside of the port itself on your computer. If it's blue, it's USB 3.0 and you need to use a different port.
•A hex editor
•Android sdk(fastboot and adb at least)
•Recommended 50% battery or more and usb debugging on
•Be updated to the latest ruu with sense 4.1 (version 2.17.605.2)
Quick how-to temproot (written by captainrewind)
Read here for some detail (FOR REFERENCE ONLY, all instructions are below): http://forum.xda-developers.com/show....php?t=1886460
Download the file http://ul.to/h44f6vni
So lets start:
First, if you haven't already, download and install the HTC drivers
On your phone, go to Settings -> Developer options, and enable USB debugging.
Next, go to Settings -> Connect to PC and change Default connection type to Disk drive and disable Ask me.
Plug your phone into the computer, and wait until it pops up asking what you want to do with the newly plugged in phone.
Close the pop ups and go press the Start button and type "cmd". It should pop up with "cmd.exe". Right click on it and click Run as Administrator.
Download this file
with the fake backup in it.
Once downloaded, unzip it to C:\Root.
Navigate to the folder in the command Prompt by typing
Now that you're there, type:
If your phone pops up in the list, you're good to go!
adb restore fakebackup.ab
DO NOT click OK to the restore on the device just yet!
adb shell "while ! ln -s /data/local.prop /data/data/com.android.settings/a/file99; do :; done"
(errors will appear, ignore)
Accept the restore on the device, then type:
(At this time, you are temprooted, and the phone UI will be in an unusable state, with temproot shell.)
After reboot type:
Verify that the prompt is "#" (meaning root) or "$" (meaning normal user). If it's not "#", please start over.
At this point, you can optionally do this ONLY if you want to revert changes
if everything went right proceed to second part
2nd part(written by me)
dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4
Close cmd and start a new one then type
adb pull /sdcard/mmcblk0p4
Open the file (mmcblk0p4) with your hex editor.
Look for offset 00000210 and you should see VZW__001 with your imei on the right
Change VZW__001 to 11111111 and save the file as mmcblk0p4MOD
Now go back to your command prompt and type
adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD
If suceeded close the window and start a new one and type "adb reboot bootloader" then "fastboot oem readcid" and that should show you 11111111
dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4
Now, go to htcdev.com website, sign up, login, and select the "Unlock Bootloader" option from their site and follow the instructions, selecting other supported devices from their dropdown menu.
If you experience issues with com.android.phone crashing when placing/receiving calls or your contacts refuse to sync, you may need to change your cid back to its origintal state (VZW__001). This is proceure 3 in the script and will not affect your unlock or data (perform a backup just in case though!).
After that you can install a recovery or root the rom following captainrewind post below
Mytouch 3g(32b) > Desire z(backup) > Vivid > Incredible lte(developing for it)