Search Unity

wireless unity remote[root only]

Discussion in 'Android' started by rv0000s, Feb 18, 2014.

  1. rv0000s

    rv0000s

    Joined:
    Feb 18, 2014
    Posts:
    5
    1. make sure your pc and android is on same wifi connection.

    2. start adb server from your phone...
    download any wireless adb app from playstore...here is what I am using
    WiFi ADB - Debug Over Air

    or do it manually http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp

    3. on your computer start cmd and run:
    Code (csharp):
    1.  adb connect 192.168.1.100:5555
    Be sure to replace 192.168.1.100 with the IP address that is actually assigned to your device.

    check if it is connected by :
    Code (csharp):
    1. adb devices
    4. start unity or restart if it is already running and hit play..

    5. tadaa...........:eek:
     
    hopetolive and OzmoMac like this.
  2. arjeriababa

    arjeriababa

    Joined:
    Jan 26, 2014
    Posts:
    22
  3. gazou

    gazou

    Joined:
    Sep 16, 2013
    Posts:
    2
    Does it work like unity remote? No lagging, no loss of quality? Can i use it to run a game from my PC to my phone?
     
  4. OzmoMac

    OzmoMac

    Joined:
    Aug 21, 2016
    Posts:
    2
    i made a scrip for this purpose
    you wont need you to root your device

    Please ceep the (C) in there if u are usin this in any videos

    but when u start it up you need to have the usb conneted

    when it says that you can disconnet the usb then u can disconnet usb


    here is the code

    Code (Bat):
    1.  
    2.  
    3. ECHO OFF
    4. cls
    5. TITLE Prepairing... ©Ozmo Mac
    6. echo please plug in the usb then hit any key to continew...
    7. pause >nul
    8. echo .
    9. IF NOT EXIST "IP.txt" goto ipset
    10. echo .
    11. set /p IP=<IP.txt
    12. goto main
    13.  
    14. :ipset
    15. echo .
    16. echo first time setup.
    17. set /p IP=Enter The IP: %=%
    18. echo %IP%>> IP.txt
    19. echo .
    20. goto main
    21.  
    22. :main
    23. adb kill-server
    24. adb tcpip 5555
    25. TITLE CONNETING....©Ozmo Mac
    26. echo .
    27. adb connect %IP%:5555
    28. TITLE Connected ©Ozmo Mac
    29. echo .
    30. adb devices
    31. echo.
    32. echo You can disconnet the usb now
    33. echo Hit any key to disconnet..
    34. pause >nul
    35. adb kill-server
    36. adb -s %IP%:5555
    37. cls
    38. TITLE Disconnetted ©Ozmo Mac
    39. echo Hit eny key to exit...
    40. pause >nul
    41. exit
    42.  
    if the ip chainges there is a txt file in the same folder that you can edit

    its quite simple bat scrip

    but it speeds up things a lot

    remember to but the scrip in to the folder were the android sdk is

    sorry if the enlish is a bit of im not a native speaker
     
    Last edited: Aug 21, 2016
  5. OzmoMac

    OzmoMac

    Joined:
    Aug 21, 2016
    Posts:
    2
    Yes

    Well therere is some image lag but no input lag and it also depends on your network

    The image lag can be removed all most all by lowering the image quality

    And you can run game/projets from your computer in unity editor but not in my knowledge how to run other games in there
     
  6. MMOARgames

    MMOARgames

    Joined:
    Feb 28, 2013
    Posts:
    24
    I was able to get this to work without rooted device.
     
  7. sarebots2

    sarebots2

    Joined:
    Jul 4, 2016
    Posts:
    34
    chelnok likes this.