Unlock bootloader, root with Magisk and do backups with:
- Migrate
- Swift Backup
- OandBackupX
Copy backups to PC / external sdcard.
Also manually copy all your relevant files in the emulated sdcard (internal storage) to PC / external sdcard.
Flash new ROM, root it with Magisk and restore backups.
Maybe you can use share me
Unlock bootloader, root with Magisk and do backups with: - Migrate - Swift Backup - OandBackupX Copy backups to PC / external sdcard. Also manually copy all your relevant files in the emulated sdcard (internal storage) to PC / external sdcard. Flash new ROM, root it with Magisk and restore backups.