[Q] Need urgent help with adb fastboot nandroid backup (paid assistance) topic

SOCIALIZE IT ⇨

Hi,

I have idea like "backup all data (include apps, accounts, system settings) -> wipe all data -> upload backup -> start device", but backup upload on server by ftp/sftp.

After few times another script download necessary backup and upload on phone by adb/fastboot and start device.

Now i create backup by this script (sorry, i`m only learn)

Code:


adb wait-for-device
set dirname=%date:~0,2%%date:~3,2%%date:~8,2%%time:~0,2%%time:~3,2%
mkdir %dirname% > NULL
adb shell su -c "dd if=/$(ls -la /dev/block/platform/msm_sdcc.1/by-name | grep system | sed -r 's/.* .//') of=/sdcard/blkbackup.img"
adb pull /sdcard/blkbackup.img %dirname%\system.img
adb shell rm /sdcard/blkbackup.img
adb shell su -c "dd if=/$(ls -la /dev/block/platform/msm_sdcc.1/by-name | grep boot | sed -r 's/.* .//') of=/sdcard/blkbackup.img"
adb pull /sdcard/blkbackup.img %dirname%\boot.img
adb shell rm /sdcard/blkbackup.img
adb shell su -c "dd if=/$(ls -la /dev/block/platform/msm_sdcc.1/by-name | grep recovery | sed -r 's/.* .//') of=/sdcard/blkbackup.img"
adb pull /sdcard/blkbackup.img %dirname%\recovery.img
adb shell rm /sdcard/blkbackup.img
adb shell su -c "dd if=/$(ls -la /dev/block/platform/msm_sdcc.1/by-name | grep cache | sed -r 's/.* .//') of=/sdcard/blkbackup.img"
adb pull /sdcard/blkbackup.img %dirname%\cache.img
adb shell rm /sdcard/blkbackup.img
adb shell su -c "dd if=/$(ls -la /dev/block/platform/msm_sdcc.1/by-name | grep userdata | sed -r 's/.* .//') of=/sdcard/blkbackup.img"
adb pull /sdcard/blkbackup.img %dirname%\userdata.img
adb shell rm /sdcard/blkbackup.img
adb shell "pm list package -s" > %dirname%\system.apps.list
adb shell "pm list package -3" > %dirname%d-party.apps.list


i think what this logicaly work, but in realy - dont work :( and i cant upload backup in server.
can you explain me how i can create fully backup android device and restore it adter few days in device by shellscript.

In an ideal world I see it this way:
1) made a backup using http://forum.xda-developers.com/show....php?t=1620255
2) loading on server

3) another script download the desired backup and load it on your phone or PC
4) install
4.1) profit :)

PS Since I need it urgently enough and I tried huge amount of scripts and commands - asking for your help (in debt will not stay).
PPS ubuntu

Skype: a.roman2403

xda-developers


  1. [Q] Need urgent help with adb fastboot nandroid backup (paid assistance) topic
  2. [Q] fastboot, bootlaoder topic
  3. How to Boot Into LG G3 Fastboot Mode topic
  4. [Q] "Unlock Bootloader ALLOW: no" - Phone can boot into fastboot mode topic
  5. [Q] fastboot oem lock not working, trying to relock bootloader to flash RUU topic
  6. [Q] Can not get into Fastboot Mode ? topic
  7. [Q] fastboot erase system FAILED topic
  8. [Q] FAILED (remote: signature verify fail) no matter what i try in fastboot topic
  9. [GUIDE] STOCK CM12S Installation (FASTBOOT) topic
  10. [Q] Help Me ! topic
  11. Help Please topic
  12. [Q] Hard Bricked , Need Help topic
  13. [Q] [HELP] How To MOD Dual Sim, Dual 3G, Dual Standby ? topic
  14. [Q] help about huawei music... cannot download music topic
  15. [Q] Help rooting Note 4 N910F topic
  16. [Q] Help Updating SuperSU binary topic
  17. xperia c not turning after installing cmw recovery help! topic
  18. [Q] Help! s5 softbrick topic
  19. Help please topic
  20. Is root required to roll back to KitKat? topic

0 commentaires:

Enregistrer un commentaire