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

Commit b67bf1f7 authored by Manoj Nair's avatar Manoj Nair
Browse files

Merge branch '95devices-r-emerald_update_flash_instructions' into 'master'

emerald: update fastboot commands

See merge request e/documentation/user!669
parents 5f6d52d6 e546cf99
Loading
Loading
Loading
Loading
+19 −11
Original line number Diff line number Diff line
@@ -12,23 +12,31 @@ cd path-of-the-extracted-files

```
fastboot erase userdata
fastboot erase metadata

fastboot flash gz_a gz.img
fastboot flash lk_a lk.img
fastboot flash md1img_a md1img.img
fastboot flash scp_a scp.img
fastboot flash spmfw_a spmfw.img
fastboot flash sspm_a sspm.img
fastboot flash tee_a tee.img
fastboot format md_udc

fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash vbmeta_a vbmeta.img
fastboot flash vbmeta_system_a vbmeta_system.img
fastboot flash vbmeta_vendor_a vbmeta_vendor.img
fastboot flash super super.img
fastboot flash lk_a lk.img
fastboot flash logo logo-verified.bin
fastboot flash preloader_a preloader_yk673v6_lwg62_64.bin

fastboot --set-active=a
fastboot -w reboot
fastboot reboot
```

{% include alerts/tip.html content="If your device is not detect by fastboot, try to use `sudo fastboot` instead"%}

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

1. Boot your device into bootloader if not already there, and plug it to your computer
1. Lock the device with the following command
   - `fastboot flashing lock`
   - Approve with  <kbd>Voume +</kbd>
1. Reboot with `fastboot reboot`

{% include alerts/success.html content= "Congratulations !! Your phone should now be booting into /e/OS !! "%}