yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Android Development] mo976:
[ROM] [LMY48W] [5.1.1] "Unofficial" CM12.1 Hammerhead w/ Xtra Cherries 10-09-2015

These are personal builds for all to enjoy. They are complied fully from CM repos with cherry picks of yet to be added features or other tweaks.

The Disclaimer

This ROM is provided as is, it is

UNOFFICIAL

and there is no official support. Do not post bugs in the CM bug tracker.

I am not responsible for bricked phones, bad dates or any other bad luck caused by using these builds.

This is not an official ROM so don't ask and don't bother the CM team with bug reports.

You can post here in the thread about specific bugs that are related to basic ROM functionality and the CM dev's will read it (hopefully).

Yes! This ROM is stable as a daily driver but its just like a "nightly" and that means things may be broken, features will be added and removed or not function properly etc etc. So again it is stable as a daily driver, but it is a WIP.

The Credits

Credits go to Google, CyanogenMod and myfluxi for the source, kernel and proprietary bits and bobs.

https://github.com/CyanogenMod

https://github.com/CyanogenMod/android_kernel_lge_hammerhead

https://github.com/CyanogenMod/android_device_lge_hammerhead

and

https://github.com/myfluxi/proprietary_vendor_lge/tree/cm-12.1/hammerhead

Credits to [MENTION=4152171]myfluxi[/MENTION] for his tireless work on the kernel and dedication to all things Hammerhead.

Requirements:

Bootloader: HHZ12h

Recommended Radio: LMY48B - 8974A-2.0.50.2.26 or LMY47D - 8974A-2.0.50.2.25 However all KitKat and Lollipop radios will work

A flashable zip with the LMY48B radio and HHZ12h bootloader is available for download here

Instructions:

The usual: Backup and wipe if coming from another ROM!

Get latest version of ROM: cm-12.1-201510-09-Xtra_Cherries-hammerhead.zip

See second post for older builds and changelog!

For CM12.1 Gapps here courtesy of euroskank and banks.

Flash Rom + Gapps + whatever else you want wait till finished and reboot.

What works: Mostly everything but there are bugs since these are "beta" builds!

Most of the CM apps, extras and enhancements are included but some are still a WIP or not fully implemented! Check out second post for list of whats already included and check back often as there are always new additions!

What's broken??

Let me know so I can post it here!

This ROM should work with most custom Lollipop 5.1.1 CM12.1 kernels. I have not tested it with any yet so please let me know in the comments!

Here is a video review of the CM12 ROM (in german) thanks to [MENTION=5898014]DeathHawk[/MENTION] original post here.
[Nexus 5 Android Development] Ajfink:
Been following the gerrit, but it's been a few days' worth of changes. What CM features ARE there?
[Nexus 5 Android Development] mo976:
Nothing visible yet that I could find other then launcher 3.
[Nexus 5 Android Development] myfluxi:
You may want to pick: http://review.cyanogenmod.org/#/c/76603/
[Nexus 5 Android Development] mo976:
Thanks I saw that but decided to hold off on cherry picks for fear of unintended consequences...
[Nexus 5 Android Development] neobuddy89:
Please disable CPU Boost. mpdecision is already boosting too much.
[Nexus 5 Android Development] firewave:
Blob

Hey mo976, do you think you can put somewhere your hammerhead blob? Since I don't have any CM12 running right now, I can't build it.. Thanks !
[Nexus 5 Android Development] MidnightDevil:
What features are implemented? :)
[Nexus 5 Android Development] DigitalUnderground:
ICS messaging and browser in the screen shots? Are those in the gapps provided?
[Nexus 5 Android Development] neobuddy89:
Check CM12 repo :P

I believe for now it's plain L.
[Nexus 5 Android Development] mo976:
No those are AOSP apps.

Currently none! See the opening post though future builds may include as added by CM or via cherry picks.
[Nexus 5 Android Development] mo976:
It's in the OP its not my blobs though.

https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-12.0/hammerhead
[Nexus 5 Android Development] firewave:
Nice, THX!
[Nexus 5 Android Development] simms22:
it doesnt belong in original development.. i mean, did you create cm? no. unless you are the original developer, this belongs in android development.
[Nexus 5 Android Development] djsubtronic:
The creator is irrelevant.

Taken from this page:

CM12 is original work, and [MENTION=1035583]mo976[/MENTION] is building it without modification so I believe it correctly belongs here.
[Nexus 5 Android Development] simms22:
the creator in fact is relevent. if its original creator can not post it here, someone else is not allowed posting it into original development. android development is where it goes. if you want, we can ask [MENTION=962867]El Daddy[/MENTION]
[Nexus 5 Android Development] mo976:
I will leave it to the moderators discretion as to the best location.

I have been a member on XDA for longer then many and from experience have always found them to be fair and reasonable.

I do plan to include cherry picks going forward but the real development is CM's. Of course the time spent compiling and the computer are mine, but that is tiny in comparison.

This is a stop gap till A CM developer decides to open his own official thread (or I can transfer ownership) and or official nightly builds come on line.

One final note I personally understand the difference between the forums as such: for example HTC RUU based ROMs that are modified and repackaged are development. While AOSP source builds like CM are in original.

Perhaps this is no longer the case, but after all I am here to learn.
[Nexus 5 Android Development] hanschke:
a few strange crashes from a few apps from google too but I think the gapps are not got because many old apks inside :rolleyes:
[Nexus 5 Android Development] mo976:
Agreed I think there is a better one gonna find it and change the link.

Thanks

See if this is better http://d-h.st/l6z
[Nexus 5 Android Development] mo976:
no way yet except to modify systemUI far as I know
[Nexus 5 Android Development] WhiteWidows:
Still getting force closes
[Nexus 5 Android Development] MKh979:
Grate work! I trying it now and it have all I need in a custom rom! Thanks! What kernel you think is better to use with your rom for the battery life???
[Nexus 5 Android Development] mo976:
Battery is very subjective and every kernel dev will tell you their kernel has the best battery life. I tested compatibility with neobuddy89 hybrid v_1.0 and flar2 elementalX 2.03 both are very good kernels and I go back and forth depending on newest version, problems reported, etc etc. There have been compatibility and graphics problems reported with this ROM using code blue and faux kernel. Hope that helps.
[Nexus 5 Android Development] mo976:
New build is up! Have a great weekend!
[Nexus 5 Android Development] mchlbenner:
What is new in this build thanks
[Nexus 5 Android Development] matthew0776:
I have the same thing happen on my personal builds..!?!? The last day or so...? [MENTION=1035583]mo976[/MENTION] Any fix...? Has cm resolved issue ...?
[Nexus 5 Android Development] Sharpe351:
Rename OmaDmclient.apk to OmaDmclient.apk.bak should help you. Located in /system/app
[Nexus 5 Android Development] matthew0776:
While the ROM is installed..??? The popup is disrupting any type of use
[Nexus 5 Android Development] Sharpe351:
If your zip doesn't have block, you can edit it before flashing. If not, yes, you have to do it with the ROM running.
[Nexus 5 Android Development] atomizasser:
Hey.

Has CM12 builds an option for resize navigation bar?

Thanks
[Nexus 5 Android Development] lolobarjo:
Nope
[Nexus 5 Android Development] Sharpe351:
Don't think its been forward ported yet, but you can check the gerrit.
[Nexus 5 Android Development] djsubtronic:
You can do this in recovery via ADB.

In recovery mode, mount the /system partition.

Then in your PC's command prompt:

adb shell

cd /system/app

mv OmaDmclient.apk OmaDmclient.bak

And that's it.
[Nexus 5 Android Development] Sharpe351:
Extended power menu is in CM gerrit for review.
[Nexus 5 Android Development] spitefulrain:
Good advice, but it seems the path to the apk has changed a bit. The path now is:

/system/app/OmaDmclient/OmaDmclient.apk
[Nexus 5 Android Development] Sharpe351:
Starting to look more like Windoze IMO.
[Nexus 5 Android Development] myfluxi:
People with problems on Sprint, are you getting the same (OmaDmclient) errors with this build, that has the relevant cherry-picks from gerrit?

You can try and have your fun with hardware disk encryption as well. Make sure, you use a compatible recovery, i.e. TWRP 2.8.2.0. I'll be pushing these changes as well.

cm-12-20141121-UNOFFICIAL-hammerhead.zip

Btw: Don't tell me, you need a "tweaked" kernel, we are getting over 42k in Antutu outtathabox with the default baby and excellent lower level benchmarks as well...jus' sayin'. It can only get worse from here.
[Nexus 5 Android Development] matthew0776:
Can u link me to the commits...for the DMclient error fix..?
[Nexus 5 Android Development] dlsygaco:
I have but to ask since i have mobile data which is slow and cant download yet, is the trebuchet launcher having a white google search bar? Hehe
[Nexus 5 Android Development] mamarley:
I just got another spontaneous reboot on CAF35. The phone had been running for a little more than a day. I was looking at Reddit in Firefox and then it locked up and rebooted a few seconds later.
[Nexus 5 Android Development] sherincal:
How about -O3 optimizations and graphite optimizations? (I dunno what I am talking about here? (: ) Do those have any effect?
[Nexus 5 Android Development] Piereligio:
Sorry for the question, but..

At the end did you merge my profile in public CM nightly or not?
[Nexus 5 Android Development] :
Nah, only myfluxi uses it for his builds :) I think CM devs will stick with there 'default' color profile which has been there since ever :D

Nice job on the color profile though [MENTION=4437173]Piereligio[/MENTION] :) I'm also using it and I love it :)
[Nexus 5 Android Development] kenshin33:
may be yes, may be no, depends heavily on what you;re trying to achieve, but a fair assumption (not a certain one) would be the binary will be bigger (in-lining function, and un-switching loops -both activate in O3-), the question is: is it really worth it for what ever milliseconds it will shave?
[Nexus 5 Android Development] sherincal:
milliseconds always add up, don't they?

I am not certain at the moment, are those O3 and whatever the stuff part of the "sabermod" thing or are they separate.
[Nexus 5 Android Development] itsita:
Had a reboot as well on caf 35.

Scenario: getting a message on Whatsapp, while browsing chrome beta.

Log attached.
[Nexus 5 Android Development] djsubtronic:
I'm on CAF33, and I've noticed after several hours of uptime, the camera will stop functioning (apps will say "Cannot connect to camera"). I noticed this on CAF35 also but I reverted to 33 due to the colours. Unfortunately I don't have a log at the moment as I was away from my PC and needed to reboot in order to take a picture, but was wondering if anyone else has experienced this? I'll provide a log next time it happens and I am at the PC.
[Nexus 5 Android Development] aldyu:
Did you only dirty flash when you reverted? If yes, that could be the culprit, I'm on 35 with almost 22 hrs uptime and camera is okay. Although I'm thinking of reverting also or switching to official nightly due to the color.

Sent from my Nexus 5
[Nexus 5 Android Development] vegas217:
Has anyone had a theme style get stuck... No matter what theme I apply the theme style doesn't change... The quick settings and nav bar
[Nexus 5 Android Development] kenshin33:
as do pennies in a pocket!

in a specialized environment, I'd say those are worth the hassle. on a phone (still generic computing platform)? i'd say, what's already there is enough. But I'm certain that there's someone out there that disagrees.
[Nexus 5 Android Development] AciDB:
https://plus.google.com/109732771498587158648/posts/iCtCpEDTyEM

Theme get stuck fix.
[Nexus 5 Android Development] myfluxi:
Sucks. Better with #36?

If somebody provided actual real numbers, I'd be inclined to believe. As a matter of fact nobody brought those up and so everything remains an xda myth. You may want to read up on PC and server benchmarks on phoronix where results are often so-so with newer toolchains and compiler optimizations and there's a lot of variation between actual usecases. In fact, good old -O2 was fastest many times. Add those nasty regressions with 4.9 and you have enough reasons to stay with what everybody uses.

libc is more promising, but we're pretty much optimized here.

Better with #36?

This is on Jira as well. Google's AOSP and device bugtrackers list this for 15 months and nobody fixed it. For some reason the camera device cannot be accessed in certain cases, this stuff is unfortunately buried in the closed source blobbage. Another problem is, I cannot reproduce this even though I tried literally hundreds of times on several occasions so how am I even supposed to call it fixed if I can't test it...
[Nexus 5 Android Development] djsubtronic:
That's weird, because I don't remember having this issue at all over the last 15 months... then this week it's happened three times. Hopefully next time if it happens, I'll try to remember the usage scenario.

By the way, are you going to keep this new colour profile in your CAF builds going forward? If so, is there anyway to hack it back to normal or is it a source code thing?
[Nexus 5 Android Development] myfluxi:
So colors are still off with #36? This is funny because it's just a hard-coded color profile that would have otherweise been written via sysfs. If this is indeed a regression (which I cannot understand tbh) it will of course not remain the standard.
[Nexus 5 Android Development] mmo.xda:
I think you can you disable the post processing color in Settings --> Display --> Screen color -> default.

IMHO, I like it very much new color profile :)

Regards
[Nexus 5 Android Development] djsubtronic:
I haven't tried #36 yet, I assumed it would be the same as #35.

Let me give it a try now and get back to you.
[Nexus 5 Android Development] ssauger:
I like the default color, the vivid is nice for games and on the ui, but not for pictures and videos for me. I am on #36
[Nexus 5 Android Development] mamarley:
Thanks! I didn't have a chance to download it earlier yesterday since I was away from WiFi for most of the day. I flashed it right before I went to bed last night, so I haven't had a chance to use it much yet. I will let you know if I get any more reboots.
[Nexus 5 Android Development] myfluxi:
OK, we have the gamma profile hard coded in #35 and #36, I thought this was a no-brainer.

Then apparently the post-processing profile is a bit nasty in pics and videos, that's no longer default in #36 but can be enabled just like before in display settings.

Edit: I was always advocate of gamma tuning over post-processing, that kinda underlines it.
[Nexus 5 Android Development] djsubtronic:
Okay, #36 is a definite improvement over #35. Pics look fine especially if set to "default" screen colour.
[Nexus 5 Android Development] aldyu:
Still looks bad, very noticeable on dark areas, e.g. actors' hairs. This pains me but I'm contemplating on switching to official one or stock. :(
[Nexus 5 Android Development] myfluxi:
So why the whining tone? Maybe it's time to leave the discussion entirely, I have the feeling I'm much too deep in this again. I just can't stand it, gcc optimizations and all that which leads nowhere.
[Nexus 5 Android Development] aldyu:
Sorry if it appears to you that way, It was never my intention, maybe I stated it wrongfully. Peace.
[Nexus 5 Android Development] myfluxi:
Whatever. I recieved almost disturbing pms lately which clearly lead me to believe it's better to be much more passive. Not related to you, of course, just as a context.

Colors will be reset as it's impossible to satisfy everybody. #blamelge
[Nexus 5 Android Development] aldyu:
I did pm you in fact, though they're not important and are only a question and some small stuffs overlook by cm, I just hope they don't belong to the disturbing ones. :)
[Nexus 5 Android Development] JoinTheRealms:
Its an unfortunate side of xda and maybe technical communities in general. Your doing fantastic work, my Nexus 5 doesn't run anything but myfluxi CAF builds :good:
[Nexus 5 Android Development] myfluxi:
No, of course not. I'm very apperiative for relevant info and bug reports as always. Just not for random discussion, ultimatums and such.

Exactly.
[Nexus 5 Android Development] :
[MENTION=4152171]myfluxi[/MENTION]: Consider blocking PMs? :) Questions should remain in this thread. Most of them can be answered by the community itself :) Anyways.. also tried your ROM and I love it - please keep it up! Greets from germany btw [emoji14]
[Nexus 5 Android Development] myfluxi:
PMs are important because not everone wants to share personal info e.g. in logfiles and as a matter of fact, I can discuss certain aspects better in a more private environment. But that's all regarding this topic.

Alaaf ;)
[Nexus 5 Android Development] alebabai:
[MENTION=4152171]myfluxi[/MENTION], You once wrote that you are using a script to apply Yorici_Calibrated_Punch color profile. Please, could you share it?

Thanks.
[Nexus 5 Android Development] myfluxi:
http://xdaforums.com/showpost.php?p=51074974&postcount=3213

You had to dig out yorici's values, though or apply them and then cat /sys/module/dsi_panel/* (note rgb are alphabetized and thus reversed).
[Nexus 5 Android Development] alebabai:
Thanks a lot :)
[Nexus 5 Android Development] mmo.xda:
I love your effort and work. You are doing a fantastic and AWESOME work,. Our beloved hammerhead is runnning like never before.

On the other hand, about colors, I will suggest, IMHO, to leave it reset (by default, stock, wharever it is called). And then, as a possibility to add that these settings can be selected for users if we like. No more drama here...

Regards
[Nexus 5 Android Development] djsubtronic:
I don't think this was answered earlier, but is there any way to turn off heads up for a particular app at all? I'm using an old version of Whatsapp since the newer ones show a headsup for each message which is very frustrating, but I would like to update so just curious if there's anyway I can let the notifications come through normally without headsup (don't want to turn them off completely).
[Nexus 5 Android Development] kenshin33:
i think few posts (or pages?) back someone gave a link to something (an abandoned change cm's gerrit) that might, disappoint you in this regard.
[Nexus 5 Android Development] djsubtronic:
Yeah... saw that, I gathered it was for global disabling, but wondered if there was still an option somewhere to do it on a per-app basis. Paranoid Android have implemented a global heads up disabling option in their first alpha release... maybe there is an easy way to do this.
[Nexus 5 Android Development] wfd:
[MENTION=4152171]myfluxi[/MENTION]

CAF 37, YouTube app closes when starting to play any video

---------- Post added at 07:49 AM ---------- Previous post was at 07:48 AM ----------

[/COLOR [MENTION=4152171]myfluxi[/MENTION]

CAF 37, YouTube app closes when starting to play any video.
[Nexus 5 Android Development] aldyu:
Yeah, video playback is broken in caf37, phone will reboot everytime you play a video.
[Nexus 5 Android Development] bruno_sbrn:
I thought this only happened to me.
[Nexus 5 Android Development] Spinergy02:
Gifs as well (guess it's still technically a video). I thought it was my reddit app for the longest. Other than that, 37 seems to be running great.
[Nexus 5 Android Development] myfluxi:
Video playback is fine again in #38. OTG mount is good in all Nightlies and CAF. CAF has a fix for the A2DP issue where only a reboot would enable audio playback again. Chris Palmer has more fixes for BT ready, he is really deep in this stuff so chances are, it will be finally enjoyable soon.
[Nexus 5 Android Development] Corvo007:
Is there any way to remove the hash root indicator from the statusbar?
[Nexus 5 Android Development] mo976:
Its in the new build which just finished uploading.

https://www.androidfilehost.com/?fid=95916177934529053
[Nexus 5 Android Development] kenshin33:
killing com.android.bluetooth (as in pid=`ps | grep com.bluetooth.android |head -n1 |cut -f 2` ; kill -9 $pid, or was it the first column?) might re-enable it? it did for me.

came across this yesterday, I was thinking I've done something wrong. For some reason playback stops (actually just the sound stops playback continues).

back home I noticed underruns in the logs, and I came across this : http://review.cyanogenmod.org/#/c/88106/ (I did what one of the comments suggested : the Google way 10p/tick )

after a clean (really clean) rebuild, and that cherry-pick, the uderruns are gone, and no problem so far (not that I have any clue how the issue at hand is triggered, or I did some intensive testing, so the above might have been for naught)
[Nexus 5 Android Development] ssauger:
Thanks for all. Is there a way to get the default color from #36 back, or make it a custom profile any time?

sent from Nexus5
[Nexus 5 Android Development] OCmylife:
https://plus.google.com/100275307499530023476/posts/JWV46K4vVzp

[MENTION=4152171]myfluxi[/MENTION]: Your CAF 38 build does the job very well. 704 points and no issues with Playback ;)
[Nexus 5 Android Development] alebabai:
[MENTION=4152171]myfluxi[/MENTION] I noticed that on the CAF builds and Nightly with default kernel init.d doesn't work: it doesn't run scripts automatically. I tried a clean install, also I checked this with updated busybox, superSU - the result is the same, it does not work. Manually the scrips are working, but not automatically. Please check this.

And another problem is that CAF kernel does not have multirom support. Nightly kernel is OK - multirom working well, but on CAF with multirom patch phone can't boot.

Regards.
[Nexus 5 Android Development] myfluxi:
No multirom with CM, no custom changes in the CAF builds.

Regarding init scripts: http://review.cyanogenmod.org/#/c/88652/. The guy has to finish the patch, though as permissions are too broad.

Any more hard reboots with #37 and 38 (previous releases do not matter).
[Nexus 5 Android Development] myfluxi:
I had 88106 in a build for testing once. Thing is, there is a lot of movement in BT/A2DP, it's better to wait see which changes are actually getting merged and maybe give relevant feedback to whoever is working on it (in this case Chris and probably Steve at some point).
[Nexus 5 Android Development] 7sen:
should i ignore update :eek: first time with rom
[Nexus 5 Android Development] x.para:
the problem remains. I did some digging around this and found, that most QCOM devices, a CPU daemon runs in the background which overwrites what you set the min/max frequencies to.

I guess all hammerhead users will face this.

Logcat is here.
[Nexus 5 Android Development] myfluxi:
I backed up for this, I wiped, I installed a clean nightly build, I tested everything thoroughly, I read all teh logs, I checked the code. Permissions are fine, SELinux is fine, mpdecision is fine, everything is in best order. Over half an hour well spent? Not sure.

You did not answer the most important question: Are you using a custom kernel?
[Nexus 5 Android Development] x.para:
oh sorry, I don't use custom kernel.

it guess it actually happens, when CPU gets over 68C, than QCOM daemon functionality start to act. I only saw this, when i did flash to new ROM version and system was doing its +/- 15mins Android optimalization. after that time device was hotter than usually and max CPU remained low, not possible to change it.
[Nexus 5 Android Development] mo976:
Yes ignore
[Nexus 5 Android Development] neobuddy89:
I believe

CPU Boost driver changes MIN freq.

Mpdecision binary (for hotplug) changes MAX freq.

Tada...