yashsingh1/xdaforums huggingface dataset:
[EVO 4G Original Development] ca1ne:
Borrowing some advice form the lionfish kernel thread about removing lag issues, and added a few from this thread.. Thanks detcup4evr, kelldane, leeboy, capt_throwback, and pennie77.

Adding it to the OP (well post #2 really) as well, and posting the original voltage settings.

Tips and Tricks

1. If you are usinig V6 SuperCharger with kernel I/O tweaks. Please uninstall the I/O Scheduler tweak. Failure to do so may casue random reboots. (Thanks Kelldane)

2. Please navigate to the system/etc folder and scroll down until you find the init.post_boot.sh file and either delete it or move it to a safe place on your sd card. (Thanks Leeboy)

3. When using smurf, do not use the battery saving settings for Smartass V2 otherwise in most cases it will generate lag on that governor. If you open the 45smurf file in etc/init.d and remove the section with the governer tweaks the lag will go away after reboot. (Thanks Pennie77)

4. Ensure that your busybox binary is up to date. (Thanks Capt_Throwback)
[EVO 4G Original Development] Captain_Throwback:
Quick update on my unresponsive screen issue:

Turns out, my device is faulty. If I press on my screen below the capacitive buttons, it registers as a screen press on my device, somewhere in the middle of my screen. Sometimes it registers multiple quick presses, and my screen starts going nuts. That's what's apparently been causing my issues.

I'm back on stock, unrooted, and still having the issue. So I'll be taking my phone to Sprint to have them check it out.

I apologize for any confusion my posts may have caused.

Software Number: 4.67.651.3 | Kernel: 2.6.35.10-g4b48446 htc-kernel@and18-2 #1
[EVO 4G Original Development] ca1ne:
Thank you for keeping us updated...

Also question for everyone, is the hotspot borked on a ROM that should have it working? I'm just checking before I play with the configs to try to get it up and running if it truly is broken.
[EVO 4G Original Development] jrollercoasters:
When's the best time to un plug your phone from sbc kernal, when you want an up to the top finish, I herd its when you hit 0 ma

sent from my swagged EVO
[EVO 4G Original Development] jrollercoasters:
I haven't tried it yet on v4 but v3 it was working fine, kinda my phone loose battery and a little hotter than normal

sent from my swagged EVO
[EVO 4G Original Development] whiterider13:
The only thing I have noticed on V3 is, using wireless tether, everything is great on 4g but if I lose signal and go back to 3g, my tablet no longer gets data. Also, I can't connect if I am only on 3g. Wireless tether will show my tablet is connected but my tablet can't get the IP address.

Sent from my Sony Tablet S using Xparent Red Tapatalk 2
[EVO 4G Original Development] volk9029:
The time to wait to unplug the phone after it reached 100 depends on what battery capacity you have, also ma should never hit 0. It usually stays 5, 8 ma positive.

Sent from my lair.
[EVO 4G Original Development] jrollercoasters:
I've had hit 0 on occasion and when it hits 100 it says 2600 mah when its still 41xx mv and it trickles bewtween 4203-05 when fully charged but on stock kernal I got 4212

sent from my swagged EVO
[EVO 4G Original Development] Chaz187:
Mine will get to 0ma and sit there.. never goes into the discharge but it will rest at 0 ma all night!! Is this not right?

Thanks,

Charles
[EVO 4G Original Development] volk9029:
Mine never hits 0. Usually lingers between 4 and 8 ma. Every phone is different, once it doesn't go negative, you should be fine.

Sent from my lair.
[EVO 4G Original Development] volk9029:
Once you have over 4200, you are fine. It doesn't matter 4203 or 4212. There is good write up by coiledwire about it. When I find it, will link it here.

Sent from my lair.
[EVO 4G Original Development] jrollercoasters:
So no matter what 42xx range its fully charged?

sent from my swagged EVO
[EVO 4G Original Development] volk9029:
Yes, just give it a few hours after it reached 100.

Sent from my lair.
[EVO 4G Original Development] LinuxGuru007:
V.4 SBC +1 with MikG3.11

Smartass v2

Sense removed using Launcher Pro

Standard Battery

V6 charged option 7

Default MikTweaks
[EVO 4G Original Development] jrollercoasters:
See! 0 ma haha

sent from my swagged EVO
[EVO 4G Original Development] ca1ne:
Hotstocks tested a fix for some users having issues using the wifi hotspot, I will be updating this weekend... Update will also include addition of bfq scheduler, ondemandx governor, and swap enabled, which is currently being tested by buckhunter.

Edit: whiterider13 had also confirm it fixed his hotspot problem.
[EVO 4G Original Development] nick1313:
Buckhunter, aka crash test dummy. Lol

:p

Good work ca1ne!
[EVO 4G Original Development] buckhunter:
Lmfao
[EVO 4G Original Development] volk9029:
+ 1 on kernel and buckhunter.

Sent from my lair.
[EVO 4G Original Development] buckhunter:
I'll test anything I don't care lol
[EVO 4G Original Development] pmacevad:
Thanks for the hard work. Having 0 issues with this kernel and any ROM I run (0.4). Can't wait till you drop the update this weekend. Thanks for being receptive to the community as well! +1

Sent from my ever-changing Evo.
[EVO 4G Original Development] ca1ne:
Outside of my trial and error to try to get a Wii remote to work on sense.

Is there anything else I can add to the kernel that people are looking for?

I do plan on adding the fast USB charging hopefully this weekend as well as the before mentioned additions..

My goal is to try to give the OG evo sense users all the love that aosp gets and whatever I can grab from the newer phones that will work on our phones..
[EVO 4G Original Development] mutepoint:
How about a version of underworld with stock voltages (no undervolting). Those that end up going back to the classic version might be helped with this. Just sbc alone gives me all the extra oomph I need to get through the day.

In any case, your kernels are awesome.

tapatalkin'
[EVO 4G Original Development] ca1ne:
Kind of like netarchy's nohavs, sounds good, I'll check into it
[EVO 4G Original Development] tommytomatoe:
Captain throwback

I've had that issue in three different roms using the stock kernel. The screen will freeze during an unlock. What's strange, is it happens usually in the morning when I have to turn my alarm off!

So while I don't know the underlying issue, I want to comment that's not the kernel issue. Could have to do with hardware, although I can't prove that.
[EVO 4G Original Development] pmacevad:
Whatever other governors you think would be appropriate for our phone.

Sent from my ever-changing Evo.
[EVO 4G Original Development] ca1ne:
I'll add upon request, I don't want to bulk up the kernel with unwanted/unused governors...
[EVO 4G Original Development] buckhunter:
Could prob remove a couple of the govs that nobody seems to use like interactive
[EVO 4G Original Development] Putrid Polecat:
Maybe get rid of the original smartass v1 and add the wheatly gov. I miss this kernel. Don't have time to test out lag fix.

__

HTC EVO4G • Shooter 5.5

Lionfish 1.6 • SmartassV2/SIO
[EVO 4G Original Development] bmfluitt1984:
I'm still getting some negative ma's while charging with SBC version. Running rooted stock rom and flashed using amon RA style recovery, wipe cache and dalvik before and after flashing. Thanks
[EVO 4G Original Development] buckhunter:
Are you using the phone while its charging?
[EVO 4G Original Development] bmfluitt1984:
Nope this happens overnite while I sleep and its charging
[EVO 4G Original Development] whiterider13:
I actually prefer the original smartass governor, the V2 doesn't like my phone.

Sent from my Classic EVO using Xparent Blue Tapatalk 2
[EVO 4G Original Development] nick1313:
Do you use it at all while it's plugged in? If so make sure to unplug and then replug it in after you are done.
[EVO 4G Original Development] bmfluitt1984:
I see it when I check the overnite charge history using battery widget while its still plugged in.
[EVO 4G Original Development] volk9029:
Try rebooting the phone. Also you don't need to check it while it's charging. You can look at the history later.

Sent from my lair.
[EVO 4G Original Development] pennie77:
Go to the settings of BMW and set the history update rate to one min. Or less tonight so you can get a better idea of overall charging because on default it records once every five mins so it mat be pos most of the time don't forget to set it back in the morning to five min.
[EVO 4G Original Development] bmfluitt1984:
I have it set to 1 min already.
[EVO 4G Original Development] volk9029:
Did you try rebooting the phone and charging it again to see if it works?

Sent from my lair.
[EVO 4G Original Development] pmacevad:
This is something that I found while reading over in the Mason kernel thread (original post by ropodope):

"That means it's counting backdown to -2 or 0 like it should. That's the sbc portion kicking in. You should have it plugged in for another hour after it hits 100% so that it can kick in your sbc before unplugging it."

Does that answer any questions about the negative mA's while charging after reaching 100%? Explains it for me if I'm reading all this correctly. Hope it helps. :)

Sent from my ever-changing Evo.
[EVO 4G Original Development] kluster1999:
V0.4 sbc+ running on top of CleanRom 2.0
[EVO 4G Original Development] bjohanso:
I've been enjoying using the Underworld kernel series, but have noticed that it is laggy for my setup. Specifically, I'm using MikG 3.11 with A2SD (apps on SD-Ext) partition.

I've been wondering if this specific combination is what causes the lagginess issues for some. For the others that have experienced lagginess, are you on this same ROM with A2SD?

Captain Throwback's busybox fix helped some, but didn't totally eliminate lag for me.

Yesterday I found another fix that also seemed to improve lagginess for me. Specifically, delete /system/etc/init.d/06tweaks or move it to another directory using Root Explorer, su in terminal or similar. After rebooting, everything is much snappier for me.

This file contains a bunch of tweaks by Mik (the maker of the ROM) that run at phone boot up to make things smoother with the stock kernel and make the SD card run faster. My suspicion is that one or more of these tweaks combined with my (our?) use of A2SD and the Underworld kernel cause the lagginess.

The problem is that getting rid of all of the tweaks probably gets rid of a bunch that are actually good and don't cause lag with this kernel (and probably getting rid of them increased lag). In other words, if we could figure out the exact tweaks to get rid of we could get even less lag than just deleting all of the tweaks.

Unfortunately there are about 25 tweaks in there so just trying to figure out by trial and error which are causing lag on this kernel would be a bear. Does anyone out there know enough about kernel tweaking on Android to be able to look at the script and identify specific tweaks we could try commenting out to see if they are the one causing the lag? Or, ca1ne, since you've designed the kernel, maybe if you looked at the tweaks file maybe some of them would leap out at you as likely to interfere with some of the things you've compiled into it? I'd be happy to post the 06tweaks init script somewhere (or PM it) if that would help.

In any case, for now I'm just going without all the tweaks in the 06tweaks init script (by removing it from init.d) and life is much happier and lag free on my Evo (and I still get the great battery life).
[EVO 4G Original Development] buckhunter:
Im running Mikg 3.11 and have no lag issues
[EVO 4G Original Development] DNarsingh:
Hey buck, you mind letting me know what your current setup is? I would like to give underworld another go :D
[EVO 4G Original Development] bjohanso:
Are you running A2SD with MikG, though? If "yes", then my main theory that MikG+A2SD+underworld=lag goes out the window, but it could still be some combination of Hardware, MikG, A2SD and this kernel.

What hardware version are you? I'm on 0004. If you are using A2SD, what SD card do you have for your SD-ext partition (size, class, brand)?

Just trying to narrow in on what specific combinations cause this lag that some of us are seeing.

BTW, I see the same sort of lag on the latest Lionfish kernels, so it may not be either kernel specifically, but rather one of the modules that is compiled into both of these kernels.
[EVO 4G Original Development] buckhunter:
Im run MikG 3.11, hardware 0004 intellidemand gov, iso with DT a2sd 1gb ext 3 on a Samsung 16gb class 10. I also flashed Insanemod threw Vipermod.
[EVO 4G Original Development] Putrid Polecat:
I'm not sure why I had the lag issues. Not running smurf tweaks, using latest busybox, never installed V6. When I switched to lionfish 1.6 the lag went away. Only other mods I flashed are 5x4 rosie and transparent skin.

Not running mikg though so don't know if this helps you.

__

HTC EVO4G • Shooter 5.5

Lionfish 1.6 • SmartassV2/SIO
[EVO 4G Original Development] buckhunter:
Forgot to metion Im not running V6 or Smurfed.
[EVO 4G Original Development] ca1ne:
And your on the test .5 kernel, lol.. yeah pm the tweaks file and I will see what I can do
[EVO 4G Original Development] buckhunter:
Yeah but iso and deadline ran fine for me too. ;).
[EVO 4G Original Development] landaile:
I am on MikG 3.11 and this kernel causes lag fire me also. I do not have a2sd and I have no Smurf or viper mod stuff. Lionfish is super smooth for me, but no SBC which makes me sad. I deleted the init.d boot sh as well.
[EVO 4G Original Development] mecampo:
Maybe this kernel behaves differently on hardware versions, mine is 0003 and i have lags so i tried classic instead and it seems ok with my phone.
[EVO 4G Original Development] ca1ne:
I seem to have better luck with bfq as a scheduler on mikg, I would suggest trying it out once I get the next update out... I'm debating on letting it fly as is, or add a few more things..
[EVO 4G Original Development] buckhunter:
Some on 0004 have lag too so not sure whats going on. All phones seem to react different.

---------- Post added at 09:34 PM ---------- Previous post was at 09:30 PM ----------

Add the fast charge and let it fly lol its running great ;)
[EVO 4G Original Development] volk9029:
I am on 003 hardware no lag, viperMod, undervolting by 75, no lag.

Sent from my lair.
[EVO 4G Original Development] pmacevad:
I see lag from time to time. Not currently using mikg but I get it, no matter what kernel I use with that rom. Hate to say it but maybe its something with mik's rom? Maybe the hardware? What hardware was the rom designed and tested on? Hardware 0004 here.

Sent from my ever-changing Evo.
[EVO 4G Original Development] buckhunter:
No issues here on 0004 runs great and someone posted it running good on 0003 too
[EVO 4G Original Development] beaumontcali48:
Still running v4 and its still running smooth and getting really good battery life and had no issues at all thanks for all ur hard work bro .
[EVO 4G Original Development] landaile:
I am on 004 hardware. My phone runs great on aggressive lionfish (and aggressive freedom to fort that matter).
[EVO 4G Original Development] ca1ne:
updated op with v05

BFQ Scheduler Added

OndemandX Governor Added

Swap Enabled

Fixed Hotspot for some users
[EVO 4G Original Development] volk9029:
Thank you, for still improving upon already great kernel.

Sent from my lair.
[EVO 4G Original Development] pmacevad:
Flashed and wow! So far very snappy ondemandx with sio. Can't wait to get a full charge overnight and see battery life tomorrow. Thank you for making your kernel even better!

Sent from my ever-changing Evo.
[EVO 4G Original Development] Grizraz:
Just flashed v0.5 and running great, thanks for all the had work on a great kernel!
[EVO 4G Original Development] MikeWjF:
Anyone had any luck undervolting this thing? Incredicintrol force closes on me, and system tuner doesn't display the voltages for me.

So far battery life seems pretty good as is though.
[EVO 4G Original Development] buckhunter:
You need to use this. http://vipermod.tiamat-dev.com/vipermod-voltage-control/
[EVO 4G Original Development] MikeWjF:
Thanks, wasn't sure if flashing that was essential.
[EVO 4G Original Development] Wisiwyg:
Flashed Underworld v0.2-sbc this morning. Wifi indicates error status - no changes to original boot-up Governor or I/O.

Conditions:

setup is in my signature - no other mods

Wifi was 'on' at the time of flash

Underworld v0.1 installed at the time, wiped Cache and Dalvik prior to flashing.

Will do some troubleshooting and report back.

Looking forward to getting this running - v0.1 was working pretty well!
[EVO 4G Original Development] Vyrus69:
I flashed classic yesterday and battery has been pretty good so far today, but I was really waiting for this one.

I'm not a fan of the ondemand governer and I truly prefer the smartass ones, can't wait to give it a whirl, flashing this very moment.:D
[EVO 4G Original Development] ca1ne:
Did you confirm the md5 of the download?
[EVO 4G Original Development] Wisiwyg:
Ok... flashed a different kernel and everything worked.

DL v0.2-SBC again different PC/Location - at work

Reflashed with Wifi off, wiped Cache & Dalvik before and after flashing

All seems to be working fine now. Probably as you indicated, bad download.

Thank you for your good work!
[EVO 4G Original Development] moseso:
Have been running underworld-test-SBC for most of a week with no problems -- and good performance.

Flashed v02-SBC today. Yes, I checked the md5 sum -- after download AND after moving to my SDcard. Wiped Dalvik & cache, both before and after kernel flash.

Won't even boot. Sticks on the splash screen.

Reflashed underworld-test and all is well with the world again.

Back in the netarchy toastmod days, my phone showed more-than-average sensitivity to undervolting. It didn't like any of the UV versions, so, I ran very successfully on the non-UV version with SBC. (netarchy-toastmod-4.3.2-cfs-sbc-nohavs-noUV-universal-signed)

If you get time, could you post a non-UV version of underworldv02-SBC?
[EVO 4G Original Development] beaumontcali48:
Hey been running this all day its running smooth as hell battery life is great I enjoy ur great work keep it up bud . I will check back if I run into any problems.
[EVO 4G Original Development] jboyer0000:
Running smooth for me so far
[EVO 4G Original Development] Wisiwyg:
Running since this morning's hicup. No problems so far.

SAv2, 245/768, deadline.

Just switched to noop. Will see what that does for me.

Will see what the charging is like tonight.
[EVO 4G Original Development] Chaz187:
Was gonna wait until tonight to flash the new underworld kernel.. .. I just couldn't stand it !! I flashed on my you way home from work and its going great. This is great!! After a full charge tonight I'm gonna beat on it to see how battery life is.... I know I should wait a few days, but the test version did so good right out if the box!! Love it so far!!

Thanks,

Charles
[EVO 4G Original Development] Captain_Throwback:
My device is extremely sluggish using the latest SBC version. I have the kernel flashed to MikG on one of my BootManager SD Card slots, and I'm wondering if that's the issue. I know there were some SD Read Cache adjustments made to the kernel, and I'm already using the SD Booster feature of BM, so I'm wondering if those two things are conflicting. Or maybe my device just doesn't like the undervolting. I did flash viperMod, but I haven't even been able to get to the interface yet.

v0.1 worked (and continues to work) with no problems.
[EVO 4G Original Development] mutepoint:
Ran the classic-sbc v1.0 for 8 days, no probs and smooth as butter. Best battery life ever with that 4228mv trickle charge every night.

Decided to try underworld-sbc v2.0 at noon today. Too early to report anything other than smooth install.

One note: No Frills CPU reports default I/O as Deadline and not as SIO (as stated in OP)... Easily changed, but curious none the less.

tapatalkin'
[EVO 4G Original Development] blovadova:
Been running since last night. Was a little sluggish at first but after a couple resets and some patience, low and behold it flows like water. CPU acting wonkey on first boot but changing gov seems to resolve. Thanks sir for your work
[EVO 4G Original Development] volk9029:
Running underworld 0.2 on mik 3.11 since last night. No problems,used viperMod to uv to -50, smartass v2 governor. The only difference is i am not running it from sd card. Have you tried interactivex governor?

Sent from my lair.
[EVO 4G Original Development] ReapersDeath:
Man Idk why but with apps over 20 mbs, when you try installing you get insuficiant storage. Only happens while using this kernel
[EVO 4G Original Development] Wisiwyg:
Same here... took a loooong time to boot up and was sluggish immediately afterwards - even after it did boot to lock screen, I didn't have a lock visible for another 60 sec or so, then it was unresponsive for another 60 sec or so, etc.

But, after several reboots - it comes up as usual and is responsive. But the initial slugishness and delay immediately after installation is very different from the v0.1 kernel.
[EVO 4G Original Development] beaumontcali48:
I had the same thing happen to me last night after I flashed it but after letting it sit for a min it ran smooth.
[EVO 4G Original Development] ca1ne:
I can try to boost the CPU speed on startup.. I was just testing if less reboots if I dropped it to 806 mhz.. Default stock is 768, most custom kernels have 998. Ill play around a bit more and see what I can do...
[EVO 4G Original Development] od3llinc:
Just a quick question, how does one go about changing the scheduler? I flashed v5 and It's running great with OnDemandX but don't want to be missing out on better performance if you know what I mean.. lol.
[EVO 4G Original Development] dieselford:
You're quickly proving to be our premier kernel developer! Love underworld sbc! Thanks Ca1ne
[EVO 4G Original Development] dieselford:
Use no frills CPU or rom toolbox from the market. Setcpu doesn't do i/o schedulers
[EVO 4G Original Development] od3llinc:
Perfect, thank you diesel.
[EVO 4G Original Development] dieselford:
Anytime! I am always willing to help when I can. Wish I had enough knowledge to help these great devs build roms and kernels
[EVO 4G Original Development] pmacevad:
System tuner will do it as well.

Sent from my ever-changing Evo.
[EVO 4G Original Development] beaumontcali48:
Sweet another update flashin now .
[EVO 4G Original Development] jboyer0000:
So with swap enabled in kernel does that mean you should repartition and set a swap?
[EVO 4G Original Development] ca1ne:
You don't have to, but the option is available for those who want to use it...
[EVO 4G Original Development] carp532:
quick question...do we need to set the I/O or can we just leave it as it flashed..its running great but i didnt want to leave something out if it needs to be changed...thanks carp
[EVO 4G Original Development] jboyer0000:
You don't have to change anything...it's just personal preference.
[EVO 4G Original Development] carp532:
thanks jboyer0000 for quick answer....i was pretty sure but just wanted to confirm..thanks again carp :D
[EVO 4G Original Development] Chaz187:
OK maybe a silly question but what do the I/o 's do?

Thanks,

Charles
[EVO 4G Original Development] jboyer0000:
Here's everything you could want to know about kernels http://xdaforums.com/showthread.php?t=1369817

specifically post 4 for your question
[EVO 4G Original Development] Chaz187:
Thanks I really appreciate this!

Thanks,

Charles
[EVO 4G Original Development] Putrid Polecat:
So far.5 is lag free with ondemandx. Sbc working well. :-)

__

HTC EVO4G • Shooter 5.5

??? • SmartassV2/SIO
[EVO 4G Original Development] cas8180:
What kind of quads and battery life are you guys getting? Trying to figure out what combo with ROM is going to give the best performance and battery life
[EVO 4G Original Development] jboyer0000:
I've been getting about 18 hrs of fairly heavy use...using SOS x
[EVO 4G Original Development] boombotz401:
Been running this kernal since it dropped figured id stop in to happily report not one reboot always snappy never lagged keep it up man thanks for bringing sbc to sense