yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] CMNein:
Agreed. I went with 150GB disk and have my ccache at 50GB. Space has a habit of disappearing quickly. I can't imagine not building with ccache, would be painful even on a beast of a cpu.
[Nexus 4 General] thracemerin:
Yeah, once you have a fully seeded ccache it cuts the build time by about half, maybe more.
[Nexus 4 General] mariotme:
Guys is it just me or is the ringtone/notification sounds are kinda low

On the 30th unofficial cm10.2?
[Nexus 4 General] lamaqc:
I always been on cm rom since day one of my nexus. Last day, I try 4.3 and get back to CM few hours later. For an unknown reason my backup didn't want to restore so I start from a clean new install.

My question is: Before, when I swipe down the notification bar, I always get the quick setting icon. Now if I swipe left part of the notification bar part I get the quick setting but a swipe down from the right part of the notification bar bring me the big icon setting without the notification.

I want to always be on the quick setting page with notification and I'm sure it was like this before. Anyway to enable this? Didn't find the setting myself. Thanks

Edit: Nevermind I just found it :)

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 General] philidor:
I'm building now a cyanogen from source.... I'm a little sick at home so to kill time I prepare a build machine..,, only 6gb ram... Hope to finish for tomorrow :) .,. My first build...
[Nexus 4 General] OguzhanVarsak:
When release to CM10.2?
[Nexus 4 General] sNoxious:
Oh no you didn't.
[Nexus 4 General] TecQuality:
guys just a silly question: i need to be rooted for installing CM? or just a custom recovery? thanks :p
[Nexus 4 General] OguzhanVarsak:
No :(
[Nexus 4 General] paranoid android85:
Just custom recovery
[Nexus 4 General] TheSniperFan:
Custom recovery is enough. Root is included in the Rom, although it's disabled by default.
[Nexus 4 General] TecQuality:
okay guys, thanks :)

i'm going back to CM10.1.2 cuz i've encountered troubles with my carrier (stock 4.3) my device is working but i can't receive any call and sometimes the data won't work ... so i'm trying ro revert my ROM and see if this fix the issues. :/
[Nexus 4 General] johnmain:
I am running I 10.2 ROM from the android development forum. It is running pretty good but the CPU settings for min and max don't seem to stick.
[Nexus 4 General] thracemerin:
that's normal, part of mpdecision.
[Nexus 4 General] johnmain:
Cool. It is so fast and battery life is good.
[Nexus 4 General] bassmadrigal:
Since we got on the discussion of compiling, I tried building my own version a few times over the weekend. Every build ended up with a black screen on boot. I tried using both the binaries from Google (installed using their script) and from a random 4.3 build I downloaded from here (changed the get_prebuilts. script to point to that folder rather than my device). I was also wondering if it was because of an outdated bootloader or radio (which has since been confirmed is not need), so I updated both to the latest version.

When it is stuck, adb doesn't work, so I don't think there is anyway to pull a log (and I'm assuming it is crashing while trying to start up rather than just not showing an image... also, I don't believe it is a kernel panic since /proc/last_kmsg is not updated at all). I'm just wondering if anyone has an idea why it isn't working? Or is there anything I can do to shed more light on why it isn't booting?

This was my first time at attempting to compile CM myself, and while it was pretty easy to get a build environment running on Slackware (only needed 4 dependencies, all available via slackbuilds/sbopkg), the fact the build never boots is kinda frustrating.

Thanks in advance :)

Oh, and the initial repo sync for 10.2 was 15GB prior to compiling. After doing two builds with ccache enabled, I am at 35GB in the ~/android folder. Just for those who may be curious.
[Nexus 4 General] CMNein:
What does your local_manifest.xml look like? Probably better to get all the binaries, etc... via that route.

Make an xml file in .repo/local_manifest, or just place it in .repo for now and it will make a folder for you in case there isn't already one. Your manifest should look like this:

<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-10.2"/>
<project name="CyanogenMod/android_device_lge_mako" path="device/lge/mako" remote="github" revision="cm-10.2"/>
<project name="CyanogenMod/lge-kernel-mako" path="kernel/lge/mako" remote="github" revision="cm-10.2"/>
</manifest>
[Nexus 4 General] andy o:
That seems like the clipping issue. Should happen, if the sound is loud enough, on all Android devices cause it's appears to be an issue where Android just doesn't let apps control the gain of the mic. Faux Sound with Faux's kernel does let you control the real gain, I'd try it and see if this gets fixed. It is the reason I'm using his kernel, cause even voice gets clipped on VoIP. With the nexus 4 it is more evident cause the mic gain is so high.

See here for more info: http://xdaforums.com/showthread.php?p=35422851.
[Nexus 4 General] kalpik:
I have a buildbot for CM 10.2 for mako. Syncs at 6:30 AM (indian standard time) every day, and churns out a new nightly around 8AM. The link is in my signature :)
[Nexus 4 General] rskyline:
Yeah, i've seen phones like Blackberry z10 that records sound amaizingly! My Nexus is crap on that side. But maybe i can try Faux sound, i'll think about it because i don't like custom kernels..
[Nexus 4 General] bassmadrigal:
Thanks for this. I had no local_manifest.xml, so I created one under .repo/local_manifests/ and proceeded to do a repo sync. However, it complained that I had a duplicate project.

fatal: duplicate project CyanogenMod/android_device_lge_mako in /home/jbhansen/android/system/.repo/manifest.xml

There was no duplicate projects in the .repo/manifest.xml for the mako, but I figured the repo sync was probably erroring out due to roomservice.xml containing the same project information (maybe not smart enough to figure out where the error is coming from?). I then modified local_manifest.xml to remove the duplicate projects (figured I should just keep the roomservice.xml as it is). I then removed my vendor folder and ran repo sync and it synced properly.

I did a diff on the two vendor directories, and it seems that the scripts used from downloading the Google drivers puts files in all the wrong places. Namely the qcom drivers and the broadcom drivers.

But I am gonna try building again (even if it will take several hours due to my computer being extremely old... I really need to build a new one as this one is circa 2008).

Thanks for the advice :)
[Nexus 4 General] occtec:
Is there a official release of 10.2 as yet?

Sent from the wizard of OZ
[Nexus 4 General] bassmadrigal:
No. You can check for yourself at http://get.cm/?device=mako

You can also follow CyanogenMod's Google+ page, as I am sure it will be announced there once they start rolling out.

http://plus.google.com/+CyanogenMod
[Nexus 4 General] CMNein:
You will emerge victorious!
[Nexus 4 General] johnmain:
I am going to try building 10.2 on my hackentosh. I want to learn to do some ROM tweaking.

I had tried building the stock ROM and that did work but was a stripped down.
[Nexus 4 General] bassmadrigal:
And I did. Thanks again for the ever so simple thing of adding a project for the blobs. Made my life a ton easier. :highfive:

Now, if I could just get a faster computer that will recompile things quicker. Even with ccache, it took about an hour to recompile (took about 6.5 hours for the initial compile). Up until this weekend, I thought this computer (AMD Athlon64 X2 6400+ w/ 8GB RAM and ~10TB of hard drive space) was still more than powerful for what I needed it for. I guess this isn't the case anymore :crying:
[Nexus 4 General] bassmadrigal:
One more question, this time about ccache. The official build guide on CM's wiki for the mako only mentions setting the environment variable, however in doing additional reading, it seems you actually need to set up ccache before you can ever use that variable. Apparently you do it by using the following code (replacing the "xx" with whatever size you want to specify):

prebuilts/misc/linux-x86/ccache/ccache -M xxG

My question is what size should I use? The Initializing a Build Environment page on android.com says the suggested ccache size is 50-100GB. On my build drive, I have tons of space. It is a 1TB and I am only using ~100GB (with no plans to ever fill up the remaining amount as that is what my other drives are for). Is there really a need to set aside 50GB for this? Is it worth it to specify the 100GB for ccache? Should I go even more? Would it even help to go more? What are you guys using for your sizes?

ccache is relatively new to me. Typically when I compiled things in Slackware, it was usually a once and done thing, but I could see me compiling my own builds more often with CyanogenMod, so I figure I should get this right (or at least get a basic grasp on it).
[Nexus 4 General] Utacka:
Start with 50GB, then if it ever fills up (if you are doing different cm projects for example) then just specify a new higher size. I myself use 100gb ccache. I dont believe that you will be using more than 20GB for one project but I went with 100GB from the start and still using it.

My initial compile time is 45 min for cm10.2

My ccache clobber compile time is 15 min

My ccache non-clobber compile time is just a few minutes.

If you dont want to clobber (clean /out dir) then the cleanest way is to do the following:

make installclean

find ./out/ -name 'build.prop' | xargs rm
find ./out/ -name 'cm_*-target_files-eng*.zip' | xargs rm

This will save some time for you compiling if you have slow machine, I prefer to 'make clobber' for every compile thou since I have a fast machine. :D

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 General] andy o:
FWIW, I brought this up a while ago, to see what people here thought about the likelihood of CM implementing Faux's kernel code in its own kernel, which Faux has published in the FauxSound Play Store page, but it seems very unlikely.
[Nexus 4 General] respider:
thank you sir

downloading right now

anything not working?
[Nexus 4 General] kalpik:
Everything works! Only Focal crashes sometimes.
[Nexus 4 General] Thibaultvw:
Are there already 4.3 builds? Cant find them at get.cm...
[Nexus 4 General] webwude:
No "official" ones atm.
[Nexus 4 General] Utacka:
offical nightlies hasnt started yet, I upload my builds here if you are intrested: http://d-h.st/users/Utacka

There are tons of unofficial builds here in xda, just pick one to go. :]

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 General] Thibaultvw:
What is actually the biggest difference between official and unofficial? And how can you build CM?
[Nexus 4 General] CMNein:
I've cheated a bit in the past and didn't remove the out/host directory when doing a "clobber" build. Reduced the build times by ~25%. Was handy when I was using a slower machine. Handy tip that Sven Daw mentioned on G+.
[Nexus 4 General] rskyline:
Is posible to pause a repo sync?

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Nexus 4 General] philidor:
I'm interested

Too

My system was installed with only 25gb of users space to less for build CM.... so I have to repartition my system and now I have 75gb... I hope that they will be enough :)
[Nexus 4 General] Utacka:
Might work, but I believe is way to small if are using ccache effeciently. But try it and prove me wrong :]

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 General] Fr33L4nc3r:
Do not Ctrl + C or Z, best way to screw your repo with git corrupted or empty objects at next sync ... You don't want to deal with that ...

Hanging repo can be "safely" killed using "python killall" command if i recall correctly (check Google first)

Edit : OK, you just want to pause, so my answer is a bit off topic. Anyway, still a good tip to know.

Sent from my Nexus 4
[Nexus 4 General] philidor:
..... With my current configuration I can produce unofficial nightly.... Efficiently I can't say. Now I'm trying to comprehend what I do following the wiki of cyanogen. (Very well made for a practical purpose).
[Nexus 4 General] visceralpsyche:
How do I get a new APN submitted to CyanogenMod?

Here in Japan SoftBank has instituted a new APN for their 4G smartphones and I've just been slugged with a hefty fee for having the wrong one set by default by CyanogenMod!

I now have the proper settings but I want to make sure that no one else has to suffer like I have, by having CyanogenMod set the right APN for the 4G SIM card (silver in colour) on non-SoftBank phones such as my Nexus 4.

Any help in getting the APN into CM10.1 etc would be awesome.

Cheers from Tokyo :)
[Nexus 4 General] thracemerin:
Submit it to JIRA.
[Nexus 4 General] rskyline:
Lol thanks. So isn't possible to pause the download?

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Nexus 4 General] johnmain:
I am trying to build 10.2 on my Mac and I get the following:

Johns-Mac-Pro:cm10.2 johnmain$ breakfast mako

including vendor/cm/vendorsetup.sh

build/core/combo/HOST_darwin-x86.mk:68: *****************************************************

build/core/combo/HOST_darwin-x86.mk:69: * Can not find SDK at /Developer/SDKs/MacOSX.sdk

build/core/combo/HOST_darwin-x86.mk:70: *****************************************************

build/core/combo/HOST_darwin-x86.mk:71: *** Stop.. Stop.

Device mako not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Found repository: android_device_lge_mako

Default revision: cm-10.2

Checking branch info

CyanogenMod/android_device_lge_mako already exists

Syncing repository to retrieve project.

Repository synced!

Looking for dependencies

Done

build/core/combo/HOST_darwin-x86.mk:68: *****************************************************

build/core/combo/HOST_darwin-x86.mk:69: * Can not find SDK at /Developer/SDKs/MacOSX.sdk

build/core/combo/HOST_darwin-x86.mk:70: *****************************************************

build/core/combo/HOST_darwin-x86.mk:71: *** Stop.. Stop.

** Don't have a product spec for: 'cm_mako'

** Do you have the right repo manifest?
[Nexus 4 General] Packsman:
I had this problem before and solved it with this command in terminal:

BUILD_MAC_SDK_EXPERIMENTAL=1
[Nexus 4 General] johnmain:
I get this error now:

Johns-Mac-Pro:cm10.2 johnmain$ breakfast mako

including vendor/cm/vendorsetup.sh

build/core/combo/HOST_darwin-x86.mk:68: *****************************************************

build/core/combo/HOST_darwin-x86.mk:69: * Can not find SDK at /Developer/SDKs/MacOSX.sdk

build/core/combo/HOST_darwin-x86.mk:70: *****************************************************

build/core/combo/HOST_darwin-x86.mk:71: *** Stop.. Stop.

Device mako not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Traceback (most recent call last):

File "build/tools/roomservice.py", line 76, in <module>

result = json.loads(urllib.request.urlopen(githubreq).read().decode())

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen

return _opener.open(url, data, timeout)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open

response = meth(req, response)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 513, in http_response

'http', request, response, code, msg, hdrs)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error

return self._call_chain(*args)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain

result = func(*args)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default

raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

urllib2.HTTPError: HTTP Error 403: Forbidden

build/core/combo/HOST_darwin-x86.mk:68: *****************************************************

build/core/combo/HOST_darwin-x86.mk:69: * Can not find SDK at /Developer/SDKs/MacOSX.sdk

build/core/combo/HOST_darwin-x86.mk:70: *****************************************************

build/core/combo/HOST_darwin-x86.mk:71: *** Stop.. Stop.

** Don't have a product spec for: 'cm_mako'

** Do you have the right repo manifest?
[Nexus 4 General] Packsman:
It seems to me that you didnt edited local_manifest.xml file in your .repo folder?
[Nexus 4 General] bassmadrigal:
FWIW, I've used Ctrl+C on a repo sync a few times without an issue (usually because I forgot to edit a file or needed to remove my vendor directory, etc). But if it does screw something up, you can just force a resync of all changed files (I had to do this after my first build when I went through and erroneously edited a lot of files due to compiling errors when it was because of wrong blobs). You can force a resync by the following.

make clobber
repo forall -c git reset --hard
repo sync
[Nexus 4 General] johnmain:
I added that but I still get the same error.

If I do a repo sync then I get this error:

warning: local_manifest.xml is deprecated; put local manifests in `/Volumes/Cyanogenmod10.2/cm10.2/.repo/local_manifests` instead

Should I move the file to the local_manifests folder?
[Nexus 4 General] CMNein:
It will still sync/build fine with the manifest in .repo, but you can indeed move it. But not until you figure your other issue out.
[Nexus 4 General] bassmadrigal:
As far as I know, it will still read and use the file if you leave it there, but the location is deprecated. I would move it to the local_manifests folder and make sure you just have the following in it (since roomservice.xml should have the remaining needed lines).

<manifest>
<project name="TheMuppets/proprietary_vendor_lge.git" path="vendor/lge" remote="github" revision="cm-10.1"/>
</manifest>
[Nexus 4 General] rskyline:
There's any way to see how much the repo sync left to download? And sorry for this noob questions, my internet connection is crappy, and by downloading the source we get almost no bandwidth for wifi.
[Nexus 4 General] hughfollett:
Utacka's 31 build running good here! Thanks!

BTW guys, has anyone ever tried to build on xubuntu 12.04 32bit? I'd really try to build cm or aospa on my own but this is what I have and I know Google recommend 64bit..

Inviato dal mio Nexus⁴|CM10.2|stock kernel
[Nexus 4 General] johnmain:
ok I have done that but I still get the same error.

ohns-Mac-Pro:cm10.2 johnmain$ brunch mako

including vendor/cm/vendorsetup.sh

build/core/combo/HOST_darwin-x86.mk:68: *****************************************************

build/core/combo/HOST_darwin-x86.mk:69: * Can not find SDK at /Developer/SDKs/MacOSX.sdk

build/core/combo/HOST_darwin-x86.mk:70: *****************************************************

build/core/combo/HOST_darwin-x86.mk:71: *** Stop.. Stop.

Device mako not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).

Traceback (most recent call last):

File "build/tools/roomservice.py", line 76, in <module>

result = json.loads(urllib.request.urlopen(githubreq).read().decode())

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 126, in urlopen

return _opener.open(url, data, timeout)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 400, in open

response = meth(req, response)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 513, in http_response

'http', request, response, code, msg, hdrs)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 438, in error

return self._call_chain(*args)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 372, in _call_chain

result = func(*args)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 521, in http_error_default

raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

urllib2.HTTPError: HTTP Error 403: Forbidden

build/core/combo/HOST_darwin-x86.mk:68: *****************************************************

build/core/combo/HOST_darwin-x86.mk:69: * Can not find SDK at /Developer/SDKs/MacOSX.sdk

build/core/combo/HOST_darwin-x86.mk:70: *****************************************************

build/core/combo/HOST_darwin-x86.mk:71: *** Stop.. Stop.

** Don't have a product spec for: 'cm_mako'

** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
[Nexus 4 General] bassmadrigal:
I haven't noticed anything specifying that. But when I finished syncing 10.2 over the weekend, I ran du -hd 1 in the ~/android directory, and it showed that the system folder held 15GB. So doing the same could give you an idea of how far along it is (note, it did take a bit for it to calculate, and the cursor just sits there blinking at you endlessly while it is calculating the total... stare back at it long enough and you win :highfive:).

The error looks like it is complaining about the lack of an SDK. I don't know if it is the Android sdk or some other sdk that is needed. Either way, it looks like your build environment isn't fully/properly set up.

Have you verified you set everything up properly for a mac? A quick Google search turned up this guide.

http://xdaforums.com/showthread.php?t=2087318
[Nexus 4 General] johnmain:
ok Not sure if it was adding a few items that macports added or if my roomservice.xml file wasn't 100% right. Anyway it is compiling now.

Strangely I didn't have any issue compiling Stock 4.3.

So thanks for the help.
[Nexus 4 General] TheSniperFan:
You can pause any process by sending signal 19 to it and resume it later by sending signal 18.

Works beautiful with the wget command that is used to download files through the terminal. Disabling wireless networks, going into standby and resuming later works. It needs to be configured to allow multiple tries though(in case the connection is lost upon resuming). It's possible that the server you download from doesn't support it. This should be no problem with the CM servers since they're no OCHs that want everyone to use a premium account to download "normally".

Unless the repo syncing is coded poorly, there should be no problems.

Usage:

kill -<Signal Number> <Process ID>

So, "kill -19 1234" will pause the process with the PID "1234" and "kill -18 1234" will resume it.

I hope it helps.
[Nexus 4 General] rskyline:
So the process ID always is "1234" or how can i see which proccess am i using right now?

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Nexus 4 General] m3nster:
Utacka, i installed your nightly build, and it works so flawless! Thankyou!

I just put it over 10.1 Nightly, no problems encountered.
[Nexus 4 General] johnmain:
So Now that I have it compiling how do you configure the ccache. I followed the directions from another thread but I don't see a ccache folder in the prebuilt/darwin-x86 or any other folder for that matter.
[Nexus 4 General] bassmadrigal:
No, process IDs change all the time. You would need to find the process for the python command that is actually syncing the repo. I'm not home right now, so I can't give you the exact command, but if you run ps -ef | grep python, it should give you the needed info.