yashsingh1/xdaforums huggingface dataset:
[RAZR HD Android Development] gappledroid:
Seems that you don't want to leave C's build. Also you don't want to reboot the phone, only if there is something interesting to do so. Definitely when things work is difficult to make the jump. My phone was still on CM 12-0314 until yesterday and to much of uptime that I can't count with my fingers and toes. :D

Not just for xt926, I tested with xt907 and can not find any update, so there is something (CM relate) going on wrong.
[RAZR HD Android Development] CWGSM3VO:
I'm sure it's optimized in some way ;) Not by your hand but by OEM. At least now I have a figure to shoot for.
[RAZR HD Android Development] Zeljko1234:
Well, do not fix it if is not broken. Some really cool feature or optimization could give me a reason for flash. Previously was a lot of problems and improvements, memory management, zRAM...
[RAZR HD Android Development] drkdeath5000:
Same problem here on the 04/21 nightly, no updates found. I just downloaded the nightly manually and flashed it through twrp.
[RAZR HD Android Development] lcc014:
I don't think CMUPATER is working though. I am using XT925 and cmUpdater is not working yet ..... Need to manually download and install each nightly.
[RAZR HD Android Development] niksy+:
Flashed the 04/22 nightly yesterday and loving it :) The LED breathing effect is finally back, way to go kabaldan, I missed that sooo much from the stock ROM :D

Does anyone's LED seem less bright now, though? I believe mine shines noticeably dimmer now then it did on the pre-LED-stuff build, is there something I should set up? It's on default settings... And I've noticed Viber notifications now blink dark blue, when it was its signature pink before, did anyone else notice anything like that? Could be just the app, I suppose.

[MENTION=4418762]CWGSM3VO[/MENTION] This build scores ~5100, so that's stock CM12.1. Not sure how much of those tweaks that kabaldan and epinter were working on are included, didn't follow the changelogs that closely :-/ But a 1000 points more must mean noticeably better UI throughout the system. So I would also appreciate it if you would share your build from time to time :) Once in a fortnight, for example. Or whenever you can, of course :)
[RAZR HD Android Development] CWGSM3VO:
Heh, I'll see what I can do :) That ~6100 seems to be a one-off. I can hit 5900 pretty consistently and 6K every so often. I think once I alter the compiler+toolchains, it might make some of that back up.

edit: Such as now. Hit 6012 score. cpu:11682 mem:11059 io: 4898 2d: 333 3d: 2086. I noticed that 2d consistently seems crippled in some way. Never seen 500 there, 400-something once or twice. 3d, I've seen 2100's easily. I've been working on memory and filesystem type merges and seems to have paid off as I've seen 5K values there. They all seem to shift around depending on each run but it generally stays around 5900-6K build. quadrant gives me a quick and dirty and repeatable (and portable) test. Now that I've seen other devices hitting 12-14K in cpu/mem it leads me to believe it's most likely optimized math/compile probably trimming a lot of the excess down (instruction-wise) so to me, it seems totally doable :)
[RAZR HD Android Development] IronTechmonkey:
Or... I could know what I'm doing. Tx for instructions. This time I did a mock walkout with a test file in CM11 and it worked. Should have a result for CM12.1/MB886 test in a while.

---------- Post added at 05:52 PM ---------- Previous post was at 05:49 PM ----------

Interesting. The ones I tried all had similar syntax to this but without the brackets and pipe items: [, |, ]
[RAZR HD Android Development] CWGSM3VO:
Shorthand, option syntax.

ie:

mount -o remount,rw /system

mount -o remount,ro /system

I too ran into problems trying to push due to privileges and ended up getting used to pushing to /external_sd and then using shell to manually move and change permissions. This saves me some time knowing what I know now :)
[RAZR HD Android Development] IronTechmonkey:
I got to the point where hopping from ext SD to /system via shell seemed most logical but I could not manage the permissions. I'm spoiled by being able to slap PC drives in linux boxes or run linux boot utilities on workstations. At one semi-delerious point late in the night I was daydreaming that I could yank out whatever chip contains /system/ and physically connect it to a linux box... and remembering that is what adb effectively lets us do :).
[RAZR HD Android Development] IronTechmonkey:
Testing now. Works well enough to have me wondering what could be the down side.

[Edit] ... and the fact that I'm already composing a rant about design absurdities and curious feature decisions means the ROM is running quite well. cm-12.1-20150423-NIGHTLY-mb886 with banks gapps gapps-L-4-21-15 flashed via Philz Touch 6.43.6/Clockworkmod v6.0.4.8 on AHD/MB886 with tweak suggested at https://jira.cyanogenmod.org/browse/NIGHTLIES-1060.
[RAZR HD Android Development] CWGSM3VO:
So you can't reproduce the issue now with the modified rild + lib?
[RAZR HD Android Development] IronTechmonkey:
Correct. After confirming that the problem occurred in ROM, as evidenced by it taking a long time to get cellular connection, I pushed those 2 files and rebooted and immediately connected. 1 ancillary note: In this ROM installation, before pushing the files; during the period between boot and a good cellular connection, the device was not connecting/disconnecting as frequently as in previous ones although it took about the same time until a good connection was established. I missed a chance to dig deeper into that by neglecting to log the successful boot/connection (after the file push) to make sure there aren't other errors lurking. Can revisit that in a couple of days.

[EDIT] Clarity in re:

The 2 files are not modified. The were just copied the from the CM11, MSM8960, 2/16/15 nightly I run to a PC and then pushed into the fresh CM12.1 installation via adb.
[RAZR HD Android Development] rahimali:
C, having followed this thread all the way from the beginning, may I request you to please build for XT907 as well since NOW finally LP and CM12 seems to be what it should have been from the get go :)
[RAZR HD Android Development] CWGSM3VO:
http://www.cmxlog.com/12.1/xt907/

:)
[RAZR HD Android Development] rahimali:
I know about the official nightlies but your builds seem to have a certain "flavor" to them the official nightlies don't... A once a month C build would be good enough for me :)
[RAZR HD Android Development] TXKSSnapper:
So I have some experience building my own builds of CM (usually I don't make any changes), but I'm not really sure where to look for how I could build using C's changes (or any changes for that matter). Anyone know of any good tutorials on this?
[RAZR HD Android Development] MCP1:
Building with C's optimizations

If you already have a local repo set in your local linux box, it's quite easy to use C's optimizations (if you don't, you can follow the standard cm tutorial first: http://wiki.cyanogenmod.org/w/Build_for_xt925)

In your repo directory, there is a hidden ".repo" folder (press CTRL+H in Nautilus/file browser to see it). Inside there is a "local_manifests" folder and the "roomservice.xml" file in it. Edit this file changing two lines:

From:

<project name="CyanogenMod/android_kernel_motorola_msm8960-common" path="kernel/motorola/msm8960-common" remote="github"/>

<project name="CyanogenMod/android_device_motorola_msm8960-common" path="device/motorola/msm8960-common" remote="github"/>

To:

<project name="CWGSM3V0/android_kernel_motorola_msm8960-common" path="kernel/motorola/msm8960-common" remote="github"/>

<project name="CWGSM3V0/android_device_motorola_msm8960-common" path="device/motorola/msm8960-common" remote="github"/>

Save ".repo/local_manifests/roomservice.xml" and run "repo sync" from your repo directory. That's it, from now you will always build using C's current optimizations. Notice that this doesn't include new toolchains (compiler versions) yet. If you want to revert to stock CM, just undo the changes above.
[RAZR HD Android Development] Zeljko1234:
Thx for explanation but could you explain how to build for xt925, xt926, etc? Just brunch xt926?

Edit: http://wiki.cyanogenmod.org/w/Build_for_xt926

Actually what is difference between build for xt925 and xt926? Only in blobs?

I still have my old building machine somewhere, environment should be fine, just repo is outdated.

Edit2: I remember good old muppets :)

https://github.com/TheMuppets/proprietary_vendor_motorola
[RAZR HD Android Development] CWGSM3VO:
I use the following. Shouldn't edit roomservice.xml but I had a bear of a time getting repo to not complain about non-existent projects. I tried every way from Sunday to move this out of roomservice, but here ya go:

...

<project name="CyanogenMod/android_device_motorola_msm8960-common" path="device/motorola/msm8960-common" remote="github" />

<project name="CyanogenMod/android_kernel_motorola_msm8960dt-common" path="kernel/motorola/msm8960dt-common" remote="github" />

<remove-project name="CyanogenMod/android_device_motorola_msm8960-common" />

<remove-project name="CyanogenMod/android_kernel_motorola_msm8960dt-common" />

<project name="cwgsm3v0/android_kernel_motorola_msm8960dt-common" path="kernel/motorola/msm8960dt-common" remote="github" revision="cm-12.1" />

<project name="cwgsm3v0/android_device_motorola_msm8960-common" path="device/motorola/msm8960-common" remote="github" revision="cm-12.1" />

</manifest>

and I also have one for the blobs, proprietary.xml:

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project path="vendor/motorola" name="TheMuppets/proprietary_vendor_motorola" remote="github" revision="cm-12.1" />

</manifest>

Be forewarned, this will be a big download so don't panic when it sits there a few min first time through :)
[RAZR HD Android Development] MCP1:
You can find all the supported models building guides here: http://wiki.cyanogenmod.org/w/Build_Guides

The differences among models can be defined by the developers anywhere in the many configuration/code files, so it's not easy to tell where they are. But for sure is not only about blobs, typically there are several different adjustments in hardware-related parameters.

If your old building environment is too old, you may have to update it. Linux 64-bit is now required, for example. See the folowing page for more details on the recommended environment: http://source.android.com/source/initializing.html

---------- Post added at 10:33 AM ---------- Previous post was at 10:14 AM ----------

Editing roomservice.xml should be ok, particularly if you are lazy like me ;)

It always worked for me but adding separate xml files is definitely more clean and elegant. In fact, all xml files inside ".repo/local_manifests" (whatever the name) are processed in the best possible order and only create errors if there is any inconsistency among them.

That's a very good point for the initial setup, so you can avoid the "Extract proprietary blobs" section in cm tutorial. If you can also just add the "project path" line to the roomservice.xml file. But note that if you already have a (current) repo set up and working, you don't need this.
[RAZR HD Android Development] CWGSM3VO:
It's also handy when dhacker, kabaldan or epinter (or others) update blobs as they push it to this repo which means it makes its way into your next build :)
[RAZR HD Android Development] Zeljko1234:
What's the size of cm repo? My old building machine is too far from me but maybe I have enough storage on the laptop.

Still would be faster if C just type brunch xt926 :p

---------- Post added at 06:09 AM ---------- Previous post was at 06:08 AM ----------

ROFLMAO!!!

https://maps.google.com/maps?ll=33....30'52.5"N+73°03'33.2"E&output=classic&dg=ntvo
[RAZR HD Android Development] CWGSM3VO:
The repo is pretty big, I have a 100GB VM and the repo takes probably 80% of it before building. I'm building currently so I can't give you a before-build size estimate but it's around 20GB iirc.
[RAZR HD Android Development] Thibault1171:
Hi, I'm using CM12.1 04/21, and I can't send MMS. Am I the only one?
[RAZR HD Android Development] TXKSSnapper:
Thanks! I knew there had to be a simple way to switch things around, but I have very limited experience with repo and git.
[RAZR HD Android Development] CWGSM3VO:
It was fixed on 4-17 for me. I just sent a picture to my wife, it worked for me.

---------- Post added at 11:21 AM ---------- Previous post was at 11:18 AM ----------

Weird... some of the merges I've been making are showing up in the CM tree from me. I can't seem to find the pull request for it either.

edit: ok, I see [MENTION=3721576]epinter[/MENTION] merged in the new interactive governor (sorry [MENTION=2218140]kabaldan[/MENTION], looks like he beat me to it) but I still don't understand how commits of mine in my tree are showing up in the CM tree.
[RAZR HD Android Development] Thibault1171:
Nevermind, it was an issue with my carrier. Sorry for this.
[RAZR HD Android Development] CWGSM3VO:
Meh ... buggered up my repo and also created a bogus pull request. Sigh. Time to switch to Github for Windows to shorten the learning curve.
[RAZR HD Android Development] Zeljko1234:
No fancy Github gui for Linux? How are you going to use Github for Windows and build on Linux? I have idea but probably you already know how.
[RAZR HD Android Development] CWGSM3VO:
I was using CLI previously without issue but the pull-request stuff is confusing me. Now I have GitHubForWindows setup and cloning as we speak. I pulled all my commits out as separate patches to be re-integrated into the new code base. I've also branched off the original fork to keep both separate (I believe this will allow me to merge easier).

As for how I do it, that's easy. Modify the cloned copy on my Windows side, push it up, repo sync it back to my VM and build it.
[RAZR HD Android Development] Zeljko1234:
I had exactly the same idea :) Not very good for large code update.

Btw, where is the build for me you promised yesterday? Over 14 days of up time and counting :p I'm gonna keep it up until something really bad happen.
[RAZR HD Android Development] CWGSM3VO:
I got sidetracked :) As for large code commits, I've done a few (3-4 files modified @ a time) it's not too terribly difficult. Managing the information in a way that makes sense to me is my biggest hurdle, it's all esoteric git-specific stuff that throws me off. Hoping the GUI will make it easier for me.

edit: seems github for windows is just as obtuse. It's showing old historical changes as pending commits.

edit: turns out because it has a lower-case version of the same name. github for windows can't deal with it for whatever reason but SmartGit seems to get it.
[RAZR HD Android Development] Caliburno:
Hi there, i've not being updating for some days now and i would like to know if gapps (google services) problems were worked out since i had to go back to 12-20150417-xt926 to have my phone usable.

(google services was hanging constantly and could'nt work it out even with a full reset nor clean install.)

OOr is there a new gapps version that work fine on this new version. (12.1-)
[RAZR HD Android Development] creondai:
Hello everyone.

What about a tutorial post about installing CM12.1 on Xt925 Razr HD from stock KitKat (rooted and non rooted) and from others coocked Roms?

I'm seeing too much hype on internet. People is looking for that from all places at globe. Thought about that as an idea.

What you guys think about it?
[RAZR HD Android Development] kashif87:
I gotta ask here because xt907 thread is not that active.

So I've been experiencing SOD on official cm12.1 nightly 22 23/4. Is it know bug being worked on or just specific to me

Sent from my DROID RAZR M
[RAZR HD Android Development] gappledroid:
Don't know what you mean with SOD but my xt907 reboots Thursday and Yesterday idle on desk with CM12.1 04/22. Never happened on CM 12 builds :(
[RAZR HD Android Development] marknoll:
Screen of death?
[RAZR HD Android Development] Zeljko1234:
http://en.wikipedia.org/wiki/Sod :D
[RAZR HD Android Development] CWGSM3VO:
XT907 folks: enable aplogd, search this thread. We can only guess without logs.

Same for everyone else. Search this thread on enabling aplogd and provide logs instead of asking "hey, I got a SOD, did anyone else?" or better still, file a JIRA ticket. No logs, no real help can be provided. If you're too busy to do this, flash stock and be done with it.

Really don't understand why some of you don't understand.
[RAZR HD Android Development] Zeljko1234:
Don't be nervous, look how green SOD is :)
[RAZR HD Android Development] kashif87:
SOD; Sleep of Death

Sent from my DROID RAZR M
[RAZR HD Android Development] Thibault1171:
You're not alone, I experienced it too (but don't remember on which build, but recently). I've backup my stuffs, make a clean install, restore most usefull stuffs, and it doesn't happenned again (yet)
[RAZR HD Android Development] kashif87:
Good to know

Sent from my DROID RAZR M
[RAZR HD Android Development] amedeh123:
Ive experienced it on my xt925 too, it is a rare ocurrence but it is there.

Honestly it doesnt bother me that much.
[RAZR HD Android Development] KC69:
Dhacker has 4/25 gapps for 5.1 up on twitter.
[RAZR HD Android Development] marknoll:
Anyone know an LP gapp pkg with an older Google search app? Like older than the updated version on the play store..thanks
[RAZR HD Android Development] IronTechmonkey:
I got sod. Oh wait, you're not talking about landscaping...but now that I think about it even landscaping can generate logs :).
[RAZR HD Android Development] CWGSM3VO:
I dunno if anyone else got this, but that's clever :)
[RAZR HD Android Development] KC69:
I saw what he did there. Uh wait, see what I did there?.

Devhost has an older gapps package.

Search it for dhacker, gapps. I think his 4/3/15 gapps will work, just don't let it update the search .
[RAZR HD Android Development] kashif87:
I thought there were no logs attached so it's useless (fingers crossed for backfire [emoji41] )

Sent from my DROID RAZR M
[RAZR HD Android Development] IronTechmonkey:
Any package with a date earlier than the Google app update ought to do, but that seems obvious. Is it a matter of whether or not Gapps packages from before that update are still available?

---------- Post added at 12:16 AM ---------- Previous post was at 12:07 AM ----------

I had already counted the rings to determine the age of the ROM and so did not include the logs.

Thank you very much. I'll be here at the Laugh Shack all night...

and will be testing the latest CM12.1 MB886 nightly with libril.so and rild from CM11 8960 2/16 nightly tomorrow.
[RAZR HD Android Development] kashif87:
Sent from my DROID RAZR M
[RAZR HD Android Development] TecknoFreak:
Just keep in mind that there is no need for the rild file. With libril.so file is enought to make it work.
[RAZR HD Android Development] IronTechmonkey:
Credit where credit is due - I did not realize you beat me to the sod jokes. My sod jokes were based on having actually done that sort of work for several years.

---------- Post added at 01:29 AM ---------- Previous post was at 01:26 AM ----------

I did not know that. Thanks. In that case I'll start by just copying the libril file and should have testing results some time tomorrow.
[RAZR HD Android Development] CWGSM3VO:
That's why I thought it was clever, I've done sodding too.
[RAZR HD Android Development] CWGSM3VO:
So I've successfully managed to compile CM12.1 with Linaro 4.9.3 toolchains (neon+vfp4) and I found some work from [MENTION=5770258]MusterMaxMueller[/MENTION] to allow Qualcomm's LLVM/qCLANG (in this case, 3.6 although CM uses 3.5 aCLANG as far as I can tell) so I'm currently experimenting with that. Really appreciate the work MMM did for this, made it a lot easier this time around than it did in CM11 days (for me) to get this part going again.

I'll keep everyone posted :)

EDIT: Here is the link to his work/project: http://xdaforums.com/android/software-hacking/wip-compile-android-5-0-2-qualcomm-llvm-t3035162

EDIT: Booted, just going through it's fresh-upgrade churn. I noticed dex2oat was somewhat quicker than before (~5min vs ~8min) so there's some improvement there. It also rocked through MediaScanner in record time. I have about ~1600 mp3 files on my extSD card, usually it's a ~5min scan/update but this was like ~2min. Nice.

EDIT: Upgraded glibc from 2.11-4.6 (wasn't using 2.11-4.8 stock although it's there) to 2.15-4.8, recompiling for test and if all goes well, I'll push out some builds.
[RAZR HD Android Development] jewbydoo:
Digging the CM nightlies, sharing some issues to see what is common:

-Volume rocker doesn't switch tracks

-OTA updater does not work

-Snapchat rear-facing camera is warped? Phone freezes and reboots when trying to do video

-MMS is not reliable. Sometimes I can receive, rarely can I send.

-Heads up blue flickering

I can provide logs for reproducible issues.
[RAZR HD Android Development] CWGSM3VO:
You didn't actually note which nightlies you encountered these issues on or what you're currently running ;)
[RAZR HD Android Development] IronTechmonkey:
Moto AHD/MB886, cm-12.1-20150426-NIGHTLY-mb886 with, Banks gapps-L-4-21-15 clean flashed via recovery (Philz Touch 6.43.6/Clockworkmod v6.0.4.8)

Still having issue getting on cellular network after reboots/power cycles but the workaround of pushing rild and libril.so taken from CM11 into their respective folders in CM12.1 still works nicely.

This nightly seems a little bit laggier than one from a few days ago but then I'm staring deeper into its maw and may have just started noticing things that were already there. Also, Lollipop's white backgrounds make minor graphic lag much more noticeable than such lag is in the predominately dark backgrounds and elements in KitKat.

CM is getting through some of the deep fixes and to the user experience limitations annoyances which is nice to see and the experience is getting better (which in turn sheds light back on how horrible Lollipop would otherwise be - imo). Some nice additions to QS tiles. I think the ability to enable/disable WiFi or Mobile Data with on tap on tile is new... and nice, and there are other tweaks in there.

Some ripples in the matrix:

- Data roaming is enabled by default. I thought this has been changed to off by default in a previous nightly but it is back on.

- Text of color picker value in notification light configuration panel (and most likely other fields) does not fit in field when display zoom at max (130% font size). Top part of text cut off. If the 130% font size is available in native settings then native dialogue boxes should accommodate it, otherwise accessibility setting "large text", which also uses 130% font size, is just a token.

- Slightly Jumpy auto-brightness, possibly made more noticeable by light backgrounds.

- Still not allowed to select “none” for center navigation ring.

- No more expanded volume controls = extra taps. That said, some order has been restored to the madness of the new "silent" mode. Sound management is still less convenient than in Kitkat but at least an option to show notification lights in silent mode has been added and it is possible to mute all (including vibration) without muting alarms.

- Configurable countdown timer sound gone. One of many things CM added to CM11/KitKat and I hope, after bigger fish are fried, gets re-added to CM 12.

- Is there any way to remove the SU # symbol from status bar? Being there all the time renders its function as a notification useless.

- Not a CM issue but L5.1 is giving Better Battery Stats fits which is one of the reasons I walked back to CM11. Searching for something else that can as effectively isolate wakelocks.
[RAZR HD Android Development] Zeljko1234:
I don't really understand who think that is great idea? Is it coming from Google or CM? Looks like that this person never been outside home country or thinks that everyone has a global mobile plan.

# symbol shows up only if app with root access is running. Maybe that app was started during boot but is not visible in recent. Try to start manually and swipe from recent. It works for me.