yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Blackherted:
Hey, I'm having battery problem with 2.9.8s

while on 2.9.7s my battery lasted very good on 2.9.8s it lasts maybe less than half than what it used to... lasts ok on screen idle, but when i start using my phone it's running out way too fast...
[Galaxy S I9000 Android Development] theekilla:
Use betterbatterystats to see which program/services is keeping you're phone awake and draining the battery.
[Galaxy S I9000 Android Development] Blackherted:
Nothing special is draining it... It's the same,

Screen: 27.38%

Android OS: 23.52%

Cell Standby: 15.99%

system idle: 6.25%

Facebook: 5.04%

Voice Calls: 4.46%

Media Server: 3.74%

the OS is quite high but it's not because of that... don't know why but it's just so... I think it's something because of the update of the kernel... I'm not the only one who has these problems
[Galaxy S I9000 Android Development] 99x:
Re: [KERNEL] Semaphore JB 2.9.8

QUOTE=Blackherted;37411588]Nothing special is draining it... It's the same,

Screen: 27.38%

Android OS: 23.52%

Cell Standby: 15.99%

system idle: 6.25%

Facebook: 5.04%

Voice Calls: 4.46%

Media Server: 3.74%

the OS is quite high but it's not because of that... don't know why but it's just so... I think it's something because of the update of the kernel... I'm not the only one who has these problems[/QUOTE]

Android OS is a place holder for other processes, you should install betterbatterystats like the guy suggested to see what it is. Most likely 3G/Ril taking all the juice
[Galaxy S I9000 Android Development] Blackherted:
Android OS is a place holder for other processes, you should install betterbatterystats like the guy suggested to see what it is. Most likely 3G/Ril taking all the juice[/QUOTE]

These stats are coming from Batterystatsplus App and it's not the right time to check it since i barely used my phone since I woke which will make the stats unreliable for accounting my issue. and like i said, i'm not the only one that has the same problem.
[Galaxy S I9000 Android Development] 99x:
Re: [KERNEL] Semaphore JB 2.9.8

Yea, and most people say 3G is draining battery, try switching to 2G if/when possible.
[Galaxy S I9000 Android Development] Blackherted:
If your talking to me Ivé been using only wifi in the past month
[Galaxy S I9000 Android Development] RivalComp:
Re: [KERNEL] Semaphore JB 2.9.8

Sometimes I had this 'Android OS' issue too. BBS always says it's the 'surfaceflinger'.

Now I had a few days without battery drain but today evening it came again. I have a clean install (Slim Bean RC1, but it was the same under previous versions). I've tried clearing dalvik, clearing cache, fixing permission, but nothing has fixed this issue.

Checking with OS Monitor the Android System takes about 15% of CPU time. In standby mode there is no battery drain. It's only an issue with a turned on screen.

A reboot solves it for a while, but I always have to check OS Monitor for this CPU hog...
[Galaxy S I9000 Android Development] Eric.Draven:
Can't send MMS with Wifi off

I tried everything but, with this kernel, I only can send MMS if I'm connected to an WiFi network. If I'm not it keeps saying "sending" but it doesn't send it at all. I'm with CM 10.1 and with the original kernel I can send MMS no mater the Wifi state.

Anyone else got this problem? Any solutions?

Thanks
[Galaxy S I9000 Android Development] Cu8eR:
It is ROM related! Not with kernel!
[Galaxy S I9000 Android Development] Eric.Draven:
If so why doesn't it happen with the original kernel?
[Galaxy S I9000 Android Development] Jonae:
Hi all, i need some help. I have broken my i9000 screen a wile ago and now i am trying to copy my memory contents to pc. I have read that ClockworkMod lets you connect the storage to pc but since i have no screen i can only do it if someone tells me by push number where exactly is that option. I can enter to ClockworkMod and the pc recognises my phone. Can please someone tell me step by step how can i get to the option? I mean 2x volume down, 1x home button.. etc. I have semaphore kernel 2.8.0s i think anyways is semaphore for android 4.2.1. Thanks.
[Galaxy S I9000 Android Development] Bejda:
Here:
[Galaxy S I9000 Android Development] Jonae:
Thanks, it is working. Backup is on the way. :)
[Galaxy S I9000 Android Development] Rokostar:
Stratosk can you add the bfq sheduler ? I have with other kernels good Game performance with it
[Galaxy S I9000 Android Development] stratosk:
I'm sorry, no. Not in my plans.
[Galaxy S I9000 Android Development] Rokostar:
Ok but thanks anyway :)
[Galaxy S I9000 Android Development] Midomad:
Re: [KERNEL] Semaphore JB 2.9.8

You can use sio or row.

Good performance and battery friendly ;)

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Android Development] pxrave:
the new row is very nice stable i o performance
[Galaxy S I9000 Android Development] idCyber:
Re: [KERNEL] Semaphore JB 2.9.8

For me SIO is the best for games, ROW is not giving me the same performance. Tested in Temple Run 2 and Modern Combat 4, NFS MW
[Galaxy S I9000 Android Development] fmc000:
New Toolchain

@stratosk: are you aware that a new toolchain is available for download from the Linaro website? The link is: http://releases.linaro.org/13.01/components/android/toolchain/4.7/android-toolchain-eabi-linaro-4.7-2013.01-1-2013-01-17_01-27-05-linux-x86.tar.bz2
[Galaxy S I9000 Android Development] pamarakos:
Re: [KERNEL] Semaphore JB 2.9.8

Can I somehow adjust the sensitivity/volume of the internal mic??

I dont need all other call volume hacks as in other kernels like mackay, just this!!

I ve tested mic sensitivity in mackay and its working fine at least on my phone on cm 10.1!!

I remember that someone said that in an older sema version it was included, is this true??

Even by using nstools, just need it via semaphore to be adjustable somehow:)

Thanks

EDIT: Or even by an app??
[Galaxy S I9000 Android Development] stratosk:
Yes, thanks anyway.
[Galaxy S I9000 Android Development] fmc000:
R: [KERNEL] Semaphore JB 2.9.8

OK. FYI I pulled your repo and built the kernel with the new toolchain and all is fine.

Inviato dal mio GT-I9000 con Tapatalk 2
[Galaxy S I9000 Android Development] everb00b:
I have a weird battery drain, this is my setup:

SmartAssV2 + SIO

No OC, using 2.9.8s with HD libs.

Problem:

I'm using CMLed and if i missed a call or got a text msg while the phone is on deep-sleep, it starts draining while the led is on.

Today from 1pm to 12am, i lost almost 13% and i didnt touch the phone.

wifi is off, sync is off, bt is off.

Any suggestions to how to track down this issue\drain?
[Galaxy S I9000 Android Development] Fenvarien:
AW: [KERNEL] Semaphore JB 2.9.8

Install Better Battery Stats check for wakelocks and rogue apps.

https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats
[Galaxy S I9000 Android Development] everb00b:
Have it. i get no weird wakelocks.

Only thing that is high is "System" procss in Processes Tab.

Also changed governor to "OnDemand".

Now I using BLN, checking for drain.
[Galaxy S I9000 Android Development] Rokostar:
AW: [KERNEL] Semaphore JB 2.9.8

must i change the values from interactiv when i use live oc ?

Bla bla from my bla bla bla just to disturb bla bla
[Galaxy S I9000 Android Development] jugster:
Re: [KERNEL] Semaphore JB 2.9.8

Hello stratosk, have you thought of adding some of the code in the cross breeder/seeder applications to increase smoothness/reduce lagginess? I'm specifically talking about changing entropy read and write thresholds and frandom/erandom kernel modules and specific fixes for entropy generation in later versions of the Linux kernel?

If you don't know what I'm talking about I'll be happy to point you to the discussions and code (if I find the latter)

Cheers!

Signature? Signature!
[Galaxy S I9000 Android Development] stratosk:
I have already some thoughts about this. You may also find a script in this thread to check your entropy pool.

But, I don't think, I will support something like this. Security comes first.
[Galaxy S I9000 Android Development] stratosk:
You have to change only Hi speed frequency to the OCed one.
[Galaxy S I9000 Android Development] pikachu01:
I've made some thorough investigations of this. Let me summarize in these few key points.

- /dev/random and /dev/urandom is only used by SSH connections or apps that reply on randomness for security purposes (like random password generators) or to generate UUIDs for hardware/software constructs.

- The Seeder APK is running rngd that wakes up the phone and cranks the CPU to fill up the entropy. One thing to note, the action of just checking entropy_avail will drain the entropy.

- The read_wakeup_threshold will only affect apps that require the use of /dev/random. Setting it higher will make apps less likely to wake up earlier as the kernel tries to fill up the entropy (when there entropy level is low).

- The write_wakeup_threshold will only affect seeders or daemons that try to write to /dev/random, in that they will allow those daemons to write to /dev/random if the entropy is below 4096 (the default value). It does nothing for normal purposes.

- If you want to experience disabling the blocking from /dev/random, you could just do these command in Terminal Emulator after getting root:

su
rm /dev/random
ln -s /dev/urandom /dev/random

This is equivalent to redirecting all apps (SSH or password generators) to use /dev/urandom rather than /dev/random. /dev/urandom is non-blocking as it doesn't block apps (and send them to sleep while waiting for the entropy to fill up). It'll just get any available random number from /dev/urandom.

Do you see any boost? I tried and I didn't get any boost from this.

- haveged is another daemon (similar to rngd) that uses the HAVEGE. It's just another rngd that feeds /dev/random with random values at an interval that wakes up your phone thus draining battery.

- Just in case, I ran an lsof and got /dev/urandom on the processes that use them. Don't think there are any that uses /dev/random.

- Conclusion: You're just draining battery while waking up your phone.
[Galaxy S I9000 Android Development] GreenSGS:
Re: [KERNEL] Semaphore JB 2.9.8

Top, :thumbup:

Myth buster.
[Galaxy S I9000 Android Development] jugster:
@stratosk

Security come first I agree, but I don't think that too many people argue that you loose any security when using haveged to feed frandom (instead of ordinary random). At least that is not something I have come across yet, perhaps that information is out there.

@pikachu

I was under the impression that haveged was not running at certain intervals, but rather was triggered when entropy dropped below a certain level.

In any case, I think that given the overwhelming response from lots of users, your conclusion, IMHO, is a bit simplistic.

Quite a few users experience smoother operation using the above solutions. Some of them also experience lower battery drain. To be fair, some also report higher battery drain and some other problems that could be related. Sum total though, what I have read points to positive effects.

If I am not misinformed, you are the author or maintainer of some performance enhancing script, yes? The reports seem also to indicate that the faster device you have, the lower your gain is from all this. But very often people see positive effects on SGSIII even. Maybe that is one reason you are not feeling the effect? The script you are using could simply be that good! =)

Using seeder on my SGSI, it feels like ui handling is a bit smoother, it is not like the performance has increased, just fewer hiccups. Subtle but noticeable, at least for me. No battery implications for me. I haven't yet tried cross breeder, but if there is something that can be done more cheaply with same security I am all for it. If nothing else, it is certainly interesting.
[Galaxy S I9000 Android Development] pikachu01:
One thing to clarify here:

Gingerbread and below used to use /dev/random and some apps might lag due to it's blocking nature.

ICS/JB and above uses /dev/urandom hence there's no lag even if entropy is depleted.

On the haveged, it's basically the same as rngd. Though how they collect entropy differs, their way of filling up the entropy is the same, by writing to /dev/random. They do that by means of the -w parameter. If you specify it to be 4096 (which is by the way, the maximum pool size of /dev/random and /dev/urandom), then the daemon will try to feed to /dev/random and /dev/urandom everytime it is not maximum (which is basically almost every millisecond).

Though you can specify an interval using the -t parameter, you'll be waking up your phone every t seconds, thus draining your battery.

The daemons consume CPU that cranks up the load. Having a higher load, the CPU governor increases the frequency. Hence you'll see some performance gain out of this.

About battery reports, I think some people might have phones that are awake 100% of the time and they don't realize it. It doesn't make a difference if your phone is awake 100% of the time.

And yes, I am the author of ThunderBolt!. I'd be glad to show you the ropes around it if you're interested in using it :)
[Galaxy S I9000 Android Development] Rokostar:
ok hi speed frequency now is 800000 and if i use for en example 105% i must set 805000 is that right ?
[Galaxy S I9000 Android Development] Starsream88:
Re: [KERNEL] Semaphore JB 2.9.8

No you should set it to 840000

(800000*105)/100
[Galaxy S I9000 Android Development] Rokostar:
Haha sorry dont know why calculate wrong... If i set it to 105 can i see any effect ? I mean thats not much i belive less then 110% will do noting or am i wrong and 105 can give a little more power?
[Galaxy S I9000 Android Development] styago:
Is Interactive more battery friendly than Ondemand? I thought SLim's ondemand was tweaked and even more battery friendly than Smartass V2?? And what about te option in ondemand which says IO_is_busy? What's that? and Smooth UI? I suppose Smooth UI drains more battery than without it, correct? THANX!!!
[Galaxy S I9000 Android Development] haarsh:
Hi,

I have enabled debugging and dflags shows me 17. I wonder what it could be. Can you please let me know.

my IDLE stats

IDLE 10683080ms (12ms)

DEEP IDLE (TOP=ON) 222436ms (64ms)

DEEP IDLE (TOP=OFF) 0ms (0ms)

Thank you
[Galaxy S I9000 Android Development] Fenvarien:
AW: [KERNEL] Semaphore JB 2.9.8

Interactive with the latest patches by Google (Stratosk implemented them iirc) and a good configuration is very fast, smooth and still battery efficient.

I hope that Stratosk is going to enable the target_loads parameter soon, then we can better tweak Interactive governor. :thumbup::)
[Galaxy S I9000 Android Development] Rokostar:
AW: [KERNEL] Semaphore JB 2.9.8

and which sheduler is the most battery friendly one i belive its noop

Bla bla from my bla bla bla just to disturb bla bla
[Galaxy S I9000 Android Development] VIP1:
Re: [KERNEL] Semaphore JB 2.9.8

As i know smooth UI is a tweak that every time you touch the screen the cpu clock goes to max frequency when it's on....
[Galaxy S I9000 Android Development] Fenvarien:
AW: [KERNEL] Semaphore JB 2.9.8

Yes, NOOP has almost no overhead (fifo) and if you're looking for a primarily battery friendly scheduler it's the right choice.
[Galaxy S I9000 Android Development] everb00b:
Does it have any big\slight difference from SIO?
[Galaxy S I9000 Android Development] Fenvarien:
AW: [KERNEL] Semaphore JB 2.9.8

It depends on your personal usage. Especially with games SIO performs better than NOOP but at the cost of a higher battery drain.

Currently I use Interactive/ROW with 512kb Read Ahead and that works just great.
[Galaxy S I9000 Android Development] everb00b:
No games at all, just using Whatsapp, Gmail, Browsing.

I'm getting a good battery life on SIO + SmartAssv2.

Can i get more battery life while using noop or those things do not matter at my usage?
[Galaxy S I9000 Android Development] Fenvarien:
AW: [KERNEL] Semaphore JB 2.9.8

In this case NOOP should give you a better battery life but don't expect too much - the display is always the biggest battery hog ;)
[Galaxy S I9000 Android Development] 99x:
I suspect undervolting your CPU will have greater effect than any governor or scheduler :good:
[Galaxy S I9000 Android Development] Rokostar:
AW: [KERNEL] Semaphore JB 2.9.8

hey guys which read ahead is the best ?

Bla bla from my bla bla bla just to disturb bla bla
[Galaxy S I9000 Android Development] fdragon:
I've just bought a new Polarcell 1800mah battery, but when i switch between the two batteries and step back to the old original 1500 mAh one, the phone displays a much lower % then it should show. (For example it shows 8% battery even if I know that i should have almost 35%)!

I rebooted in recovery mode, but I can't find the "wipe battery stats" function. Where is it gone? What can i do?

PS: I'm using the latest slimBEAN rom with semaphore
[Galaxy S I9000 Android Development] 99x:
Re: [KERNEL] Semaphore JB 2.9.8

Wipe battery stats has nothing to do with how much juice the phone thinks the battery has left. Simply recharge the battery to full
[Galaxy S I9000 Android Development] Rokostar:
AW: [KERNEL] Semaphore JB 2.9.8

which sd card read ahead is the best ?

Bla bla from my bla bla bla just to disturb bla bla
[Galaxy S I9000 Android Development] pxrave:
512kb - 2048 kb

test it

i prefer 512kb
[Galaxy S I9000 Android Development] styago:
ANd which is this "good configuration"?! I did not change anything in the interactive menu except to raise the High Speed frequency as Stratosk mentioned before (OC to 114%).

Where can I find good documentation on all these tweaks and setting in the different governors?? I have no ideas where to find it. Thankz.

Looking for a perfect combination for me: no games, whatsapp, gmail, gapps, camera, picture gallery, some phone calls, no video watching, etc. standard usage without games.

I'm using SmartassV2 and No-op. Smooth UI on SmartassV2. ANy better combination for me?!

THANXXXXX
[Galaxy S I9000 Android Development] HenriFred:
Your config sounds good to me, for your usage. :good:

But I'm not an expert...

You may find some usefull information on Semaphore site : http://www.semaphore.gr/how-to/use-modules-and-scripts

And also on this page : http://www.semaphore.gr/how-to/use-semaphore-jb
[Galaxy S I9000 Android Development] Rokostar:
AW: [KERNEL] Semaphore JB 2.9.8

i use interactive and sio and i undervolt with 104% live oc. Sd card read ahead is 512. Nice benchmark values or not

Bla bla from my bla bla bla just to disturb bla bla
[Galaxy S I9000 Android Development] ZioGTS:
R: [KERNEL] Semaphore JB 2.9.8

Guys, maybe discussions about governors and schedulers are a little bit OT here... Shouldn't we talk about Semaphore kernel? :rolleyes:
[Galaxy S I9000 Android Development] ophirb:
Will this patch might have an effect on the kernel performance? Right now I have great speed using this kernel.
[Galaxy S I9000 Android Development] Michel38280:
Just installed with my signature ... looks great :cowboy:
[Galaxy S I9000 Android Development] malcho:
I don't think so.It should work fine.
[Galaxy S I9000 Android Development] ophirb:
How many flash memory are there in the sgs?

In the spec it says there is a 2gb and a storage of 16gb. Now I see talks about moviNAND and oneNAND, so there are 3 flash memories in the phone? Why it is not appearing in the spec?

Thanks.
[Galaxy S I9000 Android Development] H-Body:
Your kernel need some changes to fit with pawitp's latest build, dont it?? Or can i flash it although the partitions seems to be changed? :)
[Galaxy S I9000 Android Development] Bejda:
You better wait i think.
[Galaxy S I9000 Android Development] Sharken:
Yeah, wait until a new Semaphore can be released. The change is that /data should be reserved for apps you use a lot, while seldom used apps and huge games should all be moved to the sdcard using App2SD.
[Galaxy S I9000 Android Development] stratosk:
Please DO NOT install Semaphore on latest CM10.

Changes to kernel are required.
[Galaxy S I9000 Android Development] Wissender:
Thx for this comment. Try it 3 or 4 times.

stuck on Kernelscreen

JB 2.0.1 also don´t work.
[Galaxy S I9000 Android Development] HiKsFiles:
I would suggest to temporarily update the OP with that message as it's the post we look for when we want to download the kernel. :)
[Galaxy S I9000 Android Development] ImSo3K:
that's kinnda weird, I do use Semaphore with CM10 everything worked fine but now the semaphore app doesn't work lol (And only now I saw that you told us not to use it on CM10 but I'm using it like 2 weeks)
[Galaxy S I9000 Android Development] stratosk:
Please do not use Semaphore in CM10 build 20120817 (or later). This build uses a different partition layout and Semaphore is not compatible with it yet.
[Galaxy S I9000 Android Development] Silentbob999:
Please delete
[Galaxy S I9000 Android Development] albertobom:
Miss your kernel already :(
[Galaxy S I9000 Android Development] stratosk:
New version 2.0.5

- Compatibility with new CM10 partition layout

- /system mounting with data=writeback

- 5MB more available RAM (378MB - 390MB), thanks DerTeufel1980, Mialwe

WORKS ONLY ON LATEST CM10 BUILD 20120817
[Galaxy S I9000 Android Development] goodoane:
@stratosk

It is possible a last release with new ram(5MB) for the old CM10 partition layout?..

Thank you.

Sent from my Transformer TF101
[Galaxy S I9000 Android Development] ImSo3K:
I'm using 806 but anyways I saw you released an update so thank you.
[Galaxy S I9000 Android Development] stratosk:
I'm sorry, it's not possible. Let's see if other ROM developer follow CM10's memory model or not.

I can maintain 2 versions, for CM10 and Slim (or ROM's with the same configuration). But no additional variants.

I can't maintain 2 versions for CM10, 2 for Slim and so on.
[Galaxy S I9000 Android Development] zadock:
Awesome stratosk, you rocks!! :good:
[Galaxy S I9000 Android Development] H-Body:
Works good for me!

Thx ! :)
[Galaxy S I9000 Android Development] Rokostar:
AW: [KERNEL] Semaphore JB 2.9.8

You are right bro here i have a q&a threat for such things

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

Bla bla from my bla bla bla just to disturb bla bla
[Galaxy S I9000 Android Development] stratosk:
New version 2.9.9

- Linux kernel 3.0.62

- Ondemand: a couple of optimizations

- Auto brightness: tiny improvement

- built with Linaro 4.7.3 201301
[Galaxy S I9000 Android Development] pamarakos:
Re: [KERNEL] Semaphore JB 2.9.9

Any way to get control of the handset mic sensitivity/amplification??
[Galaxy S I9000 Android Development] TheLach03:
Ooo so very close to 3.0.0 now :)
[Galaxy S I9000 Android Development] jugster:
Re: [KERNEL] Semaphore JB 2.9.9

Did you ever consider that there might be a 2.9.10 or a 2.23.134?

Personally I think we are far from 3.0.0.

The whole point is moot anyway since there is only one person deciding the numbers and that is neither you nor me.

Signature? Signature!
[Galaxy S I9000 Android Development] alb3rtt:
Re: [KERNEL] Semaphore JB 2.9.9

Wow, my highest score ever. Semaphore 2.9.9, MPEngine12SE, bigmem and 120% liveoc.

Edit: pic isnt uploading.. 4960 in antutu v3, 2736 in 3D.
[Galaxy S I9000 Android Development] thETImo:
Hopefully it's like 2.9.7 what comes to battery stamina. I've had 3-day charge cycles with that version with moderate use first time since ages.

BTW is it possible to have the BigMem Patch downloadable to the OP?
[Galaxy S I9000 Android Development] Cassis1978:
Hi guys!

Sorry if someone has already asked solutions about this but I can't find answers.

I just wanted to know the difference between a kernel x.x.x and a kernel x.x.xs.

I'm running the backed blackbean ROM and I flashed 2.9.9s kernel this morning.

Thank you
[Galaxy S I9000 Android Development] alb3rtt:
the "s" versions offers more available ram but you need the flash the modded hugemem libs which are here. if you don't flash it, you will lose 720p recording. if you wanna try bigmem (via semaphore manager) which will give you even more ram, you need to disable 720p recording via camera settings. there are some drawbacks to the "s" version like some very rare video types won't work on it (like almost no-one uses them anymore). other than that, there are no drawbacks.