yashsingh1/xdaforums huggingface dataset:
[Nexus Player Original Android Development] npjohnson:
Just resflash the system and boot images from lollirock 1.6

Also edited my original post.
[Nexus Player Original Android Development] ariesting:
It works. Thanks.
[Nexus Player Original Android Development] Idan73:
Also for the future. Never root in same session as flash. Let the firmware boot first time, then go back to bootloader and root.

Also note that manual command Fastboot - w, if you don't have proper version adb and Fastboot, kinda like me ☺, always results in corrupted cache (not mountable by system). Going to recovery and factory reset there, or optionaly just reset cache, clears things up.

Note 4 ?

---------- Post added at 01:13 AM ---------- Previous post was at 12:54 AM ----------

@zulu99 would have sent you one of mine. Although, would have prolly taken more than few weeks to get there. That's how long it usually takes me to get stuff from Europe via regular mail. The reason I have multiple, is because nobody makes the style of headset that I prefer for the past few years. And those old models are actually getting more expensive with time. Last year I could have gotten samsung hs3000 for 30 bucks shipped, this year it cost me $75+, for headset released in 2011. Sony Ericsson mw600 are over 100 dollars now, and when they stopped making them 3 years ago, they were going for $35....

I listen to lots of books and music throughout day, so gotta have spares.

Note 4 ?
[Nexus Player Original Android Development] ariesting:
My player opimizes apps again every time it restarts after upgrading to 1.6. Does anyone have the same problem?
[Nexus Player Original Android Development] roebling:
Anybody using the AOSP browser able to enter "Settings" for it?
[Nexus Player Original Android Development] zulu99:
The release candidate passed to official in first post.

No update is necessary for users with release candidate installed.

I will work for future update on bluetooth a2dp in a next version.
[Nexus Player Original Android Development] dvnull:
After running 1.6 for about a week now - Google seems to have locked out the account access on the device. I removed the account, and re-added it once and the service began to work. But after some time the services became unavailable once again (auto updates are off). I tired the previous process again and the add account page just times out saying no internet connection. YouTube is the same, just hangs when the app launched. The box has internet access, but for some reason these services are not working. I even tried uninstalling the upgrades to playstore and google services. Anyone else having the same issue?
[Nexus Player Original Android Development] Idan73:
It is actually very common that during hard reboots (unplugging the power), date and time, become messed up. Check that.

Note this is not limited to this rom, but rather common for this hardware on original firmware as well.

Note 4 ?
[Nexus Player Original Android Development] zulu99:
The Nexus Player not have RTC battery, is normal. What is not normal is that asus / google not have thought of something so important that only costs 0.5 $

At first boot it get the date and time from internet because not have RTC battery.

Only android tv box with experience have the battery, like the Minix devices. Experience only on hardware, because the Chinese Android software instead is very bad.
[Nexus Player Original Android Development] zulu99:
AUDIO OUTPUT BLUETOOTH A2DP FIXED IN MY LAB

I bought from Amazon this http://www.amazon.it/Bluetooth-Head..._sbs_ce_6?ie=UTF8&refRID=1NGH7DE40FWFJJDGDZPD for tests. Arrived today. And tonight all work very very well.

This is the only thing that i miss and now we have.

Bluetooth external audio. Oooo my Goooood !
[Nexus Player Original Android Development] Idan73:
Congrats. So happy for me. ?

Note 4 ?
[Nexus Player Original Android Development] drilus:
Will be there support for resolutions greater than 480p on external cameras?
[Nexus Player Original Android Development] ariesting:
Two video streaming apps (vchannel and rss player) keep crashing on v1.6. Anyone know how to downgrade it back to v1.5?
[Nexus Player Original Android Development] janjan:
After flashing 1.6 ( Came from stock rooted ) I am not able to connect the remote. Any idea how to connect the remote after flash 1.6. Thanks
[Nexus Player Original Android Development] zulu99:
this apps must be updated to new android 5.1 is not question of firmware i think. if so the apps will sure be updated if the developer take care of it. I think, because i not tested this apps.

To downgrade from 1.6 to 1.5 that i NOT SUGGEST. You should change also the bootloader. But i not tested if the bottloader can be downgraded.

i suggest instead to update from google play Android System WebView https://play.google.com/store/apps/details?id=com.google.android.webview, i think this little apps rely on webview, so the new webview standard is the new version that you can download from google play.
[Nexus Player Original Android Development] zulu99:
It work on 1.6, i tested it. you must press the two button on the little remote to put it in pairing mode. On nexus player click refresh in bluetooth settings.
[Nexus Player Original Android Development] zulu99:
maybe yes. but i'm solving first some others little basic things.
[Nexus Player Original Android Development] janjan:
I already tried by holding/pressing two button on the little remote but not getting connection b/w them. I am going to re-flash 1.6 and recheck.
[Nexus Player Original Android Development] Idan73:
Not trying to make assumptions, but from your posts, seems like it's all you do (hold 2 buttons together). Are you maybe skipping the part, instructing that you have to go to system settings and actively search, whole holding the buttons?

Note 4 ?
[Nexus Player Original Android Development] janjan:
Yes. It works now. Thanks
[Nexus Player Original Android Development] zulu99:
IT'S TIME TO TEST BLUETOOTH AUDIO​

As you know the audio HAL of Nexus Player is completely made to limit the device, work on it is a complete delirium.

With the new version linked below, I tried to run together:

1) mic from webcam for audio/video calls, record sound and voice searches,

2) change volume and mute sound

3) when you connect the little remote not lose the main audio (before an hdmi switch solve)

4) Connect an external bluetooth a2dp device to listen sound in an external bluetooth headsets or external bluetooth speakers

5) when you return from bluetooth to main audio, not lose the main audio

6) With all this together, when you switch hdmi source not lose main audio

TO HAVE ALL THIS WITH THE CURRENT AUDIO HAL IS A SUPER DELIRIUM​

To test this new version of audio HAL, download the link below

Extract the 3 files

Copy libatv_audio.so and libaudiopolicymanager.so in /system/lib and assign 644 permissions ( you can assign permissions also with es file explorer like the others libs )

Copy audio.primary.fugu.so in /system/lib/hw and assign 644 permissions ( you can assign permissions also with es file explorer like the others libs )

Restart the Nexus Player and test.

http://goo.gl/3ZUqR9
[Nexus Player Original Android Development] npjohnson:
Nexus Player rebooting as I speak, also, quick note;

The .rar cannot be extracted on device with Root Explorer (no clue why), as the libatv_audio.so causes it to fail. Switched to my desktop, and the rar extracted fine.

Edit: All six goals listed you listed were met (Tested them all)!!! This is awesome. Nobody has anything left to complain about. XD
[Nexus Player Original Android Development] DaRacerz:
Zulu99, can you provide a link to the kernel source you are using? I need to compile in a PL2303 driver and preferably should do it using the actual kernel. Thanks.
[Nexus Player Original Android Development] chibluboy:
LolliRock v1.6 - Working very well

updated from LolliRock v1.5 to v1.6 and everything appears to be running very smooth and no problems. I have updated most of my apps and so far testing them have had no problems.

Keep up the great work!

I re-wrote the steps to take to properly flash the new rom and root the Nexus player again (I get confused easily! lol).

Here they are in case this helps anyone else having difficulty flashing an updated ROM:

My Instructions I use:

1) Plug Nexus Player USB cable into PC USB 2.0 Port!!! (I had an issue using USB 3.0 port)

2) Open CMD prompt window

3) Type "adb devices" and you should see the device serial #

4) Put the device in bootloader mode Type "ADB Reboot Bootloader" (device will reboot)

5) After reboot, type "fastboot devices"

6) using CMD prompt window, change directory (CD) to where image files are located (Example C:\Android)

7) type "fastboot flash boot boot.img"

8) type "fastboot flash system system.img"

9) type "fastboot -w"

10) type "fastboot reboot"

** 1st boot will take some time **

----------------

To RE-root (you MUST root again after ROM update)

1) download current nexus player chainfire root.img ( http://download.chainfire.eu/631/CF-R)

2) Put the device in bootloader mode Type "ADB Reboot Bootloader" (device will reboot)

3) type "fastboot boot root.img **" (device will reboot)

4) After reboot, open SuperSU and let it update binaries

Suggestions:

Update apps from Google Play

Install the Google Now Launcher from Google Play

The command fastboot -w is needed to clear cache and userdata and is highly recommended.
[Nexus Player Original Android Development] zulu99:
The last aosp source for this device + exfat drivers. The link is in some posts above but you can find it directly exploring the aosp source.
[Nexus Player Original Android Development] Idan73:
[MENTION=1469500]zulu99[/MENTION] wanted to send you another beer ?, only to notice you did not even claim the last one. Just a reminder. ?

Note 4 ?
[Nexus Player Original Android Development] janjan:
*I am stuck in a boot loop.
[Nexus Player Original Android Development] zulu99:
Maybe you not assigned well permissions. Can be only this. But not problems you can reinstall or with adb assign 644 permissions to all 3 files to solve. adb with micro usb cable + your pc.

adb shell

su

chmod 644 /your-folder/your-file
[Nexus Player Original Android Development] zulu99:
A suggestion to watch live tv from your antenna with Tivizen, but the special thing is the app, because you can watch live tv in multitasking mode. Like all modern OS and not like Android TV.

[YOUTUBE]g7OZIzMMHfU[/YOUTUBE]
[Nexus Player Original Android Development] janjan:
Yes it is properly permissions error. I will fix it later. Thanks for great work. :thumbup:
[Nexus Player Original Android Development] DaRacerz:
Thanks, yes, found that post at http://xdaforums.com/showpost.php?p=59598502&postcount=386. Can you post the .config file for my reference so I am starting off with the same baseline? Thank you!!
[Nexus Player Original Android Development] Idan73:
[MENTION=1469500]zulu99[/MENTION] here's another one. You can't believe how bluetooth fix increases value for my nexus player.

Transaction ID: 3JR25445XW8212220

Thanks and all the best.

Note 4 ?
[Nexus Player Original Android Development] Otisrhw:
Same here, was I supposed to overwrite or keep both when I copied? I'm sure permissions good. I chose to overwrite. Unplugged and got past boot loop and android updating now stuck at android starting ( starting apps).
[Nexus Player Original Android Development] birdster:
Hi zulu99 great work with the above well done, I'm currently just on rooted stock 5.1 and haven't installed your rom as yet, would the above work for the stock 5.1 or is it for your rom specific ?? If you could make this usable for 5.1 stock you would be doing the community a great service as Bluetooth support is the only real downside to stock 5.1.

On another note would it be possible to have a fully working Leanback Launcher within your rom so we can switch between your rom and Android TV ?? The work to get Leanback/Android Tv has already been done here :

http://xdaforums.com/hardware-hacking/chromecast/apk-adt-1-cast-receiver-leanback-t2814210/page12

Keep up the great work
[Nexus Player Original Android Development] zulu99:
For me Android TV is a fake Android made only to limit what you can do with full power of Android on TV. The limitations was imposed from sellers of movies and songs. In future, while you use the stock firmware you will understand better my words. if you are a demanding user.

I think that people that use the stock Android TV firmware, can do that, just because they use a very limited number of apps and this apps are only apps to watch movies. Android in TV can be much more and LolliRock is an example.

The audio hal is not compatible 100% with stock rom, you need modifications also to other part of the firmware and you will lose voice search with little remote that is a proprietary thing.

The leanback launcher is in 3 post from many time, you can install it like a standard launcher but is unuseful with this firmware. I will never change the Android home launcher for the leanback. Question of customization, organization of my apps and folders, wallpaper, and fast access to all apps. And exspecially to not have the suggestions / ads of leanback launcher.

I can't lose my time with directional arrows and accept all limitations of Android TV
[Nexus Player Original Android Development] zulu99:
Many thanks. I will use your money to buy devices to test. Like the last bluetooth headset that i bought from Amazon, and my Nexus Player that i paid 200$ to import in Italy.

But I want to point out to everyone that I work for passion and not only for money.

I'm at your disposal also without donation.
[Nexus Player Original Android Development] Idan73:
And it was never meant as a payment, or incentive for work, but rather a thank you, with no strings as said before.

I would also like to think that the power of my argument had something to do with your decision to help, combined with the passion you have already shown, regardless of bluetooth.

Note 4 ?
[Nexus Player Original Android Development] zulu99:
The power of your argument was the only thing about my decision to work on bluetooth, because honestly work on audio hal is a delirium. It is completly limited for construction choice. But fortunately we were able to free up the most important parts.
[Nexus Player Original Android Development] zulu99:
Should be inside the device tree that i already posted as rar file.

But the base is the aosp version + modules that you can find in first post.

Nothing special, standard modules that you can read in first post and enable in your config.

NTFS, NFS/CIFS/F2FS Filesystem support

USB Webcam support & USB Audio

ExFat support

If you need exfat you should copy it from others source and integrate in your source by changing two lines in Kconfig and Makefile
[Nexus Player Original Android Development] Otisrhw:
Got it, just extracted on PC used file drop to send to device and cut paste and set permissions!!

Well done bruh!! Loving my sound bar and SS!!!

---------- Post added at 12:39 PM ---------- Previous post was at 12:07 PM ----------

No mic on headset for me. Just to clarify headset with mic and earbuds LG, no sound input for things like voice to text or google now. Is this something in my settings that I'm missing or not a added function?
[Nexus Player Original Android Development] birdster:
I see where you are coming from zulu99, I think I will make the switch to your rom, is an update to 1.7 coming soon as if it is I will hold off installing 1.6 and wait for your 1.7 ??

Thanks ;)
[Nexus Player Original Android Development] zulu99:
The bluetooth is easy to add, i suggest to install 1.6 and add bluetooth.

I want test many others configurations and things before publish a new version.

Is not necessary for now. I can work with calm.
[Nexus Player Original Android Development] zulu99:
Bluetooth input is not mentioned in my achievements. Sound input only from usb webcam for now.

But i want clarify one thing. Many of users in this thread, not understand well what mean modify the source code related to hardware part i think.

When you see in xda others custom rom, you will find always a custom rom with original parts about the hardware.

Usually developers modify only the framework parts, not the basic functionality of the hardware stuff.

What we have is already a miracle, because many things about hardware parts are specific things that only the manufacturer can understand well.

The device tree and vendor stuff is somerhing that others developer of custom rom not modify. But we are forced to do that to transform nexus player in a standard android device, that born with this limitations in mind.

Under all limitations there is a reason that protect economic interests of sellers of movies and songs. Reflect.
[Nexus Player Original Android Development] Otisrhw:
I understand and hope you didn't take my question as greed!! I just wanted to make sure my fly mouse with mic wasn't changing the mic input or something.

What you have done is amazing, I wouldn't even want this puck without your ROM on it!!! I truly love and appreciate it, I tried to do a ROM fork once and that was hard for me, so rebuilding the architecture takes a master!!

I have or have had many Android Boxes rk3188, rk3288, a80, a31 and what you have done all by yourself far exceeds the crap on those things!!!

Thank you a thousand times sir!!!
[Nexus Player Original Android Development] Kewjoe:
Zulu, you're amazing! Thanks for making my player useful! 1.6 works great. One question for everyone. Anyone having issues casting? My 5.0.1 phone sees the player but when I try to connect the player disappears and it never connects. I'll troubleshoot more this evening.
[Nexus Player Original Android Development] zulu99:
I think you not have the last bootloader. In readme inside LolliRock firmware, i suggest to start from last stock 5.1 and after install LolliRock just for this reason.
[Nexus Player Original Android Development] zulu99:
Thank you for you appreciation.

As a brother, i suggest you to use my DroidMote to control well a full version of Android. You need also multi-touch, specially in new versions of Android.

You need only a good router and a good client device to have the best experience.

But the real reason of my suggestion is because i consider the fly mouse, a mouse with Parkinson's disease.

I thrown from the balcony over ten air mouse also because this chinese things create interference with wifi.

I also had many many Android Boxes a10, rk3066, rk3188, rk3288, a80, a31 We used the same garbage :)

But preferences are preferences. I respect you.
[Nexus Player Original Android Development] zulu99:
I suggest this app https://play.google.com/store/apps/details?id=eu.chainfire.recently

Is very cool and useful for your Nexus Player with Lollirock inside. Specially because you can use Recently apps better and because help you in save memory. We have only 1GB ram. Was made from my Guru Chainfire. :)

Instead for Reboot, Power Off etc. i suggest this other app https://play.google.com/store/apps/details?id=com.naman14.powermenu
[Nexus Player Original Android Development] chibluboy:
Is there a way to disable Display/Sleep?

I've been using my Nexus Player on LolliRock v1.6 to play music while I work, is there a way to disable the Sleep mode? Currently all I am able to do is set Sleep to 30 minutes and then to do some type of activity on my Nexus Player every 30 minutes to keep it from going to sleep.
[Nexus Player Original Android Development] Kewjoe:
Oops, missed that part. Is it safe to just flash the bootloader from the official 5.1? or should i flash the stock NP 5.1 fully?
[Nexus Player Original Android Development] lafester:
Look in developer options
[Nexus Player Original Android Development] chibluboy:
Ah!! Thanks, forgot about that :)
[Nexus Player Original Android Development] Kewjoe:
Zulu, i updated the bootloader and casting works just fine now. Thanks!
[Nexus Player Original Android Development] janjan:
Are you going to add the Bluetooth audio fix in the next future ROM? Thanks
[Nexus Player Original Android Development] zulu99:
Sure, now we are testing it with a manual update.

I like manual update so also not expert users can understand what we change and how important is that you can be the administrator of your own device.

Android without root is like a Ferrari without engine :)

The manufacturer want be the only one with administrator permissions. But we have spent money to buy this device so the administrator should be only the owner.

Is like when you buy an house and the old owner have the keys of your new house.

Crazy world the Android world about administrator permissions. This happen, not for security reason, but only to protect economic interests of big company.

Root permissions add more security, infact you can protect yourself also from this big company that have key / root permission on your personal device and also from all others insecurity.
[Nexus Player Original Android Development] Kewjoe:
I love this rom so much. I have an HTPC connected to my PC that I'll soon be able to repurpose because I can do almost everything on this little hockey puck. One (low priority) request. Some apps, force portrait mode. There is currently no way I can find to change it back. I downloaded an app from the play store that has cured it. I was thinking it would be nice to have it built into the rom. Again, very low priority. Thought I'd mention it :) I can live without it, if it's a pain to implement.

Spotify and Tapatalk both force portrait on initial screen load. But once you login, it loads in landscape.
[Nexus Player Original Android Development] zulu99:
Rotation Locker from Google Play. Long press on landscape and also bad apps start and stay forced in landscape.

The firmware already have only Landscape mode that a developer can check with standard google api, but unfortunately there are developers that would be more useful in the land to harvest the fruits of the trees.

This firmware in etc permissions have only android.hardware.screen.landscape and not android.hardware.screen.portrait

Infact the number of apps with this bad behaviour is little. What this mean ? Developer fault.
[Nexus Player Original Android Development] OathYvne:
Sorry I couldn't find this anywhere in the thread. Does the stock bluetooth nexus player remote work with UI navigation on lollirock?

And is it possible to use lollirock then install the leanback launcher from the play store or atleast have the leanback UI working?? just to have the nice launcher or leanback UI but have the ability to use all apps?

Thanks! :]
[Nexus Player Original Android Development] zulu99:
You can, if you want use the Android Beast like an Ipod nano. :)
[Nexus Player Original Android Development] chibluboy:
CIFS question?

I'm using the LolliRock v1.6 ROM and am trying to setup CIFS and am having difficulties.

I can browse my network and connect to my hard drive attached to my router using ES File Explorer. Trying to use cifsManager to mount a folder on my Nexus Player. I see the a cifs folder was created (/mnt/cifs/) When I try to use cifsManager and mount the network path, I keep getting an error that mounting has failed, "no such device". I also get an "invalid argument" if I try a different path/folder.

Am I doing something wrong? Or is anyone else having this problem?
[Nexus Player Original Android Development] zulu99:
What is precisely this cifsManager app that you are try to using ? The link.

Root apps must be rewritten to work with Lollipop as Chainfire explain in the "how to su" guide. So if this app is old should be updated to work with LolliPop.

If es file explorer work, and es file explorer was for sure updated, i imagine your problem can be an old app.

Only question, nothing special.