yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] sparkplugDev:
So I have a couple of questions. I went to the incredikernel website and it seems to be non-operational atm and I was wondering if anyone knew what the deal was with that. I also was curious about if sense specific kernels besides stock exist/ed on the site because I would really like to include it on my ROM to perhaps make things smoother and make things work better. Also I wanted to know if anyone would be willing to help me in terms of incorporating an alternate kernel in my ROM. I am very new to the dev scene and my only means of learning has been by getting help from the community. everyone has been very helpful and I have a fairly good stock ROM that seems to have several users but I want to learn to improve things and make my ROM better so anyone's guidance would be extremely appreciated and helpful. Thanks in advance!
[Droid Incredible Android Development] rickyg946:
Read a couple of posts up.
[Droid Incredible Android Development] sparkplugDev:
haha good thing it wasn't a snake! :P thanks
[Droid Incredible Android Development] tiny4579:
Website crashed and I don't have all the kernels. Any stable kernels you guys have I can download and post to incredikernel.com.

I have some of them, at least the latest few.
[Droid Incredible Android Development] sparkplugDev:
I have HWA- Rc1, HWA- Beta1, and HWA- Beta2 if you need any of those
[Droid Incredible Android Development] tiny4579:
incredikernel.com did have some sense specific gingerbread kernels. I need to get the latest one I did. It's gingertiny-v2 and I need to post it up, hopefully this week.

I may have those but I'm looking for release kernels as I haven't posted beta/rc on incredikernel.com before and I don't plan to this time. I'll see what I have and post it. Same for the sense ones.
[Droid Incredible Android Development] tiny4579:
Some of the kernels are back up at incredikernel.com
[Droid Incredible Android Development] sparkplugDev:
so perhaps I am a dumb dumb but when I click on any of the downloads I get this error:

I also tried right clicking and going to save as... and it appeared to have downloaded but then the file was "invalid" when I tried to click on it in my downloads folder.

EDIT EDIT: Different PC didn't work...
[Droid Incredible Android Development] Stupifier:
I have the following:

2.6.35.14-gingertiny-v2-02252012.zip

2.6.35.14-gingertiny-v2-03112012.zip

2.6.38.8-incredikernel-ics-03212012.zip

Let me know if you need a specific one......and please identify WHICH one you need
[Droid Incredible Android Development] autre_pensee:
Hey tiny, I havent been here in a whilebut I did flash the rc1 over the beta2 a couple of weeks ago and what a difference it made!!!

Much less random reboots and not one single charger related reboot!!! It feels more stable and I now feel like I have a fully operational ICS release.

Thank you for your work and dedication!! You guys are great!
[Droid Incredible Android Development] tiny4579:
Just the 2/25 from this list.
[Droid Incredible Android Development] tiny4579:
Rc1 is old. Use the latest ICS kernel from the site listed in the op.
[Droid Incredible Android Development] bobAbooE:
I have gingertiny 101511, 02252012, 3112012.

Seems they have been posted, didn't read before posting.

Found one few more, 2.6.38.8-incredikernel-gb-11272011,
[Droid Incredible Android Development] tiny4579:
022512 hasn't been posted yet. Cool about the gb one.
[Droid Incredible Android Development] bobAbooE:
I stink at using dropbox but I will upload them to that. Hope it works, if not, enjoy the random pics of my kids.

Threw a few others in that I had just in case. https://www.dropbox.com/sh/rv783gbi3n0p9ci/2RzfJ30M_S
[Droid Incredible Android Development] omniatic:
Here's the eight I had lying around. Hope they help.

https://www.dropbox.com/sh/r6wqe7b59uc66jq/-MAHhi3NVK
[Droid Incredible Android Development] tiny4579:
Thanks guys. I've uploaded them now. It feels like the site is alive again.
[Droid Incredible Android Development] thevoiceless:
Tiny, would you be able to clarify what this bullet point means?

I ask because I'm running mamarley's Linaro build of CM9 with the 8/7 version of your kernel, and I'm getting a persistent "Data usage warning" notification because I've used ~2GB of data. However, the Data Usage page in the settings does not have the checkbox to enable/disable a hard limit, nor does it have the sliders on the graph for those limits. All I can do is view usage by date.

When I open the Data usage page, it looks almost like the option to set a hard data limit is being hidden. I don't know if you've seen it, but imagine Jquery's "slide up" animation. The graph and everything below it seem to slide up to fill the space that would otherwise be occupied by that option, and it happens too fast to even see what's there. The only reason I know that's where the option is supposed to be is because I've seen screenshots of the Data Usage menu.

If I open the menu (pressing the menu button) and try to enable the checkbox to use a hard data limit, it tells me I can't because I haven't set one. I guess that means that my data won't be shut off, but the persistent notification is really annoying.

I can post screenshots if that will help. Someone in the Linaro thread said that they think it might have to do with the kernel, which is why I'm posting here.

Any advice?
[Droid Incredible Android Development] mamarley:
Probably the best option would be to diff the defconfigs for my kernel and Incredikernel and see what netfilter stuff is different.
[Droid Incredible Android Development] thevoiceless:
I know most of what that means, except what defconfigs are and what "netfilter stuff" is.

Edit: Attached screenshots
[Droid Incredible Android Development] mamarley:
That post was really intended for Tiny. Defconfigs are the default configuration files for the kernel. Netfilter is the kernel framework that does a bunch of cool stuff with the Internet connection to make some of Android's features work properly.
[Droid Incredible Android Development] Stupifier:
Here you go:

https://www.dropbox.com/s/mafddd296lq0d51/2.6.35.14-gingertiny-v2-02252012.zip
[Droid Incredible Android Development] tiny4579:
I actually posted it on the website already. Check the website for the ones I have.
[Droid Incredible Android Development] tiny4579:
Looking at this right now. I was able to enable everything but NETFILTER_XT_MATCH_QUOTA2 and NETFILTER_XT_MATCH_QUOTA2_LOG.

Ok, so I found the commits from evervolv's kernel to enable QUOTA2. That should take care of the issue. Building and testing now.
[Droid Incredible Android Development] mamarley:
Yeah, those two were tricky. I had to work my way up through several levels of dependencies before I could get them enabled.

Here is the commit where I enabled them; that might help: https://github.com/mamarley/android_kernel_htc_qsd8k/commit/1f7ae0e01f9427bfd3b743bc774f2b6a8783895e
[Droid Incredible Android Development] tiny4579:
Actually I figured it out. All the dependencies were satisfied when I had previously enabled qtaguid. The kernel just didn't have the quota2 module built in. Know what TCPMSS is for? I looked in the config but it didn't make much sense. I enabled it as you had it enabled in yours. They're enabled but make no difference for me. It also may be because my phone won't connect to 3g due to being deactivated.

Can someone try this test kernel and let me know if they can set data usage on incredikernel?

(Link removed in favor of exp2 on next page)

It also has KSM enabled as a bonus feature.
[Droid Incredible Android Development] mamarley:
I'm not quite sure what TCPMSS is for, but I was looking at a logcat and found that it complained about TCPMSS not being available when WiFi tethering was turned on, so I added it to the config.
[Droid Incredible Android Development] thevoiceless:
I'll try it on about an hour, I'm on my way to work at the moment.

What is KSM?
[Droid Incredible Android Development] mamarley:
Kernel Samepage Merging. It scans memory for areas that have the same data and then "combines" them to save RAM.

Note that even though KSM is enabled in the kernel config, it still must be enabled in the CM performance menu to actually take effect.
[Droid Incredible Android Development] tiny4579:
Yeah, looks that way. I made a change in the ksm.c file to have KSM running by default but it appears that CM sets it to off explicitly so it has to be enabled in performance anyway. I know the change works as I made the change in my sense kernel and /sys/kernel/mm/ksm/run was set to 1 once I did that without any init.d scripts needed.
[Droid Incredible Android Development] boomn:
Did your last GB-compatible kernel have any sort of built-in audio boost? It seems like, at least in this quiet office setting where I am right now, I can't get the audio low enough through any player and the last step jumps from still a bit too loud to completely off. I haven't used headphones with my Inc much before this week so maybe it's always been like that and I never noticed. I'm on a business trip so I can't test other roms and kernels to investigate for myself at the moment.
[Droid Incredible Android Development] omniatic:
Kernel world great, KSM enabled, but still find no way to set data limit.

Checked all settings but found no option for it.

sorry...I was on the phone...
[Droid Incredible Android Development] tiny4579:
The audio boost is only for calls. By default I disabled it in my sense kernel but it still may be on in this AOSP kernel. You can use incredicontrol (adfree) to control this and voltage and governor settings as well as enable/disable USB fastcharge.
[Droid Incredible Android Development] tiny4579:
So it's not the fact I have no data connection. Will have to look deeper. I also want to add support to this kernel for jellybean when JB matures more.
[Droid Incredible Android Development] thevoiceless:
Same result here.
[Droid Incredible Android Development] tiny4579:
Thanks. This one will most likely be tagged as a release unless I find any more cool features to add. mamarley, can you think of any?

The mobile data warning can be adjusted and shows up now and limit can be enabled.

2.6.38.8-incredikernel-ics-hwa-aug-exp2.zip - 2.49 MB

mamarley, what I did was another diff between my config and yours and enabled all the netfilter related stuff that was missing from mine. I also had the wrong TCPMSS (TCPMSS match and not target).
[Droid Incredible Android Development] mamarley:
You could merge my USB Fast Charge patch. It causes changes to the fast charge setting to be applied immediately instead of the next time the charger is plugged in.

https://github.com/mamarley/android_kernel_htc_qsd8k/commit/4c26388474210af09d32e18188b137872bdf8ac5
[Droid Incredible Android Development] tiny4579:
My concern is that the sysfs value for enabled/disabled is ignored but looking at the patch it isn't so that's good. If you can confirm that the patch does not force fast charge USB on all the time, I don't see the harm applying this to both kernels and maybe even the gingerbread branch.
[Droid Incredible Android Development] thevoiceless:
Confirmed, this works!

I do have one other question: Is the ability to tether related to the kernel? I ask because on yours and mamarley's kernel, I'm only able to set up ad-hoc networks for tethering. This isn't really a problem except that I'm limited to WEP security and that my Touchpad running CM9 can't see/connect to ad-hoc networks.
[Droid Incredible Android Development] omniatic:
...and the villagers rejoice! I can even set the data cycle, now!

Thanks++ to all

sorry...I was on the phone...
[Droid Incredible Android Development] mamarley:
The sysfs setting is still respected. When the charger is plugged, the set_charger_ctrl() function is called with ENABLE_SLOW_CHARGE or ENABLE_FAST_CHARGE depending on whether the phone was plugged into a computer or a wall charger, respectively. For the SLOW_CHARGE case, the function I added (smb329_charger_enable()) is called with the value from sysfs, which controls whether it goes to slow or fast charge mode.

The functionality there isn't really any different; I just refactored the code that actually enables the charging into its own function so that I could call it more easily while reducing code duplication. The only change in functionality is between lines 305 and 307, where it applies the charge setting as soon as the sysfs value is updated. I also had to add a global variable to keep track of which mode the charger is in so it knows not to disable fast charging if it is plugged into a wall charger and 0 is echoed to sysfs.
[Droid Incredible Android Development] tiny4579:
New release out!

Updating OP now with changes. Keep in mind that I filtered the downloads section at incredikernel.com to reference GB instead of ICS for the GB+ICS kernels as they have limited ICS support (the only thing is that touch works and none of the other features like data usage will work).

Jellybean possibly in the future depending on how I feel and how stable jellybean is at this point. If people are not getting a lot of reboots on jellybean with stock kernel I may look into it.

Also, please check out the OP again as I've made some naming convention changes on the non-HWA kernels as they're basically GB with limited ICS support so I'm calling them GB kernels on the site but still calling them ICS on the OP but I might change it over to GB and ICS separately.
[Droid Incredible Android Development] thevoiceless:
Are the md5's posted anywhere on your site?
[Droid Incredible Android Development] tiny4579:
No. But if it boots, it's fine. Unlike ROMs where individual files can get corrupted and the ROM could still boot, with a kernel there are two binary files and if it's corrupt it will likely not boot at all. Plus the files are so small that corruption will rarely ever occur.
[Droid Incredible Android Development] mh0520:
Only reboots I've had were during video playback. That seems to be resolved, though.

Jelly bean seems remarkably stable, especially compared to early ICS roms. A good CM10 build plus incredikernel would be excellent.
[Droid Incredible Android Development] tiny4579:
8/11/12 GB release has KSM being enabled as it should. If you run the ICS HWA kernel there is no update for you and KSM is working fine there. Config change was made to enable KSM but it wasn't propagated in the build somehow.
[Droid Incredible Android Development] tiny4579:
I'll just leave this here...

incredikernel-jb-beta1.zip - 2.63 MB
[Droid Incredible Android Development] tiny4579:
So, anyone want to try this on ICS to see how it works? I didn't test on ICS yet as it probably should only run on JB; however, I think it'd be cool to maintain one kernel for ICS and JB instead of building two. I'm not expecting anyone to do this, but if they do they should either make a backup or have a spare ICS kernel on their sdcard to flash if it boots without the screen working.

Ok, so wifi won't work on ICS due to the new wifi drivers but with the updated genlock code, I'm wondering if it will run smoother at all on ICS.
[Droid Incredible Android Development] mamarley:
When was the code updated? I have been keeping an eye on Evervolv's kernel github for changes, but I haven't seen much of anything.
[Droid Incredible Android Development] tiny4579:
I'm not sure about the genlock code as I didn't really cherry-pick it, rather I copied the .c and .h straight from a synced copy of their source, but the wifi driver changes were done mid-July. In fact most of the changes they did were in mid to late July. I didn't need to pull their HAVS code as I already had it built into mine with sysfs support but I might look at the updates made and see if they're worth it or look good.

I saw they tried to pull interactive updates but interactive doesn't work right on theirs either.

Edit: Hmm, wonder if BFQ-v4 is worth backporting. I'm not sure how I even patched v3 but it may be more of a headache than it's worth but v4 promises good high throughput on SSDs without losing low-latency guarantees. Since the memory on the device is similar to SSD except slower - both excel in random I/O - maybe BFQ v4 is worth it.
[Droid Incredible Android Development] thisguy23:
Bfg would be great if it improved speeds.
[Droid Incredible Android Development] Stupifier:
http://www.incredikernel.com/ seems to be down again.

UPDATE: Working now.
[Droid Incredible Android Development] tiny4579:
I don't know if Chad saw my PM or it was just a fluke. Either way I saw that it's up. Thanks for pointing on the problem earlier.
[Droid Incredible Android Development] normanx:
What is the best kernel to run on CM7.2 ? I think ics is but you never know these days.
[Droid Incredible Android Development] sweeds:
CM7 is GB, isn't it? You probably want the GB Kernel...

Sent from my CM10 KF w/ Tapatalk
[Droid Incredible Android Development] tiny4579:
The latest in the Gingerbread (AOSP) kernels list on incredikernel.com. The ICS kernels there have changes that break gingerbread compatibility and they're only for ICS ROMs that support hardware acceleration (HWA).
[Droid Incredible Android Development] thevoiceless:
I'd just like to say that I successfully used Google Navigation on mamarley's Linaro ROM without the phone freezing and requiring a battery pull, which happened consistently when using Navigation with mamarley's kernel.
[Droid Incredible Android Development] jpzsports:
This is in reply to the post above in the CM10 thread regarding tiny's JB kernel.

Sure, I'll be happy to post both. I still haven't had any reboots on the stock kernel, but as I said, the lag is horrible compared to your kernel, so I'll flash your kernel. So do I just get a last_kmsg and logcat right after my phone reboots? Sorry, I haven't done this before. Is this thread good to go by?

http://xdaforums.com/showthread.php?t=1520508

Thanks
[Droid Incredible Android Development] Pons:
Yep, that post is good. The only thing is I'd post it to pastebin rather than the thread.
[Droid Incredible Android Development] tiny4579:
New jellybean beta!

Most noticeable changes are wifi driver updates, lowmemorykiller updates, and a couple scheduler optimizations (deadline also has a small tweak).

incredikernel-jb-beta2.zip - 2.63 MB

I basically wanted to merge in the major changes from the evervolv kernel since my last build.
[Droid Incredible Android Development] Albinoman:
Its working great.
[Droid Incredible Android Development] tmoney468:
Thanks, will flash and test it out!
[Droid Incredible Android Development] jpzsports:
Ok, so my phone had a random reboot today using CM10 and the new beta2 kernel. When it reboots, it goes directly into the dim boot animation. So since there's no incredible screen I figured there's no reason to get a last_kmsg according to what you said. So I go a logcat. Hopefully I did it right. First time doing it - used aLogCat. Here it is:

http://pastebin.com/EQr6pZ78

Thanks
[Droid Incredible Android Development] tiny4579:
Hmm, don't see any weird reboot-related errors in there. Try rebooting to clear the logcats and use adb to pull the logcat as soon as you can after the next soft boot. You can actually pull kmsg from /proc after a soft boot as that log updates until a full reboot whether manual or due to an issue and flushes to last_kmsg. Both are cleared on a shutdown.
[Droid Incredible Android Development] jpzsports:
Different type of reboot today. Rather than the random reboot I usually get, this time my phone rebooted after I sent a sms and it went to the Droid Incredible screen and booted back up without needing a battery pull. I'm not sure if these two types of reboots are related or not, but I immediately did a last_ksmg and catlog when my phone rebooted. Here they are:

logcats: http://pastebin.com/NDGabG6T

last_kmsg: http://pastebin.com/qeiEMgV0

And then this evening, I got one of the traditional reboots. Random timing, while phone was in my pocket, and required a battery pull. Here's the logcat: http://pastebin.com/AhNKsA0W

Hope these help.

Thanks for everything!
[Droid Incredible Android Development] Stupifier:
Just thought its worth saying......I'm a happy user of your JB beta Kernel Tiny. Thanks for the great work. No real issues for me and I'm 2 days into CM10.
[Droid Incredible Android Development] tiny4579:
I don't see anything of note related to a reboot in any of the logs posted. I'm not sure what to say here other than the usual maker sure you're not overclocked or using undervolts outside of what is built into the kernel.
[Droid Incredible Android Development] jpzsports:
There's probably no note related to a reboot since you said that the logs get cleared on a full reboot. Everytime I get one of these reboots, they freeze at the boot animation and I have to pull the battery to boot it back up again. Is there any way to get a last_kmsg or logcat to not get cleared on reboot?
[Droid Incredible Android Development] tiny4579:
If you have to battery pull no there's not a way. Logcat will clear after a full reboot but not a soft reboot with just the ROM boot animation. Last_kmsg doesn't get updated until you get a full reboot. Both are wiped with a battery pull.
[Droid Incredible Android Development] Shano56:
So would the only way to get a log is to happen to have a logcat recording while the reboot happens? Is there a watchdog to reset the phone incase of a freeze?
[Droid Incredible Android Development] tiny4579:
It should reboot after a freeze. If it's the hard boot to the incredible logo then a logcat is useless but last_kmsg is ideal. If it's a soft boot to the ROM then a logcat may be best. If the battery has to be pulled neither will help as both will reset.

Keep in mind logcat and last_kmsg are two different logs. Last_kmsg covers what leads to a reboot whether normal or not. Logcat covers the android system and may show a watchdog soft reboot.
[Droid Incredible Android Development] Shano56:
So would the normal

adb logcat > logcat.txt

suffice in such an occurance? Or is there a better way?
[Droid Incredible Android Development] tiny4579:
Quick change with modified ondemand governor with boostpulse support. I may need to change defaults in sysfs but that's what beta4 will be for :)

For this one please don't change the governor from ondemand and if it is something else please change to ondemand. I want to get a feel for how the above change helps.

incredikernel-jb-beta3.zip - 2.77 MB
[Droid Incredible Android Development] NYZack:
This is probably a more appropriate thread (than Albinoman's) to use to talk about this. I uninstalled beta3 and reinstalled beta2. I couldn't see an improvement with ondemand on beta3 over smartassv2 on beta2, and in fact it seemed a bit slower, even with the boostfreq change you suggested. By the way, when I reflashed beta2, I didn't have the eternal white screen on boot that I noted when I flashed beta3 (on two occasions).
[Droid Incredible Android Development] tiny4579:
Just curious how ondemand is on beta2. I want to see if the changes in beta 3 made it worse. Can you test?
[Droid Incredible Android Development] jacobsensei:
All govs on beta2 seemed good, including ondemand, I like lazy.

Tried beta3 yesterday, slow on all govs, stuttering.

Thanks, for your kernels been using them since gingerbread.

Looking forward to your next beta.

Sent from my HTC Droid Incredible
[Droid Incredible Android Development] tiny4579:
I'll have to take a look at the changes for beta 3. The only change that could affect performance was only for ondemand. There's a chance that others are affected since I did modify cpufreq a bit. And to the person who posted beta 1 was faster than beta2 it doesn't make sense as the only big change was a WiFi driver update which wouldn't affect performance but could affect stability. I don't know enough about it as I can't chase down ROM threads for kernel related issues.