Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b008bb5d authored by Romain Hunault's avatar Romain Hunault
Browse files

Add Sony devices

parent 1241ce1a
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
codename: pioneer
name: Xperia XA2
vendor: Sony
versions: [oreo]
status: [dev]
recovery_install_method: fastboot_sony
#root_method: []
#models: []
#before_install:
#is_ab_device: true
#no_oem_unlock_switch:
#custom_unlock_cmd:
#custom_recovery_codename:
#fastboot_boot: true
#is_unlockable: false
#download_boot:
#recovery_boot:
is_lineageos_official: true
#update_vendors: true
#recovery_install_need_patch: true
+21 −0
Original line number Diff line number Diff line
codename: sumire
name: Xperia Z5
vendor: Sony
versions: [nougat]
status: [dev]
recovery_install_method: fastboot_sony
#root_method: []
#models: []
#before_install:
#is_ab_device: true
#no_oem_unlock_switch:
#custom_unlock_cmd:
#custom_recovery_codename:
#fastboot_boot: true
#is_unlockable: false
#download_boot:
#recovery_boot:
is_lineageos_official: true
#update_vendors: true
#recovery_install_need_patch: true
custom_recovery_link: https://forum.xda-developers.com/devdb/project/dl/?id=26670
+20 −0
Original line number Diff line number Diff line
## Unlocking the bootloader

{% include alerts/warning_unlocking_bootloader.md %}

1. On the device, dial `*#*#7378423#*#*` (`*#*#SERVICE#*#*`) to launch the service menu.
1. Go to `service info` > `configuration` and check `rooting status` - you can only continue if it says `Bootloader unlock allowed: Yes`.
1. Connect the device to your PC via USB.
1. On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type:

    ```shell
    adb reboot bootloader
    ```
1. Follow the instructions on [Sony’s official unlocking website](http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/) to unlock your bootloader.
1. Since the device resets completely, you will need to re-enable USB debugging to continue (Settings->About Phone->Build version, and then you can go to Settings->Developer opptions to enable USB debugging).

{% if device.is_ab_device %}
{% include templates/recovery_install_fastboot_ab.md %}
{% else %}
{% include templates/recovery_install_fastboot_generic.md %}
{% endif %}

pages/build/pioneer.md

0 → 100644
+9 −0
Original line number Diff line number Diff line
---
sidebar: home_sidebar
title: Build /e/ for Sony Xperia XA2 - pioneer
folder: build
layout: default
permalink: /devices/pioneer/build
device: pioneer
---
{% include templates/device_build.md %}

pages/build/sumire.md

0 → 100644
+9 −0
Original line number Diff line number Diff line
---
sidebar: home_sidebar
title: Build /e/ for Sony Xperia Z5 - sumire
folder: build
layout: default
permalink: /devices/sumire/build
device: sumire
---
{% include templates/device_build.md %}
Loading