Five cents from me: You never want to do --flash-only=emmc command, that is just wrong, and if your following some flashing instruction that says to do that, then the instructions are just plain wrong too. The right command to erase lockcode and flash to factory state can be done with just one command (you never need to run 2 seperate commands). sudo flasher -f -F main.bin -F emmc.bin --erase-user-data=secure -R
flasher -f -F main.bin flasher -f -F main.bin -F emmc.bin --flash-only=mmc flasher -R