mkdir Android-14-vim4 && cd Android-14-vim4 export OSVER=14 export VER=v240822-beta curl http://docs.khadas.com/_export/code/scripts/oowow-dump2xz?codeblock=0 | sh -s - % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1837 0 1837 0 0 2209 0 --:--:-- --:--:-- --:--:-- 2210 DUMP data ... PING 172.22.1.1 (172.22.1.1) 56(84) bytes of data. --- 172.22.1.1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.343/0.343/0.343/0.000 ms BOARD: VIM4 Warning: Permanently added '172.22.1.1' (ED25519) to the list of known hosts. The backup GPT table is corrupt, but the primary appears OK, so that will be used. -- 8124416, - size= 52946936, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=1FE84740-97C9-8C42-98E2-C47015AECEC7, name="userdata", attrs="GUID:50,60" Dump image from VIM4 > VIM4-emmc-dump.img 4159700992 bytes ...wait... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8485 0 8485 0 0 8496 0 --:--:-- --:--:-- --:--:-- 8493 # curl -L 172.22.1.1/api/disk/rdz/mmc.zst:4159700992 -oVIM4-emmc-dump.img.zst % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1032M 0 1032M 0 0 9.8M 0 --:--:-- 0:01:44 --:--:-- 4000 # zstd -d VIM4-emmc-dump.img.zst VIM4-emmc-dump.img.zst: 4159700992 bytes CONVERT VIM4-emmc-dump.img to vim4-android-14-v240822-beta.img ... # truncate -s+50M VIM4-emmc-dump.img # mv VIM4-emmc-dump.img vim4-android-14-v240822-beta.img # sh ./xze vim4-android-14-v240822-beta.img --meta label=Android builder=Khadas date=Thu Aug 22 02:58:40 AM GMT 2024 match=BOARD=VIM4 duration=90 desc=VIM4 Android 14 v240822-beta [i] xze compress vim4-android-14-v240822-beta.img (4212129792 bytes) > vim4-android-14-v240822-beta.img.xz # /usr/bin/xz -T8 --block-size 90M -k -c -F xz --verbose vim4-android-14-v240822-beta.img (1/1) 100 % 883.8 MiB / 4,017.0 MiB = 0.220 46 MiB/s 1:27 [i] padded to 926724096 from 926722204 + 1892 [i] XZ info Strms Blocks Compressed Uncompressed Ratio Check Filename 1 45 883.8 MiB 4,017.0 MiB 0.220 CRC64 vim4-android-14-v240822-beta.img.xz [i] add meta block ##META_FILE## FILE: vim4-android-14-v240822-beta.img.xz UNPACKED_SIZE: 4212129792 PACKED_SIZE: 926724096 FILE_SIZE: 926728192 ##META-FILE## ##KRESCUE_META## type:xz label: Android builder: Khadas date: Thu Aug 22 02:58:40 AM GMT 2024 match: BOARD=VIM4 duration: 90 desc: VIM4 Android 14 v240822-beta image: vim4-android-14-v240822-beta.img ##KRESCUE-META## ##KRESCUE##END [i] padded to 4096 from 308 + 3788