How to Backup your persist.img first before Flashing
How to Backup your persist.img first before Flashing
Procedure how to back up persist.img
•Termux Method
Termux method, needs root: Download termux app from Play store, grant all permissions for the app, open it, type the following command lines:
type "su" in termux the hin enter
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist_backup.img
•Recovery Method
Recovery method, no root needed: In your recovery, head to recovery terminal, simply issue this command:
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist_backup.img
•PC Method
If you have a PC: Reboot to recovery, connect your phone to your PC with USB cord, launch cmd/terminal on your PC, make sure you have adb and device driver (if using Windows) installed, then on your PC issue these two command lines:
type "adb shell" then hit enter
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist_backup.img