Post Reply

Team Infernal FakeCid AUTOMATIC bootloader unlock

11th November 2012, 11:09 PM   |  #1  
OP Senior Member
Flag heredia
Thanks Meter: 643
 
793 posts
Join Date:Joined: Jan 2012
Donate to Me
More
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
mdmower said
Quote:
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.



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.

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

THANKS:
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.

Requirements:
•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
Code:
cd c:\Root\stuff
Now that you're there, type:
Code:
adb devices
If your phone pops up in the list, you're good to go!
Next, type
Code:
adb restore fakebackup.ab
DO NOT click OK to the restore on the device just yet!
Now type:
Code:
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:
Code:
adb reboot
(At this time, you are temprooted, and the phone UI will be in an unusable state, with temproot shell.)
After reboot type:
Code:
adb shell
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:
Code:
rm /data/local.prop
exit
adb reboot
if everything went right proceed to second part

2nd part(written by me)
Obtaining supercid

type
Code:
dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4
Close cmd and start a new one then type
Code:
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
Code:
adb push mmcblk0p4MOD /sdcard/mmcblk0p4MOD
Type
Code:
adb shell
Type
Code:
dd if=/sdcard/mmcblk0p4MOD of=/dev/block/mmcblk0p4
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

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.

bugs:
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
Attached Thumbnails
Click image for larger version

Name:	Sin título.jpg
Views:	27878
Size:	51.2 KB
ID:	1513271   Click image for larger version

Name:	infernal logo.png
Views:	293
Size:	45.0 KB
ID:	1935554  
Attached Files
File Type: rar inc4gunlock 3.5.rar - [Click for QR Code] (7.54 MB, 3274 views)
Last edited by jose51197; 4th May 2013 at 07:24 PM.
The Following 70 Users Say Thank You to jose51197 For This Useful Post: [ View ]
11th November 2012, 11:09 PM   |  #2  
CaptainRewind's Avatar
Senior Member
Flag Denver, CO
Thanks Meter: 143
 
122 posts
Join Date:Joined: Oct 2009
Donate to Me
More
Honorable mention goes to superdave for discovering the temproot method by Bin4ry works after the latest RUU.

This is no joke people and it shows what a lot of support from those who came before us, a little persistence to try a combination of things, and collaboration can accomplish.
I made a new friend today as well. NOW BRING ON THE CUSTOM ROMS!



I've now successfully flashed TWRP and SU binary and Superuser.apk. Here's how:

CM Recovery:
See this thread for details on the CWM Recovery.

TWRP:
THANKS TO ANDYBONES FOR THE UPDATED TWRP LINKS AND INSTRUCTIONS!

TWRP Download:
http://dl.dropbox.com/u/26383143/HTC...2_recovery.img

TWRP Instructions:
Code:
adb reboot bootloader
Once in the bootloader:
Code:
fastboot flash recovery TWRP2.2_recovery.img
Code:
fastboot reboot
Once TWRP is flashed:
Download the Superuser apk and binaries from here:
http://androidsu.com/superuser/

Then, push them to your EXTERNAL SD:
Code:
adb push "Superuser-3.1.3-arm-signed.zip" /sdcard/ext_sd
Then, reboot into recovery:
Code:
adb reboot recovery
From the TWRP Recovery, use the "Install" feature to select and install the zip.

Reboot

YOU ARE NOW ROOTED!
Last edited by CaptainRewind; 29th November 2012 at 06:31 PM.
The Following 50 Users Say Thank You to CaptainRewind For This Useful Post: [ View ]
11th November 2012, 11:10 PM   |  #3  
Linch89's Avatar
Senior Member
Flag Jacksonville
Thanks Meter: 304
 
1,743 posts
Join Date:Joined: Jul 2011
More
bad ass guys!! i knew somneone out in xda land could figure it out!!
11th November 2012, 11:11 PM   |  #4  
brycekerr's Avatar
Senior Member
Flag Dayton
Thanks Meter: 136
 
466 posts
Join Date:Joined: Aug 2010
I flipping love you guys
So why don't we have cm10 yet?
Sent from my ADR6410LVW using Xparent Blue Tapatalk 2
Last edited by brycekerr; 11th November 2012 at 11:23 PM.
11th November 2012, 11:14 PM   |  #5  
andybones's Avatar
Recognized Contributor
Flag Upstate NY
Thanks Meter: 9,105
 
9,426 posts
Join Date:Joined: May 2010
Donate to Me
More
now this is f***ing awesome!!
great job guys!
Last edited by andybones; 11th November 2012 at 11:21 PM.
11th November 2012, 11:23 PM   |  #6  
Senior Member
Flag Gloucester
Thanks Meter: 249
 
784 posts
Join Date:Joined: Mar 2012
More
http://www.youtube.com/watch?v=VLnWf1sQkjY&sns=em
Sent from my Nexus 7 using Tapatalk 2
12th November 2012, 12:04 AM   |  #7  
Linch89's Avatar
Senior Member
Flag Jacksonville
Thanks Meter: 304
 
1,743 posts
Join Date:Joined: Jul 2011
More
i think we should wait for yall to finish whatever yall are doing before we (especially me) start asking boot questions about how to use this

---------- Post added at 07:04 PM ---------- Previous post was at 06:42 PM ----------

But seriously what does this mean

, and cd to the stuff/ dir inside the zip
Last edited by Linch89; 11th November 2012 at 11:50 PM.
12th November 2012, 12:06 AM   |  #8  
brycekerr's Avatar
Senior Member
Flag Dayton
Thanks Meter: 136
 
466 posts
Join Date:Joined: Aug 2010
So what do you recommend for a hex editor?
12th November 2012, 12:15 AM   |  #9  
andybones's Avatar
Recognized Contributor
Flag Upstate NY
Thanks Meter: 9,105
 
9,426 posts
Join Date:Joined: May 2010
Donate to Me
More
Quote:
Originally Posted by brycekerr

So what do you recommend for a hex editor?

I use this one,
download.cnet.com/HxD-Hex-Editor/3000-2352_4-10891068.html




check out our ViperROM once rooted!

---------- Post added at 07:15 PM ---------- Previous post was at 07:11 PM ----------

Should def do a shout out to
Bin4ry
in the OP.

without that exploit this wouldn't be possible
Last edited by andybones; 12th November 2012 at 12:14 AM.
The Following User Says Thank You to andybones For This Useful Post: [ View ]
12th November 2012, 12:18 AM   |  #10  
brycekerr's Avatar
Senior Member
Flag Dayton
Thanks Meter: 136
 
466 posts
Join Date:Joined: Aug 2010
Perfect, thanks! And that's why I wanted root lol, I ran that on my Rez

Error:
"while is not recognized as an internal/external command"
Is that the error we are supposed to ignore? and also I need a device encryption password to restore, anybody know what it is?
Last edited by brycekerr; 12th November 2012 at 12:25 AM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in HTC Droid Incredible 4G LTE Android Development by ThreadRank