yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] haroonie:
I can verify openvpn works with this Da_G's 0.4 kernel and TPC v2 rom... although Sacha's OpenVPN installer from the marketplace runs a pre-req check and it says TUN/TAP modules are not installed, OpenVPN connects and routes everything just fine.

Its said that TUN/TAP is integrated in the samsung's stock kernel but for the life of me I could not get it working stock rooted + stock kernel. but now it works with this setup!

thanks and keep up the good work.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] highlanderx:
All i need to know is what "name" should we give the script to place it inside the folder?

I can't just name it anything...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] decimusmaximus7:
"Save it to /system/etc/init.d/01cpu with permissions mask 0755 (rwx/rw/rw)"

The name is 01cpu
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] highlanderx:
"Save it to" and "save as" is not the same thing.

besides... i do not have init.d dir... Researching. I guess i just create it and that is it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sulpher:
shrug... i just went ahead and installed it without the script.. :p

Running great so far!...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SalTNutz:
Can you remove the startup screen that you put in the latest version? I used to have the Stock galaxy S2 startup that comes with the Rocketeer rom, I really liked it, but your latest version of your kernel replaced it with that Android startup. How do I get the old one back, anyone know?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Da_G:
Sorry for the confusion, the name can be anything inside /system/etc/init.d following convention <numbers>name with no file extension. The reason for the numbers is that the scripts get executed in order. The script is not mandatory at all, only if you want to do tweaking beyond the normal "CPU Voltage" slider offered in GUI apps.

Re: startup screen, kernel is now set to use the stock android startup bootanimation. You can replace it with any android bootanimation you like in the form of bootanimation.zip, renamed to sanim.zip (samsung modified bootanimation in the rom, you could replace the binary if you wanted to be able to name it bootanimation.zip) - /system/media/sanim.zip

This allows you to use any boot animation you like (search google for "android bootanimation.zip and you'll find boatloads) - support for the stock Samsung animation cannot co-exist easily with the stock Android one unfortunately. I think you'll find this one better as you now get your choice of any animation you like! Someone could convert the Samsung one to a stock Android type if you really, really want it back :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] crispy1805:
Just flashed .42. Ran into a few problems...

- SOD within 2 hours. Might have been my fault though, will retest it.

- MHL out did not work. There is also a problem where there is a loss in cellular connection when you are connected to wifi with the MHL adapter in. The only way to fix it is to take out the adapter, disable the radio, and re-enabling. Or restarting the phone.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Da_G:
I unfortunately do not have an MHL adapter to test with, nor does anyone testing my daily builds in IRC, so I am not terribly surprised an issue crept in there, I have merged tons of HDMI handling code in from codeaurora and that code is heavily patched by Samsung for MHL support (rather than direct HDMI out)

Any chance you could swing by IRC to help debug that? Without an MHL adapter to test it's pointless to start rolling back those patches :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] blackraven1425:
Also getting SoD on .42
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] highlanderx:
Well.. i have not gotten an SOD still.... pretty much since 3pm that I installed it I believe.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] crispy1805:
Sure, I will drop by on irc sometime tomorrow!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] decimusmaximus7:
In the init.d script, if I set the conservative governor, reboot the phone, and then open system tuner, the governor still says ondemand. Any ideas?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Da_G:
problem is init script in /system/etc/ overriding!

http://www.ponack.net/TPC/dagnarf/cwm-kernel-att-dagkernel-0.43pre2.zip

http://www.ponack.net/TPC/dagnarf/cwm-kernel-rogers-dagkernel-0.43pre2.zip

fixed here :)

Also fixed - a power service running in one of the /lib/*.so files was causing cpu frequency override, sometimes visible in system tuner, setcpu, similar apps as the min/max being overridden
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sulpher:
Excellent thank you!!

Was trying to figure out why it was going back...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Girn:
So do I have to edit a script with this new version or can I use setcpu to set my min max and gov?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] decimusmaximus7:
Yes, you can still use a program. The script is only if you want to tweak additional settings not available in any of the current programs.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bigbadbuddha:
I am having the exact same problem... Also happens to me when I run CF bench and antutu

Any ideas???
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] atawfikee:
im a little new to all this, but what is the difference between using the app set cpu to overclock and using this kernel thing. What exactly is it and how is it different from a rom. <--- NOOB
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tejones36:
Questions and Comments

Has there been any progress in fixing the SoD issues? I've tested all of the different versions since the original post, and to be candid, all the features in the world aren't useful to me unless I have a reliable phone. Da_G, no offense intended whatsoever and I'm definitely a fan of all your hard work, but you might want to consider working on stability and have a "stable" tree based on the 0.3 release, even if it means fewer features compared to the experimental version we have today. Possibly this could be 0.3 with just additional stability fixes. This is my day-to-day cell phone, and I haven't been able to use anything beyond 0.3 due to reliability issues. I can certainly understand your desire to not want to maintain another branch, but it's sort of a real world evil necessity. I'm to the point now of seeing if your source is available and building my own kernel. :-)

Are there any known workarounds? I've had SoD at 380 Mhz, and after clearing cache/Davlik cache/full factory reset, etc.

Is the exact issue known, and would additional information posted, such as sanitized logcats help in diagnosing the problem? Maybe you are getting all you need via IRC and I'm just not seeing it here.

If anyone is definitely not having the problem (i.e. after a day or two of no SoD's only), can you provide some information on your phone setup like apps installed? Using JRummy's ROM Toolbox you can select all apps, choose share, and get a complete list. (I have the Pro version, but hopefully it might work on the base version as well.) Also other information like your clock settings, voltages (if you have tweaked them) and so forth.

Is the current sysfs interface compatible with SetCPU and/or System Tuner Pro, or if not, are there plans for this compatibility? I've been a Unix SA/Developer for > 20 years, but even I find it far more convenient to tweak using a GUI instead of a script since I'm not always at my desk and connected via adb shell. (I find the terminal on the phone cumbersome). For one, I'm less likely to have my phone explode into flames if I accidentally type in an additional "0" and increase my voltage by an order of magnitude. :-) I don't blame you for not wanting to work on a Java based frontend, but compatibility with existing tools would make a lot of sense. (Maybe it is already, but it's a little unclear to me even after reading all the posts). Also, the SetCPU profiles are incredibly handy, for example - there are additions to the utility beyond straight GUI functionality.

I'll leave it at those two comments/questions for now to hopefully get responses. ;) I'd just like to get involved again! :D
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Girn:
What is the difference between this and 0.3? They both can be controlled by setcpu etc. Is there any difference aside from being able to manually tweak the script?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bacheezy:
Installed .43 att last night. Charged overnight no sod...off charger today, 3 sod...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] GalaxySkyrocket500:
Does .3 BLN support Handcent app?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Riebart:
I've got a Rogers SGH-I727R and a Kanex MHL adapter that I can confirm works (I tested it when the phone was still stock). It no longer works with the 0.41 kernel.

I'm not typically on IRC, however I can make the effort if it will help you with the MHL adapter issues. It is an important part of my device, and I'd love to see if working with your kernel. :) I'm also a little new to IRC, so some details of where to find you so I don't get lost along the way wouldn't go unnoticed

I get an SoD about once a day, and only when off charger. CPU settings are 192MHz, and 1.78GHz using SetCPU and ondemand scheduling. I also notice that the phone never 'sleeps'. It will enter the feep dleep state, but the battery usage info graph always registers the phone as awake. It has no impact on battery life (which is still about 0.8% per hour when sitting idle with two push email accounts on 3G), so I'm not too concerned about it, but I thought it might be worth noting.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] blackraven1425:
I have what I suspect to be a 100% SoD case involving a specific apparently. Sleep when this app is open on screen turnoff is guaranteed SoD. Thumb (formerly Opinionaided) does it from Results page/activity. I tried six times earlier, same result. Maybe a good lead.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] highlanderx:
I haven't had SoDs with the kernel included in TPC V3. I did had SoDs with .3 forward till this one.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Presbycusis:
Running 1.78ghz with .3 included in Skycream Sandwich mod. Check out that battery life!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tejones36:
Battery Life

I had > 31 hours ... hmmm, shoot, meant to update the sticky on performance and battery life, but I forgot. Oops! I'll do that shortly. It's currently on my blog, see my sig, but I'll get all the screenshots and info in the thread shortly.

I also achieved 24 hours @ 45% battery remaining, with less heavy use than the phone as the 31 hours test, but had to charge again considering I was going to be doing some travel that day. However, this was with SetCPU profiles active -- Overclocked with screen on, but underclocked with screen off, battery < 50%, etc. Also using JuiceDefender Ultimate in advanced mode.

This was with the 0.3 kernel - I've never had a single SoD on 0.3, but I can't seem to get that with anything more recent. I'll give 0.43 a whirl this weekend.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] the2rrell:
i get an SOD every 2 hours on any of these kernels.....but they are fast though.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] LinuxNewb:
I'm on SkyRocket ICS vs 3.1 on DA_G .3 because at .42 I would get SoD every 3 hours and it would note wake up.

Since going back down to .3 everything has been good. If you need logcats or system messages let me know!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wretchedlocket:
I'm on Alien #4 with .42 kernel. No overclocking, init.d, etc. Just what the rom and kernel come setup with. Been running since 12am with no SoDs. Charged over night and haven't had any problems.

Immediately after flashing the kernel, I wiped dalvik and fixed permissions before rebooting.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tejones36:
First, big thanks for such an informative post!

Gotcha. It's just a little weird for me since I've never seen SoD in stock or 0.3, just with more recent versions. Maybe I would have seen it if I had run stock longer; I ditched it when you started your releases. :)

I'd like to try it without the deep sleep, just to see how bad the battery life is. Might be an interesting first test.

That's really interesting - You are using the voltages listed in your pastebin.com script? I might have to try that and see if it changes anything.

I might give it a go; possibly I'll try 0.3 and just bugfixes and see what's what. At least it will give me a reference for known stable voltages and freqs, even if I don't muck with it, since I've had zero problems with that build. Were you using Sourcery G++ Lite 2010q1-188 4.4.1 for the release build? It sounds like you were using a newer version now.

Yeah, ditto. That and you are moving at such a rapid pace it might be obsolete by the time I could get it working has talked me out of doing it. hehe

Sure, just need the connection details. I'm job hunting at the moment so the weekends are the only time I could help test, but I'd be available depending on your schedule.

Is there an existing easy way to do this via startup script, or does it require building a new kernel? I haven't looked at your code in depth yet TBH, I've been swamped recently. It was on my list for this weekend though. :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] crispy1805:
I wasn't able to make it to the ICQ. I could donate an MHL adaptor for development, I'm pretty sure they are cheap now...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Da_G:
Still no SoD in about 70 hours on 0.43-pre2:

Perhaps the difference here is that I cleared data/dalvik/cache after flashing the kernel, and erased the /system/lib/modules folder which contains modules built for the original kernel (kernel modules are stored in ramdisk anyway so these are redundant, if the system is attempting to load these it may cause a kernel panic which could manifest as SoD) - even the stock kernel should not require these modules present as they are in the kernel ramdisk, so this folder in /system should be entirely redundant.

- Currently running TPCv3 ROM with the changes mentioned above
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] highlanderx:
DAG can you implement 1650MHz?

My phone simply will never be stable at 1728 no matter what I do.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tejones36:
What is the link for 0.43-pre2? I've removed /system/lib/modules :-)

Edit: Took a few tries, several 404 errors and then it started working. Found it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tonyfiore75:
Just so you know, I followed your instructions above with regard to clearing out caches and folders. I still got a SOD several hours later using your most recent kernel. I made no changes to it at all and just ran it as is. Not a big deal but thought I'd let you know. Back to .3 for this little Droid.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Girn:
Same here, ran latest and first wiped cache then after install wiped dalvik then fixed permissions. Do I have to install the oc/volt script? I tweaked it with setcpu 384 min 1782 max.. I got one sod after 4 hours. Now back to .3
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] :
been using 0.43pre2 rogers for 60 hours no sod yet...

i had it all the time before (1 in 15 for 0.4, 1 in 5 for 0.3, 0.41, 0.42 and even 0.43pre2)...i'm even running 192 as min now as well.....

I just switched to TPC v3 though...I did not have this stability on the other 2 roms i've had on this phone (stock Rogers and skyrocketeer v2b1)....even though using same kernel and overclock settings...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tejones36:
Well, I hate to give a "me too" post, but I'll have to say the same.

I removed the directory as you said, wiped dalvik / cache (didn't do a full reset however, but I can try it if you want.) Things were good for a while but SoD'd sometime around 5 hours uptime. I did not, however, try your boot script. (I meant to but forgot, oops!)

Da_G, are you getting FC's on any apps with the 0.43-pre2 and after removing /system/lib/modules + rebooting? I was getting some FC's that seemed to be more about the modules directory uninstall than the kernel version (since at least one consistently FC'd even after reverting to 0.3 until I put it back), but it's hard to say. I haven't had any other FC's as of yet today after backing out of 0.43-pre2 and putting back /system/lib/modules.

Obviously it's a pre release kernel, so I'm not overly worried, just wondering if you had noticed the same thing. If it's "normally abnormal" for now it would be good to know. :D

I'm going to send you a PM with a few questions about that possible 0.3 fork. If you'll send me the IRC info I'd be happy to help test as well.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] appdroid:
SODs

People with sods try using app called superdim;) works well. Keep Da_G updated about how it goes. Go to app > menu > Option > check fix no-wake-from-sleep and you will be fine.

If you want it to run in background menu > press Auto brightness and exit and it Will do it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] blackraven1425:
I have a 100% sod case. Use the app Thumb and open results screen. Let it fall to deep sleep. Generally I see sod when it falls to deep sleep and last thing on screen was an app rather than desktop.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] tejones36:
What does this do, just partially or fully eliminate deep sleep?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] appdroid:
For me it eliminated problem go ahead and try it. If it helps more people then it will be a good solution.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Girn:
so far so good.. click no sleep wake and then did auto brightness and close.. but what if I want the brightness set at 50% at all times for example? I see no option for manual brightness and close.. so how can I get it to stay in the background

*edit* got my first sod after like 24 hours
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] CZ Eddie:
With more than one kustom kernel available now, is it possible to give your kernel a custom name for the next release so that when we go to "about phone" in settings, we will know if we're running your kernel or not?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] appdroid:
Did you run the app in background?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Girn:
Yes if you read what I wrote..

Back to 0.3 now
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jermzz:
Sorry guys I haven't read every page but it seems like sod is when you don't receive notifications in deep sleep, correct? I don't have this issue, but ever since flashing this kernel once or twice a day my phone will freeze with the screen off and I can't reboot it without a battery pull. Not even in deep sleep, could happen 1 second after the screen turns off.

Anyone have this problem or know how to fix it? Stock voltage and MHz.

Thanks.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] :
That freeze you experience is sod. Sleep of death in other words it doesn't come back on from sleep state unless hold power button for 10 seconds and then let it boot up or pull battery and put back in the turn on

If running 0.42 or 0.43pre2 make sure to copy the 01cpu script to the init.d folder

I honestly haven't had sod with these kernels since I switched to tpc v3. With these kernels on skyrocketeer and stock rogers I did experience sod
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jermzz:
Damn. OK. Guess ill start back reading for solutions.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] GalaxySkyrocket500:
0.3 is the only stable kernel from daG... Been running it for a month.. no issues.. no sod.. nothing... every other kernel version has issues..

0.3 is it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Girn:
I think da g should rebuild .04 from .03 and maybe that could fix the issue? Just a thought ..
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] CZ Eddie:
Audio out through 3.5mm jack when docked is something I'd love to see added to this kernel if you ever get the spare time or inclination. :)

https://market.android.com/details?id=net.muteheadlight.dockredir
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] highlanderx:
Call audio and Mic?

Or just call audio and people listen through the phone's mic? Perfect in car system!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Schwaxdoc:
Ditto
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] blackraven1425:
Can someone post the link to 0.43-pre2?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sulpher:
http://xdaforums.com/showpost.php?p=20090801&postcount=462

---------- Post added at 09:31 PM ---------- Previous post was at 09:28 PM ----------

I'm running stable on .43 pre2. No crashes and no SoD so far, been running it since it was posted.. guess its varies some.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sanners38:
SOD

Running .42 I have only had SOD with juice defender running.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] merk88:
I never had sod with .42 but an hour after flashing .43 i started getting sod, i ran it for three hours no ov/uv and had three sod . Back on .42 and everything is fine
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sh4dow1:
I've being running .43 pre and no soD all day
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] blackraven1425:
Just hit a SoD with .43pre2
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] SalTNutz:
I have had MANY, had to switch back to .3
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] decimusmaximus7:
I definitely spend more time on 192mhz than deep sleep using this kernel compared to the Stock-ish 0.1 kernel.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Girn:
Would be really nice if Da_G could enable lagfree governer for 0.3 (even tho the changelog says it has it, it doesnt).. that would be gold.. if there a simple way I could even do it myself?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] chvietnk:
kept getting SOD on .42 and .43

just switched to .3 and it seems to be working fine
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] crispy1805:
.3 is the most stable. It still has the data off glitch with the mhl adaptor, but that is all, no sod. I could donate one to development since I am busy and can't stop by icq.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] LinuxNewb:
A lot of people are :(
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jermzz:
.3 here too. no more sod
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mbze430:
Still getting SoD ehhhh??? ;) lol
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Jooosty:
Where is the link for 0.3?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ruebarb:
Try reading the first post, you can't miss it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Killadude:
Hi da g,

Would it be possible for you to add either of the two options seen in the pic below to your kernel?

It would make voltage control sooooo much easier as there's no need to mess with command line and can be done via the app incredicontrol.

Thank you :)

Sent from nowhere
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Da_G:
Hi, actually the kernel does have SVS voltage control, that's why all the various other voltage control apps work, not sure why that one doesn't detect it!

The added sysfs interfaces aren't supported by any apps because none of them know they exist :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Schwaxdoc:
While we are on feature requests...any chance of supporting boot animation in 0.3? This would be the "perfect" kernel
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] blackraven1425:
In the first post.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] DrDarwin:
Just flashed the .42 kernel. I used setCPU to cap OC @ 1.78, and set the floor at 384. It's running smooth with no problems so far.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Schwaxdoc:
me too. Bacl to .3. Such a bummer.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] OFWGKTADGAF:
never oced before. but want to try this... do i have to set the clock at stages? or do i just pick a min and a max?