yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] Royal hacker:
can't install

It takes too long to install . Almost half hour passed but recovery stays on install screen .any idea
[Nexus 5 Android Development] kenshin33:
play with settings->apps -> 3 dots menu [top right]-> preferred install location
[Nexus 5 Android Development] cop1976:
Finally someone gave me an answer. That did the trick. Thank you.

Sent from my Nexus 5
[Nexus 5 Android Development] mshook:
I have the same issue, tried the same things you did but I have no idea either.
[Nexus 5 Android Development] kong:
Clean flash?
[Nexus 5 Android Development] BRiANj64:
I've been dirty flashing since CAF12(Not wiping Data) and i still haven't got a single issue that wasn't resolved in the next build.
[Nexus 5 Android Development] itsita:
It seems not to happen after a factory reset.

bummer for me :crying:
[Nexus 5 Android Development] david279:
That new boot animation........
[Nexus 5 Android Development] kong:
It’s a basic troubleshooting procedure… If you find something weird after flashing a new ROM, try to reproduce it after a clean flash before reporting a bug :silly:
[Nexus 5 Android Development] itsita:
okay,

i've clean flashed (squeaky clean) installed all my apps and.. the crackling is back.

less 'severe' than before but happens nonetheless.

not sure what kind of log to take...

Is the attached log relevant?

Edit: attached one more log. the bug should be there surrounded by noise... It happened while putting the phone on the Wireless Charger - instead of getting the normal sound, i got this mechanical-crackle. might be easier to locate this way
[Nexus 5 Android Development] olus:
no way to hide the superuser icon in notification bar? in nightlies before i could hide it, now the option is gone or moved..

tried a new cm12 theme and switched back to stock theme. no way to change the lockscreen wallpaper to a custom pic. we can just select a theme. just telling.. [emoji6]
[Nexus 5 Android Development] mamarley:
On the 20150121 myfluxi CAF build, I am getting an issue where the power button often does not wakeup the phone. If I keep trying or hold down the button for a long time, it will eventually wakeup, so I don't think it is a SoD. This happens both when on battery and when charging. When the power button fails to wakeup the phone, no messages at all are printed in logcat. Is anybody else seeing this too?
[Nexus 5 Android Development] ssauger:
Go to Display settings and turn off Prevent accidental wake. Then the power button is fine.
[Nexus 5 Android Development] mamarley:
That did it, thanks!
[Nexus 5 Android Development] djsubtronic:
Settings -> Display -> Prevent accidental wake-up
[Nexus 5 Android Development] mmo.xda:
Edit. Removed. Wrong idea.. Sorry
[Nexus 5 Android Development] itsita:
I think i found the culprit : ok google hotword detection.

Try turning it on including 'from any screen' and just leave it for a while. After sometime the speaker goes crazy.

Turning it off solves the problem for me...

Tried with both Bank's gapps and PA.

If someone could confirm it would be great.

Sent from my Nexus 5
[Nexus 5 Android Development] mshook:
I confirm turning it off solves the crappy audio (I'm on PA gapps). I turned it on again and I'm now waiting for the staticy audio to come back.

I do wonder though: how did you figure this out?
[Nexus 5 Android Development] itsita:
Clean install and slow testing of every app :)

(I seriously should be studying...)

Sent from my Nexus 5
[Nexus 5 Android Development] SCFirefighter:
Big red convert here with a new-to-be N5. Can someone point me to a regular CM12 thread? I looked but all I see are CM12 derivatives.
[Nexus 5 Android Development] gravedigger76:
Its in general: http://xdaforums.com/showthread.php?t=2995703

[ROM] [5.0.2] [NIGHTLY] CyanogenMod 12 for Nexus 5
[Nexus 5 Android Development] myfluxi:
This insane mechanical crackling on the speaker should be gone with this one. At least I wasn't able to reproduce this any more. And thanks for the hint with the wireless charger's notification sound and the hotword detection which made it easy to spot. Reason: Backend chose totally wrong sample rates (192000 kbit). Todays/tomorrows releases will have the fix.

The proximity setting is unfortunately required with the ambient display feature, else you would be interacting with the display upon incoming notifications while in your pocket. It's just not reliable for and I guess other devices as well :/
[Nexus 5 Android Development] rtimoff:
[MENTION=4152171]myfluxi[/MENTION] don`t you know why after WiFi off, there is no autoswitch/autoconnect to 2G and allways stays whithout internet connection and with "!" on the icon? This problem on all CM 12 ROMs. I need to reboot or on/off Airplaine mod.
[Nexus 5 Android Development] xrad:
This was in response to a question regard issues with the power button. I've now read this about 7 times but I still fail to relate your answer to the question, [MENTION=4152171]myfluxi[/MENTION]. :) What am I missing?
[Nexus 5 Android Development] kenshin33:
something hit me the past night (although it is not a usual use-case), that proximity thing can be a hassle in total darkness (which is the same as being in a pocket)

in regard to it's relationship with ambient display

requestPulse does check for it regardless (????) of settings->display->Prevent Accidental wak-up

https://android.googlesource.com/pl...om/android/systemui/doze/DozeService.java:209

---------- Post added at 08:26 AM ---------- Previous post was at 08:22 AM ----------

there is an option in settings, if enabled (it is by default I think), will check the proximity sensor (translates to no light == the phone is in a dark place --usually a pocket-- or close to your face --while talking-- before waking up the phone to avoid interacting with the screen -- ie: unlocking accidentally and doing nasty stuff , or hanging up or ....),

with ambient display enabled, if you get a notification the phone is woken up, if it happens to be in your pocket you can -without knowing- interact with it
[Nexus 5 Android Development] olus:
no!! darkness is not the same like in a pocket! proximity is not a light-sensor. its a "near-far"-sensor..
[Nexus 5 Android Development] kenshin33:
tried (brows nine gag before sleeping --I know a terrible idea--) yesterday under the covers, didn't wake had to get it outside (where there was a tiny bit of light) to wake it!

scratch that! I stand corrected, don;t know why it did that then, since nothing was near it (neither me nor the covers)!
[Nexus 5 Android Development] xrad:
I know ambient display, but I still can't relate that to the original question regarding the power button, except that both the power button and ambient display have some common business turning on the screen. Anyway, I found myfluxis reply a bit lacking and was hoping for some clarification.
[Nexus 5 Android Development] kenshin33:
some have said that the power button sometimes doesn't wake the device up, you need to press it few times (few posts back), the issue is caused by the proximity check sensor (actually this Settings->Display->Prevent accidental wake-up, that uses the proximity sensors to check if the phone is close to something).

myfluxi's reply is stating that the check is needed when ambient display is enabled to avoid accidental interaction when you get notification and the phone is in your pocket!
[Nexus 5 Android Development] vegas217:
No emojis in Google keyboard or aosp keyboard. Reinstalled Google keyboard still no emojis. Set theme back to default... No emojis. Anyone else?
[Nexus 5 Android Development] cop1976:
You need to use a system font. Theme engine bug.

N5 Lollipop powered by ElementalX
[Nexus 5 Android Development] djsubtronic:
Just noticed, on CAF20, Hangouts crashes on startup. Haven't used Hangouts in a while, so not sure when this started happening. I tried clearing app data but still no luck.

Here's a log if it helps.
[Nexus 5 Android Development] ssauger:
i am on this build. And for me it's fine. So or a other problem.

sent from Nexus5
[Nexus 5 Android Development] frazer19:
hey guys can i use franco kernel on the latest version of cm12 (5.0.2) version of this rom?

http://xdaforums.com/google-nexus-5/orig-development/kernel-franco-kernel-r53-t2508284
[Nexus 5 Android Development] Nnyan:
So far so good on myfluxi CAF20. I have had two reboots and an app crash (in two days) whereas I did not have a single reboot on previous versions ever (months). I have logs if needed taken after reboot completed (both while navigating on with Google Maps). Other then that I was having some weird graphical glitches with a few apps but those are gone in CAF20.
[Nexus 5 Android Development] xVermicide:
yes, any AOSP kernel will work with CM12 except for myfluxi's CAF builds which require a CAF kernel.

Sent from my Nexus 5
[Nexus 5 Android Development] Saturn2K:
I tried searching this thread but couldn't really get an answer.

Does CM12 change how lollipop's silent mode works? I was hoping it made it so that silent mode would still let alarms play.
[Nexus 5 Android Development] fluther:
Just did a clean flash of caf20 (just before myfluxi pushed caf21), and I'm loving it.

Trouble is, I encrypted my phone, and now twrp can't decrypt? I've tried twrp 2.8.4.0 and .3.0.

[MENTION=4152171]myfluxi[/MENTION] does the caf build encrypt in a way that twrp can't handle?

Many thanks.
[Nexus 5 Android Development] meinnameisthase:
That's a known issue... Use CWM instead for the moment.
[Nexus 5 Android Development] myfluxi:
We are using hardware based encrytion here which TWRP can't handle. I know they're working on this but so far it fails to decrypt. You have to sideload updates which is the new standard for CM as well.

Think of it as much better speed, security and energy usage at the expense of a little less comfort.
[Nexus 5 Android Development] fluther:
Great, thanks!

Edit: right, I've been playing around. Should I use adb sideload in TWRP, or stock recovery, or the new cm recovery? And, if the latter, how do I get it? I've only heard of it, never used it.

Also, I hosed my current installation by not sideloading gapps after caf21. I then went back and flashed pa stock gapps, but it had lost my homescreen layout etc.

So now I'm installing caf 21 clean, then pa stock gapps, then I'll set everything up, and then encrypt. In future should I sideload cafxx, and then gapps, and everything will be fine?
[Nexus 5 Android Development] kenshin33:
here it is, freshly baked.

be aware that this has NO BACKUP options

it only checks signatures and only accepts test-keys (and possibly cm's )

unzip and flash with fastboot ( reboot into bootloader mode and use fastboot :- fastboot flash recovery WHERE_YOU_UNZIPED/recovery.img)

whenever flashing new builds, there's no need to reflash gapps (the one already there will be backed up and restored during flash procedure)
[Nexus 5 Android Development] kenshin33:
no, as far as I can tell
[Nexus 5 Android Development] fluther:
Thanks!

I never used to reflash gapps with cm11, but I thought you had to with cm12 so far?

And when I sideloaded caf21 without flashing gapps, my gapps vanished? It booted into launcher 3, and GNL wasn't installed.

Or did you mean that I don't need to reflash gapps when using cm recovery?

I may just not bother encrypting for now until twrp can handle hardware crypto.
[Nexus 5 Android Development] kenshin33:
I don;t know about TWRP.

As far as I can tell, I never had to reflash gapps (and do flash my phone at least once almost everyday) .

If you look (on the phone) in /system/addon.d/ there should be a file there that has gapps in it's name. that's the backup/restore script, everytime you flash a zip that script is executed (or should be)
[Nexus 5 Android Development] fluther:
Cool.

I knew about the script in cm11, but in the OP of this thread mo976 said that a reflash was necessary, and I assumed this was a cm12-wide thing, and not just his builds.

So are you encrypted? And do you sideload with cm recovery, or can it handle hardware crypto?
[Nexus 5 Android Development] kenshin33:
the first few days, that was the case, not anymore (unless you format the system partition).

no encryption : i has this nasty side effect of blocking boot and I need/want the phone to boot no matter what (it is password -not PIN- protected anyways, and no adb -in recovery or anywhere else, and the bootloader is locked. Baring an exploit, there's no way of looking inside it, and flashing something will require wiping it completely ).

and yes, I do use the cm recovery mainly because it has signature verification enabled without a way of disabling it.
[Nexus 5 Android Development] lolobarjo:
I don't understand, there are recovery which can handle hardware encryption ?

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Android Development] fluther:
So I've installed cm recovery, and I used it to flash caf21 and pa stock gapps. No addon.d directory in /System though?

Edit: scratch that. It's there, I'm an idiot :)
[Nexus 5 Android Development] Stefano187:
Hello, I'm sorry for asking quoting your post, but I'm reading about this cm recovery since a while... May I ask you where can I find it? I suppose that it isn't clockwork recovery right?

Sorry again for bothering

Regards

Stefano
[Nexus 5 Android Development] fluther:
[MENTION=1664077]kenshin33[/MENTION] very kindly built us a copy and posted it here: http://xdaforums.com/attachment.php?attachmentid=3131405&d=1422110982
[Nexus 5 Android Development] kenshin33:
link to gapps? or is it the one in 1st post?

I'm using the pico one from the link in 1st post, the installer creates the /system/addon.d if it doesn;t exist and add the backup script. I'm asuming all the pa_gapps offered in that thread do use the same one (it seemed generic) as you can see bellow :

# Create final addon.d script in system
bkup_header="#!/sbin/sh\n# \n# /system/addon.d/70-gapps.sh\n#\n. /tmp/backuptool.functions\n\nlist_files() {\ncat <<EOF"
bkup_list="$bkup_list"$'\n'etc/g.prop; # add g.prop to backup list
bkup_list=$(echo "${bkup_list}" | sort -u| sed '/^$/d'); # sort list & remove duplicates and empty lines
mkdir -p /system/addon.d
echo -e "$bkup_header" > /system/addon.d/70-gapps.sh;
echo -e "$bkup_list" >> /system/addon.d/70-gapps.sh;
cat $bkup_tail >> /system/addon.d/70-gapps.sh;
#
[Nexus 5 Android Development] david279:
+10000000

http://review.cyanogenmod.org/#/c/86775/
[Nexus 5 Android Development] mamarley:
I have noticed that with the CAF21 build, things seem to have gotten a bit jerky. Opening transitions, especially for the Settings and Phone apps, seem to drop frames. Firefox also seems much jerkier on the CAF21 build than on a regular CM build with the same date.
[Nexus 5 Android Development] aldyu:
I agree on this.

Sent from my Nexus 5
[Nexus 5 Android Development] david279:
Looks like this deletes the misc battery ? bug out of existence. Been running a build with the commit since around midnight and no sign of it. Good job [MENTION=4152171]myfluxi[/MENTION]
[Nexus 5 Android Development] sjknight413:
Does anyone else have a massive problem with titanium backup not restoring apps on both official nightlies and myfluxi's caf builds? it just won't restore anything. Tried flashing supersu too which makes some apps restore but some fail completely and get stuck, trying to install some apks manually results in them saying 'not installed' too. Is cm just a bit screwed at the moment?
[Nexus 5 Android Development] mo976:
new build https://www.androidfilehost.com/?fid=95916177934517006 includes that, and by popular demand "ambient display"!
[Nexus 5 Android Development] DaRk_dOg:
Hello everyone,

I'm on latest CAF21 and I experienced freeze and reboot while texting on hangouts (randomly). This happened twice before I encrypt my device and once after (and only on hangouts). Which log files are needed [MENTION=4152171]myfluxi[/MENTION] in order to trace a possible problem? Logkat, last kmsg or both?

PS: The build is running great so far :)

Best regards, D_d
[Nexus 5 Android Development] myfluxi:
A full last kmsg please, as that stuff is what's keeping me from finally pushing it.

That quite contradicts the previous statement. A crashing build is sh it :p
[Nexus 5 Android Development] kenshin33:
it just hide it (if it is a bug).
[Nexus 5 Android Development] mamarley:
[MENTION=4152171]myfluxi[/MENTION], is there anything new in the CAF21 build that might cause jerkiness? Another guy and I both noticed it, and the non-CAF builds don't exhibit the problem.
[Nexus 5 Android Development] neFAST:
Stupid question incoming: is google now available on CM12 based ROMs?
[Nexus 5 Android Development] sjknight413:
I didn't notice it for the hour I was on it, was actually smoother than almost anything I've had on my nexus 5.

Sent from my Android 5.0 Lollipop + ElementalX powered Nexus 5
[Nexus 5 Android Development] Tylog:
Yes :)
[Nexus 5 Android Development] david279:
I know
[Nexus 5 Android Development] myfluxi:
Well spotted, I was greedy with the freqs.

echo 500 > /sys/module/cpu_boost/parameters/input_boost_ms
echo 1497600 > /sys/module/cpu_boost/parameters/input_boost_freq

I run it like this for a few days because I was annoyed by some jerkiness as well.
[Nexus 5 Android Development] mamarley:
So I need to run those commands to restore the old behavior, or are those the new values?
[Nexus 5 Android Development] mamarley:
So, I tried the latest myfluxi CAF22 build, and I checked those two governor tunables, but they were already set to the values specified above., and I still get the jerkiness with the new build. Starting apps also seems to be a bit faster with the CM nightlies than with the CAF builds.

Additionally, on several occasions, the phone has taken an excessive amount of time to wake up after the power button was pressed. (This happened with the older CAF builds as well.) (I have DOZE and the accidental wake elimination feature both turned off.)
[Nexus 5 Android Development] aldyu:
Try to disable per app profiles in performance settings, see if you can notice a difference.
[Nexus 5 Android Development] Jiggs82:
Hey to whom it may concern, i'm having issues in my rom thread with users getting rr's and bootloops with stock cm kernel and only way to fix it is too flash a custom kernel for now so I was wondering if there ever was such an issue in this rom before? If you don't want to flood this thread with my situation you can pm me thanks. Btw I'm talking about this rom here and the device tree sources can be found here and they were recently updated by the team but I don't know if their still old or what lol

http://xdaforums.com/google-nexus-5/development/rom-t2995181

https://github.com/TeamBliss-Devices/android_kernel_lge_hammerhead

https://github.com/TeamBliss-Devices/android_device_lge_hammerhead
[Nexus 5 Android Development] Pretoriano80:
Hmm, i wonder where are you seeing these slowdowns because i'm on this build too and everything is pretty smooth (and honestly even the previous build was fine here).

As for the wake up issue is most likely caused by the " Prevent accidentally wakeup" option (in display settings), disable that and the issue will be gone, but keep in mind that if you are using "Ambient display" then you will encounter other issues ( screen might wake when in your pocket).
[Nexus 5 Android Development] myfluxi:
I do not participate in smoothness and battery talk. If there is a problem, I fix it. If it is subjective, I can only give the advice to use something else. You may not be holding it wrong, but you're holding it somehow different ;)
[Nexus 5 Android Development] mmo.xda:
Hi!

is expanded desktop working in "cm-12-20150125-UNOFFICIAL-CAF22-hammerhead.zip"?

I enable it for ALL apps (master button). It applies. But after back, it is disabled.

am i doing something wrong??

Here (link) is a logcat if helps devs, where it can seen action (01-26 11:06:45.013 D/SubSettings(5071): Launching fragment com.android.settings.applications.ExpandedDesktopPreferenceFragment) and what happens later.

Regards
[Nexus 5 Android Development] ssauger:
You're right, its the same for me on this build. but using the home instead of back button keeps expanded desktop mode on. But entering the settings for Expanded Desktop again shows its off.
[Nexus 5 Android Development] Pretoriano80:
Try to press "Home" button insteas of "Back" and it should stick, at least here it does.

If you press "Back" the setting doesn't stick indeed.
[Nexus 5 Android Development] mamarley:
Thanks, but it doesn't seem to be any different.
[Nexus 5 Android Development] mmo.xda:
thanks both of you...The home button workaround works...until you enter again in settings... :( :( :( :( :( :(

So conclusion is expanded desktop is still WIP :) :) :) :) :)

Regards
[Nexus 5 Android Development] Pretoriano80:
What i can say is that Expanded Desktop worked fine with build 21,maybe a new commit broke it.
[Nexus 5 Android Development] neobuddy89:
Are you using his vendor files??

https://github.com/myfluxi/proprietary_vendor_lge

---------- Post added at 07:46 PM ---------- Previous post was at 07:43 PM ----------

@myfluxi

Have you merged this in CAF22 build?

http://review.cyanogenmod.org/#/c/86775/
[Nexus 5 Android Development] Jiggs82:
My guess is no so should these be the correct vendor files I need for stable kernel?
[Nexus 5 Android Development] myfluxi:
Use the "official" blobs.

Yes. But this change does nothing, nada, rien.
[Nexus 5 Android Development] Jiggs82:
Official as in these?https://github.com/TheMuppets/proprietary_vendor_lge
[Nexus 5 Android Development] myfluxi:
Yes.
[Nexus 5 Android Development] Jiggs82:
Ok thanks bro!
[Nexus 5 Android Development] Pretoriano80:
[MENTION=4152171]myfluxi[/MENTION] : Hi mate, i'm having a nasty issue with the CAF build, basically when i'm calling someone i can't hear the other party and the other party can't hear me, basically they answer the call but it's all silent. If they call me back it's always fine.

I don't know if is of any importance or if is just a coincidence but it happens mostly when i call people with CM powered smartphones.

CAF Build = CAF 22 (but issue was there on previous buulds too)

Kernel - Stock/Default

Tweak/Mods - None

Dialer - Stock

Logcat - http://pastebin.com/YQzy3YcR

Note: Two calls was made, one at 17:32 and the other at 17:33

I hope these logs are enough, if not please let me know.
[Nexus 5 Android Development] Isidorosis:
i think i had the same problem with a previous build (maybe still have with caf22?, too late here to test) and when i activated speaker everything worked fine

so can you try testing ->

do a phone call

tap speaker to activate

tap again to deactivate

and check if everything is working
[Nexus 5 Android Development] wfd:
[MENTION=2642882]Pretoriano80[/MENTION], [MENTION=2273470]Isidorosis[/MENTION] I have the same issue, and [MENTION=4152171]myfluxi[/MENTION] tried to fix this weird bug some time ago, but no luck.

I have this bug when calling out of my cellular netwok to other cellular, but not always, sometimes all ok. Always no problems when i call inside my network, to land lines, and all incoming calls. This always fixed by on/off speaker.

I have this bug since CAF01.
[Nexus 5 Android Development] myfluxi:
I discussed this with our cellular network gurus earlier. Are you able to find out if your carriers use AMR-WB? Cuz that's what typically causes such issues and thus could give me a hint where to start.
[Nexus 5 Android Development] wfd:
Could you suggest me, how can i find this info? May be in radio logs, or something else?

Edit: google says my cellular network (MTS) uses Wide Band AMR (AMR WB) HD Voice since 2012
[Nexus 5 Android Development] myfluxi:
I'll look into this, may take a while because if the following cannot be fixed, wasting time on this thingie would be useless anyway.

Any more nasty crashes or reboots on #23? Apparently there is an issue in crypto suspend/resume (independent of "using encryption") and I'm narrowing it down atm.
[Nexus 5 Android Development] djsubtronic:
Hey, are you still including the fixed mixer paths in #22 and #23?