yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] stratosk:
Hi pikachu01, no problem. :)

But, usually installing another version of busybox using Semaphore may brake something because the kernel comes with an embedded version.
[Galaxy S I9000 Android Development] pikachu01:
Yeah I know, however the point of it breaking something stems from clashing versions. If the versions are the same, I would think that it would work well instead as I've encountered this issue when installing Semaphore after flashing Galaxian. Doing the steps I mentioned resolved the problem completely.
[Galaxy S I9000 Android Development] derrzredeem:
ah...didn't know i need that, thought voltage control was enough.

thanks.
[Galaxy S I9000 Android Development] stratosk:
You may use Voltage control and omit step 2 If you want.
[Galaxy S I9000 Android Development] derrzredeem:
@stratosk

hmm...that's exactly what i did.

i used voltage control instead of the tweak application to set the scheduler.

it's all good now, apparently i also need to opt in the tweak application as well.
[Galaxy S I9000 Android Development] stratosk:
I'm sorry I didn't understand. Is it working in this way? Using the enable_deadline script and after using the scheduler with voltage control? What is needed to do in the tweak application (if you don't need the tweaks)?
[Galaxy S I9000 Android Development] derrzredeem:
^^

Let me rephrase...

The enable_deadline script is working after i use it with both app (volt control & tweak app), but not with voltage control only.

Sorry for the confusion :p

#!drz
[Galaxy S I9000 Android Development] stratosk:
No problem. if it is enabled with tweaks application then you don't need to use voltage control.
[Galaxy S I9000 Android Development] derrzredeem:
i also enabled the OC script, hence i used voltage control in the first place ^^
[Galaxy S I9000 Android Development] griever07:
Good JOB!! i was just looking for JUWE update and I saw a kernel update well perhaps this will lessen the random reboots I am getting (occasionally) and will have a larger memory :) thanks for this useful update.

---------- Post added 19th September 2011 at 12:04 AM ---------- Previous post was 18th September 2011 at 11:43 PM ----------

I downloaded it and flash the new Kernel on my phone and it doesn't seem to increase my RAM from 336 to 353mb i wonder why?
[Galaxy S I9000 Android Development] robogo1982:
Did you download and flash the bigmem (1.7.0bm) version?
[Galaxy S I9000 Android Development] test03:
Hi people. As always, before asking any questions, I would like to thank stratosk for this kernel.

Now the question: Could my bad GPS performance, when screen goes off, be related with some kind of CPU clock down (reduces speed)?

More details: I have flashed this kernel over a 5.3 Juwe's ROM (GB 2.3.4). I am experiencing a very bad GPS performance, but I noticed that (perhaps) this happens only when the screen goes off. When I start my tracking (with Runkeeper, My Tracks or others) and check it, it seems fine and accurate. If I resume the phone from standby (screen off), I found it not able to track the position accurately.

I've tried many things: changing GPS files, changing roms, AngryGPS settings, hardware fix (tape to keep the antenna down) and the performance seems to bad only when the screen goes off.

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

I 've just performed a test. I installed runkeeper and checked the CPU frequency when the screen goes off. The CPU remains to 100Mhz all the time. When I read your post I thought that maybe is related to changed DVFS setting to 400Mhz (from 800Mhz) for music player. But as I said the CPU remains to 100MHz. So, it is not related to this change.

And I did not make any other change related to cpu frequencies except from overclocking.

Of course I didn't walk or run (I hate it :)) but the gps seems ok to me.

Did you have any issued before flashing this kernel. What was your previous configuration?
[Galaxy S I9000 Android Development] test03:
The previous config was stock 2.2 (two months ago). But with old versions of this kernel I was ok. It was just an idea.

How can I do the same test as you (check the cpu freq)? Thanks for your time.

Is there anything else that comes into your mind that I can check?

Thanks.
[Galaxy S I9000 Android Development] stratosk:
You may check the cpu frequency with cpu spy application. Reset the timers before your test and leave in screen of for a couple of minutes. Then go to cpu spy and check the frequencies.

Do you remember in which kernel version was OK?

Also, try to use version 1.6.0 (based on JVR) instead of 1.7.0 (based on JVS)
[Galaxy S I9000 Android Development] darckengel:
What about deleting the previous installed busybox in the install script?
[Galaxy S I9000 Android Development] stratosk:
I don't think it's a good idea deleting user's stuff through kernel flashing (OK, I know the kernel already deletes boot sound :)). And many times the problem happens because busybox installation after kernel flashing.
[Galaxy S I9000 Android Development] test03:
Thanks for your replies.

Actually I'm on 1.6.0.

I gathered some info with CPU spy with My Tracks open. I have that it stays mostly in Deep Sleep.

EDIT: 100 MHZ, not Deep Sleep.

Thanks.
[Galaxy S I9000 Android Development] stratosk:
Yes, I 've just tested it too. Stays in 100mhz and keeps the GPS on. No problem here.
[Galaxy S I9000 Android Development] eloisant:
Overclocking

Hi,

I activated the OC script. Now the max is at 1,2GHz, which is good. But I want to be able to change the speed depending on my usage (because 1,2 eats more battery).

However, the any overclock app I use only let me choose 1,2GHz, 800MHz or lower. With a different kernel I could choose 1GHz (which is the default for SGS I believe).

Is there a way to have 1GHz available when overclock is enabled?
[Galaxy S I9000 Android Development] test03:
Any other advices? I don't think that your kernel may be the fault.
[Galaxy S I9000 Android Development] burakgon:
Kernel from heaven...
[Galaxy S I9000 Android Development] pikachu01:
As long as you keep 1 version of the busybox in the /xbin. All others can be deleted. However, if it works fine for you without deleting, you can choose not to :)
[Galaxy S I9000 Android Development] sirbrian:
I remember when I was on DC kernel, there were no freezes (maybe because I was only on that kernel for only a couple of hours before I started using Semaphore.

I am not using the ROM with TW4

Will listen to your advise and downgrade back to 1.6.0bm

Thanks.
[Galaxy S I9000 Android Development] haloimplant:
This kernel has been a rock so far. After rebooting to enable netfilter my phone has been going without a glitch for 168 hours, a full week.

Unless I get the urge to install the OC script or a new version comes out, I can see this easily going months like I did with speedmod on froyo.

Fantastic.
[Galaxy S I9000 Android Development] stratosk:
You may run the oc script through a terminal emulator. This will enable overclocking on the fly without rebooting.
[Galaxy S I9000 Android Development] haloimplant:
Ooh cool I thought that might be possible. Part of me wants to leave everything alone, the rest wants more CPU power for embedded flash. As it is it's almost enough to play vids from mapleleafs.nhl.com smoothly (and I'm going to be hitting that site alot as I'm stoked about this season!) and the 20% bump might get it there.
[Galaxy S I9000 Android Development] madd0g:
First time OC since owning the SGS and I'd say it's worth it, the kernel is awesome.
[Galaxy S I9000 Android Development] tiwag:
semaphore 1.6.0 initial condition in /system/etc/init.d

when i change from another kernel to Semaphore 1.6.0,

shall i delete all files within /system/etc/init.d/ before ?

i did so and after installing Semaphore 1.6.0 there are still no files.

is the initial condition of Semaphore 1.6.0 kernel to have not a single file appearing within the init.d folder ? if not, how can i reset Semaphore to its initial condition ?

thanks, brgds, tiwag
[Galaxy S I9000 Android Development] HM.Carbide:
It is normal.

On default, there is no file in init.d on Semaphore.

If you want any additional feature, you have to copy the necessary script from /res/scripts to /system/etc/init.d
[Galaxy S I9000 Android Development] pikachu01:
Yes, the initial condition of Semaphore is to have no files in init.d.
[Galaxy S I9000 Android Development] darckengel:
@Stratosk:

Hi,

Did you take a look on this:

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

?
[Galaxy S I9000 Android Development] sirbrian:
My /system/etc/init.d has the following files, is it normal (each time before I upgrade Darky ROM, I flash back to DC kernel then after the ROM is upgraded then I flash back to Semaphore)?
[Galaxy S I9000 Android Development] malcho:
Stratosk,

Is development of galaxy s roms and firmware comes to a end?

I don't know what better we can flash to our phones.
[Galaxy S I9000 Android Development] test03:
Hi stratosk. I've done some more tests.

Details: I've set the cpu so stay on 1000 MHz frequency (chose that value just to be safe) with Voltage Control. Than I open whatever GPS app (Runkeeper, My Tracks, GPS Status) and the performance (locking speed and accuracy is fine).

Then if I turn off the screen and back on, I see that the GPS dropped the fix and/or the accuracy is very low (60 meters off or even more). So perhaps the CPU freq is not the problem.

I don't experience such problems when the screen is on.

Any help?

Thanks!
[Galaxy S I9000 Android Development] pikachu01:
Please attach these files here. I'll take a look at them :)

---------- Post added at 12:51 AM ---------- Previous post was at 12:50 AM ----------

Are you using any scripts or SetCPU profiles that triggers screenstate scaling?
[Galaxy S I9000 Android Development] test03:
Thanks for the reply.

I'm not using any script of that kind, nor I have any SetCPU profiles (I don't have setCpu installed).

But I don't know if Juwe put some of that in the ROM, but I don't think so. Can it be possible? How can I check that?

Thanks.
[Galaxy S I9000 Android Development] haloimplant:
My SGS has always dropped the fix when the screen is turned off (or the app is put in background ie with home button) and then picked it back up when the screen/app is turned back on. I thought this was normal?
[Galaxy S I9000 Android Development] stratosk:
Hi malcho, I think always we can improve things. If people still use galaxy s devices...

---------- Post added at 08:05 PM ---------- Previous post was at 08:03 PM ----------

None of this scripts are Semaphore related. I don't know if you need these scripts for Darky ROM or for DC kernel.

---------- Post added at 08:09 PM ---------- Previous post was at 08:05 PM ----------

Hi darckengel, I noticed it but I had no time to investigate it. Any clue?
[Galaxy S I9000 Android Development] pikachu01:
Hi stratosk,

The ondemand governor patch mainly affects the frequency/sampling rate and some other settings when the screen is off. It's to lessen idle battery drain which is a problem for people who have apps draining their battery even when they aren't doing anything with it (like Lattitude)
[Galaxy S I9000 Android Development] stratosk:
Hi,

It sounds interesting. I will give it a try when I will have time. Thanks

---------- Post added at 08:26 PM ---------- Previous post was at 08:17 PM ----------

When you load the oc module, 1.2Ghz replaces 1Ghz step. I find this better approach as explained in previous posts.

I think you have 2 options:

1) When you don't need OC remove executable permissions from S05_enable_oc script in /system/etc/init.d and reboot.

2) If you don't want to reboot you may try to run this script:

#!/system/bin/sh

rmmod cpufreq_stats
rmmod /lib/modules/semaphore_oc.ko
sleep 1
insmod /lib/modules/cpufreq_stats.ko

echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

This will disable OC replacing 1.2Ghz by 1Ghz on the fly without reboot.

---------- Post added at 08:30 PM ---------- Previous post was at 08:26 PM ----------

I'm sorry but I run out of ideas. I don't think it's semaphore kernel related since I didn't change anything regarding GPS. Maybe we need reports from people about this to find out what's going on.
[Galaxy S I9000 Android Development] test03:
Thanks anyway. I will try to ask Juwe also.

Bye!
[Galaxy S I9000 Android Development] pacc:
I'm using your latest kernel (great job) with JVS, but I'm just wondering if anyone knows what is the voltage setting in deep sleep mode.

Sometimes I notice that when in deep sleep mode, battery stats/percentage seems fooled by deep sleep, sometimes battery charge even increases slightly (1%), and when I start using android, percentage drops quickly (probably to the real battery charge). Cleared battery stats and still same thing happens now and then.
[Galaxy S I9000 Android Development] stratosk:
I think your battery needs calibration. I don't think that this is related with voltages. Leave your battery be calibrated with few cycles charging - discharging. BTW how old is your battery?
[Galaxy S I9000 Android Development] HM.Carbide:
The % battery measurement IS NOT accurate. The accuracy is about +-10%. The voltage is measured and it depends on a lot things (current power consumption, temperature, how full the battery is,...) what it means in %.

Easy test, power off the phone, power it on again and look at the battery %.

That is the reason for a battery stat file, that tries to create a linear % to voltage mapping, depending on your personal usage (power consumption), to be more accurate.

It is also the reason to show only 4 steps in the battery icon, because it is not accurate in 1% steps.

So also dropping faster when you wake up the phone is also because the power consumption increases drastically, and therefore battery voltage is lower.

Wiping battery stats destroys all the necessary information measured over several weeks or months.

This should only be done, after it is definitely corrupted after flashing a rom, not for fun.
[Galaxy S I9000 Android Development] darckengel:
From what i read on the patch file (but i'm not a C++ programmer and even less kernel tweaker specialist and the source is not commented), the goal is to handle the deep iddle state in a better way and reduce battery usage while screen off (if you let your phone iddle for some time even with data/gps/synch off, it wakes from time to time, and when it wakes, it will work at max cpu), it seems that it also change some DVFS and a better I/O management to use less cpu.
[Galaxy S I9000 Android Development] stratosk:
Thanks, I will check it.
[Galaxy S I9000 Android Development] gtluis:
I had never tried this kernel, I'm amazed at how fast my phone got after installing, and I loved the color tweaks on Voodoo Control app.

Thanks a lot!

---------- Post added at 04:08 PM ---------- Previous post was at 03:55 PM ----------

Just ran a Quadrant Standard Benchamrk, it hit about 1450, not much, but definetly a lot faster than before using this kernel!
[Galaxy S I9000 Android Development] stoske:
This same happens to me, when I was on 1.5v everything was fine, but with 1.6 and 1.7 is like that.

As soon as start using phone, battery is discharging rapidly.

ROM is Simplicity (nothing changed, just kernel update)
[Galaxy S I9000 Android Development] darckengel:
Enable ext4 lagfix and you will have 3000+
[Galaxy S I9000 Android Development] stratosk:
Do you mean and overclocking also?:)
[Galaxy S I9000 Android Development] darckengel:
3800 Oc (but with no journal)

It's not necessary to reach the 3k i think (as i reach 2500 at 800 Mhz).

Edit: 3300 at 1Ghz (with no journal so i think a little more than 3k with journal)
[Galaxy S I9000 Android Development] stratosk:
Wow! Do you use stock rom?
[Galaxy S I9000 Android Development] MariosFFX:
Just flashed Semaphore_kernel_JVS_1.7.0.tar on I9000XXJVR.

Wi-Fi no longer works, any fix please?

Ignore the post.

It works. Probably my router got stuck, I don't really know
[Galaxy S I9000 Android Development] darckengel:
I use tornado rom (wich is odexed and very close to stock) and various tweaks/scripts i found on xda.

But quadrant scores are not very relevant, they focus too much on I/O scores ...

So it's easy to fool it.

ex (Semaphore 1.2Ghz):

4254 but with some cheats (Chainfire3Ds decrease quality and tmpfs quadrant folder, i reach 4300+ but i failed the screenshot :p), but you can laugh in front of your friend which have an SGSII and have lower scores than you :)
[Galaxy S I9000 Android Development] pikachu01:
Try using BetterBatteryStats to check what's exactly eating it. About > Battery Use after you use for a period of time helps too.
[Galaxy S I9000 Android Development] haloimplant:
Yeah pretty sure quadrant became irrelevant to me when my phone with 2.1 and 'lag fix' scored ~2500 but ran like absolute garbage, HUGE 4-5 second lags to do anything. Then I get stock 2.2 and 2.3 that run 10x better and the quadrant score is half that.

Besides the i/o measurements the 3d measurements are clearly not reflective. The fps seems to snap between 28 and 56 fps clearly some sort of vsync or rate limiter.
[Galaxy S I9000 Android Development] sirbrian:
Thanks for your help to check if these files are needed. I have attached the files.
[Galaxy S I9000 Android Development] Vogie:
BLN not worked :(
[Galaxy S I9000 Android Development] pikachu01:
Have you installed the BLN app and enabled it? Only SMS not working? How about things like Google Talk or Whatsapp? Give more info please!
[Galaxy S I9000 Android Development] Vogie:
I don't use google talk or Whatsapp

I triad BLN app but it's not cool !

and don't work with Stock SMS app!

there is not service.jar to support BLN for stock SMS app ?!
[Galaxy S I9000 Android Development] darckengel:
You will need the BLN pro app.

Try with handsent sms it should work with standart sms (it works for me).
[Galaxy S I9000 Android Development] Vogie:
BLN pro ? witch version are u using ? ;-)

are u sure will be work for Samsung stock sms ?
[Galaxy S I9000 Android Development] Rebel2k:
No even with the Pro version you need to have a modified services.jar for it to work with the stock SMS app.
[Galaxy S I9000 Android Development] madd0g:
http://xdaforums.com/showpost.php?p=17586649&postcount=2849
[Galaxy S I9000 Android Development] stratosk:
Hi guys,

I developed a website to organize information about Semaphore kernel. This is still in early stage but I will upload day by day useful material about the kernel.

Please that this site is not a forum. Please continue to post here in this thread.

I hope you like it and find it useful

www.semaphore.gr
[Galaxy S I9000 Android Development] malcho:
Good,good it will improve semaphore popularity.

Many regards my friend
[Galaxy S I9000 Android Development] stratosk:
Thank you my friend.

My goal is to collect and organize the knowledge of this thread and help people who use this kernel.
[Galaxy S I9000 Android Development] Rahulrulez:
Loved the website.. Keep the good work up :)
[Galaxy S I9000 Android Development] coldhandz:
Excellent idea Stratosk, filos mou!! Bookmarked:D lol
[Galaxy S I9000 Android Development] stoske:
I tried that already, most used is K9 push service

I would like to mention that nothing is changed, same ROM and apps. When I install 1.5v everything is just fine. When I upgrade to 1.6 or 1.7 there is a drain when a screen is on.
[Galaxy S I9000 Android Development] pikachu01:
When screen is on, then check your Process rather than the Partial Wakelock.
[Galaxy S I9000 Android Development] pikachu01:
I can't open the zip file using 7zip. Can you attach the file individually to mediafire?
[Galaxy S I9000 Android Development] Rebel2k:
@stratosk: very nice website!! :)
[Galaxy S I9000 Android Development] ysty89:
Here you go. Hope this works.

http://dl.dropbox.com/u/15841638/initd.zip
[Galaxy S I9000 Android Development] sirbrian:
Sorry to ask a noob question, why is it that I am not able to take video at 1280x720 (Black screen). What does break 720 means in bigmem as mentioned in 1st post?

I can only take video at 720x480...please help...thank you ;)
[Galaxy S I9000 Android Development] ysty89:
If you are using the BIGMEM version than that is normal, because it breaks (you can't record) 720p video recording. The advantage is the plus memory on the other hand (see OP)
[Galaxy S I9000 Android Development] pikachu01:
S3darkyrombootsound:

/sbin/rm -f /data/local/android_audio.mp3

/sbin/rm -f /datadata/local/android_audio.mp3

Removes the bootup sound. If it's been removed, no need to keep this file in your init.d

s70zipalign

The same zipalign script that doesn't work without the zipalign binary. Most ROMs including Darky won't provide this binary, hence the script is useless.

s97sdcardpseedfix

Makes the readahead to be 2048. 256 or 512 should be better. Some kernels change this value to 512 (like Talon)

s98darkyrommarket

Copies the market from /sdcard/Vending.apk. Most likely a Darky Market? Not sure.

s99complete

A setprop feature for Cyanogenmod roms. Not sure why Darky put this inside his ROM.
[Galaxy S I9000 Android Development] meanmf:
How to enable lagfix?
[Galaxy S I9000 Android Development] darckengel:
Use the ext4 app
[Galaxy S I9000 Android Development] B-Ace:
I got a Question... when i use the "Tweak" app.. I almost enable everything except:

1. Min-Free (cause i use Juwe's RamScript)

2. I/O: Deadline

3. CPU

4. Media

But if i check my init.d folder there are only these scripts:

enable_netfilter

S97ramscript

I paste them into the folder manually....

Doesn't the Tweak App write any scripts into my init.d folder ????

Im confused lol.
[Galaxy S I9000 Android Development] stratosk:
No, Tweak app does not write any scripts in init.d folders. It sets properties which are read by the kernel (initramfs) during boot.
[Galaxy S I9000 Android Development] B-Ace:
Ah ok thx for the fast reply :D

Now im satisfied ^^
[Galaxy S I9000 Android Development] Sibix1:
Sorry if this has been asked before :) i have enabled wifi internet sharing with the script, but often my accesspoint settings are deleted, so i have to set the ssid and password again. Is it possible to fix?
[Galaxy S I9000 Android Development] stratosk:
I don't think that this is kernel related. The enable_netfilter scripts just load the netfilter modules. It does not perform any kind of configuration. Are you on stock ROM?
[Galaxy S I9000 Android Development] stoske:
Here it is
[Galaxy S I9000 Android Development] ZaneZam:
Hi stratosk! Apropos Wifi, you surely heard of the annoing wifi bug (connection drops when using dhcp) some of us (sadly including me!) have on jvs. I read about that it could be custom kernel related.What do u think about that?

Btw. Thx for this great kernel!
[Galaxy S I9000 Android Development] malcho:
Never had problem with wifi on jvs with semaphore kernel.
[Galaxy S I9000 Android Development] stratosk:
Hi ZaneZam,

I also have the Wifi issue. Where did you read that is custom kernel related?

If you have time, do a simple test. Flash the stock JVS kernel and check if the problem persist.

In my case Wifi issue was still there with the stock kernel. ;)

Please let me know if you want the stock JVS kernel file.
[Galaxy S I9000 Android Development] HM.Carbide:
Very good, if you can still reproduce this.

It should be not kernel related, but to ensure, it would be great, if you flash the stock kernel, and try again.

If it still exists, there are two bugfixes mentioned.

First is to add missing path to a config file (look at jvr jvs cpmparation thread)

Second is to flash jvp bootloader (attention flashing bootloader is risky)
[Galaxy S I9000 Android Development] stratosk:
Custom boot animations are temporarily disabled in the JVP kernel version.

And these applications are boot animations replacements.
[Galaxy S I9000 Android Development] Bo$s:
Yes, but both uses /data/local/bootanimation.bin and it's support is kernel dependent.
[Galaxy S I9000 Android Development] stratosk:
Sorry, but I don't understand you.

The point is that I disabled custom boot animations in this kernel.
[Galaxy S I9000 Android Development] Upy3r:
Quick question, what version i have to donwload for Jvh?

Enviado desde mi GT-I9000 usando XDA Premium App