yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] djsubtronic:
Has something changed in the ROMs last week?

I am currently on 13th nightly. What I normally do is install ROM, Gapps, a custom zip with some apps of my own and replacement fonts for Roboto Regular/Italic, and finally SuperSU. Then I run a script which removes some apps. This has always worked for me since the beginning of CM12.

However, I tried the 17th nightly last week, all the ZIPs and script ran fine as normal, but upon reboot when the "upgrading" screen came, the number of apps was much lower than expected, and the font was not replaced (even though TWRP said everything installed fine). When it booted up, I noticed there were no Gapps... which would explain the fewer apps. The bizarre thing is that right after flashing, while still in TWRP, I adb shell'd through the system folders, and verified all the files that should have installed were there, including my replacement font. So what is going on?

Same thing happened today on 22nd nightly, except even more strangely, the ROM finished installing, said "done", but the progress bar carried on moving and it wouldn't end the installation until I had to hard reboot using the volume+power key.

What is going on?!

Edit: I used original TWRP (latest version) to flash the 17th nightly (with edited updater-script), and the CAF TWRP to flash 22nd nightly. I have always used TWRP without issue before this.
[Nexus 5 Original Android Development] el_smurfo:
I also use a script like this, but have not had this problem. It almost sounds like none of the scripts ran, so your gapps were also not backed. Have you checked the permissions on this folder and files? I have had it fail after copying and not correcting them.
[Nexus 5 Original Android Development] djsubtronic:
I don't use any backup scripts. My routine is always wipe system for each flash, then I flash ROM, Gapps, etc each time. Even after flashing them all consecutively in the order I always do, it seems like nothing except the ROM is actually installing properly.
[Nexus 5 Original Android Development] el_smurfo:
Ah, sorry, misread the "script" portion of your description before I had my coffee. Have you tried doing this step by step. I'd do just the ROM and gapps and see if they "stick", then maybe the ROM and your other installer....one of these things is probably hosing you.

Also, are you doing anything else weird? Encryption? Why are you reflashing gapps each time? Are you really clean wiping with each upgrade?
[Nexus 5 Original Android Development] djsubtronic:
I tried with just ROM and Gapps, still seemed to not work. Maybe something's wrong with the Gapps package. Using Banks ones from 17th March. Nothing else weird at all, no encryption, haven't changed anything at all on my end.

I'm not clean wiping, only wiping /system. It became a bit of a habit at some point when CM builds were not backing up Gapps by default, and now I just stick with it. Plus I can always be sure everything will be the way I expect... apart from now obviously.
[Nexus 5 Original Android Development] Zobat:
try a different kabel
[Nexus 5 Original Android Development] runningslow:
I use this method: http://xdaforums.com/showthread.php?t=1632456

You just need a local.prop file in your /data/ folder with one line:

qemu.sf.lcd_density=445

That's it.
[Nexus 5 Original Android Development] bjoswald:
Awesome. Thanks!

Edit: still doesn't work for me.
[Nexus 5 Original Android Development] caliban2:
Just a heads up:

If you've been using PA Gapps, keep tight to that zip as long as you're on Android 5.0x. TKruzze has retired, had his threads closed by a Mod and deleted all mirrors... :(

Some of us will be able to apply the necessary changes to use and maintain them on 5.1, but for most users they'll probably stop working with the next update.

Let's see if he returns, someone picks up his great work or if most users will have to move to another package.
[Nexus 5 Original Android Development] d1n0x:
No wonder with this ungrateful community here. LOL
[Nexus 5 Original Android Development] AndrasLOHF:
That truly sucks. His is the only package that consistently offers the true stock gapp experience. Every other one is missing apps or does not delete AOSP equivalents.
[Nexus 5 Original Android Development] el_smurfo:
I've always used Banks or PA nano. You can automate deleting of unused AOSP apps and CM bloat with an addon.d script. I wonder if anyone might fill the void? A good choice might be the guys at apkmirror...they already have most of the apps stored, and just need a mechanism to automate the zip create.
[Nexus 5 Original Android Development] AndrasLOHF:
That's a good idea. I've made update-scripts in the past to auto delete apps when flashing but it's something that needs to be flashed every update. Since switching to CM I've been trying to streamline my update process as much as possible seeing as there is almost always a build available for flashing. I'm already using a personal addon.d script to keep the surround sound mod, Better Battery Stats priv-app installed, and Lollipop Ul sounds as it is so I'll have to look into adding the duplicate app removal.
[Nexus 5 Original Android Development] rockknee:
Did you figure the problem out with CAF? Afaik there was some problem with 19/03 nightly's setup wizard, I was neither able to start with that so I downloaded 16/03 and it went smoothly.
[Nexus 5 Original Android Development] deathst:
Update available cm-12-20150324-NIGHTLY-hammerheadcaf.zip
[Nexus 5 Original Android Development] phin586:
Trying to decide if I should go with CAF or NON-CAF.
[Nexus 5 Original Android Development] kogone:
anyone know how to remap the power button? suffering from stuck power button syndrome (SPBS). Using gravity screen or whatever is redundant bec ambient display!
[Nexus 5 Original Android Development] AndrasLOHF:
There is an option under buttons in settings.
[Nexus 5 Original Android Development] kogone:
Sry I meant to disable it
[Nexus 5 Original Android Development] themacroe:
Since flashing running the phone is so smooth i don't what to update nightly anymore

Plus the first battery cycle was a good run like 7hrs sot
[Nexus 5 Original Android Development] @molpandit:
Need help

I have Cyanogenmod 12.1 latest nightly running on my Nexus 5. Bootloader version is HHZ12D and Radio Version is M8974A-2.0.50.2.22. I wish to switch from Hammerhead nightlies to HammerheadCAF nightlies. Can I just update the bootloader and radio. And flash a CAF nightly without losing data? Also I have TWRP 2.8.6.1. If the above is not possible. Then how do it go about switching from Hammerhead to HammerheadCAF?
[Nexus 5 Original Android Development] el_smurfo:
I'm feeling generous, so I'll tell you the only thing you should need is the CAF TWRP from myfluxis signature in the CAF thread, where this should have been posted. You may also need to upgrade your bootloader, but I can't remember.
[Nexus 5 Original Android Development] VQ30DE:
I see mdss commits in tonight's changelog for AOSP. Getting my hopes up that the freezing might soon be fixed for both CAF and AOSP.... Or am I way off?
[Nexus 5 Original Android Development] hsrn:
which theme is this?

---

edit:

found it

http://xdaforums.com/showthread.php?p=60501498

---

edit 2:

seems like the one i have linked is a bit darker. [MENTION=5052420]AndrasLOHF[/MENTION]

could you please link to the theme you use in that screenshot?

thanks in advance
[Nexus 5 Original Android Development] ivoricardo:
Wich nightly are you using?
[Nexus 5 Original Android Development] ivoricardo:
This was my first hours on Nightly from day 9, I did a full wipe, system, cache, every option except internal storage...

What did I do wrong, everyone has excelent results except me :o

Btw I even download from playstore "Kernel Toolkit" and put my phone on Powersave Govenor...

Help please?

Thank you!
[Nexus 5 Original Android Development] :
So you're using nightly build from 09/05 (yesterday)? And what GApps do you use? There's something wrong with your Google services :P
[Nexus 5 Original Android Development] AndrasLOHF:
Sure thing. Here ya go. It's my favourite dark stock theme out there.

https://play.google.com/store/apps/details?id=com.piereligio.dstheme
[Nexus 5 Original Android Development] :
[IMG="i krai"]http://static.comicvine.com/uploads/original/10/106562/2906441-meme_crying.jpg[/IMG]

...i've waited for that theme since Lollipop day 1 :D Thanks a lot AndrasLOHF! :)
[Nexus 5 Original Android Development] ivoricardo:
Yes I am, 09/05, gapps from Banks, those on the OP.

Should I stay on stock kernel or try another one?

Thx!
[Nexus 5 Original Android Development] :
Did that happen on stock ROM, too? Maybe you have a faulty battery. I don't know. Fiddling with a custom kernel might get you a few minutes more... but that's definitely something else - a process that went rogue or that is stuck... I'd recommend to ask in the battery thread (Nexus 5 General section). These are real experts :P Read the OP first :)
[Nexus 5 Original Android Development] ivoricardo:
My phone Battery only started to become really bad Since 5.1.1 I guess...

Already tried other roms but they arent good either...

I already thought about completely reseting my phone completely stock.

Dont know what to do. Ill try again, if its no good Ill try the other thread.

Thank you :)
[Nexus 5 Original Android Development] *child:
I think I'm having a different panel problem. After the CM boot animation, I can see the notification bar at the top and software buttons at the bottom, but the rest of the screen is black. I can even pull down the notification shade. If I hold power, the power menu comes up but I can't do much else.

This happened on the 0507 and now 0509 builds.

I tried fastboot flashing the boot.img from 150508_kernel_mdss_te.zip but it hasn't fixed the problem.

When it happened on the 0507, I was able to grab a logcat, however, now on 0509, I cannot USB debug because I cannot enable PTP because the screen is just black.

The only thing that seems to fix it is a factory reset, however, the problem returns after a few hours.

Any suggestions?
[Nexus 5 Original Android Development] el_smurfo:
You guys should also try this theme. He also keeps a flashable zip of themed gapps to match

https://play.google.com/store/apps/details?id=darkuimtrl.thyrus.releaseCM12
[Nexus 5 Original Android Development] logo20heli:
I started seeing this as well. It started with the test kernel, which fixed the issue of soft reboot causing a unresponsive panel, and now I have the May 10 nightly. Any ideas?

Also, what causes these random soft reboots? They continue to happen, but thanks to myfluxi fixes, the panel isn't frozen.

Thanks in advance.
[Nexus 5 Original Android Development] *child:
Seems something related to Google's Smart Lock and maybe CM's profiles is causing this. I disabled Smart Lock - still using profiles though - and the issue seems to be resolved.
[Nexus 5 Original Android Development] Phazmos:
Check wake locks from play services
[Nexus 5 Original Android Development] ChongoDroid:
I was skeptical of CAF roms for the longest time but after setting this up and letting it 'settle in' I can honestly say this is leaps and bounds ahead of AOSP as far as battery life.

It's 7 o clock here and I have 93% battery left O.o what is this sorcery.
[Nexus 5 Original Android Development] inspeckta_dek:
I'm on 05/7 nightly and audio is a bit low. Not like previous ones which sounded great. Has it been fixed with recent nightly?
[Nexus 5 Original Android Development] Silkeyway:
Is that "freeze after soft reboot" fix from the recent 150508 test kernel .zip scheduled to come to the nightlies? Or am I getting something wrong here?
[Nexus 5 Original Android Development] AndrasLOHF:
It was merged in yesterday's nightly. The screen is responsive after a soft reboot now.
[Nexus 5 Original Android Development] WhiteWidows:
How about the sprint APD data bug?
[Nexus 5 Original Android Development] levy01:
Running 05/10 nightly and liking it - no SOD - no RR

I've been running for 25 hours with heavy use and lots of calls and no SOD or RR which is great !

The RR would occur during long (over 15 minutes) phone calls and it seems to have

been addressed. Will continue to run this version to make sure it's stable before

posting another update.

Just wanted to share some personal insight as CAF is impressive in more ways than one :D

Kudos to the Dev's for the hard work !

05/13 Update

It has now been running for 72 hours without SOD or RR

I'm ready for Nightly's again (except for 05/13 - system UI issues)

Keep on keepin'on :cowboy:
[Nexus 5 Original Android Development] Silkeyway:
Indeed it is, just flashed today's nightly and soft reboot works without a problem!

Thanks for your response, I'm too bad at reading those changelogs... :-/
[Nexus 5 Original Android Development] wintrxtrem:
For me mobile data still does not reconnect after dropping WiFi (5/11 nightly).
[Nexus 5 Original Android Development] WhiteWidows:
I can't understand why this issue is not high priority. Probably because its only affecting Sprint users and not one really cares about us ?
[Nexus 5 Original Android Development] :
At those guys with Sprint data bug: Does this happen on AOSP, also?
[Nexus 5 Original Android Development] el_smurfo:
Last comment on here seems promising

https://jira.cyanogenmod.org/browse/NIGHTLIES-1007
[Nexus 5 Original Android Development] WhiteWidows:
Nope. Only CM

Sweet! Hopefully it makes in a nightly soon. Its been a nightmare keeping a data connection since this issue sprung up.
[Nexus 5 Original Android Development] arlenwoot:
What about CM AOSP, the non CAF version?
[Nexus 5 Original Android Development] WhiteWidows:
I believe so. I've seen comments about it over in their thread. I haven't ran aosp cm since CAF came out
[Nexus 5 Original Android Development] Dor71:
What is the best kernel for this rom?
[Nexus 5 Original Android Development] Primokorn:
Stock
[Nexus 5 Original Android Development] BAZZI_US:
I've had a some reboots for a few days with rebuilding Dalvik cache afterwards (is it still called Dalvik, although it's ART?). The system has been working quite stable for weeks before. I don't know what changed. Did anybody notice this, too? All I do is the daily update. Rest of my usage is everyday use and no "tweaking". So, I guess I didn't mess up anything.

And when I reboot manually, half of the times, there's the "Android is starting" or "Apps are being optimized" screen at start. Eventhough I did not install or change anything before the reboot. For me, it looks like the cache is corrupted over time.
[Nexus 5 Original Android Development] Primokorn:
Yep

I had this issue a few weeks ago but no more issue with recent nigthlies including today's nightly. Try a clean flash.
[Nexus 5 Original Android Development] Jadax:
Anyone know why I'm getting the following error when trying to install this rom;

E:Error executing updater binary in zip '/sdcard/ROMs/cm-12.1-20150511-NIGHTLY-hammerheadcaf.zip'

I rooted my phone using the nexus rootkit.
[Nexus 5 Original Android Development] Primokorn:
Search before posting.

Bad idea.
[Nexus 5 Original Android Development] Jadax:
Why? I just flashed the caf twrp, and installed without any problem - I was just wondering why the error had come up (though I assume it had to do with the fact that I was using the twrp that comes with NRT).
[Nexus 5 Original Android Development] Primokorn:
Why? http://v.ht/1Lq2

Not using toolkits is a good practice to know what we have on our device, how to flash in case of errors, a good method to think before flashing something...
[Nexus 5 Original Android Development] lcrponte:
On top of that he's installing something that came with another something.

Yeah, he's really getting what he's doing...
[Nexus 5 Original Android Development] bo0gietrain:
Is anyone using Viper4Android on this ROM? I haven't been able to get V4A working on any 5.1 ROM i tried.
[Nexus 5 Original Android Development] djsubtronic:
You need to change SELinux mode to permissive.
[Nexus 5 Original Android Development] bo0gietrain:
I tried that. I was using elemental X kernel with permissive set during install. I also installed the app that everyone suggests and it didn't seem to help or keep the setting after reboot.

I don't want to go off topic, but if someone could just confirm that my steps are correct:

1) Install selinux changer from fdroid

2) Set to permissive

3) Flash the V4A zip

4)Set to permissive again

5)Launch V4A app and click yes to install the driver

6) Reboot - now I have V4A?

Also, I'm using the LoliViper zip found here http://xdaforums.com/google-nexus-5/themes-apps/discussion-viper4android-t2543796
[Nexus 5 Original Android Development] Dor71:
I can't install this rom:error in TWRP, is necessary hammerheadcaf not hammerhead. My device is hammerhead.
[Nexus 5 Original Android Development] el_smurfo:
You need to remove the SIM and use a SIM from a Hammerhead CAF device.

j/k...you just need to read the OP
[Nexus 5 Original Android Development] Dor71:
I solved this: is necessary TWRP recovery for hammerheadcaf. not simple TWRP.
[Nexus 5 Original Android Development] VikenEndo:
Doesnt anyone else have the OK GOOGLE issue here?

Is it only me?
[Nexus 5 Original Android Development] dannyella:
Nope, not just you..Known issue with the gapps in cm wiki. Try the previous one or another gapps like bank gapps.
[Nexus 5 Original Android Development] :
cool story bro.

A tip if you want to switch to another GApps package: Wipe system partition -> flash ROM -> flash new GApps package :) I think it has already been mentioned somewhere in the thread.. just a reminder to avoid trouble :)
[Nexus 5 Original Android Development] BAZZI_US:
I am flashing right now. I was on stock Lollipop (yes, the stock stock Lollipop) for today. And I must say, it was really smooth and fast. Felt smoother than CM CAF. But I missed some little things. So... reverting to latest nightly again. :D I'll try the BaNkS GAPPS tzhis time.
[Nexus 5 Original Android Development] VikenEndo:
Thank you for the tip.

May I ask which Gapps are you using?
[Nexus 5 Original Android Development] djsubtronic:
Banks, Banks, Banks. Wouldn't touch any other GApps package with CM12. Never had a single issue with them.
[Nexus 5 Original Android Development] el_smurfo:
I thought you were full of it, but my google now voice recognition also stopped working yesterday randomly as well. Not the "cannot reach google", but it was not able to hear anything I said, even if I pressed the mic button manually.

I erased my gapps addon.d script, rebooted to recovery and flashed the 5/12 nightly and the very latest Banks gapps, and it worked on reboot. You could also just wipe /system, but flashing a new nightly mostly does that, and I have other addon.d scripts I didn't want deleted. Not sure if there was just some old cruft there, or if something was updated in the latest gapps, but it works now.
[Nexus 5 Original Android Development] rockknee:
Here is something I'd like to ask from anyone using caf and netflix as well. Netflix app has strange white lines blinking on the left side (the side where earphone is) of the screen and there is also pixel flickering. Like in this video which I've taken from the screen: https://youtu.be/pVkPipeiNcE

Chrome also suffers from black lines every now and then.

I've also noticed that media volume adjustment bar gets stuck even tho the sound itself is adjusting the way I press volume buttons. I don't know if there is any connection between these two symptoms. I've done clean flash but it seems pretty weird that no one else has these problems according to thread. Aosp cm works just fine and the problem is not big at all so this is not "complaint" or anything like that. I just have a feeling it may be some memory leak like we had the thing with camera on cm11. I have all logs attached as well so if [MENTION=4152171]myfluxi[/MENTION] has time and feels like taking a look at them, he has free hands to do so. Atleast I'd like to hear if others are using here netflix and have/don't have same behaviour as I do. Thanks guys! Caf rocks :good:
[Nexus 5 Original Android Development] fluther:
Another reboot and rebuild. Kmsg here [MENTION=4152171]myfluxi[/MENTION] : https://www.dropbox.com/s/dqncp6u5hwbrcvi/last_kmsg.txt?dl=0
[Nexus 5 Original Android Development] vtec_:
What Nightly are you using?
[Nexus 5 Original Android Development] fluther:
05/05, with the test kernel from a few pages back that has since been merged. I haven't had the time to update recently, particularly because I'm encrypted so I have to adb sideload updates.
[Nexus 5 Original Android Development] vtec_:
Hmm interesting, I noticed RRs + cache rebuilds from the 15/04 nightly going forward so I'm still on the 10/04 nightly which is stable. Have heard some reports few pages back that random reboots are gone on latest nightly.
[Nexus 5 Original Android Development] el_smurfo:
Yeah...bug reports on a week only nightly with experimental kernel doesn't seem fair.
[Nexus 5 Original Android Development] ChongoDroid:
On the latest build and my battery standby seems much better. ? stock kernel seems to be the best for me.
[Nexus 5 Original Android Development] sergiumihalache:
Just flashed today's nightly and I got a system ui FC. Anyone else with this problem?
[Nexus 5 Original Android Development] mooiemeneer:
Yes. Returned to yesterday's nightly.
[Nexus 5 Original Android Development] djsubtronic:
I don't think that one ever worked for me.

I tried another one which I think I found in the same thread you linked, but I just had a quick browse through but I can't find it at the moment, so I cannot credit the guy who put it together, but I've attached his zip to this post. It's a flashable ZIP btw, as it installs some libs and stuff.

Just to be safe, try it on your next flash and wipe system before you do it. This one has always worked for me.
[Nexus 5 Original Android Development] BAZZI_US:
Same here. Just flash any previous nightly without wiping or anything!
[Nexus 5 Original Android Development] sarcokiller:
Here the same ui crash
[Nexus 5 Original Android Development] Mabit:
With ambient display active device wakes up, also with proximity sensor covered.

If waking up the screen with the volume rocker, (ambient display off), many times comes the pop up volume.

Sorry for my bad English.
[Nexus 5 Original Android Development] cocchiararo:
the nightly from the 13ths is having issues? or 12?
[Nexus 5 Original Android Development] fleischbanane:
13th is having issues. 12th works very well here.
[Nexus 5 Original Android Development] fluther:
Well I've seen nothing in the changes to indicate that it's been fixed, and the changes in the 'experimental' kernel have since been merged so it's not really all that experimental.

Updated to 05/13, had systemui crash, went down to 05/12, and still have random reboots. Could grab a kmsg, will next time.
[Nexus 5 Original Android Development] el_smurfo:
Very strange. My random reboots completely stopped over a week ago. Could this be a memory issue? I know my phone becomes nearly unusable for some time after using a bloated app like PocketCasts...in fact, it just reset back to the lock screen while typing this, but will now likely be fine again.
[Nexus 5 Original Android Development] themacroe:
Anyone get a call and then try to continue music afterwards? Does it sound really distorted? And check out battery saver in landscape view there's a blemish in the status bar.

Last thing, sometimes my Google play music widget which takes up the entire second desktop of my home screen disappears but it's still there I can resize but can't see the actual widget. Trebuchet launcher
[Nexus 5 Original Android Development] mrbubba999:
Should have come here first! Bloody updated and system ui crash, will roll back
[Nexus 5 Original Android Development] bo0gietrain:
That worked! Thanks so much!
[Nexus 5 Original Android Development] _MirageX_:
Am I the only one feeling the need for a bit more aggressive throttling? Phone gets warm just going on chrome for some minutes
[Nexus 5 Original Android Development] bjoswald:
Working fine here (5/12 Nightly).