GL-AR300M Unable to flash NAND

You could have skipped the de-soldering of the chip if you used an IC Clip like this one and programmer:

You can see a guide i posted on another forum on modifying the memory of a clamp meter:

It also reduces the complexity, just a dropdown to select the memory type, from the silkscreen on the chip itself, no mucking around with linux commands and setting up the raspberry pi.