yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] djmigues:
Just wanted to let you know that 1.05 express AOSP version still says v1.04 when flashing. Not sure about the orhers, as it's the only one I've flashed. Not an issue or anything really, just wanted to make you aware. I know you build a lot of different kernels and you're working on your app and you've also got a life outside of XDA to worry about as well. Thanks for all the work that you're doing. You make all of our phones amazing and your work is much appreciated. Keep up the great work, man.
[Nexus 5 Original Android Development] oXside89:
Does this kernel support for MIUI V5?
[Nexus 5 Original Android Development] Elluel:
Maybe you'll leave your Nexus 5 plugged in for 67 years if you enter a coma.. You never know! Jk lol.
[Nexus 5 Original Android Development] iamelton:
is there any mirror to download apart from androidfilehost?

i have problem in downloading from androidfilehost at work location..
[Nexus 5 Original Android Development] Reinvented:
I wonder how much a Nexus 5 will be worth in 67 years
[Nexus 5 Original Android Development] nithin1992:
What exactly is the i2c clock rate responsible for? Why has Google left it at such a high rate if it doesn't impact performance or anything else?

The battery life increase with this altered i2c clock rate is certainly noticeable. Great work, kudos to everyone responsible for finding this out and thank you for implementing it to this already awesome kernel flar! Cheers
[Nexus 5 Original Android Development] banny7000:
Can someone explain how i2c works and what it does
[Nexus 5 Original Android Development] magnamentis:
invites for oneplus one 64GB black to give away !

does anyone need a sharable invite and or know someone who is looking for it, then let me know, i've got invites to share on a first in first out bases and will share the invites until it has been claimed so not to waste it for someone who changed his mind or got more invites than he needed. of course i will check the status upon each request and will let you know when they're gone :)

THEY'RE ALL GONE BY NOW, BEEN CLAIMED AND/OR USED = PAID SORRY FOR ALL OTHERS SEE YOU NEXT TIME :)
[Nexus 5 Original Android Development] adichandra:
Looking good battery life with the latest version. 2 hours sot with 64% battery life remaining. Sweet. Thanks flar!
[Nexus 5 Original Android Development] xXDanielHDXx:
its usual that it drains 10% with just 12 minutes gaming? (Dead Trigger 2)

that means in 2 hours my whole battery is empty, some way to improve that?
[Nexus 5 Original Android Development] thesebastian:
Hey flar, I always changed values in the /etc/elementalx.conf file.

For instance:

S2S=0

THERM=2

But now I saw there is another message for the second value (THERM):

##### Reinstall Options #####

# These settings are only applied if you run the express installer

That means my THERM = 2 is now a placebo? :P (note: every time I update elementalx express it goes back to 1).

S2S=0 is working great after a reboot.

Sent from my Nexus 5
[Nexus 5 Original Android Development] d1n0x:
Are you serious? Dead Trigger 2 is a massive hog on CPU and GPU, what else do you expect?
[Nexus 5 Original Android Development] Galaxo60:
Hi everyone:

First I want to thank [MENTION=4684315]flar2[/MENTION] for the amazing kernel.

I have to say that I haven't play with a phone for long time, I bought my Nexus 5 last year and decided to keep it on stock because it was giving good results, but yesterday I was bored and decide to make the whole process of rooting, recovery, rom and kernel.

The rom is PA stable, I use my phone as a daily so I didn't want any weird behavior, but I didn't know which kernel. I'm the guy most interested in battery than performance, since I don't play heavy games or do heavy stuff on the phone, so I started the research and here I am.

I finished to install everything, choose some battery friendly options in the aroma installer (guess so), remove some system apps, tune some things and that's it. I unplugged my phone from charger like an hour before to sleep, I was reading some things and then put it to sleep with all the things enabled.

When I went to sleep, I had 95% on my battery, when I woke up today, I was on 94%. For me this is amazing, 1% battery drain over night with all sync and enabled for me is just pure awesomeness. In stock I usually have 1% battery drain per hour, so I'm really happy with the result.

Sorry for the long post, I'm just excited to get so nice results, I think I made a good decision. Screenshot attached.

Thanks
[Nexus 5 Original Android Development] a0b1c2:
Well, no luck .. but I had some ideas ... ;)... which may not pan out ... IIRC, one line of thought was it may be related to permissions. If I can find the process, perhaps it needs to be SUID. I'll have to grok the logcat output to see ... I may be on crack.

-pablo
[Nexus 5 Original Android Development] flar2:
The thermal, uv and cpu settings in elementalx.conf are for the express installer. They are baked into the boot.img and only take effect if you run the express installer. The rest can be changed any time.

i2c is a bus for connecting perhipherals like the touchscreen and sensors to the main board. Google didn't really "leave" the clockrate high, that's how it was designed, then a later CAF update found it could be lowered. That;s what they do at CAF, constantly tinker and refine things.

I was using int, and the alarm setting is in nanoseconds, so we were reaching the limit and I needed to use a type that can contain a larger number. So I used long long for good measure. https://github.com/flar2/ElementalX-N5/commit/4bd1b9b790c18ebd1e7eb6c73c7b75aeff5e4d3e
[Nexus 5 Original Android Development] relevant_placeholder:
[MENTION=4684315]flar2[/MENTION], amazing bastard, you.. With your dedication I really hope you won't be abruptly leaving anytime soon.. Love you:P
[Nexus 5 Original Android Development] peecs121:
No doubt this is the only kernel I have and will ever use. Its made my Nexus such a beast!!!

Nexus 5 running Mahdi/ElementalX/Nova Prime
[Nexus 5 Original Android Development] Tylog:
Was some time not here in the Thread and what see my old eyes, your App is done [MENTION=4684315]flar2[/MENTION] :) let's go and buy.

Edit : 3.2.1 my xD

Did it more than deserves to buy your app. Besides, there is money for the Nexus X come together that you will buy hopefully :)

Tapatalk Team SlimRoms
[Nexus 5 Original Android Development] GialanG:
For the second cycle on 1.05, my battery life on 8/24 Mahdi is 15-20% better than 1.04. It seems i2c is a real magic. :good:
[Nexus 5 Original Android Development] flar2:
Thanks. App still has a lot missing, but coming along nicely. And yes, that is how I will finance my next devices, which will be the next Nexus phone and probably the next Nexus tablet.
[Nexus 5 Original Android Development] Tylog:
Good :) and it's ok when things are missing, i am sure the things coming and most i buy it to support you. And good to read that you plan to buy the next Nexus.

Tapatalk Team SlimRoms
[Nexus 5 Original Android Development] chubby65:
Great I'm waiting on the next Nexus phone too

Looking forward to having the best kernel on it too

The apps coming along nicely too
[Nexus 5 Original Android Development] a0b1c2:
Hi Viper,

I have a very tiny progress report on the color calibration and setting Vibrator intensity.

Using "logcat", I found the same permission error as others while using the color calibration interface.

I chmod'd 666 `kcal' and `kcal_ctrl' and now I'm able to do color calibration. The permissions don't survive across reboots but I believe that's trivial to resolve.

root@hammerhead:/sys/devices/platform/kcal_ctrl.0 # ls -la kcal*
-rw-rw-rw- root root 4096 2014-08-27 11:39 kcal
-rw-rw-rw- root root 4096 2014-08-27 11:39 kcal_ctrl

Similarly, with `Vibrator intensity', I see a similar access error:

I see the file's permission is also 644 so when I set it to 666, setting the `Vibrator intensity' now works. I'll assume this parameter won't persist across reboots.

The neat thing is I have it working and at the very worst case, we can set up a work-around. But what would be ideal is to figure out why `E/FileUtils()' isn't able to write to the file. You'd think if it were SUID, it'd have no problem but it must not be. Hmmm.

Cheers,

-pablo
[Nexus 5 Original Android Development] Viper LABs:
pablo@blueoakdb.com, that's great! At least you are not gave up and not agree just to sit calm in our company! Maybe we will find something, that will lead us to the fully working solution for now. Nice!
[Nexus 5 Original Android Development] a0b1c2:
Hi Viper,

If you'd like to replicate what I did, here's how to do it:

adb shell
$ su -
# chmod 666 /sys/devices/platform/kcal_ctrl.0/kcal*
# chmod 666 /sys/class/timed_output/vibrator/amp
# exit
$ exit

Once you do the above, try using the respective Settings screen to change the Color Calibration and/or Vibrator intensity.

I'm sure everyone knows this but me being a newbie to Android, in order to `su -' (become root), I had to:

Settings > Superuser

Select Settings

For Superuser Access ensure Apps and ADB is selected.

[MENTION=4684315]flar2[/MENTION]: any pointers on how to proceed? I'm not keen on my kludge.

Cheers,

-pablo
[Nexus 5 Original Android Development] csolanol:
Those permissions should be fixed in ramdisk. init.hammerhead.rc or init.rc?
[Nexus 5 Original Android Development] a0b1c2:
Hi,

/etc/init.d has only three files. One of them is ElementalX's script and another is one which supports user scripts. It executes before ElementalX's script (this is by [MENTION=4684315]flar2[/MENTION]'s design).

Given the above, I've created a mini-HOWTO on how to get Color Calibration and Vibrator intensity working across boots. This will be in a subsequent post.

Thanks for making me look around. :)

Cheers,

-pablo

---------- Post added at 02:03 PM ---------- Previous post was at 01:51 PM ----------

v1.0

Description

This hack allows ElementalX to work with CyanogenMod's Color Calibration and Vibrator intensity settings.

A shell script is created on the SD card and it is symbolically linked to the file name which will be executed at boot up.

By creating the shell script on the SD card, at a minimum, provided the SD card isn't formatted, the script will always be preserved after upgrades and worst case, the symlink needs to be recreated.

TODO

Test after updating CM. Does the symlink need to be recreated?

Create the shell script

Create the file .elementalx.userinit.sh on your SD card - place it at the top-level directory. The dot in front of the file name makes it hidden.

#!/system/bin/sh

#
# Hack to get ElementalX and CM 11 to play nicely for:
#
# Color Calibration
# -----------------
# Settings > Dislplay & lights > Color calibration
#

chmod 666 /sys/devices/platform/kcal_ctrl.0/kcal
chmod 666 /sys/devices/platform/kcal_ctrl.0/kcal_ctrl

# Vibrator intensity
# ------------------
# Settings > Sound > Vibrator intensity
#

chmod 666 /sys/class/timed_output/vibrator/amp

exit 0

Create a symbolic link

/etc/init.d/90userinit checks for the existence of /data/local/userinit.sh As root create a symbolic link to this file name from the file created on the SD card:

# cd /data/local
# ln -s /sdcard/.elementalx.userinit.sh userinit.sh

Make it so ...

First, as root run the shell script:

# sh /data/local/userinit.sh

As with most things UNIX/Linux, success = no output.

At this point, try tweaking either the colors and/or the vibration intensity.

If it's all good, you could also do a reboot test to ensure everything is fine between reboots.

Enjoy!

-pablo
[Nexus 5 Original Android Development] matteventu:
Just installed on my Nexus 5, battery is great and the display now with the colder "colder" colors is fantastic :D

Just a question: can I also improve the sound (both quality and loudness, via earphones) ? Is this related to the "faux sound" that I see in the changelog? HOW is this related to that? XD

Thanks :)
[Nexus 5 Original Android Development] and313:
Viperfx
[Nexus 5 Original Android Development] SuperHanss:
[MENTION=4684315]flar2[/MENTION] Lots of stuttering in Temple Run 2 with 0.15. I'll try a few more games and report back.

Overall performance (web browsing, launching apps, scrolling etc.) remains great though ;)

Kernel settings:

Set CPU core separately: No

Max CPU Freq: Stock

CPU optimisation level: Stock

Undervolting: 700 min

GPU gov: Ondemand

Sweep/wake: All disabled

USB Fastcharge, Disable fysnc, Max screen off freq, slightly cooler colours and ElementalX gov all enabled
[Nexus 5 Original Android Development] flar2:
Also delete /etc/init.d/99elementalx

Should be stable, just not as smooth as on-demand in every situation

I'll try that game and.see what I can do. Certain games are tough because they don't quite tax the gpu/gpu enough to make it kick in. The opening jump in minion rush is like that (but afterwards is smooth).
[Nexus 5 Original Android Development] highKo:
yes, the kernel is compatible mit 4.4.2.
[Nexus 5 Original Android Development] DroidXAce:
Thank you for confirmation !
[Nexus 5 Original Android Development] Sukkunida:
i do it before i flash the stock kernel or after?
[Nexus 5 Original Android Development] jsyl:
Getting great battery so far on experimental governor
[Nexus 5 Original Android Development] rootuser11:
On mine, Temple Run 2 runs as smooth as before.

Using ElementalX governor.
[Nexus 5 Original Android Development] monkboy24:
Before. And if u don't mind me asking why do u want to go back to stock kernel? Just humble curiosity btw :cool:
[Nexus 5 Original Android Development] Sukkunida:
so i just go into es file manager and delete it? thats fine :)

well, my battery is gettin worse with this kernel, also the phone gets kinda hot by regular web browsing <,<
[Nexus 5 Original Android Development] monkboy24:
Hmmmm well what's your setup?
[Nexus 5 Original Android Development] Primokorn:
Don't ask it on all custom kernels (like Franco's one :)) Search before posting.
[Nexus 5 Original Android Development] globen:
Thanks for the great kernel...bought you a beer! Enjoy. 3W714649A2897302M
[Nexus 5 Original Android Development] Sukkunida:
stock rom and elementalx 0.14 on default settings, got around 4h sot only

uhm i cant delete the file in es file manager, any tipps? the file manager got root settings bla but it wont delete me the file...

cant i just fastboot flash boot boot.img the stock kernel and delete it after, i guess it wont let me delete it since im using it right now?
[Nexus 5 Original Android Development] Syk69:
That's because you need to change /system to RW in es file explorer, in settings press and hold down on root explorer and then choose /system as RW then you should be able to delete the file.
[Nexus 5 Original Android Development] Sukkunida:
damn thanks, that worked :)
[Nexus 5 Original Android Development] Syk69:
Testing out the new elementalx governor and so far standby time great just like the ondemand, but not quite as smooth in use. So changed the sampling rate to 10000 to make it smoother. Everything else stock settings in the governor. On WiFi, getting around 8 min usage to every 1 percent of battery drain. Liking it a lot!
[Nexus 5 Original Android Development] flar2:
You can also adjust ui_sampling_rate, which is the temporary sampling rate while touching the screen. I have the default set to 15000.
[Nexus 5 Original Android Development] kmar22:
Hey guys, so if I want the best performance I should just keep stock settings and on demand gov? I know every device likes different settings but is stock settings pretty much the standard? I'm still on stock kernel right now waiting to here more feedback on how the latest is running. Cheers
[Nexus 5 Original Android Development] Lancez:
so the smaller number means better/faster performance? the default sampling rate is at 40000, so if i change it to 10000 as mentioned early, it'll get better performance? have no idea what is that all about :eek: thanks in advance
[Nexus 5 Original Android Development] sjknight413:
Worked like a charm! Thanks dude :)
[Nexus 5 Original Android Development] hooliganx:
about sound...

you can install faux sound... and..

read my post Time ago: [emoji6] [emoji106]

http://xdaforums.com/showthread.php?p=53225428

n5sk7.2.Robbie08.21gapps216art

El.X.105twrp2.7.1.0rd2.08v4a

----------------------------------------------------------------------------

have doubts about Slim? click here:

http://slimroms.net/index.php/faq
[Nexus 5 Original Android Development] sjknight413:
Unfortunately fauxsound's settings don't stick.

Could this be because of the permissions issue solved for vibration and colour control above I wonder?
[Nexus 5 Original Android Development] SilkyJohnson:
And I hope when I wake up I have an update to Android 50.0, aka Hoverboard.

Sent from my Nexus 5
[Nexus 5 Original Android Development] hooliganx:
don't know man.

are you using CM?

I use v4a and tweaks from this thread I post a link

but here, faux sound works good [emoji106]

n5sk7.2.Robbie08.21gapps216art

El.X.105twrp2.7.1.0rd2.08v4a

----------------------------------------------------------------------------

have doubts about Slim? click here:

http://slimroms.net/index.php/faq
[Nexus 5 Original Android Development] drawde40599:
Faux sounds stick perfectly , make sure your busybox is current could also be a SU issue . its not kernel
[Nexus 5 Original Android Development] xxxman999:
Sorry but I cannot seem to locate ver. 1.05. When I click the link in the OP, it's still telling me ver. 1.04. Can someone point me in the right direction for ver. 1.05?
[Nexus 5 Original Android Development] walpurgisnacht30:
http://elementalx.org/devices/nexus-5/

Small tip here, if you can't find the latest version simply go to elementalx.org or locate flar2's AFH folders or buy the ElementalX app ?

Sent from my Nexus 5
[Nexus 5 Original Android Development] derukun:
3 hours of music and 6 hours SOT, and still 10 percent battery left.

Damn, I'm impressed. I think I'll stick with this kernel for now :).
[Nexus 5 Original Android Development] akenis:
Battery definitely proved with 1.05.

Questions:

1. I just changed the dimmer backlight setting to 1 in the config file (I think it says 0 or 1 and mine was N) and reboot (don't know how to execute script as root). Like. BUT I lost BBS. I also lost BBS when I flashed 1.05. Why is this, and how to prevent?

2. Does auto brightness utilize the dimmest setting now, or is that only available with manual brightness?

3. I'm using Nexus5 Real Volume Booster app to boost headset volume (my car wouldn't even recognize as an aux input). Didn't change speaker...it distorted. Would it be better to use the Faux Sound app in the future? What would be advantages? Or Viper? Seems like those apps might be too much for my needs.
[Nexus 5 Original Android Development] :
I left my phone on battery last night, is that an average discharge for leaving DT2W on? Or was the signal to blame?

I've now changed it so that the power button will disable it but ac display will wake my phone up when it's removed from my pocket.
[Nexus 5 Original Android Development] gverma1:
Superb battery with 1.05 aosp on stock ROM. I was on 32 hours with normal usage and still had 10% remaining.
[Nexus 5 Original Android Development] matteventu:
With 1.05 on stock ROM I'm having terrible battery...

http://i.imgur.com/7gmC75A.jpg

http://imgur.com/VpsZvyy.jpg

I'm with stock ElementalX settings, but with a bit of undervolt. How can I improve battery?
[Nexus 5 Original Android Development] GtrCraft:
Get rid of the wakelocks
[Nexus 5 Original Android Development] howard bamber:
Used this a long time and will never go back to fiddling around. Takes too much time and as this proved it's wasted time
[Nexus 5 Original Android Development] d1n0x:
There's lots of factors that can play a role here. Check your wakelocks, disable location services or google now entirely, disable wifi background scanning, greenify your apps, always use the lowest comfortable screen brightness (don't use auto brightness), switch to 2G whenever possible. People expect to have great battery life with a custom kernel, yet they enable every single battery draining "feature", play games with fancy 3D graphics and complain when they have to charge the phone halfway through their day.
[Nexus 5 Original Android Development] willgare:
Best Setup without Root

Hi All,

Excellent Kernel, came from Franco.

Can I just ask, I have flashed this kernel using aroma installer, but without root. I cannot have root as some of my apps dont work with root, SkyGo is the main culprit.

What are peoples best settings, i.e phone settings for best battery life.

For example, Google Now on or off etc.

Thanks
[Nexus 5 Original Android Development] d1n0x:
You can root your phone and install an Xposed module called Root Cloak to hide your root status from apps, you might want to give that a try.

Google Now, as well as location services OFF, unless you really need it.
[Nexus 5 Original Android Development] magnamentis:
everything has bee said

sorry to hear that you have this issua at the moment but 2 things have to be brought to your attention again:

a) this and other threads are full full full of advise how to solve such a problem, what usually are the know suspects and much more.

b) it has for the umpteenth time been posted that this is not a kernel issue, you just have to read this threads last few pages

....to see that most posts on battery life are the sheer opposite of yours so you can the more assume that the problem lays in your userspace.

in short, wrong thread and not necessary to make it sound like a kernel issue by writing "with 1.05 i have bad battery" this is not fair because newcomers could think that this kernel has bad battery life which is not only wrong but the opposite is the case, and other unexperienced users with similar issues could feel confirmed in their first and easily made false assumption that 1.05 has flaws, which is not the case. i get 1-2% in 10h roughly said in idle and more than 6h of SOT and this is the common result with this kernel and not he exception.
[Nexus 5 Original Android Development] willgare:
Hi, Ive tried Root Cloak - its currently not working with SkyGo! Gutted because I like root!
[Nexus 5 Original Android Development] d1n0x:
Did you follow the instructions on the website?
[Nexus 5 Original Android Development] matteventu:
[MENTION=1007992]everyone[/MENTION]: The fact is that I didn't have that problems before flashing ElementalX.

Another thing I noticed is that if I try to change a frequency (for example, max screen off) with TricksterMod, a second after I press "apply" the frequency return the previous... I don't know if it's a known issue of TricksterMod or not...

But except the bad battery that I'm having, ElementalX is noticeably smoother and faster than the stock kernel, and the display "cooler" is very great!
[Nexus 5 Original Android Development] relevant_placeholder:
Frequency issue and trickstermod has been beaten to hell and back ITT.

Clean your caches and try again.

Also, click on that graph and post a screenshot.
[Nexus 5 Original Android Development] willgare:
How do you mean, the developer days that SkyGo is not supported?
[Nexus 5 Original Android Development] flar2:
Don't change frequencies with a kernel app, it will lead to trouble. For instance, your minimum freq probably got set to 1267MHz.

There is no need to adjust frequencies with this kernel, as the elementalx governor does it for you. It's context sensitive and will rarely use the higher frequencies unless you are gaming.

Your bad battery could be a one off thing. It's Very common for certain apps or services to keep the phone awake randomly. A reboot will usually fix this.

Second possibility is that you have sweep2wake or doubletap2wake enabled, which drain 2 or 3 percent per hour. You can still use these features of you manage them properly, read the OP or ask here in the thread for advice.

Other than that, I can guarantee you there are no issues with the kernel itself. If you install it with defaults on a clean system and dont mess with anything you will have a good experience.