Closed czqn8 closed 2 years ago
filepartload 0x55000000 $(UpgradeImage) 0x4000 0x2000000 mmc erase.p tvconfig mmc write.p 0x55000000 tvconfig 0x2000000 1
filepartload 0x55000000 $(UpgradeImage) 0x2004000 0x2e000 mmc write.boot 1 0x55000000 0 0x2E000 filepartload 0x55000000 $(UpgradeImage) 0x2032000 0x2c5600 mmc write.p 0x55000000 MBOOT 0x2C5600
filepartload 0x55000000 $(UpgradeImage) 0x22f8000 0x19ac000 mmc erase.p misc mmc erase.p recovery mmc write.p 0x55000000 recovery 0x19AC000 1 setenv recoverycmd mmc read.p 0x23000000 dtb 0x00100000\; mmc read.p 0x25000000 recovery 0x02000000\; bootm 0x25000000 saveenv
filepartload 0x55000000 $(UpgradeImage) 0x3ca4000 0x124f000 mmc erase.p boot mmc write.p 0x55000000 boot 0x124F000 1 setenv bootcmd mmc read.p 0x23000000 dtb 0x00100000\; mmc read.p 0x25000000 boot 0x02000000\; bootm 0x25000000 saveenv
filepartload 0x55000000 $(UpgradeImage) 0x4ef3000 0x61aa20 mmc erase.p optee multi2optee 0x55000000 optee $(filesize) setenv MMAP_ONE_BIN_SUPPORT 1
filepartload 0x55000000 $(UpgradeImage) 0x550e000 0x2dd70 mmc erase.p armfw multi2optee 0x55000000 armfw $(filesize)
filepartload 0x55000000 $(UpgradeImage) 0x553c000 0x10000 mmc erase.p RTPM mmc write.p 0x55000000 RTPM 0x10000 1
filepartload 0x55000000 $(UpgradeImage) 0x554c000 0x5834 mmc erase.p dtb mmc write.p 0x55000000 dtb 0x5834 1
filepartload 0x55000000 $(UpgradeImage) 0x5552000 0x96010 mmc erase.p frc mmc write.p 0x55000000 frc 0x96010
filepartload 0x55000000 $(UpgradeImage) 0x55e9000 0x7d6ae mmc erase.p cm4 mmc write.p 0x55000000 cm4 0x7D6AE
filepartload 0x55000000 $(UpgradeImage) 0x5667000 0x2c5600 mmc write.p 0x55000000 MBOOTBAK 0x2C5600
filepartload 0x55000000 $(UpgradeImage) 0x592d000 0xf094 mmc erase.p cache sparse_write mmc 0x55000000 cache $(filesize)
filepartload 0x55000000 $(UpgradeImage) 0x593d000 0x1800000 mmc erase.p tcluserdata mmc write.p 0x55000000 tcluserdata 0x1800000 1
filepartload 0x55000000 $(UpgradeImage) 0x713d000 0x2000000 mmc erase.p tclconfig mmc write.p 0x55000000 tclconfig 0x2000000 1
mmc erase.p system filepartload 0x55000000 $(UpgradeImage) 0x913d000 0x60b8064 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0xf1f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x155f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x1b9f6000 0x63ff058 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x21df6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x281f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x2e5f6000 0x63ff058 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x349f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x3adf6000 0x63ff058 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x411f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x475f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x4d9f6000 0x63ff058 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x53df6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x5a1f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x605f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x669f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x6cdf6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x731f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x795f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x7f9f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x85df6000 0x63ff058 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x8c1f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x925f6000 0x63ff040 sparse_write mmc 0x55000000 system $(filesize) filepartload 0x55000000 $(UpgradeImage) 0x989f6000 0x49d9040 sparse_write mmc 0x55000000 system $(filesize)
mmc erase.p vendor filepartload 0x55000000 $(UpgradeImage) 0x9d3d0000 0x63ff064 sparse_write mmc 0x55000000 vendor $(filesize) filepartload 0x55000000 $(UpgradeImage) 0xa37d0000 0x63ff058 sparse_write mmc 0x55000000 vendor $(filesize) filepartload 0x55000000 $(UpgradeImage) 0xa9bd0000 0x63ff040 sparse_write mmc 0x55000000 vendor $(filesize) filepartload 0x55000000 $(UpgradeImage) 0xaffd0000 0x63ff058 sparse_write mmc 0x55000000 vendor $(filesize) filepartload 0x55000000 $(UpgradeImage) 0xb63d0000 0x63ff040 sparse_write mmc 0x55000000 vendor $(filesize) filepartload 0x55000000 $(UpgradeImage) 0xbc7d0000 0x63ff040 sparse_write mmc 0x55000000 vendor $(filesize) filepartload 0x55000000 $(UpgradeImage) 0xc2bd0000 0x63ff058 sparse_write mmc 0x55000000 vendor $(filesize) filepartload 0x55000000 $(UpgradeImage) 0xc8fd0000 0x1eb040 sparse_write mmc 0x55000000 vendor $(filesize)
filepartload 0x55000000 $(UpgradeImage) 0xc91bc000 0x8c00000 mmc erase.p tvservice mmc write.p 0x55000000 tvservice 0x8C00000 1
filepartload 0x55000000 $(UpgradeImage) 0xd1dbc000 0x500000 mmc erase.p factory_a mmc write.p 0x55000000 factory_a 0x500000 1
filepartload 0x55000000 $(UpgradeImage) 0xd22bc000 0x1f81b4 mmc erase.p userdata sparse_write mmc 0x55000000 userdata $(filesize)
setenv bootargs console saveenv setenv bootargs console=ttyS0,115200 androidboot.console=ttyS0 init=/init CORE_DUMP_PATH=/data/vendor/core_dump.%%p.gz KDebug=1 delaylogo=true security=selinux platform=sn SD_CONFIG=2 tee_mode=optee pm_path=/tvconfig/config/PM.bin loop.max_part=7 str_ignore_wakelock=1 setenv bootlogo_gopidx 2 setenv GOP_SET_MUX 2:0:1:3 setenv bootlogo_buffer E_MMAP_ID_BOOTLOGO_BUFFER setenv str_crc 2 setenv db_table 0 setenv verify n setenv WDT_ENABLE 0 setenv sync_mmap 1 setenv CONFIG_PATH /vendor/tvconfig/config setenv mboot_default_env 0 setenv MAP_TYPE MI setenv MI_MAP_PARTITION tvconfig setenv MI_MAP_PATH config/MMAP_MI.h setenv bootlogo_buffer setenv _BootlogoFile /tvconfig/bootlogo.jpg setenv devicestate lock setenv close_log yes setenv adb_enable_ini_path /tvconfig/config/adb/adb_enable.ini setenv first_setup 0 saveenv ac loglevel 3 ac QOS_SYS 1 ac QOS_AUTO_ADJ 1 setenv MstarUpgrade_complete 1 setenv sync_mmap 1 setenv db_table 0 saveenv printenv % <- this is end of script symbol
@dipcore
[i] Processing partition [i] Name: system [i] Create: False [i] Size: NOT_SET [i] Erase: True [i] Type: partitionImage [i] Image: ./unpacked/system.img [i] LZO: False [i] SPARSE: True [i] Memory Offset: NOT_SET [i] Empty Skip: False [i] Converting img to sparse ... sh: binsparseimg2simg.exe: command not found [i] Splitting sparse file... Traceback (most recent call last): File "/Users/alan/Desktop/Android_Tool/mstar-bin-tool-master/pack.py", line 193, in
chunks = utils.sparse_split(sparseFile, tmpDir, chunkSize)
File "/Users/alan/Desktop/Android_Tool/mstar-bin-tool-master/utils.py", line 85, in sparse_split
if os.path.getsize(file) < chunksize or chunksize == 0:
File "/usr/local/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: 'tmp/system.sparse'