- Requires binary .img files and twrp.img file (see release section for download)
- Requires Android Debug Bridge tools and fastboot on Linux host
- For Oxygen OS 10+ just update after restoring
- This will wipe all data and restore the phone to factory
- Uses sudo to prevent permission issues and will require your hosts root password
- Prompts for each slot and for basic and recovery partitions
Start phone in fastboot mode (pwr_button + volume_dwn + volume_up)
To reflash one slot without losing data on the other slot skip wiping data and skip flashing 'persist'.
Running the following command and answer the on screen prompts
flash-all.sh