yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Balino:
With gboost disabled works fine... Thank you

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] :
Wifi disconnecting on sleep is part of the Doze thing I guess if you are on M Preview. The standby time has increased many folds on the new preview even with stock kernel.
[Nexus 5 Original Android Development] flar2:
Okay, it turns out there are new M commits. I'll spin up a new kernel as soon as I get a chance.
[Nexus 5 Original Android Development] a g bell:
Behold?Ask and you shall be shoot down?
[Nexus 5 Original Android Development] The-Droidster:
Thanks for the nice app. Bought pro. :D
[Nexus 5 Original Android Development] Balino:
It happens when the screen is on aswell

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] flar2:
Update!!!

I do not have the latest M preview, so this is untested. It should be fine though, I just merged the latest changes.

Also added the USB keyboard/mouse patch

Download:

ElementalX-N5-5.03

Changes:

-update M preview 3

-android device as USB keyboard/mouse
[Nexus 5 Original Android Development] :
Any info on what google changed in preview3?
[Nexus 5 Original Android Development] ciano865:
Just installed xpress version with no problem, all prev. settings works.
[Nexus 5 Original Android Development] rezowiklauri:
N5 CM11

can i install elementalX kernel if i have kitkat CM 11.0 ?
[Nexus 5 Original Android Development] flar2:
Try 5.03, there were some wifi driver updates
[Nexus 5 Original Android Development] flar2:
Your going back a long ways with this:

https://www.androidfilehost.com/?fid=95784891001604018
[Nexus 5 Original Android Development] flar2:
https://github.com/flar2/ElementalX-N5/commit/f3fca7330ec958d0317778ac6352872d51490e2d

A lot of little stuff that probably doesn't matter much to most end users
[Nexus 5 Original Android Development] nmlssit:
Anyone here knows how to manage radio Wakelocks in M? Since App Ops doesn't work I don't know how to tell apps to not keep radio Signal on on stand-by :/

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] shri_chanakya:
restrict data usage?
[Nexus 5 Original Android Development] Balino:
I knew there was something wrong with latest preview. I never had problems on your kernel! Seems to work good since yesterday night. Will let you know. Thank you

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] zooole:
Might be a bit silly question but I just installed the M preview 3 and I not I want to root and install the kernel. But it seems like I need this Despair kernel to get the SuperSU working.

Question: I go through the rooting proccess and then just flash ElementalX over the despair kernel?
[Nexus 5 Original Android Development] dr_iggy:
You can root with ElementalX as well.

Послато са Nexus 5 уз помоћ Тапатока
[Nexus 5 Original Android Development] Balino:
To obtain root on android M you need a custom kernel (permissive) that will let your ROM boot after flashing supersu.

If you flash supersu with the stock kernel (selinux enforcing by default) will result in a bootloop. Elementalx and despair kernel are both kernels that have selinux set to permissive by default so they will let you boot after flashing supersu. I hope I'm been clear enough.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] charliert:
If I have elemental x kernel could I reflash It again or need to go back to stock kernel and flash elemental again?
[Nexus 5 Original Android Development] zooole:
Worked flawlessly.

Thanks for the explanation too. :)
[Nexus 5 Original Android Development] flar2:
You can flash elemental over elemental. You only need to go back to stock if you've flashed a different kernel.
[Nexus 5 Original Android Development] Co.Tibi:
my top battery killer in m preview 3 is wifi. is it just me? (i have the latest 5.03 kernel)
[Nexus 5 Original Android Development] ciano865:
Same here. Now I am back to stock no root to understand if problem is custom kernel. Hope it isn't so :)

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] flar2:
It's not.
[Nexus 5 Original Android Development] nmlssit:
I disabled mpdecision in the aroma installer but in Kernel Adiutor i can't manage hotplug, what am i missing?

Edit: EX 503 on M.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] BlazeForth:
You missing Ex kernel manager app.. ? ✌

You need to pay and buy ex kernel manager to manage custom hotplug. I think there is nk other way. ?☺

?neXus 5-->pure neXus?
[Nexus 5 Original Android Development] nmlssit:
I purchased it, but since i am trying Kernels for M i thought it would be good to use an universal app.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] magnamentis:
fals assumption, definitely :)
[Nexus 5 Original Android Development] nmlssit:
Well ok, i just installed it.

In EX i can manage Hotplug, but in Adiutor not.

Is that because i need in fact EX App or because EX kernel and Adiutor doesn't get along?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] flar2:
You don't necessarily need EXKM, Kernel Adiutor just doesn't have those particular settings.
[Nexus 5 Original Android Development] nmlssit:
That's strage, because with code/spark_blue it does :|

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] flar2:
It's up to the Kernel Adiutor dev to add support. My app supports code blue and franco hotplugging, because people asked for it and I added it (actually, my app supports any setting you can imagine with the User Settings screen, but nobody seems to use it)..
[Nexus 5 Original Android Development] nmlssit:
Got it, thanks for the reply!

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] DroidIt!:
:) Been meaning to try that flar, simply haven't had the time yet. So basically ANY user variable that's tweakable in a ROM can be interfaced through your app then?
[Nexus 5 Original Android Development] magnamentis:
not rom, kernel and only if the app includes the tweakable, hence the answer must be no.

example: i have a nexus 6 with elementalX + EX app. when i test the stock kernel and want to tweak all variables of the stock kernels which is very tweakable indeed, i must install UKM & synapse, only that gives me full access, while EX app is good to tweak the variables that are in the UI of the app, but not all the others.
[Nexus 5 Original Android Development] flar2:
Any setting that is tweakable by editing a path can be added to the User Settings. This means everything in /sys and /proc, which is where the kernel settings are. It does not tweak build.prop stuff, those are not kernel settings.

So you want to change writeback parameter you enter this:

/proc/sys/vm/dirty_ratio

Or you might want to tweak the deadline scheduler:

/sys/block/mmcblk0/queue/iosched/fifo_batch

Or if you have a different devices with a different GPU, you could add the paths for those GPU settings.

Or if you use a different kernel, you could add the hoplug settings for that kernel.

These can be saved, shared with others, and imported

Full instructions:

https://plus.google.com/+AaronSegaert/posts/HSdNTRa1JXR
[Nexus 5 Original Android Development] magnamentis:
sure, no doubt that's how it is, i just understood that he ment the changes he can make with built in button and sliders and typed in numbers :)

thanks however for refreshing that knowledge for us. :good:
[Nexus 5 Original Android Development] flar2:
Here's an example of the User Settings

I just added a few random settings to demonstrate. It's totally customizable and allows one click editing. The settings are applied immediately and there is an option to apply them on boot.. You can even customize the titles.
[Nexus 5 Original Android Development] magnamentis:
great example, thanks a lot for the heads up :)
[Nexus 5 Original Android Development] Woody:
[MENTION=5372360]magnamentis[/MENTION]

I'm going to mess around with the User Settings variables for a week or so, but I would be very interested in your knowing your setup. We have similar usage patterns and thought processes (and have for some time now) when it comes to battery conservation and power performance. Obviously, it won't be a 1:1 type of thing, since there are variables between our habits, but can't hurt to try right? I'm on Cataclysm, so my kernel configuration is LP based.
[Nexus 5 Original Android Development] walpurgisnacht30:
I'm missing a lot of helpful posts for sure ?
[Nexus 5 Original Android Development] michelemascia7:
Is the 4.04 latest lollipop relase? Or is there a test build? thanks :)
[Nexus 5 Original Android Development] magnamentis:
CPU : max cpu 2496 _ min cpu 300 _ max screen of 729 _ gov "elementalX _ thermal elementalX

GPU : max gpu 450 _ min gpu 200 _ gpu gov ondemand _ backlight min 5 _ cooler colors _

WAKE : dt2w _ s2w all 4 _ s2s L+R _ vibr 35% _ timout 0 _ key enabled

UV : 300=700 _ 422=725 _ 652=750 _ 729=775 _ 883=800 _ all others default

SOUND : Gain=0 _ Pamp=2 _ Sgain=2 _ Hsetmicgain=3 _ cammicgain=4

MISC : I/O=fiops _ Readahead buffer = 2049kb _ vib=69% _ USB-fc enabled _ TCP-C highspeed

i consider the impact of the kernel as to battery drain 10-15% max as does [MENTION=4684315]flar2[/MENTION] hence when it comes to battery efficiency there is much more in it with greenify, tasker and for those who like it amplify which needs xposed to run.

idle drain i get with similar settings across all my devices are 1-3% in 8-10h overnight on this device and 1-3% for the same period on my OPO and 1-2% on Nexus 6 SOT i cannot tell for all devices since i use the N5 and the OPO for calls only, with the N6 on boeffla kernel i get 12% per hour full brightness all on and with the OPO i get 16% drain per hour. as mentioned i can't tell with the N5 since i only use it for calls and messaging and then the proximity sensor kicks in on calls, hence cannot even count SOT for long enought to provide a a meaningful value. all devices have 8 email accounts to sync and all location stuff on, while only the nexus 6 vibrates and has sounds for notifications. all others are backup devices only blink. mostly running on 3G while screen on an on 2G when screen off (via tasker) further i have set a brigthness control in tasker which switches between full and autobrightness depending on charge and light conditions >79% battery and >5% light ( varies from sensor to sensor ) full brightness _ <80% battery and/or <6% light = autobrightness. further i greenify all redundant apps like for example google calendar while using another calendar app as main and all system apps i don't need are frozen, for example cm calendar app. greenified apps are: g-calendar + chrome + keep +maps + sygic +radardroid + mi vodafone + Titanium backup + xda app. all these app have to run only while the screen is on hence i greenified them. further i cut the wakup path for trebuchet ( not on cataclysm )

that's a lot of info i know but just tweaking a few frequencies does not provide significant savings in battery and while kernel tweaks are a balance between battery and performance, all the other settings are not. performance when used remains 100%.

have fun :cool:
[Nexus 5 Original Android Development] Midomad:
Dear Aaron,

I'm a user of you're good kernel since day one for my N5.

I used a Nexus 4 for two years with semaphore kernel and i can confirm you that his implentation of DT2W is the best i ever seen and closer to defaut DT2W of LG G2,G3...series! (I could do a little video to see what i mean).

If enabled, touchscreen is always powered and user may resume the device with a double tap on the center of the screen only.

With this method it's far better,and really prevent accidental wake.

Ps : i already use wake gestures and activated pocket detection,Bottom of screen in EX kernel manager, and wakes still happen.

Semaphore Kernel is open source,

And Stratos is a nice person and very helpful dev,

commits start here:

https://github.com/stratosk/kernel_msm/commit/c97f4a527e2780107fc8bcea90acfe5bd1cd0b27

and all the stuff goes in drivers/input/touchscreen/lge_touch_core.c

I really hope that you will at least look in to it, and this method will be integrated for N5 in you're awesome kernel.
[Nexus 5 Original Android Development] a g bell:
Yep+1 stratosk is an awesome developer one the best on xda doesn't have a God complex like so many other developers here on xda

Sent from my Nexus 5 using
[Nexus 5 Original Android Development] magnamentis:
just in case he doesn't, i recommend to use swipe to wake, same effect, no wakes in the pocket, specially shirt breast pockets can be an issue since there is room enough to move back and forth. furhter i recommend to activate the screen to come on upon power plug which reminds you to use the power button to deactivate the wake gesture. of course this is not a workaround if you have it always on and are willing to pay the price of 2% drain per hour. in that case the first suggestion would still work very well.
[Nexus 5 Original Android Development] Midomad:
Yes i have it always on,

And aesthetically DT2W is more nicer :)
[Nexus 5 Original Android Development] kirmr:
When wake timeout is activated screen quickly turns on and off after the time chosen. Why does this happen, is it normal?
[Nexus 5 Original Android Development] flar2:
It would be very simple to do that, but it won't help prevent accidental wakes or make it any more functional. You can already restrict dt2w to the bottom of the screen if you want. But I recommend using Swipe up to wake instead. Or get the wake gestures app and enable pocket detection.

BTW, I've added wake gestures to many devices and it's completely different on each one. They all have their quirks.
[Nexus 5 Original Android Development] flar2:
It's the only way to properly disable gestures so there is no drain.
[Nexus 5 Original Android Development] kirmr:
Thanks;)

Just wanted to know if it was normal or not.
[Nexus 5 Original Android Development] maortrol:
DevCheck app review, here in Spain: "DevCheck, the best app to monitor the status of your Android".

http://andro4all.com/2015/08/devcheck-monitorizacion-componentes-android

Congratulations [MENTION=4684315]flar2[/MENTION] :D
[Nexus 5 Original Android Development] muhagl:
GPU overclock?

Hey,

I currently asked myself, why elementalx doesnt support overclocking the gpu on the nexus 5? I read a few threads I think about the z1 where it is possible, so why not in the nexus 5? Sorry if I missed a post or something where its explained but I hope someone can give me a answer :)

Greets
[Nexus 5 Original Android Development] Midomad:
http://androidforums.com/threads/why-you-shouldnt-under-volt-or-over-clock.649634/
[Nexus 5 Original Android Development] magnamentis:
you only need the feature in the screenshot and type in "gpu overclock" and you'd know it all :rolleyes:

i would gladly answer but as you'll easily find out it would be too much, hence better have a look for yourself.
[Nexus 5 Original Android Development] a g bell:
Why would you 450 is the optimum frequency to use?
[Nexus 5 Original Android Development] Balino:
What you have to do with an overclocked GPU? Nexus 5 has already a very good GPU running at 450mhz, that's enough for all games out there

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] flar2:
http://xdaforums.com/showpost.php?p=61261817&postcount=18838
[Nexus 5 Original Android Development] t3al:
EX Kernel Manager crashes when clicking on the ElementalX tab.

Can anyone confirm?
[Nexus 5 Original Android Development] kirmr:
I think it's a M related bug. It only happens to me while I'm on M preview, with Lollipop it works fine.
[Nexus 5 Original Android Development] kirmr:
Weird, reflashed now M3 and it's working fine.

edit1

Changed DPI, rebooted and now it FC again.

edit2

Looks like the problem is DPI, changed back to 480 and works again.
[Nexus 5 Original Android Development] flar2:
Yes, I've seen this error. It's not in my code, it's in libc trying to render an animation.

M previews have a lot of changes "under the hood" and you really need to do a fresh install every time with it (at least until it matures). This includes wiping caches and data.
[Nexus 5 Original Android Development] kirmr:
I always do clean flashes, and I do them lots of times, I'm a little bit flasholic. With M previews I always flash full image.

Don't know if you saw my other edit, problem is with DPI, 480(stock) works fine, other than that crashes every time.

But it isn't really a problem, that menu is only for updates, other menus works like they should.
[Nexus 5 Original Android Development] flar2:
Interesting, can anyone confirm this is related to DPI?

Still, I think the only thing I could do on my part to fix it is eliminate the animation. The error comes from libc rather than my code. But this helps.
[Nexus 5 Original Android Development] kirmr:
See these 2 screen recordings. If it's not dpi related then it's too strange.

https://drive.google.com/folder/d/0B5YK0L1ps2VwU1VEUlp2YVd2ckk/edit
[Nexus 5 Original Android Development] t3al:
Yes, changed back to 480 and no FC
[Nexus 5 Original Android Development] cocchiararo:
Just remembered this post because of weird issues i have.

I had been running EX on 5.1.1, and now on 6.0 preview 3.

Always with F2FS.

The same whatsapp message comes back with pushbullet or the whatsapp web notification if i don't actually READ IT, just swiping it makes it come back, and most of the time, if i don't read them fast, i get them twice in a row.

Also, whatsapp, randomly, steps back in time and looses me messages. It used to be EACH time i exited it with the back button or swiped it from recents, but now on 6.0 it is more random.

It will take some time for me to test without F2FS.

Dunno if it is related, but at least 1 other person had something that seemed somewhat similar.
[Nexus 5 Original Android Development] sergtot:
MIUI v.7 5.8.27, ElementalX 1.13.

Editing "elementalx.conf" in /system/etc never affects kernel settings, after reboot too.

Checked by your native app and Kernel Editor. They were installed and used in separated times and they showed the same thing.
[Nexus 5 Original Android Development] dechronic:
I had that problem as well with Lollipop 5.1.1 using F2FS and Whatsapp. I ended up backing up and wiping everything. Since then I have been afraid to close Whatsapp from Recents. So far no loss of messages.
[Nexus 5 Original Android Development] cocchiararo:
The thing is, exiting with back is almost second nature to me, not swiping it tho.

Tonight i will try going back to the official filesystem... but that NEVER happened with F2FS and ex in the past, it was either some update, or 5.1.1
[Nexus 5 Original Android Development] dechronic:
Honestly, I just tested it to be sure but I am not having that problem anymore as I haven't seen it return since I wiped my data and cache partitions.

The reason I did this was for a number of reasons.

My battery wouldn't last more than 10 to 15 minutes screen time which would turn off the phone causing my Gmail app to be corrupted which had to be re-downloaded on every boot if not my phone would hang. When I replaced my battery I wiped /system and /cache partitions but not my /data initially.

2nd. I noticed that flar2 had updated the F2FS code, now about 3 months ago. I figured that it may be that the F2FS code and tools needed to format the partitions again as the structure may hvae changed from the previous F2FS structure that flar2 had been using previously.

3rd. I updated Whatsapp from their official site http://www.whatsapp.com/android as opposed to the play store. Figured it may have had a bug.

Once I did a backup of my partitions and apps and their data, I formatted the partitions back to EXT4 and then formatted back to F2FS, flashed the system image and whatever else needed to be updated, restored my apps and data.

I then installed the lastest Whatsapp again but NOT the data. I can say that although I lost my previous chats, etc. just in case there was some type of corruption in the previous chat database, I haven't seen the problem occur again.

I hope this helps and instill confidence that it is functioning properly with EX 4.04 and Lollipop 5.1.1 on the Nexus 5.
[Nexus 5 Original Android Development] cocchiararo:
oh, crap, i restored to ext4 cause i thought F2FS was a no go xD

Well, i'll go back to f2fs when 6.0 hits.

EDIT: the tools to do the format are in the recovery and not the kernel tho... but recovery was also updated during all this months.
[Nexus 5 Original Android Development] Joy Bangla:
If this is harmless can you please add it cuz almost all ROMs I used has this wakelock. Thanks again
[Nexus 5 Original Android Development] Joy Bangla:
I have set my max cpu to 1.7GHz from ex app. every time i deactivate the powersave mode my max cpu reverts back to 2.2Ghz. is there a work around for this?
[Nexus 5 Original Android Development] Primokorn:
I've just tried and my max CPU is still at 1.7GHz (Temasek 5.1.1).
[Nexus 5 Original Android Development] Joy Bangla:
u turned on powersave and then turned it off and your max cpu stayed at the value that was assigned before ?

did you set max cpu with app or config file?
[Nexus 5 Original Android Development] Primokorn:
Oops sorry mate I thought you were talking about the system battery saver mode. I have the same behaviour as yours with the built-in Ex feature. I guess that's how the app should work so there's no workaround.
[Nexus 5 Original Android Development] NovaSlim:
[MENTION=4684315]flar2[/MENTION], Which new Nexus will you been buying(or both)? I really want ElementalX on my next Nexus phone.
[Nexus 5 Original Android Development] flar2:
That's the way it is now.I did this on purpose because there are 50 million things causing problems wih max CPU freq. Set you max freq in aroma and use powersave if you want to temporarily lower it.

The old way caused a bug where Android powersave and thermal throttling could cause the max freq to get stuck lower.

Probably both. Definitely the new nexus 5.
[Nexus 5 Original Android Development] dechronic:
Unfortunately I had the same problem occur where a message I sent to my wife disappeared from my phone but was still on hers. So the problem still persists.

Where you getting the problem only while using f2fs?

I am using f2fs for my /data and /cache partitions but I only started noticing this behaviour in about April or May. I didn't troubleshoot the problem to narrow it down to the f2fs or any other cause.

Any reason why you believe it may be caused by f2fs?
[Nexus 5 Original Android Development] cocchiararo:
I only blamed it cause someone said something that I thought was similar.

It was not, but it did not happen again since I left f2fs.
[Nexus 5 Original Android Development] flar2:
Update!!

Trying a different thermal driver. Far too many complaints and misunderstandings about what I was doing before. You can adjust the threshold in EX Kernel Manager. This one is franco's thermal driver, with some minor tweaking.

Also added ability to disable sensor_ind wakelock. You can do this in EX Kernel Manager as well.

Download (Android 5.1.1):

ElementalX-N5-4.05

Changes:

-add franco's thermal driver

-add sensor_ind wakelock toggle