yashsingh1/xdaforums huggingface dataset:
[Shield Android TV Android Development] jb_alphamale:
Zulu99,

I repeat as well with all due respect. In my post I mention about sdcard and not usb drives. StickMount does not work with sdcards on MM.Not yet.

The 1st thing I do when I get any android device and I have tons of them is to root.

---------- Post added at 03:59 PM ---------- Previous post was at 03:51 PM ----------

I tried this couple of times in different scenarios. On USB disks and sdcards. After the storage is split in two if you try to format one half as portable MM will format the other half as well so at the end you will have again the whole storage partitioned. All the work is lost.

In the same way if you try to format one half as internal storage it will format the other half as well and the result will be one large partition equal with the size of the storage.

No go here.Not for me. Either I'm missing something or the command doesn't not work in our environment as it was supposed to.

Yes I'm rooted and all the drives are correctly installed and I learned how to use adb shell.

Cheers.

Quote:

Originally Posted by zulu99

VERY USEFUL INFO

I don't know this before, so i share the info for others.

Seem that you can also format a disk half exapanded storage and half as portable storage.

With the android command sm you can mange disks.

With the command:

sm partition your-disk mixed 50

You can split the disk in two parts, half exapanded storage and half as portable storage.

The command:

sm list-disks

Show the list of your disks.

P.S.

Tested with an usb Pen Drive 64GB formatted half exapanded storage and half as portable storage exfat.

When i connect the disk to windows or linux i see the exfat parttion.

Therefore we have solved also the bad concept that you can't use the expanded storage disk on others devices. Now we need only the ability to reuse the expanded storage in another android device / firmware. I think we can if we store the encryption key that is inside /data/misc/vold i will inform you on this.

UPDATE:

It work, you can also reuse the expanded storage if you store the encryption key stored in /data/misc/vold ( when used on same phisical device )

i'm investigating if we can reuse also on another phisical device. ( i have two shield tv )
[Shield Android TV Android Development] zulu99:
I'm talking about usb disks, when i talk about StickMount.

For the half / half formatting instead, i used an exfat formatted disk, after applied the "sm partition your-disk mixed 50" command and it work. The exfat was resized and the new partition created as extended internal storage. If you connect this disk on pc, you see only the exfat part and is logical. If you connect to SATV you have expanded storage + a portable storage exfat.

You can also format again the half disk that you are able to mount on windows.

All my tests was done on usb disks, but the creation of two partitions should work also on sdcard.
[Shield Android TV Android Development] jb_alphamale:
Ok so you use windows to format half of the partition into what is going to be as the portable storage and MM to format the extended internal storage. Am I correct?
[Shield Android TV Android Development] zulu99:
Yes. But if i remember well my last test, i not formatted the exfat partition it was only resized. After the sm command.

But the concept is this, you must not format in Android after double partitioning.
[Shield Android TV Android Development] jb_alphamale:
If you revert back please be sure that you backup app data of the expanded storage. How I did it was simply eject and then restart without it. I don't know how you can move back the data apps. Backup kodi with the backup addon and move it away from NSTV. If you have titanium do the same with the rest of apps. Copy everything to a flash disk or computer so you can restore afterwards. Be carefully with that big hdd.If it's a 3.5 in you might need an external power source.
[Shield Android TV Android Development] RebelebeR:
I tried the kodi backup addon before and even backed that up with titanium and when I went from stock 2.1 (rooted) to stock 3.0 and rooted my settings didn't restore from either. Luckily I had been playing with an old android stick and had copied the kodi folders from Android to it so I just copied them back, but was a pain and changes since I had copied it to the other device were lost. As for the my passport ultra drive it is actually a 2.5 inch drive I think, but 1TB is overkill. I could easily be happy with the 500GB version.
[Shield Android TV Android Development] RebelebeR:
I am rooted and kodi addons still will not write to my usb drive. I understand I could use stickmount, but I prefer not to unless I have to because the graphics apps I have then show duplicate locations for everything when they read the usb drive and the mounted folder. Kodi also has permission to use my storage. Oh, ES File Explorer works perfectly fine.
[Shield Android TV Android Development] darktyroll:
My Shield TV is connected allways at 5 GHz band, i forgot to mention that. And the Logitech F710 use 2.4 GHz band.

In this case, i suppose will not be any interferences?!?
[Shield Android TV Android Development] banderos101:
Theres two seperate potential issues being discussed here, tails is speaking of wifi and RF interference, and i believe zulu was talking about the shield usb 3.0 port interference...........apparently as ive read it, usb pots are suppose to come with some sort of "shielding" to minimise interference, and ive read that our shields dont have the best if any at all, cant remember which, which was why the suggesting to use a long cable to increase the distance of the adapter to the shield
[Shield Android TV Android Development] tailslol:
Yep if the problem is shield shielding the problem will be here in any cases.

So yea a USB cord will help.
[Shield Android TV Android Development] ikgarcia:
Hi i have the pro versión and you say:

"When you are inside the firmware, with root and es file explorer, you can also edit the build.prop and change the field foster_e with foster_e_hdd inside the system and vendor partition. ( not necessary but you can )"

Why i have to do this???

Is it necessary toa modify it??

Thanks.
[Shield Android TV Android Development] Tez-Tech:
Brilliant work! Is there a way to remove soft keys permanently?
[Shield Android TV Android Development] zulu99:
When you connect an hardware keyboard to Android or DroidMote that emulate also an hardware keyboard, the soft keyboard disappear automatically.

Otherwise you can use null keyboard from Google Play.
[Shield Android TV Android Development] zulu99:
Because the build.prop of this firmware have inside foster_e and not foster_e_hdd. Is not necessary change, but if for some reason you want, you can.

Nothing special.

Shield 16GB is foster_e

Shield Pro 500GB is foster_e_hdd

In the Android 6 firmwares, there is a bild.prop also in the vendor folder, the important is to have the same name in vendor and system folder, otherwise at first start you can have an error. that is just a warning not a real error.
[Shield Android TV Android Development] Tez-Tech:
Sorry, I mean the soft buttons at the bottom of the screen. I've tried some apps but they don't remove them permanently. I'm using full Android 5.1 lollipop on nVidia Shield console and the soft buttons are very annoying. Thanks for your reply.
[Shield Android TV Android Development] jb_alphamale:
Anybody knows a dual-panel file manager that works with this rom and can access a portable formatted storage? So far I found only es file explorer that can do it but it is not dual-panel.
[Shield Android TV Android Development] darktyroll:
What you need is Solid Explorer Classic, try it, i know it works on my phone and tablet, never tryed on Shield.
[Shield Android TV Android Development] ikgarcia:
Thanks zulú,but i am looking for this file with es Explorer and ii doesnt find anithyng, could you tell which is the route or path??

Best regards
[Shield Android TV Android Development] jb_alphamale:
Tried it. Doesn't work. Nor x-plore or total commander.
[Shield Android TV Android Development] RebelebeR:
Install xposed and use Gravity Box
[Shield Android TV Android Development] banderos101:
Ghost commander?

Get it from Playstore or Fdroid
[Shield Android TV Android Development] Tez-Tech:
Thank you. Will give it a go!
[Shield Android TV Android Development] RebelebeR:
You're welcome. Fair warning on something I just discovered. If you hide the navigation bar with gravity box the menu selection in Titanium Backup doesn't show up either, but you can hit ctrl+esc on a keyboard to pull up the menu.
[Shield Android TV Android Development] mi3x:
The best solution I found for nav bar is xposed module App Settings and use Immersive mode in all/whatever apps you need.
[Shield Android TV Android Development] RebelebeR:
Has anyone tried this yet?

I was thinking about the fact that I want to use an external hard drive for adopted storage, and the fact that I already used my sdcard for it. If I connect a new hard drive will it give me the option of adopting it and migrating files from the sdcard to it? I'm trying to think of a less time consuming method than backup and restore or copying files manually and having problems with stuff not being found because links pointing to the wrong place. The optimist in me thinks it might work, but the pessimist in me is sure something is going to go wrong. Has anyone tried anything like this yet?
[Shield Android TV Android Development] j-m-s:
screen orientation

Yesterday I started an app called RTV and the screen switched to portrait mode. I.e. on the left I had 1/3 black bar, on the right 1/3 black bar and on the middle 1/3 screen contents, full height.

After leaving the app, this portrait mode stayed for home screen and other apps.

Only when I started kodi, it went back to landscape mode.

It seems that android has no indication what orientation the screen has!?

(btw: I have persist.sys.debug.multi_window=true)

---------- Post added at 09:14 AM ---------- Previous post was at 09:01 AM ----------

Same here in Android M. I also find these buttons annoying because they always reserve a part of the screen.

In my GTQ android box, this button bar can go down and hide, same what you can do with the windows task bar.

By swiping up, it comes back again.
[Shield Android TV Android Development] Tez-Tech:
Thanks, that's good to know! I'm fairly new to a lot of this so it could take me a while to figure it out but that's the fun! If I knew how to modify the system .img to remove the navigation bar I'd do that instead rather than have an app doing the work. One step at a time though! Thanks again.
[Shield Android TV Android Development] Nosler3645:
Nova Launcher

Hi Guys,

Please forgive my little knowledge as I'm quite new on rooting and ROM flash. I did follow zulu99 tuto and everything went fine in flashing the new ROM.

My questions are :

- Nova Launcher, can I remove the application ? If yes how can I do it as by pressing on the app logo I can only position it on the main screen. I wish to use the standard launcher.

- DroidMote, no sure to understand : do i need to install the server version on the shield or only the client on the shield.

Thanks for your feedback.
[Shield Android TV Android Development] j-m-s:
Go to settings, look for the "house" symbol. Here you can set your desired launcher.

---------- Post added at 09:58 AM ---------- Previous post was at 09:55 AM ----------

The .img file is a mirror of the file system. Inside android, it is "mounted" to a directory.

So after you boot, you can look into the directory /system for example and see all files.

I removed the system bar with the soft keys this way: connect SATV with USB to PC, then in windows command windows:

adb root

adb shell pm disable com.android.systemui

With disabling com.android.systemui, the bottom system bar and the top status bar disappear. Also, you will not see volume changes any more.

For changing SystemUI.apk, see here:

http://xdaforums.com/showthread.php?t=2203166
[Shield Android TV Android Development] Nosler3645:
Nova Launcher

Thanks JMS for your reply but I don't have on my screen (TV) a home button. the only home button I have is on the Nova Launcher parameters and it can only be set for Nova launcher...

Help much appreciated.
[Shield Android TV Android Development] j-m-s:
I did not talk about home button. Go to the settings (gear icon) and there is a setting where you can change your desired launcher.
[Shield Android TV Android Development] Nosler3645:
Nova launcher

JMS the gear button push me directly to Nova Launcher Parameters.... That's why I'm a bit troubled.
[Shield Android TV Android Development] tailslol:
must have:

set orientation from the play store.

it fix all those problems.
[Shield Android TV Android Development] zulu99:
I see some questions here, that are the basic mod and all already explained on the second post.

To hide navigation bar and status bar when you want, you can install xposed modules gravityBox and App settings.
[Shield Android TV Android Development] j-m-s:
Thanks, that did it!
[Shield Android TV Android Development] jb_alphamale:
Didn't work. I was wondering what SE File Explorer knows about MM and the other don't? :) :)
[Shield Android TV Android Development] darktyroll:
My Logitech F710 arrived today, vibrations works when i press the button, but in game (i tryed on Grid) is not working even the vibration settings are 100%. Any advice?

I play with the controller in xinput.

Also, how the controller stops? Or it turn off itself after a period?
[Shield Android TV Android Development] JulienPr:
Which version of Skype did you install?

I've tried on the StockRestyle version without success (see here).

I'd like to know if I should switch from StockRestyle to full Android or not.

Can anyone else confirm?
[Shield Android TV Android Development] banderos101:
I get the feeling that es does something similar to stickmount, it seems to have some sort of mounting capability without root, they both seem to "unmount" the standard android mount, and then remount it in a way thAt lets other apps access it, read, AND write

Unfortunately for myself, i'd rather wait till a solution comes along where the standard mounts can be used, if that ever happens, rather then using stickmount, as stickmount seems to mess with taskers ability to dim the led lights on the shield

Edit

Have you tried stickmount....by chainfire

Very last edit......Promiss

Assuming stickmount works.......ive not tried it.............care to be the communities guinea pig :)

Edit

The funny thing is, i have to double check, but im pretty sure my usb stick is fat32 formatted, and apparently theres not suppose to be any WRITE issues with fat32, just ntfs and exfat(can read but not write)

edit

The reason i wont use, or to be more precise, the reason im trying to wean myself off ES file explorer, is because its a closed source app that has root capability made by devs that doesnt interact with the community plus the recent bloatware.........in this scenario, closed source with root, i at least would hope for the opportunity to gauge the devs......assuming my search for a working open source alternative is'nt found............sometimes rarely, if im desperate for a thing an app provides, i completely ignore my principles :D
[Shield Android TV Android Development] joebobfrank:
In case anybody else is having issues where their device fails to complete the android boot (system services crash and restart indefinitely) after restoring the NVIDIA 3.0.0 recovery image, I had to flash my userdata partition as well using the userdata partition from an older recovery image. e.g. 'fastboot flash userdata userdata.img' from version 1.4. I'm not sure why their instructions don't mention the userdata partition at all, it can clearly cause problems.

Edit: fastboot -w is a better solution.
[Shield Android TV Android Development] j-m-s:
did you do fastboot -w ?
[Shield Android TV Android Development] darktyroll:
Install this version of skype, v6.14.0.665.apk. 100% works on StockRestyle.
[Shield Android TV Android Development] joebobfrank:
Ah, no I did not, but I'm sure that would also have worked.
[Shield Android TV Android Development] JulienPr:
Switching between two Homescreens

That may sounds like some weird questions for someone looking for a full android ROM, but:

1) Is there a way to have two launchers installed in parallel?

I guess YES. I assume I just have to install the official Android TV launcher, HALauncher or the modified version of LeanBack Launcher with Mouse Support.

2) Is there an easy way two switch from one to the other, ideally by pressing the Home button only?

From an app that is running, a press on the Home button would return the system to the Home screen it was launched from. Then a second press on the Home button would switch to the other Home screen.

In my view, it should definitely be done by pressing or double pressing a button (Home, Return) and not by sliding from one screen to the next one because this second option requires an interface that is swipe-enabled.

The goal of such a setup would be to combine the best of the two worlds: one Home screen with my touch-, mouse- and keyboard-friendly applications, and another one with my remote-friendly applications.

To me, that really makes sense in a multi-user environment. Some users would use it mainly to watch movies or play small remote-friendly games while some other users would like to use more complex apps or games that requires mouse and/or keyboard and/or DroidMote. Switching between the two Homescreens would permit to benefit from the full power of full Android while still keeping an easy access to a simplified remote-friendly interface.

PS: I know it's possible to make shortcuts for Leanback only applications. Thanks again [MENTION=1469500]zulu99[/MENTION]!

But, my point would be to group them on a (very) simple interface, that might indeed by a just a "normal" android Homescreen with just a few huge shortcut icons.

Thanks!
[Shield Android TV Android Development] RebelebeR:
If I am not mistaken when you install a new launcher and hit home then the system will ask if you want to launch from it with or without making it your default launcher. If you choose not to make it default it will ask again every time until you choose the default launcher. I found that not every leanback app likes full android. I tried Pluto or Youtube (I can't remember which) Leanback versions and it only crashed every time I started it.
[Shield Android TV Android Development] tailslol:
you got an app like sideloader that basicaly does this but you can have switch launcher by having 3 launcher then you set the 3rd then you uninstall it and every time you press the home button android will ask you every time what launcher you want to use.

if you allways answer to use it only one time android will ask again.
[Shield Android TV Android Development] banderos101:
You can use the bat file that comes with the firmware to automatically flash the firmware instead of manually inputting every individual step........although i dont know if the bat has a -w (wipe) command at the end
[Shield Android TV Android Development] Fullpoweradonf:
I have installed the last version from play store.

First, I use Logitech 720p with Skype under Nvidia Android TV stock -> no way, nothing, webcam not detected.

Under Full Marshmallow rom : no problem ! Really good ! Mic. and pictures are ok
[Shield Android TV Android Development] darktyroll:
I have a question, why we cannot play online multiplayer games from nvidia hub? I never checked that untill today, when i tryed on some game, but it says im not allowed.
[Shield Android TV Android Development] ikgarcia:
Hi zulu I tried to change in The file build.prop the field foster_e for foster_e_hdd but in the folder system there was the field foster_e an d I changed for foster_e_hdd, but in the folder vendor there wasnt this field, it was longer than foster_e and I didnt find it in the file build.prop of vendor folder.

Also there are 2 folders with vendor name, one is inside folder system and another is in the same level that folder system,it has to change in the both folders???

Thanks.
[Shield Android TV Android Development] zulu99:
There is only one vendor folder, the other is a symbolic link of the first.

In vendor folder you should find a build.prop with inside only a part of the original and complete build.prop that you have in system. In the description and fingerprint field you can change the part foster_e to foseter_e_hdd so the fungerprint will be the exact copy of what you changed in the build.prop inside the system folder.

In other words, the 2 build.prop must match.

But, i repeat, change build.prop is not necessary.

But if you want change, make sure that in vendor and system folder the build.prop have the same fingerprint, description field.
[Shield Android TV Android Development] joebobfrank:
Yeah, I used the script. It doesn't not contain a wipe command.
[Shield Android TV Android Development] JulienPr:
Switching between two Homescreens

Thanks [MENTION=6954171]tailslol[/MENTION] and [MENTION=4551310]RebelebeR[/MENTION] for your answers, but this is unfortunately not very user-friendly to have to select the launcher and confirm "only once" each time.

With a mouse and keyborad that would require 3 actions: press Home, click on the launcher, click on "only once", and with a remote that would be even worse: Home, Up, Down, Down, Left, OK.

So, sorry, not really a convenient solution compared to my initial thought using only the Home button.

Any other idea? using an Xposed mod? using a double-click on Home (like with FireStarter for the Amazon Fire TV. I know it's not the same environment, but Fire TV is an even more closed environment, thus I hope this should be doable with a full Android)?
[Shield Android TV Android Development] RebelebeR:
Actually if you double click the launcher it uses "only once " by default, but I don't know of any other way right off hand
[Shield Android TV Android Development] JulienPr:
I've done some more search, and found the app Home2 button. This permits to customize the action when you double-click on the Home button. Unfortunately it has not been since 2011 and some complaints are about KitKat incompatibility, thus I doubt it would work with Marshmallow.
[Shield Android TV Android Development] jb_alphamale:
All my storage devices are above 64GB so no chance for fat32. Stickmount only works with usb and my main storage is a Samsung high speed sdcard. It's been discussed that with Zulu in a previous post.
[Shield Android TV Android Development] tailslol:
with a good formating program you can go higher than that the only problen is you cant store files bigger than 3.9gb

fat 32 stop at 2tb outside windows.
[Shield Android TV Android Development] banderos101:
My bad, had'nt realised we were talking about sd cards

I knew about fat32 file size limit as pointed out by tails, but i was'nt aware that you couldnt format the higher capacity storage as fat32 (im assuming its another limitation of fat32)

If thats so, seems the problem then is a little bigger then i thought, as that puts alot more people then i originally thought in a pickle
[Shield Android TV Android Development] netvlada:
Hi Zulu

Did you maybe see Remix OS,what do you think,can we to take something from Remix?
[Shield Android TV Android Development] meksis:
+1

I'd like to see the works we Remix OS

Sorry my English.
[Shield Android TV Android Development] zulu99:
If all goes well, in android N we will have floating windows. For now we have already multi windows.

Remix OS is not good, because the base of Android is modified and create many incompatibilities, therefore many things not work and will not work also in future.

Android is only the Android that Google invented ( if you want that all apps from Google Play work well ), more the base Android is modified, more is not good.

This is extremely sure.

For now the best configuration for your TV is Shield TV with full Android 6 inside, without exceptions. There is nothing better that this in the WORLD. Is not a joke, is true.