yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] Somairotevoli:
Me and another were having this same issue reported back on page 20. I also had it happen with Valhalla black. I too was debloated.
[Samsung Galaxy S (4G Model)] stephen_w:
I reverted back to beta 2d around 3:30pm yesterday (CST) and have not had it reboot since (yet).

One other thing I forgot to mention that I've done is I manually removed the FOTA files. I wouldn't think that should have an effect what so ever but I figure it might be smart to mention it just in case.

--- EDIT ---

Update - Thus far I've not had a reboot since reverting to beta 2d.
[Samsung Galaxy S (4G Model)] 651stp:
thanks for the great kernel, running flawlessly on my girls gs4g. Makes the phone feel like butter and battery life is amazing paired with vahalla final. I wasnt able to find anything on it but is BLN being implemented or worked on for this specific kernel?
[Samsung Galaxy S (4G Model)] Somairotevoli:
Re-read original post for bln info.
[Samsung Galaxy S (4G Model)] htaak:
Having the random reboot also. Only when the phone is just sitting - it has never happened while I'm using the phone It seems like it may be a hot reboot rather than full. I say that because I don't feel the vibration on my desk when it shuts off - I only notice it because I hear the startup audio and see the phone is in the middle of the boot animation.

Trying to get a logcat for you - Just real busy at work right now and I haven't been able to reproduce the reboot with any specific user input / action. I'm running Valhalla Final with your latest Kernel version. No other mods.
[Samsung Galaxy S (4G Model)] bigtom624:
It happened Rom me once, right after I flashed the latest beta. I went back to the one before that and it hasn't happened to me since.
[Samsung Galaxy S (4G Model)] AntonX:
With v0.0.2d the phone definitely does not reboot itself anymore.

But my battery life is still worse than usual.

It looks like the battery is being eaten by mmc_delayed_work Kernel wakelock.

I now suspect the krylon's NOCIQ ROM because as far as I remember when I ran stock with 0.0.2d the battery was fine. I'll try to flash back to stock today if I have time and see how it goes.
[Samsung Galaxy S (4G Model)] stephen_w:
Yeah, since reverting to beta 2d I've not experienced a single random reboot.
[Samsung Galaxy S (4G Model)] bhundven:
I know that some roms dont require factory reset and wipe, but please try that. Im wondering if my kernel requires a wipe.

Also, after the rom is booted, let it sit for a half hour before you touch it to let the cache/dalvik build.
[Samsung Galaxy S (4G Model)] stephen_w:
I'll give that a shot in a bit & let you know :)

--

I:

1. Did a nandroid backup

2. Did a wipe data/factory reset from within CWM

3. Installed "sms-T959V-KJ6-v0.1.1-rc1-unsigned-update.zip

4. Rebooted

And now we wait :)
[Samsung Galaxy S (4G Model)] bhundven:
People keep complaining about cwm packages not installing.

I've updated the OP to remind you that amend scripting no longer works in cwm and you need to make sure you are using the edify updater-script and update-binary.

Without logs, I

REFUSE

to help you!

ADB is enabled in recovery (if you turn on voodoo debug). Start logcat before you apply a package, install the package that fails, review the log.

If it is a problem with my recovery, please post to this thread.

If it is a problem with the package, complain to the maintainer of the package with the logcat.

I can't believe that I have to say this again: NO LOGS, NO HELP.
[Samsung Galaxy S (4G Model)] adobrakic:
Hey bhundven, I recently had my phone randomly rebooting, and posted the issue here. A fellow member suggested that I downgrade to beta 2d of the kernel, and it seems to have fixed the issue. If you want, I'm willing to reflash the latest version of the kernel, and run logcat until my phone reboots itself again, so you can get whatever it is you need to work your magic. Would you like me to do so?
[Samsung Galaxy S (4G Model)] bhundven:
I am not able to reproduce this issue. The logcat doesnt seem to show what is causing the issue. I've given directions... in this thread... on what I want you to try and Im not going to say it again because you can search.
[Samsung Galaxy S (4G Model)] Somairotevoli:
Like a full wipe? Been there done that, like page twenty.
[Samsung Galaxy S (4G Model)] adobrakic:
Oh, sorry, I wasn't aware that it has already been addressed.
[Samsung Galaxy S (4G Model)] nazcalito:
Finally we don't have to run 2.3.6 with a 2.3.5 kernel. This is great.
[Samsung Galaxy S (4G Model)] bhundven:
Indeed.

Ok. I'm going to be afk for most of today.

I will have another update when Krylon360 messages me again to help fix this boot animation support (seems broken still).

In the mean time, find bugs! (besides bootanimation, or missing features (like voodoo sound, or bln... etc...)) like: "X doesn't work properly, it does this and that, but not what it should..." ;) Be descriptive as you can. Better yet. Post a logcat and dmesg.
[Samsung Galaxy S (4G Model)] Vicious89:
internet is messed up sorry for double post if there is. I read the OP still confused and have a couple of questions if you dont mind.

What does flashing this kernel kj6 do to the phone?

Im on Octane 2.x 2.3.5 rom with voodoo ext 4 enabled will flashing this erase or replace anything?

Is this kernel compatible with with other roms or only kj6 2.3.6?can you mix and match?

Do I have to disable voodoo and convert before i flash this?

Will this kernel carry the kj6 wifi improvement over to other roms if i were to flash this?
[Samsung Galaxy S (4G Model)] makavelicruz:
I was having the same issues with superuser and with the binary updates. All I did was uninstall superuser in market and re-install it again. That seemed the fix the problem for me.
[Samsung Galaxy S (4G Model)] cnote74:
No need to disable voodoo, you can flash this on any gingerbread ROM, and wifi works good for me.
[Samsung Galaxy S (4G Model)] Fluidification:
wifi isn't going to change unless you have official KJ6.
[Samsung Galaxy S (4G Model)] AntonX:
Thanks bhundven, the kernel seem to work great. May I ask why did you decide to include si4709 module? I always thought that SGS4G never had FM tuner silicon on board. Or some of them actually do?
[Samsung Galaxy S (4G Model)] nazcalito:
bhundven I just wanted to tell you, your new kernel seems to have restored stability of my phone at 1.4 ghz OC. For at least a month and a half the combo of KJ6 (2.3.6) with Dr. Honk's KJ1 kernel (2.3.5) has been unstable on my phone and lead to spontaneous reboots even at 1.2 ghz OC or no OC. This is a really good deed of yours to get the final 2.3.6 kernel out with CWM and voodoo lagfix.
[Samsung Galaxy S (4G Model)] flip193:
So if I'm on stock gingerbread software, all I have to do is root and put this on my sd card and go to the default cwm which is green and has those 4 choices for reboot, reinstall packages, and I forgot the other 2.. But I click reinstall packages and thats it? Then when I reboot the phone and open clockwork I will have the modded clockwork where I can install a file from zip or am I completely wrong?
[Samsung Galaxy S (4G Model)] bhundven:
Lets see what we can do about this. Now that we can put printk's in the wireless driver and use ftrace (possibly even systemtap), we can get a lot of runtime info out of the kernel and make things better.

To continue to be consistent with what I am planning:

Clean up the code. Remove anything that is not specific to the phone that is different then aosp kernel/common's android-2.6.35 branch.

Take the difference that represents what makes our phone work and rebase the changes on top of android-2.6.35

By doing this, there is less code to merge if we wanted to... say... go to 3.0.1 for ICS. But it's really not that easy. There maybe other issues, but that's the plan.

For the 2.6.35.7 kernel here in GB, cleaning up the code base also helps with running gcov and other code analysis tools so we can find other basic performance and stability issues.

The idea of me even posting a beta is to find out what we got from Samsung, and what I can do without breaking support for rfs/fsr.

So if you want some half-a$@ kernel with voodoo-sound and bln and whatever else on something this early, then fork my kernel where it is now, and go for it! ;)

But if you want a really responsive phone without having to mess with OC/UV, then be patient. :D
[Samsung Galaxy S (4G Model)] KAsp3rd:
bhundven,

If you can jump in IRC, I'm on TeamWhiskey's freenode chat. I got a couple of questions, I've been working on this myself and perhaps would like to get some info from you... Thanks ahead of time
[Samsung Galaxy S (4G Model)] elinca247:
Thats Weird cause vodoo sound is working for me.
[Samsung Galaxy S (4G Model)] bhundven:
Yes, the Voodoo Control Plus app works nicely.

The Voodoo Sound everyone else is talking about is the "built-in to the kernel" variety.

I'm using voodoo control plus too! And tegrek (granted, not using it right now), and a bunch of other apps.
[Samsung Galaxy S (4G Model)] scoop_dtx:
Mine too... Yay so excited!
[Samsung Galaxy S (4G Model)] itzik2sh:
Hi Bhundven

Good work. For some reason my wifi doesn't work. I tried flashing beta 2b and reflashed modem and fixed permissions, after a few idle minutes it worked, put it in charging, returned, wifi doesn't work. Flashed KJ1 kernel wifi works again. I'm on new icbinb official 2.3.6.

10x.

Sent from me
[Samsung Galaxy S (4G Model)] scoop_dtx:
thanks!

So far so good, Linda is talking and reconverting my partition on initial boot.

I just happen to odin a few weeks ago the official kj6 but happy to have a kj6 Kernel with CWM so I can flash the debloated / zip aligned stock.

for now...i'll keep it stock with your kernel and report back!
[Samsung Galaxy S (4G Model)] bhundven:
I've been using wifi all day. You must have done it wrong.
[Samsung Galaxy S (4G Model)] Zixx:
Man thanks for this ,is nice to have some new kernels to flash for me its working great, i'm currently running Dsex kj6 with ics theme and is running amazingly awesome,

Thanks for the kernel again and hereto up the great work

:D

If my post help(Ed) you plz say THANKS :D
[Samsung Galaxy S (4G Model)] neotoky:
hey zixx, where did you get the ics theme? Is it the one from the themes and apps? Thanks.
[Samsung Galaxy S (4G Model)] tehgyb:
In the theme and apps section, theres the thread for the valhalla ICS theme... inside that thread a Racing#####(Forgot the number sorry!) ported the theme to KJ6.
[Samsung Galaxy S (4G Model)] neotoky:
Thanks gyb.
[Samsung Galaxy S (4G Model)] tehgyb:
Tracked down the post for you, Im pretty sure this is the right one XD

http://xdaforums.com/showpost.php?p=20020850&postcount=61
[Samsung Galaxy S (4G Model)] geekilized:
I reflashed KJ6 ICBINB and reflashed this kernel (latest updated) but I am still having the same issue with su binary going back to the old one after each reboot.
[Samsung Galaxy S (4G Model)] bhundven:
For those having problems, check this out:

[Heimdall][One-Click][UVKJ6] The KJ6 Heimdall One-Click Collection [12/07/2011]
[Samsung Galaxy S (4G Model)] Caligula36:
Thanks bhundven for the full explanation, I'm sure I'm not the only person who thought of flash memory as operating in the same manner as a conventional hard disk. So i take it the yaffs2 system is not something even the newer SGS2s are using, but its universal to the point that you can implement it here? This is just for the phones system files or will it affect the rest of the data, as in needing to reformat? Sorry for the noob questions.
[Samsung Galaxy S (4G Model)] bhundven:
Sadly, if you imagine bml0 (IPL/PBL) to a little past bml12 is the whole of the flash device.

Going to MTD means bml0 becomes mtdblock0.

Doesn't have a filesystem to convert, but with MTD platform device support you can mark the partition as read-only by the kernel. (so userspace cant even do any evil to the PBL.)

Any partition with any kind of filesystem will need to get converted to yaffs2.

So moving forward to having a kernel that can convert between all three means we can also have another kernel that is pure mtd & yaffs2 that can do cooler things because it isnt restricted by the fsr/rfs modules.
[Samsung Galaxy S (4G Model)] Caligula36:
So our cards and phone's built in file system will need to be converted to yaffs2, though how will this ultimately affect our older saved files such as music and pictures as well as any saved backups we want to use to restore our data after installing the new kernel? Will conversion happen on the fly? From what ive read in the link you posted and others on wikipedia, i dont fully understand the process, though from the points in the articles, it looks to be a good system to adopt for our phones. While im sure im oversimplifying all this, im trying to understand how this will benefit someone like me as the end user.

I was going to wait for Ravers big miui project to drop before upgrading but i think i may try this out in the mean time. What can we do to help you get the data you need to weed out the bugs? Im not familiar with the ftrace or systemtap you mentioned.

Thanks again for all the effort youre putting into this, i wouldnt think theres so much involved.
[Samsung Galaxy S (4G Model)] HolyGhostBoy1:
Kernel

hey this kernel is working great for me and so is the wifi not having any problems with it. Cant wait till u update and we get voodoo sound control.:D
[Samsung Galaxy S (4G Model)] adobrakic:
Voodoo Sound works just find for me. Did you go back in to the app and give it superuser controls?
[Samsung Galaxy S (4G Model)] bhundven:
What I explained is pretty high level. The devil is in the details.

Only the internal storage needs to change.

The sdcard can stay ext2/3/4 or fat (where your pictures music and other stuff is stored) and does not need to change.

I wouldn't put money on either horse coming out first, nor would I want to put pressure on either. We'll both get projects done when there done.

The road we're on is at least half-month long (of clean-up and testing) till I do new cwm and look at mtd+yaffs2.

This thread is a WIP, and what I'd like to see is the title include 'ICS CWM + Voodoo' someday, but we have to start at 0. That is where we are at.

As far as testing goes. Try this kernel with other GB roms. Find problems. Try not to include extra's (like speed tweaks, OC/UV, or other things that can change the behavior of the kernel) if you want to report issues.

If you find a problem, and you have tweaks installed, try wiping everything and flashing everything over fresh. Then try to reproduce the issue.

This helps to isolate where the problem *REALLY* is. Instead of pointing fingers and saying this or that is to blame. It causes more harm then it does good.

Try to be specific when you have a problem. Provide logcats and other useful info.

Think Science, not magic. :)
[Samsung Galaxy S (4G Model)] bhundven:
Bad Link!!! Look Out!!!

IDisposable found that the first link in the 2nd post (not the op) was wrong:

The link to:

sms-T959V-KJ6-v0.0.2b-unsigned-update.zip

Was actually pointing to:

sms-T959V-KJ6-v0.0.2-unsigned-update.zip

Sorry about my typo.

If you downloaded what you thought was the newest (at this point: v0.0.2b) from the 2nd post, please try again and flash the latest!

Thanks again IDisposable for pointing that out!
[Samsung Galaxy S (4G Model)] streinjer:
So i downloaded the beta 2b from the second post last night..which you are saying is not the latest yea?is that the one you are talkin about?

Got it! I saw the file name and yea it wasnt the 2b. Didnt even noticed it. Downloaded the latest. Thanks
[Samsung Galaxy S (4G Model)] geekilized:
Thanks for the clarification. No more su binary outdated notification.
[Samsung Galaxy S (4G Model)] krylon360:
The best thing to do, exp when testing out a kernel, is just use the kernel stock, no tweaks or any extras as what bhundven stated. Also, just have logcat running all the time, from the time you boot the phone and all during testing. Then if you see an error, you dont have to say to your self "****, forgot to logcat" it really helps debugging.
[Samsung Galaxy S (4G Model)] scoop_dtx:
So far on stock, using ravers Odin file this is very fast.
[Samsung Galaxy S (4G Model)] finch8423:
You've made great progress. I plan on wiping my phone clean when I get time (maybe Sunday) and installing this- I'll run logcat and make this thing run every conceivable process.

Thanks.
[Samsung Galaxy S (4G Model)] itzik2sh:
Hi Bhundven

All wifi & BT problems i had were related to the Hebrew tweak (hebfix) i used which messed with the framework.jar, libandroid.so & libwebcore.so and not to kernel, modem or ROM.

I neglected that and it's now all good, using KJ6 kernel & modem on SimplySimple ROM.

I updated my RTL post on general forum.

Now my Hebrew support sucks but it's better than all phone to suck. On Valhalla 1.1 (android 2.3.4) it worked fine. What do these files do anyway?

10x.

Sent from me
[Samsung Galaxy S (4G Model)] krylon360:
FYI, language support should NEVER touch any jar files or .so files. should only be framework-res.apk, lantinime.apk, and a few others.
[Samsung Galaxy S (4G Model)] ericmpanda:
And alogcat is great for nub loggers also I believe it reads everything from the time you booted phone so you dont get that oh **** moment I forgot to run logcat also errors appear in red
[Samsung Galaxy S (4G Model)] itzik2sh:
Hi Krylon

With Hebrew everyghing is so damn complicated, since it's right to left but English and numbers are left to right and we do use sentences with mixed possibilities, all Hebrew support fixes are touching the framework.jar and lib files. I'll try finding a solution that will work on 2.3.6 and future ROMs...

Sent from me
[Samsung Galaxy S (4G Model)] bhundven:
Sorry, this is off-topic for the kernel.

Please start a thread in General or Q&A if you want to continue this conversation.

Thanks :)
[Samsung Galaxy S (4G Model)] Core618:
Flashing to 02b in a few minutes.

I've been running on the initial beta since right after the OP went up. No modifications, no tweaks.

2 things to note, in comparison with the stock KJ6 - the only two things I saw as issues.

1 - wi-fi was not as good - One of the AP's in my office I was seeing about 60db on with the stock runs at about -85 to -90 on the initial beta.. I checked and rechecked over the past few days, but it was fairly consistent across the board.

2 - battery life - on the stock kernel (assuming it was stock) in Raver's KJ6 release I could leave the phone off the charger for 30'ish hours and still be at 30% but I'm seeing maybe 18-20 hours total right now on the initial beta kernel.

18-20 hours at a moderate/heavy usage is not a problem, since I'm rarely gone from home that long, so keeping it charged is not an issue.

Wi-Fi is always on, BT is always on, email flows like water, etc.. so not a complain, just an observation for your notes. I didn't notice any posts about battery life, but I've had similar, or worse with just about all of Dr. Honks cwm kernels as well... so anyone coming from one of those might not even notice it. If I hadn't run the stock for a couple of weeks I wouldn't know the difference.

So, off to flash the 2b and run it for a couple of days, while we wait for whatever you have planned next.
[Samsung Galaxy S (4G Model)] Vlad_z:
@bhundven

If it possible for you to compile CIFS.KO module for stock KJ6 kernel I would highly appreciate this.
[Samsung Galaxy S (4G Model)] bhundven:
The kernel I have posted is essentially stock kj6. It has cifs.ko (note in the op)

I am not planning on modifying the stock kj6 kernel binary. Sorry.
[Samsung Galaxy S (4G Model)] mzangui:
+1 on battery life

also, the "writing data" step of the quadrant takes longer than drhonks kernels
[Samsung Galaxy S (4G Model)] bhundven:
Search through this thread for 'logcat'. You should find a note for me on providing me more information if you have a bug, or battery issues, etc.

Also attach bugreport.txt and dmesg.log:

adb bugreport > bugreport.txt 2>&1
adb shell dmesg > dmesg.log

Sorry to use this message as a scape goat, but...

@Everyone - If you find problem, please provide me with useful information that will help me help you.

Together we make our phone better, as a team, not as one person. :)
[Samsung Galaxy S (4G Model)] bhundven:
Good to know. Please provide more info. (see my previous message)

drhonk's kernels were stock (built by Samsung) with modified initramfs.

My kernel is stock built from source with the modified initramfs from kj1 with cwm+voodoo. There are differences here. Samsung stripped out some of their proprietary code and some other things I feel are different then what they released. I'm currently trying to clean this up (as I've said before).

Also this is beta, lets keep finding issues and posting bugreports and logs!

Thank you very much for testing and at least giving feedback!

I really appreciate it!
[Samsung Galaxy S (4G Model)] Vlad_z:
Can you extract cifs.ko from your compilation into separate file and post it. I will try to load it with stock kernel.

The same way I've done it on my Samsung Galaxy 10.1 tab running stock kernel with pershoot's cifs.ko module.

#insmod cifs.ko
[Samsung Galaxy S (4G Model)] Core618:
Saw that and will do.

Updated to current version after my last post, I'll calibrate in the morning after a night on charger and work from there.

Core

Sent from my SGS4G using Tamarack Pro
[Samsung Galaxy S (4G Model)] bhundven:
You can do it! You can do it all night long! lol

http://lmgtfy.com/?q=xda+kernel+repack
[Samsung Galaxy S (4G Model)] bhundven:
It's interesting, because I'm running Krylon360's nociq 2.3.6, and my battery life is ok. No problems here.

I actually haven't noticed any problems, besides an every now an then FC when I don't let android warm up and unlock the lock screen right when it becomes available. Maybe I need to update if he has posted a newer version.

When I'm not on my crappy AP, wireless seems to work fine. (wifi analyzer shows -30 at 15 feet)

Since I disabled debuginfo, and a few other debug config options, this kernel seems snappy... for being so close to stock. I hope drhonk gets time to update his bali kernel... you guys will be in for some good kernels soon, hopefully!
[Samsung Galaxy S (4G Model)] Vlad_z:
no need to Google it for me... I've read those guides. It would require to install Linux and tool chain to deal with arm code and I am working on Windows. I just thought that it might be easier for you to just post that module cause you already have that environment up and running...

oh well, if you are not interested just say so...
[Samsung Galaxy S (4G Model)] bhundven:
I use vmware (fusion on my mac) ;) you could also install virtualbox.

(I cheat on my mac sometimes... I have a 4core xeon x3220 at home and a dual proc xeon e5645 at work)

I did:
[Samsung Galaxy S (4G Model)] bhundven:
OP updated to v0.0.2c. No kernel code changed, just updated initramfs.

Bootanimation now works if the rom supports it! Thanks to help from Krylon360 and RaverX3X!
[Samsung Galaxy S (4G Model)] RaverX3X:
yw man just glad all the fn miui work i been doing lol actually worked out for the stock roms as well :P
[Samsung Galaxy S (4G Model)] silverspoon80:
oh, nice! ya'll boys shakin **** up like scott brown.

keep up the good work.
[Samsung Galaxy S (4G Model)] bhundven:
Oops,

I forgot to add the test to make sure /system/bin/bootanimation exists and is executable.

I deleted the old v0.0.2c on the file server and reposted it again.

If you downloaded 2c, please get it again. This will make sure bootanimation works, if the bootanimation exists.

Sorry for the inconvenience.

EDIT: Thank goes to Raver for pointing it out!
[Samsung Galaxy S (4G Model)] xolanir:
Just wondering if I can flash your kernel on the new octane from Raver or will it cause problems? Thanks in advance for the help.
[Samsung Galaxy S (4G Model)] cybok0:
J

The one on the OP or the one on the second post?
[Samsung Galaxy S (4G Model)] krylon360:
can we add a bit init.rc and put the bootanimation binary in /sbin and have it load it from there? this way it will always run, and work on every rom?