Difference between revisions of "FTC adb Android Debugging Bridge 202008"
From wikidb
m (Edc moved page Adb Android Debugging Bridge 202008 to FTC adb Android Debugging Bridge 202008) |
(→Install) |
||
Line 14: | Line 14: | ||
* Users\epp\AppData\Local\Adroid\sdk\platform-tools | * Users\epp\AppData\Local\Adroid\sdk\platform-tools | ||
Probably from an Android Studio install | Probably from an Android Studio install | ||
+ | |||
+ | <pre> | ||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb connect 192.168.43.1 | ||
+ | connected to 192.168.43.1:5555 | ||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb devices | ||
+ | List of devices attached | ||
+ | 192.168.43.1:5555 device | ||
+ | |||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb shell ls | ||
+ | acct | ||
+ | bugreports | ||
+ | cache | ||
+ | charger | ||
+ | config | ||
+ | d | ||
+ | data | ||
+ | default.prop | ||
+ | dev | ||
+ | drmboot.ko | ||
+ | etc | ||
+ | file_contexts.bin | ||
+ | fstab.rk30board | ||
+ | fstab.rk30board.bootmode.emmc | ||
+ | fstab.rk30board.bootmode.unknown | ||
+ | ftc_startup.sh | ||
+ | init | ||
+ | init.box.rc | ||
+ | init.box.samba.rc | ||
+ | init.connectivity.rc | ||
+ | init.environ.rc | ||
+ | init.ftc.rc | ||
+ | init.optee.rc | ||
+ | init.rc | ||
+ | init.rk30board.bootmode.emmc.rc | ||
+ | init.rk30board.bootmode.nvme.rc | ||
+ | init.rk30board.bootmode.unknown.rc | ||
+ | init.rk30board.environment.rc | ||
+ | init.rk30board.rc | ||
+ | init.rk30board.usb.rc | ||
+ | init.rockchip.rc | ||
+ | init.usb.configfs.rc | ||
+ | init.usb.rc | ||
+ | init.zygote32.rc | ||
+ | init.zygote64_32.rc | ||
+ | metadata | ||
+ | mnt | ||
+ | oem | ||
+ | proc | ||
+ | property_contexts | ||
+ | res | ||
+ | rk30xxnand_ko.ko | ||
+ | root | ||
+ | sbin | ||
+ | sdcard | ||
+ | seapp_contexts | ||
+ | selinux_version | ||
+ | sepolicy | ||
+ | service_contexts | ||
+ | storage | ||
+ | sys | ||
+ | system | ||
+ | ueventd.rc | ||
+ | ueventd.rk30board.rc | ||
+ | vendor | ||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools> | ||
+ | |||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb pull sdcard/robotControllerLog.txt | ||
+ | sdcard/robotControllerLog.txt: 1 file pulled. 3.3 MB/s (1257240 bytes in 0.364s) | ||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools>dir | ||
+ | Volume in drive C is OS | ||
+ | Volume Serial Number is 081E-1B30 | ||
+ | |||
+ | Directory of C:\Users\epp\AppData\Local\Android\sdk\platform-tools | ||
+ | |||
+ | 08/01/2020 01:39 PM <DIR> . | ||
+ | 08/01/2020 01:39 PM <DIR> .. | ||
+ | 09/27/2019 01:13 PM 3,233,280 adb.exe | ||
+ | 09/27/2019 01:13 PM 97,792 AdbWinApi.dll | ||
+ | 09/27/2019 01:13 PM 62,976 AdbWinUsbApi.dll | ||
+ | 09/27/2019 01:13 PM <DIR> api | ||
+ | 09/27/2019 01:13 PM 242,176 dmtracedump.exe | ||
+ | 09/27/2019 01:13 PM 419,328 etc1tool.exe | ||
+ | 09/27/2019 01:13 PM 1,339,392 fastboot.exe | ||
+ | 09/27/2019 01:13 PM 43,008 hprof-conv.exe | ||
+ | 09/27/2019 01:13 PM <DIR> lib64 | ||
+ | 09/27/2019 01:13 PM 211,018 libwinpthread-1.dll | ||
+ | 09/27/2019 01:13 PM 413,696 make_f2fs.exe | ||
+ | 09/27/2019 01:13 PM 1,170 mke2fs.conf | ||
+ | 09/27/2019 01:13 PM 1,049,600 mke2fs.exe | ||
+ | 09/27/2019 01:13 PM 298,286 NOTICE.txt | ||
+ | 09/27/2019 01:13 PM 17,783 package.xml | ||
+ | 08/01/2020 01:39 PM 1,257,240 robotControllerLog.txt | ||
+ | 09/27/2019 01:13 PM 38 source.properties | ||
+ | 09/27/2019 01:13 PM 1,354,240 sqlite3.exe | ||
+ | 09/27/2019 01:13 PM <DIR> systrace | ||
+ | 16 File(s) 10,041,023 bytes | ||
+ | 5 Dir(s) 70,512,762,880 bytes free | ||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb pull storage/emulated/0/FIRST/velocityRamp202008101352.csv | ||
+ | storage/emulated/0/FIRST/velocityRamp202008101352.csv: 1 file pulled. 0.1 MB/s (1041 bytes in 0.013s) | ||
+ | |||
+ | C:\Users\epp\AppData\Local\Android\sdk\platform-tools> | ||
+ | |||
+ | |||
+ | </pre> |
Revision as of 08:31, 21 August 2020
References
- Wireless Programming for FTC Robots
- install Android Debug Bridge (adb)
- Android customization – how to transfer files using ADB push and pull commands
- FTC workshop debugging
- log on page 72
- also ADB Android Debug Bridge http://developer.android.com/tools/help/adb.html
Install
I found adb in
- Users\epp\AppData\Local\Adroid\sdk\platform-tools
Probably from an Android Studio install
C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb connect 192.168.43.1 connected to 192.168.43.1:5555 C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb devices List of devices attached 192.168.43.1:5555 device C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb shell ls acct bugreports cache charger config d data default.prop dev drmboot.ko etc file_contexts.bin fstab.rk30board fstab.rk30board.bootmode.emmc fstab.rk30board.bootmode.unknown ftc_startup.sh init init.box.rc init.box.samba.rc init.connectivity.rc init.environ.rc init.ftc.rc init.optee.rc init.rc init.rk30board.bootmode.emmc.rc init.rk30board.bootmode.nvme.rc init.rk30board.bootmode.unknown.rc init.rk30board.environment.rc init.rk30board.rc init.rk30board.usb.rc init.rockchip.rc init.usb.configfs.rc init.usb.rc init.zygote32.rc init.zygote64_32.rc metadata mnt oem proc property_contexts res rk30xxnand_ko.ko root sbin sdcard seapp_contexts selinux_version sepolicy service_contexts storage sys system ueventd.rc ueventd.rk30board.rc vendor C:\Users\epp\AppData\Local\Android\sdk\platform-tools> C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb pull sdcard/robotControllerLog.txt sdcard/robotControllerLog.txt: 1 file pulled. 3.3 MB/s (1257240 bytes in 0.364s) C:\Users\epp\AppData\Local\Android\sdk\platform-tools>dir Volume in drive C is OS Volume Serial Number is 081E-1B30 Directory of C:\Users\epp\AppData\Local\Android\sdk\platform-tools 08/01/2020 01:39 PM <DIR> . 08/01/2020 01:39 PM <DIR> .. 09/27/2019 01:13 PM 3,233,280 adb.exe 09/27/2019 01:13 PM 97,792 AdbWinApi.dll 09/27/2019 01:13 PM 62,976 AdbWinUsbApi.dll 09/27/2019 01:13 PM <DIR> api 09/27/2019 01:13 PM 242,176 dmtracedump.exe 09/27/2019 01:13 PM 419,328 etc1tool.exe 09/27/2019 01:13 PM 1,339,392 fastboot.exe 09/27/2019 01:13 PM 43,008 hprof-conv.exe 09/27/2019 01:13 PM <DIR> lib64 09/27/2019 01:13 PM 211,018 libwinpthread-1.dll 09/27/2019 01:13 PM 413,696 make_f2fs.exe 09/27/2019 01:13 PM 1,170 mke2fs.conf 09/27/2019 01:13 PM 1,049,600 mke2fs.exe 09/27/2019 01:13 PM 298,286 NOTICE.txt 09/27/2019 01:13 PM 17,783 package.xml 08/01/2020 01:39 PM 1,257,240 robotControllerLog.txt 09/27/2019 01:13 PM 38 source.properties 09/27/2019 01:13 PM 1,354,240 sqlite3.exe 09/27/2019 01:13 PM <DIR> systrace 16 File(s) 10,041,023 bytes 5 Dir(s) 70,512,762,880 bytes free C:\Users\epp\AppData\Local\Android\sdk\platform-tools> C:\Users\epp\AppData\Local\Android\sdk\platform-tools>adb pull storage/emulated/0/FIRST/velocityRamp202008101352.csv storage/emulated/0/FIRST/velocityRamp202008101352.csv: 1 file pulled. 0.1 MB/s (1041 bytes in 0.013s) C:\Users\epp\AppData\Local\Android\sdk\platform-tools>