yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] niwaywood:
Hey guys,

My friend and I are both running cm10.1-RC2 on our phones and we were just looking through the settings and noticed that are settings are different. Attached are the screenshots showing my about phone settings and where the settings are different, and my friends screenshots.

As you can see on one phone it says "Notification light" and the other it says "Pulse notification light".

Can anyone explain how this is possible???
[Nexus 4 General] SleemLDJ:
I see two experimental builds with different MD5's on get.cm.

Which one should install?
[Nexus 4 General] rawdealer:
Compare your system language. ;)
[Nexus 4 General] azrash:
get the latest build of the two. Check the timestamp

Flowed from my Nexus⁴
[Nexus 4 General] nemonius:
Bug or feature?

After call in bright daylight, you cant see screen because after hol.ding phone to your ear, phone obviously thinks it is nighttime :) after few seconds auto brightness kicks in again.

Using nightly 20.5.2013
[Nexus 4 General] markd0wn:
Encountered a new annoying thing that started happening recently, not sure if it's a ROM/kernel thing, or maybe my mobile provider or something else entirely.

I'm using CM10.1 Linaro 2013-05-23 with the gEnableSuspend=2 fix (hsic_fix_nexus4_wlan_v6.zip) and franco.Kernel #140. This is also my order of flashing (rom->wifi-fix->franco->gapps). Been using that setup for a while now.

The problem started a few days ago, which made me do a full wipe (data/system/cache/everything) and make a clean install, this was with the 05-20 build. At that same day, I think the problem didn't occur, so I thought the clean install fixed it, but then it came back (not sure if dirty updating could be the cause - doubt it - and can't be 100% sure the initial problem was even fixed after that wipe).

The WiFi fix, while not perfect, does help with notifications -- even if not instant, it's still pretty quick and better than the default behavior. It also completely fixes the scenario where you wake the device and suddenly all notifications come at once (you'll see why I mentioned that scenario in a moment).

And now, on to the actual problem. It looks like the delayed notifications keep hunting me, albeit in a different way this time. Whenever I'm outside, with no WiFi at all (so the fix is probably not to blame in any way), it looks like notifications are now delayed with mobile data. And this time it doesn't have anything to do with deep sleep - it can happen even if the screen is on for a long time.

I always have the "H" (HSDPA) icon when WiFi is off and mobile data is on, and it turns to H+ when actively using internet data. So now, lets say I get a WhatsApp message and WiFi is off but mobile data is on, I won't receive it until I actively trigger any app that uses mobile data, such as opening a browser, YouTube, manually opening WhatsApp, etc. At that moment, the icon changes to H+, meaning data is used, and then suddenly all notifications show up at once. It's like it won't use data in the background (even though it can) until I manually make it connect to something.

Any ideas?
[Nexus 4 General] CMNein:
If anyone is curious, no the N4 radio doesn't display the dchspa band. :(
[Nexus 4 General] Ok_Kaleidoscope5109:
Do you know what sound is used for the wireless orb? I'd like to replicate this for plugging/unplugging also.
[Nexus 4 General] CMNein:
WirelessChargingStarted.ogg in system/media/audio/ui
[Nexus 4 General] Ok_Kaleidoscope5109:
So to make it work for AC plugging, if I copy the file to the /media/audio/notifications I should be able to select it in the menu now?
[Nexus 4 General] fenstre:
This problem makes me miserable. The bug report is here. The XDA thread is here.

Suboptimal behavior, not exactly a bug.
[Nexus 4 General] 0.0:
For AC plugging in? I think it may be more of a framework type of thing

Sent from my Nexus 4
[Nexus 4 General] Aqq123:
Backup and Restore Settings: Best Approach

How do you backup (and restore) your CM settings?

Background

I've just got my N4 and would like to follow CM 10.1 nightlies. I know I can do incremental updates and keep my settings, but I expect that once in a while there might be the need to wipe everything and flash from scratch. I'd like to be prepared for such a situation so that I don't need to set everything up again - it's a lot of options. (I don't really need to backup apps, just the settings.)

Options I know of

I understand there's no built-in solution for that (see CYAN-763).

Google "syncs" some settings to my online profile, but that's obviously not enough: it doesn't cover any of the CM extended settings.

Many people mention Titanium Backup, but there are also some potential issues with it - especially if restoring to a different CM version. It also seems like an overkill for my needs.

Someone recommends making a copy of /data/system/profiles.xml to keep profile settings. I guess other settings can be preserved just like that, I'd just need to copy some other files. Is there a list of such files where the settings are stored somewhere?

Or what other way do you use to backup and restore your settings?
[Nexus 4 General] 75markus:
honestly i only did dirty CM flashes since i got my N4 in January, everything is still working flawless :fingers-crossed:

in the past i used mybackuppro for backup/restore of apps and settings, it all worked well
[Nexus 4 General] Fr33L4nc3r:
Not since the implementation of power sounds :

http://review.cyanogenmod.org/#/c/35241/

http://review.cyanogenmod.org/#/c/35242/

Check at the bottom of sound settings.

Edit : Explicitely quoting you gives me server errors each time. Had to remove your name + post number.

Guess it doesn't like 0.0 :silly:
[Nexus 4 General] CMNein:
Haha, I had given up. I thought XDA was specifically messing with me.
[Nexus 4 General] Smallsmx3:
Anyone here using miracast device with their nexus?
[Nexus 4 General] spudkinks:
So... I don't really use Bluetooth at all... I keep it off unless I'm driving a long way (hardly ever) haven't used it in over two weeks. a search revealed nothing for me on this topic. Bluetooth still accounting for 58% of battery usage?! Thought I should add... I'm on nightly 5-24 stock kernel... And just started thinking it may actually be WiFi consuming that power, as I don't see WiFi accounting for any usage. Thoughts?

THE NEW PHONE BOOKS ARE HERE! THE NEW PHONE BOOKS ARE HERE!
[Nexus 4 General] saranyan:
Happened to me with GPS once, Do a dirty flash and check, That solved it ffor me.
[Nexus 4 General] slugger09:
Can I ask a noob question? Is it really necessary to flash every released nightly? At the moment I am still on 22nd, would updating once a week do?
[Nexus 4 General] 0.0:
It's not necessary. Some nightlies have barely any changes. Just need to check the gerrit or the change log site (not sure what it is)

Sent from my Nexus 4
[Nexus 4 General] strainhunter:
I flash every Nightlie, sometimes twice, because i´m scared that if i stop flashing someone from CyanogenMod-Team will come and kill me! ;)

No, really...no one forces you to flash every Nightlie^^ just look at the changelog ( http://10.1.cmxlog.com/?device=mako ) and if there are some changes/new features etc. you like, then flash it. If there´s nothing new or nothing of interrest to you, then just skip it.

Greetings, Strainhunter
[Nexus 4 General] eezdva:
Not really sure if this is ROM related. But with Whatsapp with certain people there is no "last seen online" with some people.

And no people didn't block me :)))

If the person writes me and I open the message it works. But once the screen is off and open Whatsapp again and then there it's blank . :(((

Bit annoying. Anyone???
[Nexus 4 General] machoman1337:
Just look at the changelog to decide if it's necessary or not. Most nightlies contain nothing other than translations making them unnecessary updates. But if a nightly contains core changes to the framework, or device-specific changes (i.e. classified as a change to device/lge/mako) then it might be a good idea to try it out.
[Nexus 4 General] spudkinks:
Update...

Dirty flash did not fix issue. However it seems as though a full charge took care of it
[Nexus 4 General] enviii:
I don't think it's necessary this far into the cycle. It makes sense to flag nightlies every few days on a) non Nexus devices where bug fixes are more common and b) when a major android version is released.

I've only flashed milestones and release candidates in the last 2 months or so.
[Nexus 4 General] Fr33L4nc3r:
Just noticed the new version of http://changelog.bbqdroid.org/#/mako/next (rarely checking it since I prefer 10.1.cmxlog.com/?device=mako)

Some good improvements such as having both gerrit and github links :)
[Nexus 4 General] CMNein:
I dig the new layout, always checked it as well to see the stiff that was pushed directly to Github.
[Nexus 4 General] soumoks:
Hey guys quick question,while updating from one nightly to the other is it necessary to flash the gapps package as well?

also where do i find the changelog of nighlies? TIA :)
[Nexus 4 General] spudkinks:
Nope! Flash nightly only... Profit

THE NEW PHONE BOOKS ARE HERE! THE NEW PHONE BOOKS ARE HERE!
[Nexus 4 General] Daniel_GT:
Link to changelog two posts above yours, and in many many other parts of this thread. Please read and search a bit before asking, a lot of common queries will of come up more than once.
[Nexus 4 General] soumoks:
sorry abt that..
[Nexus 4 General] Daniel_GT:
Not a problem. You'll find that you learn a lot and pick things up really quickly just through searching around a bit.
[Nexus 4 General] 75markus:
just dirty flash them over, the updater script inside the GAPPS deletes the old versions first :)
[Nexus 4 General] CloudyPear:
Awesome, nice and simple!

Thanks a lot :cowboy:
[Nexus 4 General] scidon37:
Is there a way to open the alphanumeric input screen manually? It comes up when the text box will only accept numbers, but I can't figure out how to switch to it any other time. I'm using the stock keyboard.

View attachment 1778993

Also, is it possible to send an SMS to a Contact Group using the CM SMS app?
[Nexus 4 General] sikhest:
App Screen

The App screen is flickering a lot for me when I scroll. This only happens when it is set to vertical. Is anyone else having this issue? I'm using the latest experimental build.
[Nexus 4 General] ergalle2:
There is something missing in CM compared to stock ROM?
[Nexus 4 General] Jean_85:
Mainly, the Gapps. Also Current, and some other secondary app, that you could download\backup otherwise, anyway...
[Nexus 4 General] ergalle2:
Thanks.
[Nexus 4 General] frenccw:
Does anyone experience delays with their notifications? It's either that or I only get them only when my screen is awake. Also, you can see the notifications rushing to appear at the top bar and the widget refreshing the instant i wake my phone. This happens both on Wi-Fi or 3G

I'm on M2 with franco r86.
[Nexus 4 General] derPianist:
AW: [ROM][4.2.2] CyanogenMod 10.1 Nightlies DISCUSSION,TALK, Q&A thread

No.

Nothing. Only cell broadcast settings are not included by default.

Just flash Franco's r97. He merged a codeaurora fix for the WiFi delay and then you should be good to go. :)

---------- Post added at 07:09 AM ---------- Previous post was at 07:09 AM ----------

No. It isn't possible. The alphanumeric keyboard pops up, when a specific apps needs it in a specific circumstance.
[Nexus 4 General] 0.0:
if i push the Cell Broadcast apk into the /system of the ROM, will that enable the settings? or do i need to tamper with lines of code to enable it?
[Nexus 4 General] domii666:
M2 is great!
[Nexus 4 General] fireflyv2:
Hi,

Does the HDR mode in the CM cam (not the stock cam from gapps) take 3 pics approximately 1 second apart? The HDR mode in the default stock cam does that really fast so that you would not notice, if you kept the phone still, almost like 1 shot itself.
[Nexus 4 General] derPianist:
AW: [ROM][4.2.2] CyanogenMod 10.1 Nightlies DISCUSSION,TALK, Q&A thread

No. Just push the broadcast app to system/ app and dont forget to set the right permissions. Thats it. :)

Its fast enough for me.
[Nexus 4 General] xdafann:
Re: [ROM][4.2.2] CyanogenMod 10.1 Nightlies DISCUSSION,TALK, Q&A thread

Hey guys, using m2 I don't receive gmail new emails even though I have sync enabled. I have to get to gmail for it to refresh...

Any fix for this ?
[Nexus 4 General] fairyshacker:
?

where can i find the "Restart to Recovery" option on the new build ?
[Nexus 4 General] labbe-:
Re: [ROM][4.2.2] CyanogenMod 10.1 Nightlies DISCUSSION,TALK, Q&A thread

answered in the FAQ in the OP ;)

Sent from my Nexus 4
[Nexus 4 General] nguyen47:
Re: [ROM][4.2.2] CyanogenMod 10.1 Nightlies DISCUSSION,TALK, Q&A thread

It seems the latest nightly reduces delay notifications a lot :cool:
[Nexus 4 General] ratcav:
R: [ROM][4.2.2] CyanogenMod 10.1 Nightlies DISCUSSION,TALK, Q&A thread

Hi. I noticed that the lowest frequency is always set at 1026, and if you decrease it, it will reset to 1026.

The processor sometimes go at 384.

Is this behavior normal or should I make a full wipe? Thanks
[Nexus 4 General] CMNein:
That's normal behaviour for the stock Google and the CM kernels. That's "mpdecision".
[Nexus 4 General] ratcav:
R: [ROM][4.2.2] CyanogenMod 10.1 Nightlies DISCUSSION,TALK, Q&A thread

Thanks for the fast reply.

I knew about mpdecision but 1026 as the minimum seemed strange to me.
[Nexus 4 General] MuadDib_II:
I'm having this issue too. I first thought that I had and old CM camera version (I was on RC1 w/ the green package zip) and then I update to the 20130525 nightly to check it, but the problem still there...

---------- Post added at 12:00 PM ---------- Previous post was at 11:59 AM ----------

Try to focus and see if it works...
[Nexus 4 General] eezdva:
Yup correct. It's a little bit a bug . Hope it get fixed soon.
[Nexus 4 General] 75markus:
just finished my 1. self build :D
[Nexus 4 General] DrunkFuX666:
Good job dude... I predict you will be a huge asset to this community soon... As in bigger than you already are ;)

Sent from my Nexus⁴
[Nexus 4 General] CMNein:
Congrats! They only get faster from there. First build is painfully slow. Make sure you enable ccache.
[Nexus 4 General] 75markus:
thx !

my first fresh build with "make clean" took exactly 40 min, i guess that´s not so bad ?!

(i´m running ubuntu in a virtual machine on my win7, with an I7 @3,33GHz and 20GB RAM assigned, 75GB SSD)

for practising, i did another build afterwards without "make clean", and it did just take 2,5 minutes ... that´s normal for a "dirty" build ?

isn´t it recommended to always "make clean" ?

my normal steps in the future will be :
[Nexus 4 General] rskyline:
anyone knows how to disable noise cancellation?

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 General] CMNein:
ccache will help you as well, even with a clean build, but your machine specs are great, 40 min for a first build is phenomenal! With ccache on and making clean you'll probably be at about 15 minutes from here on out.

The 2.5 minute build sounds right, keep in mind there wouldn't have been any changes, if you do a dirty build in a day or so it will take longer.
[Nexus 4 General] 75markus:
thx,

yeah, my baby was running full speed :cowboy:

so, would you recommend the following for future builds ? :

cd cm10.1
make clean
repo sync
export USE_CCACHE=1
~/cm10.1/vendor/cm/get-prebuilts
. build/envsetup.sh
time brunch mako

you think it will speed up to 15 min with make clean in future ?
[Nexus 4 General] thracemerin:
ccache roughly halves the compile time of my builds, even clean builds.
[Nexus 4 General] CMNein:
That's not exactly what I do, but my machine is considerably slower than yours so I save time where I can. Rather than make a true clean build I rm the out/target directory, but leave the out/host directory in place. On my crappy laptop this reduced my build times by 25%. I wouldn't worry about that on your machine however.

Aside from that, everything else is the same. I've been resisting the temptation to buy a new cpu a lot lately, not feeling too confident in the markets right now, so the angel on my left shoulder is doing a better job of influencing me than the devil on my right.
[Nexus 4 General] Daniel_GT:
Looks fine, some things you might want to consider (points 3 and 4 are the speed related ones);

Have a look into

make clobber

If you add

export USE_CCACHE=1

into your /home/.bashrc file you don't have to type it each time.

You can set the size of CCACHE by typing the following before you make

prebuilts/misc/linux-x86/ccache/ccache -M 50G

replacing "50" with the size you want (in GB). The default setting without this config is only around 1GB which is not considered that much... probably best to research an appropriate figure for your own setup.

And lastly, threading. There are loads of opinions out there (it'll keep you busy for hours, and you'll never get a definitive answer!) but the long and short of it is telling the build how many parallel jobs to run. So instead of

brunch mako

you'd run

breakfast mako && mka -j8 bacon

where again you replace my figure, "j8" with the number you decide is best for your setup.
[Nexus 4 General] CMNein:
So many conventions:

j-number of processors

j-double the number of processors

j-double the number of processors +1

???

Which did you go with?

Re make clobber vs make clean, I thought that they were equal when building Android (?)
[Nexus 4 General] thracemerin:
The standard is -j(num of cores + 1), else you may lock your system up by trying to run too many threads

make clobber and make clean do the same thing when building Android.
[Nexus 4 General] Daniel_GT:
Another thing with

repo sync

If you have modified any of the directories locally the command will not overwrite those changes UNLESS there are changes in the CM project cited in the manifest. In that case, your local directory will be replaced in favour of the changed CM project and your own changes overwritten.

Simply put, if you've cherry-picked a commit you'd like in your build (MakoParts for example) that goes into your /device/lge/mako directory that will stay there until CM do something new, anything new, to the android_device_lge_mako repo on github. Once they do that, when you sync the latest project version is pulled in favour and overwrites your old amended one.

Edit: Not strictly true actually, I'm getting ahead of myself. If you CHERRY-PICK you are making a new commit locally so ANY sync will overwrite it. If you don't commit your local change (overtype or git apply a patch) it will stick until the upstream project repo is changed.

You'll need to keep a careful eye on what changes are made when you sync to check whether you need to cherry-pick your commit again, or look into using a local manifest. This guide is good.

---------- Post added at 08:22 PM ---------- Previous post was at 08:18 PM ----------

To be honest with you I went cross-eyed researching it. In the end, I tried j4, j8, j12 and j16 with a stopwatch and j8 won.
[Nexus 4 General] 75markus:
thx guys for the help,

i did another build with my buildme.sh script :

#!/bin/bash

############################################################
# PREPARE BUILD ENVIRONMENT
############################################################

# Force break on error

set -e

cd ~/cm10.1

# Remove entire build directory to ensure fresh start

cd ~/cm10.1 && make clean

############################################################
# REPO LATEST SOURCE FILES
############################################################

# Repo sync

cd ~/cm10.1 && repo sync

# Turn off break on error to allow build process to run

set +e

############################################################
# BUILD ROM
############################################################

# Turn on compiler caching

export USE_CCACHE=1

prebuilts/misc/linux-x86/ccache/ccache -M 50G

# Start build process

~/cm10.1/vendor/cm/get-prebuilts

cd ~/cm10.1 && . build/envsetup.sh && time brunch mako

############################################################
# SHOW THE COMPILED ROM
############################################################

echo 'Build Completed Successfully!'

sleep 5

nautilus ~/cm10.1/out/target/product/mako

exit

building time was faster this time , 34 mins

real	34m20.723s
user	204m18.602s
sys	29m45.824s
Build Completed Successfully!

I´ll take a deeper look in this stuff in the next days :)
[Nexus 4 General] TecQuality:
News about 4.3 nightlies?
[Nexus 4 General] thracemerin:
Yes, they will come some time after 4.3 is pushed to AOSP and not before. The CM team doesn't have advance access to anything.

When there is an official announcement, you will see it through the usual channels (G+, Facebook, cyanogenmod.org, twitter, etc...)
[Nexus 4 General] isarebe:
any known conflict with CM notification light settings and Light Flow?
[Nexus 4 General] ssauger:
Pie Controls

I don't use pie controls that often, but i noticed when i enter expanded desctop, pie doesn't work for me. Reboot phone fix it but after some time, i am unable to use pie again till reboot. I am on cm-10.1-20130526-NIGHTLY with cm kernel. Anyone else got a issue wih pie?
[Nexus 4 General] negroplasty:
No issues here, though I will admit its activation could be a little easier... that could just be due to screen sensitivity though. That being said, I'm sure it can and will be improved. I have to apply a fair amount of pressure and really pronounce the sliding up from the screen's border or it won't come up. It's a real PITA when you're using the phone on a flat surface with one hand... damn near impossible to get PIE to come up.
[Nexus 4 General] isarebe:
Answered my own question.

enable notification light.

disable battery light.
[Nexus 4 General] Fr33L4nc3r:
Agreed.

Before http://review.cyanogenmod.org/#/c/35313/ and http://review.cyanogenmod.org/#/c/35314/ got merged, it was difficult to swipe in certain apps (pie triggered first).

Now, it's a bit the opposite, having some difficulties to trigger pie.

But I have faith in the improvements upcoming in http://review.cyanogenmod.org/#/c/38038/
[Nexus 4 General] 75markus:
doensn´t "brunch mako" use all available threads already ? Chasmodo told me that
[Nexus 4 General] mitsos1996:
I have just installed CM and i would like to ask what are the benefits of installing a custom kernel and which is the most suitable for cm?
[Nexus 4 General] 75markus:
there are many you can choose from, just have a look in Nexus 4 Original Android Development section ...

benefits are (eventually) better battery life, possibility to overclock, more responsiveness, more features (like USB fast charge), etc

"most suitable" doesn´t exist, some people like A, some people like B ...
[Nexus 4 General] Daniel_GT:
And do it does, I learn something new on here everyday! Having a look at envsetup.sh, "brunch" (in detail) equates to;

function brunch()
{
breakfast $*
if [ $? -eq 0 ]; then
mka bacon
else
echo "No such item in brunch menu. Try 'breakfast'"
return 1
fi
return $?
}

The kicker is the "mka" bit;

function mka() {
case `uname -s` in
Darwin)
make -j `sysctl hw.ncpu|cut -d" " -f2` "$@"
;;
*)
schedtool -B -n 1 -e ionice -n 1 make -j$(cat /proc/cpuinfo | grep "^processor" | wc -l) "$@"
;;
esac
}

which evaluates the capabilities of the build system and sets threading accordingly.
[Nexus 4 General] SleemLDJ:
Anyone noticed stuttering when opening applications?
[Nexus 4 General] TecQuality:
Guys, i need a tip what a good app for radio fm that wprks worldwide? TIA
[Nexus 4 General] Chintao:
Franco.Kernel is awesome! try the last nightly, you will be impressed ;)
[Nexus 4 General] 75markus:
you´re right, i did another (make clean) build today with 70 GB ccache :

export USE_CCACHE=1

prebuilts/misc/linux-x86/ccache/ccache -M 70G

and guess what, building time was 14 min today, i couldn´t believe it :D:p

about ccache, will it get reset each time you start a new build or is recommended to clear it from time to time ? it´s filled with 4,4 GB after my build

cache size 4.4 Gbytes
max cache size 70.0 Gbytes
[Nexus 4 General] CMNein:
Good stuff! 14 min is ridiculously fast, I'm at 63 minutes on my sacrificial laptop :cyclops:

Just leave ccache alone, it will manage itself. What's there now will be utilized for the next build.