You can get it from the advanced section in the wireless menu. Replace $DeviceIP with the IP address of your phone. Make sure you check the box that says always allow or you will need to accept each time. The first time you do this you will get a permission prompt pop-up on your phone. This will just return “restarting in TCP mode port: 5555” If you plan on using Tasker for anything extra fancy it needs to be port 5555. You CAN change the port but I recommend against it. Run the following command to enable wireless adb. This should return your devices as what looks like a serial number (see below image for all commands) Lets check to see that the device is connected. If you followed my advice above it will be at c:\ so the command would be: cd C:\DeskDockServer\win\ To do this manually open an admin powershell window and path to the deskdock folder. Later in this post I will share a script that does this for us. You will need to do this step every time you reboot your phone. Wireless ADB will kill itself when your phone reboots. If you want to NOT have to plug in every time you can enable wireless adb and that will allow you to control your phone without plugging in. After you do this step you can actually start using DeskDock, but with a usb cable only. Scroll down until you see USB Debugging and toggle it to on. Do this from System, Advanced, Developer Options. This will enable the developer mode options. Just go into settings, about phone and then tap your build number 8 times. Phone Side setupįor our phone setup we need to do a few things Enable Developer mode, enable usb debugging and make sure wireless adb is enabled.Įnabling developer mode on android is pretty easy as well. Go ahead and double click our new shortcut to start the server this time for our next steps. Now, every time you login DeskDock will autostart. Now copy or cut the shortcut we just made on the desktop into this folder. This will open up your startup folder in explorer. From the Run prompt (or cmd or pwsh) type in shell:startup and hit enter. Next, to get this to autostart we will add it to our startup folder. We will use this shortcut in the next step. Now go into that folder and right click on the DeskDockServer.exe and hover over send to and click Desktop (create Shortcut). You don’t need to put it on the C:\ drive if you just want to use DeskDock with a USB cable, BUT if you want to use my script you do. Place the folder on the C:\ drive and rename it to DeskDockServer (no version number). I have a Pixel so I used the one here but if you have another type of phone you should find the right drivers in this list.ĭownload the latest server app from here. Installing ADB drivers is pretty easy as well, its really just about downloading the right one. You can install java from their website or if you have Chocolatey you can simply run choco install jre8 -y The only two prep-work we need to do is install Java (if you don’t already have it) and the ADB drivers for you phone. Also, here is the link to the setup from the developer of Deskdock. The main thing on the server side (your PC) is to make sure you have the right ADB drivers for your phone. On your Android phone you enable Developer mode and usb debugging, next download the app, run it, then plug in your usb cable. You download the server program onto your PC and run it.
0 Comments
Leave a Reply. |