Unable to login to root

i wonder if you really do a factory reset successfully…

Do you have UART console?
you can see here to use flash_eraseall command: