yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] zulu99:
I already explained in this thread why i not change the right mouse button behaviour

Because in Android, right mouse button is supported and can be used by some apps in google play like a real right mouse button.

Usually i'm a purist, i don't change the base functionalities of Android and i follow the AOSP source code. If a developer change basic functionalities of the OS ( like in some Chinese firmwares ) you can lose compatibility with some apps in google play that must follow google guidelines and that use google android api.

The back button is also supported and every normal button of a generic remote can be remapped with a custom keylayout as back button if don't have it working by default.

You have also the navigation bar with the virtual back button always present
[Shield Android TV Android Development] tailslol:
it make the behavior closer to 4.2 and 4.4,making older remotes compatible with the shield basicaly.
[Shield Android TV Android Development] banderos101:
Ah, ok, cool.....no worries

As for remapping, on the off chance, does anyone happen to know of an app that actually recognises the "right-click" mouse button being pressed, as every keymapper ive used so far does'nt even acknowledge that im pressing anything when pressing right-click

On a personal note, seems a bit silly that lollipop changed the left and right click mouse buttons to do the exact same action, seems a bit wastefull.
[Shield Android TV Android Development] zulu99:
Lollipop don't changed the right mouse button behaviour. Maybe before you used some Chinese Android firmware that have the source code of Android adapted to sell some old chinese airmouse. Some of this airmouse was invented for windows OS, but some Chinese manufacturer, to sell this also with Android, modified the original Android source code to adapt to this.

But if you don't have an original Android, first or after, you are not compatible with some apps that follow google guidelines. This as general statement.

However, the back button is not a problem. If an input device is Android compatible you can do everything. Is not necessary change the OS, is more simple use an Android compatible input device or create also a custom keylayout for a generic input device.

The right mouse button behaviour from when Android support it, can't be changed with a keylayout like all others buttons. In every original / google certified Android devices from Android 4+ the right mouse button act as right mouse button and the back button is the back button.

I explain because i know that on this there is many confusion in users that used some Chinese firmwares / devices.
[Shield Android TV Android Development] tailslol:
Heh no,on asus transformers tf101 the right click was back and it was a stock android.

But it was 4.2 and 4.3 android.

On andydroid it is the same but 4.2 again.

And android x86 is the same but I think it is the under 4.4 only.

But I think Zulu put me in ignore list...
[Shield Android TV Android Development] Obecny:
Great,thanks! that is perfect now!

My remote is radio controlled but there is also a Infra red and the power button not using the radio signal just pure IR

remote working perfectly in stock rom but as I mentioned before the power button (on remote) doing nothing as it sending IR only

is the IR receiver in the box actually working ? is anyone using a infra red remote with this rom?

Thanks
[Shield Android TV Android Development] Grippen50:
I only tried it with my harmony in the stock ROM and it works well at least goes to sleep. I guess full shutdown isn't possible but didn't try it yet. Besides not a big problem actually keeping it sleeping inside Kodi is good for me. I can quickly resume.
[Shield Android TV Android Development] tailslol:
I think on 5.1 full shutdown need root.
[Shield Android TV Android Development] zulu99:
you can shutdown stock firmware and this firmware without problems.

long press the power button and you have the power menu. From power menu you select shutdown.

Usually i long press on power button of droidmote, but you can use also the hardware button of shield tv on this firmware and also any other remote / keyboard with the power button.
[Shield Android TV Android Development] tailslol:
He means remote shutdown. The app that enable those functions generally need root.

And I found a random thing. If you want to access recovery menu easily on any Android box ,plug a keyboard and hold alt and print screen.works on shield TV.
[Shield Android TV Android Development] zulu99:
If you are looking for some nice game that you can play on TV, i suggest this page.

https://plus.google.com/collection/MJ8l3
[Shield Android TV Android Development] Grippen50:
<Mod Edit - Comment removed.>

Haven't posted here for while. Thanks for the list. So Disney Infinity 3.0 runs with gamepad support on stock firmware? Didn't know that. Either way don't have any of the scenarios statues so I guess I can't play that much either but good to know.
[Shield Android TV Android Development] zulu99:
For the game part, you can do everything on both firmwares.

But In full Android you have the comfort that you can Download many free games directly from Google Play.

If the game supports controller you can play with controller, if the game supports only touch actions, you can create or download a touch profile.

Many touch games, need only two buttons or a very simple configuration so is very easy to play. And in the list you will find many touch profiles already made by me for the Shield TV / Nexus Player and all others android tv box 1920x1080 orientation 0

( orientation 0 mean that the device have default orientation in landscape, 1920x1080 is the resolution )
[Shield Android TV Android Development] tailslol:
for this orientation bugs i generaly install a force orientation app,because some apps go randomly to phone format without it.

damn it help tons. and for touch only stuff i generaly use a mapper app,there tons of good ones (tincore,touch to joy)that fake swipe and touch with joystick and buttons ;)
[Shield Android TV Android Development] zulu99:
As always you don't understand well. Maybe because you are using android on TV from not long time.

The orientation that i'm talking about is the orientation field inside the touch profile. inside the xml file. you can find many examples here http://goo.gl/JsZpNe

In others words, if you want, you can create a touch profile also for a phone connected via mhl / slimport / hdmi to tv that have default orientation portrait 0 and was rotated in landscape +90. In this case you must set orientation +90 when you create your touch profile.

If you want you can create also a touch profile for a game that work only in portrait mode on TV ( portrait in vertical mode, it is understood ) if you set the right orientation inside the touch profile. just for example.

The lock of rotation in landscape for some apps that not support it, is totally another thing, and i do this with xposed module app settings, that is useful also to set custom dpi and full screen for some android tv apps for example.

The difference with tincore, touch to joy and others tool is that this tools was made to run on a tablet, instead my touch profiles was made with TV in mind. You can create and customize the touch profile directly on your phone that is more simple. And you can do every touch action, also thanks to the Touch Mouse that simplifies the mapping of many commands, in fact is not necessary map many menu buttons because you can touch on it directly with the Touch Mouse.

What is necessary in this conversation is that every touch profiles that you can find at this link for free https://plus.google.com/collection/MJ8l3 can works on every android tv box that have resolution 1920x1080 and landscape as default orientation. 1920x1080_0

You can watch the game in video, if you like it you can download directly from Google Play and play.

Have fun
[Shield Android TV Android Development] tailslol:
well before i was using andydroid for pc,this rom had included already and free a program like droidmote called andy remote but it was just for the rom. but andydroid use a old android version (4.2)and was only for pc.
[Shield Android TV Android Development] zulu99:
Hey [MENTION=6954171]tailslol[/MENTION], watch this video that i recorded on my Shield TV while I was talking with you.

You can understand why the touch mouse is so useful. A video is better than thousands words.

https://youtu.be/wmCgquA7HCo

Watch especially the last part so you can understand even better

https://youtu.be/wmCgquA7HCo?t=1m54s

Full Android on TV is wonderful and can be controlled also without DroidMote but if you use DroidMote everything is exceptional.
[Shield Android TV Android Development] tailslol:
yes i know,it is like this program.

https://play.google.com/store/apps/...emote&pcampaignid=APPU_1_5h2YVrmXEofwUJXFkqgK

but instead of using a 5.1 shield tv,it use a x86 4.2 android rom for pc.
[Shield Android TV Android Development] zulu99:
:) :) In the world there are many cars, but not all cars are Ferrari :) :)

If you need others examples let me know. I'm at your disposal.
[Shield Android TV Android Development] tailslol:
heh well if you compare the shield tv as a Ferrari then andy is a rocket space ship... it is a old 4.2 core but it is a pc x86 core with support of accelerated video drivers...so it use the power of a pc. the only problem is the insane electricity usage of the pc during the virtualisation... (400w vs the 20w of the shield tv) but it is fun to use andy for insane geekbench and antutu results . :p
[Shield Android TV Android Development] zulu99:
yes in your dream. Try to play with Netflix and others drm apps, or check how many apps are working well on your fake Android OS. :D

But this is not inherent in the speech that we are doing. I'm talking about remote control when i used the Ferrari metaphor.
[Shield Android TV Android Development] tailslol:
as i said,it use a old 4.2 core,most drm does not work on that old version. it is just fun to play with for the pure power of the thing.but yes it support 4k and 1440p content and display.
[Shield Android TV Android Development] zulu99:
i have an idea for you, open a thread about this fake Android OS and support your users in this thread. maybe you have success :D

but attention, is not only a question of old Android version. But with time you will understand.

Also on old android 4.2 certified devices DRM apps works well.
[Shield Android TV Android Development] tailslol:
heh this is kinda a bad idea :silly:

and i got a shield tv totaly certified now

that is waiting a full android 6.0 :p
[Shield Android TV Android Development] cleaner23:
Hi Zulu99

thanks for this great ROM. I have just a small (maybe stupid question - or already answered... sorry) just to make sure i'm avoiding an bricked shield:

I would like to (re-)flash your rom. I already tested once your rom - followed all you steps at page1 (unlocked bootloader, etc. etc.). did work well.

then few days later i decided for whatever stupid reasons to re-flash the device with the latest stock (dev) rom from the nvidia site but rooted it afterwards.

So i'm on the latest update/official (dev) rom with root. works well or lets say as good an locked-down android tv system can work ;)

What is the safest way to flash back your rom on my shield under the current conditions described above?

Sorry, i'm really new to this android world and don't want to mess the device up.

thank you for your help!
[Shield Android TV Android Development] darktyroll:
Zulu, how to make mouse zoom in Boom Beach game for example?
[Shield Android TV Android Development] tailslol:
first question.

do you have a custom recovery installed?

like twrp for example?

2nd question: latest stock rom,so it is 2.1?
[Shield Android TV Android Development] digimancer:
I have ADB-flashed back and forth 3 times now, between this rom, stock dev rom, and the CM12 rom and haven't had any problems. Now I am just using TWRP and making/restoring external backups because I was getting tired of having to reconfigure every time I changed my mind... Just remember to follow the original instructions and you should be fine (assuming the device isn't faulty).
[Shield Android TV Android Development] zulu99:
You can flash my system.img without problems if you start from last stock firmware 2.1 rooted or not rooted.

I suggest to create backup with Flashfire app of both firmwares, so you can switch between firmwares in 2 minutes.
[Shield Android TV Android Development] zulu99:
or two fingers with droidmote touchpad.

Or if not work because require an internal touch screen, you can create a touch profile with the left stick and right stick mapped in the left and right part of the screen, so when you move both the sticks like a pinch to zoom, you can zoom in/out

P.S.

I made a touch profile for you. Download from here: http://goo.gl/JsZpNe

I tested, i confirm that you need the touch profile and with the gamepad you can zoom in/out

https://youtu.be/urcbhwnWBow
[Shield Android TV Android Development] darktyroll:
Thanks. That means only with touchpad will work? Not with mouse?
[Shield Android TV Android Development] zulu99:
zoom in/out with gamepad

all others actions with mouse

Is very simple, if you have your phone in landscape switch between gamepad and mouse.

https://youtu.be/urcbhwnWBow

this game have a little problem, in fact some time you can zoom in/out also with two fingers on touchpad. But not always.

the difference between the touchpad and gamepad2touch is that the first is an external multitouch input device and the second is a real internal touch screen.

the game not manage well the external touch input device, for this reason i suggest to use the touch profile so you can zoom in/out with gamepad.

This is a tech explanation not useful to play the game. You can download the touch profile and play. It 's easier to do than to write.
[Shield Android TV Android Development] ErAzOr2k:
has anyone tried the sky go (germany) app?

is it working?
[Shield Android TV Android Development] tailslol:
it should,most french tv apps here in france are working but dunno for german one
[Shield Android TV Android Development] zulu99:
Advice for everyone.

When Android TV 6 for Shield TV will be out, if you test it and want return back to this firmware, you must flash back the stock firmware 2.1 and after install this system image.

Like for the Nexus Player, i will open a new thread for Android 6 because the Android 5.1.1 is for at least others two years very usable and more compatible with all apps in google play.

Unfortunately in Android, when a new version is released, the previous version is the most used, therefore the update process of all apps in google play is slow, because developers know this fact.

I will try to create also a full Android 6 for Shield TV if Nvidia will publish the source code like for Android 5.x at this page https://developer.nvidia.com/shield-open-source

For the Nexus Player i already created 3 versions of full Android 6, because the source code is on AOSP. I hope that Nvidia will publish the source code soon.

Apart the controller part, that without a proprietary protocol could be better, Nvidia did an excellent work with Shield TV. The best device with excellent drivers and Android HAL components for me.
[Shield Android TV Android Development] banderos101:
:good:

Thanks for the usefull info, probably an idea to put it in you're 6.0 thread too once its made
[Shield Android TV Android Development] tailslol:
yes,i got myself a nexus phone,and yes every updates come with incompatibility.

that need time to be worked on.

it will not be a bad idea to start new because of the size of this thread.
[Shield Android TV Android Development] banderos101:
Thats usefull too, for the newcomers, but i was mostly referring too

"When Android TV 6 for Shield TV will be out, if you test it and want return back to this firmware, you must flash back the stock firmware 2.1 and after install this system image."

Should have quoted on my original reply, my bad

Edit

Saying that, hopefully a twrp/flasfire backup has no issues
[Shield Android TV Android Development] zulu99:
If you install the 3.0 stock firmware and you want come back, you need the 5.1 bootloader, so you must flash the stock recovery firmware 2.1 with fastboot and after install the full android system image with fastboot.

In alternative you can swap also the system.img from the stock recovery firmware and flash-all in one step.

You can find the stock recovery firmware 2.1 here: https://developer.nvidia.com/shield-open-source

P.S.

Android 6 have a bootloader that not permit the execution of previous kernel and firmware. ( i know this because the Shield Tablet Android 6 ) So you must flash back the complete 2.1 stock firmware that have inside the previous bootloader and after you can install the full android system image.

But not worry, i will create also a full Android 6 for Shield TV if Nvidia publish the source code, if Nvidia not publish the source code, i already have a second alternative. I like only full Android on my TV, Android TV is for iPhone users :)

Why Nvidia do not publish as developer firmware directly a full Android version ? i really don't understand. For Nvidia is a qurstion of two minutes build and publish also a full version for users like us. The fact that Nvidia not publish also a full version confirm what i think from long time, big companies want users with limitations on TV, so they can sell better their services. There is no other explaination.

Hey Nvidia, contradict what I think, make a gift to us, publish also a full Android version so everyone will be more happy with your super device. For a super device like your, Android TV is like a straitjacket. Show to the world how strong is the Shield TV with a complete version of Android inside.
[Shield Android TV Android Development] designforce:
FireTV BT Voice Remote with Shield?

Has anybody tried to pair a FireTV Bluetooth Voice Remote with a Full Android flashed Shield TV and is the Microfone working then?

Or there are any News on get the Shield Controller with its Propetary WLAN Protocoll working?

Best Regards

Hannes
[Shield Android TV Android Development] zulu99:
Don't forget that you can use bluetooth mic or usb mic that is a better and more pratical solution. If the mic of fire tv remote is a normal bluetooth mic it must work.

But

A webcam with mic is wonderful, you can say "ok google" without pressing any button. And you can use also hangouts and skype without problems on your giant screen.

P.S.

We are in the future, Android TV users are 10 years behind at level of an old smart tv or an advanced dvd player.

If you need only Netflix a chromecast dongle is sufficient, but if you need Android on your tv, Android TV is not Android.

But with full Android on a certified device you can do all that you can do with Android TV + others millions things.

We can use thousands and thousands controllers in wireless mode, why we must accept a controller with proprietary wireless protocol if to have this we must use Android TV and lose the millions things that the real Android can offer. Apart that that stock controller create also problems to the wonderful wifi ac present on this device.
[Shield Android TV Android Development] zulu99:
I want to share my mood

Really I do not know what to expect with the new Android 6 update

I really hope that Nvidia does not ruin our dream. Nvidia can if he wants.

Dear Nvidia, do not forget that we are buyers like all others.

After all you sell the device and the streaming games that we love, and this things can work also on full Android like all others paid services of others companies.

I think that if you create also a full Android firmware as development firmware, this device can be the most sold device in the world.
[Shield Android TV Android Development] mandark_a:
Now, this should be shared on nVidia SHield fb page.
[Shield Android TV Android Development] tailslol:
i think we do not have to worry,google included the cpu of the shield tv inside one of their devices.so it is guaranteed we will have a regular update.

starting with marshmallow.

so the sources will be more avaliable and custom roms should become easier to make.

zulu you already made a 6.0 full android for the nexus player. i know it is not the same devices but you should know what to expect.

right?
[Shield Android TV Android Development] zulu99:
Is not so.

The source for the pixel C can't be used for the Shield TV.

Only the kernel source maybe.

It is understood, if you want a perfect firmware like full Android.

Nvidia publish the source code for Shield devices in his public website.

Many parts are also closed source, are specific for Shield devices and are only inside the stock firmware.

As i wrote in previous posts, my work on Shield TV is very difficult, because not all source code is avaiable. Instead for the manufacturer, it take 2 minutes to build also a full version when it release the android tv version.

I know how to do my next work, but if Nvidia want, can block this. For this reason i suggested what you can read in the post above.
[Shield Android TV Android Development] cleaner23:
[MENTION=846889]Tails[/MENTION]ol and [MENTION=1469500]zulu99[/MENTION]: thank you for your help!

yes, i have TWRP multirom 2015-06.30p1 (v2.8.7) and latest stock v2.1.
[Shield Android TV Android Development] tailslol:
as i said "will" means in the future, and yes pixel c code and aosp will be mostly for the kernel,nvidia still need to publish some drivers for the shield tv but with the new sources comming poeple will figure out. heard about some cm13 in preparation for it.
[Shield Android TV Android Development] zulu99:
You can install the full Android system image with fastboot as explained in first post.

If you want be more secure, and you worry about twrp, you can reinstall the stock firmware 2.1 totally ( incluse the stock recovery - flash-all.bat )

https://developer.nvidia.com/shield-open-source

Start the device for one time with stock firmware

Reboot in fastboot mode

Install full Android system image

Reboot

P.S.

The important fact is that you start from stock firmware 2.1 and your device do not have old hardware problems like some devices that was retired by Nvidia. The 2.1 update, in the past highlightedthe devices with hardware problems that was retired. If you already have 2.1, your device should be good.
[Shield Android TV Android Development] NiHaoMike:
Any news about reverse engineering the controllers so they can be used wirelessly?
[Shield Android TV Android Development] zulu99:
All info about the controller are in the first post.
[Shield Android TV Android Development] tailslol:
yes i agree with zulu,first flash everything to stock to remove twrp then add full android,we had so much partial bricks with twrp for no reason.
[Shield Android TV Android Development] zulu99:
Anyway, this full Android 5.1 firmware is perfect ( i can say this without problems after many months of tests )

I hope than Nvidia will publish also, at least, the base source code for Android 6 for Shield TV like he did for android 5.x

If Nvidia decide to share a development firmware full Android 6 we are also more happy.

.
[Shield Android TV Android Development] designforce:
Hey this was only a Idea because i can get the FTV remote for about 5 Euro from a Friend, but the Hint with the Camera is much better , thank you for this.

Looks like i Buy a Camera with Mic. instead the unwanted 2nd remote with microfone to enhance my Harmony RC Setup any Suggestions (Manufactor & Model) for a good Camera?

When this works i gonna sell my "10 Minutes used" Shield Controller on eBay and Buying a 2nd XBOX360 Controller or is there a better Controller out there thats worth to buy ?

P.S.

Could this not a good Idea to put such things on the 1st or 2nd Post of the Thread in a Tips'n'Tricks / FAQ section.

Best Regards and Thank you ;)