yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] bhundven:
Will do. Im also going to update busybox (stericson 1.19.3) and the new superuser.apk (build 41).

I also have more kernel clean up coming soon.

Hanging out with my daughter... So maybe tomorrow or Monday.
[Samsung Galaxy S (4G Model)] scoop_dtx:
Very confused... Very happy its fast if I have it....

I was using the Odin version of stock that was posted. Then I used Heimdall and was successfully happy on the B version.

I went into CWM and flashed the C version after doing wipe cache and davlik. This resulted in a full factory reset. What happened? It's cool... I like to reset anyway.

Then bc I was reset... I went back to CWM and flashed octaine v3.

The kernel still shows kj6 and has a c but do I need to go into Heindall and reflash the c kernel?

I don't know if I have the new stuff.
[Samsung Galaxy S (4G Model)] bhundven:
lol, I thought today was Saturday. Doh!

I'll whoop up a v0.0.2d here soon. It won't have any cleanup (that will be v0.1.0 beta3), but will have built-in bootanimation, updated busybox and superuser.apk.
[Samsung Galaxy S (4G Model)] bhundven:
Yea, I will fix that problem with v0.1.0 beta3.

The problem is, you have to set the LOCALVERSION of the kernel to the same LOCALVERSION as the proprietary modules or they won't load.

(2.6.35.7)(-T959VUVKJ6-CL694130) == (kernel version)(localversion)

I've seen one nasty hack to just ignore the local version of the module and load whatever, but that makes me super paranoid about rootkits and malicious kernel modules.

But, I was looking at the same spot of code they changed, and I could just add another branch condition to check for "-T959VUVKJ6-CL694130" and load it, otherwise check for the real localversion, then otherwise disable loading the module that doesn't match.

Then I can set the localversion to the version that the zipfile is named, so you know which kernel you are running.

I think raver packed my kernel, so you could possibly be running v0.0.2c.
[Samsung Galaxy S (4G Model)] scoop_dtx:
So when I cwm the octaine it just removed yours and replaced it with yours again from inside the rom?

Just want to make sure as it's all fast as heck.

But why did it wipe everything?
[Samsung Galaxy S (4G Model)] bhundven:
Right.

It seems that you did some wiping:

I can honestly tell you that I test my kernel before I release it, and have successfully flashed with cwm and heimdall without my rom factory resetting on every release. :cool:
[Samsung Galaxy S (4G Model)] bhundven:
Uploading v0.0.2d now.

I wanted to preload busybox, but it was too big :(

On the plus side, I added bootanimation as a voodoo extension, so it will be treated just like su and Superuser.apk.

Now all you have to do is make sure '/system/media/bootanimation.zip' or '/data/local/bootanimation.zip' exist, and bootanimation should just work.
[Samsung Galaxy S (4G Model)] tehgyb:
Crap there's no thanks button mobile.

So it'll work regardless of ROM,.or does the ROM need to be modded for it too?

Sent from my SGH-T959V
[Samsung Galaxy S (4G Model)] bhundven:
If you touch hold on the message, and let go, a little pop-up should appear where you can quote and give thanks! ;)

As long as the bootanimation.zip file exists and is either in /data/local or /system/media (it is opened in that order), then it will work.
[Samsung Galaxy S (4G Model)] tehgyb:
Thanks again man, great work! Also still no thanks button. No biggy I'll swing by and hit it tomorrow when i'm back at my comp lolllll

Edit: Worked like a friggin charm man!

Sent from my SGH-T959V
[Samsung Galaxy S (4G Model)] emod0705:
2d loaded and running..very well done..running Octane 3 great job finally a custom rom I can run with not a single fc!!
[Samsung Galaxy S (4G Model)] Core618:
Okay, whatever the battery issue was with initial it's gone with b, my Sunday use isn't as heavy as a workday but still....

18 hours after reset I was still at 51 percent this morning.

Flashed d this morning, to get caught up.

Core

Sent from my SGS4G using Tamarack Pro
[Samsung Galaxy S (4G Model)] de1packers:
This is a great project.very fast and stable..and with the addition off boot animation this project is progressive getting better....Can i all a big one..can we include the bln script or whatever it is..i think without an LED it essential..i know you mentioned this already but i hope you can expedite it..

Sammy 4g powered GB
[Samsung Galaxy S (4G Model)] krylon360:
Bln causes a lot of battery drain believe it or not. I'm sure if he does decide to do this, there would have to be 2 kernels, 1 with 1 without.
[Samsung Galaxy S (4G Model)] bhundven:
All I have to say for now is: no
[Samsung Galaxy S (4G Model)] Fluidification:
BLN is so annoying. If you want to check, just hit the power button and see the notifications bar.
[Samsung Galaxy S (4G Model)] MrPapito429:
Can I flash in odin
[Samsung Galaxy S (4G Model)] bhundven:
I didn't make an odin flash, because I don't want to enable more users to brick their phones with it. I know some of you are hard core odin fans, and I'm here to crush you.

Odin is a proprietary, unsupported piece of s(expletive deleted)...oftware.

I've had very good luck and usage of Heimdall, and it is open-source. People are working on it, and that means we will get updates.

Also, it's available for Linux, Windows, Mac OS X (all 32bit or 64bit).

So you can use the same tools on any system.

Sorry that I don't like Odin, but I

don't

use windows (whether I have to or not) and can't test the odin package... if I were to make one.
[Samsung Galaxy S (4G Model)] cnote74:
Any chance to get shutdown.zip support?
[Samsung Galaxy S (4G Model)] bhundven:
I'll look into it.
[Samsung Galaxy S (4G Model)] mzangui:
bhundven, you are the most organized dev I have ever seen. I bet you are one those who draw a flowchart before writing code ;)
[Samsung Galaxy S (4G Model)] bhundven:
:flattered:

What I am doing now, is what I do for work. Before it was a "Job", it was a hobby.

As it is a Job, I need to find a hobby to keep my brain busy. And here I am.

If I only had an NDA with Samsung that would allow me to get specs and still put out this open-source work... You guys would have even better stuff. Specs for our processor are available (for the s5pc110), but not for the specific chip that is in our phone (and the epic4g and a few others): KB100L00WM-A453

Yes, I write flow charts, use-cases and uml diagrams, network diagrams, and there are tons of other logic diagrams one could use to express, abstract or extract knowledge of a system.

But, with the kernel and lower-level parts, it's easier to just start by putting some printk's in the code that you don't understand to figure it out and just figure it out.

Like this change: https://github.com/bhundven/sgs4g_gb_kernel/commit/f7553545d9a9ad8d1545f07cb7910394e048523a

This code was riddled with my printk's, until I figured out how it worked.

Then it was straight forward, and the printk's were removed. That change is in the queue for Beta3-v0.1.0, which will now have a custom LOCALVERSION and still be able to load the proprietary drivers. So in the next version when you go to your "About Phone" screen it will say: 2.6.35.7-sms-kj6-v0.1.0

:D
[Samsung Galaxy S (4G Model)] mzangui:
this is the first time I see a code in java. I am using C# for most of my codes.

do they still using "goto" in java?! modifying a code like this shouldn't be fun!
[Samsung Galaxy S (4G Model)] bhundven:
Ughh... that is C.
[Samsung Galaxy S (4G Model)] mzangui:
so thats why it is so similar to C# except some extra pointer operators :D
[Samsung Galaxy S (4G Model)] bhundven:
You come from a different world, then I do. :)

I'm good with webpages like your good with kernels.

I mean... seriously:

Examples:

http://bhundven.users.sourceforge.net/

http://bryanhundven.com/

I guess at least I know what a div and css are... :)
[Samsung Galaxy S (4G Model)] Fluidification:
I like kernel, but boot takes too long. Please fix. It should boot like stock kernel.
[Samsung Galaxy S (4G Model)] Somairotevoli:
Beta beta beta beta beta, did I mention it's a beta.
[Samsung Galaxy S (4G Model)] bhundven:
Technically, it should do everything! Right? I mean... Code practically writes and tests itself :-P

Really... Pm me or post a comment here... But not both. The amount of time I spend responding takes away from hack time.

EDIT: eh... Im under a ton of stress and Ive spent a lot of time to get this far. If you check github (in my signature), you will see that Im still working on this... Late in the night... When I have time.
[Samsung Galaxy S (4G Model)] RaverX3X:
Boot is fine really its fast
[Samsung Galaxy S (4G Model)] Fluidification:
But it takes as long as the voodoo kernels.
[Samsung Galaxy S (4G Model)] bhundven:
Its on github. I give you the power to take a stab at fixing it... ;)
[Samsung Galaxy S (4G Model)] Fluidification:
That is the only reason why I have been staying away from the voodoo kernel. I am always in a hurry, and I can't wait an extra 10 seconds for boot. I have left the G1 era. (last year 8th grade)(Take phone out of locker, press end button)(walk 3 minutes)(bootanim starts)! Now as a freshman, I have my phone in my pocket, so usually leave it on, but sometimes(every 2 to 3 days)I feel my phone starts to go crazy, so I have to restart it. And I am just not patient!
[Samsung Galaxy S (4G Model)] bhundven:
It's also easy to have a problem and think it's the kernel, and not the rom, or the filesystem everything is running on.

I know my testing is isolated (and not very extensive), and this is why I'm posting it here... in this thread. I never expected any of the rom devs to use this kernel. But they know the risk and how to test their phones. They know how to make decisions for themselves.

If you "feel your phone starting to go crazy", then get some logs. It may not be as crazy as you think. But one really silly rom or kernel mistake can make your phone behave 'crazy'illy.

Beta, beta, beta... Test, test, test... Logs, logs, logs... << my new moto.

If you are not patient enough to send me logs of the problem you are having, then I am not patient enough to hunt down the problem you are having. It's just that simple. No proof, no pudding.
[Samsung Galaxy S (4G Model)] Fluidification:
It isn't the rom taking forever to boot. With the normal kernel, it takes a few seconds to get past "GALAXY S 4G" splash image.
[Samsung Galaxy S (4G Model)] bhundven:
After spending a while to compose responses to your pm's, I'm going to ignore this thread for a while. I can't respond to you and get things done at the same time. I'm just not that skilled. So either PM me OR post to this thread. But not BOTH!

You spend enough time complaining about it, that could have been spent on asking the right questions to build it yourself and start doing whatever it is you want to do.

In essence, you are waisting both of our time.
[Samsung Galaxy S (4G Model)] Zixx:
I'm using this kernel (2d) and for me it has been working flawlessly the boot time is super fast actually in my ROM and it becomes faster as time passes by.

Sent from my SGH-T959V
[Samsung Galaxy S (4G Model)] Shermer321:
Great work thus far. Any possibility of quickly adding a bln patch? I know nothing of kernels! Thanks for helping us out!
[Samsung Galaxy S (4G Model)] bhundven:
N + O = NO

EDIT: Search the thread for bln, read my answers.

This is NOT A RELEASED KERNEL. IT IS BETA!

(someone needs to make an animated image of the "This is sparta", with sparta replaced with beta)
[Samsung Galaxy S (4G Model)] dimitrie:
has anyone tried using this kernel with the KJ6 AOSP Style Official rom? if so, is it better than the KJ1 kernel that it comes with?
[Samsung Galaxy S (4G Model)] bhundven:
Right now: It's beta, baby!

Some roms it works perfectly, other roms it sucks. The more code I clean up, the more weird samsung code I unravel and question said code's value.

Read the op. Specifically the part about the plan!
[Samsung Galaxy S (4G Model)] IDisposable:
Personally, this is the best kernel I've ever run. It's quick and battery life is just fine. Thanks.
[Samsung Galaxy S (4G Model)] scoop_dtx:
14 hours constant email and voice on octane 3 this kernel.... Couldn't be happier. Heavy use.
[Samsung Galaxy S (4G Model)] makavelicruz:
I'm using this beta kernel with kj6 aosp official rom and so far no problems. No complaints here :-)
[Samsung Galaxy S (4G Model)] tablador:
I am running:

- AOSP Final

- This Kernel

- Lightning Zap

- Some CIQ Removal Deletions

- TegraK OC to 1.3 GHz

I've slowly been building up to this, starting with just AOSP+Kernel. So far, I have had absolutely no problems. Is it better than KJ1? Hard to say. But matching up the versions makes sense to me, and the bootanimation.zip is a nice plus. That said, its a beta kernel so be prepared for something to maybe not work. Just keep both kernels on your SDCARD and worst case (probably) is you have to jump into recovery real quick and change kernels.

Also, if you figure out how to capture kernel messages/errrors, you may be able to find some useful bugs and help out if you do have problems.
[Samsung Galaxy S (4G Model)] cannondale0815:
Am I correct in assuming that the CWM ROM restore function (after a complete backup) doesn't work and in fact never worked, not even on drhonk's kernels? It's complaining about not being able to unmount the system partition when I try.

Thanks

-J
[Samsung Galaxy S (4G Model)] Core618:
No, you are not correct...

I have done full restores from DrHonks cwm kernels, not tried it from this one yet.

If your having trouble with unmount, try fixing permissions and then try again, I did have that happen in the past.

Core

Sent from my SGS4G using Tamarack Pro
[Samsung Galaxy S (4G Model)] cannondale0815:
Thanks man, I'll give that a shot next time I have a need for it.
[Samsung Galaxy S (4G Model)] nazcalito:
I like your approach about getting all the non-4g code out of the kernel. I looked at the source code and there is all this stuff in there that seems to have nothing to do with cell phones at all, let alone this one.
[Samsung Galaxy S (4G Model)] htaak:
I believe that this is a known issue with all of our GB kernels, and has been addressed in other threads. The solution was to flash Froyo Bali 3.3, do the restore, then flash GB kernel back before rebooting.:)
[Samsung Galaxy S (4G Model)] Fluidification:
The full restore thing only worked on froyo.
[Samsung Galaxy S (4G Model)] de1packers:
Thought i was going crazy when the system didn't mount...

Sammy 4g powered GB
[Samsung Galaxy S (4G Model)] bhundven:
This will be fixed in the next version: beta3 2.6.35.7-sms-kj6-v0.1.0

Coming soon, to a forum near you...
[Samsung Galaxy S (4G Model)] ultimakillz:
Installed this today and it's working great so far. Keep up the great work! Looking forward to you're future releases! :D
[Samsung Galaxy S (4G Model)] RaverX3X:
Because atm the way cwm works its incapable of unmounting the system partition in gb to rw mode hence why u need to use the froyo 3.3 bali cwm to unmount the system partition..
[Samsung Galaxy S (4G Model)] Jerry D:
This will be a HUGE Development for our phone :D

Thank You for all Your Works on our phone bhundven!
[Samsung Galaxy S (4G Model)] hechoen:
Two words

Thank You
[Samsung Galaxy S (4G Model)] Caligula36:
I downloaded alogcat from the market to view and save the logs, are there any changes I should make to the settings for the log level and log format? Its currently set to verbose and brief respectively.
[Samsung Galaxy S (4G Model)] bhundven:
Just a little status update.

I found out why you are unable to unmount /system for recovery...

The silly problem is that if a process is running from a mounted filesystem, then said filesystem cannot be unmounted until the process is killed.

I got adbd enabled in recovery and found the only process running from system was(drumroll): tvoutserver

Yes, if you mount /system read-write and edit /init.herring.rc , at the very bottom is the tvout service. I commented out all three lines, adb reboot recovery, and bam! backup/restore works.

I have a freshly baked build of "CWM-based Voodoo Lagfix Recovery 5.0.2.7", now complete with "advanced -> Restart adbd" and "advanced -> Reboot to Download mode", but after some clean-up I did, I'm running into some other problems when actually booting android.

As they say... pics or it didn't happen.

v5.0.2.7 main screen:

v5.0.2.7 advanced screen:

v5.0.2.7 with all partitions unmounted:

(yea, the pics are dark, I guess that's how ddms rolls :( )

After I fix a few problems with the kernel (that basically stop android from being visible on the screen :-P ), I'll post up the new kernel and recovery.

Not to shabby for working from 11pm to almost 5am :cool:
[Samsung Galaxy S (4G Model)] FBis251:
Damn that's looking good. Any chance on getting USB SD card support through CWM? I forget what the exact name is. If you can get it working you're gonna make me happy.

Debugging CWM scripts requires me taking the sd card out, putting a changed file, putting the sd in, reboot recovery, try to flash, see if there's an error, repeat. =|

Thanks for all your hard work!
[Samsung Galaxy S (4G Model)] bhundven:
Do you mean USB Storage Mode (under the mount and unmount menu?). Yea, I got that working ;)

Ouch dude, that sounds painful. I just enable adbd by modifying recovery.rc (at the bottom), and enable "voodoo -> debugging". You can get su shell, logcat, adb push, etc...

I never take my sdcard out.

Your welcome!
[Samsung Galaxy S (4G Model)] xolanir:
Dude you're the man. Thanks for all your hard work.
[Samsung Galaxy S (4G Model)] FBis251:
I don't know why I didn't ask anyone about these things earlier. I was actually considering writing an Edify script parser to check whether an updater-script was valid. It gets so annoying sometimes 'cause it's so vague with the error codes. Even just ADB will make it easier, especially if I can get some wget love.
[Samsung Galaxy S (4G Model)] bhundven:
OP updated with new version.

Check the second thread for changes. Also re-read the OP for other changes and notes.
[Samsung Galaxy S (4G Model)] cannondale0815:
You are the man -- trying the new version out right now!

Works great -- and I very much welcome the new CWM. What a nice change after having been on the old one for the longest time!
[Samsung Galaxy S (4G Model)] iamperson347:
Flashed, works great
[Samsung Galaxy S (4G Model)] JAWheat411:
New recovery is awesome. I like the new additions. Some much needed features. It also looks like can unmount system again. Now my rom backups should work fine.
[Samsung Galaxy S (4G Model)] bhundven:
Damn, and I forgot to update the friggin Superuser.apk and /system/xbin/su.

Oh well, the next update will be focused on CWM initialization speed improvements (by popular request... Yes, it annoys me too, but I wanted more cleanup first.).

Again... If you find *ANY* problems, do report, and I will add it to my list for the next release. If you ask for bln or voodoo sound, I will ignore you.
[Samsung Galaxy S (4G Model)] cnote74:
In the future could you add a volume hack please to help when you talk in noisy environments?
[Samsung Galaxy S (4G Model)] Fluidification:
thanks bhundven.

LOL CWM initialization improvements
[Samsung Galaxy S (4G Model)] bhundven:
Doesn't Voodoo Control Plus help with this? (I guess only for headset)

I feel this request is part of built-in voodoo sound support.

Not yet... we're not there yet. :)
[Samsung Galaxy S (4G Model)] bhundven:
Heh, yea... Basically, this version (v5.0.2.7 with Voodoo Lagfix) is temporary.

In the next release, I'm going to rename that git repository and start all over again fresh. (EDIT: I meant to say the recovery repository. Not the kernel :) )

The next version will be "Forced Lagfix"... meaning that I'm getting rid of the option to convert to and from ext4, and just forcing rfs conversion to ext4 (like the epic4g... I'm actually looking at their device/recovery/initramfs tree for guidance). Doing this will remove all of those wacky /voodoo scripts and stuff. Which should improve boot time.

Hopefully with that next recovery, we can get it to Koush to update Rom Manager and have less of these messages in the general forum about "Rom Manager" breaking phones. :)

When that is done... It's full on to CM7!
[Samsung Galaxy S (4G Model)] adobrakic:
You're ****ing awesome man, just saying. Thank you.
[Samsung Galaxy S (4G Model)] vgcraze:
+1

Thank you for your work!
[Samsung Galaxy S (4G Model)] Fluidification:
This has just kick started future development!
[Samsung Galaxy S (4G Model)] Zixx:
Dudeeeee THANK YOU without you we would be hopeless in the kernel develope and future areas :p .

Again thanks and keep up this amazing work :D

I'm loving this new kernel

Sent from my SGH-T959V
[Samsung Galaxy S (4G Model)] ericmpanda:
Big thanks man really you are a hard working and very well organized dev here .
[Samsung Galaxy S (4G Model)] tehgyb:
Awwee snap
[Samsung Galaxy S (4G Model)] iHelper:
Thank u!! U just made my day! :)

-Sent From My Amazing SGS4G-
[Samsung Galaxy S (4G Model)] John McClane:
Christmas presents are getting better :p :D

Thanks for your work.

Cheers :cool:
[Samsung Galaxy Fit GT 5670] christo31:
ONlY WORKS ON WINDOWS

STEPS -

1. DOWNLOAD THE ZIP

2. ExtraCT it

3.click on “Show Android interface”.

4.The SuperUser process may ask you to allow “Usb tunnel”

5.CLick connect

6.Run your browser!!!!:cool::cool::cool::cool::cool::cool:

TNXX to capslock666

http://xdaforums.com/attachment.php?attachmentid=820705&d=1324196162

dont forget to press thanks!!
[Samsung Galaxy Fit GT 5670] DarshpreetGulati:
Good Job Man !!!!!:-):-):-):-P:-P
[Samsung Galaxy Fit GT 5670] sedhasukhdeep:
It might run on linux too use Wine :)

Good job!
[Samsung Galaxy Fit GT 5670] a.cid:
Awesome work buddy!!! :D

had been searching for this since ages...!!!

(though the speed feels like an issue, but nevermind!!!)
[Samsung Galaxy Fit GT 5670] ashish9277:
Im not getting the reverse tethering on my fit..My pc shows status as not connected and my phone shows connected and service is running . Im on service pack 3 ...What should i do ?
[Samsung Galaxy Fit GT 5670] chintu1990:
not working

yeah not working with me too... on cm7.1 and windows 7 pc...

---------- Post added at 09:05 PM ---------- Previous post was at 08:57 PM ----------

not working on cm7.1 and windows 7 pc
[Samsung Galaxy Fit GT 5670] christo31:
hey if its not working then

check whether usb debugging is enabled or not
[Samsung Galaxy Fit GT 5670] ashish9277:
My usb debugging is enabled and phone is rooted. Im using Crystal blue theme made by Rishee on KQ5 and using windows xp. What can be the cause of the problem ?
[Samsung Galaxy Fit GT 5670] christo31:
did u click the show android interface icon

click it

and then look at your phone some usb tunnel may come in the notification bar
[Samsung Galaxy Fit GT 5670] sabby06990:
awesome man!!! finally its working in cm7 OC!!! ;) ........ but you cant download stuffs from market using this !!! :(
[Samsung Galaxy Fit GT 5670] framequake:
Nice, pal

Finally working :)
[Samsung Galaxy Fit GT 5670] wilfredcool007:
Urgent

the download link provided says its an invalid attachment....
[Samsung Galaxy Fit GT 5670] chandramani123:
invalid attachment
[Samsung Galaxy Fit GT 5670] christo31:
dont forget to press thanks!!!:d:d:d:d:d:d:d:d:d:d:d:):):)
[Samsung Galaxy Fit GT 5670] wilfredcool007:
Formal

Good work... workin like a charm.. but y isnt market workin.... :O
[Samsung Galaxy Fit GT 5670] christo31:
really !!!!! i guess market should have had worked the only thing thats not workin is market donwloads
[Samsung Galaxy Fit GT 5670] wilfredcool007:
only the browser is workin but the apps like FB viber etc asks for internet package

i hav no idea y is it like that
[Samsung Galaxy Fit GT 5670] reikableu:
For me, on my devices it does say connected thoughit says that it is waiting fo the lient, though on my pc... every port says not connected... and i can't brose the internet...