MSTAR/mstar-bin-tool/configs/letv-x355pro-recovery-no-secure.ini
2026-02-09 07:30:56 +02:00

43 lines
932 B
INI

#
# LeEco X3-55pro (Super3 x55 Pro)
# Config file to pack a single partition to firmware file (recovery.img)
#
# This will NOT create the partition, just erase and rewrite it
# NO security info (signature) will be added to the bin !
# Security checking for recovery will be DISABLED
# Use it to flash plain non encrypted recovery.img
#
[Main]
FirmwareFileName=LetvUpgrade928.bin
ProjectFolder=./pack
useHexValuesPrefix=false
SCRIPT_FIRMWARE_FILE_NAME=${FirmwareFileName}
DRAM_BUF_ADDR=20200000
MAGIC_FOOTER=12345678
HEADER_SIZE=16KB
[HeaderScript]
Prefix:
dont_overwrite_init
Suffix:
# Enable UART
setenv UARTOnOff on
# No auth for the recovery
setenv recoverycmd mmc read.p 0x25000000 recovery 0x02000000\; bootm 0x25000000
# Done
setenv LetvUpgrade_complete 1
setenv ResetAfterUpgrade 1
setenv ForcePowerOn 0
saveenv
[part/recovery]
erase=True
imageFile=${Main:ProjectFolder}/recovery.img
type=partitionImage