yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] fKm:
Tried to compile for myself and get this error:

target thumb C++: libmemalloc <= hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp
hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp: In member function 'virtual int gralloc::IonAlloc::alloc_buffer(gralloc::alloc_data&)':
hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:76:18: error: 'struct ion_allocation_data' has no member named 'heap_mask'
ionAllocData.heap_mask = data.flags & ~ION_SECURE;
^
build/core/binary.mk:885: recipe for target '/home/android/CandyROM/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o' failed
make: *** [/home/android/CandyROM/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....

Branch is c6l for a substratum build. This is my local manifest for hammerhead:

<project path="device/lge/hammerhead" name="device_lge_hammerhead" remote="cd" />
<project path="kernel/lge/hammerhead" name="kernel_lge_hammerhead" remote="cd" />
<project path="vendor/lge" name="proprietary_vendor_lge" remote="cd" />

Can you please tell me what I am doing wrong [MENTION=4435460]NoSpamDan[/MENTION]? Thank you
[Nexus 5 Original Android Development] NoSpamDan:
Hmmm I answered earlier this morning but must not have hit Submit...

Hammerhead uses the default HAL branches, so make sure your HALs are checked out to the right places and on the correct branches shown in the candy repo default.xml manifest.

Looks like you are building the display HAL from the hardware/qcom/display/msm8974 folder, not hardware/qcom/display.

You can also try to rm -rf your hardware/qcom/display folder and re-syncing.
[Nexus 5 Original Android Development] NoSpamDan:
Here's a new OMS build with fixed Kernel Aduitor:

(original link removed)

CandySiX-hammerhead-3.2.S-OFFICIAL-0808.zip

I'll post the CMTE build if/when it ever completes... ;)
[Nexus 5 Original Android Development] NoSpamDan:
Here is the updated CMTE build which should have the missed call notifications test patch included...

CandySiX-hammerhead-3.2-OFFICIAL-0808.zip
[Nexus 5 Original Android Development] Klaus1983:
Its cm not OMS! ?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] NoSpamDan:
Good eye, sorry! I do try put comments on the files in AFH as a secondary safety net. If you are paying attention, you know that the builds with the "S" in them are OMS, and the ones without are CMTE.

Technically speaking, nothing a proper nandroid backup can't fix... :)

The correct link has been in Post 2 right along, and I fixed it above. Here it is again:

CandySiX-hammerhead-3.2.S-OFFICIAL-0808.zip
[Nexus 5 Original Android Development] Klaus1983:
?? masquerade app integrated?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] NoSpamDan:
Yes, Masquerade is built in line with the ROM. Substratum you need to install from the Play Store yourself, separately.
[Nexus 5 Original Android Development] Klaus1983:
I know I know. now I am an expert! ??

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] NoSpamDan:
You asked... :p
[Nexus 5 Original Android Development] fKm:
Hmm, I tried to delete the hardware caf repos from the manifest, synced but I still get the error. Can you pass me the right manifest maybe? That would be great. Sorry to bother you
[Nexus 5 Original Android Development] NoSpamDan:
? you need to delete the local folders from your source, not the manifest!

rm -rf hardware/qcom

in your source folder
[Nexus 5 Original Android Development] fKm:
I know, I did that but it didn't help ?

I wanted to sync again with only the needed hardware repos but that didn't do the trick too [emoji53]

Don't know how to tell to use the right hardware folders to compile.
[Nexus 5 Original Android Development] NoSpamDan:
You don't need to specify that... it's built into the make files. Nexus 5 is msm8974:

https://github.com/CandyDevices/device_lge_hammerhead/blob/c6/BoardConfig.mk#L73

So here is where the Android.mk file directs that board platform to use the msm8974 folder (note, this is not the display-caf version):

https://github.com/CandyRoms/hardware_qcom_display/blob/c6/Android.mk#L7-L9

If you have different CAF variants, it will use the HAL sub-folders. Nexus 5 is not a CAF device, so it uses these "stock" branches (revisions):

<project path="hardware/qcom/display" name="CandyRoms/hardware_qcom_display" remote="github" revision="[B]c6[/B]" />
<project path="hardware/qcom/media/default" name="CandyRoms/hardware_qcom_media" remote="github" revision="[B]c6[/B]" />
<project path="hardware/qcom/audio/default" name="CandyRoms/hardware_qcom_audio" remote="github" revision="[B]c6[/B]" />

You probably know this already, but I don't know what your issue is exactly. Something may have gotten saved incorrectly to your source.

If it still gives you fits, try to run this whole line from your source folder (the .repo part will wipe out any corrupted saved data locally in your display HAL):

rm -rf hardware/qcom/display .repo/projects/hardware/qcom/display

Then try to sync and build again.
[Nexus 5 Original Android Development] fKm:
I think I'll give up. Tried all that and I still get the same error. Will try to re-sync the whole source tomorrow again and try again. I hope it will work then.
[Nexus 5 Original Android Development] NoSpamDan:
That is always the catastrophic last-ditch plan for me, but I have used it a couple of time before... Nothing like a fresh start. :D
[Nexus 5 Original Android Development] fKm:
I don't get it. I completely resynced but I still get the same error. Very strange.

In the meantime I just flashed your latest build. This ROM is just beautiful. Exactly what I was looking for. A ROM that supporst Substratum and have the DUI package. Thanks a lot for this.

I only have one issue: I changed the icon of Kernel Adiutor in the settings to the material icon and now I get a FC when I try to enter KA through the settings. Is this a known problem?
[Nexus 5 Original Android Development] NoSpamDan:
Updated OMS build

Updated to r62, and it seems to be a lot smoother and faster... the last build was missing a few commits (not show stopping, but more performance-related... like no more lag now).

Many updates from YAOSP for kernel, device tree and vendor. Don't forget your nandroid backup... ;)

CandySiX-hammerhead-3.2.S-OFFICIAL-0815.zip

Running great on my N5 here so far! Enjoy!
[Nexus 5 Original Android Development] nathan30:
Hi !

I don't have a power button anymore and I want to know how I can remap the long press of recent task button, in the navigation bar, to lock the screen ?

Thanks in advance
[Nexus 5 Original Android Development] NoSpamDan:
Settings > Candy interface > Navigation > Buttons, long press the button you want to assign, and choose "Screen off" from the list. .
[Nexus 5 Original Android Development] NoSpamDan:
New builds...

These builds should have the Kernel Aduitor links fixed, plus some other things. See the in-ROM Change log for details.

CMTE build:

CandySiX-hammerhead-3.2-OFFICIAL-0817.zip

OMS build:

CandySiX-hammerhead-3.2.S-OFFICIAL-0816.zip
[Nexus 5 Original Android Development] nathan30:
I didn't have a "button" menu into "Navigation". I just have "Candy Pie Control" and "Navigation Bar". None of those have a button remap..

And into Candy Interface Menu the "Buttons" menu is just for the volume rocker

Thanks in advance
[Nexus 5 Original Android Development] NoSpamDan:
So here's the part where I remind you to post the build type you're on... CMTE or OMS. I'm running the latter...

EDIT: Probably under "Navigation bar"
[Nexus 5 Original Android Development] nathan30:
Oh yes sorry !

Yes it's under NavigationBar/SmartBar

Thanks a lot :)
[Nexus 5 Original Android Development] sheranus76:
Amazon Music App stucks!

Hi,

I have a problem with the Amazon Music App. Everytime i work with it, listen to music, open and close it some times, the rom is getting very slow and then it stucks and i can only make a reboot by pressing the power and the - buttons.

Please could you fix that? Would be so nice! :) ...and by the way, whats the difference between CMTE and OMS? And what is a clean flash?? I Know i'm a newbe but maybe you find some time to explain me this things.

Thanks a lot, also again for your great work.
[Nexus 5 Original Android Development] NoSpamDan:
I don't use the Amazon music app, but please listen carefully...

You should take some time to educate yourself about CMTE and OMS. They are different types of theming engines, and not compatible with one another.

CMTE = CM theme engine

OMS = Overlay Manager Service (next generation of Layers)

So if you are on one type you must stay on that type, or clean flash if you want to switch.

Clean flashing means wiping /dalvik, /cache, /system and /data partitions before flashing.

As for help, I've asked for three things, build type (theming engine), steps needed to reproduce the problem, and logs of the failure. Without these, you are on your own, mate(ette). :eek:

As far as noob questions, I myself was a noob at one time. Read, read, and re-read as needed... It's the only way to de-noob yourself! :p

Cheers!
[Nexus 5 Original Android Development] kebo3473:
Nexus Dialer App Question

I wanted to use the Google Phone app(dialer) from the Playstore because it had the caller id option. I disabled the Phone app that came with the Rom and installed the Google Dialer from the Playstore. When I make calls with the app from play store, it will make the call, but I can't ever get back to the Dialer app- can't even disconnect the call. Didn't know if there was a workaround to add the app from the Playstore. I'm using AOSP version, 8/17 build. Any assistance is greatly appreciated. Also, sorry if I left anything out.

*****Disregard - setting as default phone app solved the problem*******
[Nexus 5 Original Android Development] esprout:
gesture typing fix

Really nice ROM, candy continues to have my favorite mix of features.

It took me a couple hours to figure out how to enable gesture typing with the AOSP keyboard, so I thought I'd share the solution. I simply installed EnhancedIME keyboard from http://xdaforums.com/android/apps-games/enhancedime-aosp-latinime-enhancements-t3366639

I wasn't able to fix it manually with replacing /system/lib/libjni_latinime.so from Swipe_libs.zip from the same thread. Installing the apk was the easiest way to get it all working.
[Nexus 5 Original Android Development] NoSpamDan:
How about some updates?

Fresh Candy with some WiFi updates:

CMTE:

CandySiX-hammerhead-3.2-OFFICIAL-0903.zip

OMS:

CandySiX-hammerhead-3.2.S-OFFICIAL-0902.zip
[Nexus 5 Original Android Development] Ste293919:
will you continue with Android Nougat? [MENTION=4435460]NoSpamDan[/MENTION]
[Nexus 5 Original Android Development] NoSpamDan:
I'm already working on N, but one device at a time...

It's not fully compiling yet. :P
[Nexus 5 Original Android Development] minhajlk:
Hi [MENTION=4435460]NoSpamDan[/MENTION],

This is good news, please start with Nexus 5 :D, good luck with your compling.
[Nexus 5 Original Android Development] alsheron:
Which kernel type does this ROM use? CAF or "normal"? i.e. Can this use Elemental X or Franco or is it one of the CAF ROMS. TWRP seemed to need non-caf version so guessing former. Looks very interesting. Just flashed coming from Dark ROM since I couldn't get Mock GPS to work properly on that with my Bluetooth GPS dongle. Thanks!

EDIT: Thanks for keeping the stock bootanimation. I can't even tell you how many times something as insingificant as that has put me off with a "custom" one. Phew!
[Nexus 5 Original Android Development] minhajlk:
Non CAF kernels ElementalX works fine with this ROM.
[Nexus 5 Original Android Development] alsheron:
So I'm coming from Dark ROM which is a CM CAF based ROM. I flashed the latest TWRP (non CAF) and did a complete wipe of everything, including data.

Then I downloaded the latest version of this ROM (CandySiX-hammerhead-3.2-OFFICIAL-0903.zip) and Banks Gapps. Rebooted recovery after formatting everything. Flash ROM then Gapps in that order. Reboot and waited for bootanimation to finish (saw notice about minutes to let it boot). About 30 mins later still not booted. Re-wiped, re-downloaded ROM, flashed again with Opengapps. Wait for bootanimation to finish. Doesn't finish.

So I'm wondering - would it be worth the time to re-flash totally stock Google images so that the partition sizes are "restored" - it's the only thing I can think of other than the ROM being the issue that might fix the problem. Are the partition sizes anything to do with this possibly? Or any other ideas/advice? Thanks

EDIT: Yes, seems like flashing Google Stock image and then flashing this works now. Just booted! Thanks!

EDIT 2: So booted and now getting consistent crashes and rebooting when trying to restore apps frem previous device (same device just want same apps) during setup process. With Banks Gapps, phone suddenly restarts, with OpenGapps, get a notice saying Google Play Services crash.
[Nexus 5 Original Android Development] fKm:
Hey [MENTION=4435460]NoSpamDan[/MENTION], I am still trying to build your ROM from source and now the build was successful. The strange thing is, that in the output folder under system/vendor there aren't all necessary vendor files. I synced the proprietary files from TheMupptets for hammerhead but something is going wrong there. Does it make a difference if I directly sync from the CandyDevices repo?

Vendor/lge is the right path for the proprietary files right?
[Nexus 5 Original Android Development] NoSpamDan:
Well, sort of. The Mupptets don't exist (TheMuppets does), and actually, although not everyone uses it, TheMuppers are the Candy Vendor organization, and where I've pushed the vendor_lge repo...

https://github.com/CandyDevices/device_lge_hammerhead/blob/c6/BoardConfig.mk#L146

Is where it's looking for vendor files... and probably will indicate to you what your issue is (note: vendor/lge/hammerhead).
[Nexus 5 Original Android Development] NoSpamDan:
OK this OMS build should have the missing Masquerade app issue fixed (whether or not you noticed):

CandySiX-hammerhead-3.2.S-OFFICIAL-0909.zip

Enjoy!
[Nexus 5 Original Android Development] Pelepako:
Is Sim Toolkit (stk.apk) included in the rom?
[Nexus 5 Original Android Development] NoSpamDan:
Typically, why?
[Nexus 5 Original Android Development] Pelepako:
Sorry, I don't understand your comment totally... You mean that it is typically included or you just want to know the reason?

Well, anyways I need stk because it helps me to identify myself electronically if for example I want to vote for some pleas. It saves time because I don't need to search and input my bank account passwords and details and prove my identity that way. In Finland it is pretty useful I'd say even though you can manage without it.

I'm also asking this because current rom (dark rom) does not have it or at least it's not working.

*edit: Sorry I messed up and forgot to quote the comment I'm answering. Fortunately it is just above :)
[Nexus 5 Original Android Development] NoSpamDan:
Yes, it should be included. You should have it in /system/app/Stk/stk.apk...

What the heck is (dark rom)??? This is CandySiX, ya know...
[Nexus 5 Original Android Development] Pelepako:
Ok, thanks for this information! I might just change to this rom then.

Dark Rom is one of those CAF roms for Nexus 5. Also another CAF rom i've tried lacked Sim Toolkit. Of course I know this is CandySix but I wanted to know if this rom had Sim Toolkit because in some roms it seems to be removed as far as I have understood correctly. I didn't know how to check which apk's this rom included because there was no system.img in the zip files. And yes, I'm newbie so I need to ask questions. Also stupid ones if it comes to that ;D
[Nexus 5 Original Android Development] ej8989:
XDA says this ROM's last update is at 09/17. Is this a bug?
[Nexus 5 Original Android Development] NoSpamDan:
Wait, wha....?

What's the date on the ROM zip version(s) in Post#2? You are reading the post modification time stamp, which has nothing to do with the ROM itself... It's when I last modified the contents, be it instructions, spelling or links. I think I actually clarified the SmartBar versions around then...
[Nexus 5 Original Android Development] NoSpamDan:
Well, it was a good run, folks. I tried to update the latest security patches for this in early December, but I had issues requiring too much of my time.

I am basically not active in Candy6 development any more and given my current work on Slim6 and Slim7 right now, I have to prioritize. I do have a wife and kids, and a full-time+ job, after all. :D

I am sad to announce that this ROM is hereby officially DISCONTINUED.

This thread will remain open for friendly discussion, but I may close it at my discretion.
[Nexus 5 Original Android Development] p70shooter:
Slacker, real life is no excuse...
[Nexus 5 Original Android Development] NoSpamDan:
CandySiX is now beta. A new build is up in Post 2 with more Candy customizations. Should have Lock Screen Weather, DPI changer, and much more. I'll link it here too ;)

(Sorry, coming soon)

If you got that build I just posted, you can use it, but Dark Mode is messed up. I'll upload newer builds in a bit when they finish here, sorry.
[Nexus 5 Original Android Development] tiixman:
ooo cool news i love this ROM thanks for your work
[Nexus 5 Original Android Development] NoSpamDan:
Here's the updated build. Sorry for any confusion:

CandySiX-beta-hammerhead-OFFICIAL-0111.zip

Enjoy!
[Nexus 5 Original Android Development] NoSpamDan:
Yes
[Nexus 5 Original Android Development] rob420p:
Its a really good ROM been using about a week
[Nexus 5 Original Android Development] NoSpamDan:
No problem. This ROM is running very well on my N5.

Clean Flash highly recommended.

It may be fine with a dirty flash, but if you get stuck on the boot animation for a long time (more than 20 min.), that's your indication that you need to clean flash.

Hope you enjoy it!
[Nexus 5 Original Android Development] NoSpamDan:
I don't use MultiROM, so I'm not fully sure. As a primary or secondary ROM?

I think for primary you need a kexec patch, and if have to dig to see if it's already patched. I suspect it is, but not sure until I can look.
[Nexus 5 Original Android Development] intoxicated.mad:
yep you can BUT you need to apply a little trick before that ..... first copy the Updater Script of any multirom compitible ROM (or download the attached one of krexus and remove the .txt extension) open the zip with winrar, find and delete the Updater Script of Candysix and paste the one you copied earlier save the changes and you're good to go.... I'm using it now as my secondary.... you can find updater script...... inside .zip\META-INF\com\google\android
[Nexus 5 Original Android Development] Mal_toofy:
Super SU?

Hi, I've had a few issues with certain apps requiring Super SU.

I'm not sure how to check if it is included with CANDY, or if it uses another app.

I tried just flashing the latest Supersu, but It doesn't appear to be using that app for granting root access..
[Nexus 5 Original Android Development] NoSpamDan:
CandySiX uses Privacy Guard to manage app permissions. Root access in Developer Options should be enabled by default for Apps only.

Which apps are specifically requiring SuperSU?
[Nexus 5 Original Android Development] NoSpamDan:
New build is up in Post #2... CandySiX-beta-hammerhead-OFFICIAL-0119.zip

This one has an updated Slim NavBar customizations, Calculator, Power Menu Animations, Kernel Aduitor, OmniSwitch, and more...

On a quick test drive, I only noticed that there is a DT2W option that doesn't seem to work (yet). Other than that, please do let me know what you find for any bugs, along with a logcat and/or dmesg please.

Enjoy!
[Nexus 5 Original Android Development] nabil alami:
isnt there a way to remove the messaging and camera app that it comes with. I cant disable them

Thank you
[Nexus 5 Original Android Development] fantamadnesss:
Using lates build and elementalx 6.10 kernel but for some reason when i charge the phone the notifications led doesent turn on. When i have some notifications it works ok. From the system settings i already enabled that options but still no luck. Is it a rom or a kernel related problem?
[Nexus 5 Original Android Development] NoSpamDan:
Does it work with the stock kernel? (Hint there)
[Nexus 5 Original Android Development] fantamadnesss:
Well, actually i have this issue with rom's stock kernel too...
[Nexus 5 Original Android Development] NoSpamDan:
Appears to be a device tree issue... and should be fixed in the next release here... :)
[Nexus 5 Original Android Development] NoSpamDan:
I have the same issue and have been looking into it. Have you tried to do it through TWRP?

Set a new default SMS app in the ROM

Go into TWRP and make a nandroid backup

Mount /system

Use the TWRP file manager to drill to the /system/app/messaging folder and delete it.
[Nexus 5 Original Android Development] NoSpamDan:
Charging light working now in my test build. Who all uses DT2W? I'm looking at porting it from ElementalX...

EDIT: I have a build compiling right now that I will test, and hopefully has fully working DT2W (Double Tap To Wake) support...

Stay tuned!
[Nexus 5 Original Android Development] morfances:
I am using it and are available to test. Great job, thanks in advance. I would be happy to leave in this way, kenrl included in the rom.
[Nexus 5 Original Android Development] fantamadnesss:
nice, your kernel is awesome and if you add that feature i'll have no need to flash elementalx.

I also remember that fauxsound was a bit buggy on your kernel, and now that im with elementalx 6.10 is ok. If you can do something about that it's going to be awesome.
[Nexus 5 Original Android Development] NoSpamDan:
Can you please submit a bug report with a log url so I can prioritize them?

In fact, everyone else with what you think is an issue/bug please do this too. I just have a lot going on and may lose issues if they aren't centrally located.

Thanks in advance!
[Nexus 5 Original Android Development] castaway1:
Hello, awesome rom but some features are not working i dont know if its because of beta stage or it supposed to work.For example lockscreen weather show nothing but " - - ", weather in quieck settings pannel show nothing, locksreen shortcuts give force close if i press " + " button.

I would love to see feature to turn notification LED off while do not disturb.

thanks! :)
[Nexus 5 Original Android Development] NoSpamDan:
Well I'll give you one of those... The lock screen shortcuts "+" button does FC. Why no log from you?

Lock screen weather and weather in QS panel is there, though...
[Nexus 5 Original Android Development] castaway1:
that is too weird. I will clean flash again and check it again and ill let you know im on 0119 build btw
[Nexus 5 Original Android Development] castaway1:
hello, i flashed clean again and same results. But i find out if i set location manually then weather working.

Sending logcat with FC while pushing " + " button in lockscreen shortcuts settings.

https://www.dropbox.com/s/fbeez56ilwbvfq4/candysix.txt?dl=0
[Nexus 5 Original Android Development] NoSpamDan:
I agree it's weird. Thanks for the log.
[Nexus 5 Original Android Development] NoSpamDan:
New build is up in Post #2

This is my current Daily Driver, and has the lock screen shortcuts fixed, multi-column dashboard, three finger swipe-down gesture for screen shots (which is really cool, I must say), and a bunch more...

Make a nandroid backup. Clean flash (wipe /system, /dalvik, /cache). If you have any issues, or you are coming from another ROM, wipe /data too. Test again before reporting, please.

CandySiX-1.0-hammerhead-OFFICIAL-0204-01.zip

Enjoy!
[Nexus 5 Original Android Development] NoSpamDan:
Battery light should be fixed in this build too. Settings > Candy interface > Sound and notification > Battery light... if you dirty flashed, try toggling the battery light switch off then on or actually turn it on if it's off... :)

I mean charging light. You may have to turn off the notification light: screen off settings to use it...