[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 help with Updating HTC one M7 Sense (5.0) to lollipop topic
  2. [Q] Need help un-bricking my Galaxy S4 (AT&T) topic
  3. Help me need fresh install ! topic
  4. Need to go back stock and can't remove SuperSu topic
  5. [Q] Need a custom rom suggestion topic
  6. HTC 816 Dual sim need help topic
  7. [Q] No Signal/ Need Help Please!! topic
  8. Need help getting the best of my battery. topic
  9. Enable all apps in multiwindow apk paid n910C topic
  10. [Q] paid android application topic
  11. p6 does not turn on!!! (urgent) topic
  12. [Q] Urgent!! Please Help!!! Water Damage topic
  13. Urgent Help!! topic
  14. [Q] Urgent help needed with Note 4 / Tmobile issues topic
  15. [Q] Urgent Help - Accidentally dropped mobile in water.. topic
  16. [Urgent] Hard bricked yureka while updating to lollipop topic
  17. [Q] URGENT ISSUE : Uninstall App Android Warning topic
  18. [Q] URGENT ISSUE : Uninstall App Android Warning topic
  19. [Q] How to make a Nandroid Backup without cwm or twrp topic
  20. EFS backup and how important that file is topic

0 commentaires:

Enregistrer un commentaire