yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] zadrozny91:
I would love to have 2g/3g tile and sound profile (ring vibrate tile) as well as being able to remove for example gps tile, which I don't use at all :)

Edit: battery is not charging over 99% even after all night

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Android Development] krjadejesus:
Well. Something innovative not just features coming other ROMs will do.
[Nexus 4 Android Development] karanrajpal14:
You can remove tiles by tapping the button with the 4 boxes and deselecting them
[Nexus 4 Android Development] David:D:
I once got this issue on 4.3. I was the only one getting this on the same build so that seems to be kind of random issue appearing here and then. Afaik some day it just went away.

BTW. the controls are handled by SystemUI not Keyguard. This has nothing to do with the Keyguard FC on setup wizard. With some luck it may just go away on the next flash.

[MENTION=5253388]krjadejesus[/MENTION]

Option to remove statusbar on lockscreen sounds like a good idea. But I'll now focus on fixing all those bugs.
[Nexus 4 Android Development] ermacwins:
[MENTION=5163551]David:D[/MENTION] Quick note, I notied option to have battery ring on the lock ring in lockscreen, it seems the only colour is brown, can you add option to change colour like the from the lock ring theme maybe?
[Nexus 4 Android Development] David:D:
The colour depends on the battery left. Full battery = green, empty battery = red, medium battery = yellow/brown.
[Nexus 4 Android Development] ermacwins:
Thanks, didnt know that
[Nexus 4 Android Development] zadrozny91:
com.android.systemui is draining much battery here. After first bot, I managed to go past the wizard, although it was not easy because of FC's, but at the very beginning there was one FC from KeyguardTestActivity which is a part of com.android.systemui

Screenshots attached
[Nexus 4 Android Development] David:D:
I already provided a fix for the keyguard FC issue - sometimes reading OP helps ;)

The battery drain of systemui is a known issue. It's caused by lockscreen notifications pocket mode because it uses the proximity sensor to determine whether the phone is in pocket or not. The proximity sensor of the N4 seems to be quite buggy, it drains to much battery and causes a a tick sound when listening to music. But I don't get bad battery life anyway so I guess it's ok. If it's not OK for you, disable pocket mode or completely disable lockscreen notfications.
[Nexus 4 Android Development] zadrozny91:
Thank You for a fast response, I just didn't notice the fix in OP :) as for battery drain, You are right, it stands as the 2nd drain, but still battery life is pretty nice. Turned pocket mode off, in fact I didn't need it.

Thank You for a great ROM and even better support, appreciate it :)
[Nexus 4 Android Development] gharrrrrr:
Whoops. My bad. Could have sworn I read somewhere that was part of its function. Thanks for the response and information. Cheers.
[Nexus 4 Android Development] karanrajpal14:
[MENTION=5163551]David:D[/MENTION] I found an easy way to reproduce the lock screen notifications issue. You'll have to install gravity screen for that. It's free. What you have to do is open up gravity screen and enable it and enable notification. Now in your lock screen settings disable the hide ongoing notifications setting. Now if you lock your screen you should see the gravity screen notification. Just tap it to pause it. If you try to tap again to enable it then you can. It feels like the notification is behind the lock screen or something like that. Hope this helps.
[Nexus 4 Android Development] JeanEatsWorld:
Lock screen notifications are really awesome..! Even though I think there is some kind of bug:

I disabled wake screen on new notification but sometimes, seems just randomly, the screen wakes up.

Also, with timely, if you set a countdown alarm, the screen can't just stay off, it keeps waking up during all the time the countdown is running..
[Nexus 4 Android Development] David:D:
Thanks, I could reproduce it now. And you're probably right, the notifications are kind of behind the lock screen. I have to more aggressively bring them to the front.

[MENTION=4700008]JeanEatsWorld[/MENTION]

If it wakes the screen when wake on notification is disabled, its probably because of the pocket mode. If you covered it for 5 sec and then uncover the sensor, the screen turns on.

The problem that it stays awake on some notifications when wake on notification is enabled, is that notifications get reposted when they change. So when the countdown changes, the notification gets reposted and the screen is turned on. I didn't found a way to differ between repost of notification because of a countdown or something like that is changing or because a new message was received. That's why I disabled wake on notification by default.
[Nexus 4 Android Development] chiwou:
I found an option in Gravitybox to disable the confirmation dialog on reboot, I think it would be great to integrate it too :D
[Nexus 4 Android Development] JeanEatsWorld:
But i disabled pocket mode because i know it drains Battery.. And the bug is still there..
[Nexus 4 Android Development] mousawm:
+1
[Nexus 4 Android Development] derEremit:
can't find where i can disable it.
[Nexus 4 Android Development] gharrrrrr:
Settings>security> lockscreen notifications
[Nexus 4 Android Development] C0qRouge:
[MENTION=5163551]David:D[/MENTION] I use tasker to switch the screen off if the nexus is inside my pocket. What I do is that I enabled the check only after the display turns on and also turn the check of after the display turns off. This way the sensor is not on the whole time.

Maybe this is a way to reduce battery consumption by your implementation of pocket mode.

In a addition I also disable the check after 5 seconds.
[Nexus 4 Android Development] David:D:
I'm already unregistering all listeners on keyguard unlock and register them on screen off. When screen is on, there's nothing running in the background.
[Nexus 4 Android Development] mousawm:
Can I ask you how did you do it?? I'd like to do the same too.

Ty in advance :)
[Nexus 4 Android Development] krjadejesus:
Another comment for the 12/27 build. Animation/transition for lockscreem notifications are not smooth amd fast.
[Nexus 4 Android Development] David:D:
Hmm, imo they are quite smooth and fast enough. Just the background fade animation when all notifications are hidden sometimes caused a flickering which should be fixed in the next build. Could you maybe tell me more exactly which animation you mean?
[Nexus 4 Android Development] howdid:
after using a pure aosp build im going to try this rom out because hey... im rooted so i want ADDITIONAL features ;D will report any problems / bugs :))
[Nexus 4 Android Development] C0qRouge:
[MENTION=3131647]mousawm[/MENTION] here you go

https://groups.google.com/forum/#!topic/tasker/bFggvZ2rO4Q

project is now attached....
[Nexus 4 Android Development] mousawm:
Sorry but how can I use this code ?
[Nexus 4 Android Development] C0qRouge:
mmmh I just realized that XDA killed most of the code... I gonna edit my post ... done
[Nexus 4 Android Development] howdid:
loving the rom so far!
[Nexus 4 Android Development] ermacwins:
Is this the correct CM sms commit for the notification tray?

https://github.com/CyanogenMod/andr...tree/cm-11.0/src/com/android/mms/quickmessage

initial commits:

http://review.cyanogenmod.org/#/c/22188/

http://review.cyanogenmod.org/#/c/22350/
[Nexus 4 Android Development] David:D:
Thanks, that looks good. I just found this one: https://github.com/KitKatPurity/pla...mmit/25aa337741de3af2381931fe5d57622c8fb35e14 but it seems to be taken from CM and the frameworks part is missing so yours is better :D

I'll try to cherry-pick it now.
[Nexus 4 Android Development] David:D:
New build is up: http://d-h.st/AzR

Changelog:

January 03rd, 2014 | PA 4.0 BETA

Bug Fixes:

AppOps: fix misaligned switches

Lockscreen Notifications:

Fix NPE on setup wizard after clean flash

fix notifications sometimes not responding (e.g. gravity screen notification)

fix screen staying awake when "Wake on notifications" is enabled and a countdown or download is running

Features:

Lockscreen Notifications:

Add option to change the offset to the top of the screen

Add privacy mode which disables showing the notification content. Just the icon is visible when enabled

Make notification width dynamic to save screen space

Add quick reply to SMS app (Credits to CM)

Add CM performance settings

Add NFC and ADB over network tile

Make tile spans in landscape mode more dynamic - before the first row always contained just 3 tiles. Now, before adding a new row, the first row is made to a 6 tile row.
[Nexus 4 Android Development] klanistok:
Thank you for the update, i love this rom.

R
[Nexus 4 Android Development] PedroBustamonte:
Hi,

is it somehow possible to overwrite the quick settings behavior? With an xposed module perhaps? I'm just asking because I'd like to use this rom but I'm just missing a few quick tiles like the ringer mode one.

Thanks in advance.
[Nexus 4 Android Development] mathhqs:
Have an way to you put the theme manager like in CM/AOKP/PA? And I think this is freshness but I like the notifications counter from CM and would be nice have this
[Nexus 4 Android Development] TheMrcool212:
PA are currently working for it. They said that they will not use the one from tmobiles like on other ROMs, and their implementation will be different.

Sent from my Nexus 7 2013
[Nexus 4 Android Development] mathhqs:
Wow, nice! Thanks for your reply
[Nexus 4 Android Development] David:D:
I don't know exactly what is possible with XPosed modules. There's a function in QuickSettings.java called "addTiles". If it were possible to hook it with XPosed, it may be possible to add additional tiles. But that would probably interfere with the edit mode PA added and could lead to SystemUI force closes when changing the tile layout. Another method would be to hook "addTemporaryTiles" and add the tile as "temporary". Then it wouldn't be possible to move it or disable it using the PA edit mode but it would probably cause less problems.

But I never wrote XPosed modules so I don't really know how they work. If anybody would like to give it a try I'd do my very best to help him.
[Nexus 4 Android Development] ermacwins:
[MENTION=5163551]David:D[/MENTION] I take it the CM sms options from notification shade is working?

What are the chances of having the new CM toggles in the notification shade?
[Nexus 4 Android Development] David:D:
At least as I got a SMS I got a popup from the SMS app to write a quick reply so I think the CM sms options are working.

About what toggles are you talking? I'm not that up to date regarding CM development...
[Nexus 4 Android Development] krjadejesus:
The prompt for expanded mode still persists. Lockscreen notifications are still not consistent some of the time screen is not turning on. And please add just a percentage indicator for the battery. I am not sure if you are not seeing this but the circular battery is not really relevant to the design of the system. Those are my comments. Thanks. Keep up the good work. :)
[Nexus 4 Android Development] PedroBustamonte:
I have really no idea when it comes to such things. I just wanted to see if somebody has already heard of a way.

I guess I'll just wait and see if the PA guys will add additional tiles. :D

Nonetheless pretty nice ROM you got here. The lockscreen notification feature is pretty neat!
[Nexus 4 Android Development] David:D:
Sorry, but I don't know what you mean by "the prompt for expanded mode still persists".

Your lockscreen notifications problem (screen not turning on sometimes) is very difficult to fix and to debug.

One problem is, that it is difficult to differ between a notification reposted because you received a 2nd message or because a download made some progress. I told it not to turn the screen on when the notification reposted is marked as onoing. That way I'm filtering downloads and such.

Another is, that this is very difficult to debug. Everytime I change something I have to wait until I got two messages etc. I hope that is no dealbreaker for you.

The battery percentage indicator were removed by PA because it had some bugs. Maybe they'll readd it. If not, we probably have to take care about that.
[Nexus 4 Android Development] Anu6is:
Actually, the percentage isn't buggy but the black doesn't show that well on top of of the grey when the battery is low and white doesn't show well on white (even with a shadow added). It was removed until we find a better implementation but no-one has had to time to look at it.

I just commented out the lines that show the option in the sub-menu, all the configs should still be there.

The current implementation should be black for the 50% and above, white for under 50%
[Nexus 4 Android Development] chiwou:
is there a reason why the app "Sms Tester" is included? is there a known issue, I'm asking because my father tried to send a SMS but I didn't get it, otherwise it seemed fine.

So now I'm a little worried.

thanks and take care
[Nexus 4 Android Development] David:D:
Oops, sorry for that. It's because I tested whether my cherry-pick of the quick reply compiled by just compiling the mms package. But that copied the sms tester as well. I'll remove it from the zip and reupload. Receiving sms works fine for me, so it maybe was a provider issue.

[MENTION=4196559]Anu6is[/MENTION]

Thanks for the information.
[Nexus 4 Android Development] chiwou:
puuhhh :D okay then I just remove it
[Nexus 4 Android Development] ermacwins:
It also shows read and call, all three? See screenshot

These toggles in the same screenshot
[Nexus 4 Android Development] David:D:
Yes, it shows exactly these three buttons.
[Nexus 4 Android Development] zadrozny91:
Wifi tethering doesn't work for me, don't know if it is PA's or AOSPAL'S issue. Also with latest hellscore b43 kernel screen doesnt sometimes turn on after reboot and phone reboots again. Can You recommend me a good kernel for this ROM?

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Android Development] ermacwins:
And can you add those cm toggles? I think I have the right commits
[Nexus 4 Android Development] David:D:
WiFi tethering works fine for me. I'll flash hells core now to see whether I can reproduce the issue.

I personally recommend stock respectively the included one (it's very near to stock, just with kexec hardboot and some gcc 4.8 fixes) because out of my experience it offers best battery life/performance.
[Nexus 4 Android Development] un.droid:
fantastic rom. thanks david
[Nexus 4 Android Development] zadrozny91:
In google drive, the bar on the top when refreshing is barely visible. I'm on 15th dec pa stock gapps, but on other roms it was normal

Wysłane z mojego Nexus 4 przy użyciu Tapatalka
[Nexus 4 Android Development] ermacwins:
David:D sorry to keep on pertering you but didnt get an answer, can you add the CM toggles in the notification shade? Its in the screenshot
[Nexus 4 Android Development] un.droid:
really loving this rom. it has all the features i was lookin in a rom. sometimes it feels like the phone is waking when i touch the screen accidentally. anyone witnessed this?
[Nexus 4 Android Development] David:D:
Sorry, but we decided not to add it. We think it's enough to have quick settings so the cm toggles are unnecessary.

Maybe you have a kernel with double tap to wake activated? Or you're triggering pocket mode by hiding the proximity sensor for more than 5sec and then uncovering it.

Could you post a screenshot?
[Nexus 4 Android Development] ermacwins:
Nooooo lol. Well the way it is implemented in cm is that it can enabled or disabled.
[Nexus 4 Android Development] un.droid:
thanks for the answer. i just checked, its the "pocket mode" kicking in. anyway to deactivate this? searched thru the options and could not find anything related to pocket mode.

edit

found it under security. thanks!!!
[Nexus 4 Android Development] howdid:
since the last update i have the problem that my lockscreen notification just show the half screen ( when i pull them from right to left to view the message it just goes half the display not all the display lenght like on previous release )
[Nexus 4 Android Development] David:D:
It's no bug - it's a feature. I made the width dynamic so that the notifications are just as width as needed to show the whole content.
[Nexus 4 Android Development] Anu6is:
"It's not a bug, it's a feature"

#1 Programmer response.

Just kidding :) .. couldn't resist
[Nexus 4 Android Development] David:D:
It's even in the changelog:

:D
[Nexus 4 Android Development] crian:
That's nice! :D
[Nexus 4 Android Development] C0qRouge:
Use power toggles from playstore
[Nexus 4 Android Development] ermacwins:
I know of the various toggle apps from the playstore but they all lack the ability of long pressing it and taking you to that certain setting. Also they require a persistent notification to be on the status bar if not then toggles dont stay on the top continuously
[Nexus 4 Android Development] severectify:
Is there any way you could make it an option to switch it back? Personally I much preferred it when it was nice and even across the screen versus all strangely (in my eyes at least) right-aligned.
[Nexus 4 Android Development] David:D:
I already thought about disabling it on phones. I think I'll do that if you all think it's worse than before.
[Nexus 4 Android Development] PedroBustamonte:
Well, I actually like it that way. ?

sent from my toaster
[Nexus 4 Android Development] David:D:
lol then I should maybe add it as an option. Only problem is, that this slowly gets overloaded with settings. Any other opinions on that (should the lockscreen notifications width be dynamic or not)?
[Nexus 4 Android Development] howdid:
I like the old way because it's also more visually better looking

Sent from my sexy white Mako running Vanir Rom by MBQ
[Nexus 4 Android Development] ermacwins:
Is there a screenshot of the before and after lockscreen notification?
[Nexus 4 Android Development] xain713:
I don't mind it either way dynamic or not
[Nexus 4 Android Development] manulemaboul:
The non dynamic width looked better IMHO.

Envoyé de mon Nexus 4 en utilisant Tapatalk
[Nexus 4 Android Development] crian:
[MENTION=5373198]David[/MENTION]: can you add omni performance settings instead of the cm one?
[Nexus 4 Android Development] -Jesco-:
curious , whats the difference between both ?
[Nexus 4 Android Development] TheMrcool212:
It's different than CM. The Omni's version is modified AOKP's Performance Control. It has more features than what we can found in CM. I've tried to port Omni's in the first time. But somehow I had some difficulties with it. So I ported CM version, because it's easier. I'll look forward to bring it again.

Sent from my Nexus 7 2013
[Nexus 4 Android Development] antebr:
[MENTION=5373198]David[/MENTION]: can you add Navigation Bar - Dimensions?

Thanks
[Nexus 4 Android Development] ermacwins:
Is there another build coming anytime soon? I think this will be my permanent rom
[Nexus 4 Android Development] TheMrcool212:
I just ported the PerformanceControl from Omnirom. But somehow I can't get it to work, when I select the option, the Performance Control crashes. Other than that, there's a bug where the recents doesn't update on the last app that were used. While david, he has been busy.

Sent from my Nexus 7 2013
[Nexus 4 Android Development] David:D:
I'm waiting for PA to finish hybrid settings, I guess it will include the navigation bar setting again. Maybe I'll add a basic height setting anyway and remove it when they're done.

As MrCool said, I'm a bit busy atm because I have to learn for my driving license and tomorrow school starts again, but I'll do my best to make a new build asap.
[Nexus 4 Android Development] Ishtakh:
Quick question, if I build from your source, will it have latest PA changes ? I usually run my own PA Weeklies, i'd like to do the same with this rom :D
[Nexus 4 Android Development] David:D:
We're always trying to keep our repos up to date with PA, so normally, it has the latest PA changes.
[Nexus 4 Android Development] Ishtakh:
Great, let sync & build =)
[Nexus 4 Android Development] ermacwins:
Can you cherry pick Halo? I see other roms doing it and its working fine
[Nexus 4 Android Development] David:D:
It's not really working fine: "Bug - Clicking on the back button(Hardware or Action Bar) or clink on any button in an app opens a new full screen window instead of a new HALO window." (from their gerrit)

This bug still exists and I would like to wait until PA finished it.
[Nexus 4 Android Development] ComaWhite:
Is it possible to bring on the homescreen the lockscreen notification.? I find that simply brilliant...
[Nexus 4 Android Development] David:D:
This would be quite difficult. There would be 2 options:

1. rewrite lockscreen notifications to work as system overlay so it can be used over every app. That could be difficult because I had to make sure that it doesn't consume all touch events.

2. integrate it into one specific launcher. That is probably not that difficult, but I need the source and it will just work with this specific launcher.

I think both probably isn't worth it because I think that most people just won't use it.
[Nexus 4 Android Development] un.droid:
thanks [MENTION=5163551]David:D[/MENTION], first donation on the way ;)

~alex
[Nexus 4 Android Development] David:D:
New build:

Download: http://d-h.st/Pqs

Features:

Lockscreen Notifications:

Disable dynamic width again (on devices < xxhdpi, including Nexus 4)

Add OmniRom performance settings

QuickSettings ADB over network tile now have to be enabled via developer settings and got a new icon - thanks [MENTION=4106601]SchmeeForce[/MENTION]

Option to only hide nav/statusbar in immersive mode (credits to CM)- to cycle between nav/status bar hidden longpress immersive tile

Option to change navigation bar height - if you're using a pie app set navigation bar height to 0% to disable it

Bring back the old network indicators (credits to CM)

Option for reversed default app picker - if enabled instead of the last used app the last used option (always/just once) is marked

Option to hide USB-Debugging notifications
[Nexus 4 Android Development] C0qRouge:
Awesome!
[Nexus 4 Android Development] crian:
Really nice update. Thank you for your amazing work!
[Nexus 4 Android Development] ermacwins:
Fair enough but didnt notice this behaviour in crDroid. Also seems Halo is getting few more touches http://xdaforums.com/showpost.php?p=49170796&postcount=165

Thanks for the rom update
[Nexus 4 Android Development] PedroBustamonte:
Hi,

could someone please test if the share menu works in Chrome on the latest release? Everytime I want to share a website it force closes. I can't imagine that it's a problem with the rom but it's the only thing I changed.

Thanks

Edit: I tested with a few other apps and all of them are force closing when trying to share. Perhaps a derp with the new option for reversed default app picker? Can anybody confirm?

sent from my toaster
[Nexus 4 Android Development] strapped365:
My chrome FC as well when I select share.... But in the whole time I've had my nexus, I've never used that option. And I've been rocking it since last February.

David is starting school back and has some driving lessons so it looks like he will build when he gets time unless another Team AOSPAL member will compile for us... it's wishful thinking.