yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] flar2:
I wouldn't base anything on benchmarks for readahead. The problem is, you may get higher scores with higher readahead values because of the file size used in the benchmarks. It's going to be biased toward higher readahead values. Inconsistencies will also result from the fact that data could already be cached from previous tests.

The only way to determine the best readahead value is through normal use. Use a value for a few days, then change it and see if you notice a difference. You probably won't notice much difference to be honest.

Whenever you access a file, the system will "read ahead" by the readahead value in anticipation that it will need to read those blocks on the disk. Setting it too high will cause it to "read ahead" things that it doesn't actually need to read. On the other hand, higher readahead values can make sense if you are frequently using large media files (for example, videos or lossless audio). On Android, we mostly deal with a smaller files.
[Nexus 5 Original Android Development] wfd:
Hello guys, hello [MENTION=4684315]flar2[/MENTION]. I got kernel panic today with 0.45 on CM. All kernel settings by default, except scheduler, i am using fiops. last_kmsg:

https://www.dropbox.com/s/gg4mho1tm0omwl5/last_kmsg.zip

Отправлено с моего Nexus 5 через Tapatalk
[Nexus 5 Original Android Development] GragonV:
@_@ thanks for the info. Since I only noticed that when I enable MPD, most of the time only 2 cpu running. So I must disable it to make 4 CPU running for 2 reasons:

- I'm afraid (silly me) that if only 2 CPU (1 and 2) running most of the time, it will be too much for them (why not share the hard task for other two?)

- I must do that so when applying performance mode for the app Facebook (by Per-app Modes app by Franco), Facebook can run smoothly (for some reason, my FB app is lag on Beanstalk Rom+ ElementalX kernel :(. (Now I'm on C-droid and it's stock kernel, FB is very smooth - with or without the MDP. On other kernels, FB is still lag but better than ElementalX-36, will try .45 and 1.0)

Please correct me :)
[Nexus 5 Original Android Development] drawde40599:
U dont need disable mpdecision to get 4 running. I get 4 cores running all the time with anything I do there alwasys kicking in from 2 to 3 to 4 ,if your not seeing the same u may have something wrong , did u dirty flash your ROM before installing elementalx ? Its recommend if coming from other kernels .

For the lag maybe your phone don't like ROW try deadline or one of the other schedulers
[Nexus 5 Original Android Development] jumparound246:
Correct, you're not wrong. There're significant proceedings and i guess with latest version .45 and also with the new 1.0 you're issues will be gone. If it's possible for you switch to art also and you'll have a super smooth experience.

Don't know why you're still using .36 anyway?
[Nexus 5 Original Android Development] floepie:
[MENTION=264345]ralpheboyo[/MENTION]

So, out of curiosity I decided to measure these values a bit more systematically. Four (4) test size files at 5 read ahead sizes at 4 different I/O cache sizes (128, 256, 512, 1024 MB) were tested. This represents at total of (4 x 5 x 4) = 80 data points, and each data point was repeated 4 times and averaged. And, as suspected there really doesn't seem to be a clear winner in attempting to select a best I/O cache size. There are some trends, however, but I'm not skilled enough in this area to extract any sort of applicable meaning. Hopefully, this helps someone more knowledgeable than I am.
[Nexus 5 Original Android Development] sam.balia1012:
if you have access to matlab you can get all kinds of meaningful numbers from the graph you plotted
[Nexus 5 Original Android Development] Globespy:
4.4.4 Stock Kernel flashable zi

I ran a search and found nothing.

Is there a stock kernel zip? Appreciate any links.

I've just done a full clean install (wiped everything except internal storage) of latest KangaKat ROM and elementalx is running very hot.

Thanks.
[Nexus 5 Original Android Development] drawde40599:
U Shouldnt be having heat issues , u could try different throttle setting during install ..

Here's the stock boot.IMG I don't have time make a flashable ATM so its not flashable https://mega.co.nz/#!cFwyhB4Q!UrjM-Zla_joGH69bfO5gjb8ESv8sX6bA2oI5psoYc04 either fastboot it or use flahify
[Nexus 5 Original Android Development] nadiros:
Here ya go. From Android Development threads

http://xdaforums.com/showthread.php?t=2518816
[Nexus 5 Original Android Development] Globespy:
Thanks. I've tried stock and default and phone still runs hot (max CPU 1.958Ghz), and isn't nice on battery.

Thanks very much.
[Nexus 5 Original Android Development] kwamayze:
Wow, thx [MENTION=4684315]flar2[/MENTION]. Just updated to 1.0 from stock and the battery life is amazing. Standby battery is surreal. Wow wow wow!!!
[Nexus 5 Original Android Development] rancur3p1c:
why do so many people like this kernel compared to Faux123's kernels?

---------- Post added at 01:53 AM ---------- Previous post was at 01:51 AM ----------

run each test 16 times (4x the resolution) and we might see some convergence
[Nexus 5 Original Android Development] pcphobic:
Very good battery life

Just wanna say that this kernel has given me good battery life and snappy & smooth performance.

I have tried so many other kernel but keep coming back to ElementalX.

Keep up the amazing work that u r doing [MENTION=4684315]flar2[/MENTION]
[Nexus 5 Original Android Development] dtgeorge:
Hi there!

I am using 1.00 kernel on latest MIUI.

I have an issue with dt2w.

I turned off (MIUI settings) lockscreen to go at wakeup (after dt2w event) immediately to previous state, not to lock screen.

But sometimes (can't understand algorithm) tap(s) I made for dt2w, pass through to screen after wakeup. I tap screen two times, it wakes up, and proceed tap event like if i tap it after wakeup.

In real life it looks like dt2w wakes up device and immediately call to somebody or start some app - depends on area used for dt2w)))))))

May be there should be (implement) some timeout between dt2w event and actual wakeup/screen on?

Got some ideas?
[Nexus 5 Original Android Development] whisper13:
Question, is this the default settings in elementalx?

Sent from my RastaKatified Trinity-nized Hammerhead!
[Nexus 5 Original Android Development] jumparound246:
...

Yes, most kernel tweaker apps are showing the wrong min frequency. Try watching it with e.g system monitor and you'll see that the real min frequency is 300 MHz.
[Nexus 5 Original Android Development] d1n0x:
As always, no issues with v1.00 and Purity ROM. Snappy and stable as we are used to from you :)

6h SOT no problem :good: :good:

Thanks, flar2!
[Nexus 5 Original Android Development] doomed151:
It's not technically wrong since those apps don't update the frequencies in real-time. Whenever you touch the screen, the min frequency is actually set at 1267 MHz; which only goes down to 300 MHz after a few seconds of no touch input.
[Nexus 5 Original Android Development] dex2grigg:
Without this kernel I wouldn't know what else to use.. Anyone agree with me??
[Nexus 5 Original Android Development] ShahzaadT:
+1 Elemental or Stock or Rom's(Stock) !!! NOTHING ELSE :p
[Nexus 5 Original Android Development] pcphobic:
Totally agree!
[Nexus 5 Original Android Development] Zorrich:
+1, been on this kernel since I got my phone in December. Tried a couple others for something to do, but ultimately always came right back :)
[Nexus 5 Original Android Development] NovaSlim:
For me: Aroma installer & ElementalX Governor, plus flar2 updates this kernel very frequently.
[Nexus 5 Original Android Development] GialanG:
I don't know if it's suitable to say here, but there are some good things out there... I can't decide which is the best between this and Code Blue. I've been switching back and forth between them.
[Nexus 5 Original Android Development] jlevy73:
That's the beauty of android, choice! Give some other kernels a go and see which one fits your specific needs. Then decide once you've had a chance to see which one you like best.
[Nexus 5 Original Android Development] chubby65:
Same here try the rest and stuck with the best
[Nexus 5 Original Android Development] Silas0220:
I have the Franco Kernel Updater app that I've used for Franco's kernel in the past. I know that we can use that app to adjust many things within this kernel (have to say, used ElementalX, went back to Franco because I thought 0.45 caused a strange issue on my phone with 4G data, and I'm getting awful battery life in comparison. I'm coming back.). Can I use his app to boost speaker and headphone volumes like I can on the Franco kernel? I know this kernel works with Fauxsound, but I like to keep things clean and simple and use as few apps as possible to mess with things. Thanks folks!

I'm sure there's a post around here somewhere that mentions what we can tweak and not tweak with apps like this after the Aroma installer does its magic, I just couldn't find it. Very sorry!
[Nexus 5 Original Android Development] ralpheboyo:
[MENTION=284716]floepie[/MENTION]

first off absolutely awesome. Thank you very much for taking the time and posting such a structured report!!!! I certainly will learn from you and endeavour to post results in such a manner which provides transparency and structure for all using the forum.....Once again THANK YOU:good:.....

wow....I think your results really show how the settings vary/fluctuate across the board. None the less for your phone and setup 128-256 seems to be the sweet spot. As [MENTION=4684315]flar2[/MENTION] mentioned best is to run each setup for a few days and see what feels smoother to you (obviously depending how you use your phone gaming/productivity yada yada

Thxs for all your efforts once again
[Nexus 5 Original Android Development] BrandoHD:
999 pages eh
[Nexus 5 Original Android Development] vin4yak:
Turn it upside down and you get. :angel::angel:
[Nexus 5 Original Android Development] GialanG:
Everyone seems to be waiting to be the first in page 1000. My F5 broke, so I choose the last post before page 1000.

Good luck for the next one :P
[Nexus 5 Original Android Development] shadowdevil:
Yup..i got it..! LoL :D where is the devils icon...?
[Nexus 5 Original Android Development] :
I hate you and all that you stand for.
[Nexus 5 Original Android Development] shadowdevil:
Haha lol..!
[Nexus 5 Original Android Development] Clauu:
I'm just wondering what has kernel to do with rom? I'm only on another kernel, in rest all stock.. i must reflash stock kernel or stock rom before flashiing elementalx?
[Nexus 5 Original Android Development] x10user2011:
Is it bad to sometimes charge my phone randomly when it's at 30, 10, 50 percent sometimes? Or charging it for a bit and not to 100? Just because sometimes I need to travel and just need some extra juice before I head out but I don't want to damage my battery life.
[Nexus 5 Original Android Development] GtrCraft:
It's not bad at all, as long as you sometime let it drain almost completely
[Nexus 5 Original Android Development] x10user2011:
Thank so much! Yea I do that sometimes so I guess I'm good
[Nexus 5 Original Android Development] NovaSlim:
This is meant to install the stock kernel(which most custom ROM uses) before you install elementalX, as it could cause problem if you flash elementalX on top of a custom kernel(like franco kernel). If you could find the stock kernel you can just flash it before flashing elementalX instead of dirty flashing your whole ROM.

Letting the battery drain to almost empty is dangerous and damaging to lithium ion batteries. You should only drain it till the low battery notification pops up(around 20%). Frequent 10%, 20%,50% charging/discharging cycle is good with Li-ion battery,frequently letting it drain to <10% then charge them back to 100% produces a lot of heat in the charging process and is bad for it.
[Nexus 5 Original Android Development] tridibsahabd:
So...just wanted the #9999 post :P
[Nexus 5 Original Android Development] whisper13:
#10000 :)))

Sent from my RastaKatified Trinity-nized Hammerhead!
[Nexus 5 Original Android Development] GtrCraft:
Letting the battery drain to almost empty is dangerous and damaging to lithium ion batteries. You should only drain it till the low battery notification pops up(around 20%). Frequent 10%, 20%,50% charging/discharging cycle is good with Li-ion battery,frequently letting it drain to <10% then charge them back to 100% produces a lot of heat in the charging process and is bad for it.[/QUOTE]

That is some serious bull****
[Nexus 5 Original Android Development] boxcar8028:
10001:cyclops:
[Nexus 5 Original Android Development] NovaSlim:
Just restating what my googling tells me, if you want to argue why don't you show some sources that backs up your argument?
[Nexus 5 Original Android Development] Silas0220:
Some kernels (I know Franco for a fact, cause it's bitten me in the ass) change files in /system. If you don't flash your ROM (or flash system.img and boot.img if you're running just the stock ROM), you may/ will have trouble. I know I just flashed boot.img coming from Franco's to stock the first time when I wanted an OTA and it was a no go.

---------- Post added at 12:39 PM ---------- Previous post was at 12:36 PM ----------

Did you even click on the link in his post? He gave an excellent source right there.
[Nexus 5 Original Android Development] doomed151:
It's not. Draining li-ion or li-po batteries is very bad and will reduce its total capacity permanently. Other than that, it's fine to charge them however you want as long as the temperature is kept in check.
[Nexus 5 Original Android Development] NovaSlim:
Unless my glasses are deceiving me there is no such link in his post(that I responded to), it only had the link I posted in the previous page. That link actually proves my point that deep charge/discharge are no good for lithium battery health. You obviously never read that link through before jumping to conclusion

At any rate, avoid full discharge/charge cycle is the rule of rules on prolonging Lithium ion battery life, you can google on this all day and that will appear in 80%+ of the article you find on this subject.

+1, plus the best way to keep charging temperature in check is to do frequent small recharges(10-20%) and avoid high% recharge(50-80%), heat builds up constantly while the battery is actively charging.
[Nexus 5 Original Android Development] GtrCraft:
Your source is backing me up more than your statement. Completely drain your battery is never good but around 5-10% is good enough.

And like the article says the life of a battery depends on using experience not drainage
[Nexus 5 Original Android Development] NovaSlim:
You never mentioned 5-10% in your previous post, you said" almost completely"(how could one not assume you don't mean 1-2%). I still advocate not going beyond 20% but that's personal preference. How does the source back up your argument of draining battery almost empty a few time? It clearly says one should charge the battery frequently and avoid near full(100%) charge/discharge cycles.

A complete recharge from 5-10% would create a lot of heat(just check your battery temperature graph, or just touch your phone) and damage the longevity of your Li-ion battery. To do it sometime like you suggested does no good for a Li-ion battery and only causes unnecessary heat from a high% recharging.
[Nexus 5 Original Android Development] doomed151:
5-10% is probably fine but this...

is not. Li-ion's capacity deteriorates with temperature, time, and charge cycles (in no particular order).
[Nexus 5 Original Android Development] GtrCraft:
Charging it too much heats it also: http://gizmodo.com/how-to-take-care-of-your-smartphone-battery-the-right-w-513217256

There is no way to let it stand perfectly. But someone with common sense knows I didnt mean 1% (when the phone turns off) with "almost completely"

---------- Post added at 07:03 PM ---------- Previous post was at 07:02 PM ----------

And you better read my link too
[Nexus 5 Original Android Development] NovaSlim:
the link you posted clearly mentions

With overcharge protection built into batteries & chargers there is no real problem unless you let your device sit on the charger forever(which you won't if you just go for short recharges often instead of let it sit on the charger the whole night) after it gets full, most phones(Nexus 5 included) actually reports a fake 100% to prevent you from overcharging(mine goes to 99% quickly after coming off the charger).
[Nexus 5 Original Android Development] doomed151:
After reading it, I still don't recommend doing this:

The battery gauge in Nexus 5 is very accurate compared to those inside laptops. You will only need to calibrate the battery when your phone dies even though it shows there's 1% (or more) charge left. Calibrating regularly will only degrade your battery faster.
[Nexus 5 Original Android Development] nadiros:
Re flashing your ROM is recommended and your best choice for overwriting any changes left by previous kernels. Most custom kernels don't just drop a boot.img and be done with it. Changes are made to other partitions.
[Nexus 5 Original Android Development] GtrCraft:
Indeed, so neither of the solutions (charging 5-10% or 20-30%) makes the battery better. My point the whole time
[Nexus 5 Original Android Development] drawde40599:
Not trying to argue or anything else but I will tell u from a 20+ device history letting batterys die won't hurt your battery at all unless your battery was crap to start with ( had it happen ) , if anything they last longer . I let my phones die all the time like almost everyday, I'm sorta kinda spoiled with devices and let's say some people use chargers I just use spare phones , I've been doing it for years let phone die , charge anytime I feel like it , phones on chargers for days ,weeks , using wrong chargers ,using batterys to charge phones ( I'm a mechanic ,have all kinds stuff going on ) all my phones/devices have exactly the same working perfect battery as day one . even my N1 and captivate that I use for baby monitors for years still get days and days of battery life . anyways dieing won't hurt them , charging whenever u feel like it won't either I don't care what google says, i abuse the hell out my devices and if they hold up to me .....

My grammar sucks i already know , I work on cars not spelling books ;)
[Nexus 5 Original Android Development] harshalkatakia:
EDIT: Deleted
[Nexus 5 Original Android Development] NovaSlim:
My only oppostion to your "discharge down to 5-10%" is that charging back to 100% from there would generates a lot of heat in a short period of time(<2hrs), and should be avoided. If you are not going to see that point then there is no point in continuing this discussion.

My point is about avoiding high% charge/discharge cycles and keep recharges short.I never argued that draining to 20% improves battery life, it was just my preference back when I was doing battery calibration(I stopped doing that a long time ago).
[Nexus 5 Original Android Development] GtrCraft:
Never had an issue with it, and the battery is smart enough to prevent overheating when charging/charged
[Nexus 5 Original Android Development] Silas0220:
My mistake.
[Nexus 5 Original Android Development] NovaSlim:
It does stop charging if it gets over 55-60C I think(never been there), but by keeping recharges short and frequent, you can easily avoid it going over 35-40C. I do think the later condition is preferable, but that's just my preference.
[Nexus 5 Original Android Development] GtrCraft:
It's always charging at ~35C for me
[Nexus 5 Original Android Development] NovaSlim:
Back when I was doing calibrations, an 80% recharge would top 40C(around 42C) near the end. It always happens because heat is continuously built up during the charging process .
[Nexus 5 Original Android Development] rancur3p1c:
that's completely false. Stop spreading FUD. The 0% on the battery is +3.2-3.3v which is a whole 0.5v higher than the voltage that permanently deactivates the cells. The battery itself has an internal circuit that turns itself off (this is called "sleeping) when it gets closed to this voltage so that you can still wake the battery up and keep using it.

It doesn't matter how low you discharge it, discharge to 0 all the way it's fine. The only indictator of long term battery life is the amount of power that's been stored over its lifetime. That's why it will last 2000 charge cycles at 25% discharge, but only 500 cycles at full discharge-- because it's the same amount of power that was transferred through the battery.

---------- Post added at 01:42 PM ---------- Previous post was at 01:42 PM ----------

go reread that article. Major reading comprehension fail on your part. Also you're pretty dumb if you think every consumer electronics company on the planet would allow hazardous use of their devices without a trigger on the warranty and a disclaimer that says IF YOU DISCHARGE PAST 20% YOUR WARRANTY IS VOID. They don't, because what you're suggesting about batteries is absurd.

I'm an electrical engineer and I do this for a living. Your assertion is so bizarrely absurd and stupid I'm leaving it up to you to come up with more sources. I'm checking out-- fellas, don't listen to this guy. He has no understanding of lithium cell chemistry. Believe him if you want, it's not worth my time.
[Nexus 5 Original Android Development] GtrCraft:
Never seen mine go over 38C when charging
[Nexus 5 Original Android Development] rancur3p1c:
_MOD EDIT-

completely draining the battery is. not. possible. without letting it sit on the shelf for 2 years AFTER it's already been drained to 0% by your phone. The battery is at "0%" at ~3.3v which is not true lithium "0%", which is around 2.7v.

So, if it were possible to do as you say, you'd be at 30% at the 3.3v mark when the phone normally shuts down.
[Nexus 5 Original Android Development] GtrCraft:
MOD EDIT

completely draining the battery is. not. possible. The battery is at "0%" at ~3.3v which is not true lithium "0%", which is around 2.7v.

So, if it were possible to do as you say, you'd be at 30% at the 3.3v mark when the phone normally shuts down.[/QUOTE]

Please calm down. You are taking this way too far. I know a battery can't complete drain but you don't have to make it that big
[Nexus 5 Original Android Development] rancur3p1c:
no, he's saying something that's completely stupid, doesn't make sense from an engineering standpoint, and certainly doesn't make sense from a consumer electronics standpoint, and is very bad for everyone else, and people are _believing_ it

it's no wonder developers are tired of dealing with XDA people. If my reading comprehension were as bad as Nova's I would be fired from my job

peace out fellas
[Nexus 5 Original Android Development] NovaSlim:
Exactly what part of my assertion that a high % recharge increases battery temperature significantly thus is not preferable bizzare & absurd? All of it is based on how charging generate heat over time and the longer it lasts the more heat is generated(given how poorly a smartphone dissipates heat, it will continously build up and increase battery temp as a result).

I suggested avoiding high depth of discharge b/c the consequently long recharge followed and as a result high battery temps, not for any other reason.
[Nexus 5 Original Android Development] ralpheboyo:
Fella's... Think it's time to move.. Links are there for everyone to draw their own conclusions regarding battery charge & drain....
[Nexus 5 Original Android Development] danmaman:
please guys

this is a KERNEL thread

and not a BATTERY chargin whatever thread

there are many other threads out there:fingers-crossed:;)

:good::good::good::good:
[Nexus 5 Original Android Development] GavinMazey:
SetCpu is working good for me.
[Nexus 5 Original Android Development] shinigenEddy:
Ah alright! Also, just noticed a weird bug; getting audio skips during playback (tested with bluetooth and headphones) while screen is off, screen freq is still set to the default 729mhz. Anyone else experiencing a similar problem?
[Nexus 5 Original Android Development] flar2:
I'll add some options for screen off number of cores. You probably need two for listening to music over Bluetooth.