yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] :
Just marking sure...

So the remote control will be useless unless is theater to the nvidia tv ?

What else is not working and what did I do wrong?

Windows 10 wasn't giving me any options for driver so I google it .

I followed the instructions and when came to the nasty screen ( the one doesn't display properly ) don't know what I did that after entering the command to unlock boot , I unplugged the cable since nothing was happening .

Now when I turn it back on now is stuck on formating . I am

Not a geek and many of us aren't as well . Should be more specific step by step and description in how to install this room .

Thank you for your replies

---------- Post added at 08:18 PM ---------- Previous post was at 08:14 PM ----------

So the remote control will be useless unless is theater to the nvidia tv ?

What else is not working and what did I do wrong?

Windows 10 wasn't giving me any options for driver so I google it .

I followed the instructions and when came to the nasty screen ( the one doesn't display properly ) don't know what I did that after entering the command to unlock boot , I unplugged the cable since nothing was happening .

Now when I turn it back on now is stuck on formating . I am

Not a geek and many of us aren't as well . Should be more specific step by step and description in how to install this room .

Thank you for your replies
[Shield Android TV Android Development] zulu99:
Make sure you have installed fastboot on your pc:

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

Windows USB Driver in case you need it

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

put the device in fastboot mode: http://nv-tegra.nvidia.com/gitweb/?...ob_plain;f=README_SHIELD;hb=rel-22r18-partner

Disconnect power cable

Insert USB OTG cable and make sure to connect other end to a host PC

Connect power cable to SHIELD

Quickly start pressing power button for ~3 seconds

Do not hold the button and connect power supply afterwards

HDMI TV should be always connected to SHIELD

type in windows command prompt:

fastboot devices <---------- to see if your device is in fastboot mode and is visible to your PC

fastboot oem unlock <------------------ to unlock the bootloader

and with the hardware power button of you shield tv navigate the menu to confirm the unlock

( long press the power button is like ENTER, short press like ARROW DOWN )

( you must switch hdmi input or have two monitor to see the shield menu if you are on PC )

The bootloader can be unlocked only one time and it remain in this state forever if you don't relock it ( i never relocked the bootloader )

when the bootloader is unlocked, you can forget the first part and flash a new firmware when you want.

FIRMARE INSTALLATION:

Pu the device in fastboot mode and flash my system.img

fastboot flash system system.img

fastboot -w

fastboot reboot

If you want you can reinstall also the stock firmware in the some way, like Nvidia explain: <-------------- Read from: HowTo Flash:

http://nv-tegra.nvidia.com/gitweb/?...ob_plain;f=README_SHIELD;hb=rel-22r18-partner

p.s.

simpler than that, I do not know how to write

for all others questions, you find answer in the thread. Full Android is many times better than Android TV and you can do all if you read the thread.
[Shield Android TV Android Development] banderos101:
A few notes, hope thats cool

other note/s

-there seems to be an issue with twrp and 2.1 bootloader?......i would'nt flash until more info comes out

-dont do what i did if your flashing both stock first then full android second, using bootloader........reboot, setup, and restart between the flashes, dont flash one over the other in the same session like i did, without restart, caused my shield to brick, either that, or i had a bad copy of 2.1 stock..........i used the official update procedure on my replacement shield
[Shield Android TV Android Development] zulu99:
this are things that in a device without hardware defects MUST not happen, if you unlocked the bootloader.

You can flash what you want and when you want, you must always have the bootloader, otherwise the device is defective. You can flash a new bootloader only if signed by Nvidia, therefore the bootloader should be always valid and active in a good device.

For this reason Nvidia retired many.models. We just hope that the new devices don't have problems.

Don't forget that the official guides to flash a stock recovery images, have the same procedure, use fastboot.

Compile a new firmware and install your build, is also an official procedure that Nvidia explain in this page: http://nv-tegra.nvidia.com/gitweb/?...ob_plain;f=README_SHIELD;hb=rel-22r18-partner

But i understand your comment. I write just to inform that flash a custom firmware is the most normal thing on an Android device. Today.
[Shield Android TV Android Development] zulu99:
Full Android version 2.2 was updated in first post

Changelog:

2.2

Fix Power hardware button

Fix build.prop to avoid google play update to TV version

TO HAVE CHROMECAST WORKING UPDATE THE APK FROM HERE:

https://www.apkmirror.com/apk/googl...receiver-1-16-45911-arm-android-apk-download/

Nothing special but we take care also of new users.
[Shield Android TV Android Development] tailslol:
you should call it 2.1.1 due to the minor fixes and avoid confusion if nvidia release a 2.2 firmware ;)
[Shield Android TV Android Development] TunaFlapjack:
what the easiest way to update to 2.2 and keep all my current settings/apps? i have no custom recovery will fastboot "reflash" overite the whole lot?
[Shield Android TV Android Development] zulu99:
You can add the fix manually in 2.1, so for you there is no reason to update if you already have the 2.1 full Android.

As i wrote in the changelog, we take care of new users, therefore they can have everything automatically without edit the build.prop and the keylayout of Power button.

But is useful also for me, when i flash the new firmware after experiments, because i don't lose time with the google play tv version :)
[Shield Android TV Android Development] zulu99:
If the device work well, not hardware defects like the models replaced from Nvidia, theoretically you can install others system.img also on others stock firmwares versions.

So my firmwares versions are not related to stock firmwares versions.

I suggest to start from the last stock firmware to have last stock things ( boot.img, recovery.img DTB blob ) but all others stock kernel should be always compatible.

When a device works well, don't have defects, you can do what you want, you can always turn back. Because you can always have the fastboot that is part of the bootloader / blob image. The bootloader / blob image can be updated only if is signed by Nvidia. If a device brick or bricked, is because the manufacturer has not created a good protection mechanism. So it have serious problems.

If it were different from what I say, Nvidia will not publish such a guide:

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

http://nv-tegra.nvidia.com/gitweb/?...ob_plain;f=README_SHIELD;hb=rel-22r18-partner

In this guides, you can see that when a developer produce a new firmware, it can flash all others parts, but it not flash the blob image.

This mean that in all others parts you can have also the garbage :) you can always turn back.
[Shield Android TV Android Development] tailslol:
better safe than sorry,you can't know what nvidia could break again,they did it in almost every versions...
[Shield Android TV Android Development] zulu99:
but also it behaved very well with customers, and for this reason i like Nvidia now

And from now on, I will buy more Nvidia products

A mistake can happen to anyone, but you must protect your customers

And Nvidia on this have my 100% approval

This is my experience, nothing special, I do not want to influence anyone with these words.
[Shield Android TV Android Development] Armar2:
How to detect that android switches from 1080p to 4K when the playing video is 4K?

I agree with this, but sooner or later apps packed with images > 1080 will be coming out more often.

So there should be HDMI settings in ROM (at least a manual how to change resolution) to let users choose between full 4K experience and high performance.
[Shield Android TV Android Development] zulu99:
Also The app / game from android 6 can request 4K surface automatically.

http://developer.android.com/about/versions/marshmallow/android-6.0.html#4K-display

Do not worry, you can sleep quiet

Android do whatever is necessary to do when it is needed, when it is not necessary is better to save resources, because the arm devices even if they are very powerful today, do not have the power of desktop PCs with the best Nvidia graphic card inside :)

---------- How to detect, if you don't trust your eyes: :)

adb shell dumpsys SurfaceFlinger

http://source.android.com/devices/graphics/architecture.html
[Shield Android TV Android Development] Armar2:
Also two things I really need in this ROM:

1) Ethernet settings

2) Remap mouse right button as "Back" command.

I mainly use Shield Tv with wireless mouse. There is an app Tincore Keymapper, but it works incorrectly. After remapping right button to "Back" it disables cursor moving.

Is there any alternative way to do remap mouse buttons? May be editing some files in the ROM?
[Shield Android TV Android Development] zulu99:
The right mouse button is the right mouse button in Android and is useful in many remote desktop apps to control the remote system if programmed by the developer. Or can be programmed to do others things. The back button instead is another different button.

This is original Android, no a Chinese subspecies

I can suggest to use DroidMote, in this way you can do everything. Or another hardware input device Android compatible like DroidMote.

We follow Android guidelines, we don't add trash to Android core. like Chinese firmwares.
[Shield Android TV Android Development] banderos101:
Cheers, but what im really concered with right now, is having the ability to make a backup for when things go wrong when testing things that can potentially mess up my already configured installation, whether that be twrp or anything that gets that same job done, flashfire?

Right now, i have no idea if its safe to flash twrp on 2.1, and i dont wanna risk another brick to find out the answer to that one, you know..........which is why im keeping an ear out for anyone who might have flashed it succesfully and tested that it works without any obvious issues

Thanks for another update zulu

2 questions for future reference, if you have time too

1. Can users dirty flash this 2.2, over your 2.1?

.i..e. we dont have to wipe and start over again(flashing system.img in fastboot wont trigger a data wipe, correct, only if you use the fastboot -w command?)

2. Will this re-install the google apps that i uninstalled in 2.1, in a dirty flash?

i uninstalled and disabled as many google apps, those that were obvious to me at least
[Shield Android TV Android Development] zulu99:
1) yes

2) yes

With flashfire you can backup all and restore all when you want. don't forget for backup and restore you must use the internal sdcard

If you already have 2.1, is not necessary install this new update.

This update was made for new users with all fix inside, that you should already have.
[Shield Android TV Android Development] banderos101:
Thanks zulu

Have you personally tested backing up and restoring using flashfire on our shields or are you assuming it will work? Sorry to keep asking, but its not quite clear which one it is
[Shield Android TV Android Development] zulu99:
yes i tested and used many times, expecially some month ago when i switched between android tv and full android to see and understand the differences.

don't forget all things inside the internal sd card. The only problem is that others storage devices are not working. usb / ext. sdcard. But is not important you can do all with internal storage and after copy / paste the result where you want.

You must backup system and data no others partitions. With system and data you have all working again when you restore.
[Shield Android TV Android Development] netvlada:
Hi Zulu

Does stock screen recorder option works via Shield controller with usb cable ?

Nvidia make this option to be accessed only via Shield controller,not via IR commands.I just try all to see how to get thet option via IR commands on stock 2.1,but can not find where is thet commands.

Recorder is super option ,because you can to record your IPTV stream in super quality.

Does Logitech IR remote works like it works on stock 2.1?

Is it important to have installed some junk cleaner app?
[Shield Android TV Android Development] banderos101:
Thankyou very much that makes it much more clear now :good:

Edit

"You must backup system and data no others partitions. With system and data you have all working again when you restore."

I did wonder about that, as flashfire is able to backup other things......i knew about the data/system img, but was worried that i might of had to backup up other things too........thanks for confirming that for me

So if i get a bootloop, but still have access to fastboot bootloader, the procedure would go something along these lines

(Some of this is written for the benefit of new folks)

1.Boot into fastboot, if able

2.Flash stock 2.1.........or 1.3?

3.Reboot into android

4.Boot back into fastboot as soon as your able

5.Flash 2.1/2.2 full(system.img), fastboot -w, then reboot

6.Setup initial screens, install flashfire as soon as your able

7.Transfer flashfire backup from external source into internal storage,

8.Restore system.img and data.img backup, reboot, enjoy

Is that correct procedure? Im not clear on whether we can use 2.1 stock firmware, or if 1.3 is still the "safe", "back to stock firmware"

Heres a list of Nvidia firmware, both OTA and Developer versions

http://drivers.softpedia.com/dyn-search.php?search_term=SHIELD+Android+TV
[Shield Android TV Android Development] zulu99:
There are millions tools in google play to record. Look my videos made with shield tv. i record 1080p 60fps 12MBs while play the game.

I use AZ Screen Recorder

https://www.youtube.com/playlist?list=PL2E8D73B9D757086B
[Shield Android TV Android Development] zulu99:
You can flash directly system.img with command: fastboot flash system system.img

clear data with command: fastboot -w

and restart

After if you want restore a backup that you already have, you can use Flashfire

I assume that you already have all others parts stock. Otherwise you can flash the last stock firmware and after the full android system.img

if you did not changed stock boot.img recovery.img DTB and blob, is not necessary reinstall the stock system.img
[Shield Android TV Android Development] netvlada:
Thanks for info

I have installed it ,but there is no audio like i have it on stock 2,1 screen recorder option.I test all off recorder app,but only on stock 2.1 i have audio.
[Shield Android TV Android Development] zulu99:
How i recorded audio in my videos ? certainly not with the magic.

https://www.youtube.com/playlist?list=PL2E8D73B9D757086B

i use usb audio in device that is the best solution, but if you don't have a 7$ usb audio in, you can use

the mic of your webcam or

https://play.google.com/store/apps/details?id=com.mobzapp.screenstream.trial

https://play.google.com/store/apps/details?id=com.mobzapp.recme.free

or maybe also others apps or xposed modules.

I don't like the stock option, because you have two nvidia icons on the video recorded. Up-right corner
[Shield Android TV Android Development] netvlada:
I need to record movies and sport from IPTV ,can not to pickup sounds from peoples watching it,must to have original audio stream.
[Shield Android TV Android Development] banderos101:
In a bootlopp situation

Ah, ok, i see, so if i did'nt change anything outside of the system image, for example twrp, i could simply just reflash your system img without having to reflash stock first, .........that sure makes it quicker

Cheers zulu, that was a welcome revelation
[Shield Android TV Android Development] zulu99:
In fact, i suggested to you in previous post two apps to do that and i explained also what personally i use to do that.

i connect the oudio of Tv to usb audio in, with a 7$ device that you can find on amazon.

If you don't want use others hardware, you can use the two app that i suggested in previous post.

p.s.

I use a device like this http://www.amazon.com/Sabrent-Exter...F8/ref=zg_bs_3015427011_1/180-4709963-7832048

But for normal things the two apps are good.

The stock app add two nvidia icon on screen, for this reason i'm not interested.
[Shield Android TV Android Development] kdb424:
If anyone wants a little better audio and to save a USB port, these are very helpful. Works with my phone too which is a nice bonus.

http://www.amazon.com/gp/product/B00FJSEAZ4?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00

EDIT: Whoops, you were talking about the mic port. My bad. That's good to know in case I ever get skype working on here.
[Shield Android TV Android Development] HackRus:
Thank you for updating those issues in 2.2

If you could do a detailed write up or video how to get touch screen working, would appreciate that. :)
[Shield Android TV Android Development] zulu99:
Skype works very well on this firmware. Audio, video and all others parts.

Maybe i don't understand your post ?

You can download the last version from apk mirror to have it working.
[Shield Android TV Android Development] kdb424:
I had a logitec USB microphone that it wasn't detecting, so I uninstalled it as the only other mic I had was the one in the controller. Now that I know that you can get a line in that easily, or more so I never thought about it, that's useful information. I wasn't blaming this firmware for anything. Android just didn't have the driver for that mic, or skype didn't support it, neither of which is a big deal as it ended up dying, so I need to get a new one anyway.
[Shield Android TV Android Development] netvlada:
Yes stock recorder ,records info rec screen.Maybe to modify it:D

I have one Shield TV and i am on stock SW,because first i want to see what it can do,and what limits it have and then to switch to custom rom .Now i have one problem with some official IPTV which works just fine on several android boxes ,but on stock sw after 15 min stream have problems and i must to restart stream and then it is fine.After thet i must for every 15 min to restart the stream. If i go to custom rom and there will be the same problem i must to sell Shield TV because it is not of use for me.My main reason for Shield tv is XBMC and watching IPTV and record it.Now i have just to test something more an then i go for zulu custom rom.

Is there some member on zulu rom which want to test Iptv for me.I will send user and pass.
[Shield Android TV Android Development] HackRus:
hi whats the easiest and quickest way to update from 2.1 to 2.2 please ?
[Shield Android TV Android Development] zulu99:
If you are on 2.1, is not necessary update to 2.2 because you can fix manually the two simple fix.

I made the update for new users and for users that want reinstall without lose time with the google play tv version automatic update.

You can find info about the two fix in previous posts.
[Shield Android TV Android Development] zulu99:
In this firmware everything works very well incluse Kodi, better of many others Android devices that i have. Many and also very powerful.

We use the Shield TV to do everything Google Play can offer. Apps and games wothout limits also with the help of DroidMote. Multi touch is not a problem.

If you need only Kodi and IPTV, you could buy a Nexus player, so you also save money, whereas 99% of IPTV are also only 1080p max

Is strange that the stock firmware is so bad, i don't use it so for me is a surprise what you write. I thought that at least Kodi worked well. :) Also if in future Kodi for sure will be limited because Android TV was invented for sellers of movies and songs, and i don't know how kodi is compatible with the economic interests of this companies.
[Shield Android TV Android Development] kdb424:
Amazon store has already banned Kodi from their store due to "piracy infringement" even though it doesn't infringe on that at ALL. Regardless, we will always be able to sideload, and I'm sure they won't comply with changes to accept it in the stores as it's open source, and designed for many platforms. I used it on stock firmware, and liked it very much, but had issues with micro stutter in videos. I used the same version on this firmware, and it's brilliant. Works absolutely perfectly. As for saving money and getting a nexus player, that depends on what you watch. I personally watch a lot of 1080p hi10p videos, and that's a LOT of CPU grunt needed to get it running smooth, so this box has been at 80%+ on all CPU's to play those files, so I'm glad I bought the Shield TV. My 1080p HEVC Main10 profiles only take about 3% cpu usage, which could play on an android TV maybe (It's using the GPU so I don't know), I don't want to re-encode my library, and sometimes x264 is better quality anyways, so I'd still lose something. The Shield with this firmware has fixed almost everything for me, and I would not have bought it had I not seen this firmware, and it's definately going to stick around for a long long time.

All of my testing was done an the 1.3 firmware as that was the latest when I bought my shield, and I am on Full Android 1.8 as I won't lose TWRP to upgrade to the 2.1 as it works amazingly as is. Wasn't hard at all to install this, and I'd still recommend it to anyone.
[Shield Android TV Android Development] netvlada:
Kodi is fine ,just fine.problem is only with my IPTV app which not works like on some other android boxes.I dont know where is the problem,maybe problem is in compatibility of my IPTV app ,which have no relations to Shield TV or something from Shield makes problem,i dont know.Picture quality of IPTV is the super fine,stream speed is on max,everything is fine,just it have some kind of 15 min countdown timer and i have test my IPTV on more then 100 devices and i have never ever have this countdown problem.IPTV is on verimatrix platform.
[Shield Android TV Android Development] zulu99:
Write to me in private, tomorrow i can test well your app and stuff on this firmware if you want. Is strange that the stock firmware do that.
[Shield Android TV Android Development] banderos101:
Just a heads up for those interested, steel01 has commented on the twrp situation in the twrp thread

[RECOVERY] TWRP 2.8.6.0 for Shield TV (all variants)

http://xdaforums.com/shield-tv/general/recovery-twrp-2-8-6-0-shield-tv-variants-t3140926
[Shield Android TV Android Development] zulu99:
For this reason, i suggested to change only the system.img when you want full Android and leave all others parts stock. And also for this reason i suggested FlashFire instead TWRP to flash zip inside the firmware or others recovery operations. To be more stock possible, not because i'm sure that TWRP had problems.

Also if i think that the problem was possible only on devices already replaced by Nvidia. But no one is sure because Nvidia not published an official explanation.

For me the old hardware, have problems with new bootloaders.

The fact is that now, on my new devices ( i have two shield tv 16GB ) i flashed many times the full android system.img and many times the stock boot.img and the developer boot.img during development without problems.

Flash custom system.img, recovery.img and boot.img is a normal procedure that also Nvidia explain in this page:

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

http://nv-tegra.nvidia.com/gitweb/?...ob_plain;f=README_SHIELD;hb=rel-22r18-partner

When an Android device with an unlockable bootloader work well, you can do what you want. The only tricky part is changing the bootloader, which we never do. Or we do only with Nvidia stock updates.