forked from tnaegeli/multiple_bebops
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcopy_files.sh
More file actions
executable file
·21 lines (19 loc) · 867 Bytes
/
Copy pathcopy_files.sh
File metadata and controls
executable file
·21 lines (19 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
adb shell mount -o remount,rw / &&
adb push libiw.so.29 /lib/libiw.so.29 &&
adb push libiw.so /lib/libiw.so &&
adb push ifrename /sbin/ifrename &&
adb push iwconfig /sbin/iwconfig &&
adb push iwevent /sbin/iwevent &&
adb push iwgetid /sbin/iwgetid &&
adb push iwlist /sbin/iwlist &&
adb push iwpriv /sbin/iwpriv &&
adb push iwspy /sbin/iwspy &&
adb push wpa_cli /bin/wpa_cli &&
adb push wpa_passphrase /bin/wpa_passphrase &&
adb push wpa_supplicant /bin/wpa_supplicant &&
adb push shortpress_3.sh /bin/onoffbutton/shortpress_3.sh &&
adb shell chmod 777 /bin/onoffbutton/shortpress_3.sh &&
adb push shortpress_5.sh /bin/onoffbutton/shortpress_5.sh &&
adb shell chmod 777 /bin/onoffbutton/shortpress_5.sh &&
#add the symbolic link needed to interpret wpa_passphrase and wpa_supplicant in dev firmware
adb shell ln -s /lib/ld-2.19-2014.08-1-git.so /lib/ld-linux.so.3