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

Commit e7f7eca9 authored by Rohit Sekhar's avatar Rohit Sekhar
Browse files

otter: Simplify installation instructions off rollback

- The updated bootloader exposes `fastboot oem reset-spl` to reset the
  rollback.
- The rollback is also automatically wiped when unlocking the
  bootloader, but add the command explicitly, in-case the bootloader in
  which the user last was on didn't have the support for this.
parent 9b18b6c7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -76,7 +76,6 @@ install:
display_erecovery: false
install_e_file_name: install_e_otter
ignore_troubleshooting_tips: true
requirements_file_name: requirements_otter
verified_boot:
  - { vendor: "Any vendor", supported: "yes" }
bootloader_relocking:
+14 −7
Original line number Diff line number Diff line
## Installing /e/OS
{% include alerts/tip.html content="For Windows users, we advise to use Git Bash. For more info about Downloads and Installation see [Official Documentation](https://git-scm.com/about)"%}

{% include alerts/danger.html content="SHIFTphone 8 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 SHIFTphone 8." %}

1. Unzip the archive

    ```
@@ -49,15 +47,24 @@

## Locking the Bootloader

{% include alerts/danger.html content="SHIFTphone 8 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 SHIFTphone 8." %}
After you have completed the installation and verified it starts up successfully, you can lock the bootloader on your {{ device.codename }}. This will factory reset your device again.

{% 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."%}


Once you have completed the above steps  and before rebooting you can lock your Bootloader. 
1. Reboot your device into bootloader, via a key combination:
    - {% t devices.with_the_device_powered_off %}
    - {% t device.download_boot %}

1. Lock critical partition with the following command
1. In the command prompt, clear stored rollback with the following command:
   - `fastboot oem reset-spl`

1. In the command prompt, 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
1. Lock the device with the following command

1. In the command prompt lock the device with the following command
   - `fastboot flashing lock`
   - Approve with  <kbd>Volume +</kbd> then <kbd>power</kbd>

1. Now the device will reboot into /e/ OS