[MTCD Software Development] jnshk:
Hello, I wanted to test out the new Vivid rom on one of my Dasaita units, but have run into a hiccup.

Background:

The unit is a PX6 (1024x600) running the "stock" HA Max10 rom on Android 10 (build # RK3399-userdebug 10 QQ2A.200305.004.A1 eng.hct.20200609.160238 test-keys), MCU version MTCE_HA_V3.56_1. When attempting to "update" the rom via the usual means (OTG USB stick with the OTA update file for Vivid), it gives me the following error:

"assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list")) E:error in /mnt/usb_storage/update.zip (status 7) Installation aborted."

Apparently this is common when trying to go from Android 9 to 10, but since I'm already on Android 10 is seems unusual. I was able to use the USB stick method to update to a more recent version of the Max10 rom (HA3_rk3399_10.0_ota-20220120), but I can't seem to get it to convert over to the Vivid or Scout roms. When I compared the "dynamic_partitions_op_list" files between the Max10 and Vivid roms, I can see that the the "grow partition"/"resize system" values are different, and that appears to be what is causing the issue.

So it was suggested to me that I try to use a PC and flash the unit directly via OTG cable or jig, which brings me to the...

Current situation:

I would like to attempt to flash the Vivid rom to the unit (although I'm still waiting on my USB A-A cable to arrive sometime later today), but would like to make sure that I am prepared. As I understand it, the OTA update files will not work for flashing via OTG cable, and I will need to flash the unit with a complete IMG file first, correct? Since there do not appear to be any full IMG files for Vivid, I would have to use the generic "HCT7_rk3399_10.0_IMG(20200415)" first, and then "update" the system to Vivid using the OTA file?

I've downloaded a few of the tools mentioned in this thread, but am not 100% sure of the preferred steps for using them. It seems that the "RK3xxx_firmware_tools_5.78.35.00" is the most recently recommended application. I've opened the software to have a look, but I assume that it won't really be functional until it detects the RockChip unit has connected, right?

I see options for the firmware:

- "open project folder" which seems to result in an "uncorrect project folder" error any time I click it. Does this get populated once an img is selected and extracted?

- "select img" which seems to be where I would choose the full image file that I have downloaded and want to flash to the unit?

- "extract" which I assume unpacks the img file into a structure of files and folders on the PC, which could then be tweaked if necessary?

- "build" which I assume would then take the modified files and repack them to an img file?

- "flash" which I assume flashes the device with the new firmware.

There are similar options for system.img and boot.img, which I assume would function in the same manner... extract the system/boot files, modify as needed, rebuild, and then rebuild the complete firmware?

Also, before I proceed, is there any way to "extract" and back up my existing system image just in case things somehow go horribly wrong? If my understanding of the firmware tools software above is correct then this is not possible using that particular software, correct?

I have also downloaded the RKDevTool v 2.84, which seems to be the most recent version of the original tool from post #1. As the "OG" tool, is this still preferred over the more recent 'firmware tools' mentioned above? It seems as though it offers more capability than the other, and if I'm understanding the user manual correctly then I may be able to use the "export config" on the "download image" tab or the "export image" in the "advanced function" tab to download a backup of the existing system/partitions to the computer? And then to flash the new firmware I would use the "upgrade firmware" tab?

I apologize in advance if it seems like I'm asking foolish questions here, but I'm just slightly overwhelmed. These threads sometimes get a bit convoluted and conflicting over time (although I will say that this one has been kept fairly clean, thankfully!) many pages of comments. I don't mind wading in, but I don't want to just dive in over my head if I can help it. Thanks for any assistance/clarification that you can lend.