yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] kasper_h:
I feel like pulling my hair out over the OC code...

I just started again from a clean CM9-stock code. I then applied the earlier mentioned midnight OC patch + the 800MHz fix. Nothing else. Works very well as long as the screen is on, but my phone doesn't wake up after the screen has been turned off...

Did anyone try the 0.11test kernel posted above? Because I start to get the feeling it is my phone and not the code itself which is bad...
[Galaxy S I9000 Android Development] Rikul:
I tried 0.11.... It is nice and smooth but I had 2 random soft reboots... I am sure you will come out with a nice and stable kernel :)
[Galaxy S I9000 Android Development] DerTeufel1980:
Sorry, me was to lazy to read.... You are using deep idle? If so, you should disable coresight. It's just for debugging, but causing issues with didle.

How about overclocking with your phone using Semaphore or mine kernel?

Have you verified, if all voltages are as supposed? Maybe there got something wrong due to the additional freq steps.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] kasper_h:
I used stock CM9 as base and as far as I know it does not contain didle.

I checked with setcpu, and all voltages are correct (I thought exactly the same, maybe something got shifted :)).

I also set max CPU freq to 1000MHz (tried both using setCPU & CM9-settings), and even then my phone crashes. But only when switching the screen off. I have also been searching for some screen-scaling stuff in the cpu-code, but there isn't any.

I'll try your kernel tonight, as you have more-or-less the same OC code (semaphore has only live OC).
[Galaxy S I9000 Android Development] donytsang:
Would you consider to add Deep Idle into next version?
[Galaxy S I9000 Android Development] kasper_h:
Currently running your kernel. No problem, both with & without OC. Voltages are identical. Only difference I see is that with my own code max cpu is set to 1400 by default, on your it's 1000 (just like cm7 stock).

I'll take a good look at my code tonight :)

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] trailblazerz11:
There were some issues with Linaro 3.0.8 kernel wouldnt boot, get stuck at bootloader screen.

At the time I think I patched to 3.0.17 and it worked (dont ask me why :)

Der did you ever figure out why?
[Galaxy S I9000 Android Development] DerTeufel1980:
Yes it's the patch from 12 to 13 or to 14. Exactly to /kernel/head.S

I have committed something similar few days ago... Not sure if it makes a difference.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] kasper_h:
To narrow down on the OC code issue, I decided to split it in the UV and OC code. I then applied the OC code, without UV code -> crash. I then applied the UV code without the OC code. Works perfectly. The problem thus seems to be in the OC part of the code....

For those interested in a kernel with UV, I attached this kernel (running it without any issues for the last 10 hours or so).
[Galaxy S I9000 Android Development] kasper_h:
New kernel.

Version: 0.13

Changes:

-In-call settings added (can be set in Galaxy-settings, Settings>Advanced) (thanks DerTeufel for the tip in the CM9-thread!)

-Updated to linux 3.0.17 (thanks trailblazerz!)
[Galaxy S I9000 Android Development] rest0ck:
Seems to be a very good Idea.

One Suggestion/Request: An option for vibration sensivity. The I9000 Vibration is so ugly if its now lowered (but maybe it is just my device cause my backcover seems to be a lil bit ..loose.).

If you add this option for that you'll get 1 more user :P

rest0ck
[Galaxy S I9000 Android Development] kasper_h:
New kernel!

Version: 0.14

Changelog:

Same as 0.13+

-Updated to linux kernel version 3.0.36 (thanks to trailblazerz)

-Added Wheatley governor (http://rootzwiki.com/topic/14685-ke...20-for-jb/page__st__90__p__405813#entry405813)

-Added vibration intensity sysfs interface (thanks to mialwe)

To set vibration intensity, start terminal emulator/adb and do:

echo xxxxx > /sys/class/timed_output/vibrator/duty

xxxxx is intensity and should be in the following range:

Max = CM stock intensity (80280 / 2)

Min = not noticable intensity (20000)

Code:

https://github.com/kasperhettinga/samsung-kernel-aries/commits/mackay_kernel

See above for the latest new commits!

I am trying Linaro + O3 again :)

I applied your commit for the prebuild modemctl. But...I get the following error during building:

/home/kasper/android/system/prebuilt/linux-x86/toolchain/gcc-linaro-arm-linux-gnueabihf-2012.06-20120625_linux/bin/arm-linux-gnueabihf-ld: cannot find drivers/misc/samsung_modemctl/built-in.o: No such file or directory

If I go to kernel/drivers/misc/samsung_modemctl/ folder I see the built-in.o & builtin.o.gcc4.4.3 files there...
[Galaxy S I9000 Android Development] dark_knight35:
First kernel for S with Weathley.
[Galaxy S I9000 Android Development] rest0ck:
Excellent. Thank you :)

Gonna try the Kernel now.

/e "Cannot create /sys/... Permission denied"

What am I missing?
[Galaxy S I9000 Android Development] trailblazerz11:
Thanks for wheatley governor, I tried compiling a while ago and I forgot why it didn't work for me. xD
[Galaxy S I9000 Android Development] kasper_h:
Did you do it as root/su?

I did:

$adb shell

>su

#echo 35000 > /sys/class/timed_output/vibrator/duty

#exit

>exit

$

Works perfectly for me...

Should work the same (w/o the adb shell) in Terminal Emulator.
[Galaxy S I9000 Android Development] rest0ck:
Don't know what I'm doing wrong. Did it the exact same way you did but it won't work. In Terminal Emulator.

Or well .. "Did you do it as root/su?"

I typed >su if that'll do the trick then yes I did.

*cough* What about an wcm menu instead of an application (which I don't like too).?

/e Didn't get any error now but it doesnt change .. reboot necessary? Will try

/e Doesn't work
[Galaxy S I9000 Android Development] kasper_h:
You don't need to reboot. I would test it with 25000, that is such a low level of vibration it is almost not noticable anymore.

Do you get any error after the echo xxxxx > /sys/class/timed_output/vibrator/duty command?

Do you have root explorer (or something similar)? If I go with root explorer to the file /sys/class/timed_output/vibrator/duty and open it with text viewer, it shows the value I typed in...
[Galaxy S I9000 Android Development] rest0ck:
Without the "#" I got the same error as before ("cannot create ..permission denied"). With "#" I got no error but nothing changed.

The duty file hasn't changed and it seems like I'm not able to change it in the file directly.
[Galaxy S I9000 Android Development] kasper_h:
You have to do "su" to get root access, otherwise it will not work (permission denied).

Do you have adb?
[Galaxy S I9000 Android Development] kasper_h:
I solved the issue with O3. Problem was that I worked with the stock cm9 build script, and that doesn't work well. So I started using an adapted version of stratosks/trailblazerz and this works. Want to test it myself before sharing...

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] sUsH667:
does it work as expected?

any news regarding oc?

greetz & thx,

sUsH
[Galaxy S I9000 Android Development] kasper_h:
The kernel that was build didn't boot. I think I found the problem, and had a built without errors yesterday. But as I'm flying to Portugal today and need my phone to work in the next 24h I didn't dare test the kernel yet...

I will try the OC patch again after I have a perfectly booting kernel on Linaro+O3.
[Galaxy S I9000 Android Development] dherre65:
Any plans for an update? Are there significant changes in the initramfs of cm9 rc2 or is it just fine to use your 0.10 kernel with cm9 rc2?

Verstuurd van mijn GT-I9000 met Tapatalk
[Galaxy S I9000 Android Development] kasper_h:
I'm working on an update, hope to have it ready next week.

No problem using 0.10 (or 0.14) with rc2.
[Galaxy S I9000 Android Development] lippol94:
Great! I'm waiting for it so impatiently..

One thing.. can you provide hugeram configuration too? I think it's the only feature I really miss on stock kernel :)

Thank you so much!
[Galaxy S I9000 Android Development] kasper_h:
I'll look into hugemem as well, but it is not first priority.

Things to-do:

-Linaro building/O3

-OC (UV is already implemented)

-Hugemem
[Galaxy S I9000 Android Development] lippol94:
Actually Hugemem implementation is a 2 second thing :)

https://github.com/krarvind/samsung_kernel_aries/commit/77fb0b4fbc657d87599fbc40b7f142da35464e88

Hope it will help :) I'm using stock kernel atm, and it's the best out there except for the lacking of sio scheduler and hugemem! You're my last hope ;)
[Galaxy S I9000 Android Development] kasper_h:
Looks simple indeed, I'll make a test kernel later today which is based on 0.14 with only hugemem on top.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] kasper_h:
Here you can download the bigmem test:

http://db.tt/6wKdNI4W

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] lippol94:
Thanks buddy :) Is Recovery updated to 6.0 ?
[Galaxy S I9000 Android Development] lippol94:
Ok man a few notes :)

The implementation works correctly, now the system sees 382 MB of RAM!

Some developers like Stratosk and DerTeufel succedeed in add a few more MB getting 389. It's not a big deal but if you have free time, you can PM them on how to do that :)

After the first flash I got bootloop without being able to access to recovery. That's a known random bug of ICS but I suggest you to implement custom initramfs developed by Stratosk, Mialwe and Derteufel to avoid those random bootloops (that require a heimdall flash of very old kernels).

Give a look here:

https://github.com/stratosk/ics-ramdisk

PM stratosk if you need help

I do hope to see this kernel growing without forgetting its first aim :) Being as close as possible to the stock one!

Wish you luck man ;)
[Galaxy S I9000 Android Development] kasper_h:
Thanks.

I am already working on the initramfs from Stratosk, combining it with the bootloop detection & linaro/o3. Hope to have that working in the next few days.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] kasper_h:
There is a new version: 0.20

Changelog:

-latest updates from CM9 stock sources

-solved small error in UV code

-changed to a local build-script (separate from CM9 building)

-single initiramfs implementation based on the work of stratosk/mialwe

Three version:

-stock: CM9 memory configuration

-bigmem: kravind memory configuration (382MB RAM, everything seems to work)

-hugemem: stratosks hugemem memory configuration (397MB, video recording doesn't work)

Downloads:

stock: https://dl.dropbox.com/u/69000552/Mackay_kernel_0.20.zip

bigmem: https://dl.dropbox.com/u/69000552/Mackay_kernel_0.20_bigmem.zip

hugemem: https://dl.dropbox.com/u/69000552/Mackay_kernel_0.20_hugemem.zip

Sources:

stock: https://github.com/kasperhettinga/samsung-kernel-aries/tree/mackay_kernel3

bigmem: https://github.com/kasperhettinga/samsung-kernel-aries/tree/bigmem2

hugemem: https://github.com/kasperhettinga/samsung-kernel-aries/tree/hugemem

I'm running the hugemem version since yesterday without any issues
[Galaxy S I9000 Android Development] DerTeufel1980:
Is your video recording not working at all, or is 480p working? Because 480p should work, even with bigmem.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] nguyen47:
Video recording does not work with bigmem
[Galaxy S I9000 Android Development] lippol94:
It does! Just recorded a 720p video!

have you flashed F4k MOD? http://xdaforums.com/showthread.php?t=1575485
[Galaxy S I9000 Android Development] lippol94:
I've released a ROM including your kernel :)

http://xdaforums.com/showthread.php?t=1790906

All credits has been given!!

No spamming, just to kindly notify you according to XDA Rules :) Thanks for such a great kernel!
[Galaxy S I9000 Android Development] kasper_h:
Great, thanks for the confirmation. I will flash the video patch to see whether 720p works (internet is slow here, uploading the kernel took 2 hours).

Good to hear the kernel is part of your ROM :)

Next job will be linaro&o3

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] octolith:
Dear kasper_h,

Do I read it well, that you don't have working OC yet? Just curious.
[Galaxy S I9000 Android Development] kasper_h:
My previous OC code didn't work well for me. But I changed a lot in the last week, so maybe it works now. I'll try again soon. I also saw an OC implementation for jellybean on stock kernel, which may also work for ics.

But as I'm on holiday as well, things develop slowly...

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] octolith:
Thank you for the answer and sorry for disturbing you while you are being on holiday :) Have a good time mate! :)
[Galaxy S I9000 Android Development] Pac-Man:
Hi, good afternoon for everyone (spain local time :))

I want to say thank you for this awesome kernel. Everything work so smothly :) But I want to ask you a favor if it can be developed... Could you up a little bit vibration intesity? It's too weak and I don't feel my phone in my jeans when someone is calling me or sending mails or whatever...
[Galaxy S I9000 Android Development] lippol94:
Use search field please|
[Galaxy S I9000 Android Development] Pac-Man:
I saw your reply at your post and here. Sorry for 2 post saying the same, sorry sorry!

EDIT:

"Max = CM stock intensity (80280 / 2)" means 40140?
[Galaxy S I9000 Android Development] lippol94:
Good evening kasper_h :)

I was thinking that the only thing that your kernel miss is Semaphore Autobrightness implementation. Since now, it's the only way to have autobrightness working on CM9 :)

I read once that he's more than happy to see other developers use it, because he developed it for the community.

PM him if you want :)

I think it might be a nice touch for your already-great kernel :good:

Thanks and have a nice work on 03 optimizations ;)
[Galaxy S I9000 Android Development] lippol94:
I guess... your phone won't blow up if you try :)
[Galaxy S I9000 Android Development] Pac-Man:
it doesn't work... and I change it being root...
[Galaxy S I9000 Android Development] lippol94:
su
echo "40140" > /sys/class/timed_output/vibrator/duty

??
[Galaxy S I9000 Android Development] Pac-Man:
I don't know if I have to write "40140" or 40140... Should I?

I mean... It changes the value but not the intensity...
[Galaxy S I9000 Android Development] kasper_h:
It should be just he number, without quotes. 40140 should be max. I use 25000, which I find a good compromise.

Did you check whether the value is changed?

I only get non-booting kernels trying Linaro at the moment (I don't even get the kernel boot splash, only the samsung i9000 splash). So there must be something wrong, just don't know what...
[Galaxy S I9000 Android Development] DerTeufel1980:
Take a look at my github, head.s

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] kasper_h:
You're talking about this one?

https://github.com/DerTeufel/samsung-kernel-aries/commit/5b39b4e0659f8c88c8b0df5a2a17701a678c8c92

Will try it asap!
[Galaxy S I9000 Android Development] DerTeufel1980:
This, or the later one. At work now, and can't browse my commits

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] kasper_h:
I saw two recent commits for this file, will check it out. Thanks for your help!

I just updated the first post with the newest kernel, version 0.22. It feels to me to be the next stable point after 0.10 :)
[Galaxy S I9000 Android Development] ivke101:
Is wheatly governor in 0.22?
[Galaxy S I9000 Android Development] voriax:
I just flashed MIUI 2.7.20 with this kernel - LOOKS AWESOME!

Thanks!
[Galaxy S I9000 Android Development] kasper_h:
Yes, to me it didn't feel better. You liked it?

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] ivke101:
maybe placebo, but scrolling through the web pages and tapatolk go very smoothly:D:D.

or is it because of the rom. currently using lippol's rom blueberry:good:
[Galaxy S I9000 Android Development] kasper_h:
I would say, give smartassv2 a try. If wheatly still feels better I'll give it another try :)

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] lippol94:
How is it in terms of battery life? Because last time I gave it a try, it drained my battery very fast, heating my phone pretty much :)
[Galaxy S I9000 Android Development] kasper_h:
I didn't try wheatly long enough to know battery life. For me, smartassv2 is very good on battery life (better than the default ondemand governor), while also resulting in a smooth phone.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] kasper_h:
With the help of DerTeufel, Linaro/O3 building is finally working.

Test version can be downloaded here:

http://db.tt/3LQ3qtYj

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] Hampy:
Just flashed [ROM][4.0.4]BlueBerry Project - ICS by lippol94's point of view gonna try Mackay 0.30.
[Galaxy S I9000 Android Development] kasper_h:
Interested to hear your experience. Have been running this kernel the whole day w/o any issues. I don't feel a huge improvement over the old toolchain, but it's nice to have it running :)

For those interested in the sources, just uploaded them to github:

https://github.com/kasperhettinga/samsung-kernel-aries/tree/mackay_kernel4_linaro2
[Galaxy S I9000 Android Development] Pac-Man:
I'm interested to know if your way to change vibration intensity is working now, because from 0.20 hugemem version I'm not able to,change...

Thanks for your work and patience!

tapatalked... !!!
[Galaxy S I9000 Android Development] sUsH667:
thx!

how much ram should this version have?

greetz,

sUsH

tapatalk'd
[Galaxy S I9000 Android Development] Fuma:
Hi Kasper

Great work on this.

Would you consider making the kernel logo/splash screen backround black?
[Galaxy S I9000 Android Development] kasper_h:
I'll try again soon, currently on stock intensity (trying lots of kernel builds).

384mb for the linaro version.

Maybe, but I actually like the grey :)

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] kasper_h:
For me it works, just tried it...

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] Pac-Man:
Hi there!

Thanks for trying it. I'm going to try lippol94's CM9 with the latest version of your kernel and try to change the vibration intesity.

EDIT:

I don't know if I'm silly or something like that, but I write at Terminal Emulator:

$ su

# echo 40140 > /sys/class/timed_output/vibrator/duty

The value has changed but not the intensity... I'm running under 0.22 with latest MIUI...
[Galaxy S I9000 Android Development] kasper_h:
I don't know whether it's caused by MUIU? Did you already try with adb in stead of terminal emulator?
[Galaxy S I9000 Android Development] Pac-Man:
I'm going to be honest... I don't know how to do it with adb...
[Galaxy S I9000 Android Development] kasper_h:
Do you have adb installed?

What I do is:

$ adb shell

android$ su

android# echo 32000 > /sys/class/timed_output/vibrator/duty

android# exit

android$ exit

$
[Galaxy S I9000 Android Development] Pac-Man:
Oh... I think what's my problem... I'm used to the vibrator intensity like mnics or semaphore. What's happen? That's the max. value of your kernel is lower than these values. So, when I put the max. value, it seems still to be low for me...

So... I apologize for the problems I made for you and my eagerness.
[Galaxy S I9000 Android Development] kasper_h:
I use the code from mnics kernel, so it should be the same, odd that it is not. To me the max value feels really strong...
[Galaxy S I9000 Android Development] Pac-Man:
You're the developer, you adjust everything under your criteria :) I don't want that you change the suff you think should be so.
[Galaxy S I9000 Android Development] kasper_h:
The thing is, I didn't change anything to the code, it is 1-on-1 mnics code I use. Have you tried setting I higher value?
[Galaxy S I9000 Android Development] Pac-Man:
Do you mean 40140 or 43640?
[Galaxy S I9000 Android Development] kasper_h:
Both...
[Galaxy S I9000 Android Development] ddd613:
Ver. 0.30 able to OC?

Sent from my GT-I9000 BlueBerry ICS with devil3
[Galaxy S I9000 Android Development] kasper_h:
No, oc code is not stable yet.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] Hampy:
Ok so..im using Blueberry rom with Mackay 0.30 for 1 night and 1 day, havent tested GPS performance, but the rest of daily use its a breeze, everything is fast, snappy, wifi, internet calls , everything working like a charm...but more important i like the battery life.

Gonna charge to full now and leave it overnight to see again how is the battery life after 8 hours sleep, and tomorrow ill test GPS for the first time.
[Galaxy S I9000 Android Development] Rimmer1966:
Any vibration value you set will be overridden if you're using MIUI. If you go to Settings > Sound Settings You'll see an option for Vibration Level, the level is hard-coded dependent on whether you choose Weak, Medium or Strong.

Hope this helps?
[Galaxy S I9000 Android Development] kasper_h:
Thanks!

I'm driving through Portugal with gps (w/o data connection, so no a-gps) and for me it works very well.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] kasper_h:
Thanks, now I understand what the issue is :)

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] Nezmanpro:
Where I can find the 0.30 version of this amazing kernel? Is it possible to use it or it's better to wait the official release?
[Galaxy S I9000 Android Development] Rimmer1966:
Out of curiosity I wanted to try the Wheatley Governor but I don't see Wheatley in the list of available Governors. How do I switch to it?
[Galaxy S I9000 Android Development] kasper_h:
It's a few pages back, no link in OP yet. I wanted to have it tested a bit more

before making it an official release.

Which version of the kernel? Wheatley has been removed after 0.20. I'll add it again in the next version, which will be in the OP, hopefully later today.

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] kasper_h:
There is a new kernel in OP, version 0.37.

Main changes compared to previous stable 0.22:

-Build with July-version of Linaro (was June version for 0.30)

-O3-optimization

-CWM6-based Mackay recovery

-Wheatly governor is back
[Galaxy S I9000 Android Development] ddd613:
There's no wheatly govenor.

Sent from my GT-I9000 BlueBerry ICS with Mackay
[Galaxy S I9000 Android Development] Fuma:
confirms no wheatly for me too.
[Galaxy S I9000 Android Development] kasper_h:
Same for me :confused:, will post an update asap...

Verstuurd van mijn GT-I9000
[Galaxy S I9000 Android Development] kasper_h:
OP contains a new 0.37 version, including wheatley. Small coding mistake, which was easily solved :)
[Galaxy S I9000 Android Development] lippol94:
Any other modification? :)
[Galaxy S I9000 Android Development] kasper_h:
No, it was just that I forgot to include it in the defconfig (see my github for the details :)).
[Galaxy S I9000 Android Development] driodmaster92:
Can i use this kernel on any other AOSP or AOKP ROM?
[Galaxy S I9000 Android Development] ryanmat:
Just switched back to your kernel after being on Devil. Wanted something simple and wanted to try the Wheatly governor. All I can say is, great work! Everything is smooth, and quick. Used Waze on an hour drive this morning and GPS locked near instantly, and the battery is great. Thanks again!!!! :D
[Galaxy S I9000 Android Development] kasper_h:
I think it should, but I run CM9 and didn't test it on any other ROM.
[Galaxy S I9000 Android Development] lippol94:
There's no way :)

This is THE kernel!

As close as possible to stock, useful features added, no crap!

I remember only a kernel like this :) Vorbeth! 2 releases with a GB kernel and he disappeared :)

Keep up kasper_h!! :highfive:
[Galaxy S I9000 Android Development] Pac-Man:
I'm going to try again lippol94's CM9 and latest version of your kernel, and I'll try to change vibration intensity again (I'm too heavy but it's important to me) :)

Although good work, keep it simple¡

tapatalked... !!!