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

Commit b15ab264 authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Merge branch 'master' into 'add-a7y17lte'

# Conflicts:
#   scripts/run_all_devices.sh
parents 499e2d1e abb885d9
Loading
Loading
Loading
Loading

_data/devices/klte.yml

0 → 100644
+22 −0
Original line number Diff line number Diff line
codename: klte
name: Samsung Galaxy S5 LTE
vendor: Samsung
versions: [pie]
status: [dev]
recovery_install_method: heimdall
#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:
#unlock_bootloader_guide:
+4 −0
Original line number Diff line number Diff line
@@ -34,4 +34,8 @@
    ```
    fastboot flash recovery twrp-x.x.x-x-{{ device.codename}}.img
    ```
    on some devices the below command may be required
    ```
    fastboot boot twrp-x.x.x-x-{{ device.codename}}.img
    ```
1. Now reboot into recovery to verify the installation.
+1 −1
Original line number Diff line number Diff line
## Unlocking the bootloader

{% if device.is_unlockable == false %}
**Warning** : Huawei does not provide unlock password anymore (see here). Consequently, if your device is not unlocked yet, you will not be able to install /e/ on it, unless using unofficial ways.
**Warning** : Huawei does not provide unlock password anymore. Consequently, if your device is not unlocked yet, you will not be able to install /e/ on it, unless using unofficial ways.
{% else %}

{% include alerts/warning_unlocking_bootloader.md %}
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@
1. Now type the following command to get the bootloader status:

    ```shell
    fastboot oem device-info
    fastboot oem get_unlock_data
    ```
1. Follow the instructions at [Motorola Support](http://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a) to unlock your bootloader.
1. Since the device resets completely, you will need to re-enable USB debugging to continue.
+21 −0
Original line number Diff line number Diff line
@@ -3,19 +3,24 @@
{% include alerts/warning_unlocking_bootloader.md %}

{% unless device.no_oem_unlock_switch %}

1. Enable OEM unlock in the Developer options under device Settings, if present.
{% endunless %}

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. Once the device is in fastboot mode, verify your PC finds it by typing:

    ```shell
    fastboot devices
    ```

1. Now type the following command to unlock the bootloader:

    {% if device.custom_unlock_cmd %}
@@ -27,7 +32,23 @@
    fastboot oem unlock
    ```
    {% endif %}

1. Alternately on some devices to unlock the bootloader you may need to type the command:

    ```
    fastboot oem unlock-go    
    ```

1. Check if the device has been unlocked by typing the following command in command prompt (on Windows) or terminal (on Linux or macOS) window. The output will display a message similar to 'Device unlocked: true':

    ```
    fastboot oem device-info    
    ```
  


1. If the device doesn’t automatically reboot, reboot it. It should now be unlocked.

1. Since the device resets completely, you will need to re-enable USB debugging to continue.

{% if device.is_ab_device %}
Loading