yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] andrewdemello:
Gapps crashing on CM12 Nightlies

ATTENTION: To all those having trouble with Gapps crashing on CM12, there is a solution. It is not the fault of the CM or the Gapps. Simply updating the Custom Recovery is what fixes the problem as this is a permissions related issue. After that you can install any Gapps package. After hours of digging on the net, I came across this solution and I can confirm it works 100%.

You can download the latest Recovery mod by searching on the net. The admins won't let me post a link as I don't have any posts to my name.

The best part is that you don't even have to wait to boot to copy stuff back to the internal storage, as the latest version comes with MTP support directly from the Recovery mode itself. Simply brilliant.

The only point to remember is that after updating your Recovery, please fix the root settings if it asks you and then do a clean install all over again, including the CM12 image. And this time your Gapps installation will boot smoothly too.

---------- Post added at 11:03 PM ---------- Previous post was at 10:58 PM ----------

The version I used was openrecovery-twrp-2.8.5.2-mako
[Nexus 4 Original Android Development] wrench588:
Google Play services wakelock possibly solved?

Hi all, just wanted to share my experience. Manually updated google play services to version 7.0.97 (1791429-446) and my phone FINALLY goes to sleep. Was on version 436 with wakelock. Grabbed the .apk from apk mirror.

Edit: Thank you to jatink007 who suggested uninstall and reinstall google play services. Seemed to do the trick. Sorry if I led anyone off the beaten path with an incorrect version!
[Nexus 4 Original Android Development] fishears:
Seems genuine.
[Nexus 4 Original Android Development] xXxTehxXx:
Going to try this now, had play services waking like crazy the past couple days.

EDIT: Seems to be sleeping properly now, upgrading to 3/19
[Nexus 4 Original Android Development] Fudjin:
Guess I wasn't clear enough. I can't root stock lollipop, which I thought was required in order to flash CM, I was wrong.

Anyway, after flashing CM12, then flashing gapps, it keeps crashing play services, google exchange and so on. I can't even go through first run setup. Without gapps it works fine.
[Nexus 4 Original Android Development] ovu85:
i'm on 11 march build and i can't export contacts with the stock dialer.
[Nexus 4 Original Android Development] Nilsb7:
How can 446 fix the wakelock issues while 446 isn't even intented for the Nexus 4?

EDIT: btw installing the universal version for armeabi-v7a CPU (430) seems to solve the wakelock issues for me.

EDIT2: NEVERMIND, I posted too early. Still got wakelocks on the universal version..
[Nexus 4 Original Android Development] pratamaaudi:
CM 12 Nightly 14 - 19 Changelog Video

hi guys, video for this week is finish :D

for someone who wonder what is new feature for some nightly maybe you can watch my video :o

CM 12 Nightly 14 - 19

What's new :

[YOUTUBE]ZEV7xTVwB6c[/YOUTUBE]
[Nexus 4 Original Android Development] wrench588:
According to Better Battery Stats Deep Sleep 70% at 5 hr 33 min, Awake 30% 2hour 20 mins. Was fully awake 100% with 436 version. Didn't know 446 version isn't specifically for the Nexus 4, but I'll take those readings any day!
[Nexus 4 Original Android Development] c00ller:
looks like this could be the fix for the system update wake lock http://review.cyanogenmod.org/#/c/91579/
[Nexus 4 Original Android Development] gtsip:
On the latest CM nightly, the "cLock" app appeared on the drawer. Does anyone know, how could be activated on the display lock?
[Nexus 4 Original Android Development] atulclassic:
my device not able to enter deep sleep..how could i disable wakelocks?
[Nexus 4 Original Android Development] atulclassic:
its reverse case with me..mine was giong to deep sleep properly but after updating to 446 it is awake all the time
[Nexus 4 Original Android Development] Nilsb7:
That's from the APKMirror page. So what you've done seems to be wrong but if it's working for you, hurray :silly:
[Nexus 4 Original Android Development] jatink007:
No deep sleep with 19-3 nightly :(

Any fix yet for the wakelock issue?

Tried the 446 play service apk, didnt work. too much battery drain :(

Edit: Restored play service to factory setting by uninstalling update, then maps asked to update play service through play store.

After updating the play service, phone going back to deep sleep :)
[Nexus 4 Original Android Development] Nilsb7:
Two ways to temporarily fix the wakelocks here

Permanent fix seems to be in the works as seen here
[Nexus 4 Original Android Development] jatink007:
Seems to be fixed by restoring playservice to factory setting and reinstalling :)
[Nexus 4 Original Android Development] xXxTehxXx:
This worked for me. Uninstalled all updates to the play store services, then re-updated, deep sleeping no problem.
[Nexus 4 Original Android Development] icu64:
Soooo if I just format data to f2fs will it work out of the box? Does the cm kernel support it?
[Nexus 4 Original Android Development] axsdenied1:
How did you restore play services to factory? When I try doing it it refuses as the package is active device administrator.
[Nexus 4 Original Android Development] NickM_27:
[Help]Nexus 4 at extremely low brightness, moving the brightness bar does nothing

[Help]Nexus 4 screen at extremely low brightness, moving the brightness bar does nothing. My nexus 4 would not respond, I thought the phone was having the sleep of death but i now have found I just can hardly see anything. Please help. I have no idea of anything to do besides maybe a fdr.
[Nexus 4 Original Android Development] jatink007:
Go to settings security device admin and disable android device manager. Then try uninstalling :)
[Nexus 4 Original Android Development] ovu85:
try a reboot, allso, install androsensor from PlayStore and see if the light sensor works. I allso had this problem but a reboot solved the issue.
[Nexus 4 Original Android Development] NickM_27:
Well, I tried that and decided to leave it off until morning, only to wake up and find a nexus 4 that wont even turn on. I am guessing the battery is dead.
[Nexus 4 Original Android Development] atulclassic:
Did you recently flashed any kernel with exponential brightness.. Kernels like semaphore?
[Nexus 4 Original Android Development] NickM_27:
I have not flashed any kernels
[Nexus 4 Original Android Development] karlospv94:
When i loss the WIFI connection and my Nexus 4 connects to 3g, it only works with whatsapp, not Facebook, Youtube...

Any solution?
[Nexus 4 Original Android Development] Domskibus:
It seems that the wakelook-fix is already included in the newest nightly: http://www.cmxlog.com/12/mako/ :)
[Nexus 4 Original Android Development] monza1412:
google services wakelocks finally fixed in 22/3 nightly :good:
[Nexus 4 Original Android Development] kol1124:
Any link for gapps ?

For the newest build of course!
[Nexus 4 Original Android Development] monza1412:
Im using the mini modular package from these: http://xdaforums.com/paranoid-android/general/gapps-official-to-date-pa-google-apps-t2943900

but if you want to go really minimal you can try these ones: http://xdaforums.com/android/software/gapps-google-apps-minimal-edition-t2943330

I believe that in both of them google play services version is 7.0.96
[Nexus 4 Original Android Development] kiril.v777:
GAPPS

Guys, i'm new to flashing GAPPS and all of that... As using this ROM i get many unusable CM Apps ..

Is there any way to get just the Google's ( I'm updating nearly every nightly so far )

Thanks !
[Nexus 4 Original Android Development] Selmak:
Why would you update to every new nightly? There is no benefit to that. You only need to update if there is a new feature introduced, or specific bug fixes.
[Nexus 4 Original Android Development] Romman0:
Just disable what you don't use, or just flash a stock/minimal L rom. A stock rom will just be all google (read specific rom thread).

Minimal gapps can be found PA's gapps thread (use twrp, imo). http://xdaforums.com/paranoid-android/general/gapps-official-to-date-pa-google-apps-t2943900
[Nexus 4 Original Android Development] wollac11:
Yeah, the main issue is that TWRP doesn't support properly T2FS on the Nexus 4 for some reason. If you download the multiboot version of TWRP from XDA (which does support it) then you should be able to convert the data and cache partitions to F2FS under the wipe menu (tick the partition and then change choose the filesystem change / repair and then change to f2fs) - this will clear your data though so beware! Once your partitions are using F2FS you just flash CM12 followed by an F2FS-supporting kernel such as Franco Saber Mod and you should be golden!
[Nexus 4 Original Android Development] tvisforme:
Looks like some tweaks to wifi and Bluetooth in the latest nightly (23 March). Any idea if this addresses the wifi exclamation mark issue or Bluetooth choppiness?
[Nexus 4 Original Android Development] c00ller:
Next nightly looks like it will solve the problem where mobile data be disabled after disconnecting from Wi-Fi. http://review.cyanogenmod.org/#/c/92168/
[Nexus 4 Original Android Development] droper_250:
mean You that?

cm-12-20150324-NIGHTLY-mako.zip? or 25
[Nexus 4 Original Android Development] c00ller:
Based on the changelog site http://www.cmxlog.com/12/mako/ it will be the nightly after 24. So 25 (if it builds).
[Nexus 4 Original Android Development] bogac94:
Is this last version of CM based on 5.0.2 or 5.1 ?
[Nexus 4 Original Android Development] pratamaaudi:
5.0.2
[Nexus 4 Original Android Development] atulclassic:
CM12.1 will be based on 5.1 as it is evident from commits
[Nexus 4 Original Android Development] xtrymind:
12.1, everything seems fine, except that softkey :p
[Nexus 4 Original Android Development] pratamaaudi:
cooolll :good:
[Nexus 4 Original Android Development] mark2410:
hi, dont know if im asking in the right place or being stupid but, just installed cm12 and i dont have manual access to pick the network type. 2g only 3g only 3g preffered etc etc. in the settings i only have 3g. no other options at all.

so is there a way to enable this ive missed or and xposed modual that would let have options?
[Nexus 4 Original Android Development] xtrymind:
here cm 12.1 if anyone wanna try :p

this is still in beta version, so do at your own risk

ROM download

Gapps Download

Known Bug

1. After you install app, package installer will FC, but app install fine. to fix, Download this and put in /system/PackageInstaller/ and give correct permission

2. Mms app fc after receive message, to fix disable blacklist in settings>blacklist> turn off
[Nexus 4 Original Android Development] monza1412:
I have 2 options only, 2G and 3G.

what nightly did you install? Was it a clean install?

You can always try dial *#*#4636#*#* and select your prefered type of network in the Phone info menu. Hope it helps
[Nexus 4 Original Android Development] mark2410:
yes the gsm code works but its not really a good solution. running ...325 nightly as a clean install, factory wipe (updating from aokp jellybean) was using an old baseband 048 but just updates to 105 but still the same.
[Nexus 4 Original Android Development] monza1412:
Im on the same nightly and dont have that problem :confused:, other way to try to solve that issue is using xposed and the Intelli3G module, with that service enabled you can manually select up to 2 types of network conections.
[Nexus 4 Original Android Development] mark2410:
well for the moment ive installed http://xdaforums.com/android/apps-games/widget-toggle-network-type-5-0-xda-t2945406 and thats giving me the functionality but i dont like that i cant access it properly though the network menu.

clearly since not everyone is having this issue there is something specific causeing it and i would like it to be as it ought to be.
[Nexus 4 Original Android Development] blusydays:
Hi everybody,

Can anybody tell me how to permanently hide the privacy icon on the top left of the screen, for all the apps ? I've found out how.

And is there a way to reduce the height of the navbar.

Thanks.
[Nexus 4 Original Android Development] skyld92:
"MMS: Add feature to auto-enable mobile data for MMS send or receive."

Niceeeee :good: :good: :good:
[Nexus 4 Original Android Development] mark2410:
am i being stupid but just flashed the new nightly (i have not used cm in years) and its just removed root?

so seriously i need to go hunt down the root flash i did yesterday and reflash it after every nightly???
[Nexus 4 Original Android Development] archibald_schlick:
Same thing happened to me yesterday on flo (Nexus 7 2013) coming from an older CM 12 nightly. Still wonder why, because i used the built-in superuser. was there any change lately?

Things like those little bugs keeping me from flashing CM 12 on my rock stable, daily driven mako with CM 11 M12.
[Nexus 4 Original Android Development] mark2410:
ditto, i havent used CM in anything in years i used modaco then aokp but as they have both died i thought lets go back to CM its not going anywhere.

so far its been, to be blunt crap. the rom wont let me change network type, it removes root with every flash, it not seems its turning off wifi everytime it sleeps even though in the wifi settings its sot not to. just what is going on?

is it that lolipop is just broken and its the source of all these troubles?

---------- Post added at 01:59 PM ---------- Previous post was at 01:57 PM ----------

oh and now opening contacts and it insta crashes.
[Nexus 4 Original Android Development] fishears:
Don't know what's going wrong for you guys but I flash every nightly & haven't had a single problem since the themes bug on 080315...
[Nexus 4 Original Android Development] mark2410:
could it possibley be because i jumped from jellybean? did maybe something get altered by kk that lolipop expects to be so but isnt?
[Nexus 4 Original Android Development] xXxTehxXx:
Same here.

I'd highly recommend everyone avoids dirty flashing up to CM12 (from 10/11/aosp/stock). Backup everything you need, then completely wipe the device in recovery, then install CM12. From there, use cyandelta or the cmupdater to keep up with nightlies. Always make sure your custom recovery (TWRP/CWM) is up to date, I use a free app called Rashr to keep the TWRP up to date, really useful.
[Nexus 4 Original Android Development] mark2410:
i was a clean wipe, yesterday wiped and went to ...325 and was having issues with it then when i dirty flashed ...326 still the issues plus it lost root. i have no clue as to why these issues. am contemplating a flash to stock and then a clean flash back to cm but i really cant face setting it all back up again. i have a rubbish net connection so takes for ever.
[Nexus 4 Original Android Development] pratamaaudi:
CM 12 Nightly 20-26

CM 12 Nightly 20-26 Changelog Video

hi guys, video for this week is finish :D , but its more short than before because only little change to UI and feature

for someone who wonder what is new feature for some nightly maybe you can watch my video ;)

[YOUTUBE]TzlpeQ6caC0[/YOUTUBE]
[Nexus 4 Original Android Development] icu64:
Ummmm wtf lol I haven't been having any of those issues and I've been using cm for weeks now. Flashed the last nightly and still no issue so far

---------- Post added at 03:46 AM ---------- Previous post was at 03:42 AM ----------

You should go back and install the stock image from Google then root then flash recovery and flash the ROM with gapps all over. Sounds like you could be having an issue because of no new boot loader and radio maybe?
[Nexus 4 Original Android Development] xtrymind:
CM 12.1 LMY47I

Here if anyone want to try ;) Download
[Nexus 4 Original Android Development] atulclassic:
How's battery life with kernel 3.4.18?
[Nexus 4 Original Android Development] kenhicg:
Has anyone been experiencing random reboots lately?
[Nexus 4 Original Android Development] mark2410:
i just have and im still getting the weird can only select 3g in network options. i have no clue what the F is going with it. going to flash stock jb then stock kk then stock lolpop.

---------- Post added at 03:32 PM ---------- Previous post was at 03:27 PM ----------

this is just getting more and more weird. went to stock 4.3 then let it update itself to 4.4. both gave no network options other than 3g. nothing else at all.

whats really weird is that consistantly the n4 has been finding a wifi signal for DIRECT- intermittently but no other diveice i have can see this mysterious access point.
[Nexus 4 Original Android Development] small2cats482:
Are there any major bugs? Can this be dirty flashed over the current CM12 nightly without issues? Any idea when the official 12.1 nightlies will be available for mako?
[Nexus 4 Original Android Development] mark2410:
to continue the weirdness.

a complete wipe and clean install of cm nighly ..327 and the start up wizard crashes on trying to log in. i wiped and re flashed, same, and again. i tried ...325 and the exact same thing. i cant get passed the start up wizard.

help please! i cant figure out what is going on.
[Nexus 4 Original Android Development] Shooting Star Max:
Nightly from 28/03/2015 is giving bootloops for me. Returning to 27/03/2015 nightly solved the problem. Be careful, although I don't know if this might happen to you guys.
[Nexus 4 Original Android Development] copong:
Try killing the network before going through the wizard.
[Nexus 4 Original Android Development] pratamaaudi:
check your gapps, it's installed or not ?
[Nexus 4 Original Android Development] mark2410:
You mean turn the router off?

They should be certainly flashed them and it seemed fine.
[Nexus 4 Original Android Development] copong:
No, airplane mode.
[Nexus 4 Original Android Development] xtrymind:
haven't got any major bugs, i'm using this as daily driver, it's better to wipe your data and cache and system too.

base on http://www.cyanogenmod.org/blog/all-about-l-part-1 it will be available next week ;)
[Nexus 4 Original Android Development] mark2410:
erm how?i wasnt see anyway to get past the wizard. everytime it crashed it just shunted me back to the start of the wizard, which would then of course crash.
[Nexus 4 Original Android Development] pratamaaudi:
wipe your data, , dalvik, and cache

install cm rom dan gapps, kernel too if needed

start your setup wizard :o
[Nexus 4 Original Android Development] copong:
Then take your simcard out, and go out of range of your router. Just don't give it any access to the Internet while you go through the wizard.
[Nexus 4 Original Android Development] mark2410:
well so far so good, that has let me login. a bit stunned thats what it took but thanks.
[Nexus 4 Original Android Development] ZenGTMM:
Notification Sound on Max

Hi guys,

I have been using CM12 nightlies since they launched it and I noticed a sort of bug in it. The notification volume seems to be inconsistent regardless of the volume (ringing, notification) I have set. Most of the time it will be blaring at max volume. I will get lucky sometimes when after restarting the phone the notifications sounds seems to be on par with the percentage of volume I have set. But after playing any games or watching a video where I change the notification volume, the notification volume will then go to max even though I have reduce the volume after exiting the app.

Please help. thanks. :o
[Nexus 4 Original Android Development] PsyTranc8EniS:
nice m8..thnx a lot
[Nexus 4 Original Android Development] mikeymop:
I'm considering jumping on CM lollipop builds sooner than later. I was originally waiting for an M release but seeing as they're mergine 5.1 I'm not so sure it's coming soon.

I'm looking to jump onto a nightly just before the 5.1 migration, with all the 5.1 backports, where it would theoretically be more stable. Running Stock has been a nightmare in stability for me and I'm at a point where I believe if I picked a good nightly, and stick too it until CM makes an M release I'll be better off than waiting on stock rooted.

Because of this, I haven't followed the nightly development much more than reading the change-logs.

How have the more recent nighties been treating you guys? Can you recommend a specific build? Do you find the nightlies more consistent in terms of the glaring bugs on stock (memory leaks, bsod, wifi and calling bugs)?
[Nexus 4 Original Android Development] shahartal:
Anyone can turn on the wifi in this rom? I cant and I dont know what the cause..

thanks
[Nexus 4 Original Android Development] dragos281993:
You could try to do a complete wipe of your device, then flash the ROM and it should work, assuming that you followed the instructions. I haven't had any problems with the wifi, except for the case where the wifi doesn't reconnect to the network the device was connected, when I go out of range. But that's not a problem for me. So try to do that complete wipe and see what happens.
[Nexus 4 Original Android Development] :
They said in a recent post on Google+ that the first milestone will come in the next 2 weeks.

Otherwise the last nightly 2903 is bugfree and stable for me.
[Nexus 4 Original Android Development] xtrymind:
here cm12.1 build 31, lot of update and fixes since build 28 :)

Download
[Nexus 4 Original Android Development] :
Wow, just ahead the google curve with cm12.2 ???
[Nexus 4 Original Android Development] xtrymind:
My bad :D :laugh::laugh:
[Nexus 4 Original Android Development] icu64:
Soooo does anyone know if cm has native support for f2fs? Does the kernel support it? I remembered it being added in cm11 but it in 12?
[Nexus 4 Original Android Development] xtrymind:
nope, official cm never add f2fs support for mako, even on cm11, you need to modified yourself

here my stock cm12 kernel, support for f2fs on /data and /cache

download
[Nexus 4 Original Android Development] abhishekjain.ims:
Need a short review of CM 12.0

Hi guys,

Currently I am on stock Android 5.0.1 on my Nexus 4 & planning to make some changes in my phone. But I need to know from you guys that if it is worthy to flash CM 12 over stock android ?

- What is the difference in benchmarking score after flashing it into CM 12.0 ?

- What is the differences in battery backup after flashing it into CM 12.0 ?

- What about the OTA updates in CM 12.0 ? Can I update more nightlies through System updater or do I need to update it through CyanDelta updater ? &

- What kernel is best for CM 12.0 ?

Thanks in advance.

Abhishek
[Nexus 4 Original Android Development] copong:
Performance will be comparable, so is battery life. The main point for CM is greater customisation and themes. Nightlies update through built in ota updater or cyandelta. I personally prefer ota updater as cyandelta locks my phone for minutes while it's creating the new zip file and I always update at home where I have wifi anyway. Stock CM kernel is good. Generally, the current nightlies work just fine, although I'm no longer able to pair the phone with a bluetooth speaker that worked fine under stock kitkat. YMMV.
[Nexus 4 Original Android Development] abhishekjain.ims:
Hi copong,

So will you recommend CM 12.0 for me instead of stock 5.0.1 ? & anytime I can go back to the stock rom by just using fastboot commands mentioned in the Google developers site right ?

Regards,

Abhishek
[Nexus 4 Original Android Development] :
You should do a Nandroid backup from recovery and put it in a safe place. That's the easiest way if you want to go back.
[Nexus 4 Original Android Development] copong:
Definitely, you'll need to do a factory reset before going to and fro stock lollipop and CM. I'd recommend rooting your stock lollipop, backing up everything with titanium backup, then restoring said backups once you flash CM
[Nexus 4 Original Android Development] abhishekjain.ims:
I will do a factory reset on my stock android then I will install TWRP & take a backup of whole stock rom. After that i will install CM12's latest built. I hope everything goes smooth.

Now, in future if I flash stock image from Google developers through adb flash-all commands then will I get my stock recovery back along with the stock android ?