[ROM][AOSP][LolliRock][v.2.1]

Status
Not open for further replies.

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
0
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.
 
Last edited:
  • Like
Reactions: drilus

npjohnson

Senior Member
May 3, 2014
1,451
2,035
143
St. Augustine, FL
someone has already tried if Xposed running?
No custom Recovery for he NP yet, so nope, and you can't move the files in place while the system is booted.

---------- Post added at 07:20 PM ---------- Previous post was at 07:16 PM ----------

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.
Huh. These seem odd. Strange question, but does your router run at 2.4 GHZ, or 5 GHZ? And does it use b. g, a, or n frequency? I had to disable all but the a frequency to get Google services to work for me, as the "n" standard that my router gives has serious issues with SSL and therefore Google logins.

Another question, would you be willing to share the vendor and device tree files you use to build AOSP? I'd like to see if we can start CM nightlife for this device.
 
  • Like
Reactions: roebling

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
0
Huh. These seem odd. Strange question, but does your router run at 2.4 GHZ, or 5 GHZ? And does it use b. g, a, or n frequency? I had to disable all but the a frequency to get Google services to work for me, as the "n" standard that my router gives has serious issues with SSL and therefore Google logins.

Another question, would you be willing to share the vendor and device tree files you use to build AOSP? I'd like to see if we can start CM nightlife for this device.
On official Lollirock 1.5 firmware android 5.0.2 all work well with my router.

The problem came from the fact that the new 5.1 firmware have inside something that not permit the nexus player to complete well the first boot and not send BOOT_COMPLETED well every time the device boot. Infact i have problems also with all apps that rely on boot complete, like my droidmote or also chromecast media shell.

I'm looking at this file https://android.googlesource.com/pl...android/server/am/ActivityManagerService.java in the method final void finishBooting() {
at line 6149 that was changed in 5.1

i will share the device tree, but i want also update the google apps inside. i will share as rar package because i not have time to maintain a github. so also others developers can work on it. i already tested cyanogenmod and it compile and boot.

i will upload the device tree + vendor folder working version that is inside the 5.0.2 firmware.
 
Last edited:
  • Like
Reactions: jocarog

danigraham

Senior Member
Jun 23, 2013
349
277
0
Texas
Is loss of sound randomly in apps because of the Nexus Player remote? (As I read in the OP) Seems to happen to us in Kodi more often than not, does anyone know why the remote would cause audio to cease existence? ?

New to the thread, thanks for Lollirock!!
 

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
0
Another question, would you be willing to share the vendor and device tree files you use to build AOSP? I'd like to see if we can start CM nightlife for this device.
Lollirock 5.0.2 device tree + vendor folder. Useful to compile your firmware or build a cyanogenmod.

Read the file note.txt inside fugu folder after compilation.

If you use this package not forget to mention me.

http://goo.gl/cVWmwB
 
Last edited:
  • Like
Reactions: jocarog

ruZZ.il

Member
Jan 30, 2010
47
9
0
Kudos on the device/vendor work.

We also had to do some work with libaudio. You did a thorough job :good::) . Google did some annoying hacks. They seem to have gone out of their way for the Nexus Player to have limited functionality.

kudo++ on the camera work.

I notice in your notes you state what to add to default.prop. Those can be added to ADDITIONAL_DEFAULT_PROPERTIES in your BoardConfig.mk
 
  • Like
Reactions: zulu99

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
0
For information, for note and future development. Today 15.03.2015

On Android 5.0.2 - LolliRock 1.5 i updated all Google apps from Google Play.

I updated manually Google Play Services to last version 7.0.96 (1785884-470 from here http://www.apkmirror.com/apk/google...ices-7-0-96-1785884-470-android-apk-download/

I updated manually Google Cast Receiver to last version 1.12.28389 from here http://www.apkmirror.com/apk/google...ast-receiver-1-12-28389-android-apk-download/

All work well.

What this mean ?

That new Google apps not block chromecast functionality. But despite this in Android 5.1 that i'm testing, chromecast not work with the same google apps. Maybe there are some problems on android 5.1 for now, because the problems are also others. Can be also possible that are related to closed binary. I'm testing, but not relevant error from logcat help me to understand.
I see strange behaviour of wifi and block of the ui when i try to login to google play. Some time instead i can login in google play but i must correct the wifi behaviour that does not connect early to the router when the device boot.
 
Last edited:
  • Like
Reactions: lordodin912

npjohnson

Senior Member
May 3, 2014
1,451
2,035
143
St. Augustine, FL
For information, for note and future development. Today 15.03.2015

On Android 5.0.2 - LolliRock 1.5 i updated all Google apps from Google Play.

I updated manually Google Play Services to last version 7.0.96 (1785884-470 from here http://www.apkmirror.com/apk/google...ices-7-0-96-1785884-470-android-apk-download/

I updated manually Google Cast Receiver to last version 1.12.28389 from here http://www.apkmirror.com/apk/google...ast-receiver-1-12-28389-android-apk-download/

All work well.

What this mean ?

That new Google apps not block chromecast functionality. But despite this in Android 5.1 that i'm testing, chromecast not work with the same google apps. Maybe there are some problems on android 5.1 for now, because the problems are also others. Can be also possible that are related to closed binary. I'm testing, but not relevant error from logcat help me to understand.
I see strange behaviour of wifi and block of the ui when i try to login to google play. Some time instead i can login in google play but i must correct the wifi behaviour that does not connect early to the router when the device boot.
This can definitely all be related to an old binary, as 5.1 changed alot in the modem/WiFi area. What WiFi Chipset does the NP Use? Its possible that we can just Kang a 5.1 binary from another device on 5.1.
 

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
0
This can definitely all be related to an old binary, as 5.1 changed alot in the modem/WiFi area. What WiFi Chipset does the NP Use? Its possible that we can just Kang a 5.1 binary from another device on 5.1.
bcm4354, the nexus 9 if i remember well have similar wifi module, but is connected to the board in different way. Have different configuration but some firmware files. We can investigate on this.

The wifi in 5.1 work, but create very strange problems....

I need others testers, in next days i will post the test 5.1 build, so also others can help me to understand well the problem.
 
Last edited:

bwells88

Senior Member
Apr 28, 2008
540
301
0
Port McNeill
bcm4354, the nexus 9 if i remember well have similar wifi module, but is connected to the board in different way. Have different configuration but some firmware files. We can investigate on this.

The wifi in 5.1 work, but create very strange problems....

I need others testers, in next days i will post the test 5.1 build, so also others can help me to understand well the problem.
I'll be ready and willing to test when you are ready... 8)
 

roebling

Senior Member
Jan 20, 2007
253
48
0
Eatonton Ga
I'll test it

bcm4354, the nexus 9 if i remember well have similar wifi module, but is connected to the board in different way. Have different configuration but some firmware files. We can investigate on this.

The wifi in 5.1 work, but create very strange problems....

I need others testers, in next days i will post the test 5.1 build, so also others can help me to understand well the problem.
I'll help, whenever you are ready.
Until then, I'm loving 1.5!
 

Otisrhw

Senior Member
Jan 28, 2011
72
7
0
Vermilion
bcm4354, the nexus 9 if i remember well have similar wifi module, but is connected to the board in different way. Have different configuration but some firmware files. We can investigate on this.

The wifi in 5.1 work, but create very strange problems....

I need others testers, in next days i will post the test 5.1 build, so also others can help me to understand well the problem.
I have nexus 9, 6 and player let me know if ya need something.
 

zulu99

Senior Member
Jan 6, 2009
2,348
1,482
0
As i promised in the link below the test Android 5.1 version.

This is only for advanced users and developers to understand why the login process in Google Play create problems.

Also the wifi not start fast at boot,
but to solve this bug go in Settings -> Wifi -> Advanced -> Scanning always avaiable swith to ON

Help me to understand where are the problems.

link removed because i have a new version.

UPDATE:
solved with new kernel and binary.
 
Last edited:

ruZZ.il

Member
Jan 30, 2010
47
9
0
:good::good:
I haven't got a device with me over w.end..
Will try play with it next week.

P.S
This doesn't solve the wifi scan root issue, though I see def_wifi_scan_always_available = 0 in f../b../packages/SettingsProvider/res/values/defaults.xml
You could override it in device/asus/fugu/overlay.. (Or, do it once manually..)

Not sure of the implications of always available. Shouldn't be a problem as long as it's not hopping around wifi channels scanning while already connected to an AP.



As i promised in the link below the test Android 5.1 version.

This is only for advanced users and developers to understand why the login process in Google Play create problems.

Also the wifi not start fast at first boot,
but to solve this bug go in Settings -> Wifi -> Advanced -> Scanning always avaiable swith to ON

Help me to understand where are the problems.

http://goo.gl/zeBsZ4
 
  • Like
Reactions: zulu99
Status
Not open for further replies.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone