J4012 Flashing issues

Sorry for the waiting. Do you mean by this statement that you are using the J4012 as a linux host?
You need to use x86 linux Ubuntu20.04 hosts, not arm