Last active
May 6, 2024 09:26
-
-
Save silvae86/d3d603133827a47355fb39c98ebf877d to your computer and use it in GitHub Desktop.
Revisions
-
silvae86 revised this gist
Mar 8, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ adb shell #ls -l /dev/block/platform/<block_device_name>/by-name/ #for the Galaxy Note 3 ls -l /dev/block/platform/msm_sdcc.1/by-name/ #for Galaxy Note 3, handles 4GB Limit on SD Card by splitting the backup into 2000MB Parts. -
silvae86 revised this gist
Mar 8, 2017 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,14 @@ #!/sbin/sh #open adb shell adb shell #listing partitions (general command for Android devices) #ls -l /dev/block/platform/<block_device_name>/by-name/ #for the Galaxy Note 3 #ls -l /dev/block/platform/msm_sdcc.1/by-name/ #for Galaxy Note 3, handles 4GB Limit on SD Card by splitting the backup into 2000MB Parts. #backup -
silvae86 revised this gist
Feb 27, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ #!/sbin/sh #for Galaxy Note 3, handles 4GB Limit on SD Card by splitting the backup into 2000MB Parts. #backup dd if=/dev/block/platform/msm_sdcc.1/by-name/boot | gzip -c | split -b 2000m - /external_sd/backup_dd/boot.gz. -
silvae86 created this gist
Feb 27, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #!/sbin/sh #for Galaxy Note 3 #backup dd if=/dev/block/platform/msm_sdcc.1/by-name/boot | gzip -c | split -b 2000m - /external_sd/backup_dd/boot.gz. dd if=/dev/block/platform/msm_sdcc.1/by-name/userdata | gzip -c | split -b 2000m - /external_sd/backup_dd/userdata.gz. dd if=/dev/block/platform/msm_sdcc.1/by-name/system | gzip -c | split -b 2000m - /external_sd/backup_dd/system.gz. #restore cat /external_sd/backup_dd/boot.gz* | gzip -dc | dd of=/dev/block/platform/msm_sdcc.1/by-name/boot cat /external_sd/backup_dd/userdata.gz* | gzip -dc | dd of=/dev/block/platform/msm_sdcc.1/by-name/userdata cat /external_sd/backup_dd/system.gz* | gzip -dc | dd of=/dev/block/platform/msm_sdcc.1/by-name/system