Skip to content

Commit

Permalink
v1.2.0 from a31
Browse files Browse the repository at this point in the history
  • Loading branch information
DevZillion committed Aug 13, 2022
1 parent 93b562a commit a0670fc
Showing 1 changed file with 37 additions and 35 deletions.
72 changes: 37 additions & 35 deletions recovery/root/system/etc/twrp.flags
Original file line number Diff line number Diff line change
@@ -1,50 +1,52 @@
# Symlinked partitions
/system_image emmc /dev/block/mapper/system flags=backup=0;flashimg;display="System Image"
/vendor_image emmc /dev/block/mapper/vendor flags=backup=0;flashimg;display="Vendor Image"
/product_image emmc /dev/block/mapper/product flags=backup=0;flashimg;display="Product Image"
/odm_image emmc /dev/block/mapper/odm flags=backup=0;flashimg;display="Odm Image"
/system_image emmc /dev/block/mapper/system flags=backup=0;flashimg;wipeingui;display="System Image"
/vendor_image emmc /dev/block/mapper/vendor flags=backup=0;flashimg;wipeingui;display="Vendor Image"
/product_image emmc /dev/block/mapper/product flags=backup=0;flashimg;wipeingui;display="Product Image"
/odm_image emmc /dev/block/mapper/odm flags=backup=0;flashimg;wipeingui;display="Odm Image"

# Samsung ODE
/keydata ext4 /dev/block/platform/bootdevice/by-name/keydata flags=fileencryption=aes-256-xts
/keyrefuge ext4 /dev/block/platform/bootdevice/by-name/keyrefuge flags=fileencryption=aes-256-xts
/keydata ext4 /dev/block/platform/bootdevice/by-name/keydata flags=fileencryption=aes-256-xts
/keyrefuge ext4 /dev/block/platform/bootdevice/by-name/keyrefuge flags=fileencryption=aes-256-xts

# FOTA
/modem emmc /dev/block/by-name/apnhlos flags=backup=1;display="Modem"
/mdm emmc /dev/block/by-name/modem
/dsp emmc /dev/block/by-name/dsp
/dtbo emmc /dev/block/by-name/dtbo flags=backup=1;display="DTBO"
/md1img emmc /dev/block/by-name/md1img
/spmfw emmc /dev/block/by-name/spmfw
/scp1 emmc /dev/block/by-name/scp1
/sspm_1 emmc /dev/block/by-name/sspm_1
/modem emmc /dev/block/by-name/apnhlos flags=backup=1;display="Modem"
/mdm emmc /dev/block/by-name/modem flags=backup=1;subpartitionof=/modem
/dsp emmc /dev/block/by-name/dsp
/dtbo emmc /dev/block/by-name/dtbo flags=backup=1;display="Dtbo"
/spmfw emmc /dev/block/by-name/spmfw
/scp1 emmc /dev/block/by-name/scp1
/sspm_1 emmc /dev/block/by-name/sspm_1

#Auto-generated code by FOTA Portal
/gz1 emmc /dev/block/by-name/gz1
/optics ext4 /dev/block/by-name/optics flags=backup=1;display="Optics"
/optics_image emmc /dev/block/by-name/optics flags=backup=1;display="Optics Image";flashimg=1
/param emmc /dev/block/by-name/param flags=backup=1;display="Param"
/prism ext4 /dev/block/by-name/prism flags=backup=1;display="Prism"
/vbmeta_samsung emmc /dev/block/by-name/vbmeta_samsung flags=backup=1;display="Vbmeta Samsung";flashimg=1;
/gz1 emmc /dev/block/by-name/gz1
/optics ext4 /dev/block/by-name/optics flags=backup=1;display="Optics"
/optics_image emmc /dev/block/by-name/optics flags=backup=1;display="Optics Image";flashimg=1
/param emmc /dev/block/by-name/param flags=backup=1;display="Param"
/prism ext4 /dev/block/by-name/prism flags=backup=1;display="Prism"
/vbmeta_samsung emmc /dev/block/by-name/vbmeta_samsung flags=backup=1;display="Vbmeta Samsung";flashimg=1

# Physical partitions - Data
/metadata ext4 /dev/block/platform/bootdevice/by-name/md_udc flags=display="Metadata";
/data f2fs /dev/block/by-name/userdata flags=length=-16384;fileencryption=aes-256-xts:aes-256-cts:v1;
/metadata ext4 /dev/block/platform/bootdevice/by-name/md_udc flags=display="Metadata"
/data f2fs /dev/block/by-name/userdata flags=length=-16384;fileencryption=aes-256-xts:aes-256-cts:v1

# Physical partitions - Important Data - Must Backup
/efs ext4 /dev/block/by-name/efs flags=backup=1;display="EFS"
/sec_efs ext4 /dev/block/by-name/sec_efs flags=backup=1;subpartitionof=/efs;
/nvram emmc /dev/block/by-name/nvram flags=backup=1;display="NVRAM";
/nvdata ext4 /dev/block/by-name/nvdata flags=backup=1;subpartitionof=/nvram;
/nvcfg ext4 /dev/block/by-name/nvcfg flags=backup=1;subpartitionof=/nvram;
/efs ext4 /dev/block/by-name/efs flags=backup=1;display="IMEI"
/sec_efs ext4 /dev/block/by-name/sec_efs flags=backup=1;subpartitionof=/efs
/nvram emmc /dev/block/by-name/nvram flags=backup=1;subpartitionof=/efs
/nvdata ext4 /dev/block/by-name/nvdata flags=backup=1;subpartitionof=/efs
/nvcfg ext4 /dev/block/by-name/nvcfg flags=backup=1;subpartitionof=/efs
/persistent emmc /dev/block/platform/bootdevice/by-name/persistent flags=backup=1subpartitionof=/efs
# CP Slot a.k.a baseband image
/md1img emmc /dev/block/platform/bootdevice/by-name/md1img flags=backup=1;display="Baseband"

# Physical partitions - Backupable
/boot emmc /dev/block/by-name/boot flags=backup=1;display="Boot Image";flashimg=1
/recovery emmc /dev/block/by-name/recovery flags=backup=1;display="Recovery Image";flashimg=1
/prism_image emmc /dev/block/by-name/prism flags=backup=1;display="Prism Image";flashimg=1
/misc emmc /dev/block/by-name/misc flags=backup=1;display="Misc"
/up_param emmc /dev/block/by-name/up_param flags=backup=1;display="Up_Param";flashimg=1
/vbmeta_system emmc /dev/block/by-name/vbmeta flags=backup=1;display="Vbmeta System";flashimg=1;
/boot emmc /dev/block/by-name/boot flags=backup=1;display="Boot Image";flashimg=1
/recovery emmc /dev/block/by-name/recovery flags=backup=1;display="Recovery Image";flashimg=1
/prism_image emmc /dev/block/by-name/prism flags=backup=1;display="Prism Image";flashimg=1
/misc emmc /dev/block/by-name/misc flags=backup=1;display="Misc"
/up_param emmc /dev/block/by-name/up_param flags=backup=1;display="Up_Param";flashimg=1
/vbmeta_system emmc /dev/block/by-name/vbmeta flags=backup=1;display="Vbmeta System";flashimg=1

# External storage
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=storage;wipeingui;removable
/usb_otg auto /dev/block/sda1 /dev/block/sda flags=display="USB-OTG";storage;wipeingui;removable;
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=display="Micro SD Card";storage;wipeingui;removable
/usb_otg auto /dev/block/sda1 /dev/block/sda flags=display="USB OTG";storage;wipeingui;removable

0 comments on commit a0670fc

Please sign in to comment.