-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathencrypt_ref
More file actions
36 lines (15 loc) · 834 Bytes
/
encrypt_ref
File metadata and controls
36 lines (15 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
adb forward tcp:5555 tcp:5555
adb shell
su
/system/xbin/busybox nc -l -p 5555 -e $( dd if=/dev/block/mmcblk0 | gzip - )
adb forward tcp:5555 tcp:5555
cd /path/to/store/the/backup
cat mmcblk0.raw | nc 127.0.0.1 5555
nc 127.0.0.1 5555 | pv -i 0.5 | ./7-Zip/7z.exe -si{mmcblk0} -p{password} -o ../../.. -v{500m} mmcblk0
openssl des3 -salt -k "password" | split -b 500m - mmcblk0.raw.gz
nc 127.0.0.1 5555 | pv -i 0.5 | openssl des3 -salt -k "password" > mmcblk0.raw.gz
innobackupex --stream=tar . | gzip - | openssl des3 -salt -k "password" > backup.tar.gz.des3
https://habrahabr.ru/post/236397/
adb shell su -c dd if=/dev/block/mmcblk0p12 | dd of=userdata.img
http://handynotes.ru/2010/01/unix-utility-netcat.html
/system/xbin/busybox nc -l -p 5555 -e dd if=/dev/block/mmcblk0