yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] mllora81:
DeskDock Wireless

Interesting you ask this because I wanted to do the same thing and just got it working yesterday. It was pretty easy. There are wireless ADB apps in the play store. Since I am rooted I used this one https://play.google.com/store/apps/details?id=moe.haruue.wadb If you are not rooted you can use this one https://play.google.com/store/apps/details?id=za.co.henry.hsu.adbwirelessbyhenry

Steps to get it working:

1. Make sure your device and your PC are connected to the same network.

2. Connect your phone via usb cable to your PC.

3. From command prompt run "adb tcpip 5555"

4. Run ADB Wireless app on your device.

5. Connect to your device's ip address by entering the command "adb connect XXX.XXX.XX.X"

6. Once connected you can unplug the usb cable.

Once I did that DeskDock recognized my phone was connected and I was able to control it from my computer wirelessly. Let me know if you need help.

*To revert back to using adb via usb run "adb usb" from command prompt.
[Android Apps and Games] usb7:
Great write up! Got it working.

"adb connect XXX.XXX.XX.X"
[Android Apps and Games] Shpaq4Fun:
FAIL

I just bought a pro version and it doesn't work. Considering that free version works, I would love to get some help, because other people report it working properly. My issue is that device is "detected" but not "connected". I did everything in the instructions and free version works, so I think it is not the mistake on my end. Please help.

EDIT: it worked only after installing free version and uninstalling it leaving only the pro version on the device.
[Android Apps and Games] Shpaq4Fun:
Doesn't work, device is detected but not connected. Works properly via USB. Lenovo Tab 2 A10-70L, Android 5.0.1 vanilla. I really need wireless bcs tablet is not charging fast enough when connected to PC via USB and it dies eventually. Any ideas?
[Android Apps and Games] Tiggi2017:
Wireless via WiFi

Hey! It would be great if you somehow can implement a way to make it work wirelessly. The method with terminal commands doesn't work on Mac.

Vysor pro version can do and connect adb wirelessly, so there shouldn't be any problems doing the same with deskdock right?

Wireless function would greatly improve the experience working with my tablet. Direct connection with pc via usb doesn't charge my tablet that much...
[Android Apps and Games] FD_:
adb tcpip really should work. You might have to restart the server program after switching to wireless mode.
[Android Apps and Games] daroco3:
Inverted Cursor

Hi there,

I'm having an issue where my cursor directions are inverted when I switch over to the phone. So as soon as I move the cursor to the right edge of the PC screen, it transfers to the phone, but then I move it any more to the right, and the cursor goes left, and exits the phone and goes back to the desktop. Up goes down as well. This only happens on my desktop (windows 10, logitech kb/mouse) - with the win 10 laptop it works fine. Any ideas or tips on how I could go about fixing this? Thanks for making this. I have installed the same USB drivers for both. Samsung S8+
[Android Apps and Games] printf83:
change pointer

hi. how to change pointer icon? i like the circle icon. and make it change color when click. i want to create tutorial video.
[Android Apps and Games] to2n:
bug report

Hi! I use windows 8.1 + meizu mx2 (android 5.0.1) connected through WiFi adb. I cann't see cursor on mobile, but clicking, swiping, keyboard input all work fine.
[Android Apps and Games] AthieN:
Not sure if this is still supported or not? But I am testing this out on my Android TV device. I've been able to get the app to recognize that the device is there, but it will not connect.

I created a log file from the server and the issue is that it can't connect because it is unable to retrieve my device's serial number. I was able to verify in Settings > About > Status. It does say that the serial number is "unknown". I'm not sure if it's supposed to say that since this is simply an Android TV device or not? But regardless, is there some way of making this work without needing the serial number?

From the log:

2018-02-02 16:26:56.299 l@879e3d: New device: 192.168.1.117:5555

2018-02-02 16:26:56.377 l@879e3d: Could not get device serial

2018-02-02 16:26:56.377 l@879e3d: New device: 192.168.1.117:5555

2018-02-02 16:26:56.455 l@879e3d: Could not get device serial

2018-02-02 16:26:56.455 l@879e3d: New device: 192.168.1.117:5555

2018-02-02 16:26:56.533 l@879e3d: Could not get device serial

2018-02-02 16:26:56.533 b@fb915: Could not connect to device despite retries

Any help would be appreciated! I'm tired of using 2 mice, and 2 keyboards! lol
[Android Apps and Games] FD_:
Does changing the phone position in the settings dialog help?

Not possible.

Well, that's strange!

The serial number is needed in the current version to distinguish between multiple devices (the server supports multiple devices at once). A device usually has a unique serial number. I'm a bit baffled devices can have an unknown serial number.
[Android Apps and Games] daroco3:
I will give this a try today, thanks for replying!
[Android Apps and Games] to2n:
Log item from logcat when I move mouse over mobile screen : https:// i.imgur.com/CFxgu2Q.png

How can I help to fix this issue on my phone? May be you have some debug-build with extended logs?
[Android Apps and Games] {Diemex}:
Can't get the Server to run on Linux

Ubuntu 16.04 LTS

Gnome-Shell

Hope you can help me to get this to work. Sounds lit AF.
[Android Apps and Games] Humpie:
Hi, I just bought deskdock and I'm trying to get it to work on Arch linux. It all connects correctly aside from a "Could not load profiles: java.io.EOFException". So the phone connects but I cannot set up where it should be added to the display. In my taskbar I can see a java program is running, but I can't right click and open the gui like in windows. I have Gnome3 btw.

Edit: perhaps I can manually launch the profile setup screen?
[Android Apps and Games] bfvogel:
Ditto here running Fedora with Gnome and OpenJDK 1.8. My tablet connects and functions but there is no computer side control/config accessibility. Additionally, sometimes to keyboard will not switch over to the tablet along with the mouse, however, a restart of the server application usually resolves that issue.
[Android Apps and Games] Nirnic:
Hi! When I want to run "adb tcpip 5555", it says "adb is not recognized as an internal or external command, operable program or batch file". Can you help, please? Thank you very much!
[Android Apps and Games] rmrbpt:
You have to change to the directory where the adb file is located.

Easiest way is to go to the folder where the file is and then Shift+Right click and select Open command prompt here.

Then it will work.
[Android Apps and Games] Nirnic:
Yes, now adb is recognized (I've done it via path variable). Thank you. But now the issue is how to set wireless debugging to use Deskdock without USB cable. Which steps must I follow? I don't know if I'm doing correctly the steps indicated on that previous post. This is what I've done:

1- Connecting phone to PC via USB cable (MTP mode and USB debugging enabled?)

2- Running "adb tcpip 5555"

3- Running "adb connect [IP adress]"

And then? I run "adb devices" and two devices are recognized, so it is ok. And DeskDock is still working until step 3 and recognizes both of them. But now how must I unplug USB cable? If I unplug it without changing the mode nor ejecting it through the safe way (I mean, just removing it), no device is recognized and DeskDock stops working... The same happens if I change to charge mode and eject it safely. What should I do? DeskDock must be always running both on PC and phone? Is an "Adb wireless app" needed? Must I enable "disable cable check" on DeskDock app settings? Thank you very much in advance for your help!
[Android Apps and Games] SeddyXDA:
I just realised there's a pretty big bug on the server side. As far as I can tell, DeskDock doesn't work with Windows 10 display scaling enabled. And it doesn't seem to work either for certain resolutions (seems like resolutions over 1080p won't work). I think the server app is pretty buggy and it probably needs an update as soon as possible.
[Android Apps and Games] tmonty11:
Trying to get this to work. Followed all the steps but cant seem to get it to connect. I have a laptop with windows 10 and a galaxy s8. I can get it to "detect" 1 device but it will not connect. ADB list that there is once device as well. Any ideas?
[Android Apps and Games] elegos:
Hello! I managed to connect, but the window size of the server is just a little square... how can I fix it? Where are the prefs file so that I can restore it? Can't find it (under Linux).

Thanks
[Android Apps and Games] AthieN:
Sorry for the (very) late reply. I'm not sure why I didn't get notified about it, but I was revisiting trying to get this working again and happened to see it. Thanks for the response!!

My device is an Android TV box. Most of them don't have serial numbers because there's really no need to have one on a TV box. Is there a way I can work around your app requiring this? Or is there any chance you could release a version specific for aTV that doesn't require one?
[Android Apps and Games] ken.irwin:
Hmm, interesting, I'm building a 3x3 video wall using AndroidTVs and really need Keyboard/Mouse functionality across the 'grid'. At this stage I'm stuck with a Logitech wireless mouse that I have to move from one TV to another all the time when using a non-AndroidTV sideloaded app. It's painful, on screen keyboard does work, but not with the attached mouse, only by the TVs remote. There is no onscreen 'back' button on AndroidTV so you have to use 'back' on the remote. So you have to two handedly work the apps with the TV remote in one hand and moving a mouse with the other, and once they are all mounted this won't even be possible, so I'd need to have 9 mice to do this, yea, um no.

Not seeing how USB would really work either for 9 displays which are not really all that near a desktop. Near enough where some of the other solutions would've worked, but not so near that USB would work so well, I mean in the end it's nine 43" 4K displays in a grid making a 130" 12K display, so you don't need to be all that close.

Anyway, Symetry's Android App, which is really some Alpha level app on Github, not supported by Symetry, that doesn't seem to get the concept of Android TV at all, it's basically a white on white text setup, totally blind, and then crashes as soon as you try to connect, boo!

ShareKM apparently died at like Android 4, the TVs are Marshmallow (6).

The dongles (I/O) Gear and MultiBlue became famous hackertools on Mr. Robot and got banned everywhere.

I thought surely, given that multiple projects are around to turn a Raspberry Pi Zero (W) into a USB dongle that perhaps someone may have used this as an opportunity to make a Bluetooth or WiFi KM repeater of some sort, I mean seems like it'd really just be about taking a mouse and keyboard attached to a host and repeating it to a device connected --to-- a host as a device, which is exactly what the RPi0 dongles are doing, beyond my coding ability but seems pretty plausible. I mean RPi0w's are like $10, have Bluetooth and WiFi and there are pre-made dongle boards for another $10. Meanwhile, if you can find one at all, the I/O Gear dongles are selling for obscene sums, like hundreds of dollars. This solution were it to exist would have the benefit of being driver independent, I would think, as you'd just present it to the end host as a HID device.

It just seems crazy to me that mice and keyboards are so universal, be it Bluetooth or USB and yet there isn't a plug and play solution to this problem. I can physically plug in just about any USB keyboard or mouse into just about any Android device, with just a fullsize to whatever size USB adapter, and it'll work as what it is, same for Bluetooth keyboards and mice, it's just a pair and go deal. Like I said even if it took some little network of Raspberry Pis to do it, it'd be a solution that doesn't die based on what version something is, why should that matter?
[Android Apps and Games] AthieN:
Your set up is quite a bit more complex than mine is. I'm simply looking for a way to use the same keyboard and mouse when I switch my TV from the PC input over to the Android TV (aTV) input. Right now, I have to use 2 separate keyboards and mice and it's a royal PITA. I simply want a solution that allows me to use the same one on both devices without having to do anything. I've been able to fully program my Logitech remote to control both devices, so 1/2 the battle is won. Now, I just need to figure something out for when I need to use the keyboard and/or mouse...

This app is exactly what I need I think. But because the aTV device doesn't have a serial number, even though it sees it, it refuses to connect because it fails the check for it. I really hope the dev can make an aTV version that will work for us!

In the meantime, for your situation, what about an actual KVM device that you can plug all 3 boxes in to? I've been considering doing the same thing, but it would mean that I would have to get up and go over to the TV and press the button to switch over to the other device, but maybe for your set up, it would be exactly what you're looking for?
[Android Apps and Games] FD_:
Sorry guys, seems like I haven't responded here for quite a while!

I'm afraid the log doesn't contain any useful information at all. Also, I haven't heard of anyone else with that problem, so it's likely specific to your ROM (are you running a custom ROM?).

I'm afraid the log doesn't contain any hint about the problem here.

Answer below.

You could try if starting the server with the -w flag helps. This will start the server in window mode, which doesn't rely on the system's SystemTray support.

It should work by just disconnecting the USB cable as soon as the TCP connection is up. Does adb devices still show the device after you disconnect the USB?

Yeah, I can confirm there are issues with scaling on Windows. Windows and Resolution settings is quite a mess, and it doesn't get easier when you add Java and multiple monitors in the mix. I've started reworking some parts to improve Windows support, but I'm afraid this is going to take a while.

Does a device reboot and server program restart fix the problem?

What particular window of the server are you referring to? I'm afraid I don't know how Java manages its window sizes on Linux, I suggest you just google it.

I actually removed the serial number requirement in one of the recent updates. Instead of using the serial number for uniquely identifying a device, a combination of a device generated UUID and the usb id is used. Did you check whether the newest version works for you?

Using a Raspberry Pi, you could also build a solution that just requires one of them while still allowing control over multiple Android devices. Just set up the RPi as the DeskDock server and connect all Android devices (via a USB hub) to the RPi. The mouse and keyboard connected to the RPi can then be used to control all connected Android devices. While I implemented multi-device support for DeskDock, please note that I didn't test this particular setup, but it should work in theory.
[Android Apps and Games] Humpie:
Thanks for the tip! It works now, however when I have a two screen setup I can only move back the cursor from the phone and not to it.

With one screen it's fine, and it's helpful to have the settings anyways as I can now set up the switch screen shortcut as to make it function a bit with my two screen setup.
[Android Apps and Games] ken.irwin:
Hmm, yea, apparently my setup is even more complex than you read, it's actually a 3x3 video wall, so it's not 3 'boxes' it's 9. This starts to stretch even what KVMs can do short of getting into data center type KVM networks, whose cost, quite honestly is pretty much all about doing screen capture, as this is how these systems work. The mass datacenter KVMs don't actually 'switch' video they capture it and send it over a network connection as a stream. But anyway, not really relevant. Yea it's a crazy project, but I was able to get a bunch of narrow bezel Android TVs for dirt cheap, and it went from; Hmm I can put 3 of those there to, actually I can fit 9 of them there... (asks self) but isn't that really ridiculously excessive? Um.... well yes exactly, it is, and it's why it needs to be done!

In the short term, to deal with this I plan building a computer with a couple of Matrox video cards that will treat the whole thing as a single pane 12K desktop. Surprisingly the Matrox cards are the cheapest solution to dealing with 9 4K displays in a common frame locked surface. ATi pretty much checks out at 6 displays and nVidia's solution this, frame locked single surface being the key here, is just obscene in cost. The Matrox solution also offers EDID, what is that? I didn't know either, it's a means of being able to reserve monitor positions, basically the driver talks to a virtual monitor, so if that monitor goes away it doesn't reflow the surface. What this means is that I could display something like Netflix playing full screen on all 9 monitors and switch one to it's native Android TV interface and watch something else in a sort of picture in picture mode, or even another HDMI input, doesn't really matter.

Unfortunately 3x3 video wall controllers, right now, that will do 4K input are also pretty obscene in price, once they come down in price a little, or I get a wild hair, my plan is to take an nVidia Shield doing 4K output to a controller feeding 720p to each of the screens which should then upscale to 4K, so it'll be Android TV feeding Android TVs. So at that point I'd need this functionality for 10, not just 9. Anyway, still in the building the beast phase right now.

---------- Post added at 04:11 PM ---------- Previous post was at 03:59 PM ----------

Interesting, so are you suggesting that any hub should work? Just use type A to type A cables? I apparently don't understand USB well enough, this just seems like this would be one step removed for that to work. Doesn't one of the devices involved need to be in device mode, as opposed to host mode? ...or is that what USB debugging does? I know the Raspberry Pi 2s and 3s cannot do device mode on the USB, the Pi Zero can, but not the 2s and 3s because of how they slaved the Ethernet to the USB. But if this is all on the Android side of things than perhaps I could use one, well 2 actually, of the Digi AnwhereUSB boxes, I have one already, never used it, but it was given to me, supposed to work, anyway it basically just remotes 5 USB ports over Ethernet which I already have there, so it's just short run USB than, that could work.
[Android Apps and Games] ken.irwin:
Well so much for the Digi AnywhereUSB idea, apparently it's too old a piece of hardware to work with anything current. Doesn't kill the whole concept, just that particular approach. The newer versions of that product are expensive on ebay for a reason apparently. :(
[Android Apps and Games] Clues:
Erratic jumpy mouse solved

Thanks, I saw this post about 1080, lead right to the ... work around.

Move the mouse to the 1080 before switching.

Display0 @ 1080 -> Android works

Display1 @ 4k -> Android goes whacko

Using hotkey or moving it over, same result, all that matters is which monitor the mouse is over when switching.

Using hotkey on 1080 works even if the Android is attached to the 4k.

Also, in other news, manual placement overrides the top/right settings. Hit ok to apply.

And sometimes I had to freeze and unfreeze the APK to get it working again.
[Android Apps and Games] FD_:
You connect the Android devices to the RPi, so the RPi is the host and all Android devices just behave as if connected to a PC as clients (for ADB / USB debugging). Make sure the hub is powered, the RPi doesn't provide much power over its USB ports. I don't know anything about that AnywhereUSB box I'm afraid.

The manual placement is supposed to override the top/right settings. The latter are just thought for setting a default for any configuration. The manual placement are bound to a specific configuration (specific devices being attached), so you can create different placements for different Android devices.

As mentioned above, I know about the Windows scaling issues and am working on fixing them, but that'll take some time.
[Android Apps and Games] TierGreen:
Tgreen

Hi really like this app. But it looks I find issue with adb versions(pro owner).

Arch(Manjaro) - adb from android-tools:

-> adb devices -l
XXXXXXXXXX device usb:1-3 YYYY ZZZZZ

and application start without any issues.

-> adb --version
Android Debug Bridge version 1.0.39
Version 8.1.0_r33

But in Fedora 28 - adb from android-tools use usb bus id to identify device:

->adb devices -l
XXXXXXXXXX device usb:1:9 YYYY ZZZZZ

-> adb --version
Android Debug Bridge version 1.0.39
Revision e7195be7725a

And application fail to connect with message:

...
Error starting forwarding: error: device 'usb:1' not found
Could not connect transporter due to ADB error
...

I am using scripted local arch adb version, in Fedora to make it work.

Basically usb:1-3 change to usb:1:9 screw application.

Please can we have this fixed somehow. I am not app developer :(.
[Android Apps and Games] FD_:
Thanks for reporting the issue! Will be fixed in the next server version.
[Android Apps and Games] GiantJack:
can we get a xda free version with pro unlocked?

or maybe a 50% discount
[Android Apps and Games] dwkindig:
Howdy! Had this working on my LG V20, but recently upgraded to the Samsung Galaxy S9+. The server app sees the phone and the connection is successful, but all mouse inputs are being interpreted as "down and right". This is true regardless of the orientation of the device or the position of the device as set in the server settings, and whether or not I use the shortcut to move the input over to the phone or just move the mouse over. It also happens with a regular USB mouse or the touchpad or Lenovo's little IBM-mouse-nubbin thing.

I'm running Samsung's stock TouchWiz on Android 8.0 (G965USQU1ARBG, haven't updated yet), and I'm trying to connect to my Lenovo T430 running Windows 10 (build 16299.125), and server version 1.1.1 (2018-5-23) and app version 1.1.8.2-pro. The problem persists after a reboot of both devices. Weirdly, I just noticed that the server doesn't recognize that I've disconnected the device via the app on Android -- only if the device becomes unplugged; this leads to a weird situation where the input stays "bound" to the Android device until I use the keyboard shortcut to move it back to the desktop.

I've tried logging, but I'm not sure where the log gets stored so I can't paste the details here yet.
[Android Apps and Games] CJayArrgghh:
Love this app, works great but I'd really like the keyboard functionality to make it the complete package. I see that it's no longer available, is there a reason why?
[Android Apps and Games] 360porcento:
Can't buy the PRO version anymore?
[Android Apps and Games] FD_:
It is temporarily unavailable atm, but will be available again starting January 1st or 2nd 2019.
[Android Apps and Games] 360porcento:
Also curious, wanted to buy it...

edit. just saw the reply
[Android Apps and Games] ry2:
I cannot find DeskDock pro in the Play store anymore but the free version is there. What happened?
[Android Apps and Games] FD_:
As written above:
[Android Apps and Games] sharma.vishal:
Can't access settings of server

I activated dark icon mode and now its showing device is connected but cursor is not moving to 2nd screen i.e. android. I'm unable to access settings as well. Before switching to dark icon, everything was fine. Can I please know the settings backup file location or something like that for resetting the settings.

Any help will be appreciated

Thanks
[Android Apps and Games] FD_:
Why are you unable to access the settings? Does using the alternative ui (start server with -w flag) work?