yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II SGH-I777] LGSilva:
Entropy512, do you know if the code that disable the WiFi/data when the MHL adapter is connected is located at the kernel code or it's on a driver file?

It's impossible to watch Netflix via HDMI, as soon I plug the MHL adapter my signal bar drops to 1 and it's confirmed by Samsung that they disable the WiFi so we can have a smooth playback.

It would be nice if the restriction was on the kernel and if we could get an option to not disable WiFi/Data when the MHL adapter is connected.
[AT&T Samsung Galaxy S II SGH-I777] cecilyen:
Great job! This is the first Android phone to me and this kernel makes it even better!

Can't wait to see more powersaving features like 100MHz or undervolt GPU being implementated.

Sent from my SAMSUNG-SGH-I777
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Samsung is feeding you a massive load of horse****. They are doing nothing of the sort - if your wifi signal drops when you plug in the MHL adapter, you probably have a bad power supply.

I just streamed Netflix on wifi without any problems. The last time this "issue" came up, I browsed on cell data without any issue either. Well, last time the damn HDMI cable knocked over my router and one of my speakers... But that's an apartment-is-a-mess problem, not a software problem. :)
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I don't know if music player is done in software or hardware, but if software, it has fixed computational needs - if the phone is at 200 MHz, it'll go in and out of deepidle. If at 100, it may never hit deepidle.
[AT&T Samsung Galaxy S II SGH-I777] cecilyen:
Voltage Control works fine to me, except for the GPU part. Also, no USB current control, which is not good in AT&T's phone anyway.

Never tried Tegrak, but it supposes to work only on stock kernel.
[AT&T Samsung Galaxy S II SGH-I777] shinji257:
LGSilva I concur with Entropy512 on this as well. I got a MHL adapter recently and it works fine with Wifi enabled. I verified this by opening an adb wireless connection while the phone was connected to the TV (and transmitting) and able to successfully connect to it. I also did some web browsing with the browser on the big screen tv and navigating to whatismyip.com to ensure it wasn't pulling over cellular.
[AT&T Samsung Galaxy S II SGH-I777] LGSilva:
I have to test it again, maybe the charger that comes with the phone is not strong enough.
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
From what you guys have been seeing, does 89% deep idle time over several hours sound good, bad, or average?

The screen was off the whole time I. run Gmail on push and Exchange on 5 minute intervals with WIFI on and connected and data autosync.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
A bit below average but not awful - my guess is probably Exchange dropping it a little.

I usually see around 94-95% with just Google sync stuff on cell data, 96-97% on wifi with sleep policy "never", dropping to 88-90% in poor signal.
[AT&T Samsung Galaxy S II SGH-I777] mbze430:
I must be consider to be a heavy user... I have never seen my phone at such. *dOh*
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
I lose about 1% every 2 hours the phone is asleep. I have google and fb synching every 30 minutes.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Those are "leave the phone sitting" numbers.

90% with even light use is pretty respectable. 90% with any time on a charger is great.
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
Yeah, I have exchange going every hour. I know I have another leak, but I can't for the life of me determine what it is. Even after a shark capture. Any suggestions are welcome.

Sent while riding a buffalo.
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
Have you checked the thread about battery drains in general?
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
Yeah, I've been all over it.

Sent while riding a buffalo.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
As promised, here's the 100 MHz patch that didn't make the cut.

Rename the file to .patch, then apply it to a kernel tree with "git am" - note that it requires you to already have codeworkx's OC patchset applied.

Trying to rework the SoD fix patch in order to have less negative impact on the battery - not promising so far. Lots of SoDs I can't figure out.
[AT&T Samsung Galaxy S II SGH-I777] mbze430:
Have you thought about picking up the BLN?
[AT&T Samsung Galaxy S II SGH-I777] jsmith8858:
+1 on this. We did discuss somewhere else that even with a wakelock, BLN would still be better than NOLED or other solutions for those who really need some sort of visual indication of missed alerts. Disable it at night and give it a relatively short time-out and it should be at least usable.

(and to answer your question, yes, I do stalk every thread checking for any mention of BLN!)
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I'm leaning that way... The more I do epic battle with accelerate-to-wait, the more I want something easy. And if people are willing to accept the drain - BLN is easy.

Well, at least applying it to the I777 sources. Everything could go tits-up when I try to migrate to update3. I'm going to try one more night of fighting accelerate-to-wait later this week, and if that fails, may as well do BLN.

So far, I777 users have proven themselves to have FAR more maturity and responsibility than Infuse users in terms of dealing with features with potential negative side effects. I would NEVER have released an OC kernel over there...
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Not unless you use SetCPU to set a screen-off profile with a frequency limit below 800 MHz. Based on discussions with netarchy, our CPUs like to idle at 800 MHz, and if the CPU policy maximum is set below this, bad things can happen when the CPU tries to sleep.

I believe the above issue is why SetCPU gets such a bad rep with the Samsung owner crowd - Xan's Voltage Control doesn't let you set screen-off profiles.
[AT&T Samsung Galaxy S II SGH-I777] shishir95:
Daaamn. I don't know whether to be impressed or concerned for battery life? I set it back to on-demand, the half-second lag between me clicking something and something happening was driving me crazy.

The battery life has been much better now though, if you can fix the conservative mode's lag then that would be great.

offtopic:

I got a radio app to install and run for our phones and when it was scanning for channels, the phone crashed.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
What app?

May be more evidence that the Si4709 (or was it 7409) driver is broken.

I'm surprised you were even able to scan... The radio app I got from jivy26 FCs
[AT&T Samsung Galaxy S II SGH-I777] shishir95:
Galaxy S Radio Widget from the Market, I think.
[AT&T Samsung Galaxy S II SGH-I777] kennonk:
Im not sure if anyone else is experiencing this but when I go into CWM using the the button combo from powered off the blue CWM menu loads fine but...any menu option I try at that point results in the menu becoming invisible and me with just a black screen with the CWM logo in the middle of the screen. If I hit the power button it goes back to the light blue main menu but any menu option I enter the above happens.

I have tried flashing the kernel over and I get the same results. Am I doing something wrong? Once booted into the stock rom, everything seems to run fairly smoothly, it is just CWM recovery that isnt working.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
We have a different keymapping - read codeworkx's first post (he updated the documentation).

Power = does nothing

Home = select

Back = back

I lost 4 hours of kernel dev time to that, thinking I broke something.
[AT&T Samsung Galaxy S II SGH-I777] kennonk:
Doh...man I should have rtfm. Thanks for the quick response. :-)
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Just tried it. Same results as you. Attempting to catch a kmsg of the crash using cat did not work, I really need to figure out how to get /proc/last_kmsg working

Edit: In my currently running kernel, it just bombs out instead of crashing. I'm fairly certain the 10/04 release had a crufty FM tuner module that shouldn't be there.
[AT&T Samsung Galaxy S II SGH-I777] mbze430:
I actually have SetCPU set to 500/500 min/max on Screen Off. And I can wake it up from lock. But you are absolutely right, anything below 500, it won't unlock

---------- Post added at 05:45 PM ---------- Previous post was at 05:39 PM ----------

I read on the OP that this kernel has the cifs module. Just to be sure, have you tested it with cifsmanager... this is one of those "I NEED TO HAVE" feature (cifs/smb)

thx
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Just tested it, however with the default settings cifsmanager won't load the module automatically. I think it's rather stupid that cifsmanager expects the modules in /system/lib/modules (in the ROM) instead of /lib/modules (in the kernel's initramfs where it belongs)

Even stranger, modprobe wants /system/lib/modules, which is REALLY stupid.

Maybe I need to do some fancy symlinking in the initramfs...
[AT&T Samsung Galaxy S II SGH-I777] mbze430:
Thanks for the info... I'll keep checking back to see how that works out :D
[AT&T Samsung Galaxy S II SGH-I777] JordanElliott:
for all you new galaxy s ii users. Entropy is a wonderful dev. i have been using his infuse daily driver kernel on my infuse ever since he released it. its wonderful. don't hesitate to flash. u wont be disappointed. he does awesome work.

---------- Post added at 06:54 PM ---------- Previous post was at 06:49 PM ----------

oh 2 questions. cant u make it into a flashable cwm? or.. sorry just kinda confused coming from the infuse side with the cwm zip version. and another. will tinyrcu be added?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I'll eventually make a CWM package once I've done some other stuff.

tinyrcu doesn't apply to multicore devices. There is an SMP-aware RCU variant I've seen for Tegra2 kernels but I don't know how hard it is to apply to the Exynos or even if it's possible.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Updated. I have two uploads attached to the first post:

DD_10062011.tar is a stable release I have been running since last night, with the exception of the past few hours. See OP for new features - much of it is pulls from netarchy's Infuse contributions or bugfixes from Ninphetamine

DD_10062011_exp.tar is an experimental release that has only been running for a few hours - seems good so far. It has conservative governor's tuning parameters adjusted to be more responsive by default, and allows for much faster polling intervals so it will ramp up faster if needed. However I'm not sure if the polling interval limit might be too low - I'm running 40000 uS which seems good, limit is 25000 which might be too low on this device. I need to do more research and testing. If you experience stability problems, crank up the polling interval a bit. Credit goes to netarchy for this one too.

Unfortunately if anyone starts crashing, debugging the crashes is going to be difficult as ramconsole support is still not working.
[AT&T Samsung Galaxy S II SGH-I777] clown_luv:
Get it in entro good work bud, been busy today I c, ill talk to ya tommrow over in irc. Good work though!!!!

+10
[AT&T Samsung Galaxy S II SGH-I777] Doug8796:
I really do wish you added oc as I love to do so, but could you please add Smartass governor?
[AT&T Samsung Galaxy S II SGH-I777] Boobie Watcher:
I'm on straight out of the box stock....can i just flash pit with odin and have rooted stock phone? Thanks!
[AT&T Samsung Galaxy S II SGH-I777] clown_luv:
No need to flash pit. Flash his Odin package with root. Then after it reboots flash codes kernel to get cwm and customize away. Let me know if you need more detailed instructions have fun :)
[AT&T Samsung Galaxy S II SGH-I777] eep2378:
Looks to be a nice update. Sgs kernel flasher should work too, right?
[AT&T Samsung Galaxy S II SGH-I777] clown_luv:
Sgs kernel flasher will only work if rooted :(
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
Entropy, it's nice to have my point of view confirmed by an actual Dev. The AT&T SGS2 is the new captivate in almost every way. Cappy had a great community compared to other devices of that era. Thanks for keeping the dream alive.

Any thoughts on LED blink notifications? Like ones that actually work.

Sent while riding a buffalo.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Small updates:

1) Fix for wifi tethering on I9100 ported ROMs. Tested on SensatioN 1.8, should work on others. This fix is brought to you by LinuxBozo of the Infuse community - I9000 Hellraiser for the Infuse had the same issue, and the fix was the same. See https://github.com/Entropy512/linux_kernel_sgh-i997r/commit/aa9fba334bd45000763868ec51dcc6521ad61a6c for the initial Infuse patch

2) Bump up TCP buffer sizes in the initramfs to match the Infuse - might help network speeds in some situations.

Non-experimental only for now - will post a .14 release once the non-experimental has a bit more testing. .14 doesn't actually help the infamous "AOS bug" other than hide it anyway.
[AT&T Samsung Galaxy S II SGH-I777] xAnimal5:
The TCP buffer sizes really made a diff... damn. In the same.spot, I used to get 200-400kb/s downloads, just tested and got consistant 700kb/s downloads.
[AT&T Samsung Galaxy S II SGH-I777] Artimus009:
I now have real faux-g service. Always got 2-3.5 mbps Dl and 1-2 mbls Ul.... now I'm hitting 6-7 and 1.5-2.5....yay! Everything else is running smoother than ever. I'm on h8's ROM by the way.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I hope you mean KB (kilobytes), not Kb (kilobits) - your latency would have to be utterly insane for the TCP buffer size change to make a difference in kilobits like that.
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
My latency is around 800ms all over town.
[AT&T Samsung Galaxy S II SGH-I777] saywhat4118:
I'm guessing this kernel isn't for anything besides Samsung based roms? Currently I'm running cm7 nightly. Would love to try this out.
[AT&T Samsung Galaxy S II SGH-I777] ferrocene:
Holy mother of God...wtf did you change....buffers?

I ran a dozen speed tests, wifi and 3g, 1:30 am 10 minutes apart from the exact location. Basically time and location invariant.

Cell tower didn't change, avg 1.3m/500k.

Wifi before: 1.5m/5m

Wifi after: 18m/5m

This is with serendipity 8.1. I didn't realize serendipity was broken, but it flies on wifi now. Tested with market and it's instant.

Thanks!
[AT&T Samsung Galaxy S II SGH-I777] mike619:
I was on UnNamed 1.1.0 and flashed your updated kernel.

Ran a few speed tests with the following results:

Over 4G, my download speeds increased from about 3Mbps to about 6Mbps, uploads stayed about the same at around 1Mbps.

One thing i found to be inconsistent was data speeds over wifi:

Before the update, i could achieving around 9Mbps down and 4-5Mbps up.

After the update, my download speeds increased, but are all over the place ranging from 8-16Mbps.

The upload speeds have worsened. It'll shoot up to about 3-4Mpbs then steadily decrease to almost 1Mbps (sometimes even less) by the end of the test.
[AT&T Samsung Galaxy S II SGH-I777] verncat05:
I am on UnNamed 1.10 as well. Can I just flash this kernel via CWM without affecting the rom? Just curious, as I am just getting up to speed with all of this.
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
I flashed the kernel over Unnamed without any issues so far. I did a nandroid back up and wiped the dalvik cache before hand, just in case.

Now, I am also very new to this, so just because it is working for me doesn't mean it is a good idea.
[AT&T Samsung Galaxy S II SGH-I777] Dungeon47:
I'm not getting any deep sleep time since the update according to two test periods. Gonna try re flashing.

Sent while riding a buffalo.
[AT&T Samsung Galaxy S II SGH-I777] goojman:
Can I flash this with Unnamed 1.10??
[AT&T Samsung Galaxy S II SGH-I777] Misterjunky:
Flash This

You sure can flash it, not only with the UnNamed rom but any other

compatible roms too especially if you feel very adventurous. :)
[AT&T Samsung Galaxy S II SGH-I777] verncat05:
Just reset my counters and checked and mine is going into deep sleep as expected after flashing to this kernel, so not too sure what's going on.
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
Same here. I didn't let it deep sleep for long because I'm using my phone, but it did sleep.
[AT&T Samsung Galaxy S II SGH-I777] roadrash7:
How is everybody getting such good download speeds? . I was excited to see how people said there speed increased but with update im still lucky if i touch 3mbs down
[AT&T Samsung Galaxy S II SGH-I777] daraj:
So at this point of advanced development here as far as Kernels, is it possible to port the ROMS from the European version and all the buttons and phone in general behave normally?
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Depends on the area you live in. My buffer fixes were 100% untested other than buffer sizes helped Infuse users - I never see more than 3 in my area too.

As to flashing this - people should almost never have to wipe anything when flashing a kernel - especially if flashing to a ROM with a previous kernel release. So it should be possible to flash this against anything but CM7/MIUI right now without wiping anything.

The exception might be if you use Xan's Voltage Control and come from Zedomax's kernel - you might have to remove all of the VC scripts. VC does a VERY poor job of detecting that a kernel has changed and the old settings are invalid. Softbricked a lot of Infuse users...
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
Daraj - we're close. I just did a proof of concept port of SensatioN two nights ago, which is why a kernel compatibility fix came last night. I still have call audio issues but task650 thinks he has a fix and hopefully will dig up what files he changed in a day or two.

I haven't posted the proof-of-concept port of SensatioN here yet as the ROM's original dev has not gotten back to me with permission yet. There's a link to my port buried elsewhere, but it's intentionally difficult to find until Crysis21 gets back to me.
[AT&T Samsung Galaxy S II SGH-I777] Simba501:
Add me to the list of people who has seen a significant bump in data speeds.
[AT&T Samsung Galaxy S II SGH-I777] Bowsa2511:
Slower data speeds here
[AT&T Samsung Galaxy S II SGH-I777] TOA Duck:
Thanks for the update entropy and for your work.

Data speeds are same for me but where I live they are still using tin cans and string so,............
[AT&T Samsung Galaxy S II SGH-I777] mastergrillo:
Same here got a good data bump thx for your hard work
[AT&T Samsung Galaxy S II SGH-I777] craigbailey1986:
Well I can say for a fact it works and increases speed.

The work with the international port was great and I am running sensation I900 with out issue except the known audio bug.

The battery life is also great, so far. I will post a screen capture after a few days of use..
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
My speeds have shot up too.

I've been having horrible data speeds. Last night at 2am in the middle of a residential neighborhood in a medium sized city I was getting around 1.8Mbps down and 1.0Mbps down. After installing I was getting around 3.5Mbps down and 1.5Mbps up. My wifi speeds doubled for downloading, from 6-7Mbps to 13-14Mbps, but the upload speeds remained the same, around 3.5Mbps.

Edit: For what it is worth Speedtest is now showing that it is going off of a server in my city. Before installing the kernel it was going off a server about 350 miles away. No matter how many times I did the test it would use the further away server.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
I'm wondering if somehow the device was using the UMTS and not HSPA settings for data...

The HSPA setting only bumped the max buffer size from 563 kBytes to around 704 - shouldn't have more than doubled some people's speeds.

But UMTS went from 196k to 563k

Wifi went from 393k to 563k

https://github.com/Entropy512/initramfs_sgh-i777/commit/da23b940cf5d09428e61ab9b041314a18bdfe5a6

The difference in server location might be the reason one of you is seeing major improvements - lower latency allows for higher speeds even with the same buffer settings. No clue why server choice might change though!
[AT&T Samsung Galaxy S II SGH-I777] Adelaide.:
I'm pretty sure it has been on UMTS. I hate it when my phone bar is yellow, so after restarting I always go into about phone and then status to "fix" that bug. It is currently showing UMTS, and as far as I can remember always has. I have the little H+ in my status bar though.
[AT&T Samsung Galaxy S II SGH-I777] slowpc:
Avg down on speedtest HSPDA 5.7 down ... 1.3 up.

A little faster than 10.30 kernel.
[AT&T Samsung Galaxy S II SGH-I777] tboooe:
Hmmm....all this talk about improved data speeds is interesting. I wonder if there is some level of placebo effect happening or some strange coincidence that has improved network data speed?? Entropy, I am far from being an expert on cellular technology but it sounds from your posts that the changes you made shouldnt explain the level of data speed increases that people are reporting. Perhaps there is some other by product effect happening with the phone that you did not foresee? I say just call it a new feature! :)
[AT&T Samsung Galaxy S II SGH-I777] roadrash7:
Ok what are people using to test the speed, cause i live in a "4g" area and see same speeds that i saw before on speedtest app
[AT&T Samsung Galaxy S II SGH-I777] creepyncrawly:
Some say speedtest.net app is throttled. Use your browser and www.speakeasy.net/speedtest/ to get more accurate readings.
[AT&T Samsung Galaxy S II SGH-I777] Entropy512:
There's a reason I posted that it *might* improve speeds but wasn't guaranteed... I'm honestly surprised people have been seeing this much improvement. I was almost as surprised with the Infuse, but in that case the buffers were TINY and I calculated that 6-8 Mbps was the fastest an Infuse with UXKG3 firmware could run with the latencies I was seeing (usually 150-200 msec).

Not everyone is going to see improvement - the problem is that right now, those who have the enhanced backhaul also are in areas with the highest load. I'm honestly really surprised by how much improvement some people have seen.

For example, the existing wifi buffer sizes should've been able to easily cap out a 20+ megabit system for wifi - in my experience, cable modems are usually only 30-50 msec to nearby servers.
[AT&T Samsung Galaxy S II SGH-I777] cwc3:
My wifi (5 to 10mbit) and mobile (3 to 5) speeds increased, though so did my speedtest server.

I also use SetDNS with Opendns serverserver.
[AT&T Samsung Galaxy S II SGH-I777] rogerntami:
Both wi-fi and mobile speeds increased significantly, down and up. I also updated to the latest version of the speedtest.net app today, and it worked great.