yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] jer_ying_fd:
I've got battery optimisation not working (sometimes or I dunno what really happened but battery dropped like it would in lollipop) but not device manager not locating

Edit: Before, there was a setting in battery that says "battery optimisation" but now there's none, is it one of the debug stuff like miscellaneous or not?
[Nexus 4 Android Development] sykopompos:
Well there is the fix for that wakelock from using the flashlight ?
[Nexus 4 Android Development] g33k0 b3lk0w:
Cant get rid of AndroidOSand Android System draining my battery, better battery stats shows no partial wakelocks, any help, I'm on 15-10 build
[Nexus 4 Android Development] yochananmarqos:
It's under the 3 dot menu where it's always been.
[Nexus 4 Android Development] jer_ying_fd:
Oh I didn't mean that one, I actually meant how it would be listed as one of the battery consumption processes with a percentage next to it, but just now from looking at screenshot, it does seem to be just a debugging thing.
[Nexus 4 Android Development] Lijop:
Must be gapps. Device manager can't locate the phone.
[Nexus 4 Android Development] knm1574:
Do you include this patch in the next build sykopompos
[Nexus 4 Android Development] bokagavrilov:
Im having some strange behavior with the power button, i cant take a screenshot or get to the advanced boot method , seems like it cant detect when its being long pressed , after a reboot it works as it should
[Nexus 4 Android Development] tomekrk92:
It happened to me several times, even on a lollipop roms. For me there is another strange behaviour- sometimes a single press of power button is 'interpreted' as a double press (when you turn off the screen with power button, after a short time it turns on again).
[Nexus 4 Android Development] bokagavrilov:
Sure but i could always take screenshots using the power button, now i couldn't , maybe it has something to do with the volume wake up idk just my 2 cents
[Nexus 4 Android Development] Pappe18:
Hey guys, any ideas of how to get Google dialer working?

I got the apk, installed it but no luck even if I disable the integrated AOSP dialer. Do you think I have to replace the dialer's apk in /sistem/priv-app with google's one?

BTW, great work [MENTION=1050103]sykopompos[/MENTION] <3
[Nexus 4 Android Development] ckret:
already tried multiple times but still getting this errors

are you using a different toolchain?
[Nexus 4 Android Development] Lijop:
I can confirm optimization not working in settings. As soon as you put apps into optimization and then goes back to that option it is showing no apps are optimized.
[Nexus 4 Android Development] Thanaya:
Yup, i have the exact same problem. I tried adding additional libs, framework, etc from cataclysm, but no luck. :(

Sent from my Nexus 4
[Nexus 4 Android Development] H84:
I flashed The latest rom and have big battery drain havent touch The phone after unplugged and know 5hours later it is down to 45% in batteri settings it shows that phone is always active? :)

Skickat från min Nexus 4 via Tapatalk
[Nexus 4 Android Development] dragos281993:
Try to see what's causing the wakelock, cause there are many things that could cause it. I suggest "better battery stats"
[Nexus 4 Android Development] LoadGamePL:
You have Wi-Fi enabled non-stop. Turn off Wi-Fi and bluetooth scanning in settings.
[Nexus 4 Android Development] googleygoggles:
In addition to that, your cell signal is very spotty. This causes your phone to constantly look for a better signal even if it's in the same place. Drains a lot.
[Nexus 4 Android Development] adstraylight:
All apps are optimised by default, at least they are on my phone...you're talking about battery optimisation right?

The list that says 'no apps' is for apps that you've specifically told

not

to be optimised, not the other way around.

The language used in the setting is very clunky ie. No Apps are Not Optimised, a double negative that means All Apps ARE Optimised.
[Nexus 4 Android Development] sykopompos:
Next build won't be till next week since I'll be out of state this weekend

Nope, stock toochain and Branden M built frank last night with no problem.

Are you pulling the right manifest? It is -b mallow
[Nexus 4 Android Development] VirtualMontage:
I'm currently running update 1 (prior to 10-11-2015 update), is a clean flash recommended in order to update to the latest build?
[Nexus 4 Android Development] yuvalrozin:
Has the fix for the flashlight bug been implemented in this rom yet?
[Nexus 4 Android Development] googleygoggles:
Yes

Not yet I think
[Nexus 4 Android Development] M@rs:
No, it will be in the next build, next week think.
[Nexus 4 Android Development] ckret:
yep pulled right manifest

even tried repo sync --force-sync

tried lunch full_mako-user and lunch aosp_mako-user

full_mako-userdebug and aosp_mako-userdebug

._. i dont know anymore, never had problems with aosp sources
[Nexus 4 Android Development] sykopompos:
Either have I but I run everything through my vendor (saves me from having to add things to each device tree) so you could do frank_mako-userdebug
[Nexus 4 Android Development] Wassupdog:
I flashed the new version, and I got few question:

1.Why everytime I flash an update, it deletes my Gapps?

2.Why everytime I flash the Gapps, The setup wizard force closes?

3.how can I fix this SW force close?

Thanks in advance!
[Nexus 4 Android Development] daivee:
Please search and read back some pages. Has been discussed way too many times.
[Nexus 4 Android Development] t181:
Turn off wifi and Bluetooth scanning. Go to settings and type "scanning".
[Nexus 4 Android Development] sidnoit22:
Nah man it failed, do you still have that Android 7.0 sources I gave you?
[Nexus 4 Android Development] sykopompos:
Nope, I sold them to a knockoff company
[Nexus 4 Android Development] sykopompos:
It is in the three dot menu in location as of the last build too
[Nexus 4 Android Development] H84:
Either Bluetooth or wifi is on

Edit: and i didnt had this problem om 15build, and no new app installed

And is The same whit good signal

Aha you mean this

Skickat från min Nexus 4 via Tapatalk
[Nexus 4 Android Development] tito_puente:
I#m sorry, but this didn't seem to work. I activated all the three points, still no contactsync. :(

Edit: Sorry, reboot helped! Sorry for this!
[Nexus 4 Android Development] Mechanisms:
Installed the ROM yesterday and it's really smooth. Thank you! My nexus 4 is good for another year :)

The only thing I can't get to work is voip calls with the default phone app (it was working flawlessly on L and also works on M with a dedicated voip app).
[Nexus 4 Android Development] t181:
Ohh, thanks!

I would have never found it by myself.
[Nexus 4 Android Development] kryzeK:
It is the second time this has happened since yesterday: The Flashlight toggle disappears.

I managed to solve this problem yesterday with the adb command "adb shell pm clear com.android.systemui" and reboot my N4. But damn, today again disappeared!

Please, this is a bug?

I'm using latest Frank + mustbe gapps + hells-core kernel + double tap statusbar to sleep mod.
[Nexus 4 Android Development] shobuddy:
I flashed this ROM on Monday. I don't keep my phone on charge overnight and the first night I had no problems. Since then, however, when I wake up, the phone either has a dead battery or is close to dead (see screenshot).

I'm also unable to send or receive MMS (picture) messages.

Anyone else having these issues?
[Nexus 4 Android Development] googleygoggles:
Show us more details like the graph with WIFI, Cell signal strength, etc.

And the SOT screen
[Nexus 4 Android Development] famewolf:
You are not good at using search are you?

1) Because flashing a rom wipes the whole system partition. *poof* everything is gone.

2) Because you are flashing defective gapps. Try Banks gapps (yes a search will find the link in this thread)

3) #2 answers #3.
[Nexus 4 Android Development] AfroMetal:
Are there any M kernels that can improve battery life? I could only find 2 active kernel topics, both for L.
[Nexus 4 Android Development] yochananmarqos:
There's hells-Core, TaUrUs & AK so far. Quanta will be coming soon. Check their respective XDA threads and/or G+ pages for current downloads.
[Nexus 4 Android Development] TPWarrior:
http://goo.gl/gdQlSl :D
[Nexus 4 Android Development] googleygoggles:
You lied to me!
[Nexus 4 Android Development] dragos281993:
Ha ha ha ! I'm dying here... ???

That search phrase...
[Nexus 4 Android Development] AfroMetal:
[MENTION=1050103]sykopompos[/MENTION] are you going to upload new update in next few days or should I go with 2015-10-19 for now?
[Nexus 4 Android Development] dragos281993:
Ak?! Is been released?
[Nexus 4 Android Development] yochananmarqos:
https://plus.google.com/+AldrinHolmes20/posts/cVkMM5jADG1
[Nexus 4 Android Development] dragos281993:
He said he'll do it next week.
[Nexus 4 Android Development] googleygoggles:
*Facepalm* look up "search" in the dictionary.

Normally I would answer this but it just a cruel joke when he already said he is out this weekend
[Nexus 4 Android Development] AfroMetal:
Well, after weekend is 'next few days' for me, so thanks. And sorry, now I thought about searching 'sykopompos' when serching for update info itself gave me nothing. Forgive me o great Lamp Man.
[Nexus 4 Android Development] googleygoggles:
Ahh! It's a miracle! Someone actually searched this thread! You have been forgiven. Have a cookie that [MENTION=1050103]sykopompos[/MENTION] neglected ?.

Yeah, I guess it just got annoying adding onto the G+ painful questions that have been coming up.

They were questions answered a post below it but people don't know how to search at all.

At least now there is hope!
[Nexus 4 Android Development] TA123:
It doesn't work for me. I managed to get into the scanning menu from a link in the Bluetooth settings and turn WiFi and Bluetooth scanning off. But now I want to turn the wifi scanning on and cannot find the settings. The link is gone from the Bluetooth settings and typing 'scanning' does not show anything. I'm on 20151015 build.
[Nexus 4 Android Development] victorhooi:
Does anybody have a mirror for the Bank GApps package?

The URL in the opening post is broken:

Gapps = https://www.androidfilehost.com/?fid=24052804347841070 banks

Or is anybody able to upload it somewhere else?
[Nexus 4 Android Development] dragos281993:
https://www.androidfilehost.com/?w=files&flid=41020
[Nexus 4 Android Development] victorhooi:
Awesome stuff, thanks! I can confirm that link worked.

Also, is the recommended procedure still:

1Full wipe (maybe this isn't needed?)

Flash frank_mako-2015-10-19.zip (without the new Adereno libs).

Flash BaNkS-Dynamic-GApps-6.x.x-10-20-15.zip

Full wipe

Boot up. Hit a force-close on the setup wizard.

Reboot, do another full wipe.

Profit!

Is anything missing from the above list?
[Nexus 4 Android Development] LoadGamePL:
There is a small flashable zip package with hotfix for cataclysm, it's only cameralib in the zip so it should work in frank ROM.
[Nexus 4 Android Development] famewolf:
Links or it didn't happen!

Seriously...are you just a tease?
[Nexus 4 Android Development] sykopompos:
Nope, that's the newest I got and it wasn't built by me
[Nexus 4 Android Development] kryzeK:
Hotfix zip for Flashlight bug from Cataclysm http://xdaforums.com/showpost.php?p=63295876&postcount=4332
[Nexus 4 Android Development] tito_puente:
Ok, I didn't new that. I had this force closes, but I didn't wiped several times. Then I used the small gapps-package. It's only the Play Store. That worked for me.

Next thing to try:

All Pics with flashlight are black, I hope fix will work. Edit: It works! Thanks!
[Nexus 4 Android Development] pertson:
You just flashed the fix and that's about it?
[Nexus 4 Android Development] tito_puente:
Yes!
[Nexus 4 Android Development] LoadGamePL:
After night with flashlight fix I can confirm it's working, I used flashlight, turned it off and went to sleep. After 8 hours I lost 0% :)

---------- Post added at 08:13 AM ---------- Previous post was at 08:08 AM ----------

Someone posted before that if you uncheck Wi-Fi scanning in setup wizard there is no an option in settings later. You need to do a factory reset. I hope someone will find a way to turn the scanning menu back on without doing factory reset.

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

Someone posted before that if you uncheck Wi-Fi scanning in setup wizard there is no an option in settings later. You need to do a factory reset. I hope someone will find a way to turn the scanning menu back on without doing factory reset.

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

Someone posted before that if you uncheck Wi-Fi scanning in setup wizard there is no an option in settings later. You need to do a factory reset. I hope someone will find a way to turn the scanning menu back on without doing factory reset.

---------- Post added at 08:16 AM ---------- Previous post was at 08:15 AM ----------

Someone posted before that if you uncheck Wi-Fi scanning in setup wizard there is no an option in settings later. You need to do a factory reset. I hope someone will find a way to turn the scanning menu back on without doing factory reset.

---------- Post added at 08:16 AM ---------- Previous post was at 08:16 AM ----------

Someone posted before that if you uncheck Wi-Fi scanning in setup wizard there is no an option in settings later. You need to do a factory reset. I hope someone will find a way to turn the scanning menu back on without doing factory reset.

---------- Post added at 08:17 AM ---------- Previous post was at 08:16 AM ----------

Someone posted before that if you uncheck Wi-Fi scanning in setup wizard there is no an option in settings later. You need to do a factory reset. I hope someone will find a way to turn the scanning menu back on without doing factory reset.

---------- Post added at 08:18 AM ---------- Previous post was at 08:17 AM ----------

Someone posted before that if you uncheck Wi-Fi scanning in setup wizard there is no an option in settings later. You need to do a factory reset. I hope someone will find a way to turn the scanning menu back on without doing factory reset.

---------- Post added at 08:20 AM ---------- Previous post was at 08:18 AM ----------

Someone posted before that if you uncheck Wi-Fi scanning in setup wizard there is no an option in settings later. You need to do a factory reset. I hope someone will find a way to turn the scanning menu back on without doing factory reset.
[Nexus 4 Android Development] :
It can turned back on through Google Settings/Google Play Services..

Shamusent
[Nexus 4 Android Development] TNSMANI:
I have updated to the 19/10/15 build of the ROM. This time used Gapps by Banks 20/10/15 instead of Must be. I can confirm that there is no FC of Setup Wizard, no vanishing of WiFi after disabling scanning, no torch light issue etc. In other words the setup is behaving as it should.

Battery was an issue in the earlier setup of ROM 15/10/15 and Must be Gapps. 6% per hour. Now it is normal in the sense that it is about 1% per hour. But I find that though scanning is turned off and WiFi is set to run Never when screen is off, it is shown as continuously running under Settings>battery and in BBS.

Cell signal strength is also shown as below par whereas the phone is hardly 50 metres from the tower and full bars are present. These two are draining my battery. If this can be set right, my drain will go under 0.5% per hour, while sleeping.

Any ideas?
[Nexus 4 Android Development] LoadGamePL:
Sorry for post spam! XDA forums app went crazy! Sir, could you tell me how can I turn it back on? I haven't found anything in google settings.
[Nexus 4 Android Development] txuki2005:
New gapps added 10/23/15:

changelog:

Google play services 8.3.0, play store 5.10.30, deskclock last version, webviewgoogle v47, google app 5.4.28.19 (last stable version)

https://www.androidfilehost.com/?fid=24052804347844356​

---------- Post added at 11:24 AM ---------- Previous post was at 11:16 AM ----------

got to settigns--on top right click on search icon--- write "scanning" in english, "buscando" in spanish... depends of your language system....

:silly:
[Nexus 4 Android Development] LoadGamePL:
It was mentioned before, this option don't exist in settings at all, you can only access it through Wi-Fi, Bluetooth and only once, when you turn off scanning this option disappeares and there is no way to access it without factory reset and checking Wi-Fi scanning in setup wizard.

---------- Post added at 09:37 AM ---------- Previous post was at 09:32 AM ----------

Ok it seems it is only polish language bug or smth, because when I write "skanowanie" (polish for scanning) it doesnt show up anything. On english language though it works. Now I feel silly :P

---------- Post added at 09:38 AM ---------- Previous post was at 09:37 AM ----------

Ok it seems it is only polish language bug or smth, because when I write "skanowanie" (polish for scanning) it doesnt show up anything. On english language though it works. Now I feel silly :P
[Nexus 4 Android Development] M@rs:
Can we flash the gapps over 17/10?
[Nexus 4 Android Development] txuki2005:
Backup before install them. Wipe cache and dalvik needed.

I only flash gapps packages when i install new rom.
[Nexus 4 Android Development] t181:
Hey guys,

My phone is on battery since 4 hours and it never went to sleep due to msm_camera kernel wakelock. Do you have any idea what can cause his or how can I track it down? I have never had such a problem and I don't use this ROM differently than any other roms.
[Nexus 4 Android Development] LoadGamePL:
Did you turn on flashlight from quick settings?
[Nexus 4 Android Development] dragos281993:
Open the camera app, then close, and reboot the device.
[Nexus 4 Android Development] t181:
Yes, I did.

Thank you, I will try.
[Nexus 4 Android Development] LoadGamePL:
Search for flashlight fix flashable zip 2-3 pages back, after that you can use your flashlight without problem.
[Nexus 4 Android Development] t181:
Thank you, I don't know how could I miss it. I thought I read everything.
[Nexus 4 Android Development] stefannsv:
Here:

http://xdaforums.com/attachment.php?attachmentid=3514695&d=1445485365
[Nexus 4 Android Development] TA123:
Cannot find it ?
[Nexus 4 Android Development] :
Settings/Location/Hit the three-dot icon on top right/Scanning

That's what you're looking for.

Shamusent
[Nexus 4 Android Development] ermacwins:
So is battery life noticeably better with doze?
[Nexus 4 Android Development] dragos281993:
Yup. Maximum 1% per night.
[Nexus 4 Android Development] googleygoggles:
Yes, but only standby gets improved. That indirectly makes it much better battery-life.
[Nexus 4 Android Development] LoadGamePL:
Change your language to english and search in settings for "scanning"
[Nexus 4 Android Development] TA123:
Don't have the three-dot icon in Location settings.

It's set for English but searching does not find it.

Anyway, will try to upgrade to 20151019 version and see.
[Nexus 4 Android Development] M@rs:
Ok, I will try and report. I did it often on 5.1. I think I dirty flash rom (new adreno driver seems to rise clock pretty fast, had the worst SOT ever today, don't know if this is the cause) and than the new gapps.
[Nexus 4 Android Development] gtanner00:
I had the same problem. Only fix was to factory reset and leave scanning on Friday the setup wizard then search for it manually. Doing that also enabled a lot of other search options and reduced battery drain by a lot. Seems like the setup wizard setting isn't actually working.
[Nexus 4 Android Development] H84:
Powermanagerservice is draining my battery :) what the hell that is i dont know :D
[Nexus 4 Android Development] dragos281993:
Go to settings-> apps -> Google app, open it, choose "storage", "clear cache", then open "manage space" and >clear all data
[Nexus 4 Android Development] gtanner00:
Flashed latest build with latest must be gapps and battery has gone through the roof good. Didn't start on a full charge so can't give any numbers but this is the best in a very long time.
[Nexus 4 Android Development] LoadGamePL:
Has anybody sensor behaving weirdly during call? The screen is always turned off during call, I need to press power button several times to wake the screen
[Nexus 4 Android Development] sidnoit22:
[MENTION=1050103]sykopompos[/MENTION] why Frank has Gservices Battery Optimized and in other ROM like "Fake Nexus ROM" it says it can't be optimized just like the official factory images says. :confused:
[Nexus 4 Android Development] LoadGamePL:
I realized my screen protector moved a little and it's covering sensors in half. Could this be the problem?
[Nexus 4 Android Development] ananas93:
So when flashing update, how, what to wipe what to flash, beacuse last time i did this gapps didnt work.
[Nexus 4 Android Development] dragos281993:
I usually do a cache+dalvik wipe, then flash the ROM (the update), the other things like a custom kernel, then wipe both aches again and reboot.
[Nexus 4 Android Development] Stevica Smederevac:
Yes,had that myself.(proximity sensor)
[Nexus 4 Android Development] bladebuddy:
I am talking from experience and not the fact I work in retail, even though the new u.k/ Europe consumer laws have recently landed.

The huawei phone I was talking about received a locked bootloader during the ICS from GB update. To get around this a developeder used the unlocked boot from gb on ice. This caused problems for quiet a few people and they couldn't flash the factory image without IMSI loss or something similar. Those that tried to return there devices found out they couldn't so instead they had to hard brick the device. Plenty have had problems with Knox on Samsung devices also as its all over the net.

U.K law states the device should be used in a proper way and not be modified. The reason you have tamper stickers on electrics e.t.c.

You are not able to get a refund or certainly wasn't a few years ago. Huawei ended up letting people have the codes to officially unlock not soon after.

How the law would stand with nexus with an official way to unlock the bootliader who knows, but I very much doubt they would place a modification stamp there unless it was to stop people doing modifications. Also will make it harder to sell second hand to someone who knows little about root. Only time will tell.

Aron knowles forgot to link you.
[Nexus 4 Android Development] Tmfz:
That is gapps specific. I installed the latest banks gapps and my play services is set to not optimized like the official factory images.
[Nexus 4 Android Development] sykopompos:
Seems Google fixed most of the bugs in the gmscore in the latest release from what I heard from the gapps guys and it no longer has the permissions problems or deep sleep issues
[Nexus 4 Android Development] Aaron_Knowles:
[MENTION=4411104]bladebuddy[/MENTION] https://i.imgur.com/rXqPMff.png

Google aren't Sony/Samsung. But recent law changes say that it is up to the retailer to prove that their wasn't a fault with the phone when you bought it. Which can be rather hard to prove in most circumstances.

Though, I've had my n4 3years and never had to return it, only change the audio jack port as my headphone snapped inside. So I'm not too concerned personally. I've returned plenty of electronics over recent years either within the first 6 months or just before warranty is over due to faults and never had an issue returning. This includes Graphics cards and return on the basis that "the card doesn't OC" and they take it back and I'm not charged a restocking fee either.

It all honestly does come down to the customer knowing the right things to say. This doesn't mean I abuse the system, it's just knowing my rights and quoting relevant texts.

The qfuse articles are rather clickbait-y. But time will tell. I'm not saying I'm 100% correct in my assumptions; but I do feel confident. We'll see I guess.