Nvidia Shield reconnect after remote desktop use - Shield General

This is a solution for people using the Nvidia Shield with a computer they manage via Windows Remote Desktop Connection and Windows 8:
I was having difficulty restarting shield streaming after using the streamed computer via windows RDC. It would tell me that the display was not compatible with the GPU. My current setup has the computer in another room hooked up to a projector which is rarely on. I realized that after RDC the console control would not return to the default display. This worked for me:
Create a desktop shortcut by right clicking on the desktop and selecting new, then select shortcut.
In the text field enter:
%windir%\System32\tscon.exe 0 /dest:console (See below)
Right click the newly created shortcut, click properties.
Click the shortcut tab, and click the Advanced button.
Check the "Run as administrator" box and click OK.
If this doesn't work, try changing the number zero (tscon.exe 0 /dest...) in step 2 to the number one, and if it doesn't work, keep incrementing it until your remote desktop is released.
Alternately, open up a shell with start menu, run, cmd. Type qwinsta Enter, and look for the ID of the session that is in the active state (it will have a > character at the start of its session name). That's the number you need to use in step 2.
When you want to restore the console desktop, just double click on the shortcut and allow the administrator access.
It worked perfectly. I hadn't found a solution listed anywhere yet for this specific issue so I thought I'd share.

davidrex said:
This is a solution for people using the Nvidia Shield with a computer they manage via Windows Remote Desktop Connection and Windows 8:
I was having difficulty restarting shield streaming after using the streamed computer via windows RDC. It would tell me that the display was not compatible with the GPU. My current setup has the computer in another room hooked up to a projector which is rarely on. I realized that after RDC the console control would not return to the default display. This worked for me:
Create a desktop shortcut by right clicking on the desktop and selecting new, then select shortcut.
In the text field enter:
%windir%\System32\tscon.exe 0 /dest:console (See below)
Right click the newly created shortcut, click properties.
Click the shortcut tab, and click the Advanced button.
Check the "Run as administrator" box and click OK.
If this doesn't work, try changing the number zero (tscon.exe 0 /dest...) in step 2 to the number one, and if it doesn't work, keep incrementing it until your remote desktop is released.
Alternately, open up a shell with start menu, run, cmd. Type qwinsta Enter, and look for the ID of the session that is in the active state (it will have a > character at the start of its session name). That's the number you need to use in step 2.
When you want to restore the console desktop, just double click on the shortcut and allow the administrator access.
It worked perfectly. I hadn't found a solution listed anywhere yet for this specific issue so I thought I'd share.
Click to expand...
Click to collapse
I use Splashtop. It's actually even possible to connect in parallel. Nvidia Streaming first and then Splashtop.

9 years later... Finally I made some effort to get around rebooting my pc to use streaming after RDP. Found your post in a matter of seconds, fix tested on Windows 11. All good!
Thank you!

Related

Remote control Android from PC

Hi Guys,
I was wondering if there is any app that would allow me to remote control my android from my PC when it's connected via USB, etc?
I have a few repetativ things that need to be done that may take a couple of hours on the 'droid which using a keyboard and mouse for would probably speed things up significantly.
Cheers
Adza
This is maybe interesting for you...
http://code.google.com/p/androidscreencast/
XDA Thread
http://forum.xda-developers.com/showthread.php?t=557717
fantastic. Thank you very much!
No problem buddy
-------------------------------------
Sent via the XDA Tapatalk App
This conn via adb. what if adb devicenya conn via wifi can not?
Hi, may be with adb connect IP (wifi)
or try WebKey app from Market
https://market.android.com/details?id=com.webkey
regards
Remote Control Add-on may be much simpler. And you can integrate it with Remote Web Desktop for more features, such like desktop SMS, file explorer, FTP, etc.
https://market.android.com/details?id=net.xdevelop.rc
https://market.android.com/details?id=net.xdevelop.rm
That's fantastic! if only it was possible to do with unrooted phones. (Half the reason I'd love it is to assist / support others who are new to the phone
the best one ive found is this http://www.unifiedremote.com/ simple fast and can use anything ex shut down, sleep, WMP ect really good
desireMofo said:
the best one ive found is this http://www.unifiedremote.com/ simple fast and can use anything ex shut down, sleep, WMP ect really good
Click to expand...
Click to collapse
Seems it's Android -> PC not PC -> Android
I use "droid VNC Server" from the market.
Free.
Doesnt work
This is ... aint work ... i so wish there ws something like " my mobiler " for WinMO
> i so wish there ws something like " my mobiler " for WinMO
There's now an Android version at MyMobiler web site.
(Yes, I know this is an old thread but it's what came up near the top when I googled 'Android remote control'.)
adza said:
I was wondering if there is any app that would allow me to remote control my android from my PC when it's connected via USB, etc?
Click to expand...
Click to collapse
Try LANmote, works over WIFI
https://play.google.com/store/search?q=lanmote
your solution ?
For me it is myPhonexplorer:
It is a great applikation: Work on USB, WIFI, Bluethoose
You can organize your contacts, Task, Calender, Install Applikations, transfer files, Jobmanagment for Backup Files, Screen Remote !!, Sending SMS form PC, Lotus Notes + Exchange sync ..........
For me the best and it's free !
i use it same years
a nother good Tool is Total Comander and Android ADB 5.6:
so you can:
- Apps management (Install, Uninstall and Backup your apps)
- APK icons and metadata with custom columns
- Backup and Restore on ICS
- LogCat/BugReport/Dmesg (Copy file from folder), Shell
- Reboot menu with (Reboot, Hot Boot, Recovery, Download and Power Off)
- Screenshots (Copy file from .screenshot folder)
- Multiple devices with device rename functionality (friendly name)
- Bookmarks and WiFi auto-connect
- Rooted, semi-rooted and non-rooted devices
- Full unicode support
- x32 and x64 support
- TC command line integration
- Background copy/move
- Owner and Group custom columns
- Full file system management (download/upload recursive directories, copy, delete, rename, move, edit, view, overwrite confirmation and more)
- Copy/Move between 2 devices
- Set/Get file attributes/permissions - Change Attributes action in Total Commander
- ADB USB and wireless ADB (no need to install Android SDK)
- Auto mount support
- Debug logs
- Rich settings
TeamViewer is actually quite nice. I don't like how the free version times out after a while and the first tier of a paid version is over $700.
meo said:
For me it is myPhonexplorer:
It is a great applikation: Work on USB, WIFI, Bluethoose
You can organize your contacts, Task, Calender, Install Applikations, transfer files, Jobmanagment for Backup Files, Screen Remote !!, Sending SMS form PC, Lotus Notes + Exchange sync ..........
For me the best and it's free !
i use it same years
a nother good Tool is Total Comander and Android ADB 5.6:
so you can:
- Apps management (Install, Uninstall and Backup your apps)
- APK icons and metadata with custom columns
- Backup and Restore on ICS
- LogCat/BugReport/Dmesg (Copy file from folder), Shell
- Reboot menu with (Reboot, Hot Boot, Recovery, Download and Power Off)
- Screenshots (Copy file from .screenshot folder)
- Multiple devices with device rename functionality (friendly name)
- Bookmarks and WiFi auto-connect
- Rooted, semi-rooted and non-rooted devices
- Full unicode support
- x32 and x64 support
- TC command line integration
- Background copy/move
- Owner and Group custom columns
- Full file system management (download/upload recursive directories, copy, delete, rename, move, edit, view, overwrite confirmation and more)
- Copy/Move between 2 devices
- Set/Get file attributes/permissions - Change Attributes action in Total Commander
- ADB USB and wireless ADB (no need to install Android SDK)
- Auto mount support
- Debug logs
- Rich settings
Click to expand...
Click to collapse
Could always try AirDroid?
Can't include outside link as under 10 posts...
VNC is good
Seems most people here are missing the OP's question
There are a lot of responses to this person's question (albeit, an old question) that are totally missing what he wants to do.
he wants to control his phone FROM his PC. Half the apps mentioned are remote control (like a tv remote control) app for your phone that control your PC.
second, apps like Airdroid are NOT the solution he is asking for. Airdroid is not a "remote control", it is a "remote management" app.
the OP wants to send the view you see as you look at your phone, to the PC, so that it can be manipulated with the keyboard and mouse.
For those that have used teamviewer, Logmein, VNC, .. you know what what I am talking about. This is one of those things that I think many people have a hard time understanding until they see it. For the longest time I could not get my parents to understand that I could SEE their screen on my PC as if I was sitting at their PC..
For the OP, or anyone else who is finding this thread on google, there are a few options and they all seem to need root.
LANmote
VM VNC Server
android-vnc
VNC server (by wencent)
VNC Server Ultimate (might support non rooted devices)
If you own a samsung device, you can use the official team viewer app, it works flawlessly (I use it to support my parents and their GS3's)
If you start your google search or market search with VNC SERVER or similar, you will be off to a good start.
Serinety said:
There are a lot of responses to this person's question (albeit, an old question) that are totally missing what he wants to do.
he wants to control his phone FROM his PC. Half the apps mentioned are remote control (like a tv remote control) app for your phone that control your PC.
second, apps like Airdroid are NOT the solution he is asking for. Airdroid is not a "remote control", it is a "remote management" app.
the OP wants to send the view you see as you look at your phone, to the PC, so that it can be manipulated with the keyboard and mouse.
For those that have used teamviewer, Logmein, VNC, .. you know what what I am talking about. This is one of those things that I think many people have a hard time understanding until they see it. For the longest time I could not get my parents to understand that I could SEE their screen on my PC as if I was sitting at their PC..
For the OP, or anyone else who is finding this thread on google, there are a few options and they all seem to need root.
LANmote
VM VNC Server
android-vnc
VNC server (by wencent)
VNC Server Ultimate (might support non rooted devices)
If you own a samsung device, you can use the official team viewer app, it works flawlessly (I use it to support my parents and their GS3's)
If you start your google search or market search with VNC SERVER or similar, you will be off to a good start.
Click to expand...
Click to collapse
I am trying to support my Mom who has an unrooted Galaxy Note 2. Can I use this TeamViewer app? Everytime I look at it, it looks like it is Android >> Windows not the other way around. Hope you're still watching this thread.

HOWTO: Tethering in windows 7 (no app needed!)

Step 1 - install Samsung drivers (instructions abound, run a search)
Step 2 - set to USB Debugging Mode
Step 3 - Plug in phone ;-)
Step 4 - hit the 'windows key' type 'phone' and click on 'Phone and Modem' when it pops up. Click on the 'Modems' tab.
Step 5 - Select the SAMSUNG ANDROID USB MODEM that shows a COM# next to it, and select properties. Click the 'Diagnostics' tab, then 'Query Modem' As long as it sends back 'Success', you can continue with the rest of this.
Step 5.1 Click the "Change Setting" button on the lower left corner of the dialog box, if your version of Windows 7 still has that.
Step 6 - Click the 'Advanced' tab, and insert
Code:
AT+CGDCONT=1,"IP","epc.t-mobile.com"
into the extra initialization commands. Exit out of the Phone and Modem Dialog
Step 7 - Go to 'Internet Options' in Control Panel, and select 'Connections' tab.
Step 8 -Click 'Add...' button, and choose 'Dial-up'
Step 9 - Populate Phone Number with *99# Name with 'wap' and password with 'password' Name the connection whatever you like.
Step 10 - cross your fingers and click 'connect'
As long as Step 10 connects you to the internet, then you're good to go.
I left-click on the wireless icon in my toolbar to access the dialer, once it's setup there's a section for 'dialup' in addition to wireless
The only 'difficulty' I've had is that sometimes I have to unplug and replug the USB cable in order to start the networking - otherwise, it's been very stable, and I'm getting MUCH higher speeds than when using PDANet or Easytether, and I SEEM to be getting better battery life (laptop and phone) than using the Apps.
Like the OSX instructions, this SHOULD work without root, however, I've not tested it without root, so I don't want to promise anything ;-)
Thanks to MSW1382 for helping me clarify this set of instructions.
yeshlynch said:
Step 1 - install Samsung drivers (instructions abound, run a search)
Step 2 - set to USB Debugging Mode
Step 3 - Plug in phone ;-)
Step 4 - hit the 'windows key' type 'phone' and click on 'Phone and Modem' when it pops up. Click on the 'Modems' tab.
Step 5 - Select the SAMSUNG ANDROID USB MODEM that shows a COM# next to it, and select properties. Click the 'Diagnostics' tab, then 'Query Modem' As long as it sends back 'Success', you can continue with the rest of this.
Step 6 - Click the 'Advanced' tab, and insert
Code:
AT+CGDCONT=1,"IP","epc.t-mobile.com"
into the extra initialization commands. Exit out of the Phone and Modem Dialog
Step 7 - Go to 'Internet Properties' in Control Panel, and select 'Connections' tab.
Step 8 -Click 'Add...' button, and choose 'Dial-up'
Step 9 - Populate Phone Number with *99# Name with 'wap' and password with 'password' Name the connection whatever you like.
Step 10 - cross your fingers and click 'connect'
As long as Step 10 connects you to the internet, then you're good to go.
I left-click on the wireless icon in my toolbar to access the dialer, once it's setup there's a section for 'dialup' in addition to wireless
The only 'difficulty' I've had is that sometimes I have to unplug and replug the USB cable in order to start the networking - otherwise, it's been very stable, and I'm getting MUCH higher speeds than when using PDANet or Easytether, and I SEEM to be getting better battery life (laptop and phone) than using the Apps.
Like the OSX instructions, this SHOULD work without root, however, I've not tested it without root, so I don't want to promise anything ;-)
Click to expand...
Click to collapse
Just tested this out and it does work.
There are a couple things I would like to point out.
Before step 6, you must click the "Change Setting" button on the lower left corner of the dialog box.
Also in step 7, you are referring to "Internet Options" not Internet Properties.
Seems to be working ok so far. I am posting this using this method...
there is an easier way to tether without being rooted and using windows. if you download Samsung Kies, once you connect your phone(keeping in mind you need to go into the applications setting under setting and change your usb function to kies) in the Kies program, there is an option to tether. i have used this successfully several times now. its worth a shot if you dont want to go and alter any sort of setting on your comp
speeds
Thanks, it works perfectly.
Thanks. This works. I had easytether and that worked for a day, after which it kept disconnecting after a few minutes. This seems more stable but I don't know if it's just as fast or faster, but hey it works so I'm not complaining.
I'm typing this out while tethering Happy happy joy joy.
Will this work over Bluetooth? Time to mess around with this
chiefkevbe said:
Thanks. This works. I had easytether and that worked for a day, after which it kept disconnecting after a few minutes. This seems more stable but I don't know if it's just as fast or faster, but hey it works so I'm not complaining.
I'm typing this out while tethering Happy happy joy joy.
Click to expand...
Click to collapse
thats mega awesome. non-root tethering! I wonder if you even have to tether under linux
tpreludesh said:
there is an easier way to tether without being rooted and using windows. if you download Samsung Kies, once you connect your phone(keeping in mind you need to go into the applications setting under setting and change your usb function to kies) in the Kies program, there is an option to tether. i have used this successfully several times now. its worth a shot if you dont want to go and alter any sort of setting on your comp
Click to expand...
Click to collapse
Can you post the link where you downloaded the kies? I've looked everywhere and couldn't find it. Thanks.
humblehyper said:
Can you post the link where you downloaded the kies? I've looked everywhere and couldn't find it. Thanks.
Click to expand...
Click to collapse
I just googled it..it's not available in US though. Change the country to CA and you will see it..
http://www.samsungapps.com/about/onPc.as
abhiku said:
I just googled it..it's not available in US though. Change the country to CA and you will see it..
http://www.samsungapps.com/about/onPc.as
Click to expand...
Click to collapse
or go to main samsung site..set country to UK..here is the download link.
http://www.samsung.com/uk/consumer/...XEU/index.idx?pagetype=prd_detail&tab=support
NICE!!! Working like a charm on my non-rooted vibrant and windows 7 x64.
Per speedtest.net i'm at 1.42 mbps down and 1.11 mbps up
Thanks for the "how to"
tpreludesh said:
there is an easier way to tether without being rooted and using windows. if you download Samsung Kies, once you connect your phone(keeping in mind you need to go into the applications setting under setting and change your usb function to kies) in the Kies program, there is an option to tether. i have used this successfully several times now. its worth a shot if you dont want to go and alter any sort of setting on your comp
Click to expand...
Click to collapse
How did you get this to work on windows 7 64 bit? MTP USB device failed to install, and my phone just keep on flashing "MTP application" initializing....
How about for Mac.. I have a macbook pro please help
I verified this working on Windows XP, as well.
works on windows vista... thanks!
working great on Windows 7-64!! Who wants to open that dam Kies program up when you can do this!! Thanks!
iflyabeech said:
working great on Windows 7-64!! Who wants to open that dam Kies program up when you can do this!! Thanks!
Click to expand...
Click to collapse
The only problem is outlook seems to want to open up a dialog box to connect using this connection everytime it checks my mailbox... any idea how to disable that?
no. macs are retarded. drop it into the trash where it belongs and buy a pc.
Sent from my SGH-T959 using XDA App
humblehyper said:
How did you get this to work on windows 7 64 bit? MTP USB device failed to install, and my phone just keep on flashing "MTP application" initializing....
Click to expand...
Click to collapse
I have the same problem here.
Anyone has solution on this?
zerosource said:
I have the same problem here.
Anyone has solution on this?
Click to expand...
Click to collapse
Download and install the Samsung windows 7 64 bit drivers here and install:
http://zedomax.com/blog/2010/07/14/...ic-4g-and-fascinate-galaxy-s-driver-download/
download and install Kies if thats what you want:
http://downloadcenter.samsung.com/d...enter.samsung.com/content/&ModelName=GT-I9000
Thats it...

Remote you phone from Computer!

Android - Remote your android phone via usb cable or wireless router from PC.
Phone must be ROOTED!
Download droid VNC server - http://goo.gl/hYLXp - install it.
Download android adb driver - http://goo.gl/faiJU
extract adb.zip driver to Local Disk C = C:\adb
Now, click start, click RUN, type CMD, - ENTER
type adb command - cd \ - ENTER, type adb.exe - ENTER.
type - adb forward tcp:5901 tcp:5901 - ENTER
type - adb forward tcp:5801 tcp:5801 - ENTER
Go back to you're phone and open/start droid VNC Server
Wireless Mode - Phone and Computer must be connected to the same router.
Follow instruction on the phone screen once you press start - Example http://192.168.1.2:5801/ <--- type this in your Computer browser = Enjoy!
USB Cable Mode - Disable data connection (flight mode). Start droid VNC Server, Follow instruction on the phone screen once you press start - Example http://localhost:5801/ <--- type this in your Computer browser.
Once you able to remote your phone from you computer browser, press phone menu and re-enable data connectivity (disable flight mode) = Enjoy!
Or simply download Remote Web Desktop in the Market. It's free.
or webkey, also free on market. havent tried Remote Web Desktop, but webkey is pretty good
dr. xp55 said:
or webkey, also free on market. havent tried Remote Web Desktop, but webkey is pretty good
Click to expand...
Click to collapse
my mobiler is the easiest i have tried. Just install the software on the pc (i use win 7 64 bit). turn on the "debugging" in the development settings of the phone. it will automatically push the app into the phone. Very simple indeed...
irajvi said:
my mobiler is the easiest i have tried. Just install the software on the pc (i use win 7 64 bit). turn on the "debugging" in the development settings of the phone. it will automatically push the app into the phone. Very simple indeed...
Click to expand...
Click to collapse
my mobiler is the easiest. Tried. thanks
irajvi said:
my mobiler is the easiest i have tried. Just install the software on the pc (i use win 7 64 bit). turn on the "debugging" in the development settings of the phone. it will automatically push the app into the phone. Very simple indeed...
Click to expand...
Click to collapse
+1 mymobiler.
v0.9.2
wow, its like opp of vnc.
irajvi said:
my mobiler is the easiest i have tried. Just install the software on the pc (i use win 7 64 bit). turn on the "debugging" in the development settings of the phone. it will automatically push the app into the phone. Very simple indeed...
Click to expand...
Click to collapse
my mobiler needs the phone to be connected to the desktop with a usb cable. thats a turn off. and if a rom (such as some of the ics roms based off the leak rom) isn't supporting usb mount, then theres no use. webkey can be connected to your phone from any wi-fi connection, from any browser, from any pc.
Mymobiler was the ipso facto app for wm6.x to enable one to control ones phone via a pc.
many people were waiting for it to be ported to android. It does support wifi as well as USB connections. I'm fiddling with mine now, as it happens. (downloading webkey, never heard of that one so thanks. I'll have a fiddle with that one too. It looks far more complicated i.e My mobiler is exactly what is says. Your phone on your desktop. I do like the look of the GPS stuff in webkey though.. Still fiddling...)
Webkey... far too complicated. How many user names/passwords/registration of device with them even?
kies air
you guys do know tht there is an app called Kies Air on our devices by default tht allows you to do tht ryt?!
Kies Air has less functionality
jeremy.chan said:
Kies Air has less functionality
Click to expand...
Click to collapse
I agree with that, but it also depends on what requirements you got
little bit slow, but worth it a try
webkey is slow over the wifi. cant connect with usb. much trickier than mymobiler. Also much slower than my mobiler.
Actually, I agree. Hence, I've uninstalled it since discovering Airdroid. Its also free on the now Google Play Store (seriously though, Google Market sounds much better, I don't know what they were thinking.)
Its similar to webkey, but its more organized and has a better layout. And if you can't or don't want to connect via Wi-Fi you can tether it to your PC with a USB. You can control your Note from the browser as well. Definitely check this one out, much simpler to use. I don't like apps that restrict me to only be able to control my phone or act as a file manager with a cable. But this has both options.
Sent from my GT-N7000 using xda premium
You can now use our VMLite VNC Server, the first and only VNC Server that works on any devices, on rooted or unrooted devices.
It provides you the full control of the device from a PC or from another device, with very repsonsive keyboard and mouse operations.
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en
For a review, pls read:
http://www.androidtapp.com/vmlite-vnc-server/

[Q] Turn off Suggestions / Recommendations Update:Answered

In the review on Gizmodo they said you can turn off the recommendations per app but I can't find it anywhere. Can anyone find it?
They seem to be controlled by the notifications setting:
Settings > Apps > (whatever app) > Notifications > On/Off
xBIGREDDx said:
They seem to be controlled by the notifications setting:
Settings > Apps > (whatever app) > Notifications > On/Off
Click to expand...
Click to collapse
Oh crazy, thanks. I saw that setting but I didn't think notifications = recommendations. Totally works though.
ah nice moves! never use google play movies
Well, we have been using Amazon Instant Video (since we're Prime anyway). And I'm racking my brain trying to figure out how to get the Amazon apk to the Nexus so that Chainfire's lovely little app can find it and hopefully that will work.
What do I do.... get the apk to the PC, then connect the Nexus Player to my PC and copy it over? I'd hate to re-invent the wheel if someone else here has already done it. I'd like to know how YOU did it.
Thanks!
The-Chief said:
Well, we have been using Amazon Instant Video (since we're Prime anyway). And I'm racking my brain trying to figure out how to get the Amazon apk to the Nexus so that Chainfire's lovely little app can find it and hopefully that will work.
What do I do.... get the apk to the PC, then connect the Nexus Player to my PC and copy it over? I'd hate to re-invent the wheel if someone else here has already done it. I'd like to know how YOU did it.
Thanks!
Click to expand...
Click to collapse
Hello there,
This was one of the first thing I tried, but it didn't work. Both the Amazon, and the Prime Instant Video apps have to be installed. Just like on a phone. (In case you're not aware the Instant Video app doesn't work without the Amazon app.) Anyways, I side loaded both apps, they started up, I logged in and was able to browse my video library, but I was not able to play any videos. The video begins to load, but shortly after it just goes blank. I used a USB OTG cable and a mouse to navigate through the Amazon apps. (A mouse just makes it a lot easier.)
So, if you would like to try it for yourself here's what I did:
On Nexus Player:
1. Enable developer options. (Go to "Setting," under Device row go to "About," scroll down to and click "Biuld" 7 or 8 times.
2. Turn on USB debugging. (Go to "Setting," under Preferences row go to "Developer options," click on debugging and turn on USB debugging.
3. Turn on Unknown sources. (Go to "Settings," under Personal row go to "Security & Restrictions," and turn on "Unknown sources."
On computer:
1. Make sure you have the latest Android SDK installed. (and that it's up to date)
2. Place whatever apk(s) you want to install inside the "platform-tools" folder. (wherever you extracted it\adt-bundle-windows-etc..\sdk\platform-tools) Once the apk is in the folder I usually rename the app with no spaces.
3. Connect your Nexus Player to your computer.
4. Open a command window on the platform-tools folder. (Shift, Right click, "Open command window here")
5. Check that your computer actually detects your NP by typing this command: "adb devices" No quotation marks, it should show your device as something like "04fc8453e8f6d75b device" (The very first time you do this an RSA key fingerprint notification will pop up on the NP (TV screen) saying, "Allow USB debugging?" check the "Always allow from this computer" mark and then "OK."
6. If step 5 checks out, and your NP is detected then use this command to sideload/install apps: "adb install appname.apk" Again, no quotation marks. (fill in "appname" with the actual name of the app, no spaces.) If all goes well you will see a "Success" remark in the command window.
7. Check Sideload Launcher and your app should now be listed there for you to use.
**To uninstall a sideloaded app go to "Settings," under Device row go to "Apps," then under the Downloaded apps row just select an app, and you'll have the option to uninstall it.
Good luck....
Johnny Martinez said:
Hello there,
This was one of the first thing I tried, but it didn't work. Both the Amazon, and the Prime Instant Video apps have to be installed. Just like on a phone. (In case you're not aware the Instant Video app doesn't work without the Amazon app.) Anyways, I side loaded both apps, they started up, I logged in and was able to browse my video library, but I was not able to play any videos. The video begins to load, but shortly after it just goes blank. I used a USB OTG cable and a mouse to navigate through the Amazon apps. (A mouse just makes it a lot easier.)
So, if you would like to try it for yourself here's what I did:
On Nexus Player:
1. Enable developer options. (Go to "Setting," under Device row go to "About," scroll down to and click "Biuld" 7 or 8 times.
2. Turn on USB debugging. (Go to "Setting," under Preferences row go to "Developer options," click on debugging and turn on USB debugging.
3. Turn on Unknown sources. (Go to "Settings," under Personal row go to "Security & Restrictions," and turn on "Unknown sources."
On computer:
1. Make sure you have the latest Android SDK installed. (and that it's up to date)
2. Place whatever apk(s) you want to install inside the "platform-tools" folder. (wherever you extracted it\adt-bundle-windows-etc..\sdk\platform-tools) Once the apk is in the folder I usually rename the app with no spaces.
3. Connect your Nexus Player to your computer.
4. Open a command window on the platform-tools folder. (Shift, Right click, "Open command window here")
5. Check that your computer actually detects your NP by typing this command: "adb devices" No quotation marks, it should show your device as something like "04fc8453e8f6d75b device" (The very first time you do this an RSA key fingerprint notification will pop up on the NP (TV screen) saying, "Allow USB debugging?" check the "Always allow from this computer" mark and then "OK."
6. If step 5 checks out, and your NP is detected then use this command to sideload/install apps: "adb install appname.apk" Again, no quotation marks. (fill in "appname" with the actual name of the app, no spaces.) If all goes well you will see a "Success" remark in the command window.
7. Check Sideload Launcher and your app should now be listed there for you to use.
**To uninstall a sideloaded app go to "Settings," under Device row go to "Apps," then under the Downloaded apps row just select an app, and you'll have the option to uninstall it.
Good luck....
Click to expand...
Click to collapse
I also had the same issue. Got both amazon and amazon instant video sideloaded, but just when the video is about to start playing it returns me to the main window. It also happens with the Xfinity Go app...
Any ideas why this is?
codya321 said:
I also had the same issue. Got both amazon and amazon instant video sideloaded, but just when the video is about to start playing it returns me to the main window. It also happens with the Xfinity Go app...
Any ideas why this is?
Click to expand...
Click to collapse
I really couldn't tell you why. My best guess is simply that these Amazon apps are not designed to work on Android TV.
I also sideloaded Popcorn Time, but it's a hit or miss. Some movies download just fine and play fine, while others get downloaded to a certain percentage and then stop and some just don't download at all. (FYI after watching a movie from Popcorn Time on the NP I always clear the cache folder in the Popcorn Time setting because some movie end up being about 2GB in size.)
codya321 said:
I also had the same issue. Got both amazon and amazon instant video sideloaded, but just when the video is about to start playing it returns me to the main window. It also happens with the Xfinity Go app...
Any ideas why this is?
Click to expand...
Click to collapse
Lollipop hasn't been out long enough for many apps to become compatible. Too early to tell if its a Lollipop issue or an Android TV issue. I'd assume you'll have to wait a while since I'm sure it's not a priority for Amazon to update for Lollipop since the FireTV isn't Lollipop yet either.
Johnny Martinez said:
I really couldn't tell you why. My best guess is simply that these Amazon apps are not designed to work on Android TV.
I also sideloaded Popcorn Time, but it's a hit or miss. Some movies download just fine and play fine, while others get downloaded to a certain percentage and then stop and some just don't download at all. (FYI after watching a movie from Popcorn Time on the NP I always clear the cache folder in the Popcorn Time setting because some movie end up being about 2GB in size.)
Click to expand...
Click to collapse
Yea, but what is odd is that I see mixed comments. Some people say that amazon video is working, but they don't say if it works for them or how.
Seems odd that both amazon video and xfinity apps do the same thing... Apps work fine but video won't load...
---------- Post added at 08:37 PM ---------- Previous post was at 08:27 PM ----------
Elrondolio said:
Lollipop hasn't been out long enough for many apps to become compatible. Too early to tell if its a Lollipop issue or an Android TV issue. I'd assume you'll have to wait a while since I'm sure it's not a priority for Amazon to update for Lollipop since the FireTV isn't Lollipop yet either.
Click to expand...
Click to collapse
Xfinity app works fine on my lollipop nexus 7. I haven't tried amazon yet though.

[GUIDE] Remapping Android TV remote buttons

Remapping Android TV remote buttons
​In this guide I will explain a way to remap to the shortcut buttons on the remotes of Android TV devices which cannot simply be remapped by e.g. Button Mapper.
I will use the Walmart Onn Box as example for this guide, but it should also work for devices like the Xiaomi Mi Box.
The general idea is to install an Android automation app which analyzes the system logs of you device and starts your desired apps when it sees the button press log messages.
Enabling ADB
To install the automation app and give it permissions it needs, you must enable developper mode on your Android TV device and connect to it from your computer.
Those two turorials should explain you how to do it:
https://www.xda-developers.com/how-to-sideload-apps-android-tv​
https://www.xda-developers.com/install-adb-windows-macos-linux​
Easy way to control your Android TV device
Since it is very cumbersome or impossible to do everything with the remote control I recommend to use ScrCpy.
This allows you to easily control your device from your computer using mouse and keyboard.
After installation you can connect to your device with adb and enter 'scrcpy' in your console. You should instantly see the screen of your TV on your computer.
Installing 'Automate'
The app I recommend for the automation is called 'Automate'. It is free, but sadly can't be directly installed from the app store on Android TV (because of compatibility).
To avoid this limitation you can download the APK from e.g. Apkmirror and install it manually via ADB.
adb install .\path\to\the\downloaded\apk\Automate_v1.32.6.apk
Click to expand...
Click to collapse
While you are at it you can also give the app some privileges which it needs later to read the system logs and to start the apps.
adb shell pm grant com.llamalab.automate android.permission.SYSTEM_ALERT_WINDOW
adb shell pm grant com.llamalab.automate android.permission.READ_LOGS
Click to expand...
Click to collapse
To start Automate you need a launcher that can see sideloaded apps. I recommend the X-plore File Manager since it's also a good file manager and can be easily installed from the app store.
( There are also other alternatives like 'Tasker' instead of 'Automate', but since that is not free and activation doesn't work properly on a sideloaded app I can't recommend that. )
Configuring 'Automate'
After starting Automate you can create a new 'flow'. The goal of that flow is to monitor the system logs, and start your desired apps everytime it sees a button press message.
That can be done mainly with a 'Log await' node that contains following configuration:
Tag: WindowManager
Message: .*interceptKeyTq keycode=(\d+).*
Priority: Debug
Logged message (array): keycode
Click to expand...
Click to collapse
You can then use "Expression true?" nodes to check for the found value in keycode (e.g. for the Live TV button) ...
Formula: =keycode[1] = "172"
Click to expand...
Click to collapse
... and start your desired app with "App start" nodes.
Package: com.google.android.tv
Click to expand...
Click to collapse
An example of a full flow can be found here: Remap Onn. Android TV remote buttons
Conclusion
After setting all this up the apps should start when you press the buttons.
However the original app (or its installation view) also starts before it, so if you press the back button you will return to that app instead of the previously running app. To avoid that just use the home button instead.
The Automate app will not automatically start if you reboot your Android TV device. If you want that you can activate that in the settings: 'Run on system startup'. But make sure that everything works perfectly before you do that!
If you get stuck in a loop where you can't use other apps and also can't open and configure Automate anymore, you can use this command via ADB to disable all flows:
adb shell am broadcast -a com.llamalab.automate.intent.action.STOP_FLOW -n com.llamalab.automate/.StartServiceReceiver
Click to expand...
Click to collapse
Double_A_92 said:
To start Automate you need a launcher that can see sideloaded apps.
Click to expand...
Click to collapse
As a one-off, in case you don't want to install another app, you can always run:
Code:
adb shell am start -n com.llamalab.automate/.FlowListActivity
KenMacD said:
As a one-off, in case you don't want to install another app, you can always run:
Code:
adb shell am start -n com.llamalab.automate/.FlowListActivity
Click to expand...
Click to collapse
I went to Settings > Apps > See all apps and then scrolled down and clicked 'Show system apps'. You can find Automate, and then click open to launch.
Thanks for your guide. Now my Xiaomi Stick 4K remotes Netflix, Prime Video and Patchwall buttons are changed to open other apps.
Can you make Automate flow work like Button Mapper having also double click and long press open different apps.
stapreedi said:
Can you make Automate flow work like Button Mapper having also double click and long press open different apps.
Click to expand...
Click to collapse
That's probably not possible, since this is a very janky way that relies only on the android system text logs. Maybe the double click could be done in some complicated way, but the long press definitely not.
Thank you for your reply.
I asked same thing at Reddit AutomateUser and Automate developer ballzak69 answered but he did not tell how to modify flow:
https://www.reddit.com/r/AutomateUser/comments/uo5c00
Your guide is popular:
https://www.reddit.com/r/MiBox/comments/uo1m4s
Thanks for Idea. I have acer remote with netflix, youtube, primevideo and tiki live button. How to find keycode for these button in my acer remote because given keycode don't works
omdhar said:
Thanks for Idea. I have acer remote with netflix, youtube, primevideo and tiki live button. How to find keycode for these button in my acer remote because given keycode don't works
Click to expand...
Click to collapse
Connect the output of the "Log await" with the "Toast show" node, and the output of that back into the "Log await". That will create a little message popup with the keycode everytime you press a button.
Double_A_92 said:
Connect the output of the "Log await" with the "Toast show" node, and the output of that back into the "Log await". That will create a little message popup with the keycode everytime you press a button.
Click to expand...
Click to collapse
Thanks. It will be great if you could share flow example to generate keycode in message popup. It will also help many other here too.
omdhar said:
Thanks. It will be great if you could share flow example to generate keycode in message popup. It will also help many other here too.
Click to expand...
Click to collapse
Download this file Remap Onn. Android TV remote buttons and do what Double_A_92 told. Use your tablet or phone to modify flow file because its easier. When you modify flow file on your tablet or phone then you have to use example Aida64 for app package names on your tv. Use Send files to TV for what app name says. You can do it from Automate apps share icon.
Hey, thanks for the detailed guide! i did everything (i think )but when i hit start its stuck on the “Log await” i used your shared flow cause i got the same box.
Any ideas?
harel013 said:
Hey, thanks for the detailed guide! i did everything (i think )but when i hit start its stuck on the “Log await” i used your shared flow cause i got the same box.
Any ideas?
Click to expand...
Click to collapse
Hmm weird. Try deleting the flow and download it again so you have a fresh copy.
Also make sure to configure which apps you want to start. In my shared flow they are just random apps that I had installed. Maybe that causes problems if they aren't actually installed on the system.
what is different between this way and others way like "Button Mapper" or tvQuickActions?
oldman20 said:
what is different between this way and others way like "Button Mapper" or tvQuickActions?
Click to expand...
Click to collapse
This is for devices where the vendor buttons are not even registered as button presses by the system. So if you tried to use ButtonMapper or other apps, it wound't let you select the button and instead always open the app written on the button.
But yeah, if ButtonMapper works for your device that's obviously a much better way of doing it.
Double_A_92 said:
This is for devices where the vendor buttons are not even registered as button presses by the system. So if you tried to use ButtonMapper or other apps, it wound't let you select the button and instead always open the app written on the button.
But yeah, if ButtonMapper works for your device that's obviously a much better way of doing it.
Click to expand...
Click to collapse
thank, it got it!
btw, can i ask this?
How to check succeeded in transforming tv box into an Android TV ? or just download app from Google Play without issue?
I have the entire thing written out and plugged in, the only issue im having now is "Syntax error in regexp pattern near index1" i cant figure out through google what im doing wrong.
NarkosNakan said:
I have the entire thing written out and plugged in, the only issue im having now is "Syntax error in regexp pattern near index1" i cant figure out through google what im doing wrong.
Click to expand...
Click to collapse
Make sure you really wrote
.*interceptKeyTq keycode=(\d+).*
With all the dots and asterisks....
Double_A_92 said:
Make sure you really wrote
.*interceptKeyTq keycode=(\d+).*
With all the dots and asterisks....
Click to expand...
Click to collapse
Thank you very much, i couldn't see the first period at all in the main post~
The last problem im having is finding key codes, i don't understand how we find those for the app.
NarkosNakan said:
The last problem im having is finding key codes, i don't understand how we find those for the app.
Click to expand...
Click to collapse
Connect the output of the "Log await" with the "Toast show" node, and the output of that back into the "Log await". That will create a little message popup with the keycode everytime you press a button.

Categories

Resources