yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] zulu99:
Well, let me explain something about internal storage expanded.

I tested this functionality on a bad 16GB sdcard, to have a not good condition.

I created the exapanded storage and i not moved nothing.

After i moved some games and apps from settings -> apps -> your-app -> storage to the sdcard and all work also after a reboot.

But in general, in Marshmallow, not related with the full Android firmware, this functionality is buggy and not pratical in many conditions.

1) Not all apps support this storage configurations. many apps can crash

2) Developer can totally disable from app this functionality that is not simple to manage.

3) If you use a disk as expanded storage,to have it again in the stock state to use on another device or if you reinstall the firmware, you must reformat at low level in windows or linux. ( in windows i use diskpart, and the command clean on the disk that erase all previous partitions) otherwise you can have strange behaviour.

4) when you reboot the device, specially if the disk is slow and you have many apps and games on this disk, to have the apps working you must wait some time because android can know which apps are installed. If you press on the app before the operation is completed the app can crash or became irresponsive.

There are also others pratical inconveninets, like the disk is encrypted and you can't use it on others devices, but here i want test only the basic functionality without judge your personal preferences.

In short, i tested the functionality and if work for some apps, it must work for all others that support the functionality.

the only strange thing is that an user said to me that the same apps worked on stock and not worked in full Android.

The conditions and exceptions can be various and very different, but in general, i want know from you which apps work for sure on stock firmware and not work on full Android.

This should be impossible, because the functionality or work or not work. All others problem should be only for different disk and condition of disk / system in speific moment.

So is hard to test well this functionality but i'm here to test well also this.

therefore, let me know which apps not work that instead work on stock firmware.

I don't want insist, but this should be impossible, because when the disk is partitioned and adopted aas internal disk ( this is the hard part that for sure work ) after the problems can be only from apps or from bad condition of the disk / system

personally i not use the explaned disk functioanlity, but i use every disk as portable storage, because i can do with the disk what i want, especyally becaue i have root.

usually i store only the obb data of a big game where i want, after we have the full google play and is very simple download the app or game that you want if you alrady have stored the obb of a game.

but i'm here to test with you and full open to all suggestions.
[Shield Android TV Android Development] jb_alphamale:
And we all highly appreciate that.
[Shield Android TV Android Development] haxorr:
Hello zulu99.

I Buy Today a HDMI DVI cabel for my 1080p Monitor an Test the actually twrp. I write you in the evening.
[Shield Android TV Android Development] duanim:
I created also the StockRestyle firmware for users like you. So you can install StockRestyle if you need the Nvidia propietary controller.

On full Android we can use all standard controllers and have all the real Android functionalities.

Zullu99 . can i play Geforce now,all touch games and others games with bluetooh or USB wire or wireless controllers in full android,thats is what you saying,can you make a video showing up,and this is different from the old firmware lollipop,so this feature is new or you just fixed, i know that can i use the nvidia gamepad in wired mode and i know about the droidmote,so whatever gamepad can work in this new 6.0 full android firmware.

by the way Viva Italia
[Shield Android TV Android Development] justkidding2009:
Hey Zulu,

I am running your great Android 5.1 full version at the moment.

Does this mean I cannot backup the 5.1 firmware and return to it if anything goes wrong?

Murphys law you know... ;)

Is it possible to backup all my app settings of 5.1 and reuse them after the upgrade to 6.0?

Thanks a lot for all your efforts!
[Shield Android TV Android Development] zulu99:
Android 5.1 is not compatible with the new bootloader. The bootloader is something that only nvidia can change.

If you want 5.1, you must reinstall the stock 5.1 firmware and after install full android 5.1. ( so, also the bootloader )

But if you installed marshmallow, i suggest for now, to not turn back. because Nvidia created also another problem, if you turn back on 5.1 from marshmallow, after you can't reinstall well the 3.0 firmware with the recvery image.

Fortunately i found that instead if you install the ota from twrp, you can turn back to marshmallow from Lollipop
[Shield Android TV Android Development] zulu99:
you can do everything with full Android.

look here for now, what i can do with full Android on Shield TV. with marshmallow is the same thing that on Lollipop.

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

You can use every controller that is Android compatible.

For touch games, mouse, keyboard and real multi touch gestures DroidMote is better.
[Shield Android TV Android Development] justkidding2009:
Just to be sure that I understand it correctly.

I have a SATV 16 GB. So I use the recovery image from https://developer.nvidia.com/gameworksdownload#?search=SHIELD%20ANDROID%20TV%20Recovery&tx=$additional,shield

and follow the instructions:

*** Flashing instructions:

1. Execute these commands IN ORDER on the host PC:

adb reboot bootloader

fastboot flash staging blob

fastboot flash boot boot.img

fastboot reboot

adb wait-for-device

adb reboot bootloader

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot flash vendor vendor.img

fastboot reboot

After that I can follow the instructions of your first post right?

But if I understand you correctly after installing your marshmallow Rom I have to set up all apps again. There is no way to use backuped apps right?
[Shield Android TV Android Development] mythamp:
Hi zulu99,

First off, we truly appreciate what you do, even the fact that you took so much time into looking at this issue which maybe is effecting only 2 of us in this thread so far. Also you are completely correct, this is not a critical issue at all, at times it is better to keep it as a portable storage instead of internal.

Here is some of my findings:

1. I use Diskpart to clean and re-partition the usb/sc-cards that I have tested (these have high read/write speeds) to make sure the storages are clear and re-formatted at a high-level (full format and not quick).

2. If you install a game before making the external storage(SD-Card) internal, and then "move" the game to the SD-Card from the native internal storage, the game runs fine, which is interesting.

3. Only when you have already setup the SD-card as internal storage and then download "any" game, the game will crash on startup. Now I verified the issue by going to App's storage and seeing its installed on the SD-Card directly.

4. If I uninstall the game, take out the SD-Card/USB drive, and just reinstall it on native internal, it runs fine again.

5. On stock Nvidia 3.0 rom, after setting up the SD-Card as internal storage and then installing a game which gets installed directly on the SD-Card, it runs fine. That is why it leads me to believe there is an issue in the installation process of a game, maybe the way the shortcut is being generated is wrong, it could just be a simple drive pointing error.

6. Have you tested downloading and installing a game directly on to the SD-Card instead of moving it from internal?

Thanks, like I said, it's not a mission critical issue - the rom functions seamlessly. I will use this rom for years, it made the shield tv slightly more worth it. Anyone else who can test this issue for us, please share your feedback.

Thanks
[Shield Android TV Android Development] zulu99:
NO, if you are on full Android 5.1, i suggest to install the stock firmware 2.1 and receive the OTA 3.0

after you can install full Android 6 like in the first post.

I suggest this also if maybe you can do other way. trust me, do this. that is better.

sure you can't use backup, expecially when you change firmware and android versions. What the problem. is simple reinstall when you have google play.
[Shield Android TV Android Development] zulu99:
don't worry, i will test. and thanks to be so accurate. this is what i want.

can you share to me what is the game that you tested ?

and i'm curious if you restarted the device after you expanded the internal storage. before you installed the game from google play directly in the expanded storage.

i not tested the installation directly in the sd card, i will test in a few hours.
[Shield Android TV Android Development] mythamp:
I have tested so many,

Red Ball, Alto's Adventure, Stacks, Sky Force are just some that I can recall. I installed these on Stock Nvidia 3.0 rom and on your Full Rom, they work fine on Nivida Stock on internal, they dont work on Full Rom internal when installed directly and not moved.
[Shield Android TV Android Development] NiHaoMike:
So you're saying that the support is so deep in the framework that it simply would not be possible to add it to regular Android without breaking a lot of things.

Stock, the controller's built in audio actually works very well with some headphones. I modded mine to further increase the quality to the point where it performs as well as a common $30 USB DAC.
[Shield Android TV Android Development] zulu99:
i will test, in the meantime, i'm reading this document that explain well the functionalities. ( you can also set indirectly the default installation location )

in my config, for sure i have the default location to internal and after i can move. becaue in the firt setup i not moved the data.

https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/109134/p/1449,9582

"Once the card has been formatted, you will be asked whether you want to migrate data currently on your device to the card. This step will move all media, pictures, and documents to the SD card.

By selecting where to migrate content, you also select the preferred storage location for all applications, databases and data.

If you decide to move that data to the card, the SD card will also become the preferred storage location for all applications content, data and database and media.

If you decide to skip this step, your device internal storage will remain the preferred storage for all content.

Once a card has been formatted as internal storage, both your device internal storage and the card will show up as “device storage” under storage settings, and you will be able to move applications which were in internal storage to the card. Moving applications to the card can be done from application settings (settings->apps->select application->change storage location)

Once a card has been formatted as internal storage, Play Store will install applications on either storage volume automatically, based on a set of rules provided by the application developer (you will be able to move applications from one volume to another)"

p.s.

for my reference
[Shield Android TV Android Development] haxorr:
Hello zulu99,

i have root :) Thank you!

twrp-20160222-UNOFFICIAL-foster + SuperSu2.68 works great.

XPOSED works

GrafitxBox works

Auto Hide Soft Key an Netflix in Full Resolution

Top you are so great :)
[Shield Android TV Android Development] jb_alphamale:
Hi Haxorr. Same configuration here.Everything works great. I'm able to backup and restore in TWRP. I still have some problem with some apps that don't want to write on my micro sd like Kodi and partially Titanium. Formatted by NSTV as removable storage. I'll try a different format type.

---------- Post added at 11:29 PM ---------- Previous post was at 11:19 PM ----------

Hi Zulu99. I've read this document as well and in my case after I decided to format the micro sd as internal card I could not see it under TWRP. I could only see the internal storage. Well, with MM up&running I could not see the internal storage anymore but only the new formatted storage. It does not matter if you move or not data during the process. This was my experience so I've decided to format again the ext_sd as removable storage and now I can see them both in TWRP and I can make nandroids. I still have some write problems with some apps but I'm tired of this problem and I can live with it.
[Shield Android TV Android Development] zulu99:
I confirm the problem, i'm investigating the cause. Thanks for your test.

if you reboot the app work forever also on external sd card, it not work only at first installation, strange.
[Shield Android TV Android Development] ahoslc:
Also what happens for me is when it went to format as internal on first boot it said my SD card was slow I have a 128gb HIgh performance UHS card I also thought that was weird. As for the crashing I am going to switch over to Restyle 3.0 till all is working correctly.
[Shield Android TV Android Development] zulu99:
About install app on expanded storage, i found a strange thing.

All the apps that target marshmallow, are installed well. the problem happen only on old apps.

for example, es file explorer and google earth install directly on external sd card and work.

all new google apps like youtube and others are installed in internal and you can move in external without problem.

i know that a developer should specify the default installation in the apk, i do that on my apps in the past, but many apps not have this flag.

the fact is that with new app updated for marshmallow the problem not happen.

for old apps, a reboot solve.

i'm investigating. i want only understand the problem, after for sure i will not use the expanded storage, because this functionality create many others problems with recovery, slow app caused by encription and others things, that are specific problems of this functionality, not of full android firmware..

who invented this functionality ? maybe he used drugs before :)
[Shield Android TV Android Development] mythamp:
Hahaha, could be. Maybe someone can try digging into the stock nvidia 3.0 for some answers, find out how they solved the problem.
[Shield Android TV Android Development] mattkilla420:
Just want to be clear, no wireless Nvidia controller support on this ROM? Only via usb? I'm a big gamer and was running stock restyle and now all Bluetooth not working. I don't understand?

Sent from my Sammy S6 using Revolution 1.0
[Shield Android TV Android Development] mythamp:
Yup, no wireless nvidia controller. You can pair the remote as a bluetooth device but the controller will only work via usb. Better stick to stockrestyle.
[Shield Android TV Android Development] crnkoj:
Does the microphone part of the remote work? I know that in your 5.1 build it doesn't. And it would be really useful for Google now.
[Shield Android TV Android Development] zulu99:
For Google Now, you can use bluetooth mic, mic of webcam or any standard usb mic.

I not know if nvidia remote is a bluetooh mic, if so it work otherwise no.

But also if work, with a remote with only directional key, you can do very small things after the search. To control full Android and all apps in Google Play, you need something better.

With a webcam connected to the Shield TV and DroidMote, personally i have the perfect solution, i can do everything. And if i want use my voice to write, but the application not support voice dictation, i can do always voice dictation on all apps with DroidMote. But generally i use the DroidMote keyboard, or better the Google keyboard of my phone that is the keyboard that i use in DroidMote to write on Shield TV.

Everything is perfect now, i want only understand why not marshmallow apps can't run at first start on the crap expanded storage. ( the old apps work after a reboot). Is my big curiosity instead than a real problem. Because for sure in daily usage, i will never use the buggy and slow expanded storage on my powerful SATV but only the portable configuration. On portable config, we can write everything also on exfat and ntfs from es file explorer if we have root.
[Shield Android TV Android Development] justkidding2009:
Thanks, will do.

The problem is not reinstalling but the settings I already made.

Especially for sky go I am a little bit concerned that it will register my SATV as a new device after the upgrade.

But I will just test that ;)
[Shield Android TV Android Development] banderos101:
I would have thought titanium backup or open source oandbackup would do this, i dont see any harm in testing these as i will be when i eventually upgrade to marshmellow

---------- Post added at 10:18 AM ---------- Previous post was at 10:09 AM ----------

Not everyone wants to use google play(or google anything (propriety stuff/closed source)........apps like oandbackup can backup all apps/data, doesnt phone home, and your copies are stored locally (so no internet connection required)........worst comes to worse, simply restore apps without data if issues with data restore..........but ideally twrp/flasfire data partition backup would be the easiest and quickest way to restore previous setup........ill guess ill wait to see if any confirmation of this working without issue comes along........or simply test myself once i get round to doing so

Edit

Mmmmmmm.....thats assuming oandbackup or the like doesnt have marshmellow, specific, compatibility issues
[Shield Android TV Android Development] j-m-s:
So which modules make the difference between AndroidTV and full android?

Is it always necessary to flash the complete system or is it possible to replace some files only?

What can I do to get the full playstore? Changing build.prop seems not to do it.

(I would like to keep the nvidia wireless drivers for the game controller)
[Shield Android TV Android Development] mattkilla420:
Any chance you could explain how that is accomplished?

I agree! The nvidia controller is just too good not to be used.

Sent from my Sammy S6 using Revolution 1.0
[Shield Android TV Android Development] zawardo:
Hello zulu99, i have just one question before testing your great rom: the only good thing in the nvidia rom (i hate everything else, and i just got the device from 2 days..) is the ability to select full rgb on hdmi instead of the limited one i always had on the chinese boxes and on my monitor it does make a difference, your rom mantaints the ability to select it?

thank you.
[Shield Android TV Android Development] IamSonoma:
Can the Shield Tablet OS be imported?

Just curious. Maybe a dumb question but can the Shield Tablet OS be imported?

Is it a full android experience? Can it be?

As much as I am enjoying Droidmote having the gamepad mapper incorporated would be nice.+

Touchpad would be nice too.
[Shield Android TV Android Development] scoote2014:
Awesome

Hi Zulu99

First of Thank you so much now i get to use all my andriod paud apps every single one of them work perfectly on this device now otherwise i be lost without my apps. Without your software shield useless for me and others. Can we send emails to NVIDIA asking they help you support controllers for full andriod maybe if alot sent they look at it with you?

Once again thank you for this hardwork you do for us to get better use of shield device.
[Shield Android TV Android Development] crnkoj:
Thanks for your extensive reply, the thing is, i have gotten the remote for free with the shield, i however dont have a separate bluetooth camera/microphone etc.... So you might see why i ask about the microphone in the remote working... I dont need the shield to be a workstation, i have my pc for that, just need it for some quick things :)
[Shield Android TV Android Development] zulu99:
i explained to you that you can and also in better way. With DroidMote i can do everything on all my android tv boxes from many years.

With the remote of Shield Tv you can do almost nothing on full Android, apart few apps that can be controlled with directional keys.

Many users don't understand a so simple thing, on full Android directional keys are not sufficient. on Shield Tv and also on all others android tv box with vanilla android inside.

directional keys can be good for an old smart tv / leanback apps, with full Android we are in the future of TV, we want use everything and we can.

i offer full Android and also how to control it in the best way, i can't do nothing better than this.
[Shield Android TV Android Development] zulu99:
An announcement to everyone, i'm working to test things and add improvements + others things.

I cannot respond to all especially in the early weeks of work on the firmware

When a new firmware come out, i have many things to do. BUt not worry, when i finish, i will at full disposal of everyone.
[Shield Android TV Android Development] zulu99:
I think we can, i will see. But usually this are simple parameters that you can set with setprops command when you know what is the parameter.

Usually to understand, i get the stock firmware i set the parameter in the settings ui, read with logcat and after read again with grtprop the parameter. When i know i can set it with setprop. Like we have done with the overscan.

Now i'm working on others things.
[Shield Android TV Android Development] banderos101:
I would like this feature too, if its possible that is

And, when you say "other things"?

If its personal life, please feel free to ignore the question or tell me "none of your business" :)
[Shield Android TV Android Development] banderos101:
Has anyone tried using kodi in multiwindow while a video is playing?

Does the video continue playing or does it stop, like it tends to do with some apps that use an overlay
[Shield Android TV Android Development] j-m-s:
I have set multiwindow in build.props, but how do I use/call it in the GUI?
[Shield Android TV Android Development] zulu99:
to have videos in a popup window, kodi and multiwindow is not the best way to do that, maybe is also not working because Kodi is not an app to do that.

if you need a popup windows that play your preferred streaming urls, i suggest FlyIptv app. https://play.google.com/store/apps/details?id=com.torez.flyiptv&hl=en

is a little app that work very well, i use it daily because i like to watch news channels while i do others things on my shield tv, like read Google Plus or surf the web.

All the url that you can see in Kodi are compatible with this app. And you can get url also from web.

https://www.youtube.com/watch?v=p8DzsNY241w
[Shield Android TV Android Development] banderos101:
Thanks for the suggestion, ill look into that app, see if it does a better job then the gplayer app, which ive been using to accomplish the same thing

"All the url that you can see in Kodi are compatible with this app. "

How do i share the url of the video that im playing in kodi.......i dont see any kind of options for this, and ive looked more then once, this would be nice to have

Edit

Ive found myself often more then once, watching a video in kodi and wanting to use another app quickly, while keeping the video playing........ive had this need for many apps, not just kodi, which is why im so interested in multiwindow
[Shield Android TV Android Development] tailslol:
vlc android is good too.
[Shield Android TV Android Development] banderos101:
Through zulu's video, looks like you use it through the recent apps button, open an app, go to recents and you should see some multiwindow options on the top of each recent app

Im hoping, someone develops a marshmellow/multiwindow compatible app where you can bring up a multiwindowed app while using any app without having to go into recents and without the app having to be previously open

---------- Post added at 05:08 PM ---------- Previous post was at 05:05 PM ----------

i like vlc, but i dont remember seing a popup option, am i being blind?
[Shield Android TV Android Development] tailslol:
heh no it dont have sharing capabilities,but it reads most formats.