[Nexus Player Original Android Development] zulu99:
Threre are some strange problems in the 5.1 firmware that i'm working on.

The firmware compile well and boot up without problems, but i have a big problem.

99% of times when i try to login in google play, I have an error that come from

com.google.android.gms.ui (com.google.android.gms/.auth.login.BrowserActivity)

E/ActivityManager( 530): ANR in com.google.android.gms.ui (com.google.android.g

ms/.auth.login.BrowserActivity)

E/ActivityManager( 530): PID: 6993

E/ActivityManager( 530): Reason: Input dispatching timed out (Waiting because t

he touched window's input channel is full. Outbound queue length: 1. Wait queu

e length: 52.)

E/ActivityManager( 530): Load: 4.17 / 3.17 / 1.76

E/ActivityManager( 530): CPU usage from 12968ms to 0ms ago:

E/ActivityManager( 530): 11% 6993/com.google.android.gms.ui: 7.7% user + 3.3%

kernel / faults: 417 minor 4 major

E/ActivityManager( 530): 6.9% 4121/mediaserver: 0% user + 6.9% kernel / fault

s: 2 minor

E/ActivityManager( 530): 3.3% 137/kdfrgx: 0% user + 3.3% kernel

E/ActivityManager( 530): 3.1% 161/surfaceflinger: 1.6% user + 1.4% kernel / f

aults: 3 minor

E/ActivityManager( 530): 1.9% 530/system_server: 1.3% user + 0.6% kernel / fa

ults: 129 minor 5 major

E/ActivityManager( 530): 0.4% 6/kworker/u8:0: 0% user + 0.4% kernel

E/ActivityManager( 530): 0.4% 7302/kworker/u8:6: 0% user + 0.4% kernel

E/ActivityManager( 530): 0.3% 66/ksmd: 0% user + 0.3% kernel

E/ActivityManager( 530): 0.3% 119/dhd_dpc: 0% user + 0.3% kernel

E/ActivityManager( 530): 0.2% 116/kworker/u8:2: 0% user + 0.2% kernel

E/ActivityManager( 530): 0.1% 8/rcu_preempt: 0% user + 0.1% kernel

E/ActivityManager( 530): 0.1% 3498/com.android.systemui: 0% user + 0% kernel

E/ActivityManager( 530): 0.1% 3688/wpa_supplicant: 0% user + 0.1% kernel

E/ActivityManager( 530): 0.1% 3726/com.android.inputmethod.latin: 0.1% user +

0% kernel / faults: 588 minor

E/ActivityManager( 530): 0.1% 6938/su: 0% user + 0.1% kernel

E/ActivityManager( 530): 0.1% 6983/kworker/u8:5: 0% user + 0.1% kernel

E/ActivityManager( 530): 0% 3/ksoftirqd/0: 0% user + 0% kernel

E/ActivityManager( 530): 0% 18/migration/2: 0% user + 0% kernel

E/ActivityManager( 530): 0% 19/ksoftirqd/2: 0% user + 0% kernel

E/ActivityManager( 530): 0% 36/cfinteractive: 0% user + 0% kernel

E/ActivityManager( 530): 0% 117/wl_event_handle: 0% user + 0% kernel

E/ActivityManager( 530): 0% 118/dhd_watchdog_th: 0% user + 0% kernel

E/ActivityManager( 530): 0% 6271/adbd: 0% user + 0% kernel

E/ActivityManager( 530): 0% 6941/daemonsu:0:6938: 0% user + 0% kernel

E/ActivityManager( 530): 0% 6958/logcat: 0% user + 0% kernel

E/ActivityManager( 530): 0% 6960/kworker/0:1: 0% user + 0% kernel

E/ActivityManager( 530): 9.8% TOTAL: 3.8% user + 5.7% kernel + 0% iowait + 0.2%

softirq

E/ActivityManager( 530): CPU usage from 2401ms to 2916ms later:

E/ActivityManager( 530): 2.9% 137/kdfrgx: 0% user + 2.9% kernel

E/ActivityManager( 530): 3.8% 530/system_server: 0% user + 3.8% kernel

E/ActivityManager( 530): 3.8% 564/ActivityManager: 0% user + 3.8% kernel

E/ActivityManager( 530): 1.4% 66/ksmd: 0% user + 1.4% kernel

E/ActivityManager( 530): 1.4% 161/surfaceflinger: 1.4% user + 0% kernel

E/ActivityManager( 530): 1.6% 6993/com.google.android.gms.ui: 1.6% user + 0%

kernel

E/ActivityManager( 530): 1.9% TOTAL: 0% user + 1.9% kernel

W/ActivityManager( 530): Force finishing activity 1 com.google.android.gms/.a

uth.login.BrowserActivity

I/ActivityManager( 530): Killing 6993:com.google.android.gms.ui/u0a7 (adj 0): u

ser request after error

W/InputDispatcher( 530): channel '3381f852 com.google.android.gms/com.google.an

droid.gms.auth.login.BrowserActivity (server)' ~ Consumer closed input channel o

r an error occurred. events=0xd

E/InputDispatcher( 530): channel '3381f852 com.google.android.gms/com.google.an

droid.gms.auth.login.BrowserActivity (server)' ~ Channel is unrecoverably broken

and will be disposed!

W/InputDispatcher( 530): channel '2f069854 com.google.android.gms/com.google.an

droid.gms.auth.gsf.AccountIntroActivity (server)' ~ Consumer closed input channe

l or an error occurred. events=0x9

E/InputDispatcher( 530): channel '2f069854 com.google.android.gms/com.google.an

droid.gms.auth.gsf.AccountIntroActivity (server)' ~ Channel is unrecoverably bro

ken and will be disposed!

I/WindowState( 530): WIN DEATH: Window{2f069854 u0 com.google.android.gms/com.g

oogle.android.gms.auth.gsf.AccountIntroActivity}

W/InputDispatcher( 530): Attempted to unregister already unregistered input cha

nnel '2f069854 com.google.android.gms/com.google.android.gms.auth.gsf.AccountInt

roActivity (server)'

I/InputDispatcher( 530): Dropping event because there is no touchable window at

(1664, 850).

I/InputDispatcher( 530): Dropping event because there is no touchable window at

(1660, 849).

Also chromecast functionality seem are not working, i can see the Nexus Player but when i cast nothing happen, i tested also the last app version.

In the rare case, when i can log in in google play, the firmware work well but only chromecast functionality not work.

What i like of the new 5.1 firmware is the restored ability to put the device in mute mode, tested also with droidmote mute button.

Apart the mute functionality, the firmware 5.0.2 for now is the best .

I will work on this problems and try to solve, but is not so simple because the google play services is closed source app from google.

p.s.

i installed the last versions of all google packages. but also with previous versions i can't login in google play cause the error above.