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

Verified Commit f32c896b authored by Nicolas Gelot's avatar Nicolas Gelot Committed by Omkar Chandorkar
Browse files

Add locked bootloader section for pixel 4, 4XL and 5

parent da26db1f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -56,6 +56,7 @@ install:
- { mode: Easy Installer }
recovery_install_command: fastboot flash boot
oem_unlock_file_name: oem_unlock_generic
oem_lock_file_name: oem_lock_pixel
recovery_install_file_name: recovery_install_fastboot_generic
install_e_file_name: install_e_with_erecovery
downloads_file_name: device_downloads_erecovery
+2 −1
Original line number Diff line number Diff line
@@ -64,6 +64,7 @@ install:
- { mode: Install doc }
- { mode: Easy Installer }
oem_unlock_file_name: oem_unlock_generic
oem_lock_file_name: oem_lock_pixel
recovery_install_file_name: recovery_install_fastboot_generic
recovery_install_command: fastboot flash boot
install_e_file_name: install_e_with_erecovery
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ maturity: orange
install:
- { mode: Install doc }
oem_unlock_file_name: oem_unlock_generic
oem_lock_file_name: oem_lock_pixel
recovery_install_file_name: recovery_install_fastboot_generic
recovery_install_command: fastboot flash vendor_boot
install_e_file_name: install_e_with_erecovery
+7 −0
Original line number Diff line number Diff line
@@ -52,9 +52,16 @@ In /e/OS recovery main screen:

   This means that the install was successful.

{% if device.oem_lock_file_name %}

{% capture oem_lock %}templates/{{device.oem_lock_file_name}}.md{% endcapture %}
{% include {{ oem_lock }} %}

{% else %}
## Reboot the device

In /e/OS recovery main screen:

1. Select `Reboot system now`
    > The reboot process may take 5 - 10 minutes
{% endif %}
+24 −0
Original line number Diff line number Diff line
## Locking the bootloader

In /e/OS recovery main screen:

1. Select `Advanced`
1. Select `Reboot to bootloader`

Once the device is in fastboot mode:
1. Verify your PC finds it by typing:
    ```
    fastboot devices
    ```
    {% include alerts/tip.html content="If you see `no permissions fastboot` while on Linux or macOS, try running `fastboot` as root." %}

1. Download the [avb custom key](https://images.ecloud.global/stable/pkmd_pixel.bin)
1. Erase the previous key `fastboot erase avb_custom_key`
1. Flash the new key previously downloaded `fastboot flash avb_custom_key pkmd_pixel.bin`
1. Lock the device `fastboot flashing lock`
1. Use the volume key to select `Lock the bootloader`

## Reboot the device

1. Use power button to `Start` the device
    > The reboot process may take 5 - 10 minutes