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

Commit 054f4c1c authored by Manu Suresh's avatar Manu Suresh
Browse files

Merge branch '1339-a14-sapphire' into 'a14'

flash: Add sapphire flashing script

See merge request !201
parents 60806ec7 4b56944f
Loading
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash

# Target device info
PRODUCT="Teracube 2s"
PRODUCT_ID="sapphire"

# Target Flashing Images info
FLASH_AB_FW_IMGS="gz lk md1img preloader:preloader_sapphire.bin scp spmfw sspm tee"
FLASH_A_FW_IMGS="logo:logo.bin"
FLASH_AB_IMGS="boot dtbo vbmeta vbmeta_system vbmeta_vendor"
FLASH_A_IMGS="super"
ERASE_IMGS="userdata"
FORMAT_IMGS="md_udc"

# Target flash process behavior
CLEAN_FLASH=true

source factory.common

# Common flashing function
flash_factory