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

Commit 3edeccdc authored by Manoj Nair's avatar Manoj Nair
Browse files

Resolve "Adding text to warn bootloader locking is available only for official builds"

parent a7dccbc7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -49,6 +49,7 @@

    - The last command will ask you to confirm on the device to lock the bootloader.

{% include alerts/warning.html content="The bootloader is lockable in official builds only. The procedure to lock the bootloader will not work on community builds."%}

    - Select **LOCK THE BOOTLOADER** with `Volume +` and validate with `Power` button.

+2 −0
Original line number Diff line number Diff line
@@ -50,6 +50,8 @@

## Locking the Bootloader

{% include alerts/warning.html content="The bootloader is lockable in official builds only. The procedure to lock the bootloader will not work on community builds."%}

{% include alerts/danger.html content="The FP4 comes with an anti-rollback feature. Read the paragraph marked `Caution` in Requirements section of this guide, before proceeding." %}

Once you have completed the above steps  and before rebooting you can lock your Bootloader. 
+2 −0
Original line number Diff line number Diff line
@@ -49,6 +49,8 @@

## Locking the Bootloader

{% include alerts/warning.html content="The bootloader is lockable in official builds only. The procedure to lock the bootloader will not work on community builds."%}

{% include alerts/danger.html content="FP5 comes with an anti-rollback feature. Please read the paragraph marked `Caution` in Requirements section of this guide, before you proceed to install /e/OS on FP5." %}

Once you have completed the above steps  and before rebooting you can lock your Bootloader. 
+9 −5
Original line number Diff line number Diff line
@@ -42,20 +42,24 @@

## Locking the Bootloader


{% include alerts/warning.html content="The bootloader is lockable in official builds only. The procedure to lock the bootloader will not work on community builds."%}


{% include alerts/danger.html content="axolotl comes with an anti-rollback feature. Please read the paragraph marked `Caution` in Requirements section of this guide, before you proceed to install /e/OS on axolotl." %}

Once you have completed the above steps and before rebooting you can lock your Bootloader.

1. Download the [avb custom key](https://images.ecloud.global/devices/keys/avb_murena_rsa4096.bin)
1. Erase the previous key `fastboot erase avb_custom_key`
1. Flash the new key previously downloaded `fastboot flash avb_custom_key avb_murena_rsa4096.bin`
1. Lock critical partition with the following command
2. Erase the previous key `fastboot erase avb_custom_key`
3. Flash the new key previously downloaded `fastboot flash avb_custom_key avb_murena_rsa4096.bin`
4. Lock critical partition with the following command
   - `fastboot flashing lock_critical`
   -  Approve with  <kbd>Volume +</kbd> then <kbd>power</kbd>
1. Reboot your device into bootloader, and plug it to your computer
5. Reboot your device into bootloader, and plug it to your computer
    - Power OFF the device.
    - Hold `Power` + `Volume Down` button combo simultaneously.
1. Lock the device with the following command
6. Lock the device with the following command
   - `fastboot flashing lock`
   - Approve with  <kbd>Volume +</kbd> then <kbd>power</kbd>
+2 −0
Original line number Diff line number Diff line
## Locking the bootloader

{% include alerts/warning.html content="The bootloader is lockable in official builds only. The procedure to lock the bootloader will not work on community builds."%}

In /e/OS recovery main screen:

1. Select `Advanced`