yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] jocke_lulle:
Just look in Pikachu's Android optimization thread, you can find a link in his signature(He is also the author of the thunderbolt! scripts). There you have a list of apps you can delete/freeze. You can also google for sgs chlorine. In the zip-generator you will find there you also get some tips about "safe to remove"-apps.
[Galaxy S I9000 Android Development] bhu1:
No its not branded, many people confirm it that they have a update to 'jva' via kies .

Sorry I personally can't confirm it, cant access a computer these days. But some of the people who confirm it to me are reliable.
[Galaxy S I9000 Android Development] stratosk:
Anyway, Semaphore should work on every gingerbread rom. So, no need to rush at the present. :)
[Galaxy S I9000 Android Development] didicola:
hey my friend stratos dont you start slowly slowly to devellop a semaphore 2.0 version for ics ?

i know it cant be done yet due to the lack of roms ics but be prepared :D
[Galaxy S I9000 Android Development] bhu1:
K , ill try it asap. Btw cf-root for jva is downloadable here- http://xdaforums.com/attachment.php?attachmentid=781330&d=1321196285

Chainfire says he hasn't tested it. Ill try jvt semaphore on jva.
[Galaxy S I9000 Android Development] hanhav:
Battery problem.

Hi.

Been using this kernel in my GF´s phone many weeks now.

Every now and then there is problem with battery.

Today example the battery level was 35% then pretty quick it was 25%, so it was going down fast.

Phone was shutdown cause battery went empty. When she got home and plugged it in charger, battery level was again as good as 73%.

Do you think this is kernel related or could there be some some other reason?

I reseted battery stats after installing last official rom and latest version of the kernel, maybe a week ago.
[Galaxy S I9000 Android Development] bhu1:
Calibrate the battery of that sgs. Their is a guide by me on how to do that, open my xda profile and see 'all threads started by me '.
[Galaxy S I9000 Android Development] stratosk:
I will my friend :) If our country survive and if we still have internet connections... :)

(slowly slowly :D - I love your greeklish!)
[Galaxy S I9000 Android Development] bhu1:
Hehehe. Seems like a new start for android. Gingerbread was still near to froyo but ics is a whole new game.
[Galaxy S I9000 Android Development] burakgon:
Everything is nice with 1300 mhz on 1300 ma thank you mich brither. But smartassv2 has random fps slowdowns during 3D games. Ondemand offers better performance andbetter battery life. Something must be wrong or wrong is me btw ondemand is amazing already.. The reason is semaphore. Why I don't use cm7. Thank you again.
[Galaxy S I9000 Android Development] stratosk:
That's why ondemand is the default governor. :)

But I also found smartass very responsive (I don't play games).

BTW, cyanogenmod kernel is in my future plans, if I will find more free time.
[Galaxy S I9000 Android Development] burakgon:
Wow let's do it brother I will stick your cyanokernel. But please don't give up the sammy. You are the only option for us.
[Galaxy S I9000 Android Development] hackeron:
http://www.appbrain.com/app/voodoo-screen-tuning-r-d/org.projectvoodoo.screentunedev

This app cant be used due to voodoo color / nexus s driver in this kernel( call it what you want)

Possible to get a speedmod color fix without nexus s driver / voodoo color, like to good old days?
[Galaxy S I9000 Android Development] gajahwhite:
can someone pm me the best setting for semaphore?

so far.. i only change the speed of sd card read only.. :P
[Galaxy S I9000 Android Development] umberto1978:
You are a GOD, not a man!:D
[Galaxy S I9000 Android Development] fcck:
And if i want to change this to 70MB? As with a game, 55,5MB, i am still not able to download...So maybe 70MB will work?!

count=71440? something like that or?
[Galaxy S I9000 Android Development] malcho:
Smart decision of smart developer.

These days i'm intensivly playing with MIUI,CM7 and kernels Neo and glitch.

I must say i'm impressed how things work.

Only thing is missing is your work stratosk.

Many regards
[Galaxy S I9000 Android Development] stratosk:
You may change this to any value you want as soon as you have free space on your /data partition. The final size in MB = count / 1024
[Galaxy S I9000 Android Development] stratosk:
I will try to investigate why this app does not work.

About the voodoo color, I have to say that many users want this feature. I think I will leave it as is at the present.
[Galaxy S I9000 Android Development] darckengel:
It sould be due to an app which prevent the phone to go to sleep.
[Galaxy S I9000 Android Development] fcck:
Hmm changed it to count=75000 approx. cache 73MB, still not able to download the Game(55,5) MB. It gives me a error see attachement (it is in dutch, but it says ERROR, Duke Nukem 3D can not be downloaded because of a fault/error)
[Galaxy S I9000 Android Development] darckengel:
Don't forget to delete previous file cache and reboot.

- verify the size of your cache

- verify that you don't have any extra busybox installed
[Galaxy S I9000 Android Development] grifovunque:
into recovery is it possible to see the external sd card?

I have an external sd card format FAT32 but i cannot access from recovery...

How can I?
[Galaxy S I9000 Android Development] fcck:
Ok, this is what i did:

First checked if there was any cache.img file in /data/local --> NONE

1. Enable 50MB /cache via Semaphore

2. Via RootExplorer went to /system/etc/init.d opened enable_cache_50 in Text Editor and chanced "count=55808" into "count=75000" then Save & Exit.

3. Deleted /data/local/ cache.img

4. Rebooted

5. the cache.img file showed me 73.24MB

That should be oke though? How can I verify if i have installed an extra BusyBox?
[Galaxy S I9000 Android Development] DocMarc73:
Did that. Now, how can i check, which governor is actually active?
[Galaxy S I9000 Android Development] jocke_lulle:
You could check which governor is running by using e.g voltage control.
[Galaxy S I9000 Android Development] dakki12345:
anyone here comfirms that Semaphore 1.6 works on DarkyROM 10.2.2 EE Final without touchwiz4??? via SGS Kernel flasher?
[Galaxy S I9000 Android Development] darckengel:
check the size of /cache with rootexplorer.

check the presence of busybox file in system/bin and system/xbin

delete them if they are present and reboot.

---------- Post added at 02:02 PM ---------- Previous post was at 02:01 PM ----------

for the 100th time, semaphore works with all GB releases
[Galaxy S I9000 Android Development] elhennig:
If you use "adb shell" you can test which governor is used with the following command:

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

Advantage is, that you can check if the switching with the screen state works
[Galaxy S I9000 Android Development] kkube:
Hi, I am using sema 1.8.2 with stock jvt. Everything was running correctly, but once I loaded the script in semaphore app of max clocking to 1300, phone hanged, and then into a bootloop. Any ideas what went wrong
[Galaxy S I9000 Android Development] darckengel:
your phone can't handle 1.3Ghz, try 1.2Ghz or stay at 1Ghz
[Galaxy S I9000 Android Development] fcck:
First Fabulous! It worked after deleting Busybox from /xbin! genius! Pure out of interest, maybe you can explain me what the influence was of that busybox file in /Xbin that caused I couldn't download large Apps from the market..

and second I guess I can still use Titanium Backup as that needs busybox if I'm correct...

Anyhow Cheers darckengel!
[Galaxy S I9000 Android Development] darckengel:
There is a busybox included with Semaphore,

Some roms add busybox on the directories i mentionned, and it conflicts with the Semaphore's one
[Galaxy S I9000 Android Development] DocMarc73:
Thanks! But is there an easier way to find out, cos i have no experience in using adb.
[Galaxy S I9000 Android Development] jocke_lulle:
As I said, try to download voltage control and open it. It will show what governor is in use(at least when phone is awake)
[Galaxy S I9000 Android Development] HM.Carbide:
In new version of semaphore app scripts i added “clean busybox“

it should delete all unnecessary busybox files.
[Galaxy S I9000 Android Development] elhennig:
But then of course you can't check which governor is used while the screen is off....:rolleyes:
[Galaxy S I9000 Android Development] jocke_lulle:
As I said:)
[Galaxy S I9000 Android Development] fcck:
Aah thanks! I will wait till Stratosk updates the kernel with the newest Semaphore App version, instead of updating it manually :)
[Galaxy S I9000 Android Development] kkube:
Well I came from cm7 and it handled it pretty well. That's y I asked. Did 1200 bootloop again.
[Galaxy S I9000 Android Development] elhennig:
Is there a specific reason for not using the latest busybox 1.19.3 ?
[Galaxy S I9000 Android Development] stratosk:
About Voltage Control, check market for new update. I just download it. Maybe it's solves the problem.

About checking governors. I made a script (attached). Copy it to your phone (remove txt). Then through a terminal emulator or adb shell run:

./check_gov &

It will run on background and every 5 seconds will write 2 lines date and time, and governor used that moment in a file called used_gov in the same directory you placed the check_gov script.

Please note that the script will run until you stop it or reboot your phone. You may stop it finding its PID:

ps

You will see a line like this:

[COLOR="Red"]3597[/COLOR] root 760 S /system/bin/sh ./check_gov

then run this:

kill [COLOR="red"]3597[/COLOR]

The number in red is the PID and it's different of course with the example's one.

I hope this helps
[Galaxy S I9000 Android Development] zsandras:
I need help to recognize the USB connection

Hi friends,

I just now flashed with SGS kerner flasher on Darkys JVT RE rom the Semaphore_ 1.8.2 kernel and it's no USB connection.

Thanks in advance,

&drew
[Galaxy S I9000 Android Development] brettchuck:
Auto Rotate

I'm on Mosaic 8 Rom and just downloaded the 1.8.2 BM version and it is wonderful. The only issue I have is the auto rotate is not working. If it is on, it will default to the landscape mode. If not on, then the portrait mode.

Any ideas as to what the conflic is?

Also, the back arrow does not work.
[Galaxy S I9000 Android Development] DocMarc73:
Thanks for your support, but i'm a linux noob and understand just vaguely what you mean.

Let me put it this way: what about implementing screenstate scaling in your script manager? !-)
[Galaxy S I9000 Android Development] stratosk:
You should download the 1.8.1cbm version (it's for captivate) and not 1.8.1bm (for i9000).

You may find it here: http://xdaforums.com/showthread.php?t=1338372 or here: http://www.semaphore.gr/downloads/captivate
[Galaxy S I9000 Android Development] stratosk:
I'm sorry. I though you wanted to check what is the governor used when the screen goes off.

I usually include only the basic scripts to enable/disable features. Maybe HM.Carbide could look at this to include this as an addon script in his amazing application. :)
[Galaxy S I9000 Android Development] fcck:
Well there be an update to the latest Semaphore App version 0.6 or something like that? Or is it easier to update this app manually instead of waiting for update semaphore kernel?
[Galaxy S I9000 Android Development] stratosk:
I suggest you to update to latest version of Semaphore App manually. You don't need to wait for the Semaphore update, enjoy the new app. :)
[Galaxy S I9000 Android Development] zsandras:
Sorry for the stupid question. As I see after the kernel flash Settings/Applications/Development/USB Debugging was NO ticked.

Is it functionally better to be not ticked? Or it's no difference?

Thx

&rew
[Galaxy S I9000 Android Development] stratosk:
There is no difference for daily use. You may enable it, if you need it.
[Galaxy S I9000 Android Development] Rebel2k:
As far as I can remember when I asked stratosk a few months ago he told me that:

- it was a stable and well-tested version,

- it has the whole runtime part (missing in some later versions),

- and above all: it was small and nice to embed with the kernel (compared to bigger later versions).

It's working and working fine, so for me, no need to upgrade it at the moment.
[Galaxy S I9000 Android Development] xan:
I got a bug report. Should be self-explainatory:

cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
Output:
1200000 5220
800000 1419651
400000 195783
200000 241927
100000 2640159

Command:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Output:
1000000
[Galaxy S I9000 Android Development] stratosk:
Thanks for reporting. Any steps to reproduce this?
[Galaxy S I9000 Android Development] :
never used tethering but a small test on wireless tether gave me also an error.

2.3.4 jvp deodexed with jvp modem, semaphore 1.3
[Galaxy S I9000 Android Development] stratosk:
Can you please try to use this as boot script in the /system/etc/init.d directory?

#!/system/bin/sh

insmod /lib/modules/tun.ko

Edit: No, it does not work. I will look at this
[Galaxy S I9000 Android Development] sathiere:
Thanks much. Waiting for the next version inluding a tethering fix to switch back to your great kernel.

Strange that I seem to be the only one using tethering ;-)
[Galaxy S I9000 Android Development] Rootax:
Tethering is very costly in some country.

Anyway, i'm waiting a lot from, the modules thing ;)
[Galaxy S I9000 Android Development] stratosk:
But the attached script works. :)

You have to put it in the /system/etc/init.d directory.

You may also use this script if you want to enable firewall on your phone.

Please note that you have to remove the '.txt' extension.
[Galaxy S I9000 Android Development] ali_khalid5518:
hi i just want to know that i m using criskelo JVQ rom the lastest one can u plz tell that i can flash any of semphore kernel on in i m planning for lastest samephore kernel......plz if anyone know then give me reply
[Galaxy S I9000 Android Development] hellfirez1714:
Stratosk!

- 336.3 MB RAM (without video loss)

This what you mean? This is?
[Galaxy S I9000 Android Development] dom89:
Just flashed Semaphore 1.2.2 kernel on JVP.

Auto brightness does not work anymore. Was working on JVP stock with CFRoot.

Seems that there is a conflict with BLN. Anybody has same issue ?

How solve this ? Thanks for your help.
[Galaxy S I9000 Android Development] MasterJam882:
Had the same issue...waiting for newer kernel to see if case was solved by stratosk...other kernels had this problem too...dunno why - maybe startosk know and can tell us
[Galaxy S I9000 Android Development] Xtorm:
+1 I have the same question :confused:
[Galaxy S I9000 Android Development] habylab:
Auto brightness fix would be great!
[Galaxy S I9000 Android Development] stratosk:
The kernel reserves memory for video functionally. Extra free memory achieved reducing the reserved memory. In my previous version the free memory was 334MB using the same configuration as speedmod kernel. Further reducing the reserved memory could cause problems (no 720 video recording).

With the latest version the system have extra 2MB of free ram without any loss in video.
[Galaxy S I9000 Android Development] habylab:
Sorry if it has already been asked or said stratosk, but does this work on JVQ, or will you do a seperate one soon. I have the auto-brightness bug, could do with a JVQ update so that I can see if JVQ fixes it.
[Galaxy S I9000 Android Development] stratosk:
Auto brightness is a JVP issue on custom kernels maybe because of outdated kernel sources from samsung.

I hope to release a version for JVQ this weekend although you may use the existing version.
[Galaxy S I9000 Android Development] stratosk:
New JVQ_1.3.0 version.

Added scripts to control the module loading.
[Galaxy S I9000 Android Development] redmaner:
Very big thanks from here!
[Galaxy S I9000 Android Development] dherre65:
Is the 1.3 kernel based on the jvq source? And what does tun mean? I understand the auto brightness fix was a jvp issue, so it should be fixed with 1.3?
[Galaxy S I9000 Android Development] hellfirez1714:
Stratosk, thanks for kernel..

A question ...

I installed the kernel 1.3.0 (stable) in a rom JVP. (whether it is for JVQ)

The question is that without adding new escripts in init.d. I can overclock to 1200 with SetCPU or voltage control ...

I can also do with tether, wifi tethering.. ...

Is this normal?

Edit:

Could you explain a little better which are the modules:

tun, cifs, logger.

And if possible .. if ever require for the "normal" people?

PD: I have a post in Spanish on your kernel configuration in http://www.htcmania.com/showthread.php?t=223657

Thanks for everything
[Galaxy S I9000 Android Development] habylab:
Thank you very much! Could you add conservative scaling back if it isn't already, please?
[Galaxy S I9000 Android Development] :
its available as module, try

insmod /lib/modules/cpufreq_conservative.ko

pack the code into /system/etc/init.d/[some name of your script] and you're pretty good gone at boot time :)

just tested the line above, works like a charm and tegrac oc tool also displays conservative gov :)

hth

edit:

The modules lie around in /lib/modules (as in every linux distribution it starts with this path).

try google-ing their names, as of on the governor example you can read along this one.
[Galaxy S I9000 Android Development] xan:
Sorry, I have no idea. Might be related to Voltage Control, because I got this from VC user, tigresiberiana

Command:
uname -a
Output:
Linux localhost 2.6.35.7-I9000XXJVT-CL617736 #Semaphore_JVT_1.8.2 PREEMPT Thu Nov 3 22:02:20 EET 2011 armv7l GNU/Linux
[Galaxy S I9000 Android Development] hackeron:
Stratosk, ignore the things I said about colors and that app.. :>
[Galaxy S I9000 Android Development] thompson2009:
major crash

Hi

I was running version 1.8.2 on setting 1200 and on demand. I changed it to smartass to see if there would be any difference. And the second i selected it.

My phone rebooted and it would not boot again.

In the end i had to completely wipe my phone and start again.

Any ideas why this might of happened. gutted as just made loads of changes to phone and lost it all.

Thanks.
[Galaxy S I9000 Android Development] sirbrian:
I have too many freezes on my phone and the need to self reboot for months already (since upgrading from 9.5 to 10.2.2). I did following the instrutions religiously during the upgrade, I even reformated both the internal and external SD card to wipe clean as much as possible. AND yet as time goes by, the system is getting laggy and freezes. I even wipe delvik cache everytime the system gets worse. It helps for couple of weeks but then I still face the same problem.

I think I want to reflash it, since I also intend to upgrade my ext SD card to either a 32GB or a class 6 16GB.

I just don't understand if it is ROM or KERNEL relate issues

Thanks in advance for all your advices.
[Galaxy S I9000 Android Development] HM.Carbide:
The governor is resposible for switching cpu frequences.

Mainly a problem, if you are undervolting.

conservative only jumps from one freq to the next freq step.

Ondemand jumps when needed immediately to the highest freq and than decides which freq will be the best.

Smartass stays mainly on 800mhz.

So if you undervolt 800 too much, smartass gets probably a proplem where others don't.

It can also be that jumping from 800 to 1200 is a problem for your phone, jumping from other frequences to 1200 not.
[Galaxy S I9000 Android Development] HM.Carbide:
The new order of VoltageControl script is responsible for that.

With the old name, VoltageControl script was executed before semaphore switched to 1200mhz.

Now it is executed after semaphore switches to 1200mhz.

If there is an old config in VoltageControl script with 1000mhz, then you get this problem.
[Galaxy S I9000 Android Development] stratosk:
Thank for you info mate.

Tigresiberiana PMed me and he also use S98screenstate_scaling script. I will asked him to send me the script to examine if this cause the conflict.
[Galaxy S I9000 Android Development] thompson2009:
Hi

Cheers for the reply.

I was set to on demand ans 1200. changed it to smartass and phone rebooted as i selected it. That is the only change i have made since in installed it.

And the change totally screwed the rom. It would not load at all. and had to start again. Why would it do that. any ideas.
[Galaxy S I9000 Android Development] pikachu01:
You undervolted too much in the 800MHz region. You should test do some stress testing before undervolting your device and saving it at boot. One way is to play RMVB files in Software Decoce mode in RockPlayer for 10mins.

For more info, refer to my Android Optimizations Thread at my sig and CTRL-F "undervolt".
[Galaxy S I9000 Android Development] xan:
Hm, I dont fullly understand this.

Only way VC applies settings on boot is init.d script.

With no scripts from VC (either S_volt_scheduler and 91Svoltctrl)

everything stays stock until app launch.

I believe if there is no such state as 1000Mhz defined in time_in_state nor scaling_available_freq cpufreq driver should not accept 1000000 as a valid input for scaling_max_freq nor scaling_min_freq. It appears it accepts and remembers it anyhow.
[Galaxy S I9000 Android Development] tapsumbongs:
Tethering is not working. Anyone one else experiencing the same problem?
[Galaxy S I9000 Android Development] stratosk:
OK, I checked the screenstate_scaling script. It does not set the scaling_max_frequency (at least it's commented out).

I think I found a scenario:

No overclocking. User run VC and save the settings. Script S91voltctrl is created with scaling_max_frequency at 1000000. Then user selects overclocking to 1200. The S05enable_oc_1200 script is created with scaling_max_frequency at 1200000. Now the sequence:

1) Device boots and stock 1000MHz.

2) S05enable_oc_1200 script sets the frequency steps to 100,200,400,800,1200 and the max freq to 1200MHz

3) S91voltctrl sets max_scaling_frequency at 1000MHz. This frequency is not found and (I checked the code) the previous level is selected by the driver (L1 = 800MHz)

Conclusion: undervolting settings must be re-selected by users AFTER selecting OC.

@tigresiberiana

can you please confirm the above scenario?
[Galaxy S I9000 Android Development] stratosk:
Yes, many people experienced this. They enabled Netfilter from Semaphore application and problem solved. :)
[Galaxy S I9000 Android Development] pikachu01:
Enable netfilter in Semaphore app. Please learn to read the OP before asking such questions :)
[Galaxy S I9000 Android Development] HM.Carbide:
Yes, thats what i ment.

As long as vc script was named S_..., it was executed before S05enable_oc...

I made for me S06enable_uv scripts,but Voltage Control is such a great app, so i am thinking about a solution.

Only way i can think of at now, is either xan uses <S05 or semaphore uses >S9x.

By the way, the kernels supporting only S* scripts, are supporting also E* scripts with higher priority.

@stratosk

What about Sema01enable...

Sounds cool, everyone will know that it is only for semaphore, and it will be executed after the other scripts. In austria there is a thing for children called Kinderüberaschung, three surprises in one thing :)
[Galaxy S I9000 Android Development] stratosk:
tigresiberiana just confirmed the scenario I described.

Actually the problem is not exactly the order of script execution. The problem happens when someone selects UV settings without overclocking and then selects overclocking.

With these actions xan's script is created with scaling_max_freq = 1000000 (if user doesn't cap max freq).

Executing, OC script after xan's it's only a workaround.

Since other kernels (Talon, Midnight) also use overclocking with the same logic as Semaphore's, I think the best could be if xan insert some checking in his script. He could check for example the available frequencies and if user's selection is not in this range then use the max available freq as scaling_max_freq.

Sema01... it's not bad idea, but i'm not sure if all the semaphore scripts must executed after all other scripts.