yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] Horizone:
How's the kernel performance and battery life?
[Nexus 4 Android Development] aviz1911:
Did you dirty flash the ROM first? Which kernel you were using before flashing my kernel ?

I tested both stock and simpleAOSP both are fine for me.
[Nexus 4 Android Development] snak3ater:
Once all issues are fixed,It will show up soon :)
[Nexus 4 Android Development] christopherrrg:
8 hours use so far and it's great. No stutters or lags so far.

Cheers man! Faux Sound ?
[Nexus 4 Android Development] slipknot31:
which comes with the rom, then wipe cache, Davik cache without success. on the second attempt after the rom and kernel, nor
[Nexus 4 Android Development] snak3ater:
Have you tried any other kernel in that rom?

It's weird because I'm dirty flashing this kernel and still my phone boots up fine
[Nexus 4 Android Development] christopherrrg:
Dirty flashed over LRX21T factory with no problems here!
[Nexus 4 Android Development] vampire36:
For me it has...easily 4.5+ hours SOT with dt2w with same use as normally with other governors and same apps...3.5 to 4 max....

So for me its been awesome...with no loss in performance :)
[Nexus 4 Android Development] keyra74:
r7 cleaned my **** and deleted my contacts :laugh::laugh::laugh:
[Nexus 4 Android Development] aviz1911:
Thanks for the feedback. I'll test it then, if everything goes good I'll make it default governor from next version ;)
[Nexus 4 Android Development] giamanto:
is anybody else having these problems?
[Nexus 4 Android Development] aviz1911:
Seriously ??
[Nexus 4 Android Development] giamanto:
i don't kno... was it a joke? i hope so!! ;)
[Nexus 4 Android Development] keyra74:
you're the one who put that in log from recovery...

u don't even remember your jokes :D
[Nexus 4 Android Development] aviz1911:
Feedback needed

Hey,

here is a test version. I added ElementalX cpu governor

Frequencies and tunables maybe a bit messy(i haven't tested it yet). So, can someone test this and report how's the battery life and performance when compared to other governors in this kernel.

Feel free to post your tweaked settings. I'll have a look at them and change accordingly ;)

Download:

https://www.androidfilehost.com/?fid=95832962473395867

Thanks
[Nexus 4 Android Development] keyra74:
nice test version but link isn't here
[Nexus 4 Android Development] aviz1911:
Now it's there ;)
[Nexus 4 Android Development] vampire36:
A pm sent ;)
[Nexus 4 Android Development] keyra74:
synapse shows only 4 cpu governor here :

interactive / powersave / performance / smartmax

am i doing something wrong?
[Nexus 4 Android Development] aviz1911:
Try trickster mod from playstore. It shows elementalX just fine.

EDIT: did you just say interactive ?? I disabled it in this version. Flash the test version again and check in synapse.
[Nexus 4 Android Development] keyra74:
better now with trickster i see elementalx and others
[Nexus 4 Android Development] kelbaez:
Thanks for the good work on this kernel,

any suggestions on governor and other configs to get better battery??
[Nexus 4 Android Development] xenyz:
Decided to boot up this kernel to check out the bricked mpdecision and elementalx gov combo. First thing I noticed was the vibe. Did you crank the vibe up to 11 on this thing?
[Nexus 4 Android Development] snak3ater:
Any idea how to crank up the vibe to 11?
[Nexus 4 Android Development] Gnome:
So custom hot plugs, are they better? Just wondering since mpdecision is there for a reason.
[Nexus 4 Android Development] aviz1911:
Yeah it's good. But i don't like that limiting of min cpu freq at 1ghz(sacrificing battery for smoothness, not nice)

You can try bricked hotplug, it's basically tweaked msm_mpdecision by showp ;) and provides good battery juice than stock MPD. And also mpd is closed, so it controls us but we cant control it :p
[Nexus 4 Android Development] Gnome:
My kernel only uses mpd as default but no issues so far, anyways I have my own opinions. Lol! Keep up the good work mate!
[Nexus 4 Android Development] aviz1911:
MPD is awesome and many Developers proved it too. But With custom hotplugs we have more tunables and we can squeeze more battery juice. Though some hotplugs are fancy showcase's :p, Rest of them are good.
[Nexus 4 Android Development] Gnome:
Yeah I know, lol. But I'll stick to my guns, at least I'm 5hr + SOT, and that works for me since I tend to use my phone a lot. Haha
[Nexus 4 Android Development] aviz1911:
Your Optimize commit from simpleAOSP kitkat kernel saves us a lot of time ;) [MENTION=4770534]snak3ater[/MENTION] is a huge fan of that commit :p
[Nexus 4 Android Development] Horizone:
Great work porting the ElementalX governor over :) Have heard many great things about that kernel on the N5 so it's great to have some aspect of it here :3
[Nexus 4 Android Development] giamanto:
so, any news about this test? any problem? is it battery friendly? thanks!
[Nexus 4 Android Development] aviz1911:
Did you even flash the kernel ?? Or any custom kernel ?? If so, flash it and test it by yourself
[Nexus 4 Android Development] giamanto:
sure that i've done... but considered that i'm working really well with r6, i just wanted to understand if it was as good as the r6.... why so angry?
[Nexus 4 Android Development] aviz1911:
I'n not angry LOL

I'm using the same build and it's stable. Just flash it, test it and give me your feedback ;)
[Nexus 4 Android Development] giamanto:
just downloaded it, now i will flash it and then i will let you know as i did two days ago with the r6 version!! :D
[Nexus 4 Android Development] blusydays:
I've just flashed your kernel, but I am surprised I didn't find color profiles, l use trickster.
[Nexus 4 Android Development] aviz1911:
You don't have to be surprised :p I use franco gamma control. You can either use Display control app or FKU to control color. synapse also works great.
[Nexus 4 Android Development] keyra74:
ok after a day i'm in love with your latest test kernel
[Nexus 4 Android Development] aviz1911:
Is elementalX working good with bricked hotplug? How's the battery life? Better or worst that previous version?

I forgot to mention I also included intelli plug latest version by neobuddy in the test kernel. Test that too :)
[Nexus 4 Android Development] keyra74:
i'm using elementalx and yes my battery has never been that good before

i don't see the intelliplug thing in trickster
[Nexus 4 Android Development] xenyz:
Something odd I noticed that may impact battery life: in the ramdisk, you set the sampling rate to 80000, and powersave bias to 50 but it doesn't seem to get set through sysfs. It looks like it's hard coded to 50000 and 0.

Everything is running fine with intelliplug though, the CPU boost makes everything smooth.
[Nexus 4 Android Development] aviz1911:
I set wrong values for some of those tunables. I fixed them now ;) There are so many tunables in this governor and I really don't know what some tunables even do lol
[Nexus 4 Android Development] xenyz:
Do you have a N5 running elementalx? Maybe we can get [MENTION=4684315]flar2[/MENTION] to recommend something for our N4's?
[Nexus 4 Android Development] blusydays:
Is the CPU screenoff max frequency hardcoded ? Because I can't change it.

I used both synapse and trickster, anf reflashed the kernel. I still cannot change it.
[Nexus 4 Android Development] aviz1911:
I just tested it in trickster and synapse. Yes you can change it.
[Nexus 4 Android Development] Horizone:
Getting phenomenal battery life with elementalx governer + underclocking :) Shame no synapse support though ;c
[Nexus 4 Android Development] aviz1911:
Are you serious ?? No synapse support ??

I'm using synapse+UKM to control my kernel settings !!
[Nexus 4 Android Development] Horizone:
I don't know I'm getting no UCI support detected :( I try reflashing UKM and reinstalling synapse but no luck. Maybe it's cuz it's the test kernel?
[Nexus 4 Android Development] aviz1911:
Make sure you have BUSYBOX and init.d support - I guess you missed this part

Flash kernel

Flash UKM

Reboot

Install synapse from play (first time synapse force closes)

Re-Open synapse again and everything should be working fine.

You getting no UCI support detected doesn't mean this kernel doesn't support UKM+Synapse
[Nexus 4 Android Development] Ansh1107:
Latest test version stable? Also.. Battery improved? Can't test different versions due to my ongoing terms.. Please recommend me a version for good battery!
[Nexus 4 Android Development] aviz1911:
Passed the TEST !!

Wait for a couple of hours, i'll upload a new Build
[Nexus 4 Android Development] aviz1911:
nash.Kernel - r8

Hey,

Uploaded R8, Check Post 1 for download link and Post 2 for changelog

NOTE: You can get all the information about ElementalX governor from it's respective thread in Nexus 5 forum.

GBOOST is disabled by default. If you want more performance while heavy CPU tasks like playing games etc - Enable it.

Trickster works but it doesn't show some of the tunables correctly. So, i suggest you to use UKM+Synapse for full control.

Enjoy ;) and Remember to press that Thanks button if you like my work, also gimme your feedback
[Nexus 4 Android Development] blusydays:
This kernel is, with hell's Doctor, one of the best kernels I have tried. The ElementalX Gov is awesome, everything's smooth with no battery drain :)

But no more intelliplug ?
[Nexus 4 Android Development] Horizone:
now it works and I didn't even change anything
[Nexus 4 Android Development] TheDarkDefender:
eX governor! Yay!

Questions :

1. Do we have to watch out for anomalies, as a result of SM 4.10 ?

2. Where do I enable OTG?

Cheers,

D
[Nexus 4 Android Development] aviz1911:
Sorry, let's just stick with bricked hotplug. If that gives any trouble I'll reconsider enabling intelli plug.
[Nexus 4 Android Development] blusydays:
Ok no problem, and thanks again.
[Nexus 4 Android Development] aviz1911:
Sorry guys, I missed the "enable usb-otg" part while compiling the kernel :p

Updated the download link with a quick fix.

If you already flashed R8 and don't need USB-OTG - There's no need to flash R8.1.

But if you are on R8 or about to flash R8 and need USB-OTG, download R8.1

Thanks
[Nexus 4 Android Development] aviz1911:
Let's try something Experimental

I'm using the build compiled with 4.10 SM since 4 days and everything is just fine, no earthquakes or floods ;)

Thanks for asking about that USB-OTG part. Can you please download R8.1, i forgot to enable it in R8.

BTW i reduced some of your "where do i enable OTG" and enabled it by default ;)
[Nexus 4 Android Development] TheDarkDefender:
Terrific! thanks! (:
[Nexus 4 Android Development] TheDarkDefender:
Hey Aviz, flashed 8.1. I have a flash drive connected. Which folder does it show up in? Using es file explorer btw.

Cheers,

D
[Nexus 4 Android Development] aviz1911:
What kernel you were on before flashing my kernel ? I can lower/higher both max screen off freq and min CPU freq.

What governor you are using?
[Nexus 4 Android Development] aviz1911:
Unfortunately, I only know how to enable USB-OTG from the kernel side. I have no idea about those flash drives etc etc. Maybe you should contact an expert ;)
[Nexus 4 Android Development] aviz1911:
Change the CPU governor, try to set the min and screen off frequencies you want and again change the governor to elementalX - see if this works.

Download system monitor or trickster mod from play and check if cpu0 is idling at 192mhz.
[Nexus 4 Android Development] kevinnol:
Try disabling touch boost/bricked hotplug, set the new min frequency and activate touch boost/bricked hotplug again. should work
[Nexus 4 Android Development] Maibol:
hi aviz i see that you implement "blue active governor very nice!!!!" .... are you thinking about add blue plug to ?
[Nexus 4 Android Development] kevinnol:
When you touch the screen, the touch boost sets the min freq to the 'set value' example 702mhz for a sec.

If you disable touch boost and set the min freq to example 192mhz and enable touch boost again your min freq is still 192 even it it shows 702
[Nexus 4 Android Development] aviz1911:
As long as the CPU goes idle at 192mhz or the minimum frequency you set, its fine. Don't just look at the slider in synapse and panic. Its cpu-boost boosting the freq when you touch the screen. If you check the scaling min freq file, its values is 1026mhz. These are connected to the CPU boost driver in the kernel.

So, when you have a doubt download system monitor from play and check what the CPU's are doing.

As far as I know max screen off frequency is working as it should.
[Nexus 4 Android Development] aviz1911:
Nah, no blue_plug. We are good with bricked hotplug. Blue_plug is just dynamic hotplug from semaphore with max screen off support and we have all those in our kernel ;)
[Nexus 4 Android Development] Maibol:
ok ;) btw how can i add a other core always online?
[Nexus 4 Android Development] xenyz:
You have to do it manually, as Trickster mod, UKM, etc do not know msm_mpdecision was renamed to bricked_hotplug:

# echo 2 > /sys/kernel/bricked_hotplug/conf/min_cpus_online
[Nexus 4 Android Development] aviz1911:
I can add an init.d script if you guys want. So that you can change all the kernel settings from there, set permissions and reboot.

Let' s ask [MENTION=5658634]apb_axel[/MENTION], UKM 3.5.1 has not landed yet So, maybe he can add this bricked hotplug too :D
[Nexus 4 Android Development] apb_axel:
It's added already, just pending release ;).
[Nexus 4 Android Development] aviz1911:
The truth has been spoken. Take your time and drop 3.5.1 right on target ;)
[Nexus 4 Android Development] y3mita:
Loving this kernel fast fluid and no freezes thanks much
[Nexus 4 Android Development] nipponsahore:
[MENTION=4914494]aviz1911[/MENTION] how much undervolting do you suggest.

Also do you recommend switching to elementalx governor?
[Nexus 4 Android Development] aviz1911:
What's your CPU bin? I suggest not to mess with those voltages if you don't know what you are doing. They may cause instability issues and reboots.

I undervolt -150 on 192mhz and -125 on 384-1512mhz. My bin is FAST.

Yes, I'm booting this kernel on elementalX and you can switch to that and test ;)
[Nexus 4 Android Development] Rohit02:
Any mirrors for the latest kernel? Afh is ****ty nowadays. The download doesnt start.. tried almost all browser.
[Nexus 4 Android Development] Ansh1107:
It does work.. I downloaded from chrome in no time!
[Nexus 4 Android Development] aviz1911:
Here - http://www.mediafire.com/download/flkwwgajp0c86pg/nash.Kernel-r8.1.zip
[Nexus 4 Android Development] christopherrrg:
[MENTION=911378]avix[/MENTION]1911 I'm having issues with the latest.

Turn phone off and plug in to charge.

Black screen instead of battery animation (as if bootlooping) not entirely sure if it's actually charging while off.
[Nexus 4 Android Development] bladebuddy:
Thought my battery was good b4 flashing this , now it's amazing. Cheers.
[Nexus 4 Android Development] aviz1911:
Fixed it.

Thanks for pointing it out ;)
[Nexus 4 Android Development] aviz1911:
Are you sure you are using my kernel :o:o

Thanks
[Nexus 4 Android Development] christopherrrg:
Awesome, loving the kernel!

I should have included kmsg in that post so I apologize for being somewhat lazy. But that's awesome that you understood. [emoji12]
[Nexus 4 Android Development] aviz1911:
Nah that's totally fine. I'm the one who messed it up in the first place :p
[Nexus 4 Android Development] aviz1911:
nash.Kernel - r9

Hey everyone,

Uploaded R9, Check OP for more information

If you have any issues, found any bugs in this kernel - I'm here to fix them fellas :o

Thanks for your support. Hit that "thanks" and rate the thread if you like my kernel :highfive:
[Nexus 4 Android Development] kelbaez:
Thanks again for updating, the little joke made my day ?
[Nexus 4 Android Development] aviz1911:
I found that one after searching "naughty jokes" in google :p
[Nexus 4 Android Development] ssbnasa:
I have a general doubt here.

Whenever i make the min freq to 192, after applying it comes back to 1024. I'm using eX governor.

What should i do? Any help would be appreciated?

Thanks
[Nexus 4 Android Development] aviz1911:
Don't worry about that. It's the cpu-boost driver, which boosts the cpu freq to 1026mhz when you touch the screen. It shows the min freq is 1026mhz but the cpu goes idle at 192mhz. You can use perfmon or system monitor to check the current state of cpu's in realtime :)
[Nexus 4 Android Development] arvynofikri:
Great kernel, thanks [MENTION=4914494]aviz1911[/MENTION] ??

Dikirim dari Nexus 4 saya
[Nexus 4 Android Development] jimyiak:
Which app to control the kernel?trickster?

sent by nexy 4
[Nexus 4 Android Development] aviz1911:
Synapse is recommended. You can use trickster too

Next time before asking this, please read the HOW TO FLASH part in the OP.
[Nexus 4 Android Development] ssbnasa:
Thankuu man! Appreciate it :D
[Nexus 4 Android Development] nipponsahore:
[MENTION=4914494]aviz1911[/MENTION] im running stock rom android 5.0 and using your kernel. Although its working flawlessly, however when i tried using a usb flash drive. It didn't mount the flash drive. Tried version 8 as well as 9.. Also tried using stick mount to get it working but to no avail. Do i need to do anything to get it working?
[Nexus 4 Android Development] aviz1911:
I'm sorry. I don't have any flash drives or those things which use usb-otg.

You can try asking the users who actually use these usb-otg stuff. AFAIK USB-OTG is enabled by default and i guess it works ;)
[Nexus 4 Android Development] TheDarkDefender:
Stickmount does not support the n4. It should work without it though. Not sure, this is my first time trying otg on the n4. I usually use it with my flo, where it works flawlessly. There's a dev, ziddy who actually authored the hack. [MENTION=4914494]aviz1911[/MENTION] did you use his commit?

Edit : looks like you did. Faux + ziddy

Maybe the implementation has changed in lollipop. If any other kernel in the forum has it working, that could throw some light on this.
[Nexus 4 Android Development] aviz1911:
I used ziddy's USB-OTG hack with Faux sysfs interface commit. I'm not sure if there's something changed regarding otg in lollipop.

Let me know if this one's working, if it's working, i'll add more features to this usb-otg from other kernel sources. If not, bye-bye usb-otg :cyclops:
[Nexus 4 Android Development] keyra74:
i had to go back to 8.1. on 9 my notifications were delayed

exemple for whatsapp i was getting notifications 3-4hours later.

tested with 8.1 this morning and i miss nothing
[Nexus 4 Android Development] aviz1911:
Notifications what ??

I use WhatsApp, hangouts and I'm on r9. I have no delay in my notifications. The only delay you notice is when you get a phone call - increase the max screen off freq and it will be fine too.
[Nexus 4 Android Development] keyra74:
i'll try so...
[Nexus 4 Android Development] passlogin:
halfbreed presets as default will be appreciated
[Nexus 4 Android Development] aviz1911:
Nope

You can change the colors using synapse or display control.
[Nexus 4 Android Development] fr3quency:
Halfbreed was ok in KitKat. In Lollipop, it fu*ks up the colours. You will get used to it in 1-2 days. Or you can simply use Synapse to set the colours to Halfbreed. As simple as that,
[Nexus 4 Android Development] aviz1911:
Can anyone test and confirm if USB-OTG is working or not.

I don't have a flash drive or any drive to test it.

I don't want to add something that I can't test. So, if it works - I'll keep it, if its doesn't work - I'll remove it.

Thanks
[Nexus 4 Android Development] nick2503:
The issue that i am experiencing is that I have flashed Nash kernel & UKM but now when i flash any other kernel other than Nash my phone goes into a boot loop! But when I reflash again the Nash kernel it boots! So I can't switch to a different kernel!

I tried clearing cache & dalvik

Nexus 4 Stock Lollipop

Nash kernel

---------- Post added at 04:04 AM ---------- Previous post was at 04:02 AM ----------

Yes USB OTG is working! just used it:D
[Nexus 4 Android Development] christopherrrg:
Reflash stock kernel and try. I believe it may have to do with the UKM zip that's flashed to enable UCI I believe. (Could be wrong about the UCI abbreviation.)
[Nexus 4 Android Development] nipponsahore:
Rom?

Running any app to mount or does it happens automatically?
[Nexus 4 Android Development] nipponsahore:
Loving it.

2:55 SOT with 55% battery remaining.
[Nexus 4 Android Development] aviz1911:
If you read the instructions in the OP, I said dirty flash your ROM before going to other kernel or coming from other kernel to avoid bootloops.

Thanks for testing USB-OTG ;)
[Nexus 4 Android Development] aviz1911:
Its not at all related to UKM in any possible way.

It is always a good thing to dirty flash your ROM before moving from one custom kernel to another. This makes sure that you don't run into bootloops or any other weird issues.
[Nexus 4 Android Development] nick2503:
I am sorry to ask this because I need to know & I don't! But please can you tell me oq would I dirty flash my Lollipop stock build?

Nexus 4

Stock With Nash Kernel

---------- Post added at 09:30 AM ---------- Previous post was at 09:26 AM ----------
[Nexus 4 Android Development] aviz1911:
Ahhh, fastboot system and boot images from the stock factory image and then flashing any other custom kernel might work. I'm not sure, I never use stock :p
[Nexus 4 Android Development] kelbaez:
Wow that's amazing how did you get that much.. Can you give me your setup?; rom and kernel settings please.
[Nexus 4 Android Development] TheDarkDefender:
any tips for getting OTG to work? Thanks
[Nexus 4 Android Development] christopherrrg:
I agree entirely, starting to notice this as I mess with more custom kernels. I think it's time to make a flashable stock package for myaelf haha I haven't changed my ROM since factory image because I remember reading the aosp branches were missing some of the new sounds etc.

Cheers!
[Nexus 4 Android Development] aviz1911:
nash.Kernel - r10

Hey,

Uploaded R10 - Check OP for download link and Post 2 for changelog

Thanks for your support ;)
[Nexus 4 Android Development] TheDarkDefender:
Hey, would you consider compiling one with cm support?
[Nexus 4 Android Development] keyra74:
[MENTION=4778194]TheDarkDefender[/MENTION] don't you have a smaller signature :(

i'll test the usb otg [MENTION=4914494]aviz1911[/MENTION]
[Nexus 4 Android Development] aviz1911:
CM support is OUT OF SYLLABUS in my examination :p
[Nexus 4 Android Development] aviz1911:
Thanks :)
[Nexus 4 Android Development] keyra74:
can't get my usb keys to show :(
[Nexus 4 Android Development] nipponsahore:
Using r9 nash kernel with stock android

Undervolting all frequencies to - 100mV

And min freq is 192mhz

Also using elementalX governor

Finally, i believe SOT doesn't give the complete image of battery usage. I was using chrome and was on wifi with a strong signal the whole time which was being relatively easy on the battery. I still feel its a good performance never the less.
[Nexus 4 Android Development] TheDarkDefender:
not sure what you mean by that. But I sense denial. Anyway, I would like to compile it by myself, just for me. Won't be distributing.

Lol. Sorry. Just lazy to resize it. Will do.
[Nexus 4 Android Development] aviz1911:
Compiling different version's is a real pain. If you compile a CM version, make sure you post it here or let me know i'll add in in the OP :D
[Nexus 4 Android Development] aviz1911:
Uploaded R10.007, just a minor update.

Its bond, james bond time bebe :p
[Nexus 4 Android Development] aymnahmd:
[MENTION=4914494]aviz1911[/MENTION]

Can you please release a CM kernel for Lollipop roms based on CM ?

Thanks very much for this spectacular kernel :):)
[Nexus 4 Android Development] gharrrrrr:
[MENTION=4515119]aymnahmd[/MENTION] read the op or last few pages. He has clearly stated he will only build for AOSP because maintaining two build is to much of a hassle. If anyone else is willing to though he will add it to OP.
[Nexus 4 Android Development] TheDarkDefender:
Man I gotta thank you for adding elementalx. I mean damn, that is one sexy governor. [MENTION=4684315]flar2[/MENTION] really hit the sweet spot on my phone.

Cheers,

D