yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
It isn't "my" governor - it's one of the stock Linux kernel governors. There's a small tweak from Netarchy that allows it to be more responsive and gives more performance-oriented defaults.

up_threshold - CPU load percentage when the CPU increases frequency - higher numbers bias towards battery instead of performance

down_threshold - when the CPU decreases frequency - higher biases towards battery and away from performance

sampling interval/rate - This is actually the period and not the rate, so lower is faster. Lower values give more responsiveness but might cause occasional "jitter" of the clock speeds. (like, possibly, if down_threshold is high and the interval is short, it might bounce a lot between two states.)

cpu scale doesn't seem to do anything on our devices - I think this is for devices that can scale clock smoothly, in our case we have fixed steps
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
14546 Corrected bytes, 162 unrecoverable blocks

#$*(@#)$*$@# - Looks like enough data at the end of the boot was lost so as to contain no obvious data pointing to the crash.

Not your fault - all of the evidence I see there implies a crash happened, but unfortunately, the actual crash wasn't caught by last_kmsg. **** happens, next time it happens submit again.

If it keeps happening like this you may want to try running stock for a while to eliminate the possibility of a hardware defect. You will not be able to get last_kmsg logs, but if stock is crashing you probably have a hardware defect.
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
Thanks for taking a look, I went cross eyed looking at such a big block of text. Did you happen to look at both kmsg logs I posted or just the more recent one? Of course the thing hasn't had a random reboot (that I know of) since the last one I posted the log for. I'll keep my eye on it and see if it happens again. Is it strange the reboots have only happened when I'm not using the phone? It has never rebooted when I've been actively using it.
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
I love this kernel! Battery life is excellent and it very smooth. I know that its not usual fir most kernels but is there any way we can get a 130000 frequency? 140000 takes too much of my battery for e so I keepbit at 12 but 13 I think would be a perfect match
[AT&T Samsung Galaxy S II SGH-I777] PatriotXT92:
Awesome kernel. The battery life on this phone is so much better than my atrix was.

Also I was wondering if it would be possible to make this kernel work with the BLN control app to use the capacitive buttons as an LED notification.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Possible but not without negative side effects on battery life for those that use it.

However, at this point, people here are responsible enough that I'll merge the patches in. They're ready and mostly tested, just need to commit. I was holding off due to the negative effects they can have. I was going to do it last weekend, but hellraiser and NFC kept me busy.
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Entropy

Is there a way that I can take the recovery 5.0.2.7 that came from a backup of mine from cm7 and flash it somehow ? I am used to being able to fastboot flash recovery images, radios, etc with HTC ibdidnt know if there was a similar method for image files?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Heimdall/Odin is the equiv. of fastboot.

However, on most Samsungs including this one, recovery is part of the kernel initramfs. CM7 kernels won't work with non-CM7 ROMs.

Later this week I'll see if just dropping the CM7 recovery binary into the initramfs works, if it requires more work than that it could be a while.
[AT&T Samsung Galaxy S II SGH-I777] PatriotXT92:
Alright thanks for all your hard work. You really know how to get things done. Not having a LED notification is something that I have been missing since moving from my Atrix.
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Thanks again entropy! I think I might have to donate again! Not used to a dev being to responsive to my questions
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
I would kill to know how to do this stuff on my own. I wish I had the talent like you devs have. Not smart enough unfortunately
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Sure you are. Learn.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Yup... A lot of this comes from years of just learning and experimenting... The best way to learn is by doing.

You should see the number of times I've softbricked, caused epic crashes, etc...
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
Talent = where you spent your time practicing. Anyone can learn pretty much anything, you just have to decide where you will spend your time.

Sent while riding a buffalo.
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Is there a significant real world difference in performance from different govenor settings? I hear about ondemand and conservative, what about powersave, performance and userspace as well? Does it only affect battery usage or are there other noticable results?
[AT&T Samsung Galaxy S II SGH-I777] slifer315:
Ondemand clocks the processor up only when it is being used; conservative works the same way, but it does it much slower, staying at lower clocks for more time compared to Ondemand; powersave almost never goes above 500 mhz, so it will give the best battery life but performance will also noticeably suffer; performance keeps the processor at the highest clock, therefore using the most battery but also giving the best performance; userspace, I don't remember and I've never used it. I have always used conservative for this phone and everything has been very smooth.

Sent from my SGS II.
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
I am with him on this one. Conservative Is the best in my mind.
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Thanks for the info. What I'm interested in is real world performance...

So, not necessarily metrics, but for instance, does using conservative instead of ondemand extend your battery life 10 minutes, 30 minutes, 2 hours or 5 hours over the course on one charge cycle. Also interested to get a general idea of the ohter settings as well.
[AT&T Samsung Galaxy S II SGH-I777] joeybear23:
Just jumping in to report that my earlier problem is resolved. When I first installed 11/3 I was seeing a degradation in ping and upload performance. After scratching my head and pulling some of my hair out, I finally had the idea to check what server speed test was using. well that was the issue. For some reason in 10/20 it always uses the closest server, but in 11/3 it would always switch me to a server halfway across the country. After I manually selected the same server that the other version of the kernel was using, my ping and upload remained the same and my download almost doubled.

Great work , GTG!

Warning: Created with Swype
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
IMO, only Conservative and Ondemand should matter for most.

Performance is useful for benchmarking but that's about it. Anything else that uses CPU for extended periods will just ramp it up automatically with Cons/OnD

Powersave is bad enough news I think I'm going to remove it - it interacts badly with the Sleep of Death fix, and if you want to force 200 MHz, you can just set max/min there.

Userspace puts control of the CPU speed into a userspace program of some sort, taking the kernel out of the loop. Not useful for 99% of people, but I'm going to leave it there for people who REALLY know what they're doing.

No clue why 11/3 would change the autodetected speedtest server, that's a WEIRD one.
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
The same thing happened to me, but I'm rapidly becoming the queen of weird issues it seems. Might be coincidence. Could it have something to do with where the phone is getting the IP address from?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Hellraiser compatibility release. If root is working fine for you, there is no reason to flash 11/10 over 11/03.
[AT&T Samsung Galaxy S II SGH-I777] SeanHacker:
Um... will this work for the ****rocket? Lmao
[AT&T Samsung Galaxy S II SGH-I777] bigblue95z:
What type of programming language does Androids use?

EDIT: Google is my friend. Lol. Java.
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Were you able to put the new cwm recovery 5.0.0.26 in your kernel?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
No this was just a quick emergency fix, commenting out three lines in init.rc - CWM upgrade requires a lot more work/time. I've been getting scheduled evening lab times at work this week. (Not normal - bad stuff happened.)
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Gotcha, If you dont mind me asking what do you do?
[AT&T Samsung Galaxy S II SGH-I777] Haas360:
What's hellraiser ? :/ lol sorry

Edit: sorry didn't look much. I got it now. That's pretty interesting.
[AT&T Samsung Galaxy S II SGH-I777] shoman94:
Sorry nevermind.
[AT&T Samsung Galaxy S II SGH-I777] Cozmo1:
I definitely practiced on the Android emulator and a lot on my Captivate. Soft booted it too many times to count (a jig almost became my best friend), but I was really interested in it and I'm naturally curious on how things work anyways. The Unix/Linux command-line interface, permissions and XML come easily to me, but that and databases is what I do. Java is a little challenging - for now. Putting together a ROM like my own (CoZ ROM) was a fun project and I really liked it. Now the root issue occurring with my Lite'ning rom port is making me feel inadequate again. It can be a vicious up and down cycle at times :)
[AT&T Samsung Galaxy S II SGH-I777] agh1701:
Dose the 11/10 include the experimental changes?

Is there anything that can be done to improve WIFI compatibility with the newer KJ1,2 and 4 ROMS? It looks like the interface dir has been changed from wifi to eth0.

Thanks for you great work.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I've temporarily discontinued the experimental tree (this will become clearer when I rewrite the changelog) - It provided no visible benefits, and had a significant bug - it hides suspend/wake time from showing up as Android OS percentage, resulting in a rather common source of battery drain becoming "hidden" - but I ran tests and confirmed the drain was still there. Until I have time to further understand this problem I'm going to stick with .7 releases

As to wifi compatibility - when I've got a ton of time, enough to mess with flashing an Odin-based leak. The problem is that installing these tends to be a MASSIVE pain in the ass. At least it was on the Infuse, might be easier here since we don't have Voodoo Lagfix, but I'm still paranoid. Originally it was sounding like XXKI4-based I9100 ROMs had the same issue, but further evidence says they don't.
[AT&T Samsung Galaxy S II SGH-I777] Alucardis666:
Thanks for clearing that up! :-)
[AT&T Samsung Galaxy S II SGH-I777] agh1701:
Thanks, I was wondering where the drian was going.

DG has posted a rooted bootloaderless KJ4 that might help.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Bootloaderless, but still, often flashing Odin-leaks proves to be a time consuming pain in the ass for some reason.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Would you consider adding more frequencies? For example, maintaining the 200 mhz intervals for the entire set (200, 400, 600).

Sent from my Galaxy S2
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
That just slows down responsiveness, more freqs for the CPU to step through.

Also, you pay a penalty with every transition.

Plus we're pretty close to that already, the only exception is 200-500-800, and down in that range, static power consumption is high enough that having intermediate frequencies won't help power consumption. Same reason 100M proved to be effectively useless - was better to spend 50% of time in deepidle at 200 than 100% cranking at 100.
[AT&T Samsung Galaxy S II SGH-I777] chase10784:
Entropy,

So as I said in my post in the general forum I would post the Last.kmsg file if my phone restarted on its own to the samsung boot. No overclock or undervolting and I am running stock rom with your 1103 kernel. I didnt reboot my phone this time lol, so it should be good to look at now. I hope you can help me out with whatever is causing it. I appreciate the help.
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
I've been working on understanding the info in the last_kmsg files since I've had a couple of random reboots. I took a look it see if your log looked anything like my logs.

Your log ends with.

So your phone restarted becuase of kernel panic. Someone else will have to see if they can tell why that happened.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
OK, will try to take a look later this weekend. Work schedule this week is a bit wacky due to technical difficulties.
[AT&T Samsung Galaxy S II SGH-I777] chase10784:
Hmm weird...I wonder why. I hope someone will be able to figure out why its doing that. Its frustrating to see it doing that.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
The panic itself is above that:

[182792.544671] Alignment trap: not handling instruction e1973f9f at [<c03be820>]
[182792.544891] Unhandled fault: alignment exception (0x001) at 0xcdc0e75f
[182792.545009] Internal error: : 1 [#1] PREEMPT SMP
[182792.545209] last sysfs file: /sys/devices/virtual/net/pdp0/statistics/tx_packets
[182792.545319] Modules linked in: j4fs(P) bthid vibrator [last unloaded: dhd]
[182792.545955] CPU: 0 Tainted: P (2.6.35.7-00020-gbf376fa #251)
[182792.546084] PC is at sysfs_open_file+0x154/0x214
[182792.546289] LR is at sysfs_open_file+0x124/0x214

I am 99% certain it's a problem that would exist in stock if it is what the panic seems to be pointing to - it looks like something is trying to pull up your packet data transmit statistics and there's a bug in the handler for that sysfs file...

However I haven't touched anything near there. This'll be a nasty one, although: There's a bunch of general fixes in arch/arm in the Samsung update3 sources that I was planning on pulling in, some of these might help with unaligned data accesses. But not likely. More likely this is a bug in that location.

One thing to notice Adelaide - in his case, the last_kmsg reports no errors or lost blocks. In your case, have you tried running stock to see if it's problematic? I'm starting to think you may have a hardware defect that's corrupting memory.
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
....I've got a lot more reading to do.

I noticed that difference too. After the last reboot happened I updated UnNamed, and ended up doing the full install becuase I was messing with that audio add on. I haven't had a random reboot since, so I'm crossing my fingers that somehow fixed it. If another one happens I'll go back to stock and see if it continues.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
I had that problem. It happened once every couple of days. I haven't seen it happen in weeks. I do a lot of tweaking so anything could've fixed it.

Sent from my Galaxy S2
[AT&T Samsung Galaxy S II SGH-I777] chase10784:
I havent tried running stock but I dont really have a lot of time to see if it is the problem because my 30 days is up as of tomorrow. So I think I may just return my phone to stock and take it and exchange it for another one.
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Entropy

Have you had any time to look at updating cwm 5.0.2.7 for your kernal?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Not yet... Maybe tomorrow, nto sure. Depends on how hung over I am. ;)
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
haha right on
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Yeaaah! Lol

Sent from my Galaxy S2
[AT&T Samsung Galaxy S II SGH-I777] paleman27:
What's the deal with "skyrocket"? Did ATT just put out a Sgs2 with 4.5 screen and LTE capable? Is the LTE is something we can "hack" into this phone or is it a piece of hardware?
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
LTE capability is hardware. It has to do with the type of cellular radio in the phone.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Completely different hardware, which has no business being named Galaxy S II - it has NOTHING in common with the I9100 or I777. It doesn't even have an Exynos.
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
How hungover are you today :-)'? Last night when you were hammered you said that "no matter what happens i will bake the new cwm 5.0.2.7 recovery in the kernal today, if it is the last thing i do", do you remember that?

haha
[AT&T Samsung Galaxy S II SGH-I777] bkeaver:
Hey Entropy you mentioned earlier that you may entertain adding BLN in. Is this something your still thinking about or have this been dropped all together?

Sent from the amazing AT&T SGS II running Omega XT 4.0
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
LOL I never said that - was hungover most of the day.

Trying to extract this recovery binary is proving to be a *****... Most of my usual initramfs extraction tools don't like the CM7 boot.img...
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Finally pulled the image - it's working well enough so far to release.

CWM 5.0.2.7 changes:

Supports backup/restore to external SD in addition to internal SD

Power button can select stuff now - home/back still work

NOTE: Since it is pulled from a Cyanogenmod release that has different standards for internal vs. external SD, CWM refers to the external SD as "internal"
[AT&T Samsung Galaxy S II SGH-I777] Peaster111:
Always a sucker for new stuff... Given it a go now.
[AT&T Samsung Galaxy S II SGH-I777] sweetboy02125:
So the update allow to backup to the external SD. Power button can be a select button. Anything other tweats? Thanks

Sent from my Samsung Galaxy SII - please forgive if any typos
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Nothing I know of yet... This was basically a pull out of Cyanogenmod.
[AT&T Samsung Galaxy S II SGH-I777] Peaster111:
Looking good so far... Of course :)
[AT&T Samsung Galaxy S II SGH-I777] afrojoc:
On my captivate in clockwork mod you could navigate using the menu button as down and the home button as up. It was my favorite way to navigate and made things super easy for me. Maybe this could be incorporated? :) just a suggestion in which to be taken to consideration. Great job with the kernel so far tho!!
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Entropy you rock thanks so much for doing this!

I will be sending a very nice donation In a few mins. Can you do me a favor and post your donation link again.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
That'll be a long way away - as I said, this was just a quick integration of the existing CWM binary that is in recent Cyanogenmod releases.

http://xdaforums.com/donatetome.php?u=591147
[AT&T Samsung Galaxy S II SGH-I777] shoman94:
Your are awesome..... thank you
[AT&T Samsung Galaxy S II SGH-I777] jgrimberg1979:
Sent my token of appreciation.

One thing. when i try to do anvanced restore in cwm r it says "no files found" that happens when i try to do advanced restore from internal or external. Any ideas?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Hmm... Advanced restore works for stuff on internal, not for external. Dunno what the deal is here.

Finally figured out which git repo is the latest - looks like this is a known issue:

https://github.com/CyanogenMod/andr...mmit/7ef88155e0310549b739064c96db401165f363d6

I'll need some time to figure out how to build.
[AT&T Samsung Galaxy S II SGH-I777] paleman27:
Nice...I'm looking @ your first page post, and I'm not sure which one is it (CWM 5.0.2.7); I'm sure a lot (if not all) people know exactly where to look. Could you please point me in the right direction?

Thank you for taking my question.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I need to rewrite the Changelog to be easier to handle updates/removals of features...

11/13
[AT&T Samsung Galaxy S II SGH-I777] paleman27:
Ok. Could you please tell me if the zip file for (cwm 5.0.2.7) is anyone listed at the foot of post #1? If so which.

Regards,
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
He did. All of Entropy's kernels are named after the date they were published. So the one released on 11/13 is 11132011.
[AT&T Samsung Galaxy S II SGH-I777] jjesusfreak01:
Adelaide, master of cryptography...
[AT&T Samsung Galaxy S II SGH-I777] kyentabug:
Entropy, what is the timeline, status or possibility of updating your kernel to include other filesystems like exFat, NTFS with large file support? I do not follow any specific android dev forums, so I do not know if NTFS is supported, stable, or even a good idea (excessive bloat/performance) in any custom kernel.

I am looking for OTG usb-key >4G files for content like HD videos, etc. Fat32 has a 4G limit and I do not run any real linux boxes so ext{234} options are out for me. Windows ext is not natively supported (obvious reasons) and the hacks like extfsd are not practical. I believe exFat or NTFS is the best and only option for large file support.

For others that are curious, below is the current list supported by 10202011.

#cat /proc/filesystems

nodev sysfs

nodev rootfs

nodev bdev

nodev proc

nodev cgroup

nodev tmpfs

nodev debugfs

nodev sockfs

nodev usbfs

nodev pipefs

nodev anon_inodefs

nodev devpts

ext2

ext3

ext4

cramfs

nodev ramfs

vfat

msdos

romfs

nodev oprofilefs

j4fs
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I'm planning on adding FUSE support (easy defconfig change), but as I don't have an OTG adapter I have no way to test it.

I did see that SensatioN 1.8 included an ntfs-3g binary, I'm going to investigate that more - but as I said I have no way to test.
[AT&T Samsung Galaxy S II SGH-I777] hkeyman:
Holy hidden codes Batman! :eek:

---------- Post added at 11:42 AM ---------- Previous post was at 11:40 AM ----------

And Yes...I'm being Factitious...;)
[AT&T Samsung Galaxy S II SGH-I777] LamboDroid19:
Hey Entropy, I don't know if it is your kernel specifically but tegrak overclock cant load the module on your latest release (I have not tried other kernels) but it says something like can't run insmod then says alot of errors. I have tried clearing caches uninstalling and reinstalling the app but still wont load it. Is this a kernel problem or something tegrak has to change.
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Tegrak works with stock kernels

ROM: i777 uckj4

Kernel: uckj4

Theme: blue monkey (pieces)

tegrack oc/uv
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
Entropy is very sneaky. It took a while to figure it out, but I finally got it.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I do not support binary-only modules that violate the GPL.
[AT&T Samsung Galaxy S II SGH-I777] LamboDroid19:
Ok maybe Tegrak does not know that. Could you possibly PM him or whatever and see if he can change it?
[AT&T Samsung Galaxy S II SGH-I777] mjgspr95:
Lol...

ROM: i777 uckj4

Kernel: uckj4

Theme: blue monkey (pieces)

tegrack oc/uv
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
He's fully aware, yet somehow the mods don't shut him down. He even mentions it in his first post.

There's a slight chance his module is written from scratch and doesn't violate the GPL, but still - binary-only modules only get linked into my kernels when they are an absolute necessity, and that is not the case for Galaxy S II devices. (They were for the ****ing RFS driver on the original Galaxy S series and Infuse, and they were a ****ing pain in the ass.)
[AT&T Samsung Galaxy S II SGH-I777] Hunt3r.j2:
Wait, sorry to ask, but does this automatically install Superuser apk and the Superuser binaries? The OP seems to suggest we need to flash it after the fact, and this is a bit unconventional to me so I'd like to get a straight answer on this....
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I suggest you look up the definition of the word "removed" in the dictionary. The OP is pretty clear about this. Hell it's in freaking BOLD LETTERS even!