yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] tailslol:
strange,i use it and i got no bugs. did you format your sd correctly ?
[Shield Android TV Android Development] zulu99:
You can use Foldermount app that is better to move app to sd or to usb

For Link2Sd app, maybe is a problem of the app that not take in consideration default android selinux protection.

If you want you can disable selinux, from terminal

su

setenforce 0
[Shield Android TV Android Development] Ludo13B:
Hello, :)

Sorry if somebody already asks, I use the Nvidia Shield Android TV today for the first time and I own a DAC Micromega MyDAC who works well with it (plugged in USB). Except Kodi, but it is a known problem.

Will it work with this version of Android too? I don't know if it is some Nvidia Shield specific drivers or if it has been integrated in this release.

Thank you for your hard work! ;)

Ludo
[Shield Android TV Android Development] f4exb:
Hello,

this seems to do the trick with Link2SD thanks! :) However I need it at boot time so I made it as a script in /etc/init.d as suggested in this other post: http://xdaforums.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245

Best regards.
[Shield Android TV Android Development] zulu99:
should work without problem. I don't have one to test, but others users tested some DAC
[Shield Android TV Android Development] Ludo13B:
Oh great! Thanks!

I will try it very soon. :)

I was waiting for a MM version but it seems never coming. Is it the Nvidia definition of "very soon"? ^^
[Shield Android TV Android Development] RebelebeR:
I used this ROM once before in its earlier stages, but had too many problems for me to want to use it. I tried it again last night to see if it were any better, and I had one main problem. In the last SATV update they finally added overscan adjustment which for me was a lifesaver because I have a cheap tv that does not have an adjustment for overscan in HDMI. The only adjustment is located in the VGA section which of course only works on the VGA input so I must have a way to adjust overscan on the device, and unless I missed it, this ROM is still lacking the adjustment for overscan. Could this be added fairly easily since nvidia finally added it or is it not likely to happen?
[Shield Android TV Android Development] zulu99:
https://play.google.com/store/apps/details?id=com.sagar.screenshift2

but you can find also others in Google Play. But my personal suggest is to buy a better TV. With the king Shield TV you can't use a cheap TV.

Generic for all others users: Something that i forgot to write in the past.

The best of Android are the millions apps in Google Play, this is the main reason why Android is better than Android TV.

But also because Android is more compatible with all apps in Google Play and every normal apps are better than Android TV versions because more updated, with more options and faster in interaction.

Someone think that i create full Android because for DroidMote is better, but is not so, DroidMote work very well also on Android TV https://youtu.be/128lK7Ut-Y0 but Android is still better than Android TV. There is no comparison.

This firmware is what i use and what i prefer for my TV, but everyone can use what they want.

I'm not happy or unhappy if an user uses or not this firmware, this is the one that I prefer for many reasons. Mainly because i don't like limitations.
[Shield Android TV Android Development] Beefheart:
Any chance you could indicate how you did this in Tasker? Ta.
[Shield Android TV Android Development] banderos101:
Goto "tasks" tab

Add task, Name it, then add task again

Pick "code", then pick "run shell"

Add this without quote in the command section

"echo 0 > /sys/class/leds/led_lightbar/brightness" = OFF

OR

"echo 255 > /sys/class/leds/led_lightbar/brightness" = ON

(hopefully no mistakes)

I think root is required, as i have it set to, but try without first just incase its not required i.e. the "Use root" box/tick (try "echo 0" first assuming led lights are on, press play on the bottom left of the task screen, to quickly see if it works)

You can put any number between 0 and 255, 0 being off and 255 being full brightness

I have three tasks named

Led off - triggers when i sleep the shield

Led on - triggers when display unlocked (full brithness)

Led half - triggers when screen on but display still locked (dim brightness)

Some folks could probabably take it further, say for instance, have the led lights blinking untill you acknowledge a pop up scene that triggers when you recieve an email notification, so the tv doesnt have to be on, and you can simply quickly glance at the shield to see if you've recieved and an email i.e flashing led light........email notification being one example of a trigger, folks could probably get creative with this

One note, seems like the app stickmount affects the file directory structure for this shell command, so if this doesnt work, that might be a culprit, if you want to rule it out clear stickmount app data, reboot and test

Edit

I lie.....i have mine set to "echo 15" (really dim brightnes) when i put shield to sleep, so i can distinguish the shield being literally OFF or sleeping at a glance

Edit

Or awake
[Shield Android TV Android Development] Beefheart:
Cheers, will try this now.

Edit - how do I link these to sleep state?

EDIT 2 - Never mind, worked it out. Thanks a lot works perfectly.
[Shield Android TV Android Development] RebelebeR:
I've used those apps to adjust overscan before and they don't always work with every app so not really interested in messing with them anymore, and if I could afford a better TV at the moment I would have already gotten it. Thanks anyway. I guess I'll stick to stock and modifiy it a step at a time. I can already use pretty much any app I want to by just selecting and downloading it using my web browser on my computer and have it installed on the SATV.
[Shield Android TV Android Development] joebobfrank:
In case you haven't seen it yet, Android M images are now available for the NVIDIA shield TV, but it requires e-mailing NVIDIA to get them.

(https://developer.nvidia.com/shield-developer-os-images)
[Shield Android TV Android Development] zulu99:
You can use apps for overscan settings and also commands in terminal emulator ( search in xda for manual commands) , is the same thing that the android tv app do.

Sideload is not like when you can download everything directly from Google Play.

Another beautiful fact is also that all apps installed can be automatically updated from Google Play.

Is not true that in Android TV you can run well all apps.

The missing status bar create many problems, the lack of many permissiins inside Abdroid TV create others problems and the default 320 dpi show the apps at very bad resolution. If you use only Netflix maybe Android TV can be sufficient, also if i prefer the normal Netflx app because is more simple make search and use bluetooth headset.

The Chrome browser, skype, hangouts and others millions apps work beautiful on full Android, is not the same with Android TV. I know this very well because i have two Shield TV to make comparisions.
[Shield Android TV Android Development] zulu99:
Request one and upload it somewhere. I will download from you.

Thanks for the info.
[Shield Android TV Android Development] digimancer:
I agree, the apps on the market do not handle scaling properly. I too have a crappy TV, and posted earlier that using aphysical HDMI to VGA or an HDMI to DVI (depending on your TV input options) is the best way to fix over/underscan.

---------- Post added at 11:23 PM ---------- Previous post was at 11:11 PM ----------

Wow they are requiring a lot of information in order to obtain it...

I think I will just wait, unless you decide to go for it and post a DL link.
[Shield Android TV Android Development] zulu99:
The apps in google play and the Android OS use the command wm overscan to adjust the overscan. Also the app in the stock Android TV firmware use the Android command wm overscan.

So there are no difference if you use apps, manual command in terminal emulator or the TV app.

Personally my Samsung TV adapt screen automatically, and is the best solution.

My previous rude answer was because there is no difference if you use apps from google play or the TV app. If the first is bad also the second must be the same. The only difference is the DPI value, but you can change also this.

I not use this functionality, so you can correct me, but i'm pretty sure that both are based on the Android command

wm overscan x,x,x,x

P.S.

You need root, so type su in terminal emulator before the command. wm reset to restore the original config. Search in google for better documentation on wm command.
[Shield Android TV Android Development] RebelebeR:
Sideloading as I understand is downloading the apk and copying it to the Shield, this is not what I do. After you use Market helper to spoof Nexus 7 once and go to the play store from a computer nearly all apps say they are compatible with the SATV. You can simply choose the app on your browser, click install and choose the shield and it downloads and installs it directly to the Shield and will update the app in the future when updates are out as far as I can tell. Either way no overscan adjustment doesn't work for me. I agree full android is better, but not in my current condition.
[Shield Android TV Android Development] digimancer:
You are correct, they all work the same as the terminal command: wm overscan x,x,x,x

Which works fine with some apps, and not so good with others, creating distortion on the boarders as well as warping certain overlay effects (like the icon selector hilite in Nova Launcher).
[Shield Android TV Android Development] Beefheart:
I love this rom, but overscan correction is a big issue. There is nothing out there that can touch the NVidia adjustment on stock rom.

I made the mistake of installing this rom with the overscan for my primary television incorrect, resulting in a 2-3 inch border around the edge of the screen. And I couldn't fix it regardless of what I did (including all suggestions above). I ended up having to reinstall stock (and when first installed that border was still there), I then made the adjustment to get it set up correctly on my primary television, then I reinstalled Zulu's rom. Again, it remembered the settings and worked perfectly. It would be fantastic if we could somehow get Nvidia's stock settings working just for this section of it.
[Shield Android TV Android Development] zulu99:
you can do the same with command

wm overscan x,x,x,x

you must lose 5 minutes to find your right values. To reset you can type wm overscan reset.

Android TV app do the same thing, maybe with logcat on stock firmware you can see also the correct command sended from Tv app.

In all modern TV, the TV automatically fit the screen. There is a button on remote or on the TV Menu.
[Shield Android TV Android Development] Beefheart:
As indicated above, I tried various values with this command over a couple of hours, and it didn't work. There was movement and changes on the screen, but the border was constant and only went with the full controls offered in stock.

Again, every application I tried either didn't work at all or gave results that had no effect on the border in question.

Not true, or certainly for me. My TV is an 18 month old 50" Samsung, and whilst there are some aspect customisation, there was nothing able to make anything more than a small difference to the border.

As said, the only way to get rid of it properly was to revert to stock, fix it with the Nvidia overscan adjustment, then reinstall your rom. The overscan adjustment allowed with that settings differs in some way from everything available on the Playstore and there is certainly more to it that the wm overscan x,x,x,x console command.

I would be interested to know where these overscan settings are kept in Android though.
[Shield Android TV Android Development] zulu99:
i not use this functionality my Samsung 55D7000 have fit to screen, but after your post I looked a little better how the overscan work on stock firmware.

on stock firmware when you have connect overscan from terminal emulator do:

su

getprop persist.tegra.hdmi.underscan

read the values and save it.

on full android set the same value, from terminal emulator do:

su

setprop persist.tegra.hdmi.underscan the saved value

reboot

let me know, and i will try to port the stock app to this firmware as installable apk if possible.

wm overscan x,x,x,x is for generic android, maybe Nvidia have specific thing on hdmi settings.
[Shield Android TV Android Development] Beefheart:
That would be fantastic, and a great help to a lot of people I'm sure.

As for the rest of your post, perhaps someone on stock could run the first part, I've been running your build for 5-6 weeks now and don't really want to revert to stock. Since I made the adjustments in stock rom before installing your rom over the top of it, overscan isn't an issue for me. And I agree as indicated earlier, NVidia definitely have more to their overscan settings than generic Android, you might have hit on it here with the persist.tegra.hdmi.underscan value.
[Shield Android TV Android Development] zulu99:
i don't have the shield now, i'm out from my office. can you only read the value on full android ?

su

getprop persist.tegra.hdmi.underscan

just to see if the value is present
[Shield Android TV Android Development] Beefheart:
Sorry, I'm at work. I'll be able to do this later though and post the results if someone isn't able to do it before that.
[Shield Android TV Android Development] zulu99:
This is the stock app for overscan settings.

https://goo.gl/wmG8iA

This is an Android app only, so to have it working on standard launcher, you must create a shortcut with QuickShortcutMaker https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut

The same procedure that you use to have Android Tv apps on full android, nothing special.

tested and working.

https://youtu.be/fFm2NAtxn7o
[Shield Android TV Android Development] Beefheart:
Fantastic work. Would you say Nvidia do something different than the standard overscan procedure as discussed earlier?
[Shield Android TV Android Development] zulu99:
Yes there is a specific lib to do that that the stock app use and store the value in persist.tegra.hdmi.underscan to make the setting reboot persistent.

You can also set the persist.tegra.hdmi.underscan manually if you know the exact value, but with the app you have the graphic guide.
[Shield Android TV Android Development] bobjoanRN:
how will i access the use of ether net as my internet connection...
[Shield Android TV Android Development] darktyroll:
[MENTION=1469500]zulu99[/MENTION]

Take the Vulkan Developer Preview for our SHIELD TV. But is the 500GB

http://ota-downloads.nvidia.com/ota...dd-full_ota-41937_664.8257.20160212074447.zip
[Shield Android TV Android Development] Beefheart:
Thought so. I checked the value and it's two digits separated by a decimal point. 0.0 in my case.
[Shield Android TV Android Development] zulu99:
Thanks, yesterday already downloaded and transformed.

Just to see some things, i hope that Nvidia update the source code soon. If you have the 16GB version let me know.
[Shield Android TV Android Development] darktyroll:
Indeed, mine is 16 gb.

What are the changes? Not the visual one :)
[Shield Android TV Android Development] zulu99:
I not installed, i trasformed the ota in system image and deodexed to see the new firmware structure and others things for my next work.

But the new in Android 6 is just the sd card as internal storage and many incompatibility with apps in Google Play.

It seem that you can adopt only sdcard as internal storage. If someone have more informations on this, please share.

But i started working, at least for the basic things before the new source code will be published.
[Shield Android TV Android Development] Beefheart:
I'm in no rush whatsoever to update to Marshmallow. I'm running Foldermount so the external storage feature of Marshmallow doesn't mean much and I'm certainly not willing to risk half my games and apps suddenly stopping working.
[Shield Android TV Android Development] chantelle310:
Going to go ahead and go with this over the next few days... I have one question. What happens when the next big shield update is pushed through? Will it brick/cause issues? Can I block the update coming through to avoid any problems?
[Shield Android TV Android Development] joebobfrank:
As soon as you OEM unlock the device (one of the steps for re-imaging your device), you'll stop receiving OTA updates (so no future updates will come through).
[Shield Android TV Android Development] zulu99:
if you need OTA, reinstall the stock firmware and receive OTA. Is simple.

but is not the only solution, also with FlashFire or TWRP you can install OTA

but to be sure, i suggest to install the stock firmware and receive OTA if you are not pratical with this things
[Shield Android TV Android Development] zulu99:
I installed and rooted the Android Marshmallow Vulkan preview.

After using it for a few hours, it definitely is not a build for everyday use. Strange reboots and malfunctions.

https://youtu.be/63KK9188FWE

I hope that the final version will be better and i hope that nvidia will publish the source code soon.
[Shield Android TV Android Development] Zacharybinx34:
Not sure if this is the finalized version, but someone posted this on the Nvidia forums.

http://ota-downloads.nvidia.com/ota...4.8257.20160212074403.zip</span></blockquote>

Edit: nm, it's the dev preview.
[Shield Android TV Android Development] chantelle310:
Went ahead and flashed this last night...

I'm still having issues with the light now powering off on the shield.

And not all apps being compatible. I understand closed framework can fix this right?

What about the light? Other than that. It's running very sweetly :)
[Shield Android TV Android Development] Grippen50:
"now powering off"?? I guess you meant not turning off. Nothing to do I think, if in standby light is always on, only when you really turn it off light goes off but that also means you have to power it on with the touch button on the shield. In my case I always turn it off so having the light on in standby is actually useful because this way I know its on standby. In my opinion Nvidia should have included two light colors or at least a dimming function when in standby. It's ridiculous not knowing its state when using stock ROM.

Which apps do not work? Some even if displayed as not compatible, if you sideload them they will work. Spotify is one example but there are others. However there are a few that do not work, for example Captain America Winter soldier game. Simply crashes.
[Shield Android TV Android Development] chantelle310:
Yes sorry not powering off is what I meant. Before installing the rom the green light switched off when the shield went to sleep. Now it stays on when in sleep mode. I only ever put the shield to sleep... It's not very often I pull the power chord.

In the leanback stock rom in the settings if gave an option for dimming and turning the light off completely. I wouldn't mind switching it off completely if that was my only option. The power/touch button works fine by the way too for waking and sleeping. Just the light doesn't power on and off.

An all off the top of my head that doesn't install from the play store is pure VPN... It says it's incompatible with this device. Their are a few more just I can't think of them right this moment.

I don't mind continuing to side load these apps. Just would be nice if I could get them along with app updates from the playstore

Thanks for the prompt reply too
[Shield Android TV Android Development] Grippen50:
As I said with this ROM light stays On when going to Sleep mode. To have it off you have to fully turned it off by holding the touch power button, installing an app to turn it off (my option) or with a remote by holding the off button will bring the power menu (I couldn't make it work on my harmony).

If the app is not supported you can't get updates. What you can do if the app runs fine when you sideload it is email the developer and tell him this, sometimes its a matter of selecting a checkbox. For Spotify for example I have no idea what's the reason for it showing has not compatible but in some cases may be because the shield doesn't have several of the sensors you have on mobiles or tablets. Either way only the developer can fix this.
[Shield Android TV Android Development] tailslol:
this is obviously a beta preview. but it is good they plan to support vulkan api for games.
[Shield Android TV Android Development] chantelle310:
right ok, thanks for that info, which app would you recommend? i have a harmony touch and the shield remote, i will purchasse a nice air mouse now tho.

i dont mind sideloading my apps, just wanted to make sure i werent missing anything,

thanks for you time :)
[Shield Android TV Android Development] Grippen50:
I'm using this one:

https://play.google.com/store/apps/details?id=com.ubicoo.shutdown&hl=en

But there are many others just look into the store. I'm using the top tv launcher so I can set one of the tiles for shutdown. Soon I will probably drop this as the developer of the launcher is implementing a shutdown button on the launcher itself so I may scrap this app soon. But if you have the shield remote I think that if you long press the power will pop up the power menu so you don't need this.
[Shield Android TV Android Development] deeciple:
Just wanted to get some clarity here. When you all say "shield controller" not working do you mean just the game controller or are you referring to the little remote controller also. My kids use the little remote controller and for them it is good because it is simple to use. They will not be able to use the Harmony remote (too complicated for 6 year olds).
[Shield Android TV Android Development] Grippen50:
I don't know how the remote works but I assume its via IR if that is the case I think it should work without problems.
[Shield Android TV Android Development] chantelle310:
[ROM][Full Android for Shield TV][v.2.2]

Can confirm the shield remote (the slim one that is currently coming bundled when you buy the shield) works with this rom.

I prefer it to the Logitech harmony as it responds quicker to key presses.

Thanks again for all your helpful answers

Edit: it pairs via Bluetooth. Select your mute button until it lights up green and then do a Bluetooth search from your shield. Takes about 1 minute to finish connecting but it works.
[Shield Android TV Android Development] justkidding2009:
Hey,

I alread created two tasks which are turning the LED on and off perfectly fine.

But I am not able to configure the profiles correctly so that the tasks are automatically executed correctly when entering / leaving sleep mode.

Could you please give me a hint?

I would really appreciate it.

Thanks,

Justkidding
[Shield Android TV Android Development] deeciple:
Great!!! Too bad we an't pair the game controller the same way :(

Thanks!
[Shield Android TV Android Development] banderos101:
How do you mean?

Nothing happens when you sleep/unsleep?

Or

Its turning on when it should be off Or turning off when it should be on?

Something else? (Might give us a better clue as to whats going on and hopefully a fix)

I use the profiles > Event > Display > Display On/Display Unlocked, triggers.......which i confirm working (if you dont have a lock screen setup up, then use display On instead of display Unlocked)
[Shield Android TV Android Development] justkidding2009:
Hey,

thanks for your fast response. I tried a lot of different stuff but no matter what I set in the profile the tasks are not executed.

I'll try to explain in more detail:

I've made two tasks. One with the echo 255 for turning the LED fully on and another one with echo 7 for dimming the LED.

When I execute the tasks locally both are working.

But when I create two profiles and attach the tasks to it the tasks are not executed when the event is met.

I already tried Display ON/OFF, Brightness 0 / 255, Variables %SCREEN / %BRIGHT. None of them seem to work.

What kind of lock screen do you have on your Shield? What is it good for on a TV?

I'll try that :)