yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] theesotericone:
LMAO. Nice one flar2.

So here's a story for you. When I first got this phone almost a year ago I was stoked to see that both the legends Faux and Franco would be contributing kernels for it. I'd had Samsung devices previously and had never had the chance to use either of those kernels. I used both for a short while until this kernel showed up. I clicked the link for your kernel and for the most part have been here ever since. I don't post much because it's so solid there is no need to. So thanks for giving me all these months of worry free kernel updates.

I'm also really looking forward to the final version of the app. I would join beta and help with it but I don't do social media. It's a long story but basically I buddy of mine bet me $100 bucks nine years ago that I would use it within the next ten years. That bet expires next year. Your app has been one hell of a temptation to loose that bet. I hate loosing at anything though so I'm still waiting for it to hit the Play Store.:cool:
[Nexus 5 Original Android Development] drawde40599:
u seen this page then ? http://xdaforums.com/google-nexus-5...lx-n5-0-44-t2519607/post51262959#post51262959

Your going to need a app that can change the govenor settings , or u need to know the path for all those values .
[Nexus 5 Original Android Development] flar2:
Updates!!!

All versions:

ElementalX-N5-1.11

Changes:

-enhance power efficiency patches

-auto disable wake timeout if s2w/dt2w are disabled

-adjust wake timeout delay to prevent occasional wakelocks

-fully disable wake functions if dt2w and s2w are disabled while screen is off
[Nexus 5 Original Android Development] pspuser007:
Just to be sure, to update to the latest version, all I need is to flash the express zip, right?

// I posted for the 1.10 version and just saw the new update! :P Great stuff [MENTION=4684315]flar2[/MENTION] :)
[Nexus 5 Original Android Development] flar2:
Yup, just flash express and it will keep your settings.
[Nexus 5 Original Android Development] walpurgisnacht30:
You just made my day.

Sent from my Nexus 5
[Nexus 5 Original Android Development] swat4samp:
Dude, just read my comment clearly. I already said i tried synapse to change those values but they won't stick at all (just changes to default when i close/open that app). And i searched and found that particular post itself and that's where i didn't understand. After deleting that file power.msm8974.so, can i edit values in synapse?
[Nexus 5 Original Android Development] drawde40599:
Dude , I did read your post. Try a different app , I don't no what a synapse is but if its not working then try a better app or chase down the paths and write a script ,. OP says some apps won't work and are not recommend with this kernel .
[Nexus 5 Original Android Development] Hannibal226:
Haha nice one xD

If I had decided one version later to not using the dt2w I hadn't write anything to the thread...

So I don't know if this was one reason to ass this in the version or not, but anyway this will prevent further confusions ;)

Thanks for ur good work over this long time.

CHEERS ;)
[Nexus 5 Original Android Development] Brushstroke:
Yay! It sounds like this will provide even better battery life.
[Nexus 5 Original Android Development] hectormcesar:
I see, I'm using stock but I did download a xposed module that gives me notification on screen lock. I guess I'll have to disable it.

Thanks
[Nexus 5 Original Android Development] rhamej:
Any luck with the sound settings not changing/sticking?
[Nexus 5 Original Android Development] 12Fully:
I keep getting this error when truing to set a gamma profile. It doesn't matter which one I try.. On 1.10 and 1.11.

Sent from my Nexus 5
[Nexus 5 Original Android Development] Lancez:
After downloading 1.11 from app, it rebooted to recovery to flash. But CWM 6.0.45 is getting untrusted zip error, installation was aborded. Manually flashing fix the problem.
[Nexus 5 Original Android Development] drawde40599:
Its Working fine with Elementalx , Franco , and faux apps . Someone else was having issues with that app for something else earlier today . Try different app
[Nexus 5 Original Android Development] 12Fully:
Is the Elementalx app still on beta?

Sent from my Nexus 5
[Nexus 5 Original Android Development] drawde40599:
Ya , but beta is just a word . app works great . one thing I've noticed over the last year of using Flar2's work is he don't put out anything that doesn't work right , and if there is a bug its fixed before anyone even new it was there . The app is beta but all the features it currently has work perfect .
[Nexus 5 Original Android Development] flar2:
I would not have looked into it if you didn't post

No, I'm not sure how it all works, I think something in the system changes it.

Gamma works the same on ElementalX as the other kernels (except cm)

Sampling rate is part of ElementalX governor, you adjust the ui sampling rate, which kicks on when you touch the screen. If you remove powerhal you can adjust touch boost freqs and duration in ElementalX governor.
[Nexus 5 Original Android Development] relevant_placeholder:
Anyone else experiencing lags when multitasking?

Especially if chrome is involved.
[Nexus 5 Original Android Development] ggogolewski:
I read about this once. To modify these files*is needed calculate a checksum*that is different according to the values that you want write into Faux Sound Control files

Maybe this help:

http://xdaforums.com/showpost.php?p=53971441&postcount=4394
[Nexus 5 Original Android Development] notbrodie:
[MENTION=4684315]flar2[/MENTION]

would you consider maybe rolling back to fauxsound driver 3.2 or 3.5? it would seem that 3.6 is not quite ready for the spotlight, and it's been nearly a month since it's release.
[Nexus 5 Original Android Development] Snoop05:
What about 96MHz min cpufreq? Can you please add it to next release?

By the way, best CAF kernel. Awesome work :good: If you are looking for inspiration, we will also welcome some features from UBER kernel. (e.g. 650MHz GPU)
[Nexus 5 Original Android Development] GR0S:
Consider merging this https://git.kernel.org/cgit/linux/k.../?id=da01e61428aa2b5c424fddc11178498462d8c77f

Summary:

- retain some recovery information for fsck.f2fs

- enhance checkpoint speed

- enhance flush command management

- bug fix for lseek

- tune in-place-update policies

- enhance roll-forward speed

- revisit all the roll-forward and fsync rules

- support larget sector size

- support FITRIM

- support atomic and volatile writes
[Nexus 5 Original Android Development] jayplusone:
It's disrespectful to ask a dev to look for inspiration from another kernel. Not sure if its a language barrier.. The 96 MHz min cpufreq has been brought up here a few times. Last I remember flar wasn't interested in doing it and gave his reasons.

Sent from my Nexus 5
[Nexus 5 Original Android Development] flar2:
650MHz GPU does not exist and 96 MHz cpufreq can cause instability and has no benefit.
[Nexus 5 Original Android Development] Snoop05:
Sorry that i haven't read 1287 pages.

Was it disrespectful? If yes then please accept all my apologies. It wasn't critic, or saying that "his kernel is better". I just pointed on kernel where it was implemented, and you can grab part of code from there.

CPU @ 96MHz - What stability problem you mean? UI hang? Forced reboot? I don't had any of these while using it. Lower frequency @ lower volatge = lower power consumption (before core goes offline). You don't have to force users to use it, it's their choice.

GPU @ 650MHz - Guys reported significant performance increase in Modern Combat 5. Better performance combined with more heat may be proof. Still, i will prefer 'fake' with better performance over 'confirmed truth' with lower performance. And again, its user's choice.

This wasn't meant to be any kind of offense.

Best kernel :good:, really, like your work.
[Nexus 5 Original Android Development] danarama:
Not sure how anyone has proved better performance on GPU by overclocking. I haven't seen any increase in fps for any frequency over stock.
[Nexus 5 Original Android Development] drawde40599:
They didn't . its in there head ( placebo)
[Nexus 5 Original Android Development] prem0621:
Which version should I flash with purity + rom, CM or Aosp?
[Nexus 5 Original Android Development] walpurgisnacht30:
As far as I know Purity is AOSP based

Sent from my Nexus 5
[Nexus 5 Original Android Development] d1n0x:
AOSP...
[Nexus 5 Original Android Development] flar2:
I have a hardware profiling software from qualcomm that tells you the exact frequency the gpu is operating at. The thing that is changed in other kernels is just the name of the frequency, not the actual frequency.
[Nexus 5 Original Android Development] danarama:
That explains the lack of FPS increase then :)
[Nexus 5 Original Android Development] Snoop05:
OK, i got it.

And about that 96MHz? I will be optional for user, not default, write that i will be at everybody's own risk :) (as if all other stuff isn't)
[Nexus 5 Original Android Development] danarama:
Where have you got the idea that 96MHz will work? Lowest is 300MHz. That's quite a jump.
[Nexus 5 Original Android Development] Snoop05:
Am i allowed to post there links to kernels that use it? :confused:
[Nexus 5 Original Android Development] PetritH:
Links? My guess is no, i may be wrong though
[Nexus 5 Original Android Development] topgeardave:
On that kernel bump up the min freq to 300mhz and you'll see no difference in battery life.

A freq that low (96mhz) will be wide open to power leakage. Also 96mhz is irrelevant as that and 300mhz use almost the same voltage so you're just decreasing clockspeed for no benefit in battery life. When listening to music screen off freqs will always be jumping up and down between 96 and 300mhz as 96mhz isn't enough power. Also when in deep sleep the 96mhz isn't even touched so I don't see any real world advantages of it at all.
[Nexus 5 Original Android Development] notbrodie:
while i am on the side of not using it, there are more than a few kernels that have 96mhz and 192mhz steps added in. it definitely functions.
[Nexus 5 Original Android Development] drawde40599:
Your right , there's a few , but they have been built around those steps maybe that's y they work ?

---------- Post added at 05:45 PM ---------- Previous post was at 05:44 PM ----------

There are some that go that low and they do work , but it doesn't do anything for battery . well in comparison to this kernel .
[Nexus 5 Original Android Development] relevant_placeholder:
Bumping, anyone else experiencing lag on latest build?
[Nexus 5 Original Android Development] ZacksBuilds:
Lag? What is this lag?
[Nexus 5 Original Android Development] jayplusone:
No lag here. Purity Rom, stock EX settings on ART ?.

Sent from my Nexus 7 *2013*
[Nexus 5 Original Android Development] relevant_placeholder:
Jet lag.
[Nexus 5 Original Android Development] drawde40599:
Lag ? Maybe give some more info ?

---------- Post added at 09:12 PM ---------- Previous post was at 08:40 PM ----------

@Flar2 have you looked at faux's simple GPU gov latley for N5 ? Has he fixed it since back when you last used it ? I still miss that GOV working right or not ;P
[Nexus 5 Original Android Development] hdoraemonk:
Don't charge by usb when enable fast charge.
[Nexus 5 Original Android Development] iamelton:
why not?
[Nexus 5 Original Android Development] danarama:
Should be fine unless you're using a cable without data pins.

Phone draws what it wants. There's no regulation on USB ports so you could in theory burn them out. However, fast charge shouldn't activate on USB due to recognition of data pins
[Nexus 5 Original Android Development] danarama:
Its just a case of whether it functions correctly. Can it maintain a steady frequency?

What frequency does deep sleep drop to? Higher than 96 I imagine
[Nexus 5 Original Android Development] bongmasta:
GPS

is there a way to give the GPS more power?

while playing ingress all the sony and samsung devices have more accuracy on gpsfix :(
[Nexus 5 Original Android Development] antisoma:
[MENTION=4684315]flar2[/MENTION]

I do have occasional sleeplocks on CM nightly and your kernel. Is this of any importance to you?

http://xdaforums.com/showpost.php?p=56006908&postcount=9315

Apologies if not.
[Nexus 5 Original Android Development] AndrasLOHF:
I've recently changed to stock ROM and am planning on taking my first OTA on the L update. Does this kernel write anything to the system that would cause the OTA to fail? I know I'll have to fastboot flash the stock boot.img. Using this kernel will I have to flash the system.img as well??? FYI I flashed the kernel in fastboot by fastboot booting twrp, then flashing the ElementalX kernel so that way I am still running stock recovery. Last OTA update I took was in August of 2012 LOL.
[Nexus 5 Original Android Development] flar2:
You could run the kernel just with the boot.img and no system files. It's fairly complicated to fastboot flash this kernel, since it builds the boot.img in recovery. Also, you'd be limited to default kernel settings unless you have the app.

Easiest would be to make a backup of stock /system and /boot, install EX in custom recovery. Then when you want the OTA, restore /system and /boot and reflash stock recovery.

But I wouldn't bother with all that. I'd be willing to bet you'll be able to get L as a flashable zip here on XDA before you get the OTA.
[Nexus 5 Original Android Development] flar2:
So, downloads are down quite a bit. Maybe I need a fancier logo? I'm going to try a couple changes, but not sure what I can improve, as my objective testing shows equal or better results in all areas that I focus on. Suggestions?
[Nexus 5 Original Android Development] Jax Teller:
You mean downloads of the kernel or of the app?
[Nexus 5 Original Android Development] BabboDemonio:
Maybe people are not downloading new kernel versions because Android L is almost arrived (in theory)
[Nexus 5 Original Android Development] flar2:
The kernel. The app will never have big numbers because it costs money.
[Nexus 5 Original Android Development] a0b1c2:
While wenow have a Powersave mode, perhaps we can have a Performance mode. One where, for example, we'd never unplug any of the cores. Let them stay on. Of course, this wouldn't be the default.

Cheers,

-pablo
[Nexus 5 Original Android Development] SWTR:
You forgot to update the threadname:)
[Nexus 5 Original Android Development] jumparound246:
+1

Love your work but that would be killer
[Nexus 5 Original Android Development] momomok:
that's true.

if i haven't followed this thread via xda DevDB, i would probably miss 1.11 as well :p
[Nexus 5 Original Android Development] Jax Teller:
About kernel, I think an update to the toolchain would be great.

Also it would be great to have the option to choose performance profiles for ElementaX governor from aroma installer.

Let's say three profile, one for battery, one for balanced (stock settings we have now) and one for performance.[emoji4]

Sent from my Nexus 7 powered by SlimKat
[Nexus 5 Original Android Development] flar2:
Performance mode is alredy in the works. These modes are what I'm doing instead of the "per-app" modes seen in other kernel apps.
[Nexus 5 Original Android Development] Jax Teller:
Will it be an option in aroma installer?

Sent from my Nexus 7 powered by SlimKat
[Nexus 5 Original Android Development] flar2:
No, this is the kind of thing that can only be done with an app.
[Nexus 5 Original Android Development] willgare:
Flar, can i ask why you have no Nexus 4 Kernel?
[Nexus 5 Original Android Development] a0b1c2:
.... which to me is reasonable.

I wonder if there's any need for some sort of scheduler to determine when to activate a particular profile.

Cheers,

-pablo
[Nexus 5 Original Android Development] flar2:
Version 1.12 and big updates to the app will be coming later this week hopefully.

I need to make one more change to kernel for disabling wake functions while the screen is off and then powersave mode can automatically kick on when the system detects low battery. This will occur at 15% battery on stock ROM (not sure if custom ROM's modify this or if that's even possible). The reason for 15% is I can use an intent filter to trigger powersave mode. I do not want to have services running in the app.
[Nexus 5 Original Android Development] flar2:
I don't have a nexus 4
[Nexus 5 Original Android Development] willgare:
Hahahaha - fair enough! Reason i asked, the wife has my N4 but I wanted a kernel that I could flash without rooting the device, but with an aroma installer to change the colour profile, like yours.

I have flashed Franco N4 on hers, she seems happy with it, but cant change the colour without applying root and using the app.

My N5 has your kernel, but no root, so I can use particular apps. And of course, its the best kernel for N5!

Thanks for all your hard work.
[Nexus 5 Original Android Development] zubsz:
Which version do we install for 2.8 mahdi? caf or aosp? Sorry if this is a stupid question :(
[Nexus 5 Original Android Development] d1n0x:
AOSP.
[Nexus 5 Original Android Development] swat4samp:
I think this kernel lacks better PR :p Just kidding, i have been using this kernel since 1.02, i may use other kernels but that's for temporary purpose, i always revert to this :) . As for average people like me, i'm fully satisfied with both performance and battery life. I even solved little bit stutters by playing with kernel settings. I will stay with this until L arrives.
[Nexus 5 Original Android Development] gverma1:
I don't have N4 but I know an awesome developer who has built Semaphore kernel for N4. His name is stratosk. I can blindly suggest you try his kernel- don't know if it will serve all your requirements but his kernels are top notch and closest to stock. I used his i9000 Galaxy S kernels with joy.

Now back to topic.
[Nexus 5 Original Android Development] Jax Teller:
And how will performance mode work?

What changes will be made to the kernel when it's activated?

Sent from my Nexus 7 powered by SlimKat
[Nexus 5 Original Android Development] Blac Caesar:
I know I'm late... but I've been busy lol. Thanks for the update, [MENTION=4684315]flar2[/MENTION]! Ready for your Android L work.. your kernel has been pretty epic for my Nexu5 :victory:
[Nexus 5 Original Android Development] magnamentis:
consider this

somehow examples always lack but let me say like this: more people buy rock, pop and the likes than classical because it's not the best which attracts greatest numbers. so it's a basic decision to produce fancy for numbers or top notch quality for those who estimate it. albeit this is up to you, i'm very glad that beside all the other stuff with huge ups and downs i can use a custom kernel which i can rely on and still does to job. on my n7100 i gave up on custom kernel because it does not exist, same on SGS2, while on 1+1 i found a good kernel but still face significant issues in 2 out of 10 releases which due to fixes leads to more downloads and activities but does not say anything about quality if not the opposite.
[Nexus 5 Original Android Development] danarama:
I usually update every couple of versions if there's a few successive updates because I'm lazy and it takes me while to get round to it. I often feel if there's a new kernel, might as well compile my favourite ROM too.

People are finicky. There's a lot of kernel choice at the moment. You may notice downloads being down but that doesn't mean downloads for other kernels are bigger than yours.

There's really not a lot that could be added to this kernel.

One feature I would like is the ability to set my USB 2 charge rate higher. I could on my s3 but not sure the n5 detects between usb 2/3 the same.

That said, I won't leave if you don't add it and I doubt many will care either.
[Nexus 5 Original Android Development] drawde40599:
People are going to go to the kernels that have all the fancy crap that dosent do anything but it sounds cool and they just haft to have it because its there , doesn't matter whether it works right or not. so unless you're going to add some of those fancy options I don't think there's anything you can do. Maybe build a second less stable permanent beta version with all the fancy .
[Nexus 5 Original Android Development] Stryder5:
This. And you didn't update your thread title initially either.
[Nexus 5 Original Android Development] GR0S:
[MENTION=4684315]flar2[/MENTION]

I've pulled some F2FS code from kernel.org but can't build it

Please try building this: https://github.com/nzer/ElementalX-N5/commit/c6e4d0cfdaf4dd1585c1721d27ea5963ac71db5c

PS: does anybody why I can't build kernel?

x@XTR:~/Projects/ElementalX-N5$ export CROSS_COMPILE=/home/x/gcc-linaro/bin/arm-linux-gnueabihf-
x@XTR:~/Projects/ElementalX-N5$ export SUBARCH=arm
x@XTR:~/Projects/ElementalX-N5$ export ARCH=arm
x@XTR:~/Projects/ElementalX-N5$ make
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' не требует обновления.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
LD init/built-in.o
CC arch/arm/mach-msm/acpuclock-krait.o
arch/arm/mach-msm/acpuclock-krait.c: In function ‘acpuclk_krait_init’:
arch/arm/mach-msm/acpuclock-krait.c:1420:2: error: too many arguments to function ‘acpuclk_krait_debug_init’
acpuclk_krait_debug_init(&drv);
^
In file included from arch/arm/mach-msm/acpuclock-krait.c:40:0:
arch/arm/mach-msm/acpuclock-krait.h:341:20: note: declared here
static inline void acpuclk_krait_debug_init(void) { }
[Nexus 5 Original Android Development] educk:
Make hammerhead_defconfing, or something similar maybe :)
[Nexus 5 Original Android Development] GR0S:
It just updates config or something

Full script:

export ARCH=arm

export SUBARCH=arm

export CROSS_COMPILE=/home/x/gcc-linaro/bin/arm-none-eabi-

make hammerhead_defconfig

make -j5

I also copied defconfig from arch/arm/config to .config, so it should work.
[Nexus 5 Original Android Development] flar2:
Try:

make elementalx_defconfig
[Nexus 5 Original Android Development] GR0S:
Thanks alot, it's compliled something, but there are no zimage in /arch/arm/boot/ nor in project root

UPD: Got it, new F2FS doesn't work.

warning: ‘struct dir_context’ declared inside parameter list error, forbidden warning: dir.c:662

Line itself looks fine. Guess I have to disable warnings or our kernel misses new strucks

static int f2fs_readdir(struct file *file, struct dir_context *ctx)
[Nexus 5 Original Android Development] Punkid:
Sorry for the noob question, but i couldnt get much info on how to get the powersave mode other than the elementalx app. Is there any other way to activate it? free.
[Nexus 5 Original Android Development] GR0S:
There's perfomance app in settings in most roms
[Nexus 5 Original Android Development] Punkid:
im using Mahdi, and it does have it, but i dont see any powersave "mode" here. Do i have to ramp down the max clock manually or something ?
[Nexus 5 Original Android Development] GR0S:
What does powersave mode do? Guess it's powersave governor + 1ghz min speed. If want to control cores you need elemental x app or fauxclock (both paid)
[Nexus 5 Original Android Development] Punkid:
i read a few pages back that it lowers max clock to 1267mhz , disable vibration, lower gpu clock a little...among other things...but that cant be done from the performance app included in ROMs
[Nexus 5 Original Android Development] notbrodie:
powersave is a feature of the app, not the kernel. if you want it, you'll have to use the app
[Nexus 5 Original Android Development] Punkid:
thanks for clearing that
[Nexus 5 Original Android Development] flar2:
Powersave mode decreases max cpu to 1267, decrases max gpu to 389 (I'm going to change it to 320), disables s2w and dt2w (if enabled), turns on the backlight dimmer and disables the vibrator.

You can do all that without the app. The app makes it all convenient by allowing you to do enable powersave mode with a button press and restore previous settings with another button press. The next version of the app makes it easier and there is also an option to automatically enable powersave mode when the battery is low.

Performance mode will work similarly.