1. Download our Official Android App: Forums for Android!

Support failing to control SE WT19i trough ADB

Discussion in 'Android Help' started by harcha, Feb 19, 2016.

  1. harcha

    harcha Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Feb 19, 2016

    Feb 19, 2016
    1
    0
    5
    Male
    Hello. I have a SE WT19i (ICS 4.0.4., rooted, bootloader - unlocked, adb enabled) phone with a broken digitizer (I accidentally tore the connector off from the main printed board while trying to clean out dust from cameras due to a bad design).

    I would very much like to use this phone as a webcam for a PC as I did until I ruined it when I tried to clean the dust from inside.

    Since my digitizer is not responding I wanted to use USB ADB to adjust some settings in the webcam app so that it would automatically turn on with the phone. But I haven't been able to do this. I've tried a couple of programs I found on the google and the best I've come up with is a program being able to make and fetch screenshots from the phone but the feature of simulating tapping in the phone would not work. This seems correct as 4.0 does not support adb input tap x y, but even when I'm trying to do adb input keyevent 3 or 26 or 82 the phone does not react at all.

    adb device shows my device (usually) and adb help spews out a lot of stuff I don't find useful.
    Code (Text):
    1. Android Debug Bridge version 1.0.31
    2.  
    3. -a                            - directs adb to listen on all interfaces for a connection
    4. -d                            - directs command to the only connected USB device
    5.                                  returns an error if more than one USB device is present.
    6. -e                            - directs command to the only running emulator.
    7.                                  returns an error if more than one emulator is running.
    8. -s <specific device>          - directs command to the device or emulator with the given
    9.                                  serial number or qualifier. Overrides ANDROID_SERIAL
    10.                                  environment variable.
    11. -p <product name or path>     - simple product name like 'sooner', or a relative/absolute path to a product
    12.                                  out directory like 'out/target/product/sooner'.
    13.                                  If -p is not specified, the ANDROID_PRODUCT_OUT
    14.                                  environment variable is used, which must
    15.                                  be an absolute path.
    16. -H                            - Name of adb server host (default: localhost)
    17. -P                            - Port of adb server (default: 5037)
    18. devices [-l]               - list all connected devices ('-l' will also list device qualifiers)
    19. connect <host>[:<port>]       - connect to a device via TCP/IP
    20.                                  Port 5555 is used by default if no port number is specified.
    21. disconnect [<host>[:<port>]]  - disconnect from a TCP/IP device.
    22.                                  Port 5555 is used by default if no port number is specified.
    23.                                  Using this command with no additional arguments
    24.                                  will disconnect from all connected TCP/IP devices.
    25.  
    26. device commands:
    27.   adb push [-p] <local> <remote>
    28.                                - copy file/dir to device
    29.                                  ('-p' to display the transfer progress)
    30.   adb pull [-p] [-a] <remote> [<local>]
    31.                                - copy file/dir from device
    32.                                  ('-p' to display the transfer progress)
    33.                                  ('-a' means copy timestamp and mode)
    34.   adb sync [ <directory> ]     - copy host->device only if changed
    35.                                  (-l means list but don't copy)
    36.                                  (see 'adb help all')
    37.   adb shell                    - run remote shell interactively
    38.   adb shell <command>          - run remote shell command
    39.   adb emu <command>            - run emulator console command
    40.   adb logcat [ <filter-spec> ] - View device log
    41.   adb forward --list           - list all forward socket connections.
    42.                                  the format is a list of lines with the followin
    43. g format:
    44.                                     <serial> " " <local> " " <remote> "\n"
    45.   adb forward <local> <remote> - forward socket connections
    46.                                  forward specs are one of:
    47.                                    tcp:<port>
    48.                                    localabstract:<unix domain socket name>
    49.                                    localreserved:<unix domain socket name>
    50.                                    localfilesystem:<unix domain socket name>
    51.                                    dev:<character device name>
    52.                                    jdwp:<process pid> (remote only)
    53.   adb forward --no-rebind <local> <remote>
    54.                                - same as 'adb forward <local> <remote>' but fails
    55.                                  if <local> is already forwarded
    56.   adb forward --remove <local> - remove a specific forward socket connection
    57.   adb forward --remove-all     - remove all forward socket connections
    58.   adb jdwp                     - list PIDs of processes hosting a JDWP transport
    59.  
    60.   adb install [-l] [-r] [-d] [-s] [--algo <algorithm name> --key <hex-encoded key> --iv <hex-encoded iv>] <file>
    61.                                - push this package file to the device and install it
    62.                                  ('-l' means forward-lock the app)
    63.                                  ('-r' means reinstall the app, keeping its data)
    64.                                  ('-d' means allow version code downgrade)
    65.                                  ('-s' means install on SD card instead of internal storage)
    66.                                  ('--algo', '--key', and '--iv' mean the file isencrypted already)
    67.   adb uninstall [-k] <package> - remove this app package from the device
    68.                                  ('-k' means keep the data and cache directories)
    69.   adb bugreport                - return all information from the device
    70.                                  that should be included in a bug report.
    71.  
    72.   adb backup [-f <file>] [-apk|-noapk] [-obb|-noobb] [-shared|-noshared] [-all]
    73. [-system|-nosystem] [<packages...>]
    74.                                - write an archive of the device's data to <file>.
    75.                                  If no -f option is supplied then the data is written
    76.                                  to "backup.ab" in the current directory.
    77.                                  (-apk|-noapk enable/disable backup of the .apks themselves
    78.                                     in the archive; the default is noapk.)
    79.                                  (-obb|-noobb enable/disable backup of any installed apk expansion
    80.                                     (aka .obb) files associated with each application; the default
    81.                                     is noobb.)
    82.                                  (-shared|-noshared enable/disable backup of thedevice's
    83.                                     shared storage / SD card contents; the default is noshared.)
    84.                                  (-all means to back up all installed applications)
    85.                                  (-system|-nosystem toggles whether -all automatically includes
    86.                                     system applications; the default is to include system apps)
    87.                                  (<packages...> is the list of applications to be backed up.  If
    88.                                     the -all or -shared flags are passed, then the package
    89.                                     list is optional.  Applications explicitly given on the
    90.                                     command line will be included even if -nosystem would
    91.                                     ordinarily cause them to be omitted.)
    92.  
    93.   adb restore <file>           - restore device contents from the <file> backup
    94. archive
    95.  
    96.   adb help                     - show this help message
    97.   adb version                  - show version num
    98.  
    99. scripting:
    100.   adb wait-for-device          - block until device is online
    101.   adb start-server             - ensure that there is a server running
    102.   adb kill-server              - kill the server if it is running
    103.   adb get-state                - prints: offline | bootloader | device
    104.   adb get-serialno             - prints: <serial-number>
    105.   adb get-devpath              - prints: <device-path>
    106.   adb status-window            - continuously print device status for a specifie
    107. d device
    108.   adb remount                  - remounts the /system partition on the device re
    109. ad-write
    110.   adb reboot [bootloader|recovery] - reboots the device, optionally into the boo
    111. tloader or recovery program
    112.   adb reboot-bootloader        - reboots the device into the bootloader
    113.   adb root                     - restarts the adbd daemon with root permissions
    114.   adb usb                      - restarts the adbd daemon listening on USB
    115.   adb tcpip <port>             - restarts the adbd daemon listening on TCP on th
    116. e specified port
    117. networking:
    118.   adb ppp <tty> [parameters]   - Run PPP over USB.
    119. Note: you should not automatically start a PPP connection.
    120. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1
    121. [parameters] - Eg. defaultroute debug dump local notty usepeerdns
    122.  
    123. adb sync notes: adb sync [ <directory> ]
    124.   <localdir> can be interpreted in several ways:
    125.  
    126.   - If <directory> is not specified, both /system and /data partitions will be u
    127. pdated.
    128.  
    129.   - If it is "system" or "data", only the corresponding partition
    130.     is updated.
    131.  
    132. environmental variables:
    133.   ADB_TRACE                    - Print debug information. A comma separated listof the following values
    134.                                  1 or all, adb, sockets, packets, rwx, usb, sync, sysdeps, transport, jdwp
    135.   ANDROID_SERIAL               - The serial number to connect to. -s takes priority over this if given.
    136.   ANDROID_LOG_TAGS             - When used with the logcat option, only these debug tags are printed.
    Is there a way for me to control my device and can you help me find it?
     

    Advertisement

Share This Page

Loading...