yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] tiny4579:
Since the reboot I'm seeing is a soft reboot and not to the inc screen (yes I got a charger freeze) and due to the logcat below I'm not sure the issue is kernel related at all:

Curious if those who are getting charger related freezes/reboots have the following error in their logcat when it freezes:

F/BatteryStatsImpl( 1336): problem reading network stats
F/BatteryStatsImpl( 1336): java.lang.IllegalStateException: problem parsing idx 1
F/BatteryStatsImpl( 1336):	at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:300)
F/BatteryStatsImpl( 1336):	at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:250)
F/BatteryStatsImpl( 1336):	at com.android.internal.os.BatteryStatsImpl.getNetworkStatsDetailGroupedByUid(BatteryStatsImpl.java:5734)
F/BatteryStatsImpl( 1336):	at com.android.internal.os.BatteryStatsImpl.doUnplugLocked(BatteryStatsImpl.java:1418)
F/BatteryStatsImpl( 1336):	at com.android.internal.os.BatteryStatsImpl.setOnBatteryLocked(BatteryStatsImpl.java:4335)
F/BatteryStatsImpl( 1336):	at com.android.internal.os.BatteryStatsImpl.setBatteryState(BatteryStatsImpl.java:4394)
F/BatteryStatsImpl( 1336):	at com.android.server.am.BatteryStatsService.setBatteryState(BatteryStatsService.java:434)
F/BatteryStatsImpl( 1336):	at com.android.server.BatteryService.processValues(BatteryService.java:267)
F/BatteryStatsImpl( 1336):	at com.android.server.BatteryService.update(BatteryService.java:249)
F/BatteryStatsImpl( 1336):	at com.android.server.BatteryService.access$000(BatteryService.java:73)
F/BatteryStatsImpl( 1336):	at com.android.server.BatteryService$1.onUEvent(BatteryService.java:197)
F/BatteryStatsImpl( 1336):	at android.os.UEventObserver$UEventThread.run(UEventObserver.java:108)
F/BatteryStatsImpl( 1336): Caused by: java.io.FileNotFoundException: /proc/net/xt_qtaguid/stats: open failed: ENOENT (No such file or directory)
F/BatteryStatsImpl( 1336):	at libcore.io.IoBridge.open(IoBridge.java:406)
F/BatteryStatsImpl( 1336):	at java.io.FileInputStream.<init>(FileInputStream.java:78)
F/BatteryStatsImpl( 1336):	at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:269)
F/BatteryStatsImpl( 1336):	... 11 more
F/BatteryStatsImpl( 1336): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
F/BatteryStatsImpl( 1336):	at libcore.io.Posix.open(Native Method)
F/BatteryStatsImpl( 1336):	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
F/BatteryStatsImpl( 1336):	at libcore.io.IoBridge.open(IoBridge.java:390)
F/BatteryStatsImpl( 1336):	... 13 more
[Droid Incredible Android Development] tiny4579:
Hopefully this kernel build fixes the freezing many were experiencing. I cannot recreate the freeze problem on a ROM I was testing whereas I could fairly easily on an earlier build.

https://dl.dropbox.com/u/31805083/incredikernel-ics-hwa-rc1.zip
[Droid Incredible Android Development] polarimetric:
Out of curiosity, what was changed?
[Droid Incredible Android Development] tiny4579:
I hope you'll be fine with the short version but the main part is an addition of support for network statistics which will correct the below error and hopefully reduce freezing and reboots:

BatteryStatsImpl( 1336): Caused by: java.io.FileNotFoundException: /proc/net/xt_qtaguid/stats: open failed: ENOENT (No such file or directory)

Less major are that it's compiled with -03 optimization (may make no difference) and intellidemand governor were added back in.
[Droid Incredible Android Development] polarimetric:
Makes sense. Running it now, will let you know if I run into any charger-related freezes.

Flashing back to Incredikernel reminded me of one thing I always appreciated--on the stock kernel, the screen always jitters before it turns off (it fades first and then turns off about a half-second later), but Incredikernel turns the screen off immediately with no lag. A minor detail, but one I've always noticed and liked.
[Droid Incredible Android Development] mamarley:
invisiblek and I were experimenting with kernel -O levels and we found that -O2 and -Os actually produces somewhat better performance than -O3.

When I was playing around with the various optimization levels, I discovered that a kernel build with -O3 and "CONFIG_CC_OPTIMIZE_FOR_SIZE" turned off would not boot. That configuration flag forces the kernel to compile with -Os despite the regular optimization flag. This means that invisiblek's first -O3 kernel wasn't actually -O3, but was just -Os like before.

invisiblek then tried removing the #ifdef that controls whether to use -O2/-O3 or -Os and built a kernel that had "CONFIG_CC_OPTIMIZE_FOR_SIZE" enabled but was still compiled with -O3 because of the removed #ifdef. This kernel booted, but benchmarked a good bit below the regular -O2 or -Os.
[Droid Incredible Android Development] tiny4579:
Thanks I'll keep it in mind. I think I'll just revert it if it isn't worth it. What is your opinion of linaro as I tried the linaro toolchain and it seemed to make no difference either?
[Droid Incredible Android Development] mamarley:
In my experience, the Linaro toolchain doesn't noticeably change performance and provides marginally better benchmark results. I use it just for the sake of staying up-to-date.
[Droid Incredible Android Development] tiny4579:
Ok, that's what I was noticing and decided recently to revert the commits that allowed linaro GCC 4.7 and stick with the prebuilt toolchain from AOSP.
[Droid Incredible Android Development] omniatic:
RC1 works for me...works real nice.

Thanks Tiny. Nice job.

sorry...I was on the phone...
[Droid Incredible Android Development] mcflyrk01:
same here - no freezes so far! thanks, tiny!
[Droid Incredible Android Development] hazell222:
I have no freezes either so far, but I charged my phone last night, or rather I tried to charge it, but it only went up 40% in 5 hours. Slow! Any reason it's charging slow?
[Droid Incredible Android Development] mamarley:
If you enable fast charge while the phone is plugged in, it won't take effect until you unplug it and plug it back in. So if your phone was booted while it was on the charger, that would explain the slow charging.
[Droid Incredible Android Development] tiny4579:
Fast charge is definitely there and I confirmed it was built into the kernel. What are you charging with? USB or wall? Some wall chargers don't get recognized as a wall charger and charge like a USB device which is slower, you can get around that by enabling fast charge.
[Droid Incredible Android Development] hazell222:
That reminds me I never enabled force fast charge.

I'm actually charging with an iPad charger, so I know I have plenty of juice. Maybe enabling force fast charge through incredicontrol will help. Thanks!
[Droid Incredible Android Development] tiny4579:
Yeah it's worth a try if for some reason the kernel doesn't recognize your charger as AC and limits current to 500ma.
[Droid Incredible Android Development] omniatic:
Another feature: It even reports my data and wifi usage now. Been missing that for a while, good to see it back.

sorry...I was on the phone...
[Droid Incredible Android Development] bobAbooE:
Thanks for your continued work Tiny.
[Droid Incredible Android Development] tiny4579:
That was what the fix actually did and hopefully it will be stable now. If not I may be a sad Tiny :(
[Droid Incredible Android Development] rick311:
is fast charge not enabled by default? if not how do i enable it?

What were the default settings in the beta 1 and 2? fast charge enabled?
[Droid Incredible Android Development] tiny4579:
Fast charge has never been enabled by default. Download incredicontrol (there is a free version on market) to enable fast charge.

I like fast charge but chad says it's not wise to enable it for USB ports that don't provide enough power (like built in ports on a computer). If you have a USB 3.0 port it should provide enough current.
[Droid Incredible Android Development] rick311:
I'm fine without it. It charges pretty quickly in the first place. Just wanted to make sure. Thanks!
[Droid Incredible Android Development] tiny4579:
Ok, need to clarify. Fast charge on USB is disabled by default but fast charge on AC adapter (normally off on stock CM7 kernel) is always on. That is likely why you are seeing fast charging with the setting off.
[Droid Incredible Android Development] drahcir0789:
Is it just me or do some people get some lag after wake up with SA2 being set and having 128 mhZ as the minimum? It takes like 5 secs for me before it seems to really kick in and have those small lags go away. This is for rc1 hwa.

It doesn't happen though when I raise it to 245.
[Droid Incredible Android Development] enomele:
Holy crap never new that about the stock CM7 kernel. That makes a lot of sense now. What originally put me off on CM7 was pretty much that. Never really gave it a chance really until Chad released his AOSP kernel. I was a big fan of rmk40, adrynalyne and ihtfp69 back in the froyo days.
[Droid Incredible Android Development] dacmcbibs:
FYI - I installed this yesterday, so far so good!

Thanks for your continued efforts and supports to bring us a robust and stable kernel
[Droid Incredible Android Development] tiny4579:
Thanks for the good reports on RC1. I think it's ready for release but I really wanted to add a neat feature. If any of the other kernel devs are interested, I'm trying to backport the interactive governor from ICS/JB Gnex kernel as it should be a lot better than the current interactive and maybe it's variants. The problem is, I backported it just fine but the governor won't scale and just stay locked into the current frequency which makes it rather useless and basically a performance governor.

Kernel devs if you're interested in working with me on this, please PM me.
[Droid Incredible Android Development] taihard:
Is it just me or is the incredikernel website down? Any mirrors so I can download the 3/21 kernel??
[Droid Incredible Android Development] normanx:
I may have missed something a few posts back but why does this still show up as hwa2 and not rc1 ? Just curious.
[Droid Incredible Android Development] tiny4579:
I didn't change the version string in the kernel. I'll probably make that hwa3 as the initial hwa supported kernel was hwa2 and I've updated drivers since then.
[Droid Incredible Android Development] SlimSnoopOS:
Random piece of info, I have had no charger related lockups using RC1 kernel on CM9 nightlies.

Enjoy your Fourth of July.
[Droid Incredible Android Development] tiny4579:
Random piece of info. Thank you very much.
[Droid Incredible Android Development] normanx:
Me either.... smooth
[Droid Incredible Android Development] platinumrims:
I also haven't been able to get on their site
[Droid Incredible Android Development] SlimSnoopOS:
It works now, the site loaded fine using Dolphin browser just now. Also, if you're looking for ICS RC1 with HWA, here it is from Tiny
[Droid Incredible Android Development] platinumrims:
Still not working on my end.. Not on chrome mozilla or dolphin lol. :confused:

I'm looking for whichever one works best on cm7
[Droid Incredible Android Development] SlimSnoopOS:
Idk why it's not loading for you, that's fairly odd. I just opened up Incredikernel in Chrome (on pc) and Dolphin (on my Inc) just fine. If you manage to get the site to load, I believe March 21st kernel is the latest AOSP GB download.

You may have to pm Tiny for a temporary alternate link.
[Droid Incredible Android Development] platinumrims:
It's super weird I don't understand what's going on... Everything just times out or says could not connect. I wonder if he banned me? Lol?
[Droid Incredible Android Development] OMG_VTEC:
i tried loading this on cm9 (nightlies) and it would hang up after the white incredible screen. went to a black screen and nothing further. 15 minutes i battery pulled and put invisiblek s back on...

any ideas??
[Droid Incredible Android Development] jlokos:
It could have been a bad DL; I would try it again. I've never had a problem with any incredikernels.
[Droid Incredible Android Development] OMG_VTEC:
i tried a new download, same thing...trying a computer download and gonna see what happens
[Droid Incredible Android Development] withbloodskies:
Non-HWA lol, this will not work.

Only for early ICS and Newer GB, old too I guess..

You need Invisibleks or Marmaleys kernels.
[Droid Incredible Android Development] statusqu0:
I'm on the 7/5 CM9 Nightly. Haven't messed with kernels before. To install the latest RC1 kernel, just wipe cache and dalvik, then install zip from sd card in CWM? Sorry I'm learning :/ what will I gain running this kernel?
[Droid Incredible Android Development] OMG_VTEC:
well that makes sense then...lol

any plans to get one going that will work with ics???

ive had awesome luck with you guys so that would rock
[Droid Incredible Android Development] mamarley:
You could also try the -RC1 HWA Incredikernel. I don't know why, but that one isn't listed in the OP.

By the way, I just updated the USB Fast Charge implementation on my kernel so that it isn't necessary to unplug and replug the power cable to apply the changes after changing the setting.
[Droid Incredible Android Development] Shano56:
You will gain the features included in the kernel. the ROM you flashed already has a kernel in it, so you don't have to flash a kernel. If the ROM is working fine for you, no need to flash another kernel
[Droid Incredible Android Development] tiny4579:
I plan to make a release soon and I don't put anything but releases in the op. As for the incredikernel.com being down I can pm chad to check it out
[Droid Incredible Android Development] tiny4579:
Incredikernel hwa rc1 works with ICS. Which were you flashing on cm9?
[Droid Incredible Android Development] jlokos:
+1; I've used it on CM9 with no issues since it came out. Also using it now on Abduction 4th kind. It works great.
[Droid Incredible Android Development] OMG_VTEC:
i was using the one at the top of the website(incredikernel); which worked fine from stock browser, dolphin and computer(crome)
[Droid Incredible Android Development] tiny4579:
The released kernels are only for GB and ICS Roms that don't have hwa support which is basically only older ics Roms. Current ICS Roms only work with hwa kernels and hwa rc1 is the best ics hwa incredikernel.
[Droid Incredible Android Development] OMG_VTEC:
which one is the rc??? i dont see anything that specifies its a release
[Droid Incredible Android Development] SlimSnoopOS:
In this very thread:
[Droid Incredible Android Development] tiny4579:
OP updated. Enjoy. I don't expect any issues as this is RC1 but let me know. The latest one is ICS only so please don't run on GB unless you want to have issues.

Still looking into the jellybean interactive governor, may see if I can just pull the input boost as a sysfs parameter to improve performance.
[Droid Incredible Android Development] mamarley:
I think something similar to this was already merged into the Evervolv kernel. https://github.com/Evervolv/android_kernel_htc_qsd8k/commit/e796747a6d9cf4c6232bb9fb1f019e8e9ff734c8
[Droid Incredible Android Development] omniatic:
Strange...I can't seem to get to the Incredikernel website either on the phone or PC. I assume this is the same RC1 from 6/28, right?

sorry...I was on the phone...
[Droid Incredible Android Development] Pons:
Incredikernel.com works for me, but the latest release I see is 0321 which is an old one, obviously.
[Droid Incredible Android Development] tiny4579:
It's been fixed. The new release is up now.
[Droid Incredible Android Development] omniatic:
Got it...flashed it...love it.

Thanks for keeping the Inc running smooth and trouble free.

sorry...I was on the phone...
[Droid Incredible Android Development] tiny4579:
How's the kernel going for people? It's quiet. That's a good thing. I have updates I want to do to get input boost but if there's little interest I don't want to stress myself over that feature. Plus I still don't have any help on adding that feature or updating the kernel to 3.0 which I only want to do if the jellybean interactive governor can't be backported.

Somehow I missed this post until today. I looked it over. It's not that similar to input boost. Input boost from what I understand increases the speed upon registering input on the touchscreen. mFreq is basically turning your interactive governor into a performance governor which you can force by increasing the minimum speed.
[Droid Incredible Android Development] Shano56:
This kernel was kick ass! If you bring any cool new features i will switch back. Input boost would be much appreciated! I'm currently testing the kang3 to see if the linaro optimizations help any, but may switch back. Please bring new features :D
[Droid Incredible Android Development] tiny4579:
I tried the linaro toolchain with the kernel and it didn't seem to make a difference in the kernel side of things. You can flash my kernel with the linaro CM9 build. No problem. I did. All linaro means on the kernel side is a different toolchain.
[Droid Incredible Android Development] ert342:
Anything that'll keep my Dinc getting closer to faster ICS or JB and delaying me upgrading my phone is incredibly (hahah) appreciated!
[Droid Incredible Android Development] tiny4579:
Well then maybe I won't do anything so you have to upgrade mwahahaha.

Seriously, you should upgrade. I love my Galaxy Nexus but there are so many lemons (poorly built phones) but being officially AOSP supported or supported with much less work is awesome.

I'll see what I can do though. I can't promise anything. This time I mean it and not just to avoid getting your hopes up. On my skill level alone I'm not sure if I can manage it. It just feels like a lot of work though for a phone I barely use and an Android version that I don't even run on my main anymore. But I've wanted to do this before and got discouraged and gave up. However, I'm more interested in it this time hoping for a performance breakthrough (and maybe a small battery life hit) with the configurable input boost options in the interactive governor. Recent ICS ROMs are quite smooth so I'm hoping this will make it even better.
[Droid Incredible Android Development] withbloodskies:
Tiny, all of us in the DInc forums are glad your still around. You've helped a ton after a major loss in devs, I for one am glad your still here supporting this little runt.
[Droid Incredible Android Development] SlimSnoopOS:
RC1 kernel has been awesome for me as well Tiny. I think we've been quiet cuz its been working as good as it could be.
[Droid Incredible Android Development] ert342:
You are an evil man. Kidding aside the real reason I'm procrastinating my upgrade is that they will kick me off of my $15/150MB data plan which although not much, saves me a ton of money. You've already done so much for this phone and this community and it's all voluntary icing on the cake so whatever you decide, and I'm going to speak for the whole community here, it's fine either way.
[Droid Incredible Android Development] Shano56:
oh awesome! thats great to know, thanks! In that case, if you can add these features, I, and every other ICS user on the INC will be grateful. I will say many thanks, and you will have a warm feeling in your heart :D I understand that it's a daunting task, so if you can't do it it's completely understandable and no one will hold it against you. If you can do it and it will just take you a while or you just dont wanna devote all the time at once, you can take all the time you need no hurries. I just want you to know, whether you can do it or not, we all appreciate your hard free given work, and I am going to try sending a few bucks for some beer money for you once I catch up on some bills and finish paying my school fees. Rock on man.
[Droid Incredible Android Development] tiny4579:
Hello all,

So I had a reply from a PM from one of the kernel devs on the galaxy nexus. He said that the upgrade from 2.x to 3.x would be nearly impossible and may lead to instability however he was talking about the gnex (which never had a 2.x kernel) so I asked for clarification. Needless to say I may give up on 3.x but I'd still like to backport the interactive governor with input boost. Hopefully he'll have some ideas.
[Droid Incredible Android Development] mamarley:
I am not sure whether that is true or not. The difference between 2.x and 3.x is really only a minor difference. If Linus hadn't decided to call 3.0.0 what he did, then it just would have been 2.6.40.
[Droid Incredible Android Development] tiny4579:
However, it's possible there's custom cpufreq code for android in 3.x (at least for the android branch) that would need to be backported to get this interactive governor working.
[Droid Incredible Android Development] ert342:
tiny, when HTC eventually releases kernel source for the Desire V that could help with your attempt to make a 3.0 kernel from what I see here.

http://xdaforums.com/showthread.php?t=1767715
[Droid Incredible Android Development] musical_chairs:
Indeed, from what I can tell the changes from 2.6.38 to 2.6.39 were more significant than the changes from 2.6.39 to 3.0. (at least on x86, I've not much of a clue about Arm and Android kernel stuff). I'd venture a guess though that the bigger, more difficult changes to port to the dinc would be Android related, rather than anything to do with Linus's kernel tree.

I really need to start playing with Android kernel sources, I build Linux kernels all the time but have so far just gotten my Android kernels from good people like tiny and mamarley. You guys are awesome, by the way.
[Droid Incredible Android Development] tygib:
Hrm, this is weird. I go to the Incredikernel website but FF, Chrome and IE all say cannot load. Go through a proxy and it loads.....wtf over.
[Droid Incredible Android Development] tiny4579:
Works for me. I don't know why it doesn't for you. I don't run the website, just host kernels. What version do you need? I'll see if I can mirror it or someone else can as I can't do this until the evening.
[Droid Incredible Android Development] tygib:
Yeah, I had my g/f go to the site from her computer and it worked fine as well.....so I'm not sure why my computer is tweaking over the site. :confused:

And I downloaded the 2.6.38.8-ics-hwa+ kernel through the proxy site that I got to work.....I'm good now.

Keep up the good work please! Doing awesome. :)
[Droid Incredible Android Development] odlay75:
Link is down for me. Tried multiple computers on multiple networks also with proxy. Can someone post the latest kernel to a mirror please.
[Droid Incredible Android Development] tiny4579:
Thanks for the FYI but I don't host the files. I have pushed the latest GB+ICS and ICS-HWA kernels to dev-host. Below are the links:

2.6.38.8-incredikernel-ics-03212012.zip - 2.43 MB

2.6.38.8-incredikernel-ics-hwa-07072012.zip - 2.47 MB

I've PM'ed Chad to look into it but for now these will have to do and if someone else has the rest to host I'll add the mirror to the OP.
[Droid Incredible Android Development] odlay75:
Thanks Tiny. Can't wait to try it out.
[Droid Incredible Android Development] wareju:
Do you just flash this in cwr? If so do I wipe anything? Just came from a locked down motorola so I haven't messed with kernels in a while. Sorry if this is a dumb question, didn't see anything in op so I figure it's a common sense thing, just wanted to make sure.
[Droid Incredible Android Development] tiny4579:
Yeah, just flash it. You can wipe the caches (cache and dalvik) optionally but you don't need to because the ROM zip does that already. Basically kernels are flashed like a mod
[Droid Incredible Android Development] sid3091:
can i flash this on the touchwiz ROM?