Post Reply

[BL] Unlock without HTCDEV

26th June 2012, 10:23 AM   |  #1  
18th.abn's Avatar
OP Senior Member
Thanks Meter: 1,839
 
1,495 posts
Join Date:Joined: Oct 2011
More
This process will allow you to unlock your bootloader without having to register your imei with the htcdev website.

Thanks to niceppl for making a one click out of this, and adding ROGERS SUPPORT, and also windows, mac & linux ready. Please see his thread herehttp://forum.xda-developers.com/show...php?p=27917723

VERY IMPORTANT:
Please read over all instructions before attempting this process.If you are not 100% sure you can follow these instruction then.
DO NO ATTEMPT.
DO NOT SHORTCUT ANY STEPS. FAILURE TO COMPLETE THE PROCESS WILL LEAVE YOUR DEVICE UNUSABLE UNTIL ALL STEPS ARE COMPLETED.

Pre-requisites:

1. Must have AT&T Evita HTC One x rooted with superCID (sorry, no rogers)

2. Windows only, and have htc drivers installed, with adb and fastboot working

3. USB debugging enabled, and fastboot disabled in settings>power menu

4. SIMCARD REMOVED....(DO IT NOW)
^^^^^^^^^^^^^^^^
CANNOT REINSERT UNTIL PROCESS IS COMPLETED.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The Steps

Download the zip file from below and save it to your desktop. Go ahead and extract it to your desktop also.

Power on and Plug in device to USB and make sure you have CHARGE ONLY selected

Open a command prompt and cd to your adb fastboot folder.

enter these commands prompts one at a time, or copy paste (until i get script written, sorry)

adb shell

su

your command prompt should now look like this "root@android:/ #"

Now enter or copy/paste one command at a time

dd if=/dev/block/mmcblk0p4 of=/sdcard/mmcblk0p4

dd if=/dev/block/mmcblk0p5 of=/sdcard/mmcblk0p5

dd if=/dev/block/mmcblk0p6 of=/sdcard/mmcblk0p6

dd if=/dev/block/mmcblk0p13 of=/sdcard/mmcblk0p13

dd if=/dev/block/mmcblk0p26 of=/sdcard/mmcblk0p26

after each command you should see something like 234+0 in 234+0 out, 234 being a random number.

You now have these original partitions from your device backed up on your sdcard

Now close out of the command prompt and mount usb mass storage to open up your sdcard on the desktop

once open, create a new folder and name it "mypartitions"

you will see the 6 partitions you dd from your device, called mmcblk0p4,5,6,13,26. Move them to the folder you just created.

Go to the zip you extracted earler on your desktop, open it and you will see a folder named "spoofpartitions". copy or drag it to the root of your sdcard.

Go back to your folder with the extracted contents on the desktop, you will see a file named "unlock_code.bin". copy it the the same folder you have your fastboot and adb files in on your pc.

Now unmount your usb mass storage and select CHARGE ONLY again on your device

open up a new command prompt and cd to your adb fastboot folder again

type the commands one at a time or copy paste (again, will get a script as soon as i get time)

adb shell

su

command prompt again should now look like "root@android:/ #"

now enter the following again one at a time

dd if=/sdcard/spoofpartitions/mmcblk0p4MOD of=/dev/block/mmcblk0p4

dd if=/sdcard/spoofpartitions/mmcblk0p5MOD of=/dev/block/mmcblk0p5

dd if=/sdcard/spoofpartitions/mmcblk0p6MOD of=/dev/block/mmcblk0p6

dd if=/sdcard/spoofpartitions/mmcblk0p13MOD of=/dev/block/mmcblk0p13

dd if=/sdcard/spoofpartitions/mmcblk0p26MOD of=/dev/block/mmcblk0p26

once all those successfully pushed to your device, we're going to disconnect from the pc, close command prompt and power down device.

We need to now boot to bootloader so, press and hold your power button and volume down (-) buttons, wait a couple seconds and release

the power button while continuing to hold volume down. Once it powers on you'll be in your boot loader. plug in your usb, and using your vol. up vol. down highlight

"fastboot" and press power button to select. right above, wait until you see "fastboot USB"

Now, go ahead and open up another command prompt and cd to your fastboot adb folder.

type "fastboot devices" you should see a serial number under the list of attached devices.

now enter "fastboot flash unlocktoken unlock_code.bin"

you should get a readout that says successful or something and a screen from HTC will appear on your device. If not, just redo the fastboot flash command again. Once the screen is up, you'll see the warning about yada yada blah blah. press your volume up to highlight the yes i wanna unlock button and press power to confirm. THIS WILL WIPE YOUR DEVICE FYI.

once the device boots back up go thru all your setup stuff until you get back to your home screen, go back into your settings and disable fastboot from the power menu and enable usb debugging again in developer options.

plug back in usb CHARGE ONLY mode, open up a command prompt and cd to adb fastboot folder. enter the commands ONE LAST TIME

adb shell

su

dd if=/sdcard/mypartitions/mmcblk0p4 of=/dev/block/mmcblk0p4

dd if=/sdcard/mypartitions/mmcblk0p5 of=/dev/block/mmcblk0p5

dd if=/sdcard/mypartitions/mmcblk0p6 of=/dev/block/mmcblk0p6

dd if=/sdcard/mypartitions/mmcblk0p13 of=/dev/block/mmcblk0p13

dd if=/sdcard/mypartitions/mmcblk0p26 of=/dev/block/mmcblk0p26

once you have them all pushed successfully reboot device, reinsert simcard and enjoy your htcdev free unlocked bootloader.



NOTE: If ever you need to relock your bootloader to ruu you will need to do these steps again to re unlock it. As soon as I get time i will make this much simpler for everybody.

Please, if anyone wants to step in i'm really busy with school and family. Feel free to tidy this up with a script.

DOWNLOAD: http://db.tt/Bd0UUKHH

ADDED: The unlock token included is for evita devices. Rogers and Telstra use files from 1click linked at the top. Or, after pushing the spoof partitions, generate a new token in fastboot and submit to htcdev. Unlock and then send UNMODIFIED partitions back to your device per the instructions.










Sent from my HTC One X using xda premium
Last edited by 18th.abn; 11th October 2012 at 02:24 PM.
The Following 36 Users Say Thank You to 18th.abn For This Useful Post: [ View ]
26th June 2012, 10:49 AM   |  #2  
Skizzy034's Avatar
Senior Member
Flag Amsterdam, NY
Thanks Meter: 1,004
 
4,949 posts
Join Date:Joined: Mar 2010
Will the bootloader still say relocked after we do this and relock?

Sent from my HTC One X using XDA
26th June 2012, 10:53 AM   |  #3  
18th.abn's Avatar
OP Senior Member
Thanks Meter: 1,839
 
1,495 posts
Join Date:Joined: Oct 2011
More
Yes, it will will still be the same. Its just an option for anybody who would prefer to keep their imei off the HTC database. Some people who outright buy it with no contract or are out of their first 30 days, their warranty falls under htc.

Sent from my HTC One X using xda premium
The Following User Says Thank You to 18th.abn For This Useful Post: [ View ]
26th June 2012, 12:40 PM   |  #4  
mattyg151's Avatar
Senior Member
Pittsburgh, PA
Thanks Meter: 115
 
646 posts
Join Date:Joined: Dec 2009
Donate to Me
More
damn, wish I would have waited another day. I just unlocked mine the HTC way yesterday. this is awesome.
26th June 2012, 12:56 PM   |  #5  
LNKNPRKFN's Avatar
Senior Member
Flag BRAMPTON
Thanks Meter: 48
 
298 posts
Join Date:Joined: Dec 2010
More
Too bad it's not good for rogers too, but that's awesome anyway thanks

SENT FROM MY COBRA 1.2 HOX XDA PREMIUM
26th June 2012, 01:06 PM   |  #6  
gunnyman's Avatar
Senior Member
Flag Greenville SC
Thanks Meter: 2,660
 
7,883 posts
Join Date:Joined: Apr 2010
Donate to Me
More
WOW

See this right here? This is some talent.

Nice job!
The Following User Says Thank You to gunnyman For This Useful Post: [ View ]
26th June 2012, 01:24 PM   |  #7  
sbryan12144's Avatar
Recognized Developer
Flag Columbus
Thanks Meter: 4,296
 
1,964 posts
Join Date:Joined: Jul 2010
Donate to Me
More
Good job man. I contacted the portal writers. IMO, this is a big deal.

Sent from my HTC One X using xda premium
The Following User Says Thank You to sbryan12144 For This Useful Post: [ View ]
E.Cadro
26th June 2012, 03:24 PM   |  #8  
Guest
Thanks Meter: 0
 
n/a posts
Wow!!
Nice job

Sent from my Nocturnalized Beast
26th June 2012, 03:31 PM   |  #9  
WTFunk's Avatar
Senior Member
Flag New York
Thanks Meter: 95
 
258 posts
Join Date:Joined: Oct 2010
More
How in the name of god and the holy spirit did you figure this out?!

Very nice!
26th June 2012, 04:08 PM   |  #10  
Recognized Developer
Thanks Meter: 5,590
 
2,266 posts
Join Date:Joined: Nov 2007
Donate to Me
I don't mean to rain on your hard work but....

isn't everyone who flashes this going to wind up with your serial number, your imei, and your MAC addresses? I think this could cause some real problems (blacklisting, etc.) for you and anyone else who flashes these files.

I would recommend taking this offline until you do some testing with another user or two......

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

Advanced Search
Display Modes


Top Threads in One X Android Development by ThreadRank