forked from GoJerry/unidbg
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pull.sh
33 lines (28 loc) · 1021 Bytes
/
pull.sh
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
#!/usr/bin/env sh
mkdir dev
adb shell cat /dev/__properties__ > dev/__properties__
mkdir -p system/usr/share/zoneinfo
adb pull /system/usr/share/zoneinfo/tzdata system/usr/share/zoneinfo
mkdir lib
adb pull /system/lib/libc.so lib
adb pull /system/lib/libc++.so lib/libcpp.so
adb pull /system/lib/libdl.so lib
adb pull /system/lib/liblog.so lib
adb pull /system/lib/libm.so lib
adb pull /system/lib/libstdc++.so lib/libstdcpp.so
adb pull /system/lib/libz.so lib
adb pull /system/lib/libcrypto.so lib
adb pull /system/lib/libssl.so lib
adb pull /system/lib/libnetd_client.so lib
set -e
mkdir lib64
adb pull /system/lib64/libc.so lib64
adb pull /system/lib64/libc++.so lib64/libcpp.so
adb pull /system/lib64/libdl.so lib64
adb pull /system/lib64/liblog.so lib64
adb pull /system/lib64/libm.so lib64
adb pull /system/lib64/libstdc++.so lib64/libstdcpp.so
adb pull /system/lib64/libz.so lib64
adb pull /system/lib64/libcrypto.so lib64
adb pull /system/lib64/libssl.so lib64
adb pull /system/lib64/libnetd_client.so lib64