yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] ciano865:
N5 CAF version

From mach 08 there is a CAF version of CM12 for Hammerhead:

HammerheadCAF:

http://www.cmxlog.com/12/hammerheadcaf/

http://download.cyanogenmod.org/?device=hammerheadcaf&type=nightly
[Nexus 5 Original Android Development] nathanjp:
I'm sorry if I sound like a noob. But what is custom hotplug. And what is the difference between mpdecision and custom hotplug. Will I get better battery life with custom hotplug? I don't play games.
[Nexus 5 Original Android Development] Holer Togni:
I switched to hotplug for 2 weeks and found it smooth and stable. It also seemed to give me about 20 minutes more screen-on time.

Then after about 2 weeks I had some stability issues and flashed back to stock to rule out the custom kernel. After all the problem was an app (Foldersync doing md5 checks in the background) but being back on mpdecision definitely felt smoother.

So now I'm back on EX with mpdecision, a combo that was and is the best compromise between battery and performance for me. The extra 20 mins battery life don't make a difference in my case, but the smoother ui does.
[Nexus 5 Original Android Development] dekefake:
[MENTION=4684315]flar2[/MENTION] , is it possible to include LiveDisplay from CM12 on ElementalX ? It would be awesome
[Nexus 5 Original Android Development] sergtot:
I want it too.

Euphoria Rom has begun to use that.
[Nexus 5 Original Android Development] flar2:
[MENTION=1470341]dakoellis[/MENTION] [MENTION=1540643]dvdivx[/MENTION]

I checked and the usb ethernet drivers are already compiled in. What happens when you plug the device in?

I may need you to send me the output of dmesg from right after you plug it in.

I may go back to the older implementation then, since the current one modifies stock behaviour and it can't be undone by the user.
[Nexus 5 Original Android Development] DoesntPostAThing:
Thank you. There was also one more thing I noticed, the GPU doesn't scale up as aggressively as stock or other kernels. I think that asides from these two minor annoyances your kernel was my favorite N5 kernel.

EDIT: Disregard, GPU issue was non-existent to begin with. Go enjoy this amazing kernel.
[Nexus 5 Original Android Development] masterchif92:
MPDecision must be on or off? Reccomanded settings? VERY GOOD KERNEL

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] flar2:
Mpdecision should be on.

My recommendations are the installer defaults
[Nexus 5 Original Android Development] flar2:
Do other kernels use the 200mhz step?
[Nexus 5 Original Android Development] DoesntPostAThing:
Actually, disregard that. I have no idea what happened but rebooted again and it's now smooth as ever. Whatever went wrong is now gone... thanks for the great kernel then!
[Nexus 5 Original Android Development] drawde40599:
Keep seeing your kernel mentioned all over so decided to try it , been using for last 2 days on default settings and I must say I do really like it , it feels like Google's kernel with a kick and no throttling , battery is good , performance is there . :) I didn't think I could use a mp decision kernel agn but I'm finding i really like it .

Thank u. I'm looking forward to future builds
[Nexus 5 Original Android Development] DoesntPostAThing:
I think Google really got it right this time with the N5 kernel. A lot of kernels include unnecessary tweaks and stuff that just cause throttling, etc. ElementalX seems to be the most stock-feeling kernel (which is good) and like you said, with that kick that makes things just that much better.
[Nexus 5 Original Android Development] DarkFantasy6:
On which settings did you install it? :D

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Lancez:
Flar recommend default setting which means don't change anything while installing. except s2w etc.

Sent from my Nexus 5
[Nexus 5 Original Android Development] AhmedFaiz:
As anyone tried this kernel on the official pa build. Just for feedback.
[Nexus 5 Original Android Development] ValoXis:
Yes, it works fine. :)

Nexus 5 with Tapatalk Pro
[Nexus 5 Original Android Development] thelakeshow:
Installed with Doubletap2wake enabled

S2W/DT2W power key toggle enabled

But dt2w isn't working, and when I go into my elementalx.conf they both have values of 0. I cannot save the .conf file after I try to change the values to 1.

Any help?

Here is my install log

AROMA INSTALLER version 2.70B6
(c) 2013 by amarullz xda-developers

ROM Name : ElementalX
ROM Version : 0.18
ROM Author : flar2
Device : Nexus 5
Start at : Tue Feb 10 06:32:47 1970

Installing ElementalX...
CPU optimization: elementalx
Undervolting to 750mV
Sweep2wake disabled
Doubletap2wake enabled
S2W/DT2W power key toggle enabled
Max screen off frequency enabled
Slightly cooler colors
Enable gboost
Ondemand GPU Governor
Extract: /tmp/buildconfig.sh
Extract: /tmp/busybox
Extract: /tmp/elementalx.conf
Extract: /tmp/systemcheck.sh
Mounting /system
Cleaning up
about to run program [/tmp/systemcheck.sh] with 1 args
Installing system files
Extract: /system/bin/fstrim
Extract: /system/bin/mpdecision
Extract: /system/bin/thermal-engine-hh
Extract: /system/etc/init.d/99elementalx
Extract: /system/etc/thermal-engine.conf
Extract: /system/lib/modules/exfat.ko
about to run program [/tmp/buildconfig.sh] with 1 args
sh: 1: unknown operand
sh: 1: unknown operand
sh: 1: unknown operand
sh: 1: unknown operand
sh: 1: unknown operand
sh: 1: unknown operand
sh: 1: unknown operand
sh: 1: unknown operand
sh: 1: unknown operand
sh: 0: unknown operand
about to run program [/tmp/busybox] with 4 args
Extract: /tmp/abootimg
Extract: /tmp/cmdline.cfg
Extract: /tmp/cmdline.sh
Extract: /tmp/editramdisk.sh
Extract: /tmp/elex.zImage
Extract: /tmp/makebootimg.sh
Extract: /tmp/mkbootimg
Extract: /tmp/myboot.img
Extract: /tmp/unpackbootimg
Customizing boot.img
about to run program [/tmp/cmdline.sh] with 1 args
about to run program [/tmp/abootimg] with 5 args
reading config file /tmp/cmdline.cfg
Writing Boot Image /tmp/myboot.img
Installing Kernel
about to run program [/tmp/busybox] with 4 args
14772+0 records in
14772+0 records out
7563264 bytes (7.2MB) copied, 1.475838 seconds, 4.9MB/s
Wiping /cache
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/platform/msm_sdcc.1/by-name/cache on /cache failed: Device or resource busy
run_program: child exited with status 255
about to run program [/sbin/busybox] with 3 args
umount: can't umount /cache: Device or resource busy
run_program: child exited with status 1
Finished!
script result was [Finished!]

Installer Sucessfull (Status 0)

End at : Tue Feb 10 06:32:50 1970
[Nexus 5 Original Android Development] AhmedFaiz:
Just flashed it on official pa feedback in few days...

Thanks again everything working fine.

Nexus5/PA4.0beta/ElementalX 0.18
[Nexus 5 Original Android Development] DoesntPostAThing:
Flar, regarding the GPU thing again, not saying there's necessarily something wrong, but noticing that it stays on 200 a lot instead of going up to 320 when something is moving on the screen. There is the occasional stutter, perhaps this is why?
[Nexus 5 Original Android Development] crashercarlton:
I've used cataclysm and cyanogenmod with stock launchers and nova...Both have stutter after about 2-3 swipes in app drawer on .18 and its really bad...At first i thought it was the ElementalX Governor with OnDemand GPU, but even going back to Regular CPU/GPU Ondemand, it still happens and is consistent in that...I went back to .15 and haven't had any trouble on either rom or launcher.
[Nexus 5 Original Android Development] DoesntPostAThing:
I think it's due to the GPU running at 200 when it should really have ramped up to 320 already. I know for sure that this device can still be smooth with CPU at 1.5 GHz or lower, but when GPU is at 200 when it's doing something it will stutter.
[Nexus 5 Original Android Development] flar2:
I'm not seeing stutter very often, but I will probably revert async fsync next build and see what happens.

It's not due to GPU, I haven't changed anything there since early builds.
[Nexus 5 Original Android Development] crashercarlton:
i haven't seen any stutter until .18 and even clean flashed everything between both roms...Something in .18 is causing it...but the only place i really notice it is in the App Drawer on the Launchers and i can swipe right about 1-2 times then going back and forth it makes me wanna throw my phone on the ground xD... but anyways having great luck with this kernel otherwise and will stay on it because it just simply works...Request...Let my phone fry itself and turn down the throttling some more hahahahahaha
[Nexus 5 Original Android Development] DoesntPostAThing:
Can confirm, no lag on 015.

Sent from my Nexus 5
[Nexus 5 Original Android Development] dekefake:
Haha its why i'm asking for it :p

I tested it with stock kernel and i love it, but i can't get rid of Fast Charge, and other ElementalX features ans performance
[Nexus 5 Original Android Development] flar2:
I don't plan to make a caf version as long as there is an AOSP compatible version of cm. And even then, maybe no CAF version because I don't want to be on the endless treadmill of useless caf updates.

What is it?
[Nexus 5 Original Android Development] Chochiwpg:
This is what I read from the developer of Euphoria ROM regarding Live Display.

LiveDisplay is a new color control feature from cm which is pretty cool, it comes with a qs tile so you can switch between modes (day/night/auto), display temperature mode works but kcal calibration broke in the process, again it the same in cm so don't complain and I'm sure it will be fixed soon.
[Nexus 5 Original Android Development] walpurgisnacht30:
I thought you're still on vacation [MENTION=4684315]flar2[/MENTION] [emoji14]

Anyway, thank you!
[Nexus 5 Original Android Development] #sharath:
Latest update of the app still doesn't have the option to change SeLinux mode, i know it can be changed in the config file, but it's easy to do it in the app.
[Nexus 5 Original Android Development] theesotericone:
If you want it in app form just use this for now:

https://play.google.com/store/apps/details?id=com.mrbimc.selinux&hl=en

I've been using since way before [MENTION=4684315]flar2[/MENTION] added support for it in the kernel without any issues.
[Nexus 5 Original Android Development] flar2:
I keep forgetting to add it. Keep reminding me.
[Nexus 5 Original Android Development] samu91gn:
Is there any way to prevent touchscreen to register input during calls when dt2w is enabled? Is this a bug?

I have the latest version of ElementalX

Nexus 5, stock android 5.0.1
[Nexus 5 Original Android Development] dekefake:
Its a screen control features, with light temperature, in kelvin, to setup screen most blue, or most red. The kelvin temperature is inspired by the stars surface temperature, and light color. For example, the Sun is a quite cold star, with 5 800 kelvin, and yellow-white color, whereas Rigel star is very hot, 10 000+ kelvin, and has blue light. Hope its clear to understand, i have some skills in astronomy.

The LiveDisplay support is a merge from github, to add to the ramdisk of the kernel.
[Nexus 5 Original Android Development] flar2:
I assumed this problem was addressed a long time ago, but I haven't had a sim card in my Nexus 5 for a while. Can anyone confirm on stock ROM?

If it's in ramdisk, it should work with this kernel, unless it's in init.hammerhead.rc.
[Nexus 5 Original Android Development] samu91gn:
This happens on my stock, with Viber calls and regular calls either. Thanks
[Nexus 5 Original Android Development] dekefake:
Maybe ;)

Plaease ask to Euphoria OS devs, they will say you what to add, me, i dont know
[Nexus 5 Original Android Development] gpvecchi:
I choosed custom hotplug during aroma, what do I have to do to switch back to hotplug? I tried from the app and reflashing kernal, but I can't get the 4 cores work...:(
[Nexus 5 Original Android Development] Soulfly3:
got 5.1 downloaded...

gonna wait to install it until this kernel is ok with it (confirmed) and cataclysm updated...

excited tho!

cant live without my kernel and rom anymore
[Nexus 5 Original Android Development] nmlssit:
+1

No one yet tested on 5.1?
[Nexus 5 Original Android Development] yyz71:
Yup got it working :good:
[Nexus 5 Original Android Development] nathanjp:
elementalx works on 5.1?
[Nexus 5 Original Android Development] NovaSlim:
see the post above yours.
[Nexus 5 Original Android Development] xdviper:
I'll wait until the OP himself confirms the kernel works on 5.1. Please [MENTION=4684315]flar2[/MENTION]
[Nexus 5 Original Android Development] butthurtlocker:
I can also confirm it works. On factory 5.1, with TWRP 2.8.5.2, just flashed and all is booted and well.
[Nexus 5 Original Android Development] scrack26:
Elemental on Nexus 5.1 factory working.

Sent from my Nexus 5
[Nexus 5 Original Android Development] #sharath:
I know the kernel is compatible with 5.1, but does the new kernel from Google contain any optimizations and fixes for 5.1?
[Nexus 5 Original Android Development] walpurgisnacht30:
Is it just me or 5.1 + ElementalX = much smoother?

FWIW, mpd enabled.
[Nexus 5 Original Android Development] Atok_fr:
How can it be more smooth than that we had ? O_o
[Nexus 5 Original Android Development] walpurgisnacht30:
¯\_(ツ)_/¯

Actually it also could be just a placebo.
[Nexus 5 Original Android Development] CitizenX:
Does someone know how to get 5.1 and ElementalX working with f2fs in data and cache partition?
[Nexus 5 Original Android Development] silvertrain78:
FYI

Not sure if it's kernel related or not, but my experience w/EX 2.10 on 5.1 wasn't optimum. Several times I had screen freezes, and at one point everything froze, hardware & soft (required a hard reboot). Guess that's what I get for being eager. I re-flashed the stock kernel & system; all seems to be better now.
[Nexus 5 Original Android Development] gverma1:
Works perfectly fine. Steps I took:

1. Extracted radioxxx.img, boot.img, system.img from factory image.

2. Fastboot flash boot, radio, system images in that order.

3. Without rebooting, rebooted to twrp recovery.

4. Flashed supersu2.46 and ex2.10.

5. Booted up the phone.

All working as expected.
[Nexus 5 Original Android Development] candra yudha tama:
elementalx

Where I can get elementalx for stock L 5.1 for nexus 5 ?
[Nexus 5 Original Android Development] dox81:
You can't. Read first and stop spamming.
[Nexus 5 Original Android Development] galapagos:
Stock 5.1 + Elemental 2.10 all working fine
[Nexus 5 Original Android Development] Ben36:
So what you people trying to tell us?

Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
[Nexus 5 Original Android Development] silvertrain78:
Hmm. I flashed the whole image with NRT, booted system, reboot bootloader, flashed twrp, factory reset, ex2.10, SuperSU 2.46..

Who knows. Many others are having good results
[Nexus 5 Original Android Development] hellsgod:
5.1 kernel sources has some memory leak fixes. Better just wait for a kernel update, or use the stock one till EX is updated.

hells
[Nexus 5 Original Android Development] thanostsimo:
Confirming that 2.10 is up and running at stock 5.1 :good:
[Nexus 5 Original Android Development] DroidIt!:
Well, if you look a bit back in the thread, a user asked if ElX worked on 5.1, they're confirming ;)

---------- Post added at 08:23 AM ---------- Previous post was at 08:21 AM ----------

Maybe I'm remembering wrong, and actually now that I think about it, I believe it's a ROM side fix, but I know for sure Slim has had the memory leak fix in place for about a month or so now.
[Nexus 5 Original Android Development] eriklinsen:
2 way recording

I can not find out if ElementalX has support for two way recording.

Since this is needed for call recording apps none of the apps in the play market is working.

Before using Lollipop I used Callrecorder, but even that one isn't working anymore.

So can somebody please tell me if there is support in this kernel or not?
[Nexus 5 Original Android Development] hellsgod:
Not only rom side. I've merged the sources thats why I know it has memory leak fixes and other things like seccomp etc.

hells
[Nexus 5 Original Android Development] dechronic:
I just tested Call Recorder 1.6.6 and I made a test call to my voice mail and it recorded. By default it was using CAF recording and I am using ElementalX 2.10 with Stock Android 5.1 but with f2fs on cache and data.

---------- Post added at 11:43 AM ---------- Previous post was at 11:37 AM ----------

Yea. I am running that configuration right now.

If you already have that setup for Android 5.0.1 then all you have to do is format the system partition, format dalvik/ART cache, wipe /cache partition.

Use osm0sis Nexus bootunlocker script to unlock the bootloader via a custom recovery.

Flash the bootloader, radio and system.img while in the bootloader via fastboot from a PC.

fastboot flash bootloader bootloader-hammerhead-hhz12f.img
fastboot reboot-bootloader
fastboot flash radio radio-hammerhead-m8974a-2.0.50.2.25.img
fastboot reboot-bootloader
fastboot flash system system.img

Re-flash ElementalX 2.10 and SuperSU from a custom recovery

Boot and you are done. It will take a while to boot the first time, maybe 5 or more minutes.

If you are doing it from scratch let me know and I will direct you.

EDIT: I flashed not just the system.img but also the bootloader and the radio as well, see updated step 3
[Nexus 5 Original Android Development] eriklinsen:
I know that Callrecorder 1.6.6. works, but I had a beta and that was working until 15 februari.

After that date I removed the beta version and bought the full version. But after installing that it still was saying that it was only working until 15 februari.

So I uninstalled it again so I would get my paid money back because you can try an app a couple of hours and get the money back if decided not to use the bought app.

So I'm looking for a different app then Callrecorder from Skavex, but after trying about 8 other apps I'm concluding that none of them is recording the whole conversation, only the microphone is recorder so the person I'm speaking to isn't heard on the recording. So that's why I'm not entirely sure that two-way recording is supported. Most other apps don't have the ability to change the recording method from mic to ALSA or CAF, but the way I see it that is needed to make it work on the Nexus 5.

Since I don't see anything written about to ability for two way recording with this kernel I'm asking it here.
[Nexus 5 Original Android Development] dechronic:
Try searching the call recorder thread or failing that, asking Skavex if there is something else you have to do when you buy the app for it to not behave as if it is still a trial version.
[Nexus 5 Original Android Development] obayda.bd:
Latest cm feature Livedisplay doesn't work with elementalX. [emoji22]
[Nexus 5 Original Android Development] Kris Groove:
Waiting for version for Android 5.1 on Nexus 5 :)

I can testing [MENTION=4684315]flar2[/MENTION] :D
[Nexus 5 Original Android Development] till22:
My sound settings always get set back to headphone -2 and speaker -1. This happens even after clearing app data and reinstalling the app various times. It usually gets set when exiting the app ot even switching from 1 tab to a different one.

Happens since a few weeks already. Doesn't bother me that much, but I'd like to know if someone else has this and more important on how to get rid of it. Tried searching for a file I could edit, but without success.

Thanks in advacne!
[Nexus 5 Original Android Development] drawde40599:
installing a "old" kernel (5.01) on new ROM (5.1) just makes no sense to me , specially when a well known Dev says theres are changes . That's like jumping out the shower and putting old underwear on . ;)
[Nexus 5 Original Android Development] Ben36:
Yea but inside out is ok right because it makes it last longer between washes?

Sent via tapatalk from my cataclysm'd Lollipooop Nexus 5
[Nexus 5 Original Android Development] Globespy:
I don't think we will ever get 5.1.

Recent leaks suggest that the N5 will be the first phone to get 5.2, in assuming because 5.1 still has a lot of problems with the N5.

I'm pretty happy with 5.0.1 stock rooted with ElementalX - virtually zero issues and good matter life. So I'd rather wait until Google gets it right.

Lollipop seems to have been a problematic version, I don't think there's a custom ROM out there that doesn't have issues/compromises. That's telling.....
[Nexus 5 Original Android Development] The-Droidster:
OT: 5.1 is here for the N5

Hammered from my Hammerhead!
[Nexus 5 Original Android Development] Koopa777:
....you're joking.......right? :confused:

https://developers.google.com/android/nexus/images

http://www.androidpolice.com/2015/0...l-sim-support-hd-voice-and-device-protection/

http://www.androidpolice.com/2015/0...android-5-1-factory-images-for-nexus-devices/

Edit: Ninja'd haha.
[Nexus 5 Original Android Development] t3al:
Yes I'm having the same issue. In my car I'm play music from the stereo jack and when I get a call, the values reset.

Try setting the sound setting on Locked and set on reboot. Do the same for the values you want to set below.
[Nexus 5 Original Android Development] till22:
Thanks, did that now. Does that solve the issue for you?
[Nexus 5 Original Android Development] Flyview:
It's probably not wise to try ElementalX Kernel 2.10 with Android 5.1 is it?
[Nexus 5 Original Android Development] ast00:
Many say it boots, but they also say it has bad battery life and it freezes. I wouldn't try it, but feel free if you want to.
[Nexus 5 Original Android Development] core720:
Test and dont perfect work in 5.1, FC in Data Usage and more
[Nexus 5 Original Android Development] TigerCourage:
Working great here. I wiped everything and this phone never felt faster ??
[Nexus 5 Original Android Development] isamu982:
Second that, flashed right over the factory image
[Nexus 5 Original Android Development] dechronic:
Can you tell me what it FC on besides Data Usage? I have tried Data Usage and I see my data usage and click on individual apps to see their specific usage and I am not getting any problems using the Stock 5.1 + ElementalX 2.10 with F2FS on data & cache.

Wiped system partition, dalvik cache &cache, installed bootloader, radio and system.img (5.1) via fastboot, flashed ElementalX 2.10 + SuperSU 2.46 and booted the phone. I haven't had a freeze, reboot of Force Close since I installed it last night and I have used the phone up until this point.
[Nexus 5 Original Android Development] TigerCourage:
Never mind what I sed. I can confirm the battery drain.
[Nexus 5 Original Android Development] russian392:
Yep. Insane battery drain with EX 2.10 on 5.1 LP
[Nexus 5 Original Android Development] walpurgisnacht30:
ElementalX supposed to be working fine with 5.0.x, if it doesn't work fine with 5.1, I guess the answer is very obvious.
[Nexus 5 Original Android Development] flar2:
Update!!!

Update for Android 5.1. This is for Android 5.1, not Android 5.0.1 or Android 5.0.2.

Only flash this over the Android 5.1 kernel.

I also checked s2w/dt2w during phone calls and touch was disabled, as it should be. Tested on stock ROM. If touch is not getting disabled during phone calls, it is a problem with the ROM.

Download:

ElementalX-N5-2.11

Changes:

-update to 5.1 sources

-update installer
[Nexus 5 Original Android Development] theesotericone:
Well that was fast. Nice work as always.:cool:
[Nexus 5 Original Android Development] mrchennyken:
Thanks for this. The app is not detecting that I am on 5.1, however.
[Nexus 5 Original Android Development] walpurgisnacht30:
Finally I can die in peace.
[Nexus 5 Original Android Development] :
No wait. Nexus is yet to handle future Android releases and also Elementalx releases
[Nexus 5 Original Android Development] bunnycool:
haha..nice one
[Nexus 5 Original Android Development] #sharath:
Reminder (as you said, haha) : Please add the option in the app to change SeLinux status to permissive/enforcing. :D

Glad that you added that in the aroma installer.
[Nexus 5 Original Android Development] Lownita:
2.10 already worked good for me on 5.1 :)