Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Android 7.0 Easter Egg Backup/Restoration

WolfLeader116 May 9th, 2017 514 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. Backup Script:
  2.  
  3. @ECHO OFF
  4. set ABS_PATH=%CD%
  5. set /p prefix="Enter data prefix: "
  6. for /f "skip=1" %%x in ('wmic os get localdatetime') do if not defined MyDate set MyDate=%%x
  7. set date=%MyDate:~0,4%%MyDate:~4,2%%MyDate:~6,2%
  8. echo Backing up data to %ABS_PATH%\%prefix%_%date%.ab...
  9. adb backup -f %ABS_PATH%\%prefix%_%date%.ab com.android.egg -system
  10.  
  11.  
  12.  
  13. Restore Script:
  14.  
  15. @ECHO OFF
  16. set ABS_PATH=%CD%
  17. set /p prefix="Enter data prefix: "
  18. set /p date="Enter date in YYYYMMDD format: "
  19. echo Restoring data from %ABS_PATH%\%prefix%_%date%.ab...
  20. adb restore %ABS_PATH%\%prefix%_%date%.ab
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top