yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] adampollack:
Can you help - this is strange...

---------- Post added at 02:44 PM ---------- Previous post was at 02:42 PM ----------

[/COLOR]

Hi Zulu,

1st off - thank you for this, extremely appreciative. This is great work and makes the shield incredible!

2nd - These are the steps I took and the weird situation I end up in:

1. Created backup in TWRP of rooted Stock ROM for restore purposes before flashing your system.img file

2. Flashed system.img , wiped, rebooted

3. System boots fine - I love what I see - amazing!!

4. Created backup of your setup (system.img, boot.img, recovery.img)

4. I restore my backup to show my friend the STOCK software/play some games with my remote, etc.

5. I restore once he leaves back to your ROM backup and upon boot nothing works - just fastboot/bootloader (which is helpful)

6. I proceed to Nvidia website and find stock image for my device and begin flashing boot - success, recovery - success, system - failed. See below:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash system system.img

target reported max download size of 67108864 bytes

erasing 'system'...

OKAY [ 0.843s]

sending 'system' (256 KB)...

OKAY [ 0.028s]

writing 'system'...

FAILED (remote: Partition write failed!)

finished. total time: 0.902s

I have managed to get myself back to stock by restoring my original backup, seems to be the only backup I can restore now. But why can I not flash a system.img via fastboot? What is blocking this?

Seems I can't get back onto your ROM now :(

Any help or ideas?

Thanks!!
[Shield Android TV Android Development] zulu99:
when you reinstalled full Android, you need to wipe all and start from scratch with userdata. you can't use the userdata of stock firmware with full android firmware.

i suggest fastboot -w command to wipe

for the fastboot failed error, retry, this is just a fastboot error.

i suggest to use the app FlashFire to easly backup and switch between stock and full android. read also previous posts, you can do all directly from inside android without go in twrp recovery.
[Shield Android TV Android Development] adampollack:
Thanks! I thought a wipe would do it but your answer explains why. Much appreciated! Now I can try it!
[Shield Android TV Android Development] zulu99:
Try FlashFire and you will be very very happy. only internal storage for backup restore and flash things.
[Shield Android TV Android Development] zulu99:
As i promised in the post above, this is my Gameplay with Madden NFL Mobile on Shield TV

In the video description you can find also the touch profile.

https://youtu.be/uAshR_PoZ3s

But attention, this is not the most simple game to play with DroidMote because you need the TouchMouse and Gamepad2Touch at same time to play. You need practice. I shared only because i promised to you. But i tested all functionalities and it work.

I downloaded it directly from Google Play.
[Shield Android TV Android Development] n2outlaw:
I downloaded it directly from Google Play and mine crashes every time on a 16GB and 500GB.

Your youtube video is Stock or Full Android? I've only tested on Full Android 2.2 and it crashes every time :confused:
[Shield Android TV Android Development] adampollack:
OK cool. Works for both full android and TV?
[Shield Android TV Android Development] zulu99:
I have full Android 2.2 I not use Android TV, i'm allergic. You offend me with this request :)

Maybe i used Market Helper to fake the Shield TV like a shield tablet. for this reason when i downloaded it from google play, i downloaded the right version. Or maybe you have installed something that create this problem.

Now i try to download the generic apk from apkpure.com and i will tell to you if is the version that you have or your specific problem.

P.S.

Is not a question of wrong version. Also the apk downloaded from apkpure.com work.

The first time that you start the game, you must close for an error. But after the first time it work always very well.

If is not the same for you, mean that you have installed something that create problems.
[Shield Android TV Android Development] zulu99:
Yes you need only root on stock firmware. Install FlashFire and with FlashFire you can make a backup of stock firmware, after with FlashFire you can install full Android, after you can make also a bakup of full Android and when you have both backup you can switch from a firmware to another in one minute with all working, user data, google account, all your apps. Wonderful.

Backup and restore only system and data partitions.

I use this when i develop to switch from a firmware to another to make comparisons on some things.

But in daily usage i use only full Android. Android TV is a little toy for me. :)
[Shield Android TV Android Development] adampollack:
Thanks got home and fixed it. Should be good to go now.

As for FlashFire... Can you link me to the post you recommend? Does it create 2 user data files and allow ongoing data between swaps?
[Shield Android TV Android Development] abysstek:
Has anyone got the Pluto.tv app to run in Lean back mode I have tried The shortcut Method but don't see leanback UI within it I then tried installing the Lean back Pluto.tv app but it crashed as soon as it opens. Is it the DPI settings I could use app settings in xposed to change it or maybe something else has anyone gotten it to work? and if so how. Pluto.tv is one of the few apps that are so much better in leanback when used on your tv
[Shield Android TV Android Development] zulu99:
I don't know Pluto, but no one leanback app is better than normal app.

Also youtube that should be the rapresentative app for Android TV, is a totally garbage, uncomparable with the normal version. The problem are the barriers added from directional keys that impose a bad UI with less options and horrible searches.

Only a masochist can use youtube leanback if he can use the normal app. Youtube is an example, incluse the update of yesterday, but this is valid for all Leanback app.
[Shield Android TV Android Development] abysstek:
I agree about the leanback apps being garbage pluto.tv is the only one i found that really is better in leanback when used on your tv. Its a great app and if you have used both versions you would understand why. If the makers would just simply allow you to access the guide without rotating your tablet it would work just fine you would have to use it to understand. but OMG the youtube app i agree so much with in fact the youtube app prompted me to install this rom in the first place
[Shield Android TV Android Development] zulu99:
If possible i will try to solve your problem today. i must test....
[Shield Android TV Android Development] abysstek:
Thank you so much its been driving me crazy. Pluto.tv is one of my 5 fav android apps as i dont have cable and im a channel surfer and its like having free cable. get it to work and ill even donate to you for your hard work. Thanks
[Shield Android TV Android Development] zulu99:
I tested the pluto TV app and it crash because it not found a resource not well specified

E/AndroidRuntime( 8033): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f04006f

Unfortunatelly i can't help on this.

But I realized instead that you can use the app in Chrome Browser very well with a better UI if you set in Chrome settings "Request Desktop site"

Apart with Chrome Browser you can watch the videos also with chromecast functionalities. You can cast from your phone, and in this way is also very simple.

And i found also some videos in youtube that explain how to have pluto in Kodi. https://youtu.be/EligqLuuwzI

If possible i will correct also the TV app, but i think that is a bad implementation of the developer that if read this post, can correct easly in the next version.
[Shield Android TV Android Development] n2outlaw:
I tried apkpure.com and Market Helper and crashes every time (over 20 tries)

Now I wipe one of my 500GB ones with a clean install and after booting up. I downloaded Madden NFL Mobile and same thing, crashes 20+ times.

Can you link a clean version of the v2.2 IMG with "no root" or "Open Gapps" installed like in v1.8

And also, can you link the Open Gapps you used because it has Google Play Store v5.10.29

I ask because I want to do some other test on 500GB models

I've also noticed some bugs with the Full rooted image with WiFi and some apps and I'm thinking it because of the Fastboot -W with 500GB models, at lease with my setup. I've installed this over 50+ times on over 30+ boxes and v1.8 has worked best with my setup. The only problem has been the Build.prop with YouTube Gaming and one of my Games if you remember awhile back.
[Shield Android TV Android Development] abysstek:
Thank you so much for your help. When will you expect your 2.3 version out? I will try all 3 solutions for now and see what works best Thanks
[Shield Android TV Android Development] abysstek:
Will this Rom having any problems running NVIDIA SHIELD Hub and stream Games using the monthly service Geforce Now?
[Shield Android TV Android Development] Patch7:
No
[Shield Android TV Android Development] zulu99:
Can someone others test the game Madden NFL Mobile ?

It is strange because on my shield tv with full android 2.2 it work well, but for an user in the forum it always crash.

I installed directly from google play, and after the first force close it work always well.

This is my gameplay on shield tv https://youtu.be/uAshR_PoZ3s

As you can understand i'm not interested in the game, but i want understand what problems have the user on the firware that cause this problem.

For me everything is perfect. I only update regularly all google app and services and i have also google play games installed.
[Shield Android TV Android Development] abysstek:
I just installed Madden to test for you and it booted then crashed tried 3 times and same result Maybe its a screen rotation app issue or one of the Xposed mods interfering like immersive mode. I also tried what you said with pluto.tv Went to the website with chrome changed to desktop mode and it says loading channels but never boots I then tried to chromecast it from my phone when i do that It the pluto screen pops up on my TV then closes back to my home screen. did it work on yours (the Pluto.tv) that is. I did test youtube and that goes from phone to tv great not sure why pluto won't and not sure why madden works on your's. Ill test madden and pluto on my brothers 500gb when i get a chance and post results

---------- Post added at 11:55 AM ---------- Previous post was at 11:06 AM ----------

Played around and got pluto.tv to cast by spoofing the sheild to a nexus 7 still cat play through browser as it says it needs flash even though i have flash installed tried to get madden working spoofing different devices, shutting down xposed mods that i thought were interfering it crashes on mine still anyway thats my update
[Shield Android TV Android Development] zulu99:
Many thanks.

In my device, Pluto cast well, like all others apps that have cast ability. Work also in chrome browser in desktop mode.

i have the last google cast receiver installed from apkmirror.

google play games installed

system webview installed

google now launcher

all google apps and service updated

but this is not a problem.

the strange fact instead is why the game Madden NFL Mobile work on my device and no in devices of others.

as xposed modules i use only app settings for lollipop this version http://xdaforums.com/showpost.php?p=61696098&postcount=1847

and official gravity box module for lollipop, for full screen from power menu for the entire OS and apps.

maybe is the app setting module ? (another version, can create problems ? ) but i not use it with the game....but is still possible.
[Shield Android TV Android Development] n2outlaw:
Got did the following all night :eek: :

1. Wiped my system back to Stock v2.1 (non-developers version), reflashed FA v2.2 and upon booting up (setting up as a new user) with no Xposed installed. I install Madden straight from Play Store and only crashes.

2. Wiped my system back to Stock v2.1 (developers version), reflashed FA v2.2 and upon booting up (setting up as a new user) with no Xposed installed. I install Madden straight from Play Store and only crashes.

What version of Xposed are you using and are you using App Settings v1.11 to alter something that may affect it? (I'm now using Xposed v79 from http://xdaforums.com/showthread.php?t=3034811)
[Shield Android TV Android Development] abysstek:
Im going to see if I can get madden working and help figure out the issue. I have been using the updated gravity box theres a newer one than the one you linked to. that might be the issue. This may be a dumb question with Xposed i should be using v79 SDK 22 Not V79 SDK 23 as 23 is for android M is that correct or am i and idiot ?

---------- Post added at 12:44 AM ---------- Previous post was at 12:16 AM ----------

I can confirm that V78 Xposed or V79 Xposed makes no difference madden crashes on both. I do have a question is there a way to flash V79 Xposed from V78 Without Doing a Full Wipe. I tried To just Flash V79 over V78 and It still is on V78 On my other system. I was able to flash V79 after to fresh install
[Shield Android TV Android Development] zulu99:
I thought, Maybe is module and xposed version that i have.

I have installed an old version of xposed v75 sdk22 arm64

the apk version 3 alpha 4

GravityBox version 5.3.2 that is also old

App Settings version 1.11 that i downloaded from here http://xdaforums.com/showpost.php?p=61696098&postcount=1847

In the game Madden NFL Mobile i do not use any module. It start as it is.

But.....

I uninstalled completly xposed and all modules and the game work.

I reinstalled the game and logged in with Google Plus and it work.

I have Google Plus installed and Google Play Games.

Can someone post a log of the crash ? you can do that with the command logcat and write to file.

after the crash

from adb shell on your pc

logcat > /sdcard/yourlog.txt

UPDATE: I FOUND THE PROBLEM ON THIS GAME:

My difference is that i use only DroidMote to control all my android tv boxes.

I disconnected the client and the game crash like for others users.

If i connect DroidMote Client to DroidMote Server the game work.

Maybe the game check if you have a touch screen, and when DroidMote is connected you have also a touch screen.

I found this thing, thanks to you. Many thanks.
[Shield Android TV Android Development] r2d2_boss:
Has any one managed to play Modern combat 5 on this rom as on mine the controler doesn't respond except only B, I try even droidmote without success, thank you
[Shield Android TV Android Development] zulu99:
With droidmote and also with nvidia controller, work very well.

I tested it and played many times.

With DroidMote active, work also MC4 and many others Gameloft games in controller mode. Controller mode is like a normal controller, instead gamepad2touch is for touch games.

https://youtu.be/f9wavAvhfWU

P.S.

I tested MC5 with the old build.prop, with the original Shield TV name. Is also possible that the new name can change the behaviour. But is very simple edit a build.prop

I write this because i found this my old post in google plus, very old post

https://plus.google.com/+VideomapIt/posts/j8KatFPqBDi

UPDATE:

I tested the last version of MC5 from Google Play today and it work very well with nvidia controller and also with droidmote. without any modification.

As it must be, like all others games with controller support.
[Shield Android TV Android Development] r2d2_boss:
Grazie bro.... I will give a try, merry Christmas and a Happy New Year for you
[Shield Android TV Android Development] zulu99:
I tested it today after the last my post.

Downloaded the last MC5 from Google Play and it work like a charm with nvidia controller and with droidmote.

without any modifications.
[Shield Android TV Android Development] r2d2_boss:
All good now, I know the reason... Thanks [MENTION=1469500]zulu99[/MENTION]
[Shield Android TV Android Development] Stevdoyle:
Is controller working

I just ordered my Shield yesterday. Cant wait to try it and sorry for being lazy but i am just looking for a quick answer. Is the shield controller working on this mod? If yes i will search through the post and find it.
[Shield Android TV Android Development] Xstar410:
the only way you can root the shield tv is by unlocking the bootloader & flashing TWRP recovery & then flash supersu & xposed framework from TWRP.

to unlock the bootloader you need to get fastboot drivers for windows(unless you are running ubuntu(linux) its already installed)

go to settings & enable developer options

then in terminal type "adb reboot bootloader"

then type "fastboot oem unlock"

this WILL erase EVERTHING....so back it up before you do....

once its unlock restart the system & skip everything including signing into google account

go to settings to enable the developers options again

download TWRP from here please unzip ONLY TWRP & rename it twrp so its easier to flash it in fastboot

KEEP TWRP ON PC!

please download the following zips in the internal storage download folder of shield tv

download XPOSED ARM64 here

download supersu from here

now go back to a terminal & type "adb reboot bootloader" & "Fastboot flash recovery twrp.img"

you will need a wired mouse at this point....

use the mouse to tap install and add the supersu & xposed framework & flash it

CONGRATS

you got root!

if you need any more info just ask!
[Shield Android TV Android Development] zulu99:
THE LAST FIRMWARE 2.2 is ALREADY ROOTED.

From Android TV, to have full Android, starting from last stock firmware,

You must only unlock the bootloader with fastboot command, flash the system.img and wipe userdata

fastboot oem unlock <---------- only one time, valid forever

fastboot flash system system.img

fastboot -w

fastboot reboot

After with FlashFire app you can install all that you want. For example xposed or others mod in zip format.
[Shield Android TV Android Development] Xstar410:
?

I was helping another member to gain root without flashing the new ROM...the guy only wanted STOCK android TV rooted....so please don't quote me if you CAN'T read.:silly::eek:
[Shield Android TV Android Development] banderos101:
Nope, that gets asked quite alot around here, dont know if its in the first post, if not, probably should, maybe font size 50, bold and the colour red, for good measure edit:50 was an intentional exageration......just making sure:o

The way zulu explains it, is that the wifi drivers that connect the controler to the shield is closed source, im afraid its upto nvidia, i dont see them open sourcing it

I think it works if you hook it up by wire, and theres Zulu's app, droidmote client and server, if i understood it correctly, you have the server on the shield, while you have the client on your phone, and then hook up the controller to your phone, so at least no ones tripping over any wires

edit

Bluetooth controllers work too, and some are pretty cheap......also working, bluetooth/Usb 2.4ghz keyboards/mouses etc etc
[Shield Android TV Android Development] tailslol:
well make another thread then because your answer or subject has nothing to do here,thanks you.
[Shield Android TV Android Development] banderos101:
Quality post, nice general idea, and links.dammit (for future readers)

edit: for the subject that it applies to

"so please don't quote me if you CAN'T read."

But that was a bit harsh
[Shield Android TV Android Development] Xstar410:
I was only joking & I did realized I was extremely harsh to an awesome dev....I should have made myself more clear. So sorry Zulu.

---------- Post added at 05:46 AM ---------- Previous post was at 05:41 AM ----------

I had NO problems with this mod using the controller, Bluetooth keyboard & mouse & side note all emulaters work such as drastic DS, my boy, & dolphin emulater.

ALSO Minecraft works on this mod too BUT not stock android TV (it worked on my nexus player though)
[Shield Android TV Android Development] zulu99:
All OK friends. You must understand only one thing about me.

I don't want be a good firmware developer or be in competition with anyone.

I intervene with my work, only when I feel that freedom of choice for users is in danger.

I'm also interested that users have a very very good firmware and can chose good apps without imposed limitations. I'm interested that you have a good firmware also because i'm an app developer and i want that my apps can work very well. The firmware must be 100% Google compatible to be compatible with all apps in Google Play and with all standard external devices. I'm against exlusive things that are used from companies to force you in some directions, especially if this things can work without problems on every device.

Android TV in future it could be also better than full Android, also if i don't think, but only the end users must decide this.

You can't force user in one direction at expense of all others.

Big companies work together to earn the most possible from you and is normal that prefer an user with limitations to earn more from you. Especially in the TV world because music and movies are not simple to protect.

With my work, I just try to put in the hands of the users the final choice.

So, you can write what you want and discuss about everything.

Are the end users that must decide the future of IT and we should not suffer the limitations imposed by the major companies.

P.S.

Don't forget that Android is open source, if you support Android TV you accept also that some Android devices can have parts of Android that are not open source.

And this is a very bad regression for everyone.
[Shield Android TV Android Development] banderos101:
Rebel, WITH, a cause :D

Preach it brother :cowboy:
[Shield Android TV Android Development] r2d2_boss:
I subscribe every single word...
[Shield Android TV Android Development] abysstek:
Question 1

I just installed the Modern Combat 5 Blackout & and can not get it to read any controller. I can not try my shield controller as I sold it due to the fact of no wireless on this Rom. Has anyone had any luck with this game and are there other games that require the original Shield controller I hope not as i didn't like the shape and feel of the shield controller & sold it I would hate to spend 60 bucks to buy another one when I am not found of it.

Question 2

I just read that the shield tv fully supports installation to SD both apps and Data however I have had no luck with it. Is it not possible at this time on this rom and if not (zulu) will this be something you can put in your next update.

---------- Post added at 06:12 AM ---------- Previous post was at 05:30 AM ----------

Issue 1 solved

I was using a Tronsmart android controller and I read other people had the same problem I found a solution if anyone runs into the same issue some games only will detect your controller if you only have your game controller plugged in and into the first usb port I had to unplug my air mouse from usb port 1 it a window came up saying no controller detected then i plugged in my tronsmart and Bam works great
[Shield Android TV Android Development] tailslol:
Well you can use the shield controller just use it with the USB cable...

And if you need more USB ports the shield is compatible with powered USB hubs.