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

Verified Commit 4b56944f authored by Manu Suresh's avatar Manu Suresh
Browse files

flash: Add sapphire flashing script

parent 60806ec7
Loading
Loading
Loading
Loading
+21 −0
Original line number Original line 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