yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] :
insmod /lib/modules/cpufreq_conservative.ko

This is the line which loads the conservative governor module.

There is nothing activated now, just the module loaded which means the system can access these governour, but has to be set up for doing that.

So thats the part where you grab your CPU Tuning/Settings application like Tegrak Overclock Tool or Voltage Control or Control Freak or whatever they're called and set your scaling from ondemand to conservative. If it does not show up, try restarting Overclocking Application.

To enable this settings on every boot, you need to load the module (as done manually above now) at boot time - hence the entry in /system/etc/init.d (note: init.d is the folder on most linux system for init script / start scripts.).

Copy over the file enable_conservative from /res/scripts to /system/etc/init.d - if the folder does not exist yet, just create it.

hope this helps

edit:

okay, if its not there, create it yourself.

thats the content of the file.

#!/system/bin/sh

insmod /lib/modules/cpufreq_conservative.ko

make sure its executable so permissions are on rwxr-xr-x
[Galaxy S I9000 Android Development] habylab:
This is a great tutorial, thanks a lot. But I do not have a Res/scripts folder.
[Galaxy S I9000 Android Development] :
thanks, simply create it then yourself, the content is placed in the post (of me) before.

just make sure to make it executable as it gets executed on every boot.

are u sure ur using 1.3.0 kernel? cause i think this should get installed with that, i have few files in there. (maybe stratosk can say more on that topic)
[Galaxy S I9000 Android Development] habylab:
So a file with any name and has this code in it with permissions you said in init.d folder?

#!/system/bin/sh

insmod /lib/modules/cpufreq_conservative.ko
[Galaxy S I9000 Android Development] Rebel2k:
Netfilter => only if you want to use USB tethering

Logger => only if you need to use adb logcat or any other logcat app to access your logs

VM cache => I would recommend no if you're using Thunderbolt! scripts and yes otherwise
[Galaxy S I9000 Android Development] hackeron:
In CWM when I press wipe battery stats, I get no confirmation that it was done, like "battery stats wiped!" or something like that..something wrong with it?

1.9beta version.
[Galaxy S I9000 Android Development] jifeng:
Hello Pika,

What you mean it you don't recommend use thunderBolt @Semaphore Kernel?

I'm using ThunderBolt v2.1.1.1 @Semaphore 1.9.0b, I think it's very responsive.

I would like to hear suggestion from you, thanks.
[Galaxy S I9000 Android Development] pikachu01:
Oops. That was a typo. I meant Semaphore tweaks or ThunderBolt!.
[Galaxy S I9000 Android Development] jifeng:
Got it~~ :p

Great kernel & tweaks~
[Galaxy S I9000 Android Development] hackeron:
Before I installed semap, I rooted it with CF-root, thus getting tweaks app. And now I dont know if tweaks is just as left-over from cf-root or if it also installs with semaphore? Should it be removed?

Ehm I just figured this out myself I think.. I removed the tweaks.
[Galaxy S I9000 Android Development] Handeman707:
Very clear now, Thanks!

Tapatalked
[Galaxy S I9000 Android Development] danieldmm:
You are not also force users to use Semaphore Kernel :cool:, please add the logo, beside yours Kernel Rules, its a fact and will give a look even better to the S (RV3) :D

Cheers
[Galaxy S I9000 Android Development] jocke_lulle:
Installed 1.9.0b yesterday and thunderbolt! 2.1.1.1 50 lmk + scalingscript. Oc 1200 and uv -25mV at 1200Mhz. No tweaks applied in semaphore app. This morning I had a reboot. Ater I turned the alarm off this morning I immediately opened sms(I had got a text during night) and then the phone froze and rebooted. I have not had this problem before. Just wanted to let you know. I will investigate it again tomorrow morning. Btw, Im using ondemand.

Thanks for making the sgs better and better:)
[Galaxy S I9000 Android Development] GreenSGS:
Exactly same issue here.without scaling script and uv.rest config is similar.

Something to do with deepsleep.
[Galaxy S I9000 Android Development] senotrius:
the jvt kernel causes problems with black colour.I took a screenshot but now that I hv changed to,stock jva the pic is useless as the issue gets sorted out..anyways white grains appear on dark/ black areas..as seen on low res pics.like decreased clarity.
[Galaxy S I9000 Android Development] pikachu01:
Try not UVing, especially frequencies near 100MHz and frequencies near the maximum frequency (as well as 800MHz if you're using smatassV2).
[Galaxy S I9000 Android Development] roundbelly:
Flashed it. BLN not working with sms i am using BLN control - pro. Anybody knows why?
[Galaxy S I9000 Android Development] GreenSGS:
Thanks but no UV on my phone, alarm rang and reboot on next app open. I removed all the tweaks nothing there.

@ Stratosk: Is there any possibility to drop voodoo color in next release.:) .
[Galaxy S I9000 Android Development] pikachu01:
No ThunderBolt! as well? Hmm, if that's the case, the kernel change might have been the cause.
[Galaxy S I9000 Android Development] GreenSGS:
I had only system_tweaks ;) from Thunderbolt, with read_ahead_kb adjusted to my preference. I am adding tweaks one by one now, let see if I can replicate this.
[Galaxy S I9000 Android Development] jocke_lulle:
The problem is that I cant use oc 1200 if I dont uv the highest freq a little bit(at least it used to be so). It has worked perfect before yesterday with thunderbolt! v1.x.x and semaphore 1.8.2
[Galaxy S I9000 Android Development] stratosk:
Yes, it is left over from cfroot. It's better to remove it as you did.
[Galaxy S I9000 Android Development] pikachu01:
Hmm, stratosk ... any ideas? :)
[Galaxy S I9000 Android Development] haloimplant:
You need patched framework. Don't know that ROM you have but this for JVT worked for me (odexed one in my case). http://xdaforums.com/showpost.php?p=18938188&postcount=12
[Galaxy S I9000 Android Development] stratosk:
Try to UV only the 1200 frequency by -25mV. Leave the others as is and retry.
[Galaxy S I9000 Android Development] Fenvarien:
Running beta tests with oc+uv is not recommended IMHO, because you never know if a bug or fc occurs because of oc or uv or something else. Here I am running Semaphore 1.9.0beta with ThunderBolt 2.1.1.1 and screenstate scaling script 2.1.2 rockstable including morning alarm.
[Galaxy S I9000 Android Development] darckengel:
Can you try to set sampling rate to 40 000 via setCPU for example?

Maybe your CPU can't handle too fast freq switchs
[Galaxy S I9000 Android Development] ShadowReaperGR:
Why I cannot use this kernel with CyanogenMod?
[Galaxy S I9000 Android Development] stratosk:
Because it's built for stock Samsung roms.
[Galaxy S I9000 Android Development] darckengel:
Stock based kernels and CM7 based kernels are very different, so you can't use stock with cm7 and can't use cm7 with stock
[Galaxy S I9000 Android Development] roundbelly:
I used original jvt then applied this kernel. Should i try the deodexed then this kernel ? Looking forward to your answer. Thanks
[Galaxy S I9000 Android Development] stratosk:
No, you need the odexed one.
[Galaxy S I9000 Android Development] roundbelly:
What is the difference between odexed and deodexed? It says that flash via cwm, is it wipe version or non wipe or just a little patch? Sorry for so many question
[Galaxy S I9000 Android Development] darckengel:
It's mainly how your rom is build, stock rom is odexed, and most of custom are deodexed.

It's just a patch, you will not lose your data ;)
[Galaxy S I9000 Android Development] demonstone:
This morning I was unable to make my phone recognizable by my pc until i rebooted the phone. Using stock deodexed jvt rom and debug mode. I'm on semaphore 1.9.0 beta. Only for feedback, nothing important.

Keep working stratosk. Regards.
[Galaxy S I9000 Android Development] roundbelly:
So i just go ahead flash the update.zip right? Thanks for the help really helpfull
[Galaxy S I9000 Android Development] stratosk:
I suggest you to always make a backup before flash updates. Just in case...
[Galaxy S I9000 Android Development] darckengel:
Yes, just flash, and BLN should be fonctionnal.
[Galaxy S I9000 Android Development] kukuk10:
After turning on 50Mb cache I can't update or download any apps from market. Works if not using it.. how can I fix this? Thanks
[Galaxy S I9000 Android Development] stratosk:
Can you please test this one?

@all

THIS IS A TEST VERSION FOR DOCK SUPPORT
[Galaxy S I9000 Android Development] darckengel:
Use Semaphore app to clean extra busybox files.
[Galaxy S I9000 Android Development] fcck:
Check if there are any

busybox files

in the locations /system/bin and /system/xbin, if YES, you have to delete these. Reboot and try again...:)
[Galaxy S I9000 Android Development] jocke_lulle:
That is exactly what I done, only uv by -25mV at 1200 (from an earlier suggestion by you:) )

Ok. I think im going try to keep the oc and uv tonight and see if the same thing happens tomorrow morning.

As I said, im going to keep my settings for now and see if I can reproduce the problem. If so im going to try your tip.
[Galaxy S I9000 Android Development] fcck:
Or this yeah, if you are on the latest version of Semaphore App (=0.62)
[Galaxy S I9000 Android Development] roundbelly:
Thank you all for your support stratosk and darkengel
[Galaxy S I9000 Android Development] stratosk:
Why do you want to wait until tomorrow morning?

You may use an extra alarm and try to reproduce it now (if you have free time of course)
[Galaxy S I9000 Android Development] HM.Carbide:
If someone else is facing this problem, i am interested, if the option "Clean busybox" in semaphore app solves the problem immediately, or if a reboot is necessary. (or does not solve the problem)

Thanks.
[Galaxy S I9000 Android Development] elhennig:
Still no luck! Sound is not redirected to USB. Could it be that the SGS Speaker Dock app spoiled some configuration or is it supposed to do the right thing? Do I have to use Samsungs car dock app?

Should Voodoo Control app be activated when connecting the car dock? Is there any setting in Voodoo Control Plus that might disable the sound routing?

One more thing I tried was to disable USB debugging, but that did not help either....

EDIT: Disconnecting the car dock does not switch back to the default home screen!
[Galaxy S I9000 Android Development] stratosk:
I'm sorry that I can't help on this. I don't own dock station and I can't test.

Maybe you could PM tazman171 about this. He tested successfully on captivate.

Otherwise I suppose the patch does not work on I9000. :(

Edit: I asked this on captivate thread to get more details. I will let you know if I get some answer.

Edit2: Please use this application from market "Galaxy Dock Sound Redirector" that xcaliburirhand developed for this reason. Please test it first in original 1.9.0b.
[Galaxy S I9000 Android Development] jocke_lulle:
Yes I tried it and it works now.

I thought it might have something to do with the phone being asleep all night...but I dont know...
[Galaxy S I9000 Android Development] stratosk:
Ok, thanks for testing this. I will wait your report tomorrow.
[Galaxy S I9000 Android Development] GreenSGS:
Hi stratosk,

I am on 1.9.0b since yesterday, works as usual good so far. I have couple of questions:

Are there inbuilt app priority adjustments something like supercharging HTK thing in semaphore? never heard anything about it after your dropped HTK script.

Is there any possibility to gain more RAM, if you drop Voodoo color,BLN from kernel, if so could you please make some time to release one? may be have a poll if more people agree.

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

I don't make any tweaks about these. HM.Carbide created most addon tweaks. I just include them in the kernel. I just want to tweak/develop only kernel related stuff.

About voodoo color I have already had this poll:

http://www.semaphore.gr/component/acepolls/poll/1-do-you-use-voodoo-color

Most people want voodoo color. And I can say the neither voodoo color or BLN consumes more available ram (at least noticeable).

EDIT:

And the difficulty about branch versions with different features is the maintenance. At the present I have to maintain 4 version (2 for i9000 and 2 for captivate). So, with every release, testing for different branches uploading in both XDA and semaphore.gr is quite time consuming (and of course the possibility of inserting bugs or break something is increased)
[Galaxy S I9000 Android Development] Handeman707:
This are mine settings (see below) now is this okay? :

Semaphore / Scipt Manager v0.62 (with kernel 1.9.0beta semaphore)

(running at min.100mhz - max.1000mhz)

Governor : SmartassV2

Scheduler: Deadline

Netfilter: UNchecked

Speedmod colors: Neutral

Logger: disabled

TUN: disabled

CIFS: disabled

Virtual Cache: enabled

IPv6 privacy : disabled

Kernel scheduler: enabled

Low memory killer: 92MB - chainfire

SD-Card read ahead: 256kb-64kb-best

VM dirtyness: enabled
[Galaxy S I9000 Android Development] jocke_lulle:
Ok, just had another freeze and reboot while listening to music and using xda app. So it probably has nothing to do with waking up from deepsleep. For now im going to disable oc and uv to see if it helps me.
[Galaxy S I9000 Android Development] stratosk:
They look fine to me. :)

(I would suggest noop or SIO scheduler)
[Galaxy S I9000 Android Development] betoNL:
Smoooooth

Fast report,

1.9.0 beta no issues so far....

Virtual memory (I mean cache to 50 MB)/ market / video playback ( getting stuck on buffering) issue, COMPLETELY GONE..

This is getting better and better

Still on same mod rom and fyle system

So smooth, good battery performance, no need to OC/UV at all :)

Congrats again :):)
[Galaxy S I9000 Android Development] McDown:
I did fresh flash of stock JVT and 1.9.0b yesterday and all I can say GREAT JOB! once again, stratosk! Everything smooth and fast. :)
[Galaxy S I9000 Android Development] Dan_Aykroyd:
Congratulations!

Hey stratosk; you are by far one of the best developers I've seen around here! Always improving your product and also very nice to users, always participating and solving problems and you don't mind when you are asked for the 100th time about "why no tether?"! :rolleyes:

I've read the changelog for the 1.9.0, although I'll wait until you release the stable version, it looks awesome!

The newmail's deepsleep patch only applies to the ondemand governor? I was using smartass since 1.8.0 and now, ondemand might be "better" just because is the only one having this patch, am I right?

Although I'm not 100% clear on the governor differences (I've read a lot in Linux forums about these kernels; also Wikipedia, but they are different for the Android), I'm trying to find the "best" one for my phone.

Thanks again man! Keep this great kernel going!
[Galaxy S I9000 Android Development] darckengel:
Some parts of the patch applies to all governors like some DVFS (music player no longer stuck at 400Mhz while screen off) or the screenstate scaling for CPU.
[Galaxy S I9000 Android Development] stratosk:
Thank you, I just hit your "Thanks" button and get the "Sorry, you are limited to five thanks per day" message. I'll wait till midnight. :)

darckengel mentioned the point. Yes, this patch goes only to ondemand but also disables the DVFS lock. Hmmm, I think I will revert it back (the DVFS lock)
[Galaxy S I9000 Android Development] GreenSGS:
1.9.0 , OC 1.2, smartass + sio,no tweaks at all.There is something wrong in 1.9.0, I had 2 freeze and reboot today.both time on tapatalk app.something is not going ok with above config.
[Galaxy S I9000 Android Development] stratosk:
I know that maybe you find this annoying but can you please try with ondemand?
[Galaxy S I9000 Android Development] betoNL:
How does your phone usually handles overclocking?

Are you also undervolting?

Which rom?

If other users are not reporting the same issues, why you think the problem is kernel related ?.

Many issues are more user-related or mod rom related than anything else....
[Galaxy S I9000 Android Development] GreenSGS:
Okay switched to on demand and noop,had one more reboot while typing reply.Thanks for reply.

@betoNL: I am on stock JVT,Nothing else. I am not the only one,there is one more person but ok.I'll try to figure it out.I have done nothing else than updating to 1.9.0b.
[Galaxy S I9000 Android Development] GreenSGS:
Busybox is gone after reboot.reflashing 1.9.0b.

Edit: sorry.spoke too fast,it's new version of script manager creating trouble.
[Galaxy S I9000 Android Development] andip71:
ext4 conversion with Chainfires ext4 tool

Good evening,

I have a question:

Usually I always converted from RFS to ext4 by using Speedmod in the past.

However, today I did a fresh JVT stock install and first time used Chainfire's ext4 tool to convert.

After having a look at the mount options after conversion, I noticed some differences to the conversion Speedmod does:

1. Cache is using ordered journaling, while Speedmod uses writeback journaling.

Writeback is supposed to have a bit better performance.

I am surprised anyway, for cache journaling is used, do you know why?

2. Speedmod uses a commit time of 20 seconds for data and dbdata. With the ext4 tools I do not see a commit time, so I assume it is the standard of 5 seconds.

Do you know any way how to easily remove journaling from cache or at least set it to writeback mode? (I know I can use tune2fs via adb, but isnt there something else simpler?)

Do you know how I can set a commit rate? It is a mount option apparently, but I do not know where and how the file systems get mounted during boot up.

Is anyone doing tweaking of ext4 mount options at all or am I over-ambigous now??? :)

Thanks to all and have a great evening

Andi
[Galaxy S I9000 Android Development] gsw5700:
I use acid tweaks to remove journaling from system and cache file systems, works really well

Ps, had 1 issue using 1.9.0, titanium backup fc'ed, otherwise very fast, great battery using smartassv2 and sio, not using kernel, tweaks

Sent using TCP/IP
[Galaxy S I9000 Android Development] andip71:
Think I found it... sorry for inconvenience...

I was just googling a bit, but could not find a download or a thread on Acid tweaks. It always directs me to supercharger. Is it the same, or do you have a link for me?

Thanks

Andi
[Galaxy S I9000 Android Development] oserx:
@stratosk - I have my own scripts in init.d, first boot - scripts are deleted....

ok, I solved this - I moved to xbin - customboot.sh

---

I have in init script some lines to delete unwanted scripts in /res/scripts ... next boot they are back ... why ??
[Galaxy S I9000 Android Development] darckengel:
@stratosk: why setting the DVFS back?

For music, i think thet set it to prevent scattering music, but with the actuel settings the sound is flawless.

The other DVFS, i don't know the effects.
[Galaxy S I9000 Android Development] Fenvarien:
Some feedback after a hole day of using the phone with real life Apps and some gaming. Kernel 1.9.0beta runs absolutely stable here along with the latest Thunderbolt version and screenstate scaling. Battery life has improved very much. Since 8 hours I applied UV but no OC - works rockstable too.

Thank you Stratosk for your ongoing work and development!
[Galaxy S I9000 Android Development] stratosk:
Did you reboot within 2 minutes? If yes, I think you enabled the bootloop detection.

/res/scripts "belongs" to initramfs. At the next boot will be there as is in the initramfs.

Actually we have this discussion when you tested music player at 400MHz. :) I can't believe that DVFS are completely useless. I'm sure that the device works OK without them, but why samsung put them there. Let me check this one more time...
[Galaxy S I9000 Android Development] oserx:
@stratosk ... I'll clean /res/scripts every boot :D

and this kernel is really what I felt with CF-root ...

I told you before that using 1.8.0 and 1.8.2 I felt the phone lagging ... with CF-root everything was ... fluid ... With this perfect it's wonderful :)

Good job

--- I CANNOT CLEAN SCRIPTS ...GRRR ... I have to check again !
[Galaxy S I9000 Android Development] HM.Carbide:
What is the benefit of cleaning /res/scripts?
[Galaxy S I9000 Android Development] oserx:
as I told you in PM ... I implemented in startup scripts ... deadline, vm optimizations, kernel optimizations ... they are slightly different than your settings. I let enabled only tun, netfilter, oc, cifs, speedmod colors, logger, touchscreen. If an user plays with semaphore.apk then he/she can change these settings until next boot ... so I prefer to "disable" unwanted settings...

I did these settings to achieve maximum I could think of ... and I don't want people change these settings ...
[Galaxy S I9000 Android Development] gsw5700:
Uploaded the acid tweaks zipfile. Flash this via CWM. You should save your init.d scripts first as this creates new scripts. Then edit the acidtweak script. I comment out the /data remount so that only /system and /cache are mounted without journals. You could then edit the script to change the commit time etc if you so choose.
[Galaxy S I9000 Android Development] hackeron:
Ever heard of thunderbolt tweaks?:)
[Galaxy S I9000 Android Development] gsw5700:
Yeah, tried an earlier version but it screwed up my phone, also seeing many quickly released versions which concerns me. I have used some of these scripts (3g, zipalign) i find these with these with acid tweak makes my phone very fast and reliable. Will give it another go, when feedback is all solid

Sent using TCP/IP
[Galaxy S I9000 Android Development] oserx:
Beside scripts in init.d are deleted... customboot.sh in /system/xbin does not work...
[Galaxy S I9000 Android Development] stratosk:
About the scripts in init.d: Do you reboot your phone quicker that 2 minutes of operation?

Also, do you have other busybox versions installed?
[Galaxy S I9000 Android Development] danieldmm:
Hi, just a question...

Why you dropped CWM, Superuser? In future update you will not include?

Cheers
[Galaxy S I9000 Android Development] stratosk:
Hi, I was convinced that should not be part of kernel's initramfs. We can easily install Superuser from market. And we can boot to recovery for all CWM functions.
[Galaxy S I9000 Android Development] pikachu01:
Having a lot of versions released means I've implemented more stuff for the masses :P

Not because of bugfixes (The smaller version increments are for bugfixes in some cases like typos).

Hence if you're seeing v1.0.0.99. Then you should be worried as the incremental bugfix is done 99 times.
[Galaxy S I9000 Android Development] hackeron:
Why doesnt it say Done! or battery stats wiped! oR anything when wiping bat stats from CWM.. DOes it even work?? I didnt see any1 anwser this question that I asked before.
[Galaxy S I9000 Android Development] stratosk:
New version JVT_1.9.0 (23/11/2011)

- cpu frequency transition latency 10000

- restore DVFS locks introduced on newmail's patch

- fixed clean busybox script

- minor updates to scripts
[Galaxy S I9000 Android Development] stratosk:
It's simple. After wiping, go to battery statistics and check it. I did it, it works. Do you?

It's only a message.

And it's better to keep in mind that this is not Samsung customer support. If someone knows the answer to your question and have time and wants to answer will do it.
[Galaxy S I9000 Android Development] hackeron:
Ok sorry for that.. I didnt know that you could go to check it in battery statistics..
[Galaxy S I9000 Android Development] stratosk:
No problem. Just check this from Settings - battery use. If you wipe the statistics you'll see the same thing as you full charge your battery.

It could be a message there but I didn't build CWM, so I can't added it.
[Galaxy S I9000 Android Development] azamnecrone:
nice kernel,..just flash it...thanks!!

oh ya,

is it possible to put USB OTW with the kernel?:D
[Galaxy S I9000 Android Development] Mr Majestyk:
Is it ok to use this kernel on JVR ROM and what do you recommend for best governor.

Looks fantastic and I will be returning to semaphore after a short absence.