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

Commit e546cf99 authored by Jan Altensen's avatar Jan Altensen Committed by Manoj Nair
Browse files

emerald: update fastboot commands

parent 8194c0b1
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 !! "%}