yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] stratosk:
New version JW1_2.2.0

- initramfs JW1

- ondemand: implemented sampling down factor

- ondemand: iowait time calculated as load (io_is_busy=1)

- ondemand: New sampling_down_momentum tunable (explanation here)

- enabled /proc/config.gz (as module)

- updated su binary v3.0.3.2

Merry Christmas!!!
[Galaxy S I9000 Android Development] pikachu01:
Hey stratosk,

Looking forward to the update of the github sources. :P

Thanks!
[Galaxy S I9000 Android Development] gsw5700:
Merry Christmas stratosk, does mean ondemand is now better than smartassv2 in your opinion?

Sent using TCP/IP
[Galaxy S I9000 Android Development] DarkSorcerer:
Christmas present, right? ;)

Thanks stratosk! :)
[Galaxy S I9000 Android Development] stratosk:
I don't know if it's better. :) Ondemand was/is always my favorite.

@DarkSorcerer

I hope it's a gift... :)

@pikachu01

I will update github today. Please be patient I'm trying to upload the new version to my website. Connection really slow (last time I was uploading a new version same s...ituation)
[Galaxy S I9000 Android Development] darckengel:
I didn't thought that it was sampling down factor.

It was tested on midnight kernel but seemed that there caused some issues and was disabled...
[Galaxy S I9000 Android Development] ZaneZam:
Me too :-) thx for the gift and merry christmas to you and of course to everyone else here!
[Galaxy S I9000 Android Development] stratosk:
The new thing is the sampling down momentum that works with down factor of course.

Sampling down factor didn't work for me either. But when I disabled some newmail's code everything was fine.

With few words momentum makes the sampling down factor to change dynamically with load and gives to the factor some 'memory' for the previous system load.

I'm sorry if it does not seems very fancy and I'm sorry for my excitement but I worked a lot for this.
[Galaxy S I9000 Android Development] Tatsuya79:
Was waiting for some hot chicks boot animation here... :(
[Galaxy S I9000 Android Development] stratosk:
I also though about this. But I considered that hot chicks will conflict with the new momentum tunable and will cause instabilities to higher (and lower also) frequencies.
[Galaxy S I9000 Android Development] cristian11:
does JW1 version work with JVT firmware ?
[Galaxy S I9000 Android Development] brfsa:
you should read main thread...

as in the main thread it says:

so you can choose either of the 3 file locations.

What I did was copy the content from the files in /res/scripts and put into a single file: /data/local/customboot.sh

/system/etc/init.d was not there on my ROM (pay's rom), and I did not want to remount /system RW each time I wanted to edit it.

This is my /data/local/customboot.sh :

#!/system/bin/sh

# Load Tun module OpenVPN
insmod /lib/modules/tun.ko

# Enable Conservative
insmod /lib/modules/cpufreq_conservative.ko

# Required for Tethering
insmod /lib/modules/x_tables.ko
insmod /lib/modules/xt_tcpudp.ko
insmod /lib/modules/xt_policy.ko
insmod /lib/modules/xt_mark.ko
insmod /lib/modules/xt_TCPMSS.ko
insmod /lib/modules/ip_tables.ko
insmod /lib/modules/ipt_LOG.ko
insmod /lib/modules/ipt_REJECT.ko
insmod /lib/modules/ipt_ULOG.ko
insmod /lib/modules/iptable_filter.ko
insmod /lib/modules/iptable_mangle.ko
insmod /lib/modules/nf_conntrack.ko
insmod /lib/modules/nf_conntrack_ftp.ko
insmod /lib/modules/nf_conntrack_irc.ko
insmod /lib/modules/nf_conntrack_sip.ko
insmod /lib/modules/nf_defrag_ipv4.ko
insmod /lib/modules/nf_conntrack_ipv4.ko
insmod /lib/modules/nf_nat.ko
insmod /lib/modules/nf_nat_ftp.ko
insmod /lib/modules/nf_nat_irc.ko
insmod /lib/modules/nf_nat_sip.ko
insmod /lib/modules/nfnetlink.ko
insmod /lib/modules/nfnetlink_log.ko
insmod /lib/modules/iptable_nat.ko
insmod /lib/modules/ipt_MASQUERADE.ko
insmod /lib/modules/xt_conntrack.ko
insmod /lib/modules/xt_state.ko
insmod /lib/modules/xt_NFLOG.ko
insmod /lib/modules/nf_conntrack_netlink.ko

# Enable Overclock to 1.2GHz
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
# values in mV, from 1.2GHz - 100 MHz
# echo "25 50 50 75 75 100" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
[Galaxy S I9000 Android Development] stratosk:
Just create the init.d folder with a root explorer application and copy the script in.
[Galaxy S I9000 Android Development] from.insider:
Well, problem solved. thanks man. After applying the script, need to reboot 1st before it can work.:D
[Galaxy S I9000 Android Development] LukeOII:
Hello,

how to enable lagfix on this kernel? Thanks
[Galaxy S I9000 Android Development] Hypergamma:
Thanks for help. This is a good idea. I think i will do the same.
[Galaxy S I9000 Android Development] Timo Schmidt:
Just download http://xdaforums.com/attachment.php?attachmentid=591080&d=1304947623 from Chainfire's CF-Root threat and install it.

After installing, start the tool and "enable ext4".

Greetings

Timo
[Galaxy S I9000 Android Development] :
You know you can include other scrips from within that?

If you want to change something you only have to change 1 line then, so you have to change half of a book.
[Galaxy S I9000 Android Development] stratosk:
But, please note that the basic idea is to load only the modules you need.
[Galaxy S I9000 Android Development] nauj23:
So i flashed Semaphore Kernel, but what does this mean?...

No 100MHz no deep sleep, i assume that Semaphore will take my battery very fast, whats your opinion guys?
[Galaxy S I9000 Android Development] pikachu01:
Are you plugged in the USB charger? It won't get into deep sleep if you're plugged in.
[Galaxy S I9000 Android Development] AndroidAllStar:
How to use the file (xt_owner.tar)? SGS kernel flasher /odin /copy?
[Galaxy S I9000 Android Development] stratosk:
Untar the file. You will find xt_owner.tar and new enable_netfilter script.

Copy the script in the /system/etc/init.d

Copy the xt_owner.ko in the /data/local

Reboot the phone.
[Galaxy S I9000 Android Development] AndroidAllStar:
Nice! It works.
[Galaxy S I9000 Android Development] :
lmao you measured about 2 minutes.
[Galaxy S I9000 Android Development] yamatona:
I have two questions;

-I have loaded the cifs.ko module but "SMB plugin for Ghost Commander" doesn't install, it gives and "unknown error -8" to me. Is this a kernel problem or a problem with ghost commander?

-I copied enable_netfilter to /system/etc/init.d and it poperly loads the modules. But I have a problem with pptp vpn. It connects but does not change the default route for some reason. This could be the problem with the vpn provider but just asking to see if anyone has vpn working probpely with this kernel.
[Galaxy S I9000 Android Development] stratosk:
I just tried Ghost Commander without problem. There is no need to load the cifs.ko module if you install the SMB plugin.

For the vpn, try to load the TUN module with enable_tun script.

Remember to reboot the phone after coping the scripts to /system/etc/init.d or alternatively you may run the script with a terminal emulator
[Galaxy S I9000 Android Development] G1032:
My current kernel is DarkCore 2.9

Can I flash this kernel without disabling lagfix or do I have to disable lagfix first?
[Galaxy S I9000 Android Development] stratosk:
New version JVQ_1.3.1

- Voodoo Sound v10

- minor fixes
[Galaxy S I9000 Android Development] stratosk:
I haven't tried this. I think It's more safe to disable first.
[Galaxy S I9000 Android Development] Rebel2k:
From my experience, you can switch between DarkCore and Semaphore kernels without unlagfixing. I never faced any issue.

@stratosk: is the BT issue solved in "minor fixes"?
[Galaxy S I9000 Android Development] andip71:
Flashed... lets give it a try

Hi Stratosk,

many thanks for the x-mas gift.

I just flashed and will report any issues as soon as they occur (not likely, have most of the time no issues at all with your kernels).

Thanks and merry christmas !!!

Andi
[Galaxy S I9000 Android Development] Dan_Aykroyd:
Same question here Stratosk... would it be OK to use it on the XXJVT ROM?

Thanks for another awesome release and merry christmas to you too!
[Galaxy S I9000 Android Development] burner07:
yes it works...very fast!
[Galaxy S I9000 Android Development] stratosk:
Yes, it will work. I'm still on JVZ.
[Galaxy S I9000 Android Development] Sacob:
when to expect 2.2.0 BM?

thanks
[Galaxy S I9000 Android Development] Fenvarien:
Thanks for this fine Xmas gift and the new developed features! 2.2.0 works fast and stable here with JW1 ROM.

... using tapatalk
[Galaxy S I9000 Android Development] Ashtrix:
@stratosk: you are the most intelligent dev here ;)...!

3 cheers for the Xmas gift & Merry Christmas :D...!
[Galaxy S I9000 Android Development] stratosk:
As soon as everything is ok with the normal version I will upload and BM too, my friend.

Hi pikachu1,

I've just updated github. :)
[Galaxy S I9000 Android Development] Siberian Tiger:
Thanks stratosk.Flashing asap :D

Καλα χριστουγεννα Στρατο.:)
[Galaxy S I9000 Android Development] Rebel2k:
Thanks for this new version stratosk!

Wish you a merry Christmas!

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Android Development] andip71:
All good so far, you can compile a BM version. Hehehe ;););)

No, don't want to push, but so far really looking good.

Andi
[Galaxy S I9000 Android Development] stratosk:
Thanks my friend. But let's keep the traditional way. :) I'm kidding.

Forgive me, but I'm little tired now, to change the config option, compile, shut down my phone, flash zImage with heimdall, boot my phone, check version string, check available ram, check voodoo app, check BLN app, check new features for Nth time, run stability tests, tar the zImage, calculate the md5sum, upload the version, edit the first post, announce the version, upload the version to website, update 3 articles, download the new version from XDA and my website, check the md5sum for file integrity. :)
[Galaxy S I9000 Android Development] andip71:
Fully understood.

I was really more kidding than being serious. Take your time, tomorrow is christmas. This is priority as well (I think).

Thanks and have a great evening

Andi
[Galaxy S I9000 Android Development] stratosk:
Thank you everybody for your support and your help. Thanks everyone who tries to keep this kernel and this thread alive. Allow me not to mention names because I'm sure I will forget somebody.

Many thanks to Mialwe for his support!

Merry Christmas everybody! I wish you and your families all the best!
[Galaxy S I9000 Android Development] bhu1:
Merry christmas startosk,

Semaphore v2.2.0

Included in drz rom v13.0 . :)
[Galaxy S I9000 Android Development] darckengel:
Thank you for your work and all the time you spent for us!

Merry Christmas!!!
[Galaxy S I9000 Android Development] Fenvarien:
Kala Christougenna, Stratosk!

And thank you for all your hard work, time and energy you put in this great project!

... using tapatalk
[Galaxy S I9000 Android Development] pxrave:
merry xmas have a good time :) your work is great
[Galaxy S I9000 Android Development] malcho:
Merry Christmas my friend.

I wish you and your family all the best.

My wife screwed up hers phone so i flashed your kernel with jetpack mod.

Man i miss that strenght.

Nice to see you work so hard.

Many regards
[Galaxy S I9000 Android Development] ZaneZam:
Quality first, thats how a good dev is working, yeah!! ;) thx again, gonna try now your new version on JVZ. I was too busy with christmas stuff till now and i'm a little bit drunk atm. but i think i can accomplish this mission and will report back when my per mill level is back to 0 :)
[Galaxy S I9000 Android Development] sbnaul:
I think we all were good children throughout the year that santa via stratosk gifted us such a good christmas present...

Merry Christmas to every1 out here...
[Galaxy S I9000 Android Development] AGiovanni:
Stratosk, thank you. You are a great dev!!

And... Merry Christmas to all friends here.
[Galaxy S I9000 Android Development] Bushido76:
Hey statosk,

we wish you a merry christmas.

Thank you for all your support and in particular the customization for our Simplicity ROM.

Bushido (in the name of the complete Simplicity team)
[Galaxy S I9000 Android Development] gsw5700:
Waiting for bm version :D

Love this kernel

Sent using TCP/IP
[Galaxy S I9000 Android Development] Rosk1:
when bigmem version will be out?
[Galaxy S I9000 Android Development] mickeko:
Stop asking questions like that. It'll be released when it is done.
[Galaxy S I9000 Android Development] stratosk:
Bigmem version JW1_2.1.1bm

- 353 MB available RAM (it breaks 720p video recording)
[Galaxy S I9000 Android Development] gsw5700:
Thanks Stratosk, I'm finding the ondemand govenor very smooth, think you may have converted me! Android overhead at idle is tiny, yet another great job, thankyou

Sent using TCP/IP
[Galaxy S I9000 Android Development] GreenSGS:
The performance I get using follwing combination is really really great:

Semaphore 2.2

OC 1.2

Smartassv2

No-op

Kerner tweaks (chainfire)

All other default in semaphore app

Juwe ram manager app,balance option

Zeamlauncher(overnight I become fan of this launcher)so minimal &.really fast.

Ext4

Try above config guys,it works like a charm on SGS.
[Galaxy S I9000 Android Development] Sacob:
thanks! merry Xmas!
[Galaxy S I9000 Android Development] MasterJam882:
@startosk

Whats proc/config.gz for?

For what do I have to load it my friend?

greetz and merry xmas to all
[Galaxy S I9000 Android Development] stratosk:
Someone asked me to implement this.

You may need it mostly if you want to develop a kernel (or check the kernel configuration)

the /proc/config.gz gives you the configuration of the kernel.
[Galaxy S I9000 Android Development] pikachu01:
No love for Thunderbolt! ?
[Galaxy S I9000 Android Development] GreenSGS:
Hey Pika, TB is great really, I was waiting for a stable release as there were many experimental tweaks.

I noticed its not updating freq now so I put it in queue.

Thanks for that & I learned a lot from your posts, you deserve a treat for that.
[Galaxy S I9000 Android Development] andip71:
Merry Christmas

Hi Statosk,

quick question: Is there any logical reason in the new kernel by the patched ondemand behaviour, it is draining "a bit" more battery?

I saw in CPU Spy, with this kernel the frequency 1000 MHz is more frequently used than before on 2.1.1. Same with 100 MHz, generally the phone is less time in deep sleep mode than before (only kernel changed, nothing more on apps).

Not complaining - at it is not big of an issue for me, really more asking if this is explainable by the changes. Always happy to learn.

Thanks and Merry Christmas everyone !!!

Andi
[Galaxy S I9000 Android Development] stratosk:
Hi,

Yes the changes to ondemand governor could excuse little more time on 1000MHz.

But I can't say the same with deep sleep. Do you mean that if the screen goes off the phone wake up often?
[Galaxy S I9000 Android Development] andip71:
Good question. I just saw deep idle percentage in CPU spy a nur lower.

Will keep an eye in it.

Thanks for the quick reply

Andi

Gesendet von meinem GT-I9000 mit Tapatalk
[Galaxy S I9000 Android Development] _-Belial-_:
Thanks for your always up to date Kernel !:)

I just reinstalled a stock JW1 and then flash your kernel.

I discovered that the su binary is missing.

Not a big issue though, I just had to download and install it via the market.

But I wanted to inform you. ;)

Bye and thanks again for your wonderful work.
[Galaxy S I9000 Android Development] sbnaul:
Hey does this kernel support swap ???

Actually its like i want to try https://market.android.com/details?id=org.azasoft.free.swapper...
[Galaxy S I9000 Android Development] DanDroidian:
It's not included anymore...
[Galaxy S I9000 Android Development] Fenvarien:
After more than 11 hours I see 90% deep idle with Semaphore 2.2.0. New version is running smoothly and very responsive. Battery consumption is definitely a bit higher when the phone is in sleep.

... using tapatalk
[Galaxy S I9000 Android Development] pikachu01:
Hey stratosk,

The io_is_busy flag does indeed make the phone go faster, but you should include a flag in the ondemand governor to turn it off when the phone is sleeping. I've experimented it with ThunderBolt! and io_is_busy does indeed improve performance but it drains the battery significantly. To counter this, you should disable the flag when the screen is off. We don't need such a performance when the screen is off.
[Galaxy S I9000 Android Development] stratosk:
Thanks for the info, pikachu01.

Yes, this is not bad idea. I will check this for the next version. :)
[Galaxy S I9000 Android Development] pikachu01:
Hey stratosk,

Why must bitmap.o be optimized by size rather than follow the kernel's global O3? (or even O2?)
[Galaxy S I9000 Android Development] _-Belial-_:
Thanks for your answer DanDroidian but it's not what it's said in the first post:

Changelog

JW1_2.2.0 (23/12/2011)

[...]

- updated su binary v3.0.3.2​
[Galaxy S I9000 Android Development] stratosk:
Because compiling this with O3 in Linaro 11.11 cause a compilation error. As a workaround it has to be compiled with Os

The su binary is included and installed by the kernel and updated to 3.0.3.2

The Superuser application is not included anymore and you have to download it from Market.
[Galaxy S I9000 Android Development] karmarco:
NO Mobile AP with this kernel

Hi everybody. With this kernel if I have the Internet connection over 3G active, the mobile AP doesn't work: when it start it say ERROR. If I disable the connection over 3G (with apn droid), the mobile AP works correctly.

Anyone have the same problem or can give me a direction to make it working correctly? Thanks a lot.
[Galaxy S I9000 Android Development] pikachu01:
Did you enable netfilter in the Semaphore app?
[Galaxy S I9000 Android Development] DarkSorcerer:
I guess that advice should be posted in the title of thread, so many times we've answered that question about mobile AP... :D
[Galaxy S I9000 Android Development] Bejda:
A post flash pop-up:

"did you enable..." :p
[Galaxy S I9000 Android Development] ZaneZam:
I Just want to report back that everything is working fine so far here on JVZ/ondemand/sio/1.2ghz/no uv or ov/thunderbolt 2.2.0 (w/o binaries installed).The only not really bad thing is the previously discussed more power consumption ;)

And thx Stratosk for the config.gz support! Previously i had to enable it by myself to use linux installer. ;)
[Galaxy S I9000 Android Development] HM.Carbide:
With the new governor feature, the sample_rate can be set to 40000 again, and it is still as snappy as it was before. With this setting less battery is used.
[Galaxy S I9000 Android Development] Fenvarien:
Could you make this option available via Semaphore App, please? That would be great!

... using tapatalk
[Galaxy S I9000 Android Development] ZaneZam:
JW1_2.2.0 (23/12/2011)

- initramfs JW1

- ondemand: implemented sampling down factor

- ondemand: iowait time calculated as load (io_is_busy=1)

- ondemand: New sampling_down_momentum tunable (explanation here)

- enabled /proc/config.gz (as module)

- updated su binary v3.0.3.2

Bigmem version 2.1.1bm

- 353 MB available RAM (it breaks 720p video recording)

Hey Stratosk just saw a typo in first post: bigmem version still 2.1.1. ;-)
[Galaxy S I9000 Android Development] HM.Carbide:
I added

SemaphoreScripts_AddOn_Gov_Efficient.zip

in my thread.

As always extract it, and copy the whole folder to sdcard (/SemaphoreScripts/<scripts>).

Then enable OnDemand-Efficient in App.
[Galaxy S I9000 Android Development] Brignoud:
We have not this option in 0.62 version.
[Galaxy S I9000 Android Development] ZaneZam:
If u did it right by extracting and copying all scripts to SemaphoreScripts dir on your sdcard you will have a new option "Ondemand-Efficient" under "Governors" in Script Manager.
[Galaxy S I9000 Android Development] Fenvarien:
Wow, that was fast! Thank you very much :-) Works perfect!

... using tapatalk
[Galaxy S I9000 Android Development] stratosk:
Hey my friend! Thanks, again, so much for your marvelous application! :)

@all

Guys, please hit the HM.Carbide's 'Thanks' button for his great contribution!
[Galaxy S I9000 Android Development] DarkSorcerer:
Yes, indeed he deserves it.
[Galaxy S I9000 Android Development] diabolis:
hey guys.. does the signal bar changes to green when connected to google like before in jvt?

i just full wipe n installed jw1 + this kernel and its all grey all times..

thx
[Galaxy S I9000 Android Development] WiwiPouPou:
Depend of framework, not kernel ! Try saurom jvz rom !

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Android Development] sarbe:
Can you put the full path please as I am having trouble locating it. Thank you.
[Galaxy S I9000 Android Development] HiKsFiles:
First and foremost, thanks stratosk for all your hard work, it's really appreciated. :)

Does anyone have a link explaining what the different schedulers available do individually?

I kindda understand how the governors work, and use the OnDemand one for that matter, but I fail to understand what the schedulers are for.

I need to know so that I may find the best performance to battery life ratio that suits me.

Thanks in advance!
[Galaxy S I9000 Android Development] HM.Carbide:
http://xdaforums.com/showthread.php?t=1277627

In the first post you will find the downloads.
[Galaxy S I9000 Android Development] sarbe:
Sorry m8 I mean the path to where I put it, I have downloaded it.
[Galaxy S I9000 Android Development] sbnaul:
Just extract and paste semaphore scripts folder in sdcard...
[Galaxy S I9000 Android Development] sarbe:
I have done that but still do not have Ondemand-efficient.

EDIT: Manually copied to Res/scripts, works now. Thank you.

EDIT2: After reboot it has gone, how can I make it stay?
[Galaxy S I9000 Android Development] DarkSorcerer:
Just unzip it to /sdcard . The internal Sd-card, not the external one. Where all the other stuff is, where you place the Rom's you flash, etc.
[Galaxy S I9000 Android Development] sarbe:
Sorted, thanks all
[Galaxy S I9000 Android Development] HM.Carbide:
Also thanks to all :)
[Galaxy S I9000 Android Development] robogo1982:
2.2.0 made my phone perform funny, went back to 2.1.1bm for now.

Will test it more thorougly tomorrow :)
[Galaxy S I9000 Android Development] jna9000:
Funny?

Did it tell you jokes?

2.2.0 is perfect here, it even seems to be more battery efficient than before. Could be a Placebo Effect, however.
[Galaxy S I9000 Android Development] stratosk:
Can you please define 'funny'?:)
[Galaxy S I9000 Android Development] GreenSGS:
I was about to write the same. :)
[Galaxy S I9000 Android Development] DarkSorcerer:
Still laughing! :D :D
[Galaxy S I9000 Android Development] jeozme:
2.2.0bm worked fine with me. but after "installing" SemaphoreScripts_AddOn_Gov_Efficient.zip I have battery drain 100% in 7 hours not doing anything I din't do before having 2 days :(
[Galaxy S I9000 Android Development] HM.Carbide:
Copying the scripts to sdcard does not cause high battery drain.

Draining battery without doing anything is always caused by apps running in background.

Look in battery statistic to find out which app is causing it.

If you still have a 2.3.3 rom, it could also be the android os bug.

If you are on a place with bad signal, it also drains battery.
[Galaxy S I9000 Android Development] jeozme:
I used that governor as well not only copying the files ;)

I am on Darky JW1.
[Galaxy S I9000 Android Development] pxrave:
if ondemand drains your akku to much, change to smartassv2 and sio :) no problems whit this config
[Galaxy S I9000 Android Development] loomis:
Hi there, would like to ask a stupid question, how to root using this kernel 2.2.0? In the past (version 1.8.2) I just flash and the phone has rooted, but when come to version 2.xx, it seems like I have to flash older version first then my phone will get rooted, I will then upgrade to newer version??? :s
[Galaxy S I9000 Android Development] stratosk:
Hi,

kernel installs su binary. All you have to do is to download Superuser application from market.
[Galaxy S I9000 Android Development] loomis:
ok noted, many thanks for your reply, stratosk... :)