At this point there will be two firmware: our firmware and the pokemon go plus firmware If we modify a firmware using SPI flasher, we just overwrite existing firmware and the valid flag is kept on is called, and set the mem_base_add to the beginning of our firmware header, where the valid flag is Send the last part of the data, which will overwrite the firmware header.