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

Verified Commit 40015e5a authored by Ahmed Harhash's avatar Ahmed Harhash
Browse files

flash: Add OnePlus Nord (avicii)

parent fe0cd981
Loading
Loading
Loading
Loading

flash/avicii/config.mk

0 → 100644
+10 −0
Original line number Diff line number Diff line
HLOS_IMAGES_TARGET := boot.img \
    dtbo.img \
    odm.img \
    product.img \
    recovery.img \
    system.img \
    system_ext.img \
    vbmeta.img \
    vbmeta_system.img \
    vendor.img
+22 −0
Original line number Diff line number Diff line
#!/usr/bin/env bash

# Target device info
PRODUCT="OnePlus Nord"
PRODUCT_ID="lito"

# Target Flashing Images info
FLASH_AB_FW_IMGS="abl aop bluetooth devcfg dsp featenabler hyp imagefv keymaster logo modem qupfw storsec tz uefisecapp xbl_config xbl"
FLASH_AB_IMGS="boot dtbo recovery vbmeta vbmeta_system"
FLASH_A_IMGS="odm product system system_ext vendor"
ERASE_IMGS="userdata metadata"

# Target flash process behavior
CLEAN_FLASH=true
VIRTUAL_AB=false
USE_FASTBOOTD=true

# Source common functions
source ./factory.common || { echo "ERROR: Failed to source factory.common"; exit 1; }

# Common flashing function
flash_factory