If you are prototyping, a script might work. If you are shipping 1,000+ units, EFRPME's "Easy" tagline is real—it saves weeks of debugging corrupted Flash partitions.
: Provides direct links to internal device settings and applications to bypass the Google account verification screen. Broad Device Support efrpme easy firmware
void setup() pinMode(LED_PIN, OUTPUT); // Set pin as output If you are prototyping, a script might work