S2011 Manual Unlock - bibanon/android-development-codex GitHub Wiki
This is the manual method for unlocking a S2011 device, as shown on Sony's Website.
-
Android SDK Platform Tools - Provides
adb
andfastboot
- Modified android_winusb.inf-file
- Go to Sony's Step 1 Unlock Site. Once there, click Yes.
- Pick up your phone and call
*#06#*
on the phone dialer. You will see your IMEI number. - Go back to the website and type in your Name, email address and your IMEI number. Click Submit.
- The website will generate an unlock code. Save it somewhere safe.
{{Note|Make sure that the Android SDK Platform Tools are set up correctly before proceeding.}}
{{Note|Linux and Mac have drivers built-in.}}
- Turn off your phone.
- Hold the unlock button ({{Key|Volume Up}} on most phones) and plug it into a PC. The blue led will light up.
- Windows will ask you to provide a driver file. Point to the
android_winusb.inf
file and your phone will be recognized.
- If that didn't work, try installing Flashtool, which will also install the needed drivers.
{{Note|Make sure that your phone is fully charged before proceeding.}}
- Turn off your phone.
- Enter Bootloader Mode: Hold the unlock button ({{Key|Volume Up}} on most phones) and plug it into a PC. The blue led will light up.
- If this doesn't work, enable Settings > Developer Options > USB Debugging on your phone, plug it into the computer, and use the command
adb reboot-bootloader
. on your computer.
-
Enter this command. If you get something similar to
Version: 0.x
, your phone is recognized and you can proceed.fastboot -i 0x0fce getvar version
-
Unlock the bootloader with this command.
{{Warning|Replace 0xKEY
with the unlock code given by Sony's website.}}
fastboot -i 0x0fce oem unlock 0xKEY
- Your phone is now unlocked. Check the S2011 Unlocked Flashing guide to install a custom ROM.