[ROM][Full Android Marshmallow for Shield TV][v.1.5]

Full Android Experience with NO Limits on Shield TV and Nexus Player
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

[ROM][Full Android Marshmallow for Shield TV][v.1.5]

Post by zulu99 »

Full Android Marshmallow for Shield TV

v.1.5
Android on TV is not just movies and songs but also millions of apps and games.
This firmware want be full Android Experience with NO Limits.
With Android you can run all standard Google Play apps and also apps made specifically for Android TV.
For the best interaction with Android from your couch i suggest DroidMote, because with DroidMote multi-touch is not a problem on TV.
Take a look here to understand why Android on TV is better than Android TV:
https://www.youtube.com/playlist?list=P ... B9D757086B

Firmware:

Based on Nvidia public source code + binary from stock firmware
All Android apps installable directly from Google Play
Uvc Webcam + mic ( hangouts, skype and voice search )
Bluetooth a2dp and bluetooth mic
Chromecast functionality
Full Hardware decode also for hevc h265 4k
Xposed framework arm64 working
All others internal hardware components are working very well
Google Play Movies & TV and all others DRM video player working.
Wifi ac and n work wonderful and also ethernet connection.
Compatibility with new games optimized for Tegra X1 like Doom 3
Vulkan support tested with Nvidia sample
Xbox 360 wireless controller for PC work very well

Note: The New Bluetooth Nvidia Shield Controller 2017, work without problems on this firmware, instead the old Nvidia controller works only in usb mode not in wireless mode because is not a standard controller, work only on Nvidia firmware. The old Nvidia controller in wireless mode use a Nvidia proprietary wifi-direct protocol that interfere also with normal wifi functionalities, the Nvidia implementation of this protocol is not open source and i'm also not interested to have it because degrade the wifi signal and create interferences in wifi channels. I found also that the triggers of the controller not operate well, because when you release the trigger it not return always in 0 position as it should. Instead all others standard controllers and remotes wireless, bluetooth, wired works very well. The audio functionalities of the controller are not a problem, you can use bluetooth audio, a webcam with mic or any generic usb audio so you can do everyhing and also in better way, without pressing any button, just saying "OK Google". Android TV is a streaming player made mainly for paid multimedia contents, instead this firmware is a real and complete Android firmware. The sideload not solve your problems on Android TV, the sideloaded app have bad resolution on Android TV and the lack of many components inside Android TV create problems on standard android apps.

Installation:

You should start the procedure with the 3.3 stock firmware installed.
In case you have Android TV Nougat installed, you must install also the boot.img from the stock recovery firmware 3.3

Download the full Android firmware from this link: http://kimechanic.com/5fw

Put the device in fastboot mode:
Connect the Shield Tv to PC via micro usb cable
Enable usb debugging in development settings of Shield TV
In the command prompt of your PC type:
adb reboot bootloader

The bootloader must be unlocked before all others operations with the command:
fastboot oem unlock

When the bootloader is unlocked, In the command prompt type:

1) fastboot flash system system.img
2) fastboot flash vendor vendor.img
3) fastboot -w
4) fastboot reboot

All others parts of the firmware can be stock and are already installed.

For the SATV Pro model, instead of use fastboot -w to clear data / cache, you can use the TWRP recovery. ( to avoid 2 hours of formatting data, because you have a large HD ) 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 )

To ROOT you can install the last SuperSu from TWRP recovery.
You can start the TWRP recovery without install with the command: fastboot boot your_twrp_recovery.img


If you don't know how to have or use fastboot, take a look here:
http://forum.xda-developers.com/showthr ... ?t=2588979

In case you need the Nvidia fastboot drivers for your PC:
https://developer.nvidia.com/shield-open-source

In this last link read only the section: "Next, put your SHIELD into fastboot mode using following method:"
http://nv-tegra.nvidia.com/gitweb/?p=ma ... r2-partner

Fastboot mode manually: https://youtu.be/2AzHF-uNiY8

Changelog:


ver. 1.5
Based on stock firmware 3.3
Updated base Gapps
The build.prop now have full_foster_e to avoid bad google play tv version automatically update

ver. 1.4
but fix on widevine DRM
If you come from full android 1.3 you can install only the system.img without wipe data.

ver. 1.3
based on stock 3.2 firmware
imported all the new stuff of original firmware
as always full android

ver. 1.2
https://goo.gl/k5FLhs

bug fix:
apps using sharedUserId that are installed on adopted storage devices will be uninstalled
was a bug of the AOSP source code that was corrected.
http://developer.android.com/guide/topi ... t.html#uid


ver. 1.1
Fix for some app that not install well on expanded storage.
overscan app included. ( you can open it creating a shourtcut )
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: [ROM][Full Android Marshmallow for Shield TV][v.1.2]

Post by zulu99 »

GENERAL INFOS
Dual Boot Full Android and Android TV:
You can follow this step by step intructions: viewtopic.php?f=25&t=1580&start=410#p3636

Netflix in High resolution quality:
To have Netflix in High resolution quality, install the Android TV version https://www.apkmirror.com/?s=netflix&po ... pp_release, login the first time and after cast your preferred show from your phone. The best and more simple way. But you can also use only the TV app.
You can use also the standard app for tablets but the quality is SD.
Netflix TV app version >= 2.5.1 support 4K https://mega.nz/#!ehxFCBjZ!HrqWBbjs3Zzo ... jqGilDZgKA

Full Screen with Xposed:
You can download the last xposed framework for Marshmallow sdk23 arm64:
http://forum.xda-developers.com/showthr ... ?t=3034811
You can use GravityBox for Marshmallow
You can use App Settings for Marshmallow, this 1.13 version: http://forum.xda-developers.com/showpos ... count=2040

Google Play Store Bad TV version:
Not very often can happen that the Google Play Store for TV have a version number greater than the Normal Google Play Store app. In this condition you can have a bad auromatic update of Google Play Store. To solve, edit the build.prop and change each occurrence of the word foster_e in full_foster_e, uninstall the last Google Play automatic update, restart. You can download and install the last version of Google Play app from apkmirror.com and when the normal version have version number greater than tv version you don't have problems, the app update automatically to the last version. My suggestion is to restore the original build.prop when you can. If you have problems, make sure that when you installed the firmware you wiped the internal memory with the command fastboot -w , or with twrp or with a factory reset from android settings, otherwise you will have old stuff of Android TV inside your device that create problems.

You can also:
go in Settings -> apps -> Google Play and uninstall updates. ( top right corner )
From Google Play old version, download Chrome Browser and with Chrome download the last normal Google Play version from apkmirror.com
Update Google Play to have everything working.

Mount a samba share as internal storage folder:
The most simple way is with the app Mount Manager: http://android-apk.org/apk/com.twimager ... t+manager/
You need busybox https://play.google.com/store/apps/deta ... ybox&hl=en
You must mount the samba share in the local folder /data/media/0/your_folder
In some fimrwares and in Android Nougat you need to add the custom mount option context = u:object_r:rootfs:s0

If you need some specific TVSettings:
Many of the commands that you can do with TV settings, are possible also with setprop command.
Instead with getprop command you can list all properties that you can set.
But you can install also the TVSettings apk and create a shortcut of the main activity with QuickShortcutMaker app or in other ways.
Every functionalities that you don't have with standard android settings are avaiable with TV settings, like HDMI and sound options if you use an audio/video receiver
The TV Settings apk is here:
https://mega.nz/#!eNBVmKzZ!ROJsbUmEgtwx ... s7cVBcS05g

Google Play show some apps as not compatible:
Only for Google Play store app set 240 or 160 DPI with the APP Settings xposed module. Google Play check also the DPI to filter what you can run or not.
After the config change you can wait also one hour before the change take effect.
By default you have 220 DPI that is better.

Test the Multi Window mode:
In the build.prop add this line:
persist.sys.debug.multi_window=true

You can run Leanback-Only apps with a standard Launcher in this way:
https://www.youtube.com/watch?v=NMqz8e33oq8

How to make Nvidia Shield Controller compatible with any Android device:
Download the two keylayout files from the link below and copy both to /system/usr/keylayout folder of your generic Android device.
Thats all now you can use it with an usb otg cable.

https://goo.gl/1MePV1

When the controller is compatible with your generic Android device, you can use DroidMote Client to use the controller in wireless mode with Android, Windows and Linux games. Connect the controller to the generic Android device via usb otg cable, connect droidmote client to droidmote server and enjoy a fast wireless connection with no lag. I tried this configuration with Nvidia Grid and it work better than have the controller in native wireless mode. This because the stock wifi direct connection + proprietary Nvidia apps can disturb your normal wireless connection. Try yourself to better understand. This configuration is also useful if you want use alternative Android firmwares or you don't want the hassle of a long usb cable when you play with your Windows and Linux games.?

In case you need the stock app for fix overscan:
This is the stock app for overscan settings.

https://goo.gl/wmG8iA

This is an Android app only, so to have it working on standard launcher, you must create a shortcut with QuickShortcutMaker
https://play.google.com/store/apps/d....quickshortcut
The same procedure that you use to have Android Tv apps on full android, nothing special.

https://youtu.be/fFm2NAtxn7o

A suggestion for play Touch-Only games with this firmware and also with Android TV with your preferred hardware controller:
DroidMote Client and Server on same device. Select droidmoteIme and load your touch profile.
You can create the touch profile also on your phone or tablet by sharing the taken screenshot of your game. The ability to create a touch profile on a device with a touch screen, make the operations more simple and makes the touch profile easily customizable.

https://www.youtube.com/watch?v=HDAT59PyYT0

Others customizations examples:
https://plus.google.com/+VideomapIt/posts/Vkc35BPtKL4
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
Wanbli
Posts: 12
Joined: Thu Apr 28, 2016 12:02 pm

Re: [ROM][Full Android Marshmallow for Shield TV][v.1.2]

Post by Wanbli »

Zulu99;
Good to see this new post, I don't believe XDA should have closed your post. :D
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: [ROM][Full Android Marshmallow for Shield TV][v.1.2]

Post by zulu99 »

Wanbli wrote:Zulu99;
Good to see this new post, I don't believe XDA should have closed your post. :D
Not problem, you can use this thread for help and suggestions or follow all my update in Google Plus
https://plus.google.com/+VideomapIt

The xda forum is a bad place today, the forum can earn from your works but the developer can't talk about a paid app also if the thread publish a FREE firmware. Crazy....

anyway here we can talk of everything. fuck off XDA
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: Download and general infos

Post by zulu99 »

here you can request me everything, about the firmware and about droidmote.

You can request also some touch profiles for games.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
Wanbli
Posts: 12
Joined: Thu Apr 28, 2016 12:02 pm

New issue

Post by Wanbli »

I ran the Speedtest.net app, screen went vertical and will only return to landscape with Kodi running. As soon as I close Kodi, screen goes back to vertical.
Any help would be deeply appreciated.
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: New issue

Post by zulu99 »

Wanbli wrote:I ran the Speedtest.net app, screen went vertical and will only return to landscape with Kodi running. As soon as I close Kodi, screen goes back to vertical.
Any help would be deeply appreciated.
Not all apps support landscape.

But you can force landscape with the App Settings module linked in the second post. This is an xposed framework module.

Or you can use an app like this https://play.google.com/store/apps/deta ... cker&hl=en that force screen in landscape.

This happen only on apps that by default not support landscape mode. Are apps made only for phones, but you can try.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
Wanbli
Posts: 12
Joined: Thu Apr 28, 2016 12:02 pm

New issue

Post by Wanbli »

Ok, I fixed it with "Adaptive Rotation Lock" Which forced all apps to landscape.
User avatar
zulu99
Site Admin
Posts: 2485
Joined: Tue Oct 09, 2012 6:42 am

Re: New issue

Post by zulu99 »

Wanbli wrote:Ok, I fixed it with "Adaptive Rotation Lock" Which forced all apps to landscape.
Yes, you can use many apps, but i suggest to use xposed App settings because with this module you can do more things. For exaple you can set also an app in full screen, block.some permissions or change dpi.
Developer of DroidMote Server and DroidMote Client. Read the Quick Start Guides and then I'll be happy to help.
Donate with Paypal or Donate with Crypto
romulian
Posts: 1
Joined: Thu Apr 28, 2016 5:57 pm

Re: [ROM][Full Android Marshmallow for Shield TV][v.1.2]

Post by romulian »

Will v.1.3 update in connection with the release of 3.1.0?