yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] DerTeufel1980:
here comes a new test kernel:

i have made some changes to the cwm recovery (/sdcard and /emmc mounting). all should be fine, but please make a backup of your sd cards (both) if you want to partition one of them (just in case not the wrong one gets partitioned)

also reverted some commits to idle balancer and commited some others (more stability?)

and the big change:

added ultra ksm (metioned by zach :) thx for this my friend)

what is ksm? http://en.wikipedia.org/wiki/Kernel_SamePage_Merging_(KSM)

uksm is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage

if you want stop uksm run:

echo 0 > /sys/kernel/mm/uksm/run

for (re)activating:

echo 1 > /sys/kernel/mm/uksm/run

more details:

http://kerneldedup.org/en/projects/uksm/uksmdoc/usage/

edit:

damn it...i have forgotten to tell the rest :p

i have added seperate gpu oc from jt1134's galaxy_tab (to switch between 200 and 250 mhz), but i did not get any improvements in antutu...further tests needed

echo 1 > /sys/kernel/pvr_oc/pvr_oc (for 250 mhz)

echo 0 > /sys/kernel/pvr_oc/pvr_oc (for 200 mhz), no reboot needed

and also have changend default screen refreshrate from 60 to 56, with the possibility to change it:

echo 1 > /sys/kernel/refreshrate/enable (60 hz)

echo 0 > /sys/kernel/refreshrate/enable (56 hz)

this needs a reboot, like bigmem hack from stratosk (too bad, i had forgotten it, and now using this breaks the bigmem setting, because the right libs do not get copied automatically :( )
[Galaxy S I9000 Android Development] gokussjx:
Cool, Thanks Derteufel!

So, let me get this clear, the interface might be faster, but the processor would be worked up, meaning a bit more battery usage too, right?

Any other side-effects?
[Galaxy S I9000 Android Development] DerTeufel1980:
You should get less ram usage with the same amount of running apps, but batterie drains faster.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] stratosk:
Hi,

It seems interesting! Though, one question:

In the above link is mentioned that the uksm needs a system daemon (uksmd). How is this implemented? Can you please clarify?
[Galaxy S I9000 Android Development] Rimmer1966:
I flashed the test kernel just out of curiosity, I played a 720p video trailer and I must say I've never seen it play so smoothly.. On the downside the phone seems to be getting very hot, which I guess is a side effect of the processor working harder?
[Galaxy S I9000 Android Development] DerTeufel1980:
I am also wondering about the daemon, but I did not dig deeper into it till now. Maybe zach can shed some light on this, because he is already running it at his desktop pc.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] stratosk:
According to kerneldedup (did you use the code from this?) the kernel is "enabled" for uksm. usksmd is needed to do the work.
[Galaxy S I9000 Android Development] yaatzek:
I don't know if it's placebo, but with this ultra ksm it is really faster. Will see how much the battery will fall.
[Galaxy S I9000 Android Development] DerTeufel1980:
Was reading this, too. But atleast, the stats in uksm are showing some values... I'll take a look closer look at this tomorrow evening. Today I have to watch football ;-)

Edit: there is uksmd running. Just tried pidof uksmd.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] .:Crack:.:
Here's a new devil.json with uksm enable/disable

/updated for screen fps and gpu oc
[Galaxy S I9000 Android Development] lerkin:
I have a drain! Developer didn't revert any changes in .2. Please check again, or share your settings.
[Galaxy S I9000 Android Development] everb00b:
i'm still on 1.0.3 but...

uksm didnt have anything to do with the battery drain, since idle2 and updated kernel 3.0.38 were implemented during 1.1.0.

last time we tested updated kernel (i think it was 0.99.*) we had some mem manage problems and slight drain.

so drain could come from either idle2 or kernel update.

i sincerely hope DerTeufel1980 merged cmartinezlozano power management changes because they were exceptional for battery save.
[Galaxy S I9000 Android Development] lerkin:
Now I think so too.
[Galaxy S I9000 Android Development] yahyoh:
c'mon :rolleyes::rolleyes: free RAM isn't wasted ram , when the free goes too low and system start to killing everything -_- u will not be very happy :mad::mad:

more free ram = smoother running apps + no lag + better multitasking
[Galaxy S I9000 Android Development] lerkin:
Let's the holy war begin.
[Galaxy S I9000 Android Development] yahyoh:
no it's not kernel 3.0.38 related cuz its running good on s2 and gnex , maybe idle2 or something else :o :o
[Galaxy S I9000 Android Development] DerTeufel1980:
I have uploaded 1.1.3 now, with deactivated uksm, and some fixes to boot-patch.sh (this is not related to power consumption).

Kernel is at rootaxbox in ICS folder.

If it is idle2, deactivating should solve it. If not, next kernel will revert idle2

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] everb00b:
i never activated both and drain was higher during deep sleep than regular use.
[Galaxy S I9000 Android Development] yahyoh:
was the wifi on ? :o

and how much the drain was ?

---------- Post added at 12:46 AM ---------- Previous post was at 12:41 AM ----------

@DerTeufel may i ask u what do think the best fudgeswap value ? and best swappiness value ? and what setting u r using ? :o
[Galaxy S I9000 Android Development] everb00b:
not talking about 1.1.3.

problem with 1.1.0 + 1.1.2 was a major drain during deep sleep.

all options were disabled\not activated.

so i dont think uksm or idle2 being the cause of this drain.

deeper investigation is needed, mainly a comparison between 1.0.3 to later versions.
[Galaxy S I9000 Android Development] DerTeufel1980:
the comparission is: idle2 added and kernel base updated. there is nothing more ;)
[Galaxy S I9000 Android Development] everb00b:
if idle2 is disabled via dkc or manually, does it still affect deep sleep battery consumption? voltage\cpu freqs?
[Galaxy S I9000 Android Development] DerTeufel1980:
It shouldn't, but the code is very complex. Maybe I am wrong and it still does

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] xBenny:
Wifi problem

Wifi problem on CM9 solved with new 1.1.3 Kernel

thx
[Galaxy S I9000 Android Development] nilzkul:
From where do i download kernel? Newbie here
[Galaxy S I9000 Android Development] yahyoh:
2nd post in op

btw if read op u will find what u want : Donwload and Changelog post 2

but people are lazy to read :p
[Galaxy S I9000 Android Development] nilzkul:
I saw that but its all mess there... couldn't find what to download and how to install :(
[Galaxy S I9000 Android Development] alb3rtt:
after using 1_1.3 for a day the battery drain is the same for me. 21% lost in 7 hours. no use at all and no wakelocks. no wifi,gps,bluetooth, nothing. only 2g was on. could it be my modem?
[Galaxy S I9000 Android Development] muktheo:
excuse me..i wanna ask..

what is different between cmc and vc version..?which is the best for cm9 based rom..?

sory for noob question.. Im new on ICS.. :(
[Galaxy S I9000 Android Development] erpurohit:
Vc - voodoo color

Cmc - cynogenmod color

Its depends on ur taste which one is good
[Galaxy S I9000 Android Development] lerkin:
I have a drain in .3 too
[Galaxy S I9000 Android Development] jelle2503:
im on 1.1.3 jellybean, for some reason tapatalk FC on other thread

battery drain is user error. stop whining please. very annoying to see teufel scrap a feature in next test kernel coz users suggestively whine about excessive drain

my drain is perfect never seen this good! new idle i seems to work a lot better
[Galaxy S I9000 Android Development] yaatzek:
Soo, when you're on jelly why are you whining in ics thread? :p
[Galaxy S I9000 Android Development] lerkin:
Please try to explain then why we don\t have that drain 0n 3.1.0.3. 1-2% per night... Genius.
[Galaxy S I9000 Android Development] ( V ):
no drain here neither...

have you tried BBS? what are the results?
[Galaxy S I9000 Android Development] lerkin:
Yes I tried: no kernel or partial wakelocks, only 5 minutes awake during screenoff. Currently on 3.1.0.3. Will test again tonight.
[Galaxy S I9000 Android Development] nilzkul:
Just flashed with this kernel... how do i use voodoo color? Someone help me pls
[Galaxy S I9000 Android Development] webwude:
It's strange, with version prior to 1.0.3, especially when I was in foreign countries (data off), I got approx. 5% to 10% drain per night.

Now (with 1.1.0) I got 40% drain over 8h... besides the kernel I changed nothing... very strange...

Best regards,

ww
[Galaxy S I9000 Android Development] krooooolik:
I confirm battery drain in 1.0.4 - 1.1.3 (tested all versions in last few days). Before I was on 0.99b and it was fine. (0.7% /h compared to over 2% /h at night with all data & sync off). I haven't had a chance to test 1.0.3 yet, as moved from 0.99b directly to 1.0.4, so today I have flashed 1.0.3 (from posts I understand it was the last release without batt drain) and will report back tomorrow.

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] Facebooook:
I am on 3_1.1.3 with slim 4.2 rom.

17% battery lose in 8h..
[Galaxy S I9000 Android Development] jelle2503:
devs already spend too much time and trouble into fixing noob user errors like the one you are reporting as it is. i feel sorry for their wasted time. in fact you should be sorry... fyi have you seen amount of noob bug report in cm10 bug tracker, it is not helping... at all

and now due to a flood of noob users, features are getting scrapped for no good reason other then their noobness

i havent had drain on previous versions too.

and if you'd be capable of reading my post, i post on ics thread coz tapatalk FC on page 10 on jellybean thread

bunch of geniusses.. :banghead:
[Galaxy S I9000 Android Development] The_Wolf91:
The fact that you don't have this problem does not mean it is automatically a "user error", because other people have encountered the same problem after flashing 1.1.0/1.1.2/1.1.3 versions (which has not happened with the 1.0.3 version, and that explains why people stating the problem).

Nobody disputes the fact that devs lose time behind these errors, but you can not judge the issue as a question of "idiots" just because it doesn't happens to you, or at least you could just say your opinion without classify the others answers.
[Galaxy S I9000 Android Development] alb3rtt:
im not a noob user. we are just reporting back. if just one person has it then its probably a noob error but if more than 5 have it, i doubt we all did something wrong. 22% drain with no use in 7 hours and no wakelocks or anything is a noob error? it has nothing to do with the user. i think it has to do with idle2 not being as effective as the old one. (forgot its name). btw derteufel, take your time with the next kernel version, other than the drain, this is perfect! rock stable, solid performance and great features. best kernel for ics by a long run for me :D
[Galaxy S I9000 Android Development] lerkin:
8du370873u264432v
[Galaxy S I9000 Android Development] everb00b:
First of all, this is a tech\dev thread so stick to it.

behave like adults and stop the "Noob-Wars" please, this doesn't add respect to DerTeufel1980 hard work.

jelle, you were talking about JellyBean kernel not ICS as you said.

myself and lerkin found this during 1.1.0 tests,

i was running stock battery and lerkin used extended battery and we both had significant drain.

i used CM9, AOKP and SlimICS on clean flashes.

both problems occur during Deep Sleep, not idle2 or uksm or kernel core upgrade.

DerTeufel is aware of this problems as it occur on ICS and JB, and said that he will revert all idle2 changes to deep_idle to see if the problems continues.

so guys, please keep this thread Pro and Legit.

no need to "CM Thread Wars", be respectful to DerTeufel1980 he is working like crazy on his kernels and Rom more than any developer in our respectful community.
[Galaxy S I9000 Android Development] yahyoh:
devil kernel config ;)
[Galaxy S I9000 Android Development] puneetbhagat:
Hi.. I'm on ICS333 2.0.1 rom which has Semaphore 1.2.2s kernel. Is it alright to flash Devil3_1.1.0 kernel zip file through CWM?

SGS I9000 Tapatalked
[Galaxy S I9000 Android Development] BradleyR2010:
sure go ahead
[Galaxy S I9000 Android Development] muktheo:
thank you sir..emh then, where I can choose the selectable RAM 378,391 or 403 mb..?Use other app like devil config/manager ?

thanks
[Galaxy S I9000 Android Development] BradleyR2010:
You can use any of the apps or do it yourself with terminal emulator and typing the commands on the first page of the thread
[Galaxy S I9000 Android Development] DerTeufel1980:
Thank you very much ;)

Please don't argue. I am not going to ban idle2, but I need to test, if/why there is more battery consumption.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] yahyoh:
both are amazing :D
[Galaxy S I9000 Android Development] muktheo:
yap ive done selected 403mb ram sir thanks ^^

i wanna ask again..whats the different between deep idle and devil idle..?should be activated both or one of them..?
[Galaxy S I9000 Android Development] nilzkul:
I got a massive battery drain last night...

Android OS used 48% kept cpu awake when in sleep for 2h48min

What can be then reason?

And i am new this kernel, may be i did something wrong with settings?
[Galaxy S I9000 Android Development] RalphDe:
Hi

Can i use this Kernel on my Tab 10.1? If Not, do you dev one for Galaxy Tabs?

Thanks.

Ralph

Gesendet von meinem GT-I9000 mit Tapatalk 2 weil ich mich nicht ver"Appel"n lasse.
[Galaxy S I9000 Android Development] alb3rtt:
use betterbatterystats and see if theres any wakelocks cause it sounds like a rouge app
[Galaxy S I9000 Android Development] yahyoh:
no u can't :cyclops:
[Galaxy S I9000 Android Development] nilzkul:
I switched to devil from semaphore yesterday only and no new apps installed. And i wasnt facing this much drainage in semaphore... by the way which settings to use and which not to use
[Galaxy S I9000 Android Development] lerkin:
Once again tested 3.1.0.3 - 2% lost per night.
[Galaxy S I9000 Android Development] krooooolik:
I confirm, back to 4% batt down in 7h at night (with all wifi, data and sync off) after reverting to 1.0.3 :)

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] lerkin:
yeah everything enabled: wifi, GPS, data ( they don't use battery than idle), kik, whatsapp, im+, no wakelocks.
[Galaxy S I9000 Android Development] ( V ):
no drain

so far this drain problem has eluded me on 1.1.3 = 1-3% @night

Rom @my Sig.

kernel settings:

Devil Kernel settings
Devil version 3_1.1.3_ICS_i9000_CFS_BLN_VC
------ CPU -------------------------------------------------
CPU Governor conservative
Governor preset Normal
Minimum frequency 100000
Maximum frequency 1100000
Live OC value 110
Live OC low target 800000
Live OC high target 1000000
Deep Idle enabled Yes
Devil Idle mode Disabled
------ GPU / Screen ----------------------------------------
GPU overclock to 250Mhz No
Screen refresh rate 56hz (default)
Screen off min/max enabled No
Screen off min freq 100000
Screen off max freq 1000000
Smooth UI enabled No
------ I/O -------------------------------------------------
I/O Scheduler sio
Readahead external SD 512 kb
------ Memory ----------------------------------------------
Total memory 390.12 mb
Total swap 0.00 mb
Free memory 15.52 mb
Free swap 0.00 mb
UKSM enabled No
Bigmem mode (now) XL (391 mb)
Bigmem mode (for next boot) XL (391 mb)
Swap mode (for next boot) No swap
------ Other -----------------------------------------------
Wifi mode PM Max = better battery
Vibrator intensity 40140
Bluetooth disabled (softkill) No
Fast charge enabled No
Fsync enabled Yes
Touchwake enabled Yes
Touchwake delay 45000
[Galaxy S I9000 Android Development] saszseb:
I have 2 partitions on my ext. SDcard: the first one is NTFS of 532 MB, the second one is FAT. In Root Explorer I can see only the first NTFS. Why? Thanks.
[Galaxy S I9000 Android Development] lerkin:
Lucky you
[Galaxy S I9000 Android Development] ( V ):
I don't think that it's a matter of luck!

surely there's a better way to analyze this problem than a "guessing game"?! Isn't there any app or system feature (eg logcat or smtng) to verify which kernel function does exactly what, and uses how many resources? :confused:
[Galaxy S I9000 Android Development] alb3rtt:
i have practically the same set up just more oc and im losing about 22% in the night. i went back to 1._0.3 and lost 1% in the night. i think its cause of idle2. i have no wakelocks or kernel wakelocks. are you sure your not on 1._0.3?
[Galaxy S I9000 Android Development] .:Crack:.:
I don't think its the cause of idle2 because:

1. over night the phone shouldn't even use idle2 (if ur not listening to music), it should be in deep sleep.

2. I have a massive battery drain with idle2 off, too.

if its idle2 -> it cannot be disabled correctly + is in use eventhough deep sleep should be in use (faulty implementation)

just my two cents
[Galaxy S I9000 Android Development] alb3rtt:
idle2 is a newer version of deep idle 2 which is basically is a patched deep sleep. idle is when the phone is at 100mhz. deep sleep is when the cpu isnt being used at all and the phone uses very little power. idle2 is a patch for deep sleep to maximize battery life. correct me if im wrong cause im nowhere near being a dev so i dont have much knowledge there.

edit: btw if you dont enable idle2, deep sleep wont be used i think. (correct me if im wrong there too )
[Galaxy S I9000 Android Development] Segner:
AFAIK deep sleep is a mode, which had already been used in Samungs code. It has been there long before devs here implemented deep idle.

What I read from the IDLE2 thread, its latest implementation involved many massive code changes in several areas. I speculate that some of these changes are still running when IDLE2 is switched off and thereby lead to drain during deep sleep. You might call it faulty implementation, but which implementation is not faulty?

I just see that IDLE2 was one of the major changes after 1.0.3 and therefore is a candidate for being the culprit for the drain reported by several users.
[Galaxy S I9000 Android Development] alb3rtt:
yeah i knew that it was there earlier on but i meant that if we disbale idle2 in devil kernel config app, deep sleep wont be used. (not sure if thats right)
[Galaxy S I9000 Android Development] nilzkul:
I need best settings for best battery back up :)
[Galaxy S I9000 Android Development] frank@:
where can I make settings for readehead sdcard?

Send by xda and GT-I9000, powered by the great ROM TiramiSlim
[Galaxy S I9000 Android Development] sergyum:
Some screenshots of my settings and results (over 5 days of moderate use):

*My configuration is in signature
[Galaxy S I9000 Android Development] Segner:
Use the apps "SD Tools" and "SD-Booster" from Playstore to set different values and to measure the effect of them.

---------- Post added at 11:02 PM ---------- Previous post was at 10:55 PM ----------

5 days??? That seems to be extraordinary good!

You might set "Devil Idle" to "automatic".
[Galaxy S I9000 Android Development] everb00b:
Aokp m6 with DK 1.0.3.

conservative + sio - only smooth_ui is on.

annoying thing is, sometimes i get SyncLoopWakeLock.

android system process eats some battery and wakes the device.

is this kernel or rom?
[Galaxy S I9000 Android Development] yahyoh:
yeah if u don't use wifi u will get amazing battery life

this only downside of ics + jb , wifi is battery sucker :( this happened on s1 and s2
[Galaxy S I9000 Android Development] Vertron:
My battery life is surprisingly good on wifi. It's HSDPA that drains my battery the most.
[Galaxy S I9000 Android Development] yahyoh:
HSDPA will drain a lot if u have weak signal ;)
[Galaxy S I9000 Android Development] Vertron:
I have quite a strong signal where I live actually. It's not that bad though, it's just leaving my wifi always connected hardly drains my battery compared to turning it off.
[Galaxy S I9000 Android Development] nilzkul:
Which is best governor for battery life?
[Galaxy S I9000 Android Development] yahyoh:
i think ondemand :cyclops:
[Galaxy S I9000 Android Development] darkfrmr:
Hi, I install this kernel on my cellphone ( I9000b ) coming from GB 2.3.3 , everything works except the wifi signal , i click ON in settings and still not working... returning to eclair the wifi works again. this happen with devil3 1.0.3 and devil3 1.1.3 kernels
[Galaxy S I9000 Android Development] everb00b:
i think conservative :P
[Galaxy S I9000 Android Development] yahyoh:
i'm using conservative btw :p
[Galaxy S I9000 Android Development] anuj_blaster:
No deep idle in 3_1.1.0?
[Galaxy S I9000 Android Development] everb00b:
read op and the last 4 pages.
[Galaxy S I9000 Android Development] muktheo:
whooaa..5 day??thats really amazing battery life mate !! I'll try u setting soon.. ;)

btw u never use the daily mobile data like 2g/3g connection..?
[Galaxy S I9000 Android Development] nilzkul:
yeah i too use conservative and i get 5-10 hours of usage with minimum brightness and 2g with mobile data on ;)
[Galaxy S I9000 Android Development] yahyoh:
screen time ?? :)
[Galaxy S I9000 Android Development] nilzkul:
it seems he do not use mobile much, no mobile data or wifi :P
[Galaxy S I9000 Android Development] webwude:
Still constant battery drain... using 1.1.0.

I will upload screenshots later...
[Galaxy S I9000 Android Development] nilzkul:
2-3 hours
[Galaxy S I9000 Android Development] sergyum:
I used 3g connection every day just to check email, calendar synchronization; and once or twice I used wifi to transfer some files between PC and phone via FTP
[Galaxy S I9000 Android Development] deeppans:
I am new to Devil kernel so asking this Q.

I guess there are two apps for setting up Devil kernel params, however I read somewhere that one of that app has a problem with setting param for latest Devil kernel. Some bluetooth related setting.

So may I know which app is good for Devil 1.0.3?
[Galaxy S I9000 Android Development] webwude:
As promised here are a few screenshots from the battery drain - even through night in approx. 8h the battery looses 30-40%.

IDLE2 is on... some betterbattery stats screens are included as well...

I honestly have no idea what is happening - I use the same apps as weeks before where this drainage (with earlier kernel versions as 1.0.3) wasn't present...
[Galaxy S I9000 Android Development] alb3rtt:
its due to the new idle2 not working as well as the older deep idle.

---------- Post added at 06:27 PM ---------- Previous post was at 06:25 PM ----------

i have a question, what does everyone use; voodoo colour or cyanogenmod colour? (vc or cmc). whats better, what are the downsides to each? Also, what scheduler is best for performance? Ive always used noop but ive wondered if theres better.
[Galaxy S I9000 Android Development] lerkin:
Y u no return to 3.1.0.3 before that drain will be fixed?
[Galaxy S I9000 Android Development] habylab:
Sio is arguably better than noop, but not battery wise. Voodoo colour is up to you whether you use it, but it has a green tinge sometimes on screen on. Voodoo is deeper and perhaps better in some peoples opinion of representing black.

Sent from my beautiful Galaxy S running The Devil Helly Bean Rom with Devil kernel.
[Galaxy S I9000 Android Development] muktheo:
is your mobile data 3g connection always on and never you turn off..?if yes I think thats normal to lose 30% on 8hours with 3g always on..

or its still drain too much..? :confused:
[Galaxy S I9000 Android Development] webwude:
Usually with data on I have about 5-10% drainage during the night while idle-ing... at least I got that with previous kernels prior to 1.0.3 or other ones - I will test the behaviour with the latest semaphore to determine if it is kernel-related.