Jump to content

Template:SonyBLunlock: Difference between revisions

From postmarketOS Wiki
Created page with "<noinclude> {{Template}} Explains the procedure of unlocking the bootloader on 2012+ SONY devices, hopefully reduces text copypaste. == Usage == <pre><nowiki>{{SonyBLunloc..."
 
No edit summary
Line 9: Line 9:


</noinclude>
</noinclude>
<includeonly>
{{note|To use non-vendor OSes on SONY devices you need to unlock your bootloader. Not all devices can be unlocked easily.}}
{{note|To use non-vendor OSes on SONY devices you need to unlock your bootloader. Not all devices can be unlocked easily.}}


Line 15: Line 14:


- Back up all of your data. It will be erased and your warranty may be void.
- Back up all of your data. It will be erased and your warranty may be void.
- Download `fastboot` binary for your OS, often found in official repos for Linux distros.
- Download `fastboot` binary for your OS, often found in official repos for Linux distros.
- Find the IMEI of your device (IMEI of the first SIM slot for DS devices).
- Find the IMEI of your device (IMEI of the first SIM slot for DS devices).
- (Android 5.0/6.0+ devices): Enter Developer Settings and enable "OEM unlock".
- (Android 5.0/6.0+ devices): Enter Developer Settings and enable "OEM unlock".
- Turn off your device.
- Turn off your device.
- Hold the [Volume +] button (while the phone is still off) and connect the phone to a computer.
- Hold the [Volume +] button (while the phone is still off) and connect the phone to a computer.
- If the notification LED turned blue, everything went well and you managed to enter fastboot mode.
- If the notification LED turned blue, everything went well and you managed to enter fastboot mode.
- Go to [https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader this website], scroll down, choose your device (or any device for that matter) from the drop-down list and enter your IMEI.
- Go to [https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader this website], scroll down, choose your device (or any device for that matter) from the drop-down list and enter your IMEI.
- Copy the code that you received.
- Copy the code that you received.
- Open a terminal and enter `fastboot oem unlock {KEY_THAT_YOU_OBTAINED}`.
- Open a terminal and enter `fastboot oem unlock {KEY_THAT_YOU_OBTAINED}`.
- You should see something like `operation completed successfully (0.003s)`.
- You should see something like `operation completed successfully (0.003s)`.
- Congratulations, you can now use custom firmwares, just like pmOS :)
- Congratulations, you can now use custom firmwares, just like pmOS :)
</includeonly>

Revision as of 22:52, 9 December 2020

This page is a template. It contains no postmarketOS-related information, but should be used as part of other articles.

Check out all pages using this template and feel free to discuss it in the gitlab issues.

For more information, read Templates and Template:Template.

Explains the procedure of unlocking the bootloader on 2012+ SONY devices, hopefully reduces text copypaste.

Usage

{{SonyBLunlock}}


Note To use non-vendor OSes on SONY devices you need to unlock your bootloader. Not all devices can be unlocked easily.

To unlock your bootloader:

- Back up all of your data. It will be erased and your warranty may be void.

- Download `fastboot` binary for your OS, often found in official repos for Linux distros.

- Find the IMEI of your device (IMEI of the first SIM slot for DS devices).

- (Android 5.0/6.0+ devices): Enter Developer Settings and enable "OEM unlock".

- Turn off your device.

- Hold the [Volume +] button (while the phone is still off) and connect the phone to a computer.

- If the notification LED turned blue, everything went well and you managed to enter fastboot mode.

- Go to this website, scroll down, choose your device (or any device for that matter) from the drop-down list and enter your IMEI.

- Copy the code that you received.

- Open a terminal and enter `fastboot oem unlock {KEY_THAT_YOU_OBTAINED}`.

- You should see something like `operation completed successfully (0.003s)`.

- Congratulations, you can now use custom firmwares, just like pmOS :)