How to take TWRP Backup via ADB on PC
- Setup ADB on your PC.
- Connect your device to the PC via USB.
- Enable Developer options on your device:
- Go to Settings » About phone.
- Tap Build number 7 times until it says You are now a developer.
- Under Setting » Developer options, set USB debugging to On.
- Reboot your device into TWRP recovery.
- On your PC, create a new folder where you want to save the TWRP backup files. Then do Shift + Right click on any empty white space inside the folder, and select Open command window here from the context menu.
- Once command window is open, type in the following command to initiate TWRP backup:
- adb backup --twrp
- This will bring up the GUI and allow you to choose partitions from the backup page.
- Select the partitions you want to include in your backup and then Swipe to backup.
- Wait until backup process finishes. Once completed, you can disconnect your device from the PC.
How to Restore TWRP backup via ADB?
If you can take a TWRP backup via ADB, you can of course restore it back to the directly from the PC via ADB. To do that, do the following:
- Open a command window inside the folder where you saved the TWRP backup on your PC.
- Boot your device into TWRP recovery, and connect to the PC via USB.
- Issue the following command into the command window:
- adb restore backup.ab
0 Comments
Posting Komentar