Saturday, July 7, 2012

Unlock Bootloader

Warning!!!!!


The phones affected by the problem are units being manufactured at, and after, 11W29!

To check if your device is affected by the problem follow this simple steps:

  1. Turn off the phone and open it up
  2. Take out the battery
  3. Look at the sticker below

If the date code on the sticker reads 11W29, or any later date (11W30, 11W31, 11W32, 11W33, ...), DO NOT attempt to unlock the boot loader.

These phones ship with a revamped chipset configuration having the security hole the boot loader unlock uses effectively closed. This means that upon unlocking the boot loader your phone will end up as a hard brick - and you will have NO means to revive the phone yourselves. You either have to send it off to Sony Ericsson for repair (recommended solution) or find a phone repair shop being able to resurrect shot devices!

The symptom you will experience when unlocking the boot loader on an affected device is like this:
  • The boot loader unlock will most likely go through fine
  • At restart the phone will show NO signs of life anymore.
    NO LED, NO LCD output, NO vibration.

This is the point where you can not do anything anymore yourself to resurrect the device.

You have been warned, DO NOT TRY to unlock the boot loader on phones manufactured PAST 11W29!


If you want to continue the bootloader Unlocking process please follow below.

Myths about unlocking bootloader

0. You can unlock your bootloader on a SIM-locked phone

1. Real dual touch for synaptic devices.
2. Higher max CPU overclock frequency.
3. Sim-unlock your phone (allow it to use any carrier)
__________________________________________________ __________________

Updates to this:

1. GUIDE UPDATE (finally lolz -- added new download links and made some edits)

Still using the old tools method -- more complicated to use but flexible (doesn't obligate stock to unlock, but please keep to GB and below)

My guide is not the simplest to understand, nor is it the most up-to-date, but if done and read correctly it gives you the most information about BL and kernels and also is quite safe .

================================================== ======================================

List of great guides

SETweaker tool -- Guide by faiyyaz: http://forum.xda-developers.com/show....php?t=1693308 (also deals with BL and kernels)

Lucastan96's index which contains a nice list of stuff: http://forum.xda-developers.com/show....php?t=1572591

XperienceX8's simplified guide on BL and stuff: http://forum.xda-developers.com/show....php?t=1549696

================================================== =======================================

Hold your horses! Check if your phone will be hard bricked by the bootloader unlock process!


If your phone's manufacture date is 11W29 or PAST 11W29, DO NOT ATTEMPT TO UNLOCK YOUR BOOTLOADER. IT WILL MOST LIKELY RESULT IN A HARD BRICK (though some users managed to successfully unlock).


Original post by B.Jay here: http://forum.xda-developers.com/show....php?t=1481630

################################################## ###

Before I start I must emphasise the fact that meddling with the bootloader is highly dangerous and will result in a hard brick if you don't follow proper instructions. Then, you will have to go and repair your phone by sending it to SE . I am not responsible if your phone dies on you because you didn't follow instructions or you screwed up somehow. I must also mention that this will probably void your warranty (rooting already probably voided it though) and that there is NO WAY to relock bootloader as of now.

Still interested? Details are below.

Requirements: Rooted phone, Sony Ericsson PC Companion installed in PC, Courage

You do not need to have a sim lock on your phone to unlock your bootloader.

Recommended: Disable your antivirus (it might find a "virus" in ADB.exe even though there isn't one and might even interfere in bootloader unlocking process) Use stock rom (I managed to unlock bootloader on GingerDX v013 though and users have managed to unlock it in Froyobread v23b and MiniCM7 2.0.7 | Don't try on ICS roms)

Note: Unlocking the bootloader of your phone will restore the original sim lock of your phone (if you had any) unless if you unlocked with EMMA/IMEI unlock code or it was factory-unlocked or if SE unlocked it!

However, some users have reported that using msm7227_semc.cmd on their sim-unlocked phones did not restore the sim lock onto their phone. This has not been confirmed as of yet. Unlock the bootloader on your sim unlocked phone AT YOUR OWN RISK!
______________________________________

1. Download the files needed for the unlock. (Credits go to the_laser for this tool.)

Original Post: http://forum.xda-developers.com/show...77&postcount=3

One big bundle of files: http://upload.riicc.sg/viewfolder.php?hash=LVW5TS2ZSX

Download and extract the archive. Contains X8, W8, X10 mini and X10 mini pro stock kernels, the unlock tool and also the updated S1tool that can relock your bootloader!

__________________________________________________ __

1a. Download Flashtool too (needed for S1tool to work properly and for loading custom kernels next time) and install it (not necessary if you already have Flashtool):

Download and install Flashtool (follow instructions on the website): http://androxyde.github.com/Flashtool/
(Credits go to Androxyde and Bin4ry for this tool.)

After installing it, open the flashtool folder and open the drivers folder inside that. Double click on the .exe file inside and install your device's ADB driver (for W8 use the X8 ones) and the Flash mode drivers.

Then restart your computer.

Open task manager and kill any ADB.exe process you find in there and don't load Flashtool for the rest of the installation process.
__________________________________________________ _____________

Also, download and install PC Companion (not needed if you already have PC Companion on your computer) here (needed for the bootloader unlocking process).

Link: http://www.sonymobile.com/gb/tools/pc-companion/

Then just double click the .exe file and install PC Companion. Connect your phone to the PC after doing this and open Sony Ericsson PC Companion. Ensure that your phone is recognised by PC Companion.

__________________________________________________ _____________


Step 2.


Note: If your antivirus finds virus in ADB.exe, disable the antivirus. There is NO virus in ADB.exe and the antivirus will interfere in unlocking bootloader.


2a. Turn off your phone.

2b. Open the directory you unzipped S1tool to and run S1tool.exe. Then, click on IDENTIFY button before proceeding to step 2c.

2c. Boot your phone into flash mode (make sure you installed your device's drivers found in step 1a first). All users, press and hold back button while connecting cable from PC to phone. Continue holding back button until you get some output. The LED on your phone should flash green if it is in flash mode.



If the simlock certificate specified is SEMC SIMLOCK CERTIFICATE, or anything other than NOT RECOGNIZED SIMLOCK CERTIFICATE, jump to step 3.
If the simlock certificate specified is NOT RECOGNIZED SIMLOCK CERTIFICATE, you can't unlock the bootloader of your phone. If you try, radio capability of your phone will be disabled (this has been reported to be untrue by a number of people who claim to have unlocked bootloader successfully with msm7227_semc.cmd).
Do note that the SIMLOCK certificate doesn't mean that you have/don't have a sim lock on your phone.




3. Disconnect your phone from the computer, boot it up, and then reconnect your phone to your computer.

4. Enable USB debugging on your phone.

Note: Don't run Flashtool and terminate any ADB.exe process you find in task manager before performing step 5.

5. If you had
1: the SEMC SIMLOCK CERTFICATE message or if you
2: unlocked your phone using EMMA/IMEI code
3: or if your phone was already unlocked when you bought it (first-hand phone)
4: or if your phone is sim-locked
__________________________________________________ _________________________

THEN
run msm7227_semc.cmd in the directory you unzipped the unlocking files to and press any key to start the unlocking process. Alternatively, you could use Flashtool to bootloader-unlock your phone (if you want to use Flashtool, go to step 5c). Go to step 5b.

If you
1. had the SETool unlock certificate

THEN
go to step 5a.[/U]


5a. Run msm7227_Setool2.cmd in the directory you extracted the bootloader unlock tool to and press any key to start the process. Alternatively, you could use Flashtool to bootloader-unlock your phone (if you want to use Flashtool, go to step 5c)

5b. Open the example log included in the files. Wait 5 minutes. Then, compare the text in the window to those in the example log. They should be similar. Also, the last message on the window should be Press any key to continue. Note: It is recommended to turn off your antivirus before starting this as antivirus might interfere with the unlocking of bootloader on your phone (some antivirus software claim that there is virus in ADB.exe even though there isn't one)

Note: If your log is very different from this please check if your bootloader is unlocked using step 7. If it is not unlocked, turn off your antivirus and repeat step 5 again. If you get some "error: protocol fault" messages, that is completely fine, this is because the "problem" is that your phone was still rebooting and USB debugging mode is not turned on when rebooting so it couldn't acquire the status and had an error. If you get many "Access is denied" messages, turn off your antivirus and try again. Some users reported that the "Access is denied" messages were eradicated and they successfully unlocked their bootloaders after turning off their antivirus.

5c.

Start Flashtool, connect your phone and then wait for your phone to be recognized.

Then, go to: Plugins/(insert device name here) Unlock/run

A screen will pop up and ask you to connect your phone in Flash mode

1. Unplug the USB cable from your phone.
2. Turn off your phone.
3. Press and hold the "Back" button on your phone.
4. Plug in the USB cable to your phone.
5. Release the "Back" button after the screen that popped up disappears.

The unlocking process will start.

Wait until Flashtool asks you to disconnect the cable off the phone, then turn on the device and connect the usb cable once again.

Wait for Flashtool to push the required files to your phone.

After a while, Flashtool will have 4he message "Successfully applied unlock" and the phone will reboot.

__________________________________________________ ____________

6. Disconnect your phone from the PC. Congratulations, your phone has an unlocked bootloader now!

7. To verify if your bootloader is unlocked successfully, again, use S1tool found here: http://forum.xda-developers.com/show...0&postcount=26.

Direct download link: http://upload.riicc.sg/viewfolder.php?hash=LVW5TS2ZSX

Also, download and install Flashtool here (follow instructions on the website): http://androxyde.github.com/Flashtool/
e0D
(Credits go to Androxyde and Bin4ry for this tool.)

After installing it, open the flashtool folder and open the drivers folder inside that. Double click on the .exe file inside and install the ADB drivers for your phone AND the flash mode drivers (needed for S1tool to work).


After downloading s1tool and extracting it to an appropiate location on your PC (not needed you already have S1tool), shut down your phone.

Open s1tool.exe found in the directory you extracted s1tool to and then click IDENTIFY button.

Boot your phone into flash mode (Press and hold back button while connecting it to your PC using an usb cable. The LED on your phone should flash green). Continue holding back button until you get some output.

If the line RUNNING S1_EROM FROM VER "#8A02$" has a lowercase "r" letter replacing the "#" (RUNNING S1_EROM FROM VER "r8A02$"), your bootloader has been unlocked . If it has an uppercase "R" replacing the "#" (RUNNING S1_EROM FROM VER "R8A02$"), your bootloader is NOT unlocked .

Note: The value of the "$" is dependent on an unknown factor. The unknown factor doesn't matter to us. 

Thanks to XDA

Source

Update Sony Ericsson W8 with Android 2.3 Gingerbread (GingerDX) without unlocking bootloader.



Please do this on your own risk.. if you miss anything in rooting or installing X recovery or installing the ROM and brick your phone.. i am not responsible..

Download These File First :
http://www.4shared.com/file/zvI0Lv2q/SuperOneClickv191-ShortFuse.html
http://www.4shared.com/file/3BuwWfWr/xRecovery01.html
http://www.4shared.com/file/XdtGx9oo/Root_Explorer_v216.html

GingerDX ROM
http://www.4shared.com/get/LQgUrhzK/update-gingerdxv021.html

Just Follow This Step

Step 1: Root your W8
- download and unzip SuperOneClickv1.9.1-ShortFuse to PC Desktop
- connect W8 to PC (Do not mount)
- on your phone [goto] [setting] [applications] select [unknown sources]
- on your phone [goto] [setting] [applications] [development] select [usb debugging]
- Launch SuperOneClick, click [Root]
- If it ask something about Busy Box just click Yes
- you will see - [not successful - is your phone software higher than 2.0?]
- click [yes] and then [success] & [test su] message
(this last part might not appear the same as It's written here, so just use your common sense to get through)

If you are successful in ROOTING your phone - SuperUser app will be installed to your W8.
If you are not successful:-
(a) check your PC [devices] [usb] to see if your phone is recognized by your PC (troubleshoot PC driver problem)
(b) [usb debugging] in your W8 phone settings enabled?
Then [Launch] [SuperOneClick] and try again.

Install any File Manager from Android Market, such as Astro File Manager.


Step 2: Mount W8 (to access SD Card)
- copy [Root.Explorer.v2.16.apk] to root of SD Card
- using PC create folder [xRecovery] and unzip xRecovery0.1.rar
- put the 3 files into the xRecovery folder you've created
- copy the xRecovery folder to root of SD Card


Step 3: UnMount W8 from PC


Step 4: Launch [Astro File Manager] Install [Root Explorer v2.16.apk]


Step 5:
- Launch [Root Explorer]
- scroll down to /sdcard [click to access]
- scroll down to xRecovery folder [click to access]
- Select each of the 3 files (one by one) [click & hold] [copy]
- [click] parent folder (twice)
- scroll down to [click to access] [system]
- [click to access] [bin] and [click] [Mount R/W] (R/W as in Read/Write)
- press [paste] button

Now your Phone should be rooted and ready to install your Android 2.3.7




Step 1: Make a backup copy of your Android Eclair 2.1 using xRecovery
- check that your phone's SD Card has at least 650MB of free space
[SD card free space is to hold both your phone original backup ROM and the 2.3 ROM]
- shutdown your W8 and wait 5 seconds and then [reboot] your phone.
- when you see the words [Sony Ericsson] on the phone screen, start pressing the back button on your phone multiple times and you will enter the xRecovery Menu.
- select [backup and restore] [backup] from the menu

NOTE:
- This will create a backup file in your SD Card [SD/xRecovery/backup]
- After you have completed the backup using xRecovery, it will return to the menu screen.
- Now choose [reboot] - your W8 phone should restart


Step 2: Download GingerXperia ROM (something you probably already did with the links above)
- [mount] your W8 and copy this file [GingerDX.zip] into SD card
- [unmount] and shutdown your W8

Step 3: Installing the 2.3.7 ROM on your W8
- [boot] W8
- when you see the words [Sony Ericsson] on the phone screen, start pressing the back button on your phone multiple times and you will enter the xRecovery Menu.
- [select] [factory reset (full wipe)]
- scroll down and hit [install custom zip]
- select [GingerDX.zip] from your SD card & hit [yes]
- xRecovery will start to install the 2.3.7 ROM on your phone.
- when it is done, xRecovey will go back to the startup menu
- [click] [reboot]

If you are stuck in the GingerDX startup screen for more than 5 minutes, just try restart the phone and It should be fine. Took me 2 restarts before the new ROM took action.



RESTORING THE Official Android Eclair 2.1.1 ROM

- [shutdown] wait 5 seconds [reboot] W8
- when you see the words [Sony Ericsson] on the phone screen, start pressing the back button on your phone multiple times and you will enter the xRecovery Menu.
- [select] [factory reset (full wipe)]
- scroll down and hit [backup/restore] [restore]
- you should see your original 2.1 backup ROM
- [select] [2011-10-xx.xx.xx.xx.ROM] [restore] [it should look something like 2011-05-06.21.01.23]
- xRecovery will start to install the original 2.1.1 ROM [the ROM you've backed up in Step 1] from your phone's SD Card.
- when it is done xRecovey will go back to the startup menu
- [click] [reboot]

Watch my video... its not a very good quality one.. but i am sure that it will increase your confidence..

http://www.youtube.com/watch?v=LxJNy07hwjQ

Thanks to Xda Forum and Ginger DX developers Doxian for providing this ROM