yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] Idan73:
Ok that explains it then. The generic key layout is just simulating generic keyboard with adition of gamepad axis. No wonder fire keys don't work if a game does not map to that specific keyboard key. And of course grid games are made with nvidia controller in mind.

Yup I'll try to clone my nvidia controller layout tonight after work.

Wonder if I can assign my logitech bluetooth/wifi mouse: right click, side scroll wheel etc similar aditional functions? I'll try. ?

Thanks for everything

Note 4 ?
[Shield Android TV Android Development] zulu99:
no no, you can use any hid controller also with nvidia streaming games. you have to correct only the keylayout if necessary.

the best controller for nvidia streaming games is the xbox 360 wireless controller, because many games are made for this controller not for the nvidia controller.

infact are PC games.

in the Generic.kl there are keyboard , gamepad buttons and gamepad axes mapping. (so also gamepad buttons for your generic controller that you can remap)

no, in the keylayout you can't map mouse right click / scroll. This things are inside Android OS. Refer to this guide on how to use keylayout: https://source.android.com/devices/input/key-layout-files.html
[Shield Android TV Android Development] Idan73:
But mappings for 360 and nvidia are the same when I compared them last night, as well as logitech wireless. Only device scan code might be different.

The article explains everything except how to scan for and get device vendor and model id. Do I get it with pc?

Anyways sorry for off topic. I'll google more.

Note 4 ?
[Shield Android TV Android Development] zulu99:
for vendor id product id https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator

but you can use also the name of the device if is not too long.

infact with DroidMote i use droidmote.kl
[Shield Android TV Android Development] drilus:
While attempting to get this rom on my Nvidia Shield Pro I'm now stuck in a bootloop.

I've flashed twrp and the rom. I've erased user data but it looks like it tries to run a script then reboots.

Can anyone help me fix this?
[Shield Android TV Android Development] zulu99:
I not tested this firmware on the Shield Pro, only in the 16GB version.

But should work because only the boot.img is different and you have already installed the right version on your Shield Pro.

But try with fastboot.

Start from a working stock firmware for your device.

After go in bootloader mode. ( your bootloader must be unlocked )

fastboot flash system system.img

fastboot -w

fastboot reboot

In case it don't boot, you can reinstall the original system.img in the same way to have the stock firmware again. Very simple and painless.
[Shield Android TV Android Development] .Ne0:
Would like to install this ROM onto a 128 GB microSDXC for my nVidia Shield TV Pro. ...It will be my first time Installing a custom.

found some tutorials for dual booting Android, but... which steps should I skip ? any additional steps to follow ?

http://xdaforums.com/showthread.php?p=31110734#post31110734

http://xdaforums.com/showthread.php?t=2501129

http://freaktab.com/forum/tv-player-support/rk3188-devices/20734-run-any-android-rom-from-sd-card
[Shield Android TV Android Development] drilus:
Thanks Zulu I'll try reverting to stock and starting over.

I've found something odd with fastboot. I can only issue one command during fastboot before it becomes unresponsive.

Ex.

1. fastboot flash recovery recovery.img

2. fastboot flash system system.img (unresponsive over usb)

It's at this point that I have to reboot the device into fastboot again to issue the second command. I've tried multiple usb cables to make sure that's not the problem. Does this happen on the 16GB version?
[Shield Android TV Android Development] zulu99:
after the update 1.2 no. Before i used an usb otg cable with a male usb to male usb to connect to my pc. otherwise i had some strange problems when i used fastboot. i don't investigate on this problem because now i'm using the micro usb cable that come with the Shield without problems.
[Shield Android TV Android Development] zulu99:
On Shield TV 16 GB we use flashfire app of Chainfire to create backup and fast switch between firmwares. When you have the two backup you can restore directly from inside Android without go in recovery. Question of 2 min to change a full working firmware. I not know if work in your model. for first tests put the backup inside the internal storage.

https://plus.google.com/+VideomapIt/posts/MCwhujcqMTL
[Shield Android TV Android Development] drilus:
This is what happens when I try to wipe userdata...I'm stuck at a spinning android screen.

$ fastboot -w

erasing 'userdata'...

OKAY [5565.897s]

formatting 'userdata' partition...

Creating filesystem with parameters:

Size: 496575111168

Block size: 4096

Blocks per group: 32768

Inodes per group: 8192

Inode size: 256

Journal blocks: 32768

Label:

Blocks: 121234158

Block groups: 3700

Reserved block group size: 1024

Created filesystem with 11/30310400 inodes and 1953543/121234158 blocks

sending 'userdata' (169075 KB)...

FAILED (remote: data too large)

finished. total time: 5566.189s

The really bad thing about all this is that it takes up to 2 hours to wipe userdata.
[Shield Android TV Android Development] Idan73:
The more i read your posts , happier i am about my decission to get 16GB version. Was waiting to see, and if zulu99 is going to get nvidia box, and which type. That is what drove my decission.

Non related update on my situation with cheapest ssd i coud get in the store.

It was Kingston v300 and it turned out to be crap. Every now and then it would decide to negotiate speed of 10mb/s , and it would take reboot or unplugging to get it to 100/50 mb/s. sometimes several times.

Exchanged it for 850 evo for $12 more. It does not do that slowdown anymore and nice side effect is that the benchmark is now showing 100 read and 110 mb/s write speed. Considering that this is not a pc and just generic drivers (without samsung magician software),this is pretty nice, especially that my write speeds are faster than read.

Sent from my nVidia Shield Android TV
[Shield Android TV Android Development] zulu99:
try also to wipe / factory reset with TWRP because is the same thing.

but from what i'm reading the Shield PRO version is really a BAD device. 2 hours to do ? ...

maybe is fastboot that not manage well big HD

on the Shield 16GB all is very simple and fast and with an external usb storage + FolderMount we can have infinite space.

How time it take to flash the stock Nvidia firmware ? Because as alternative you can swap only system.img in the stock firmware with my system.img and is the same thing.

If you can't flash well also the stock firmware, the situation is different because i will return back the device to the manufacturer.
[Shield Android TV Android Development] drilus:
Finally got it working! Thanks for you help [MENTION=1469500]zulu99[/MENTION]

Here are the steps I took to get it working (just in case anyone else happened to be in my position):

fastboot flash system system.img

fastboot boot twrp-multirom-20150630-UNOFFICIAL-foster.img

Once in TWRP: perform a factory reset. Reboot to bootloader

fastboot flash recovery twrp-multirom-20150630-UNOFFICIAL-foster.img

After that it worked without problems. TWRP handled the factory reset very quickly.

If anyone has the Pro model I suggest to boot to TWRP in order to format userdata. Fastboot is terribly unoptimized for the HD.
[Shield Android TV Android Development] kdb424:
One thing I didn't like about Nvidia game stream that's worth noting. If you don't use stock DPI than it breaks mouse input in games like FPS's in case you care. Controller and menu mouse works awesome, but games I can't aim in at all. As for back button, whomever commented about that, if your mouse has a back/forward button that works in browsers on PC, those work in android too and I love it. I leave mouse as is because I use a VNC client and need mouse clicks stock.
[Shield Android TV Android Development] gsmarena1644:
Just want to make sure

Zulu had said he recommends to go back to 1.3 then upgrade all the way to 2.1...then flash just the system img. I did give it a shot and it did not work, well it did just the video feed was green and black at times depending on the app. At any rate I guess my question is after going from 1.3-2.1 and flashing the system img do i still need the twrp on there for something?

thanks in advance
[Shield Android TV Android Development] kdb424:
Someone correct me if I'm wrong, but Stock 1.3 is for full android 1.8, and stock 2.1 is for full android 2.1. I was on stock 1.2 and went to full 1.8 and haven't flashed since, but have been keeping up pretty well here.
[Shield Android TV Android Development] gsmarena1644:
Yes you have to go to 1.3 if you wanna to go to full android 1.8, and you have to go to 2.1 if you want to go to full android 2.2. Also everything went well with my install and the twrp wasnt needed, super easy install
[Shield Android TV Android Development] kdb424:
Oh, I'm sorry, I thought your post was a question about versions. My appologies. I'm sticking to 1.8 personally till we get android 6.0 from someone. It's working amazingly, so no reason for me to go through the hastle of switching and losing twrp for me. I wouldn't blame new users for going to 2.2 though. 1.3 was the lastest version out when I switched in June/July is all.
[Shield Android TV Android Development] thekid22681:
I currently have a 16gb with zulu 2.2 on it. Everything works great an I absolutely love it. I just purchased a 500gb which I also flashed 2.2. The question I have is that I am giving the 16gb to the kids and would like to put it back to stock.. Do I have to flash stock recovery 1.3 and do the incremental updates, or can I just flash the stock recovery 2.1? Any advise would be appreciated. Don't want to brick another one.
[Shield Android TV Android Development] Patch7:
I just got my shield pro last week and installed the 2.1 from the get go with no issues. No need for incremental updating.
[Shield Android TV Android Development] thekid22681:
I am using zulus custom rom and want to go back to stock, not just update.
[Shield Android TV Android Development] kdb424:
You can flash stock at any time, any version. Just make sure you either use your backups, or stock images. You can flash stock images over anything, but make sure to flash all images, or use the included script.
[Shield Android TV Android Development] Patch7:
I know this might be a silly question, but does this rom support ethernet connection instead of wifi?. I looked for it in settings and it is not listed anywhere. I would rather connect it that way and leave my wifi open for all other devices in the house. Plus ethernet is better for kodi and gaming.
[Shield Android TV Android Development] gsmarena1644:
google cast receiver has crashed

Am i the only one who gets the "google cast receiver has crashed" error? If i first boot up it works ok, then after staying on it gives me that error when trying to cast. I have to hit the OK button to close then try again and it works. It wouldnt be that annoying if i was in front of the tv but this is the "brain" of my house so im not always in that particular room. Any one experiencing something similar? Ive installed the version that Zulu says to under 2.2. Thanks in advance guys.
[Shield Android TV Android Development] jesi:
Just installed dumeter ( https://play.google.com/store/apps/details?id=com.hageltech.dumeter ) To my shield, it is connected via wifi, dumeter not showing speed / stats, it works fine in all my other devices.

Any ideas to fix it?
[Shield Android TV Android Development] tailslol:
could be the lack of phone data that cause the problem?
[Shield Android TV Android Development] zulu99:
have you installed the last update from apk mirror ?

https://www.apkmirror.com/?s=cast+receiver&post_type=apps_post

I don't have problem with chromecast functionalities, also if i use the stand-alone app when possible.
[Shield Android TV Android Development] jesi:
Works fine wifi only devices also.

Zulu? :)
[Shield Android TV Android Development] gsmarena1644:
I am using the one that was inder 2.2 on the first post. I dont know what I installed though if it was arm or x86...how would I know which one is for me? I have the 16 gb version
[Shield Android TV Android Development] kdb424:
We have arm 64 bit devices, so any arm binary will work fine.
[Shield Android TV Android Development] Miustone:
Like this one...

Thanks [MENTION=1469500]zulu99[/MENTION] ! Your ROM looks very good Mate!

My shield TV is finally here and i want to test your ROM in the next few days. But first i have to read something about the Bootloader and how to get a Recovery.

I've made some ROM's in the past for some Sony Devices and my Nexus 6. I'm really advanced in tweaking Android 5.x + 6.x ...

I don't want to make a own ROM. But if you are open for some Help. I can maybe provide some nice stuff for this ROM...:angel:

BR!
[Shield Android TV Android Development] Patch7:
Does ethernet connectivity work with this rom?
[Shield Android TV Android Development] Otisrhw:
No settings plug in Ethernet and it works! Only thing I have noticed is some apps don't think it has internet connection (discovery channel) and give a popup no connection but it still works, just have to close popup!
[Shield Android TV Android Development] Patch7:
Thank you for the reply!
[Shield Android TV Android Development] fryheit:
Thanks for this great Rom Zulu!!

Some Questions.. I read a lot before but this are the things that i couldnt get to work:

1. Is it posibble to use the controller without an android device and usbOTG cable with the shieldTV? ( it works if i plug it in the shield)

2. Where to put the touchprofiles (TM-1920x1080x0.xml) and other ones? it doesnt show any to me when i choose.

3. Chromecast is also not working for me it always starts a connection and then crashes.. I used the latest ARM Version from apkmirror!

4. GravityLP from the Xposed neither. everytime i try to start it from the app draver it crashes.

5. How and which TWRP can i flash? Is this one ok? (twrp-2.8.6.0-shieldtv-unofficial.img) and is it possible to do with flashfire? I have not pro Version (shield and flashfire)

6. How to install Google photos? I can't get the apk from apkmirror to install..?

Thanks for any help.
[Shield Android TV Android Development] kdb424:
1. No, Nvidia closed sourced the wireless driver, and the ZULU doesn't like it as it hurts wifi speeds, even though many of us use ethernet. Another dev may get it working, but he's not even interested, and that's fair.

2. Should be detailed in the second post if I remember correctly, if not, I don't know, sorry.

3. Try a few versions back? I installed from the OP it's working flawlessly with iPhones, and my androids running 5.1 and 6.0

4. I just updated xposed through the repo, so I'll let you know if it fails after a reboot by editing this post, but at the time of posting, I'm running 1 version old and it's working, but have yet to reboot.

5. I'm no help here. Some say don't flash TWRP, others say go for it. I'm staying out of this one.

6. It installed just fine for me from the play store. If needed, look up market helper, install that APK, and spoof a nexus 7 and you can install most stuff from the play store. I personally use the Web UI play store after as it seems to update to the spoofed device faster.

Side note, if you are still having issues with anything google app related, make sure your play services are up to date. Mine don't auto update for whatever reason.
[Shield Android TV Android Development] tailslol:
Note the shield is an arm64 device not a regular arm one,try the arm 64 version.

And yes you can use the controller only in wired mode with the included USB given with the shield. No need any other cable.
[Shield Android TV Android Development] zulu99:
All others questions were answered.

About touch profiles, when you download it or create it, you have it in download folder. You can load it in droidmote client, so the right place is the client device. DroidMote Client lists touch profiles if are in Download folder or in a special folder with the name droidmote (to have all in one place if necessary ).
[Shield Android TV Android Development] lartomar2002:
[MENTION=308669]Zulu[/MENTION] has made a nice rom but there is always room for more. One thing he does not care to work on is enabling the ability to to use a wireless game controller because he says it interfere with wireless and Nvidia has not released the sorce code. That is all well and good but many of us are connected to the ethernet and therfore are not effected by any interference. Also, to install his rom you have to use adb which I have never done and do not want to bork my $200 device by experimenting with adb just to install a custom rom. I have used odin to change bootloaders on my Samsung devices and have flashed custom recoveries and custom rom but have never had any reason to learn how to use adb.
[Shield Android TV Android Development] dismissthesky:
So leanback Netflix has been broken for me for several weeks now. Every title I try to play says "This title is not available right now" with error code "aip-703 (2.10.0)". I've tried everything I can think of in trying to get it fixed, from clearing data/cache to outright uninstalling and reinstalling, and nothing seems to work. I did some googling and https://forums.geforce.com/default/topic/891047/shield-android-tv/netflix-quot-this-title-is-not-available-to-watch-quot-/2/ leads me to believe that it's Netflix checking my system version, seeing that it's a Shield TV, but since I'm using this rom it thinks that I'm using an outdated version and refusing to run. Any ideas here? Mobile Netflix works fine, but I much prefer the leanback version.
[Shield Android TV Android Development] Spiteful Monkey:
[MENTION=1469500]zulu99[/MENTION] Nice work on the rom. On a side note, any way to get function keys (F1, F2, etc) and numpad keys in droidmote?
[Shield Android TV Android Development] Divel-xtr:
Nice ROM, many thanks!

I have a little question, is there any way or workaround for 21.9 (2560*1080) monitors? I have tried some apps on (Google play), not really helpful..
[Shield Android TV Android Development] kdb424:
Unfortunately no. There are threads that have come up asking the same thing, and they all seem to find that android itself doesn't support the aspect ratio without stretching, which is a shame. I'm glad though I didn't order a 21:9 monitor when I was going to though. You can use them in 16:9 mode, but it seems like a waste.
[Shield Android TV Android Development] Divel-xtr:
really shame, but thank you for info ;)
[Shield Android TV Android Development] zulu99:
you can create a custom droidmote keylayout file that you can load directly from server settings.

DroidMote work also like a real hardware keyboard, gamepad. Therefore it support standard Android keylayout and keychars. the default keylayout is droidmote.kl but you can load also your customized keylayout from server settings.

the default droidmote.kl is under /data/system/devices/keylayout you can start from this to create a new one.

p.s.

In Android a keylayout can't have error inside, otherwise Android use the Generic.kl

you can customize also the keychars under /data/system/device/keychars if necessary

There are many guides in Android documentation about keylayouts and keychars.

https://source.android.com/devices/input/key-layout-files.html
[Shield Android TV Android Development] Patch7:
Just a quick question. I run my shield through my home theater receiver. When i ran the stock rom either rooted or non rooted i was able to get dolby digital on netflix and everything else. In this rom i only get stereo no matter what settings i try. Does this rom support surround sound codecs?
[Shield Android TV Android Development] tailslol:
Well good news rumors are saying tegra X1 marshmallow sources should start to come next week from Google :victory:

---------- Post added at 08:56 PM ---------- Previous post was at 08:54 PM ----------

Can be the app? Are you using same app on both?
[Shield Android TV Android Development] Patch7:
Its not the app. Netflix has no specific settings for audio output. It is handled by the rom.
[Shield Android TV Android Development] tailslol:
i mean you are using leanback or mobile?
[Shield Android TV Android Development] Patch7:
I tried both. It plays ok, just no surround sound output. The video is also no where as clean and crisp as the stock rom in netflix or other video either.
[Shield Android TV Android Development] r2d2_boss:
What is the best option to play modern combat 5

Thanks
[Shield Android TV Android Development] zulu99:
Netflix is an app full of protections. To have full hd you can use the Leanback version.

For standard quality you can use the normal version. Despite the standard quality i use the normal version because leanback apps in general are horrible.

Netflix is a crazy company, it add protections in Android without sense. Maybe it not know that an user can record Netflix in full hd also without root and in any firmware.

Look this:

https://youtu.be/G0Oajmr645o

Things are changing now, the users have many choices, but in the past, companies that add this kind of protection based on device model, they are trying to earn even from the manufacturer with paid licenses to have the application running.

It is not sufficient earn from the end-user, they want earn also from the manufacturer :)
[Shield Android TV Android Development] visitor29:
Someones maybe already somewhere mentioned, but what about hdd version console - is anyone knows about sshd goes idle mode in some stage with full android on board installed or it's keep constant spinning like on native firmware even sleep mode?

Sent from my Nokia 3310 using free xda app

---------- Post added at 03:49 PM ---------- Previous post was at 03:44 PM ----------

And cec hdmi future works?

Sent from my Nokia 3310 using free xda app
[Shield Android TV Android Development] zulu99:
Yesterday i found this useful service and i want share with friends.

http://apkpure.com

A digital copy of Google Play for all free Apps and Games.

Games incluse obb in xapk format

You can search by package name or google play url

No country restriction

No device model restriction

Easy to download

All apk are original and verified based on signature.

The world don't like restrictions, and this is just the first step.

p.s.

I think, is something automatic. Because i checked many apps, also some very new or casual selected from Google Play. I can't find a free app or game not present in apkpure website.
[Shield Android TV Android Development] tailslol:
ho no,another market alternative,i kinda preffer the real deal so a device spoffer is what i preffer now.
[Shield Android TV Android Development] zulu99:
With device spoffer you can select only one country and only some device models. One at time. And always under google restriction for device and country you select.

In apkpure you can have all without restrictions.

As always you write not correct things.
[Shield Android TV Android Development] crnkoj:
im sorry to ask, but i cant get this working,

in the OP it says that all apps from play store are directly installable. Well i have tried everything but there are so many apps that say not compatible with your device (antutu, need for speed most wanted for instance), is there something im missing?

thanks
[Shield Android TV Android Development] r2d2_boss:
[MENTION=1469500]zulu99[/MENTION] is modern combat 5 included in any of yours droidmote profiles? Thanks
[Shield Android TV Android Development] kdb424:
http://xdaforums.com/showthread.php?t=2146216

That'll fix you up. It's not a problem with the firmware, it's how google handles the play store. Not every device can have everything, but it's much better than android TV. This helps bypass that a bit.