yashsingh1/xdaforums huggingface dataset:
[Epic 4G Android Development] evilsock:
thanks, i wasnt sure and after i read ur long op i was hoping it was a valid Q
[Epic 4G Android Development] Anon9mouz:
I ended up using setcpu after reading how to use voltage control and still couldn't do it so I gave up. Phone seemed to run ok so idk. So is it bad??
[Epic 4G Android Development] vocaltreat:
na its not bad....like i said before ...our phones tend to have different personalities for what ever reason..mine happens to hate setcpu and freezes while on it. I like voltage control because i feel it lets me play around more and....my phone likes it;)
[Epic 4G Android Development] Custodian:
Nice and rather decent sig you have bud....
[Epic 4G Android Development] vocaltreat:
HAHA and this is comming from a true blue nerd???? :p
[Epic 4G Android Development] dchawk81:
Heck no. I'm a stud.
[Epic 4G Android Development] evilsock:
if i overclock is it a must i mess with undervolt?
[Epic 4G Android Development] dchawk81:
I don't think anything is a must, other than keeping the UV at stable levels.
[Epic 4G Android Development] vocaltreat:
No its not a must....you can play around if u want ..sme people do it to get better batt life.
[Epic 4G Android Development] vocaltreat:
Hahahahaha...oooooo kay.....I'm a nerd and proud.....though I could be a bit nerdier.....I need to work on that....
[Epic 4G Android Development] jbadboy2007:
I wish someone woulda posted that idea of using stability test sooner. It works great for me so far. My new uv's

1000-75

800-75

600-50

400-100

200-100

100-100

600mhz step behaves very weird with being uv. But I did notice performance gain with it enabled. Prolly cuz it throttles better. This might be a stretch but what if the steps are like shifting gears in a car you can't just go from 1st to 3rd without either stalling or very slow to get back in the performance range. So with this great analogy that could be wrong but I would not jump steps.
[Epic 4G Android Development] Rodderik:
you are not entirely off point here...we know for certain that our cpus do not like big jumps and i think the frequencies do just what you said

we have thresholds defined in the kernel (or some in the specific governor) that i think tell the cpu to step up a freq if the load >80% and keep stepping until it reaches max freq or highest it can where load isn't >80%....same theory applies for stepping down at say 20% load or less

at least that's the way i figure it works
[Epic 4G Android Development] sultan.of.swing:
I flashed this kernel tonight, all settings set to default. Everything is running great. I do have an issue though, it seems that every kernel that I flash I get the dreaded screen of death where the phone does not wake up after sleeping for a few minutes thus requiring a battery pull.

I always wipe dalvik and cache and still have this issue. It is not just this kernel either.

Custom roms with the kernels built in I do not have the screen of death issue, only after I switch kernls.
[Epic 4G Android Development] Rodderik:
is it something you think you can recreate? if so i might have a fix i want you to test later
[Epic 4G Android Development] sultan.of.swing:
I can recreate it at anytime. All I have to do is let the phone sleep for a few minutes or so, funny thing is that if its on the charger it does not do this.
[Epic 4G Android Development] Rodderik:
excellent...send me a pm and mention you can recreate the wakelock if you don't mind so i dont forget and i will compile a kernel tomorrow and have you test if you can
[Epic 4G Android Development] sultan.of.swing:
Thank you very much sir, will send you a pm now before I hit the sack.
[Epic 4G Android Development] Rodderik:
thank you...i'll shoot you a pm when i get a chance to put it together for you
[Epic 4G Android Development] Custodian:
How is your battery life with the 600 step active?
[Epic 4G Android Development] squshy 7:
ooo shh, you don't need to work on anything ;)

/end creepiness

on another note, I've been following this thread closely, still have yet to test this kernel (mostly because I'm on a unjournaled SRF)...ive been holding out for an ec05 viperrom, but I'm getting itchy ;)

how's this working on synergy? I heard a couple of problems from a few ppl...maybe I should just nandroid backup/restore my SRF so I can get journaling on
[Epic 4G Android Development] dchawk81:
This helped. My phone is happiest with default steps.
[Epic 4G Android Development] Custodian:
Question...does anyone use juice defender or any other battery mod
[Epic 4G Android Development] dchawk81:
I tried it but I didn't see any settings that I could actually use.
[Epic 4G Android Development] thatdudepoops:
I put on airplane mode before I go to bed (thank u Samsung for the worthless USB cord provided), only dropped 1% with these settings, very stable, gonna run it harder today...

.

Noop.....max 1125

1125, -100uv

1000, -100uv

800, -100uv

600, -50uv

400, -100uv

200, -125uv

100, -125uv

Hope this helps, as for I am looking for a good "base" to start really seeing how much battery can b saved...since currently that is my biggest prob with the epic...BATTERY LIFE!

Edit: I can not seem to upload any pics to tapatalk xda app...anyone else? Says wrong format?
[Epic 4G Android Development] thatdudepoops:
I use the xda super power app off the market...helped my batt life by about 30%...and I'm a med-high user(poweramp all day, browser, fb, texting, scouring xda premium :-) , although it gets a lil finicky with screen off states
[Epic 4G Android Development] CapsLockKey:
So, finally fixed whatever was causing battery drain on my phone. Whatever it was, it had to do with something labeled "0" under data usage in spare parts basically constantly using my wifi. No idea what exactly it was, but took a full odin to stock EB13, OTA update and full reformat of my SD card before it finally went away. Now I'm floored by my battery life with this kernal.

I went from 97% battery to 90% in 7-8 hours while I was sleeping with the phone unplugged. 1% an hour!?! Before (even with this or any other kernal/rom) my phone would lose at 30-40% of battery in the same situation.

My Voltage Control settings are:

1200 -25

1000 -75

800 -75

400 -50

200 -75

100 -100
[Epic 4G Android Development] Anon9mouz:
Thank u
[Epic 4G Android Development] Anon9mouz:
I would like to see someone's VC settings for oc at 1.4
[Epic 4G Android Development] makipsee:
At 1400 im undervolted at 25
[Epic 4G Android Development] Custodian:
I'm not running 1.4 anymore. But my stable CFQ settings were

1.4 @ -75

800 @ -100

200 @ -125

100 @ -125

Please note, these settings may not work for you. If you need help getting your system stable

I don't mind helping you, I have 2hrs left at work lol
[Epic 4G Android Development] Custodian:
what was the cause in spareparts
[Epic 4G Android Development] jbadboy2007:


A kill all process wouldn't stop that from running or a re boot. I've seen it 2x where something random is draining battery but its fixed by kill all.
[Epic 4G Android Development] Custodian:
@Rodd, have you tried undervolting voltages on different schedulers? I just recently noticed while on the cfq setting I was only able to uv 100,200 by -125, where as with the noop setting, I'm pushing 175....hmmm
[Epic 4G Android Development] squshy 7:
Something I've noticed that I'm pretty sure I haven't seen brought up yet...

Through my first phase of testing (figuring out which scheduler and steps I like), I realized that when my phone is plugged in, it never enters deep sleep. In fact, according to cpu spy, its not that it never enters it, but rather deep sleep was an unused state. (I thought something was up when my phone woke up instantly lol).

Deep sleep state then becomes a used state again after unplugging the phone, and enters correctly.

At first, i tested to see if it was the scheduler. Then I tried taking 100mhz out of my used states, but none of that worked. The only thing I didn't test was reflashing the kernel and NOT flashing the 100 mhz patch (flashed the path before I started any testing at all on this kernel)

I've never had this happen on other kernels (even genocide)...I assume its kernel specific? Or maybe its due to voltage control...any thoughts? I have a feeling this is gonna increase my charging times if left untouched...
[Epic 4G Android Development] Rodderik:
no i haven't...honestly just as quick as i can pump something out i'm off to the next task so i personally haven't had a chance to to even experiment with undervolts on my phone (minus the testing i did before releasing)

unless you're phone is real hot it shouldn't increase charging time
[Epic 4G Android Development] squshy 7:
Just for the sake of testing, will reflashing the kernel remove that 100 mhz patch?
[Epic 4G Android Development] Custodian:
Rodd do you play world of warcraft
[Epic 4G Android Development] Rodderik:
no if you flashed the 100 patch .zip then all you need to do is use a program like root explorer and delete the /system/etc/init.d/S_set_min_100MHz and reboot
[Epic 4G Android Development] Rodderik:
i have in the past...but not anymore why?
[Epic 4G Android Development] Custodian:
thats good to know man, you should return someday and bring the rest of the nerds with

H you
[Epic 4G Android Development] vocaltreat:
Haahaha wth?...anyhoo...on 1.4 I can't undervolt over 25.....other then that I'm spiffy.....50 did ok for like a half hour and 75 instantly froze phone
[Epic 4G Android Development] dchawk81:
Same here. Nerd For Speed screws up the phone if anything is set lower than it is now.
[Epic 4G Android Development] evilsock:
ok 2 Qs,

if i wipe data and cahe this kernal is still there right? i dont have to reflash it?

and seond, is it normal to get the android logo flashing over the big S on every reboot?
[Epic 4G Android Development] Rodderik:
yeah...i'm going to have to decline playing that disease ever again

yes and yes

the kernel enables custom bootanimation.zip to play on boot and the stock animation is still being called by the playlogos1 file so you get the overlapping animations...in the future i may implement some checks but for now it doesn't hurt anything...flashing any of the custom roms will get rid of the overlapping animations
[Epic 4G Android Development] dchawk81:
The only ways to remove the kernel are flash a different kernel, ODIN another ROM, or exe another ROM.

Yes, that's normal. Deleting or renaming the Sprint animation will allow only the Android one to show. Supposedly you can remove the Android one instead but I didn't find that file.
[Epic 4G Android Development] CapsLockKey:
I still have no idea what actually was. Clicking on the "0" item in spare parts just causes a FC of spare parts. I tried googling an answer of what "0" actually is and no one has seemed to answer it. The closest I came was that it represents something that requires super user access. Whatever it was was using data more than anything when the phone was idle.
[Epic 4G Android Development] Custodian:
Lmao!!!!! Yea that game has destroyed and created new lives for some people..dunno why...I hsve been playing since beta and it has hasn't had an impact on my life like it has others...heck..I play because I'm a gamer...and I still have a very active life....
[Epic 4G Android Development] squshy 7:
Does anyone here know of an app that will graph the history of cpu clock speeds...there's plenty of ones that graph the usage %, which will give a good idea of clock speeds, but I want to see how the schedulers are throttling the speeds exactly. Cpu spy is nice but its only total time amounts.
[Epic 4G Android Development] bondosho:
This kernel made SRF 1.1.0 work perfectly. No more fcs, freezes, or black screen of deaths!
[Epic 4G Android Development] mrhocuspocus:
So Ive been trying to get find my sweet spot for undervolting, theres so many things that dont make any sense to me.

1. its seems like with -200mv @200/100Mhz phone calls eat the battery for dinner, and with a more conservative -75mV @ the same frequency I get better battery life during phone calls.

2. I know finding a working undervolt is more than just running a few test. but you would think isolating a frequency and running a pi calculation for a while would give you a good idea of what uv's your phone is capable of. But even if i back off my suspected good uv's my phone will randomly freeze (sometimes it will take an entire day), when i enable all frequencies (1120, 1000, 800, 400 ,200)Mhz.

any help will be appreciated.
[Epic 4G Android Development] Rodderik:
im working on tweaking the timings and stuff for the different frequencies...it is a lot more complicated than pure cpu frequency and voltage so it may be some other hardware being effected by the undervolting since there is a lot of stuff tied together
[Epic 4G Android Development] mrhocuspocus:
well if it helps... im beginning to think its the 400/600Mhz clocks that are doing me in. I just disabled them. Ill post back if I have a problem, or my phone is stable for 24hours.

Also is it normal to have around 90% "deep sleep" in cpu spy? even when im using my phone to make alot of calls and some other misc things.
[Epic 4G Android Development] burgerpimp07:
To be honest, if your phone is freezing then you have one or more unstable undervolt, no matter how long it goes without freezing. Go to more conservative undervolts and go from there.

Increase ONE frequency undervolt and run it the entire day, if no freezes, write it down and increase it some more, or increase a different frequency.
[Epic 4G Android Development] squshy 7:
So in my now continuous reasearch of these schedulers, I'm posting the result of a run of comparison tests between cfq and anticipatory (I've decided to stray away from noop as the results were very inconsistent, leading me to believe its not very efficient, and deadline, as it seems to be just pure performance).

For this test, I ran 3 times each of quadrant, smartbench, linpack, and sqlite, with 2 full process kills in between every test. My current VC setup is 100, 200, 400, 800, 1000, and 1200 (so very close to a "normal" voltage step series, plus overclock). 200 and up is undervolted by 50 (pretty vanilla).I'm not running off a bare system, so the results might seem a little low. I also reset cpu spy before running each battery of tests so I could get a gauge of how the schedulers throttle.

ANTICIPATORY

Quadrant:

1597

1625

1590

Smartbench:

1030/2478

1020/2477

1039/2387

Linpack:

16.419 in 5.11 sec

16.005 in 5.24 sec

16.100 in 5.21 sec

Sqlite:

52.288 sec

52.531 sec

52.545 sec

CPU Spy frequency usage:

1200--49%

1000--5%

800--9%

400--10%

200--3%

100--21%

CFQ

Quadrant:

1620

1616

1634

Smartbench:

1013/2403

1020/2491

1034/2401

Linpack:

15.996 in 5.24 sec

16.045 in 5.23 sec

15.468 in 5.25 sec

Sqlite:

39.869 sec

38.835 sec

39.074 sec

CPU Spy frequency usage:

1200--59%

1000--3%

800--6%

400--4%

200--3%

100--22%

Most of these results are very similar, but there's two things that stand out immediately to me: low sqlite scores and a spreading out of the cpu load to the middle frequencies with the anticipatory schedule. While this spread may seem to indicate that the scheduler is more efficient at using battery, the low sqlite scores worry me. I feel that the gain in conserving battery is likely outweighed by the fact that its taking longer to do certain things, thus negating any battery saving (maybe). Sqlite is a pretty straightforward test, and with such a disparity in the results, I think I'm going to stray away from anticipatory.

(also, all of the sqlite scores seem pretty low...it could be that my system is pretty bloated right now, but I dont know...im running SRF 1.1 with about 25 extra apps, anybody else get similar results? Tomorrow I might see what I get with a fresh install, just to make sure it's not kernel related)
[Epic 4G Android Development] bryanfritz1:
All those benchmark scores seem low. I'm running this kernel with bonsai 3.01 which is eb13, and I get 18.5 plus in linpack and atleast 2700 for gaming in smartbench. You may have a rogue app messing with you.

sent from "The Other Woman"
[Epic 4G Android Development] XxLostSoulxX:
He's using Smartbench 2011 that's why but quadrant seems a bit low
[Epic 4G Android Development] aleph23:
I had wake lock on this kernel as well as another. It started when I switched to an EC05-based rom. I'm running stock ec05 now, rooted, bloat removed. No more wake lock.

It also never happened when plugged in.
[Epic 4G Android Development] XxLostSoulxX:
Question when you undervolt the frequencies do you undervolt just the states that you choose or all them. Because I have 200,400,800,1000,1200,1300,1400

And 200 has a lower voltage than 100

My 200Mhz is at 900mv but 100 is at 950mv. And in SetCpu I have it at 1400/200

Plus I noticed that 1400Mhz is a state and everytime I open VC it says limit is 1300 so change it to 1400 hit apply for now and then go back in VC and reverts 2 1300Mhz???
[Epic 4G Android Development] bryanfritz1:
Update to testing: After running 1 full day with undervolts 1400-1120mhz by 25mv 1000-200 by 50mv and 100mhz by 100mv. I am sitting at 30 % left after 13 hours with just over an hour of screen use on full brightness(manual). I would say that for stand by times at least a full extra hour compared to no undervolts.

sent from "The Other Woman"
[Epic 4G Android Development] jbadboy2007:
You should not use setcpu with vc. It will freeze your phone. Secondly if the state is not enabled its not gonna be used so it doesn't matter what the uv is. Also if you want better battery you want all of the lower steps. Even if its performance you still might want the lower steps.
[Epic 4G Android Development] vitreoush:
Awesome Undervolting

Spend a decent amount of time working on the undervolting settings, and you can get some pretty startling undervolts at each clock speed. Currently I'm running -150mV at 200MHz, -125 at 400, -100 at 600, -75 at 800, -50 at 1GHz and -75 at 1.12 and 1.2Ghz (yes, you read that right, below standard normal 1GHz voltage at overclocked speeds). Running pretty damn stable as far as I can tell (got one sudden reset after 1 day of running at those settings, but can't tell if it was the ROM or the voltage settings as this occasionally would happen at base voltages as well). Seeing the spread of successfull voltages in the last few posts, all I know is I got lucky when it came to the CPU sample in my phone I guess.

Oh, and for those who are getting force closes when trying to test voltages by limiting the phone to say 600 or 400mhz in Voltage Control, I noticed that just by limiting the speed options the phone will possibly crash, even at base voltages. I think it's something wrong with either VC or the reaction of the kernel to those specific VC settings. You kinda have to enable most of the clockspeeds, and underclock one at a time up the scale to find stable settings. Not particularly the most user friendly system but hey, you gotta work to get the gold.
[Epic 4G Android Development] Custodian:
I agree. Also, the master of kernels, the destroyer of sprints evil doers, the morning light of epic 4gs, that hidden puzzle peice, proffessor Rodderik:D is in the lab working on a possible tweak/fix or what have you for this exact matter, as he stated in a earlier post. Give him some time to iron his lab coat and he'll be right with us.:cool:
[Epic 4G Android Development] squshy 7:
Holy moses...a full hour with full brightness? Id imagine youd be well over 50% if you had it set at minimum like I do
[Epic 4G Android Development] Custodian:
Squshy when browsing it seems like I lose a % every four page refreshes lol...is that normal...
[Epic 4G Android Development] squshy 7:
Depends on what your browsing, but id say yeah, that sounds like my experience. These screens eat up battery, and web page browsing seems to use a lot of resources, so the two in combination with each other are pretty killer. Not to mention most web pages have a white background which is the worst.

I posted a request in the general section to see if anybody knows the mod I used to have on baked snack. It was a setting where if you moved the brightness slider to a point slightly above minimum, you would have a much dimmer brightness setting (not as much as desk clock ultra dim lol). It was absolutely wonderful. It was easy to see in the evening or indoors, and the battery saving was palpable. Id lose a % for about every 10min screen on time.

one guy posted a reply saying I should use an app called screen filter, but so far I'm not experiencing the same battery conservation. I won't get in to it here, but needless to say I'm really hoping someone can recreate this mod. Team viper, namely ;)
[Epic 4G Android Development] konaman:
I have a extended battery and lose about 1% every 20 min so with stock battery I could see that being normal. I don't really remember though cause I've had my big battery for a while now.
[Epic 4G Android Development] konaman:
I think that's due to the phone not going into "deep sleep" per spycpu.

When. Plugged in it doesn't reach that state probly cause it doesn't need to or because its plugged in and getting that power I don't really know. It goes into deep sleep when unplugged so it saves battery more.
[Epic 4G Android Development] aleph23:
Thanks.

So any clue what's changed between stock and custom roms that would make this an issue for some of us?

My phone is too important for work for me to have wanted to chance going off stock again. I was needing a battery pull up to 20x a day.
[Epic 4G Android Development] Custodian:
I reckon you'll be needing you a larger battery bubba...
[Epic 4G Android Development] pauze10:
My undervolts are modest at the moment, but it's been stable for 4 days without a reboot. Before this kernel, I was getting tons of FCs, wakelocks, and needing to do battery pulls. This kernel has seriously stabilized my phone (stock rom, rooted), it's amazing.

1200: -50

1000: -75

800: -75

600: -25

400: -75

200: -100

100: -50

When on WiFi (at home), Batteryminder reports 25+ hours of battery time after a full charge. I've also seen ~3% decrease overnight off the charger.

On 3G (at work), Batteryminder reports 12+ hours.

My strategy has been lowering the voltages for freqs that my phone tends to use frequently (200, 800, and 1200). I might try lowering 600 a bit more, but I'm not sure it's going to matter. 100 isn't even used, but when I disabled it, I ran into a lot of crashes and FCs.
[Epic 4G Android Development] Custodian:
100,200,400 im sure you could get up to -100.
[Epic 4G Android Development] jbadboy2007:
Doing pretty well so far very stable I will try to uv more.
[Epic 4G Android Development] herzzreh:
Love this phone, but battery went down from 62 to 49 in 20 minutes of browsing Xda? This is with undervolts as well... wtf?
[Epic 4G Android Development] jbadboy2007:
something is not right with that, you should not have drained that much if you were tethering and watching a movie at the same time. make sure you have enough steps and that you are atleast using 200mhz step i use 100 & 200 steps uv'ed.
[Epic 4G Android Development] herzzreh:
I have it down to 100...

I know that something isn't right, just can't figure out what. I do have that 0 process using data, but that's about it.
[Epic 4G Android Development] Custodian:
What bubba said^
[Epic 4G Android Development] musclehead84:
Yeah that happened to me using quick boot. When I use three.finger method its fine. Thanks for your help.

Sent from my Evo Killer!!!
[Epic 4G Android Development] Rodderik:
i'll add it to the list to look into for ya
[Epic 4G Android Development] mattallica76:
It's the re-director. This kernel seems to break it. I booted into CWM 3 using the 3 finger salute, but then tried to reboot recovery while in CWM 3, and got the same errors.
[Epic 4G Android Development] Rodderik:
i've added it the 'to-do' list and will look into it
[Epic 4G Android Development] tpike:
Would tweaking the launcher settings cause the sql benchmarks to go up? I've gone to this new kernel as is and pushed up the animation settings in the launcher pro and my scores went from 17 to 20.
[Epic 4G Android Development] mattallica76:
Which settings did you tweak?