Hey I am able to produce right partition hash, inded its adler32 algo as mentioned in oshmoun link to the ta header, with that thing I am prety sure we can reconstruct unlocked trim area back to locked state by restoring back most important units, removing unit 8b2 and restoring back deleted unit 1046B and finaly generate right adler32 hash into partition header. I am not 100% sure in all that but 50% it is possible

Every unit contain 4 magic bytes, 4 bytes unit name, 4 bytes unit lenght, 4 bytes 0xFF, and unit data. Unit data must be 4 bytes aligned, for example if unit data contain 9 bytes in lenght 3 extra bytes must be added at the end 0xFFFFFF. Trim area contain two partitions, one is trim partition and seccond is misc partition. Every partition contain partition header, partition header contain 4 magic bytes, 4 bytes adler32 hash, and 6 extra bytes which contain partition num, partition part and partition number of blocks. Adler32 is calculated on 6 extra bytes after adler32 hash & partition data. Thats all which I know now. Sorry for being offtopic but if this is realy possible we no need any rooting tool and any tadumper, just use flash tool for dump trim area, than unlock bootloader, boot an recovery, install rooting package, dump unlocked trim area, reconstruct unlocked trim area, flash reconstructed trim area back and ooola
Sure, but only ~0xA0000 bytes is used, the rest is 0x0 ! In general 15 percent of that 0xA0000 bytes is important, the rest is logs!
Is flashtool able to dump unit 1046B ?