[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] New to phone - on 24A rooted - where to go from here? topic
  2. Htc desire 816 official lollipop update video review topic
  3. [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
  4. How to roll back to KK topic
  5. What is this in Greenify settings topic
  6. [Q] How to update? topic
  7. EU NanDroid (ROM) Backup topic
  8. [Q] Upgrade 5.0.1 and setup OK. Nandroid Backup OK. Boot Loop on Nandroid Restore topic
  9. [Q] Touchscreen stopped working after installing nandroid backup. topic
  10. Nandroid backup sd card? topic
  11. [Q]: Nandroid after Lollipop? topic
  12. Need Lava X5 stock kitkat rom flashable zip topic
  13. [Q] Need help with Updating HTC one M7 Sense (5.0) to lollipop topic
  14. [Q] Need help un-bricking my Galaxy S4 (AT&T) topic
  15. Help me need fresh install ! topic
  16. Need to go back stock and can't remove SuperSu topic
  17. [Q] Need a custom rom suggestion topic
  18. HTC 816 Dual sim need help topic
  19. [Q] No Signal/ Need Help Please!! topic
  20. Need help getting the best of my battery. topic

0 commentaires:

Enregistrer un commentaire