Take Oneplus 13 as an example
- Get the factory image of the current system version
- Confirm the modified partitions,
init_boot
/boot
/dtbo
/recovery
?- If you are unsure, you can use md5 comparison or apply the new version using the Full OTA or flash the new factory images, then enter the standard root process
- Get the factory images of these partitions
- Can use
payload-dumper
to extract it from the stock Full OTA package of the current system version
- Can use
- Confirm the modified partitions,
- Restore the current system to stock