yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] hittzman:
Just came back from the Play Store, :laugh: I did see that post you told me about, Im gonna give it a try,

I'll post back and let ya know how I made out. Thanks Champ.

EDIT> Ok Champ, I just flashed this kernel without having to use the fix. SuperSU never installed (this time) I still JUST have Superuser, so all seems to be fine.

Thanks again for your help. I am appreciative of the whole XDA Community.

PS> I do see one difference, I went from CWM voodoo lagfix v.5.0.2.7 TO CWM based recovery v.5.0.2.8

EDIT> I cant seem to restore a backup made with "Basic with a Twist SGS4G KJ6 1.1.3" which contains cwm 5.0.2.8 and stock GB rom. This kernel feels perfect but I have tried

to do this 4 times and it just will not move beyond the Galaxy S 4G Samsung screen. When I use Subtly Modified Stock for T959V KJ6 v0.1.1-rc1+ all restores perfectly.

I am sure I am restoring the backup made from the same kernel. Please enlighten me on resolving this matter.
[Samsung Galaxy S (4G Model)] yentlequible:
Dropbox isn't working at all. Can I get a mirror?
[Samsung Galaxy S (4G Model)] th3controller:
Wish granted, you have 2 left.
[Samsung Galaxy S (4G Model)] XDM inc:
Does this kernel support bootsounds? I do like those...
[Samsung Galaxy S (4G Model)] echow2001:
Thanks! May I mirror this on AFH so future generations can also have access to it? Its ok if you don't want me to, that's why I am asking ;)
[Samsung Galaxy S (4G Model)] mribraqdbra:
It's nice to hear that and I already uploaded to my cloud but I think we have to trust the XDA

All the best.
[Samsung Galaxy S (4G Model)] m0bstr:
so your going to add BLN whenever you get time???
[Samsung Galaxy S (4G Model)] lumin30:
This is what is awesome about AntonX. He asked for voodoo sound, posted information in FB's kernel thread he found using google on how to add voodoo sound - and Raver told him this:

Notice the last line in Raver's quote. Now we have a stable kernel with voodoo sound. Why you guys keep on and on asking for bln blows my mind. You seem so ungrateful and impatient. Follow AntonX's example and get to work adding bln or shut up and wait for him to develop his kernel how he sees fit.
[Samsung Galaxy S (4G Model)] Theraze:
He's the one who asked to be pushed to reconsider... people are just chiming in and doing what he asked.
[Samsung Galaxy S (4G Model)] GFX.myst.:
will upload to my site if it's ok with op. will help out cause there are no download limits. :p

btw, not having any issues as of yet. still testing though.

sent from within pure untamed darkness
[Samsung Galaxy S (4G Model)] mike-y:
Working great here too after about 16 hrs. I was having a really bad battery drain with the newest BLN kernel from bryan/FB. Tried wiping caches, factory reset, and reflashing the ROM, but it seems like that kernel didn't play nice with valhalla final.

So far having very good battery life and no reboots/crashes with this kernel.

how hard would it be to have 2 versions of your kernel? One with BLN and one without. I wouldn't use BLN (and don't want anything extra that might impact stability).

btw, whoever mentioned that noLED app, thanks. it looks like a really good alternative to BLN, trying it out shortly.
[Samsung Galaxy S (4G Model)] htaak:
NoLED is a great app, took me a little while to get it set-up to my liking, but having customized notifications for each app is awesome. as for BLN I can take ot or leave it.

Kernel still continues to be great. No reboots, fantastic battery life and VOODOO SOUND!:)

Very stable.
[Samsung Galaxy S (4G Model)] mike-y:
Also, found another similar LED app called "iLED Lamp" which is a simpler/smaller alternative to NoLED.
[Samsung Galaxy S (4G Model)] RaverX3X:
ya i replyed to the ext 4 vs mtd as it was the wrong thread. Second off with voodoo sound your just doing the same thing over vs cm dsp expect paying for it....

Gratz he added it. and used google to do it..
[Samsung Galaxy S (4G Model)] lumin30:
I just think it is great he wanted something - so he learned and made it. And did it well. Good lesson for all!
[Samsung Galaxy S (4G Model)] RaverX3X:
wasn't knocking it.
[Samsung Galaxy S (4G Model)] iamperson347:
I'm using the free voodoo app, and it works fine
[Samsung Galaxy S (4G Model)] eollie:
AntonX been using this since you released it only probs, I've had was a app locking up. It was the app not the kernel good work man!
[Samsung Galaxy S (4G Model)] xaocon:
Congrats on making your own! Not using it but I hear it's great.
[Samsung Galaxy S (4G Model)] g4ry12:
Same here. The free Voodoo Sound app does work with this kernel.

And it works great! Did not expect my phone to produce this kind of sound.

The battery life is amazing! The battery gets drained very little when the phone screen is off.

And no reboots so far! This is fantastic.

I also tried Temple Run (a resource hungry game), and it actually did run better.

This kernel is definitely a keeper. Thank you Anton!
[Samsung Galaxy S (4G Model)] nazcalito:
This kernel works very nicely on my phone with no problems as far as I can see. Haven't tried any music yet but the Voodoo sound enhancements are there.
[Samsung Galaxy S (4G Model)] AntonX:
Just looked at BLN implementation. I will need another vote on this, as I'm uncomfortable adding it. Here are few things to consider.

1. The port from BLN's developer Neldar for I9000 has some GPIO line config modified in file gpio-settings.h. But this file is not even used for our phone, we use file gpio-settings-vibrantplus.h. I tried to make exactly the same mod in this file but it didn't make any noticeable difference in the end. I have no clue what the purpose of the GPIO mod (you'd need good knowledge of the hardware for this), so it's impossible to tell the consequences.

2. The dmesg log shows multiple lines "cypress_touchkey_driver 10-0020: i2c write error", which happens in function i2c_touchkey_write_byte, file cypress-touchkey.c. Same in Bryan's kernel. I added some tracing code, it seems that it only fails when called form disable_touchkey_backlights, hard to say how important it is, but definitely a concern.

3. The whole BLN thing doesn't seem to be stable. Sometimes is works, sometimes it doesn't. But if it doesn't work even a small number of times, then it doesn't serve it's purpose at all. You'd always be unsure and always check the messages anyway just because you can't trust it.

In the end I don't want to maintain two versions, one with BLN and one without.

So the vote. Do you still want to add a potentially badly ported and/or buggy implementation of BLN?

Oh hell, here is the link so you can try (don't want to update OP until we decide):

http://dl.dropbox.com/u/74713966/sms-T959V-KJ6-antsvx.v1.0b2.zip
[Samsung Galaxy S (4G Model)] mikhail777:
Honestly, all bln is good for is having 4 little icons light up. Why go through a headache and troubleshoot other issues? I'd rather have a blinking led to notify of a msg or low Batt, but our phone doesn't have it and.. I'm capable of checking the phone for notifications manually. What's so big about bln lol? Anyways, great kernel no reboots everything is running smooth!
[Samsung Galaxy S (4G Model)] ipaq_101:
Anton, I am testing it now and will let you know, thanks!
[Samsung Galaxy S (4G Model)] xaocon:
I like bln and don't have problems with it being flaky. Do what's right for you
[Samsung Galaxy S (4G Model)] ChadBFlores:
I prefer stability over bln, but like stated above me, do what you think would be best
[Samsung Galaxy S (4G Model)] eollie:
My opinion is this. Do you want to mess with people complaining bln doesn't work? If not refer people to app, it's not like they don't need a app anyway for bln.
[Samsung Galaxy S (4G Model)] ipaq_101:
Damn calm down, when did this turn into a bln vs non-bln thread?

Use it if you want, if you don't then there is a perfectly working alternative, stop your crying.

Anton has put both up, use what you want, and btw so far Anton's bln version has been working great for me.
[Samsung Galaxy S (4G Model)] IDisposable:
No, thanks. Too risky for tweaks that do nothing but burn battery.
[Samsung Galaxy S (4G Model)] bhundven:
You guys are silly :D

Regardless of AntonX putting bln in or not doesn't matter if it's not enabled (well, it shouldn't. If it is, let me know.).

You need the bln app to enable it. Which then eats your battery ;)

Audio notifications work for me.

Dude, just put bln in, and let this conversation be over... to dawn the new morning of butthurtty "my battery is draining faster". :D
[Samsung Galaxy S (4G Model)] Beastmode:
I'm on beta 2 and my battery is draining fast...lol flashback to every other thread when u put bln in ur kernel bhund :P

As for this kernel bln is pretty pointless I'm running bhunds 2d kernel and i don't miss bln lol

if you ain't first you're last :)
[Samsung Galaxy S (4G Model)] cybok0:
All bln does is drain your battery.
[Samsung Galaxy S (4G Model)] ipaq_101:
Ok so I had Anton's new kernel with bln going all night after a full charge, 7 hours and only 9 percent drain and no random reboots.

Will keep you posted about what happens during the day.
[Samsung Galaxy S (4G Model)] falcons2:
Just flashed the version without bln on valhalla black can't wait to see how this works out
[Samsung Galaxy S (4G Model)] mike-y:
I also prefer stability and battery life over BLN.

still running antonx's first (non-bln kernel) with no issues or reboots. after 15h 14min, I still have 88% battery left.
[Samsung Galaxy S (4G Model)] adobrakic:
^ you must never touch your phone.
[Samsung Galaxy S (4G Model)] eollie:
I dont see why bln is so important there are apps that do the same thing. And even with the code added you still need to install a app. So why not leave out code that could possibly cause issues? I dont care either way I wont install the new kernel or app as long as the RC1 is stable.
[Samsung Galaxy S (4G Model)] nazcalito:
Antonx, what were you planning to add to the kernel in the future other than BLN? Just curious. Your kernel seems to be the best of all of the GB kernels I've used for this phone. I'm able to OC at 1.4 again without the phone crashing or rebooting and I haven't been able to do that for almost six months.
[Samsung Galaxy S (4G Model)] m0bstr:
how to you over clock the phone??? when i use voltage control my max is 1mhz
[Samsung Galaxy S (4G Model)] eollie:
Are you using tegrak? That is the only way to overclock/undervolt on this phone.
[Samsung Galaxy S (4G Model)] bhundven:
AntonX,

I'd still like to see your changes pushed up to github. This is GPL'd work. ;)

If you need help, pop on irc. I'd be happy to help out!
[Samsung Galaxy S (4G Model)] eollie:
http://xdaforums.com/showpost.php?p=25191998&postcount=36

He added bln to appease the masses. Im sure he will get you guys something by Wednesday.
[Samsung Galaxy S (4G Model)] AntonX:
Hey Bryan, no time today, even tomorrow will be limited. I'll try to look at the BLN code tonight if I have a chance, but may actually not.

If in the meantime you want to look at some particular file (like config), I may just send it to you. I have not changed any code except for VoodooSound, which is probably not relevant for CM7 anyway.
[Samsung Galaxy S (4G Model)] bhundven:
I'm not saying you have to do it "right now". I'm just saying if you need help getting stuff on github, just ask. I'm happy to help out.
[Samsung Galaxy S (4G Model)] AntonX:
I'll post the code. I'll figure out how to do it, just need a little time. As I said I'm not that fluent with Linux, but I'll manage. Is it OK if I upload as completely new branch? I'm not sure I'll be able to do it any other way because I didn't use git do get it, I just downloaded ZIP from the Web with a browser, unpacked, and started from there.
[Samsung Galaxy S (4G Model)] bhundven:
That's pretty ugly way to do it. You loose the branch history.

I tagged my source tree for this purpose ;)

If you tell me which zip you downloaded from the web, I can help you get a proper tree setup. Don't worry about this right now.

Essentially, you should be able to clone your fork down:

git clone git@github.com:AntonX/android_kernel_galaxys4gmtd.git

Go to github and find the commit id/tag you want to create you're new branch with. Then create a new branch:

git checkout -b ab-sgs4g sms-T959V-KJ6-v0.0.2

The tag sms-T959V-KJ6-v0.0.2 is what beta2, beta2a, beta2b, beta2c, and beta2d are all based on. The only difference between 2, 2a, 2b, 2c, and 2d are initramfs changes.

Add your voodoo sound changes to that branch and commit after each change so it's easy to figure out what each change did.

Then to push back to github:

git push origin ab-sgs4g

Then go to the admin page on github and change 'ab-sgs4g' to be the default branch.

If you need more help, just ask.
[Samsung Galaxy S (4G Model)] M_T_M:
Hey, hey, hey....no one is closing nothin' and going no where. Let us conversate about what has happened here.

Would the OP mind taking to me tomorrow about this before doing any drastic moves?

I am not in front of my PC but will be tomorrow...deal?
[Samsung Galaxy S (4G Model)] Beastmode:
OP isn't leaving its our dev bhund

if you ain't first you're last :)
[Samsung Galaxy S (4G Model)] M_T_M:
Tomato-tomatoe...tomorrow ok with everybody?

Pfft....haters gonna hate!
[Samsung Galaxy S (4G Model)] RaverX3X:
MTM Long story shot is We as the devs and some ex devs are not so much fed up with the device as the lack of any real punishment twords the trolls and unless thread posts here. Some of us have had to have threads locked or been locked for these very reasons. IT seems that Users have more rights then the developers of any firmwares have. We build it we create it but the trolls seem to run the forums and the overwork mods cannot do anything about it. You can lock a thread u can clean up posts but in a few hours or a few days they come back in full force. Devs like bryan are sick of it i pretty much terminated all development for this device because of it other devs have left to.

When we first got our RD titles it was a proud moment we got to be recognized for accomplishments now it just seems the give me do i demand this and or people that just randomly post with no bearing on development and derail real work thats going on seem to run the forums and the devs have no choice but to leave,,,

Honestly i wouldn't dish out warnings id just just want the ban hammer to come down at some point after a few months it doesn't seem like they get the idea...
[Samsung Galaxy S (4G Model)] M_T_M:
As I said mate....will handle this tomorrow as I'm on my moblie atm.

If bans are required..so be it :cool:

Pfft....haters gonna hate!
[Samsung Galaxy S (4G Model)] RaverX3X:
he did not demand he asked and also i was going to ask him for the same thing but bryan beat me to it.
[Samsung Galaxy S (4G Model)] RaverX3X:
please keep us informed.
[Samsung Galaxy S (4G Model)] Juls317:
thank god, finally getting things done (no offense M_T_M, i know all of the mods are busy keeping everything clean)
[Samsung Galaxy S (4G Model)] AntonX:
Guys, you do understand that without Bryan and FBis and TeamAcid my kernel wouldn't have happened at all?

Bryan, don't overreact. Just ignore. Hit the exclamation sign (report to moderators) if you're really upset. We can go to PMs too.
[Samsung Galaxy S (4G Model)] Juls317:
I don't think it's as much overreacting as it is the repeated behavior.

Now to be on topic, im flashing bac to bml (either miui or VB) and am gonna start using your kernel, if the battery is as good as I've read I will be amazed (not that i doubt that it's possible, just never seen it)
[Samsung Galaxy S (4G Model)] M_T_M:
in the meantime let's be civil about it and stay on topic please :)

Pfft....haters gonna hate!
[Samsung Galaxy S (4G Model)] Beastmode:
:) thanks M_T_M
[Samsung Galaxy S (4G Model)] lumin30:
Let the **** go. Mod will deal with it. Let's talk about the kernel now!

BML working flawless.
[Samsung Galaxy S (4G Model)] m0bstr:
hows the battery life???
[Samsung Galaxy S (4G Model)] lumin30:
As good as anything else out there. A kernel is a small portion of what eats the battery. You have to know that by now. Battery for my phone is no indication of how the battery on anybody else's phone will be.
[Samsung Galaxy S (4G Model)] xaocon:
The battery can be affected substantially by the kernel.
[Samsung Galaxy S (4G Model)] the_scotsman:
Quit with the comments. M_T_M has already said he'll look into the issue, whatever it may be, so please leave it at that.
[Samsung Galaxy S (4G Model)] HB66:
Great kernel no reboots and good battery life. Geeat work. 3 days now. Thx
[Samsung Galaxy S (4G Model)] AntonX:
I've decided to keep BLN. I looked at the code, didn't find anything that could cause troubles if BLN if not used. Found the issue with "I2C write error", there were attempted writes to unpowered controller, so I fixed it. Removed some unnecessary debug tracings too.

Updated jhash to faster jhash3, there can be slight performance boost for data, but probably not easily noticeable.

Updated initramfs to latest SuperSU. Couldn't figure out how to easily update busybox to 1.20 (it needs to have bunch of links created), any help?

OP updated to 1.0b3.

Will try to post code on github today.

EDIT: Added source code link to OP. Unfortunately because I used a little unorthodox method of getting the old Bryan's commit, I cannot easily and safely attach my modified code to it anymore. So the kernel code it posted as a new repo. If somebody needs to know exactly what's changed, let me know and I'll point to correct files. I was able to fork from the initramfs repo though, there were not too many of my changes.
[Samsung Galaxy S (4G Model)] xaocon:
If you want some help with it now that bhund is gone let me know. Github has some pretty easy instructions if not.
[Samsung Galaxy S (4G Model)] mike-y:
still on the 1.0b1, but will probably upgrade after a few days.

Just fyi, with the beta 1 release, everything on my phone has been stable. 1 Day, 17 hrs on this charge and still have 54% battery left.

Like someone posted, I don't use my phone that much because I sit in front of a computer for most of the day. Usually just a few calls a day. Here are some of my battery stats:

Voice Calls - 39%, 1hr 3m

Cell Standby - 28%

phone idle - 12%

Display - 9%

Wifi calling - 2%, Wifi on for 1h 44 mins
[Samsung Galaxy S (4G Model)] m0bstr:
i downloaded the newest version b3 and my battery has been great using BLN
[Samsung Galaxy S (4G Model)] falcons2:
my first 2 charges have had great battery life but for some reason this 3rd charge is not doing as well but it's still a great kernel
[Samsung Galaxy S (4G Model)] FBis251:
Antonx, I copied your changes over to the teamacid tree under the antonx branch. You should check it out:

https://github.com/teamacid/android_kernel_galaxys4gmtd/tree/antonx

I tried to keep all the changes in separate commits to make it cleaner, you may wanna make a fork of it and continue development on that fork in order to keep the kernel history as Bryan suggested.

Thank you for the code upload! This should make creating patches a lot easier.

EDIT

You may wanna update the build.sh to ask for locations of binaries or to ask you to run envsetup instead of hardcoding it into the scripts:

make: /home/anton/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: Command not found

My username isn't anton :D. You get what I mean though
[Samsung Galaxy S (4G Model)] AntonX:
Fbis, I went through this branch commit changes, they seems fine, you picked them all. Couple of things I didn't do, like mods to /kernel/module.c and include/linux/kernel_sec_common.h. It's possible they are Bryan's and I pulled even slightly earlier commit than I thought.

I see that I left a few backup and test files, not sure that it's important, but eventually I'll kill them.

I cannot use envsetup, I don't have it. It's not part of the toolchain that is needed for the kernel, and I don't want to download the whole thing - it's way too huge. That's the only reason I had to make my own build.sh, otherwise I'd just use existing one. I may throw and error message from the script telling where to set the path though.

Now - how do I fork only from this branch and not everything else? It seems like the forking wants to bring to the whole repository including all branches. Or is it normal procedure? If it is, then all I'll have to do it to use "-a antonx" switch when doing git clone, correct?
[Samsung Galaxy S (4G Model)] m4xm4n:
git clone git://github.com/teamacid/android_kernel_galaxys4gmtd.git -b antonx
[Samsung Galaxy S (4G Model)] AntonX:
Yep, it's -b, not -a switch. I will probably still fork it so I use it under my github name, not TeamAcid, which I don't belong to. Would be nice to fork only antonx branch though, not the rest.
[Samsung Galaxy S (4G Model)] m4xm4n:
You could fork the TeamAcid repository and then delete the branches you don't need.
[Samsung Galaxy S (4G Model)] AntonX:
I kinda tried that, didn't work. Commands like 'git branch -d gingerbread' return 'error: branch 'gingerbread' not found.' I must be missing something. It's not that important though, I can live with that.

EDIT: OK, figured it out, needed to use command 'git push origin :gingerbread'. Linux is weird.
[Samsung Galaxy S (4G Model)] itzik2sh:
Hi AntonX

Nothing but great work so far.

Can you consider adding direct call recording capabilities to the kernel?

I think we had it on Froyo but Sammy disabled it on GB kernel due to a federal regulation.

It was re-enabled on some SGS2 ROMs and I tried to port it, but too many lib dependencies caused bootloops.

Thanks.
[Samsung Galaxy S (4G Model)] FBis251:
This is how I got what was different in your code:

I downloaded the tarball of your source

I did a git checkout on the gingerbread-bml branch of Bryan's kernel and reverted to the 0.0.2 commit

I copied your code over that checkout

Just did a git diff and saw what was different and did a git add, then commit of what was similar

You might want to consider adding more tags as finding the 0.0.2 was WAY easier to do once I went through the tags in the repo

http://learn.github.com/p/tagging.html

Specifically the section called "Tagging later" since you can add tags to specific commits. I think you won't have the history for b1 or b2, but that's fine for now as long as you tag from b3 on.
[Samsung Galaxy S (4G Model)] Zombie138:
Can I flash this thru SGS Kernel Flasher?

Sorry if it's already been asked
[Samsung Galaxy S (4G Model)] FBis251:
Yup, you can
[Samsung Galaxy S (4G Model)] Zombie138:
Sweet, thank you very much
[Samsung Galaxy S (4G Model)] AntonX:
I see, but Bryan released several 0.0.2 versions, like b, c, d (don't remember), and these are not tagged separately. So you or me could have downloaded slightly different 0.0.2. I actually went by the zImage date that matched the commit date. I think you downloaded earlier branch. But there were no important differences in the code, he probably just modified the config and I have a different one now, so it doesn't matter.
[Samsung Galaxy S (4G Model)] FBis251:
Yeah. In another post he said that b, c, d, etc. were all just initramfs changes, so that works out fine.
[Samsung Galaxy S (4G Model)] AntonX:
Speaking of initramfs, can you tell me what you do to update busybox? There seems to be a bunch of files in /bin all linked to busybox itself. Do you need to updated the links manually (wonder what's a good way not to miss any) or is there an easier way?
[Samsung Galaxy S (4G Model)] FBis251:
It's kind of though. I think so far I've just left all the symlinks in there since they're relative symlinks they'll work both on your computer and on the phone afterward.

As far as busybox itself, I've been trying out different binaries. I think the best I've seen so far is from the cm7 build since it's got a working wget implementation and color support too.
[Samsung Galaxy S (4G Model)] itzik2sh:
FB, Do you know the how's?
[Samsung Galaxy S (4G Model)] lainvalenajr:
Wow my battery lasted for a long time. Went to class at 7 listening to music till 4pm and i still have 60%.
[Samsung Galaxy S (4G Model)] nativesmiley:
what ROM are u using?
[Samsung Galaxy S (4G Model)] adobrakic:
This works with the CM7 WIP?