yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] AndroidReborn:
I'll try to explain the issue better. (maybe?)

During a call, the phone's screen turns off when we bring it close to the ear or place a hand over the top due to the proximity sensor.

Normally,this behavior is only active during calls.

So the issue here is that when a call arrives, (and we haven't picked it up or rejected it yet) the proximity sensor starts displaying this behavior hence the screen goes blank during this time if proximity sensor is covered or obstructed.

Hope I could explain it nicely.
[Nexus 4 Android Development] zephiK:
Question is... Why are you bringing your phone close to your ear or placing your hand on top of screen if you haven't answered the call yet?
[Nexus 4 Android Development] dramalicious:
CoC is so battery hungry...
[Nexus 4 Android Development] AndroidReborn:
Sometimes the phone is partially obscured by the hand while taking it out, or any of the myriad reasons.

I had the issue in the beginning, but when I figured out the cause, it hasn't bothered me much since then.

I've tested this theory of mine and its valid.
[Nexus 4 Android Development] Dor-b:
Hi,

On the 17/4 build using quanta kernel with latest play services, i have a battery drain from play services.

I know it's a known bug with custom ROM, but i saw on XDA that CM has patched this issue and i have cm rom installed on my tablet that don't have this issue.

Is there a way to fix this on AOSP?

Thanks
[Nexus 4 Android Development] zephiK:
The ROM already has SystemUpdater patched. Use BetterBatteryStats and find out which service is causing that and then use https://play.google.com/store/apps/details?id=com.franco.servicely to deny the service.
[Nexus 4 Android Development] Dor-b:
Thank you for the replay, and by deny service you mean that i will disable it?
[Nexus 4 Android Development] Dor-b:
A small question, in the banks gapps the play services that included has version 438.

When the last figure symboles the DPI, and in the 438 version ,8 mark a 480 dpi device.

shouldn't we install the correct play service version for our device? (xx6) 6 for 320 dpi

Thanks
[Nexus 4 Android Development] pertson:
Awesome ROM but is it just me or what, there's a lot of ads in 5.1, adfree doesn't seem to do anything [emoji17]

sent from Le Han Nexus
[Nexus 4 Android Development] Dor-b:
Try AdAway..
[Nexus 4 Android Development] Aaron_Knowles:
Adfree has sucked for a long time as far as I'm concerned.

AdAway is great and I've never had issues, I just update the hosts whenever there's a ROM update.

https://f-droid.org/repo/org.adaway_52.apk
[Nexus 4 Android Development] caesium2:
I flashed an older version of banks gapps and services updated automatically. Now I have version 430 which seems to be universial. So this should be fine. Could you check your version in setting - apps? But I did not encounter any problems with banks gapps.
[Nexus 4 Android Development] Dor-b:
I have installed the 436 version for our device..
[Nexus 4 Android Development] alan-31:
What kinds of ads and where do you see them?
[Nexus 4 Android Development] pertson:
In app ads, I use 3G but looked up Adaway and turns out you need to set a proxy and port to get the most out of it or I am mistaken?

sent from Le Han Nexus

---------- Post added at 10:56 AM ---------- Previous post was at 10:53 AM ----------

Funny thing is adfree have always been awesome for me, updated a few days ago to chroma 5.1 and there's just ads all over the place in some apps, I can deal with ads in browsers but not apps [emoji31]

sent from Le Han Nexus
[Nexus 4 Android Development] hamma:
I never set anything in adaway and it works.
[Nexus 4 Android Development] pertson:
Giving AdAway a shot now

sent from Le Han Nexus
[Nexus 4 Android Development] Spike`:
zephiK i also have this issue on build 17, didn't try yet on 21 but on previous was fine

when this happens normally for me as the phone rings, you pick up the phone and when i am going to click on answer button with only my finger going there the screen goes black and have to take away the finger and the screen lights up and usually on the second time i go to click the answer button the issue doesn't occur, so is a issue with proximity sensor

also using Wakelock Detector i have alot of awake %, right now around 16% and almost all of it its due to ProximitySensorManager.

so maybe a setting somewhere or a gapps problem?
[Nexus 4 Android Development] hk.happy:
Awesome work there, specially the status bar mods....runs like a charm.... On the latest version 21-4..... Just one problem.... Im having latest version of whatsapp 2.12.45, from apkmirror.com....the settings page there shows only icons and no text.... Is this problem faced by someone else too ?

Edit :Just now installed v2.12.50 from whatsapp.com/android, still no change
[Nexus 4 Android Development] readon1:
Can someone confirm? If you enable battery saver and then turn the screen off and after that turn the screen on, the phone becomes unresponsive (waking up takes a longer time). In my case also the wallpaper resets.
[Nexus 4 Android Development] Dor-b:
It shows text, just in a very light font.

You should try and remove the whatsapp apk from Overlays folder, this rom has timberwolf Layers theme pre-installed.
[Nexus 4 Android Development] patil.ketan:
I can confirm, I reported this on earlier build as well: http://xdaforums.com/showpost.php?p=60187935&postcount=1189

But not really a show stopper so I did not nag again :)
[Nexus 4 Android Development] elliot2112:
Second time my power button becomes unresponsive. Happend on 4/17 switched to another ROM then came back for 4/21 and it happened again. Only way to fix it is plug it to charger then charging screen shows even though I'm at 90% or so. Then it will let me reboot. WTF!?!?
[Nexus 4 Android Development] danielcepa:
Erm

Have to chime in, according to this thread the ROM is buggy as hell ... but it is not :D

Clean flashed, semaphore kernel. No freezes, reboots, dark screens, lockups, you name it.

Awesome job zephiK !
[Nexus 4 Android Development] Aaron_Knowles:
Vocal minority. People with problems will speak up, the majority who have everything working don't need to say anything. Sure praise is nice, but if everyone without a problem said so, the thread would be filled with the same old crap like "buttery smooth1!1!1 stable!1!!1 perfext1!1!!1 Daily driver!1!1!1" etc. So a simple thumbs up/rating generally suffices. Though its nice to let zephik know if everything is working, since he'll occasionally build without personally testing.
[Nexus 4 Android Development] gtanner00:
Got anybody having the proximity sensor screen off problem. Try this.

Go to Settings - - Display and uncheck "Prevent accidental wake up."
[Nexus 4 Android Development] zephiK:
Use ad away as others have suggested

Also be sure to white list

*.viglink.com otherwise links in Tapatalk won't go work.

You'll have to re apply the host and reboot.

Turn ambient display off.

I don't know how some people have problems, if they just flash the rom with the instructions I've indicated without being too fancy. Everything works.

Isn't it off by default too? Or do I need to re check.
[Nexus 4 Android Development] gtanner00:
Both accidental wakeup and active display were enabled by default for me.
[Nexus 4 Android Development] zephiK:
They should be off by default, I'll have another look and be sure of it for next build.

No reason for ambient display to be on especially on a nexus 4 when n4 doesn't have super amoled
[Nexus 4 Android Development] gtanner00:
Yeah. That's the one I always have to turn off. Surprised me. Now the proximity sensor check as well..
[Nexus 4 Android Development] zephiK:
Thanks for bringing it to my attention, syko started the device specific commits so I've never went back and checked what he already did, and I'm blind building.

It'll be off the next build. Sorry about that.
[Nexus 4 Android Development] saliharda:
Very very battery performance, thamks
[Nexus 4 Android Development] Raiden350:
But there currently is an xposed framework that works with 5.1 : http://xdaforums.com/xposed/super-alpha-posted-permission-xposed-t3072979
[Nexus 4 Android Development] zephiK:
He said "official". That is a unofficial port.
[Nexus 4 Android Development] johnmain:
The last 2 builds have not been using Franco's Kernel.

What is the process for using Franco? There was some mention a ways back about running a script to modify the Ram Disk.

How would I do that and where about's is the script?

I really like Franco's Kernel and didn't have any issues with it in the builds that included it.

Also do we really need to run the Script or will just installing Franco work?
[Nexus 4 Android Development] zephiK:
If you want Franco Kernel, just flash Franco Kernel and then flash the retain zip afterwards.

I didn't include Franco Kernel yet because

1. I'm lazy and Syko is supposed to embed all the ramdisk stuff over :p

2. Franco Kernel breaks the camera for some.
[Nexus 4 Android Development] johnmain:
Thanks. So I too have the camera fc issue. I rarely use my camera so not a huge deal. I did post in the Franco forum though about it.

---------- Post added at 01:00 PM ---------- Previous post was at 12:31 PM ----------

Giving semaphore kernel a try. It works with the camera.

Any semaphore users here that can give some config this for battery life but still remains smooth?
[Nexus 4 Android Development] hk.happy:
I checked out the /vendor/overlay folder..... There are a lot of apk files in it but none called whatsapp.... Which one should i remove ??
[Nexus 4 Android Development] HdSht:
If you read Semaphore's changelog you'll see patches about the camera so yes it works because of that, second if you're interested in Semaphore's features I think it would be best to post directly on its thread(better support for you)..and third, since I'm here, if you look again to Semaphore's changelog you'll see that few versions back stratosk did apply some changes which made the kernel more conservative without sensible lose of usability(so yes, it's smooth as ever). So the kernel ships already with the best battery\performance settings. The only things you should change are gamma/dt2w/uv/uc etc etc ;).
[Nexus 4 Android Development] johnmain:
Thanks a bunch. I have set everything to stock on semaphore. So far nice and buttery. I should put the phone on charge since I have been futzing about all day.
[Nexus 4 Android Development] spider623:
Best solution, move to telegram, other solution check if a layer for WhatsApp is applied
[Nexus 4 Android Development] Benjamin_L:
Or textsecure which at least has trusted persons behind the project and trusted crypto. Or something else from: https://www.eff.org/de/secure-messaging-scorecard
[Nexus 4 Android Development] spider623:
Yet no one broke telegram's encryption yet
[Nexus 4 Android Development] Benjamin_L:
Doesnt mean anything. You cant break even umsecure crypto the way they present their marketing bull****: http://thoughtcrime.org/blog/telegram-crypto-challenge/
[Nexus 4 Android Development] Dor-b:
Seems like no whatsapp themed on the preinstalled version, try and install the timberwolf layer from the play store and then apply the whatsapp apk
[Nexus 4 Android Development] icu64:
I think you should just leave Franco kernel out of the rom on the nexus 4 and give us the retention zip. Seems like less work for both users and developers
[Nexus 4 Android Development] zephiK:
The retain zip is already provided.
[Nexus 4 Android Development] ferrocene:
Is it just me or are the play store icons getting larger and larger? It looks bloody ridiculous. Like 3/4" square for each icon. I get 5 apps on the screen at once.

---------- Post added at 01:34 PM ---------- Previous post was at 01:32 PM ----------

Did you turn off "prevent accidental wake up" under display settings?

I have a faulty sensor due to a replaced screen and had to disable that option in order to answer a call.
[Nexus 4 Android Development] spider623:
but not on the OP lol
[Nexus 4 Android Development] mtwow789:
Revert Layer theme to google stock?

I really like the speediness of the rom, but I dont like the layer/theme that it comes with.

The thing is, google now cards are now difficult to read because the layer makes the background dark gray.

Also, the app folder background is transparent and that makes icons overlap so it makes me hard to read.

I tried installing layer manager from play store and delete timerwolve apks but that caused boot loop.

I also tried to install new timerwolve layer/theme from playstore and that stuck me in "starting apps..." screen.

Can you help me get back this rom to be stock google layer/theme?
[Nexus 4 Android Development] xshallowgrave:
Why does my battery life drop so dramatically? Is this the end for my device? Using Chroma with Nash 22.
[Nexus 4 Android Development] Spiralzz:
More active after 9 AM. Perhaps it was wakelock(s) after that time if you weren't using your phone actively then. Either way, betterbatterystats and wakelock detector should point you in the right direction. :)
[Nexus 4 Android Development] ebsbow:
Do some CPU GPU tuning. Probably running to high.

As for layers problem. Seriously, couple of posts back..
[Nexus 4 Android Development] mtwow789:
Thank you!

I tried deleting all layers using the manager and I got back to stock theme!!

I don't know why it made me stuck in boot loop before but I am happy now.

Thank you!
[Nexus 4 Android Development] alan-31:
I'm trying this rom now. Liking it so far.

No camera app or did I miss it? I wanted to make sure the live view of the camera for both pictures and videos is smooth for both cameras and is not choppy.

My current rom is AOKP 4.4.4. They have not worked on it since 4.4.4 so I want to switch.

One thing that I really liked in AOKP is the option to provide any shortcut in the Navigation bar and even have images as buttons. So I had made a button for "screen off" and used a common "power off" icon I found from the web (example). See my attachment to see the button. Its very convenient and I use it all the time to turn off the screen.

Will it be possible to look at AOKP's code from their source code and copy that code over here so we can have a more customizable Nav bar?
[Nexus 4 Android Development] googleygoggles:
No feature requests, this is [MENTION=1978554]zephiK[/MENTION]'s ROM and he made it personally for him. He won't add any features he doesn't use/need. Otherwise his ROM would be the same as any other over feature filled ROM

Sorry... Find a different ROM if you don't like it :cool:

P.S that is the most unorganized home screen in the world! ;)
[Nexus 4 Android Development] svnhvn:
I have to agree with this, at least with latest build. Just to view 7 subscribed thread on here draining 3% of my juice (from 100%). Went off to office while hearing music from Play Music (data off) my juice drop to 85% from 97% (90 min travel time). Never happened before on previous builds. Same kernel and same settings.
[Nexus 4 Android Development] taodan:
Check the battery stat in Settings to see which app drains the most juice. In addition, wipe cache and dalvik cache in recovery could help.

---------- Post added at 09:44 PM ---------- Previous post was at 09:35 PM ----------

Try to boot your phone into recovery and wipe cache and dalvik cache. I deleted all Timberwolf apks and installed dark red layers with no problem.
[Nexus 4 Android Development] svnhvn:
The funny thing is i don't add any new apps at all. Everything's stay same. Will try wipe my cache and dalvik though.
[Nexus 4 Android Development] Sugartibbs:
svnhvn ,my first google phone, never paid attention to battery or storage on the Galaxys, just pop the back put in a new battery, external sandisk, Im begining to pay attention to draining apps.
[Nexus 4 Android Development] zephiK:
Use better battery stats to debug wakelocks.

Download it from the play store. It's also mentioned in the faq. The rom doesnt ship with aosp camera as it's outdated when compared to Google camera.
[Nexus 4 Android Development] dramalicious:
I know , logcat or didn.t happend..but i think i just had an random reboot :s
[Nexus 4 Android Development] Sugartibbs:
dont quote me, but thats not techlically a logcat, that gap could be sleep, Its hard to see the time frame, Im assuming you werent on line at the time reboots happen at the worst times, more info
[Nexus 4 Android Development] Juzman:
Flashed 0421 on my stepsons N4. Still has weird call bug, when receiving call screen lights up than instantly goes blank.

Has only happened on last two builds.
[Nexus 4 Android Development] pertson:
I think it's cause of the layers theme... check "system/vendor/overlay" if there's a WhatsApp apk there, back it up somewhere else and then delete it... reboot phone and see if it works, if it doesn't just copy the backed up apk to the overlay folder and reboot.

sent from Le Han Nexus

---------- Post added at 08:14 AM ---------- Previous post was at 08:03 AM ----------

Google services is taking a lot of battery here and causing wakelocks, any fix?

sent from Le Han Nexus
[Nexus 4 Android Development] hk.happy:
This worked, thank you !

I removed all the layers and then installed the timberwolf theme from playstore. It has a new whatsapp apk , which fixes the settings page. All well now.

Btw no random reboots or fc or proximity sensor problems for me like other people mentioning here.... The rom runs so smooth :)

---------- Post added at 01:04 PM ---------- Previous post was at 01:01 PM ----------

There was no whatsapp apk at all in that folder. I removed all the layers and installed the timberwolf theme from playstore, that sorted out everything :)
[Nexus 4 Android Development] ebsbow:
It's probably the gpu. It drains the battery very fast on high load.

Until there is an better solution I would suggest making a profile that caps it at 200mhz for normal use. Do some tweaking and see what fits your needs.
[Nexus 4 Android Development] Zinken:
I'm having problems with mobile data not working when I disconnect from a wifi. Anyone else?

I have to toggle mobile data off and on before it works. But maybe that is an issue with my carrier/apn:s and not the ROM.
[Nexus 4 Android Development] Dor-b:
Well , just clean flashed 21/4 version using stock kernel.

Play services drain won't go away..

I have disabled service for the stupid heartbeat service , and i suspect that it may have something to do with no radio signal.

Will full charge today and see how it goes over night with cellular data off.
[Nexus 4 Android Development] copecu:
I solved that by modify APN. Adding in "APN type": default,supl,mms

Greetings.
[Nexus 4 Android Development] alan-31:
I read the FAQ and searched the first post for "camera" but did not find it.

But ok, thanks I will do as you said.
[Nexus 4 Android Development] pertson:
So I think I have fixed the wakelocks from Google services.... it was from Google App and Calendar in my own case, they kept waking the device every minutes, really weird, I disabled "keep awake" option in apps ops.

sent from Le Han Nexus
[Nexus 4 Android Development] Dor-b:
Google app and calendar seems to be ok here...

I did noticed that play service keeps location running all the time..
[Nexus 4 Android Development] Zinken:
What did you have before? Because mine already says "default, supl" and I have a separate one for MMS.

I also have problems receiving MMS but I switched carrier at the same time as I flashed Chroma so I don't know what's wrong.
[Nexus 4 Android Development] copecu:
My APN is very simple, the Name and the APN url. Then I added this information and worked.

Greetings.
[Nexus 4 Android Development] s.teunissen:
language

Great rom, but how can i add another language (Dutch) to the spell checker? Just selecting Dutch doesn't do anything....
[Nexus 4 Android Development] Isham.padron:
There's no better ROM than this one. Thank you soo much!!!
[Nexus 4 Android Development] smokyhill:
Flashed the ROM. Looks good so far. Just one observation. The phone icon on dialer pad is always white. It used to be green/red combination (in Android 5.0) if I remember it right. Could it be changed to green/red combination in any way? Thanks.
[Nexus 4 Android Development] nitin.chobhe:
I think that is part of the layer. If you delete the layer, you would get the style that you need
[Nexus 4 Android Development] pertson:
Can somebody post something about their battery life and what kernel? I currently use Quanta and on 17/04 build.... currently squeezing out 4hrs+ on screen time on 3G

sent from Le Han Nexus
[Nexus 4 Android Development] kol1124:
With underclock and undervolt or some others changes ?

Or maybe stock settings ?
[Nexus 4 Android Development] bobgeneric:
I'm using AK kernel+Trickster MOD. I did overclock on my CPU to 1.7Ghz and GPU to 487Mhz.
[Nexus 4 Android Development] zephiK:
[MENTION=5044214]nitin.chobhe[/MENTION] is correct.

It's the layer, if you delete it from /system/vendor/overlay and reboot. It'll be restored to stock.
[Nexus 4 Android Development] athibanvasanth:
[MENTION=1978554]zephiK[/MENTION] : My status bar flickers when there are more than 5 notifications.

Experiencing it since last two builds. Looks a bit odd.

I tried overvolting and overclocking my kernel with no effect :(
[Nexus 4 Android Development] yaymalaga:
I'm not sure if this just happen to me but can you check guys wheter inside the bluetooth's quick menu (where you chose another device) of quicksettings is always with the switch in on?
[Nexus 4 Android Development] mir0o0:
Yes it is, I'm on 17/4
[Nexus 4 Android Development] weaselskhs:
I am not sure what problems other ppl are having but I have been using this rom since the 4/4 release and have been running Hells-Core Kernel and I have never had any reboots. This ROM is by far the best rom I have ever used and the support is the best I have ever experianced. The Dev's here really do care. I also love that it's not fat and bloated with crap you just don't need. Thanks for the Great ROM Zephix and Syko for all the hard work ya'll have done.:D :good::good:
[Nexus 4 Android Development] zephiK:
I have no idea either, people are doing way too much with their phones. I try my best to deliver the best out of the box and everybody tries to alter that by flashing other external mods or kernels. Other kernels are fine too on the N4 because this doesn't come equipped with any fancy kernel (no Franco Kernel on N4, it'll be added later).
[Nexus 4 Android Development] xshallowgrave:
Is this synced from nexus 4 factory image?
[Nexus 4 Android Development] justingriff:
Maps FC - w/logcat!

I have something different to talk about! Segue!

Was on Frank forever and recently switched to Chroma. Did a clean install, of course, but I've had issues with Google Maps app force-closing every time. I even flashed the factory image and started fresh, but I'm still having the issue. On Apr 21st build using banks' gapps-L-4-18-15. No other customization other than a hybrid modem, and I haven't changed any layers. Little help?

I'm'a try to attach a logcat... Too big. I'll post a link.

https://drive.google.com/file/d/0B7pkYYPECgWRblpCdWRUMUxJV0k/view?usp=sharing
[Nexus 4 Android Development] Gandalf:
[MENTION=1978554]zephiK[/MENTION] I don't know what you did but people just seem to like to start trouble in your threads ;) Congratulations on RD, by the way, I just noticed that user name changed from green to orange :good:

To all:

I am going to reiterate a few things:

The OP says "light off-topic discussion is OK"

This means LIGHT, not 2-4 pages worth of useless bickering.

if you have a problem with another user, take it to PM. If you can't handle it or don't have the time or effort to do that, then just simply report their post and ignore them. It really, truly is just that simple
[Nexus 4 Android Development] spider623:
I blame Frank [emoji12]
[Nexus 4 Android Development] zephiK:
What do you mean by it is sync'd from the Nexus 4 factory images? Chroma is based off AOSP and not off the factory images. If anything is to be based off the factory images, it would be the proprietary binaries (if any are missing from the original batch provided by Google).

I have no idea, it gets a bit old. And thank you :) I've obtained it a couple weeks ago actually.