yashsingh1/xdaforums huggingface dataset:
[Nexus Player Original Android Development] zulu99:
For now, i not added chromecast stuff to the firmware because many of us have also an hardware chromecast dongle in another hdmi port of the tv. With an Android tv box you can do all directly inside the box, and the image quality, resolution is better and the app can be controlled also better when is an indipendent app.

However, in the original firmware and also in Google Play, there is the app Google Cast Receiver aka AndroidMediaShell and the relative lib in /system/lib/libcast_shell_android.so

I think that Google will add this functionality for all Lollipop devices in little time as an app that you can download from Google Play.

But just now you can play with the files that i mentioned, but i think without any good result until Google not want this.

Is also interesting read this thread:

http://xdaforums.com/hardware-hacking/chromecast/app-cast-receiver-app-android-t2900726
[Nexus Player Original Android Development] lafester:
Awesome... Thanks zulu
[Nexus Player Original Android Development] codahq:
Sorry if this is a stupid question, but can this rom add mpg2 hardware decoding?
[Nexus Player Original Android Development] Idan73:
Does 5.1 have bluetooth audio?

Note 4 ?
[Nexus Player Original Android Development] zulu99:
Solved also Chromecast functionality, it rely on the new booltloader for this reason i had problems in last tests.

All is under control. A couple of days of tests and i will share the new 5.1 firmware.
[Nexus Player Original Android Development] ruZZ.il:
:good:

How did you handle the kernel? Did you rebase defconoi's unleashed with android-x86_64-fugu-3.10-lollipop-mr1, or use clean android-x86_64-fugu-3.10-lollipop-mr1 ?

I've found that defconoi did some great work with updating the wifi drivers and the scheduler, which are worth keeping. I haven't had a chance to do any more than just look at src so I haven't tested anything, though the changes rebased with minimal conflict. let me know if you want my rebase src. I could give you a bzImage if you'd like too.

-R.
[Nexus Player Original Android Development] zulu99:
i used this https://android.googlesource.com/kernel/x86_64/+/android-x86_64-fugu-3.10-lollipop-mr1 + exfat drivers as base

+ additional modules

the kernel don't have problems and is good

The 5.0.2 firmware works very very well. Now i'm finalize the 5.1 firmware. try the 5.0.2 to understand.

But i will look at wifi drivers. Thanks for the suggestion.
[Nexus Player Original Android Development] zulu99:
Before i will publish on first page, i need your approval.

Nexus Player LolliRock v.1.6 AOSP Android 5.1 - Release candidate 1

Download:

http://goo.gl/qzbUOn

Instructions:

Make sure you have installed at least on time the stock 5.1 firmware so you have the new bootloader.

Put the device in bootloader mode:

1) fastboot flash boot boot.img

2) fastboot flash system system.img

3) fastboot -w

To root download this file http://download.chainfire.eu/631/CF-R and extract the file root.img

4) fastboot boot root.img
[Nexus Player Original Android Development] cobra85ec:
is there a change log. ?

would love to give this a spin
[Nexus Player Original Android Development] zulu99:
Android 5.1 changelog

new updated kernel source

new binay

new google services and apps

some midifications and additional modules of LolliRock 1.5

The visual changes are not many, but under the hood much is changed.

Now you can also mute audio like pre 5 android versions that is very useful.
[Nexus Player Original Android Development] lafester:
Just flashed... waiting for boot now.

I pulled the new bootloader from the .tar file and flashed it first... hope that was enough.
[Nexus Player Original Android Development] cobra85ec:
Is there an GOOD solution for OTG
[Nexus Player Original Android Development] lafester:
looks good so far unfortunately i'm out of time to test until tonight.
[Nexus Player Original Android Development] npjohnson:
Works great for me, I handflashed everything except the user data.img from the factory image, then flashed the new lollirock, and root, but didn't wipe with fastboot -w and everything is working great!

I might recommend that for major OS version, IE 5.x ==> 5.y that you change lollirock version to 2.0.
[Nexus Player Original Android Development] Idan73:
[MENTION=1469500]zulu99[/MENTION]

5.1 release works amazing. Adition of working Mute button is very welcome. My keyboard thanks you very much.

On the side note. Polite request. Please consider adding full bluetooth a2dp and mic support.

I know you don't have much use for it, according to your previous posts, but maybe you don't have kids around you when you want to say Ok Google, and do a search, while they are physically closer to the usb mic then yourself.... It is also immensely more convenient to listen to the music or watch something privately ,or when family is sleeping (where google dropped the ball compared to roku, with its stereo plug on the remote, and nvidia seems to be fixing on their box). I saw you mentioned that the stock remote mic is hard wired to use gimped protocol from original firmware, and I would not want you to waste time on that, but when I have spare bluetooth headsets that I can just put in my ear, it is a damn shame not to be able to use it.

It also allows using using other bluetooth peripherals, in case I want the sound to be louder, cleaner than my crappy TV speakers and not necessarily be physically tethered to my TV (wife hates cables and I really try to keep it to a minimum). And let us not forget some of us wanting private conversations on hangouts/skype/etc.

Other than full bluetooth support, I really have no idea what else could be missing from this amazing work, that you have done for us.

Thanks

# 544553039E420244L for ☕ or ? as a thank you for work done. No obligation regarding request.

Note 4 ?
[Nexus Player Original Android Development] zulu99:
I will work on better bluetooth mic support. Generic bluetooth mic, not the one of little stock remote. Usually i use DroidMote when i want write something with my voice or the usb webcam if i want make voice search in google now.

But for private conversations in skype / hangout with a bluethoout mic / audio or to listen when others are sleeping you are right
[Nexus Player Original Android Development] bmg1001:
So before I flash this, I just have a couple of questions:

1. Do Bluetooth Headphones work?

2. Can I still use the ASUS GamePad and the Nexus Player Remote?

3. Can I install the Android TV Launcher and use the device as if it were stock, just with the extra features of AOSP?
[Nexus Player Original Android Development] lafester:
Does it need to optimize on every reboot?
[Nexus Player Original Android Development] ninjanurse:
How can my game data survive this upgrade. With my phones I always use titanium backup and custom recovery. Should I just save most data to USB or Google Drive or Dropbox... Etcetera. Or is there a simple command shortcut I just never learned? I'm enjoying 1.5 so much. Best thing to happen to an android device for me. My TV is my new favorite thing. I'm even gonna buy aLogitech C525. I just want to upgrade appropriately.
[Nexus Player Original Android Development] zulu99:
Usualy i erase all my data when i update, because are only apps that i can reinstall easly.

For photo songs and videos i have external usb devices or google drive.

But if you want try, the fastboot -w command erase all your data, if you don't type this command, the user data should not be deleted.

But to have chromecast functionality you need the last bootloader, for this reason i suggest in the readme: "start from the last stock firmware". But as another user wrote above, you can install also the bootloader manually.

So if you are an advanced user you can do what you want.

If you want the basic procedure, from the last stock firmware with fastboot install only system and boot image and with the command fastboot -w erase old data.
[Nexus Player Original Android Development] zulu99:
no, if you have problems, a factory reset solve. Without the command fastboot -w that purge old data i'm not sure about the process, some old data can create problems, solvable with a fresh install or factory reset or with the command fastboot -w in the installation process as i wrote in the readme.
[Nexus Player Original Android Development] roebling:
Lollirock 1.6rc works perfectly!

I installed stock Lollipop 5.1 Saturday & ran it for a day, then installed your new Lollirock 1.6 release candidate. I find Lollirock 1.6 rc to work perfectly and better than Nexus Player's new stock ROM. I have tested it with Google apps Maps, Chrome, GMail, Play Music, You Tube, Keep, New & Weather, People, Play Newsstand and Settings and had zero problems.

I've also tested the new rom with after-market apps Puffin, Solitaire, TwitPro, UI Tuner, Accuweather, Hulu, Epson print enabler and ES File Explorer and had no crashes or slow frame rates or other unengineered results.

However, some aftermarket apps, TWiT Pro and AccuWeather, ID the Nexus Player as an Android TV device even though the ROM is of an Android tablet or phone and they limit functionality. Is there a line hidden in ROM that could be changed to make the Nexus Player appear to be a Chromebox or tablet or hi-rez phone?

FlashFox installs but fails to run with a very considerate and informative message (thankyou, FlashFox writers) saying that FlashFox doesn't support Intel chips.

Finally, some apps, Crackle & Next Issue, are blocked from installing by the Play Store app, presumably because of a misidentification.

Lollirock 1.6 is a great ROM, better than even the latest stock Android TV one. THANKS!

Editted to add:

I forget to mention that I've casted to the LolliRock'n Nexus Player since upgrading to 1.6 several times and for a duration of 30 minutes to an hour each time. It connected quickly, quality of the picture was fantastic, syncing of sound & picture was perfect and I experienced no crashes. GREAT!
[Nexus Player Original Android Development] zulu99:
fugu and nexus player fields in build.prop can show your device as Android TV for some apps. But i think that changing this can help. But i suggest to write to developer and exaplain that is not necessary base the app behaviour on build.prop, a good app use only the android sdk and not this bad check.

Thanks for your accurate test. This is what mean collaboration. Many thanks also to all others testers.
[Nexus Player Original Android Development] JLine05:
I'm guessing hbo go will still not work with this rom? No way to trick it into thinking the system is stock?
[Nexus Player Original Android Development] lafester:
I did a full wipe after install. Will look into it tonight
[Nexus Player Original Android Development] ruZZ.il:
I'm not familiar with HBO go in particular, though I've found that some apps look for certain things to determine if a device is rooted. In fact, the check is sometimes very primitive, like testing some system properties for the string "test-keys" (I've encountered this with a local app here).

I've found an HBO relevant post from way back, http://xdaforums.com/showpost.php?p=36720865&postcount=29

Lollirock doesnt come 'rooted', nor with busybox, so it would be easy for you to test the test-keys bit. One way would be:

adb root

adb remount

adb pull /system/build.prop

#edit build prop, changing all instances of "test-keys" to "release-keys"

adb push build.prop /system/

adb shell chmod 644 /system/build.prop

adb reboot

Keep us updated..
[Nexus Player Original Android Development] VannMann:
What are the advantages of updating from 1.5 to 1.6?
[Nexus Player Original Android Development] DaRacerz:
I know this may seem obscure, can you add support for GPS via a USB receiver?
[Nexus Player Original Android Development] pnight:
With stock i can paired a ps3 controller , but with lollirock 1.5 its impossible . please let me know if somebody could ....
[Nexus Player Original Android Development] midnightzak:
I use hbo go with one of the first versions of this ROM (before casting worked), works fine for me. Maybe try an older version of the hbo app...
[Nexus Player Original Android Development] zulu99:
With the stock firmware update 5.1, Google has removed the compatibility to thousands of apps that you could manually sideload in the Nexus Player. In fact, the menu of classic applications is no longer accessible and in this way, in one fell swoop, broke compatibility with the classic Android world. I think this move ruin still more Android TV. Long life to the full versions of Android as LolliRock and attention to buy other Android TV devices, if you are not already sure that you can change the firmware with a full version of Android.

Android TV, the crap OS that ruine Android. Bad move dear Google, bad move.

Android in TV should be full Android in TV and not a crap subspecie of Android.
[Nexus Player Original Android Development] sec6:
I had BBC iPlayer sideloaded, but could not access the standard menus after the 5.1 update. Quite a shame. The whole reason I bought the NP was to watch UK television. It worked perfect being rooted using droidmote (to access all those now nonexistent menus). Now have to wait for official UK apps for the NP. My NP is now reduced to a casting device.
[Nexus Player Original Android Development] Wilberry:
That is terrible news, but to clarify this does not affect your 1.6 release does it? As I understand 1.6 uses 5.1 full android and has access to all the play store has to offer.

Thanks for keeping the Nexus Player alive for us.
[Nexus Player Original Android Development] zulu99:
Sure is not valid for LolliRock. LolliRock is full Android. Android TV instead from 5.1 becomes more and more an abortion.

Sorry for the use of inappropriate language, but I get very nervous when these companies use these petty tricks to force users to do what they want. Only to protect their economic interests.
[Nexus Player Original Android Development] Wilberry:
Agreed, and thanks for the confirmation.
[Nexus Player Original Android Development] Idan73:
That is correct. Everything that has worked with 5.02, works with 5.1 as well.

He also added support for menu button for regular android TV users, through server side, on his app.

Note 4 ?
[Nexus Player Original Android Development] sec6:
Is there a way when casting on Lollirock to get it to cast in fullscreen?

P.S. Lollirock 1.6 is working great--so much better performance than stock. Thank you zulu99!
[Nexus Player Original Android Development] Kewjoe:
Hi Zulu, will there be any changes in 1.6 final? Or is this test version likely to just become final? Thanks!
[Nexus Player Original Android Development] zulu99:
I'm working on bluetooth audio, but do not expect much, because what we did on the audio is already a miracle. In fact, the audio HAL of Nexus Player is very limited, is already a miracle that with LolliRock we can change volume, mute, use usb audio from webcam for voice search on google now and make voice / video call with skype / hangout.

If someone wants to help on the bluetooth audio, I gladly accept help.
[Nexus Player Original Android Development] cobra85ec:
You can use sixaxis to pair ps3 controls. Make sure to have a otg cable to setup 1st.
[Nexus Player Original Android Development] sec6:
Tried pairing Red Samurai Android bluetooth gamepad with 1.6 Lollirock--won't pair: "can't communicate with GS gamepad."
[Nexus Player Original Android Development] Idan73:
It's really sad if you can't make it work.

Is it possible to use some other devices HAL (only saying cause I naively read online that HAL is driver agnostic).

Oh well. Amazon is releasing wireless/bluetooth audio support for us box, in the upcoming firmware. As well as nvidia having it natively with its box. Google is surely to follow. As to when???...

Note 4 ?

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

They both work amazing with my lollirock 1.6.

Make sure you're in game mode (switch on the bottom of the unit) and pair in single mode (not multicontroller). Of course, sometimes you need to reboot device for things to work, as evidenced by my wife last night when Chromecasting wouldn't work (I cast phone screen without issue earlier in the evening. Later she tried to cast YouTube and it just wouldn't budge. The reason I prefer she casts YouTube? That way she does not mess up my account with her workout videos crap).

Note 4 ?
[Nexus Player Original Android Development] sec6:
Third time's a charm--working now.
[Nexus Player Original Android Development] alltubetone:
Totally in the same boat - part of the reason I got the Nexus Player was to put a TV in another room so I wouldn't have to listen to my girlfriends workout videos!
[Nexus Player Original Android Development] danigraham:
Can someone point me to the link for 1.6? I follow this thread but haven't been reading as I have been working a lot lately and searching isn't helping me. I see everyone talking about 1.6 though.
[Nexus Player Original Android Development] ecsnead69:
Go back about 15 posts....
[Nexus Player Original Android Development] sec6:
First post under "Release Candidate" in red.
[Nexus Player Original Android Development] alltubetone:
Tried with no luck on 1.6, using otg cable and everything.

---------- Post added at 09:43 PM ---------- Previous post was at 09:40 PM ----------

Great work around though... Connected sixaxis controller to my HTC one, and using droidmote server on the player works!
[Nexus Player Original Android Development] zulu99:
Yes, this is an alternative that not many users know.

When you have a controller not compatible with your android tv box, if you use DroidMote, you can connect the hardware controller to your client device and the buttons and axis are forwarded to the server device with no lag, also better because wifi have better Latency than the bluetooth. You can customize your keylayout and adapt it to all games. You can play also with touch games with your preferred hardware controller via touch profiles. http://www.videomap.it/dmcguide.htm https://youtu.be/HDAT59PyYT0

I invented DroidMote for me, because I'm very picky, I do not like to have limits and I don't like to have bulky hardware devices in hands, if can help someone i'm very happy. Usually i use all apps that Android can offer completely relaxed on my couch. This is the goal that I set myself when I invented DroidMote more than three years ago.

We don't need two OS that do the same things, this cause only further fragmentation that is not necessary to Android world's. We need only more accessibility to standard Android OS and apps.

Imagine that you can download Leanback Launcher from Google Play and some apps can be executed also with TV layout, what changes for the final users ? Is this the best solution for all and the future of Android in TV ?

Why change an entire OS to do this simple steps ? Economic interest of the Majors, for me. I don't think that Google like how Android TV is today, but is forced in this direction.
[Nexus Player Original Android Development] roebling:
1.6rc

http://xdaforums.com/nexus-player/orig-development/rom-t2982801
[Nexus Player Original Android Development] ecsnead69:
I am currently on rooted stock 5.0.1, I just want to verify that I need to update to 5.1 to get the new bootloader, unlock again, and then I am good to flash 1.6? Thanks
[Nexus Player Original Android Development] lordodin912:
Didn't mean to hits thanks, ha. Answer on page 40 braa

---------- Post added at 10:19 AM ---------- Previous post was at 10:17 AM ----------

Can't send files via Bluetooth on 1.5. Any hope for 1.6? No time to test ಠ╭╮ಠ . thanks again for your amazing work Zulu, you make this player bearable ha.
[Nexus Player Original Android Development] ecsnead69:
Any way to get a post #? I'm on the xda app and I only have 22 pages, thanks
[Nexus Player Original Android Development] lordodin912:
#393
[Nexus Player Original Android Development] alltubetone:
I didn't even realize you were the same developer! Great job! So far the best $4 CAD I've spent on an andorid app. There is some lag when connecting to the htc one via bluetooth and then passing to the server though.
[Nexus Player Original Android Development] ecsnead69:
Sorry, that didn't really answer my question. I am asking if I need to flash the stock 5.1 firmware before I flash 1.6? Thanks
[Nexus Player Original Android Development] zulu99:
yes because you need the new bootloader. but some advanced users, can flash also only the new bootloader and after install the new LolliRock.

From my tests, after 7 days, i can say that the new 1.6 LolliRock based on android 5.1 work well. Soon will be posted as stable and official version.

i'm waiting for a new bluetooth headset from amazon, i want add a2dp bluetooth support that is the only thing that i miss. also on stock firmware not work, but i will work for a future update.

in the meantime LolliRock 1.6 have my OK, naturally after all your tests.
[Nexus Player Original Android Development] zulu99:
i have to optimize the wifi connection of the nexus player. about micro lag, the 1.5 firmware is better than 1.6 For this reason i not published directly the 1.6 version. but i want the perfection on this, don't worry and stay update.
[Nexus Player Original Android Development] npjohnson:
Note to advanced users:

To Upgrade from LolliRock 1.5 ==> 1.6 RC1 (While retaining Root, without flashing the WHOLE factory image.

*If you choose to not wipe data, you may Boot-loop, and nothing is guaranteed (worked for me though). You can likely recover if you do bootloop though.

EDIT: Most users are reporting not erasing the data sticks them in a bootloop. Just wipe the data. Huh. Odd, it worked for me, but I use very few apps.

Before following these steps, ensure you are using the newest fastboot from the Android SDK or Eclipse, if you don't, it will fail, referencing something about not liking the system.img size.

1. Download the newest 5.1 factory image here: https://developers.google.com/android/nexus/images (LMY47D as of 28-MAR-15), As well as LolliRock 1.6 RC1.rar, and this root boot.img (LMY47D), also found it the Dev. Section: https://www.androidfilehost.com/?fid=95916177934546748

2. Extract the file in the archive using WinRAR

3. Right click that "file" and click "open with", select WinRAR, and extract it

4. Go into the extracted folder and open the .zip file contained, and extract it.

5. Open a CMD Prompt or PowerShell, and ensure your device is connected by USB, with ADB working

6. CD the "fugu-lmy47d-factory-f6d66f35" folder, then the contained folder, mine was called "fugu-lmy47d-factory-f6d66f35~", then "fugu-lmy47d"

7. Reboot to FastBoot Mode by either unplugging, then replugging the NP in with the HW button on the bottom held, or by running "ABD reboot bootloader"

8. Run "fastboot flash bootloader bootloader-fugu-fugu-02.09.img"

9. CD the contained folder "image-fugu-lmy47d"

10. Run "fastboot flash recovery recovery.img"

11. Run "fastboot erase cache" (Ignore "Did you meant o format this partition?" error)

12. Extract LolliRock 1.6 RC1 from its RAR

13. CD the "Nexus_Player_LolliRock_v1.6-RC1" folder in CMD

14. Run "fastboot flash boot boot.img"

15. Run "fastboot flash system.img"

16. (To retain Root) CD the extracted root-boot folder, then run "fastboot boot boot.img", make sure to boot and not flash this one

17. (Optional*) Run "Fastboot -w" to wipe data/cache, you can skip this step, but it seems if you have a bunch of installed apps, you tend to bootloop, if you skip it, and bootloop, just reboot to fastboot manually and run this command.

18. Run "fastboot reboot" and give up to ~10 minutes to boot the first time. Voilà and enjoy.

This sticks you at the newest partition map, recovery, kernel, LolliRock, and bootloader version, so, to rerun to stock, just go bathe factory image, and flash the contained boot.img, and system.img.

Thanks to Zulu99 for the Awesome ROM and his work on DroidMote!
[Nexus Player Original Android Development] ariesting:
Follows this instruction and the player hang at boot animation. Manually erase data by running "Fastboot -w" and the player now keeps restarting after optimizing apps. Appreciate if someone can advise me on how to fixing it. Thanks.