SHIELD TV Wake On Lan - Shield Android TV Q&A, Help & Troubleshooting

Does anyone know if you could awakening NVIDIA Shield TV from a WoL call?
Thanks.

MALOW said:
Does anyone know if you could awakening NVIDIA Shield TV from a WoL call?
Thanks.
Click to expand...
Click to collapse
Tried it, using my phone and WOL app I always use (to wake up PC and NAS), but nope. Not from stand-by, not from power-off

WoL does not work with Shield TV. You can use adb instead. Activate Debugging on the Shield TV (connecting it via USB at least once, then you can use ADB via Lan) and get adb.exe. The command would be adb shell input keyevent KEYCODE_WAKEUP
I wrote a batch file that looks as follows. It connects to shield box via adb and executes the "wake"-command then disconnects. You will have to substitute the IP-Adress with the one of you Shield box.
@ECHO off
cd /d %~dp0
adb kill-server
adb start-server
adb connect 192.168..1.100
timeout /t 5
adb shell input keyevent KEYCODE_WAKEUP
adb kill-server

Related

[Q] Can you hook the A7 directly to a PC?

I've seen little about this, but there are suggestions that you should be able to go USB A-A and connect this device to a PC. Has anyone tried? What experiences did you get?
Amazon's value pack (which i didn't get) comes with an A-A cable and mentions hooking to a PC, but that's nearly the only place I've come across that info.
Anyone?
Greenaar, what Amazon pack are you talking about? I could not find anything on their site about a kit that comes with the cable. I got mine from TigerDirect and that did not include a cable.
On another note, does anyone know how to debug an app on this device? Can it be done through the Bluetooth channel? WiFi maybe?
Thanks!
Pedronis said:
On another note, does anyone know how to debug an app on this device? Can it be done through the Bluetooth channel? WiFi maybe?
Thanks!
Click to expand...
Click to collapse
I can't get the emulator to boot the a7's kernel, but you can setup adb to listen over wifi.
There's instructions on a wiki here: http://elocitya7.wikispaces.com/
On the A7, open up a terminal and do:
Code:
su
setprop service.adb.tcp.port 2222
stop adbd
start adbd
On the host computer use:
Code:
adb connect 192.168.0.151:2222
About the OP's USB question, I'm not sure but I'd be cautious. The A7 supplies power out the USB port and so does the PC.
greenaar said:
I've seen little about this, but there are suggestions that you should be able to go USB A-A and connect this device to a PC. Has anyone tried? What experiences did you get?
Amazon's value pack (which i didn't get) comes with an A-A cable and mentions hooking to a PC, but that's nearly the only place I've come across that info.
Anyone?
Click to expand...
Click to collapse
Assuming that an A-A cable would allow me to connect my A7 to my PC, I went to Fry's assuming it'd be an easy purchase. They only had USB 3.0 A-A cables and those aren't bacwards compatible. Needless to say, I was forced to buy a large USB kit for about $20. Got home, plugged in various iteration of the A-A cables that came in the kit. Turns out you can't hook it up that way.
Other users have used Dexter's Ad-hoc patch to communicate between the A7 & a PC. There's another wifi app that allows you to communicate using a local network, but I forgot what its called.
tjc2k4 said:
I can't get the emulator to boot the a7's kernel, but you can setup adb to listen over wifi.
There's instructions on a wiki here: http elocitya7 dot wikispaces dot com
On the A7, open up a terminal and do:
Code:
su
setprop service.adb.tcp.port 2222
stop adbd
start adbd
On the host computer use:
Code:
adb connect 192.168.0.151:2222
Click to expand...
Click to collapse
Thanks! I will give that a shot...

Usb port

Does mojo have a micro usb port for debugging mode/adb? Also what about official usb drivers for connecting to a windows PC?
Sent from my SM-N900V using XDA Premium 4 mobile app
It doesn't have a micro otg USB port. It has 2 full sized USB ports. a single USB 2.0 and single USB 3.0 port. I'm going to buy a full sized male to male USB cable and try to see if it will work with debugging/adb with that.
dheku-00 said:
It doesn't have a micro otg USB port. It has 2 full sized USB ports. a single USB 2.0 and single USB 3.0 port. I'm going to buy a full sized male to male USB cable and try to see if it will work with debugging/adb with that.
Click to expand...
Click to collapse
You don't need to use USB - connect to M.O.J.O. over the network instead.
(1) <PC> Download Android sdk from Android website
(2) <Mojo> connect ethernet or connect wifi to get a ip address xxx.xxx.xxx.xxx
(3)<Mojo> Settings -> About M.O.J.O. --> Build number ==> click 8 times, Developer options will appear in Settings
(4) <Mojo> Settings -> Enable USB debugging
(5) <PC> Execute in command line==> adb.exe connect xxx.xxx.xxx.xxx
(6) <PC> type adb shell logcat to get debug message
Okay, thank you! That works a lot better for my setup then stringing a usb cable across the room anyways.
alexp1289 said:
Does mojo have a micro usb port for debugging mode/adb? Also what about official usb drivers for connecting to a windows PC?
Sent from my SM-N900V using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It has a micro USB. Right under the hdmi input! So small you missed it!
It accepts up to 128gb cards, must be FAT 32 format.
I believe that is MicroSD above the HDMI.
ExtremeRyno said:
I believe that is MicroSD above the HDMI.
Click to expand...
Click to collapse
You are correct.
Mad Catz Rich said:
You don't need to use USB - connect to M.O.J.O. over the network instead.
(1) <PC> Download Android sdk from Android website
(2) <Mojo> connect ethernet or connect wifi to get a ip address xxx.xxx.xxx.xxx
(3)<Mojo> Settings -> About M.O.J.O. --> Build number ==> click 8 times, Developer options will appear in Settings
(4) <Mojo> Settings -> Enable USB debugging
(5) <PC> Execute in command line==> adb.exe connect xxx.xxx.xxx.xxx
(6) <PC> type adb shell logcat to get debug message
Click to expand...
Click to collapse
That's awesome! I was wondering were the dev options were.
Thanks for the info!
gwaldo said:
That's awesome! I was wondering were the dev options were.
Thanks for the info!
Click to expand...
Click to collapse
As a game dev, maybe you have an answer for me, LimeLight + Mojo ? Limelight is an apk being developed by the xda community in the shield forum, it allows pc games to be streamed to android (aside from shield)
jjprichards said:
As a game dev, maybe you have an answer for me, LimeLight + Mojo ? Limelight is an apk being developed by the xda community in the shield forum, it allows pc games to be streamed to android (aside from shield)
Click to expand...
Click to collapse
Hard to say, I don't see why it wouldn't... I'll have to download it, but don't have an NVIDIA PC card.
http://forum.xda-developers.com/showthread.php?t=2505510
Bought A/A USB Cable, but M.O.J.O wouldn't be recognized from PC, tried USB2 and USB3.
Over wireless ADB "adb shell logcat" and "adb reboot bootloader" is working, but loosing connection while reboot. Also no USB detection.
Anyone else played around a bit? I whish i could root it^^
saenta said:
Bought A/A USB Cable, but M.O.J.O wouldn't be recognized from PC, tried USB2 and USB3.
Over wireless ADB "adb shell logcat" and "adb reboot bootloader" is working, but loosing connection while reboot. Also no USB detection.
Anyone else played around a bit? I whish i could root it^^
Click to expand...
Click to collapse
That was expected, that ADB over USB don't work.
I have tried to "adb reboot boot loader", bot the device seems only to reboot to OS.
"adb reboot recovery" loads till the lying Droid with exclamation mark.
One thing, I tinker around is, what's the use of the microUSB port in the battery hole of the controller. Maybe we can use the connection to enter the recovery while booting ?
I have the M.O.J.O since today. I had many Androids (Smartphones/Tablets/TV-Boxes and Sticks and even an OUYA) but this device is from software side a holy overpriced piece of crap.
MAD CATZ, please "leak" some more informations to get root access and other basics. Bring the Play Store in a working condition. Even cheap chinese Androids have more APP access.
I've bought it to use it as a Mediacenter, XBMC is working and Watchever too, but to control the Box from my Smartphone or PC i need root, also to hide the buttons and use apps in fullscreen, for mediacenter its obligatory to have root...
hopefully Mad Catz itself will help us with it, looks like they give pretty good support.
saenta said:
I've bought it to use it as a Mediacenter, XBMC is working and Watchever too, but to control the Box from my Smartphone or PC i need root, also to hide the buttons and use apps in fullscreen, for mediacenter its obligatory to have root...
hopefully Mad Catz itself will help us with it, looks like they give pretty good support.
Click to expand...
Click to collapse
Try asking the live online support guy found on their website.
He's been super helpful for me thus far.
Mad Catz Rich said:
You don't need to use USB - connect to M.O.J.O. over the network instead.
(1) <PC> Download Android sdk from Android website
(2) <Mojo> connect ethernet or connect wifi to get a ip address xxx.xxx.xxx.xxx
(3)<Mojo> Settings -> About M.O.J.O. --> Build number ==> click 8 times, Developer options will appear in Settings
(4) <Mojo> Settings -> Enable USB debugging
(5) <PC> Execute in command line==> adb.exe connect xxx.xxx.xxx.xxx
(6) <PC> type adb shell logcat to get debug message
Click to expand...
Click to collapse
Hi,
Do you know how to connect via adb while the mojo is in fastboot or from the recovery option "apply update from ADB"?
I've tried using USB & eth0 and both not working.. is there a trick to it?
saenta said:
Bought A/A USB Cable, but M.O.J.O wouldn't be recognized from PC, tried USB2 and USB3.
Over wireless ADB "adb shell logcat" and "adb reboot bootloader" is working, but loosing connection while reboot. Also no USB detection.
Anyone else played around a bit? I whish i could root it^^
Click to expand...
Click to collapse
Theirs another method to rooting that doesn't require the male to male cable
Geohot released an app called towelroot v1 which roots it for u just run the app on the mojo and click a few buttons.
Proceed to towelroot.com on the mojo web browser and click the image on the right side of the screen that looks like an upside down y this will download the app to the mojo proceed to install and click the big button in the centre, you now are rooted my friend
I can't remember how it took ages I had massive issues with the male to male method initially. Had to mess around with some terminal commands before my PC would recognise the mojo. but it was so long ago now I can't remember them.
Edit: Just saw how old OP was imagine hes rooted by now

[Q] Remote console on Nexus Player, how? (ADB/SSH?)

Hello
Checked SSH Server, could not provide a remote shell on x86-devices. Read somwhere that remote ADB doesn't work on the current firmware.
So it is possible to do it somehow? Right now my only option for remote is to SSH to a Linux-box I have standing next to it, which in turn has a USB ADB connection to the NP
I'm also interested in this.

Debuggin/Deploying using the Tegra Visual Studio Plugin

Hi guys,
as the M.O.J.O. obviously lacks USB debugging, I was wondering if some of you where able to deploy/debug apps using NVidias Tegra plugin for Visual Studio.
Sadly the plugin seems to be using a internal adb instance, which you don't have access to. Apparently the internal adb instance only scans for USB devices and AFAIK there is currently no way to tell it to connect to a specific ip address
So either there has to be a way to tell the Tegra plugin to connect to tcp/ip devices OR to get somehow USB debugging working on the M.O.J.O using a USB A Male to A Male cable.
Help is highly appreciated.
Hi!
Have you tried ADB via WLAN?
Code:
adb connect xxx.xxx.xxx.xxx

Use your Android device as an automatic wifi adapter

I currently use an old Galaxy 5 as a wifi adapter for my computer. I wrote a small adb script which turns on tethering on boot.
Code:
adb shell input keyevent KEYCODE_POWER
adb shell am start -n com.android.settings/.TetherSettings
TIMEOUT 2
adb shell input keyevent 66 # enter
adb shell input keyevent 66 # enter
adb shell input keyevent KEYCODE_POWER
I use the timeout command because the phone is really slow and sometimes it does not properly load the settings before pressing the next buttons.
I wanted to ask if there was a better way of doing it, using better commands or something. Also is there a way to turn off tethering when computer is shut down?

Categories

Resources