yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] aferrario:
Automatic Brighness

Hi stratosk , all

I've flashed Semaphore 1.6.0 on Darky JVR R4 for the auto-Brighness functionality.

Now the auto brightness works but I seem to have only two levels.

On Froyo functionality was on several levels of brightness. Is there a way to activate the automatic multi-level brightness?

Thanks
[Galaxy S I9000 Android Development] MasterJam882:
@stratosk

Is there a tutorial for disable journaling or even a cwm file for 2.3.4 GB ?

Searched on XDA but only found one old thread specially for i9000 and there stands that tune2fs is only for froyo roms.

Would like to try it out but don't want to destroy anything^^

greetz and congratulations to new kernel - works like charm!
[Galaxy S I9000 Android Development] DarkSorcerer:
stratosk,

I was with RC1 and everything was going fine.. Flashed 1.6.0 and 1200mhz appeared (meaning the script was ok), but almost wasn't used by my phone in my regular usage (usually, it is used). Don't know what happened.

Replaced the scripts and rebooted, and now it seems ok. I'll be posting results, if anything doesn't work well.
[Galaxy S I9000 Android Development] -freedroid-:
Ahh yes... thanks for this great Kernel.
[Galaxy S I9000 Android Development] JazonX:
On semaphore 1.6.0

Stable, So far So good!

Should I enable the scripts Conservative, On demand ?

Or should i remove both of them from Init.d ?

Thanks !
[Galaxy S I9000 Android Development] stratosk:
Do you mean enable_conservative script? You need this if you want conservative governor. Else, remove it. There is no scripts for on demand governor. On demand is use by default by the kernel.
[Galaxy S I9000 Android Development] are-red:
Can u please give some newbie step to try this setting.. It look great..
[Galaxy S I9000 Android Development] stratosk:
There is a guide in XDA. I try to post the steps tonight.
[Galaxy S I9000 Android Development] irondevil:
you can try to read this http://xdaforums.com/showthread.php?t=851407
[Galaxy S I9000 Android Development] ghosty7:
This looks like the an easy method, uses CWM files.

http://xdaforums.com/showthread.php?t=1071723
[Galaxy S I9000 Android Development] are-red:
Wow..thx!! this really help many people..
[Galaxy S I9000 Android Development] are-red:
Thx irondevil...
[Galaxy S I9000 Android Development] are-red:
Great..this is easy.. Just flash this.. Ok try out.. Thx
[Galaxy S I9000 Android Development] sherpa25:
I think this will apply to all folders... or is there an option to apply only to /system and /cache?
[Galaxy S I9000 Android Development] Mr Majestyk:
I am on 1.5v and I am using Voltage control app for OC/UV. I just reset everything to default and removed boot settings and rebooted. I then went to /etc/init.d/ and tried to remove the script VC generated, but can't delete it. I am using supermanager with root access? Does it matter, or can I just install 1.6.
[Galaxy S I9000 Android Development] stratosk:
Did you remount as rewritable the /system? If does not work try to uninstall VC and then flash the new version.
[Galaxy S I9000 Android Development] HM.Carbide:
There is also an option in voltage control to remove init.d script.
[Galaxy S I9000 Android Development] Xharos:
What is the max MHz this kernel supports when overclocking? I´m tired of being 1.2 GHz capped unless I use CM7 D:
[Galaxy S I9000 Android Development] stratosk:
It is 1.2Ghz using kernel's embedded functionality. If you want more you may use tegrak application.
[Galaxy S I9000 Android Development] JazonX:
Flashed the Kernel, Completely cleaned using the Samsung Kernel cleaning Script.

Battery Calibrated, Everything Done. Now up and running, from 100 - Now 85. I think it eats up more battery than 1.5.0 Did. For almost 2 Hours, This a bit too much I think. I used Wifi a bit, Sent about 10 SMS's, 7 minutes of calls and few minutes of root explorer to copy the scripts here and there.

I have the default Juwe Scripts and

enable net_filter (I use Droidwall)

enable Conservative

in my init.d folder. Am i the only one seeing this ?
[Galaxy S I9000 Android Development] Xharos:
The problem is, with Tegrak I can only reach 1.3 GHz unless I get the paid version. I would love to have 1.4 or 1.5 GHz (I know what I am doing). Isn´t it possible to develop a kernel with better overclock features? Why are ALL OC kernels capped to 1.2 GHz?
[Galaxy S I9000 Android Development] darckengel:
Because for many phones, it's the higher stable frequency you can reach.

You can try Damian's GTO Tornado Kernel, it can go up to 1.44 Ghz.

Btw, what's the need of 1.5Ghz or higher (except having high Quandrant scores ...)? the phone is very responsive at 1.2Ghz, and all apps runs well ...
[Galaxy S I9000 Android Development] darckengel:
Try recalibrating your battery, and/or change your modem (The Voice call seems very high).

When i see the graph i wonder that you start from 100%, it does'nt seem to go down very fast ...
[Galaxy S I9000 Android Development] s3icc0:
battery on 1.6.0. seems to be the greatest ever have ..... still running after yesterdays flash and have more than 30% ...
[Galaxy S I9000 Android Development] dani_z:
I think battery life is amazing with 1.6.0 even without calibration.800Mhz/ no UV.Overclocking to 1200Mhz only when playing games,720p clips,etc.
[Galaxy S I9000 Android Development] s3icc0:
agree .. I didnt calibrate and flashed yesterday 17:30 with 75% battery .. .and now (16:00 next day) still 31% - but the first charging always shows the potential
[Galaxy S I9000 Android Development] are-red:
Waiting journaling step by step by stratosk
[Galaxy S I9000 Android Development] JazonX:
Thanks Mate, Now Checking...

Any Good Recommendations for a Modem Version ?

Im on XXJVR. I use 3G, Wifi, GPS.
[Galaxy S I9000 Android Development] gsw5700:
+1 would live to see no journal on system and cache, faster and better battery life (maybe) due to less overhead?

Sent using geek power
[Galaxy S I9000 Android Development] stratosk:
OK, I found the thread with the procedure. Hardcore is the author.

Unfortunately, I forgot my USB cable at work and I can not reproduce the exact steps I followed. But the article is very detailed.

IMPORTANT: do a backup first and only if you know what you are doing.

tune2fs also works on gingerbread (in the article says that this is for froyo).

I did the procedure through and adb shell and su (3A step).

I did this for /system and /cache partitions
[Galaxy S I9000 Android Development] lycan_codex:
Hi Stratosk,

using EXT4 without journaling = using ext2 partition. both the file systems make the phone crispier along with quadrant scores bordering on 3000 ( i used OC to 1.2 GHZ)

Also, i found the Z4MOD thread which has update.zip files for RFS, EXT2, EXT3 and EXT4 conversion.

http://xdaforums.com/showthread.php?t=797672
[Galaxy S I9000 Android Development] gsw5700:
Stratosk, are you looking at implementing ext4 into the kernel?

Sent using geek power
[Galaxy S I9000 Android Development] stratosk:
No, because it's already implemented since the first version. :)
[Galaxy S I9000 Android Development] stratosk:
Noted ;)

I wish I could have more time...
[Galaxy S I9000 Android Development] asicman:
stratosk, will you be updating your JVH kernel?
[Galaxy S I9000 Android Development] stratosk:
Sorry, no time to maintain two different versions.
[Galaxy S I9000 Android Development] hurray:
chainfire + voodoo sound, cool kernel combination. :)

runs very well at my phone. :)
[Galaxy S I9000 Android Development] xan:
Hmm...

Frequency limiter is not working: mine scales up to 1200Mhz regardless of scaling_max_freq

Absolutely no respect to states_enabled_table too.

The sysinterface is working well, I think.

Anybody got same results?

Is your OC code based on existz's?

// ok more details:

scaling_max_freq = 1000

it scales all the way up to 1200, but linpack scores dont reflect increased performance.

scaling_max_freq = 800

all good, scaling to 800, linpack scores showing reduced performance.

scaling_min_freq appears to be working ok.

states_enabled_table = not working.

//even more details:

So the issue with scaling_max is might be:

It appears that the kernel is not limiting to 1000Mhz after reboot.

Well it actually is (linpack scores ~14), but time_in_state shows 1200Mhz being used.

It seems that after setting it to 1000Mhz for the second time ('confirming' the already set 1000Mhz it was showing from the first boot, no init.d) it is actually showing 1000Mhz.

//ok last edit:

Lol scaling_max_freq works this time....

Playing with states_enabled_table breaks stuff I think...

:)
[Galaxy S I9000 Android Development] hellfirez1714:
Stratosk, I am very happy in your kernel, but I give you a few ideas.

1 - Add in the kernel (advanced) a script to delete the preferences UV.

2 - You can implement a frequency of 600? (Screen off now at 800)
[Galaxy S I9000 Android Development] hrcpin:
hy APN no work !!!!!!!!!
[Galaxy S I9000 Android Development] nsa666:
Ext4 convertion.

Information: you will need approx. 7MB of free space on /system partition (JVP-ROM).
[Galaxy S I9000 Android Development] Pfiffle:
Please not! Its good it is!

Sent from my GT-I9000
[Galaxy S I9000 Android Development] hrcpin:
how to enable lagfix
[Galaxy S I9000 Android Development] stratosk:
This will reset the UV settings. No reboot needed.

echo "0 0 0 0 0 0" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
[Galaxy S I9000 Android Development] stratosk:
Use Chainfire's ext4 Manager application.
[Galaxy S I9000 Android Development] madd0g:
Does the auto brightness work yet , without needing to turn off the display ? :]
[Galaxy S I9000 Android Development] stratosk:
Sorry, not yet
[Galaxy S I9000 Android Development] madd0g:
Ok thanks, only thing missing for now, I'll flash it instantly when it's available :]

[edit]Found a nice shortcut for brightness if using TW launcher:

"You dont have to slide it down and then back up either. Just swipe the top part of your screen towards the left to decrease brightness and swipe towards right to increase brightness." So auto isn't really needed now, since it doesn't max out on sun daylight anyway. Flashing Semaphore :]
[Galaxy S I9000 Android Development] GMH24:
So did I, but I checked after reboot and /cache was still on rfs. Does this kernel not support that?

EDIT: tried conversion again, now it says that backing up failed on /cache because of disk space shortage?! where is the backup stored?

on /cache I have 3 mb free, 30 mb total but there is plenty of space everywhere else...

Converting to ext4 has never been an issue on my phone, I even sucessfully used chainfire's app the other day...
[Galaxy S I9000 Android Development] jwjosefy:
Would you mind to merge with some changes from hardcore's SpeedMod? Tks!
[Galaxy S I9000 Android Development] hellfirez1714:
Thanks for answering, but I mean Dincer's recovery.

If you apply too much UV as the terminal does not start.

If recovery in the (advance) you may get the option ..
[Galaxy S I9000 Android Development] tomeks:
any news?

thank you for your work!

sent from my GalaxyS@CM7
[Galaxy S I9000 Android Development] Nokia7Vista:
Can you please add custom bootanimation to this great kernel
[Galaxy S I9000 Android Development] andip71:
Recommended tweaks in Chainfires app?

Hi,

flashed to 1.6.0 as well, so far everything is fine.

I just wonder if there are any best practises around for settings of the Chainfire Tweaks app that comes along with the kernel?

Are the default settings the app does fine or are there recommended changes?

Thanks for your views.

Cheers

Andi
[Galaxy S I9000 Android Development] didicola:
hey strato my friend i have a question psilo-offtopic!

which modem do you suggest me for greece the stock JVR or the famous pleon zsjpg k' zsjp5?
[Galaxy S I9000 Android Development] iamnajam:
Can i change colors like galxian kernel I like that colors but semraphore kernel is best can anybody tell any voodoo colors setting or anything else
[Galaxy S I9000 Android Development] Desotho:
Love this Kernel! Just got 1 question. When I turn off my screen with the powerbutton..I notice a big green flash before is goes black. Something to do with the Voodoo colours? I am on stock JVR deodexed.
[Galaxy S I9000 Android Development] Pipperox:
Voodoo settings i use:

Gamma Table chooser:

Voodoo profile v1

Screen RGB multipliers:

R: 20043xxxxxxxxxxx

G: 19966xxxxxxxxxxx

B: 21986xxxxxxxxxxx

NOTE: you don't have to be precise here, only the top 3/4 digits are really significant.

Screen V1 gamma hack:

Choose "Punchy settings"

NOTE: there are large differences between SGS phones depending where they've been produced, hw revision, etc.

Some are more blueish, some are more yellowish.

You've to try and play with the numbers until you find something which looks good for you.
[Galaxy S I9000 Android Development] mdv53:
can i use semaphore 1.6.0 jvr kernel with a custom jvq rom?
[Galaxy S I9000 Android Development] stratosk:
@AndiP

Actually is a matter of taste. I use these:

Ram: off

SD: on

I/O: noatime: on

I/O: scheduler: off

I/O: Deadline: off (you have to load the deadline module if you want to use this option)

Kernel scheduler: off

Conservative: off (you have to load the conservative module)

VM: both on

Media Stagefright: off

Touchscreen: off

@didicola

hey my friend! I always use the stock JVR. (You always make my day with your greeklish :))

@iamnajam

You may download Voodoo control application or use the speedmod color presets (you may find instructions in first post)

@Desotho

This is voodoo color side effect. Try to increase gamma values a little bit.

@mdv53

Yes, you can use it.
[Galaxy S I9000 Android Development] mdv53:
@stratosk, thanks
[Galaxy S I9000 Android Development] stratosk:
hey,

I just want my phone with as much pure settings as possible to test my kernels. That's all.

I think Chainfire made the tweaks for CFQ I/O scheduler. Since I changed to NOOP I haven't investigate if they are the best choice. I don't say that they cause problems or they are bad.

I also want pure settings for kernel scheduler.

For the RAM min free: I don't want aggressive settings for the LMK.

Finally for RAM tweaks: Juwe suggests to disable ram min free option in his ROM.

Anyway as I said It's a matter of taste. You may experiment with these and see which is suitable for you.
[Galaxy S I9000 Android Development] qtekker:
Thanks for sharing the tweaks info. I had the same questions about the tweaks, and this helps to determine which one to enable or disable.

I'm a new Semaphore user, comming from voodoo, speedmod, dark core, cf root. Semaphore is a great extention of cf root. Well done!

Edit: damn, just after posting I set the tweaks as stratosk's settings. After reboot I came into a bootloop. Now starting all over again...

Edit2: Has nothing to do with the tweaks. I installed stock JVR with repartition + Semaphore + Titanium restore + convert to ext4. Reboot = OK. Then turn phone off. Next morning turn phone on => boot loop.
[Galaxy S I9000 Android Development] MasterJam882:
thx for clarification!

gd night^^
[Galaxy S I9000 Android Development] xdafann:
Awesome work, I was lagging so bad with galaxian, but now everything is perfect. Thanks !
[Galaxy S I9000 Android Development] Case_:
I've experienced similar results on freshly flashed Juwe's 5.3 JVR ROM - no matter what kernel (with fixed auto brightness) I've flashed, no matter what sensors.default.so I've tried, I've only had two brightness levels and worse yet, the low brightness level with auto brightness enabled wasn't equal to the lowest brightness setting when set to manual brightness (so the display was too bright and also using unnecessary power).

I've heard that on stock JVR there was no auto brightness problems whatasoever. So I did try flashing stock JVR. Auto brightness was working fine, as reported. Then I've tried flashing custom kernels with auto brightness fixed (including Semaphore 1.6.0) - auto brightness was STILL working as it should (so it was clear that it's not caused by kernel). Then I've flashed some theme on the stock ROM - and lo and behold, auto brightness stopped working. I've tried to go back to unthemed - and brightness did work once again. Then I've tried flashing just the AOSP lockscreen, extended power menu and percentage battery while keeping everything else stock - auto brightness still working fine.

So, to cut to the chase - IMO there's some "tweak" in those ROMs and some of the themes that breaks auto brightness. Might be something in framework files, might be somewhere else - the point still is it's not the kernel at fault here, there's some other problem. Might be that something changed there in between JVQ and JVR that made the customizations from JVQ break auto-brightness in JVR and even though the themers and ROM cooks think they've ported their customizations to JVR properly, they did in fact unknowingly "drag in" some incompatibilities as well. Not sure if that's really the case, but it seems quite likely. I'll keep on investigating as to what exactly is causing this, but, as I've said, it's not the kernel that's to blame here.
[Galaxy S I9000 Android Development] wolper13:
i have a problem with my battery.

(battery already calibrated) after charging to 100 percent then removing the wall charger i have a very good battery. it last almost a day and a half with moderate to heavy usage which is already very good for me. no problem there.

my problem is when i leave the charger on overnight and still pluged in the charger even if it reached 100 percent, then after removing the charger my battery goes down to 86%. it seems that the phone use more battery when it is plugged in the charger after reaching 100%. so my only solution for now is after reaching 100% i make sure to unplug the charger
[Galaxy S I9000 Android Development] JazonX:
Unplug charger ,

Use Root explorer, go to Data / System - Delete Batterystats.bin

Now without doing anything else, switch off the phone ,

remove battery and keep it aside for 3 minutes

now put it back on, and without turning the phone on

Plug in the charger and wait till it says 100%

when it says 100% Remove the charger , Remove the battery, keep it aside for three minutes,

Put it back on, Plug the charger again. wait for the battery to say 100% again.

do it two or three times, and now switch on.
[Galaxy S I9000 Android Development] wolper13:
ok i'll try this when i get home.

thanks!
[Galaxy S I9000 Android Development] B-Ace:
Yo :)

I dont know if its Kernel-related but im using the 1.6 OC to 1.2 Ghz but max/lock the CPU to 800Mhz via SetCPU....I use the 1,2Ghz only for gaming or watching videos in HD....

So i charged 100% and listen to music for 1 Hour and it went down to 88%

(800Mhz)

Is that kernel-related the Battery drain ?

If yes... is that normal ? o.O
[Galaxy S I9000 Android Development] stratosk:
Normally, the battery is never charged to 100%. If you notice after remove the charger the battery level will be from 95-99%.

A battery drain of ~10% after 1 hour listening music seems ok to me. At least I think so since I 've never measured this. Remember that your phone didn't go in deep sleep for an hour and you can listen to music for 10 hours (always it depends from other parameters also).
[Galaxy S I9000 Android Development] B-Ace:
So the Battery-Life is kernel-related ?

Thx for the answer :)

Well it is scary to see how fast the battery life went down...when i heard people with the same kernel can last 2 days... or at least 1 day (24h)....
[Galaxy S I9000 Android Development] stratosk:
Battery life it is not only kernel related. It is also depends on what are you running on your phone. Wifi, mobile connection, videos, games, widgets running on background etc. There are too many parameters.

Also, it depends on your battery status. I mean if your battery is a new one it will last longer. If you have your battery is old (after a thousand of cycles charging discharging for example) don't wait to last so much.
[Galaxy S I9000 Android Development] B-Ace:
Ok thx i got it now :)

But its still weird.. im trying not to use many widgets only Facebook, setcpu and battery indicator xD

lets see how this will go on
[Galaxy S I9000 Android Development] HM.Carbide:
I would say even more. A really good configured kernel can help to get about 5-10% longer battery life compared to stock.

90% of battery drain are related to installed programms and your personal phone usage.

Have you installed battery killer like facebook sync, e-mail polling, market notification*, twitter sync, google backup*, juice defender, task killer, i don't know what...

* are default activated

Are you using high brightness levels, are you playing games that use always the 1000MHz (or 1200MHz if overclocked).

Also wrong configured low memory killer can produce higher cpu usage.

So I am on stock rom with semaphore without overclocking. Disabled all automatic polling/notification, and I can use the phone about 1,5 days (every 2 days charging over night), 5h display time, 1h fm radio listening, <1h phone call.

Oh, I have forgotten to say it :)

Semaphore is one of the best kernels in terms of battery life.
[Galaxy S I9000 Android Development] B-Ace:
Right now I am on Juwe's Rom.. I tried to disable all synch apps only Facebook running and gmx mail.

my Battery stats from Battery Monitor Widget Pro shows that my Battery will last only ~4 Hour OC to 1.2 Ghz at 82%Battery Life..im doing nothing =(

Should i wait and watch how it develope ? Its kinda a fresh install.. got Juwe'sRom + sema 1.6 yesterday

PS: I tried JVR stock etc with semaphore..but the Internet scroll lagbug...freak me out lol

just annoying...so i flashed to Juwe's
[Galaxy S I9000 Android Development] MasterJam882:
@stratosk

I don't know if it's a known problem but each time I turn off my display all symbols and for example the edges of the photo of my gf on the screen turn into green shadows before display turns completely black.

Didn't had that before with 1.5.

Is this vodoo colour related?

It looks rly crappy.

Maybe theres a chance to remove voodoo colour and only give it out for those who want it...

I don't use speedmod scripts nor I want to use voodoo because I got the best settings with chainfires 3D app

hope u can help
[Galaxy S I9000 Android Development] darckengel:
You can use SpeedMod Colors instead of Voodoo:

=> You can't rely on these stats, it's very dependent of your usage, you can use 20% in 1 hour and after 1% in 5h ...
[Galaxy S I9000 Android Development] mihanstar:
battery drain

Hi dude! :cool:

I used your kernel v1.6.0 on JVR SWC Deodexed version.

I have battery drain... :(

No 3G no Game/Video and no wi-fi used and light widget only used and some sms sending and some call... But used "tw4 with sgs2 icon"

In less than a day , battery 100% to 38%

How can i do? :confused:
[Galaxy S I9000 Android Development] stratosk:
It' s voodoo color related. Try to restore the default setting from voodoo control application or slightly increase the gamma values (usually negative values cause this). Then use speedmod color settings.
[Galaxy S I9000 Android Development] sherpa25:
I'd just like to follow-up a question I had earlier about Apps refreshing every time I open Apps Launcher. After turning off RAM:Min-free in Tweaks, apps still refresh in App Launcher when opened, but not as frequently. Actually, I've set all values similar to how stratosk set them. But now, my homescreen keeps refreshing too every time I turn on the phone from lock (i.e widgetlocker). Is this normal? If not, what could be causing this?
[Galaxy S I9000 Android Development] MasterJam882:
I resetted voodoo settings to default and gamma values are now 0.

Hope that's it now.

Green effect is now gone and I hope that crappy voodoo won't overlay my settings in any case, because it took me hours to find my settings^^

But nevertheless it would be great to let ppl decide what things they want or don't. Like u did it in releases before via scripts.

That made this kernel so special, because u COULD use nearly all features there are for our mobile but weren't FORCED to use them

Thx
[Galaxy S I9000 Android Development] stratosk:
Please wait for a couple of batter cycles charging-discharging for the battery to calibrated. It happens sometimes after flashing.