yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Vernyak:
Version 1.7.4 took too long time to charge. Left turned off phone overnight and in the morning had only 92%. 2 short calls made it 89%.

Conclusion: too long to charge and too short to use...

I'd like to know why...
[Galaxy S II Original Android Development] gokhanmoral:
only insmod and modprobe searches the files in /system/lib/modules by default.

rmmod does not need the filename. you can just type "rmmod logger" and it is unloaded.

of course reboot works as well :)
[Galaxy S II Original Android Development] jonny68:
48 Hours now since ive flashed 2.2 and as ever a good kernel, however battery life is not as good as 2.1.1, in 2 hours 25 mins my phone went from 100% to 97% on standby, previously with 2.1.1 it went from 100% to 95% in 8 hours so i think ill stick with 2.1.1 for now.
[Galaxy S II Original Android Development] ozzyita:
Guys where can I find detailed info about the governors? Also what do you think the best governor is for battery life with 2.2? Thanks

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] jonny68:
Actually CWM manager 3.0 says that it should be used with CF-Root v5.0 or newer so i suppose ive no option but to revert back to 2.2 Siyah:confused:
[Galaxy S II Original Android Development] incubus_fr:
If I use Siyah kernel over Cyanogen rom, can I say my S2 is Siyahnogen powered? :-D
[Galaxy S II Original Android Development] CamoGeko:
The Q&A thread here:

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

There is no best one, recommended ones for battery savings are smartassV2, lulzactive and conservative.

Communicated from a Galaxy far far away via an XDA premium quality neurotransmitter.
[Galaxy S II Original Android Development] CamoGeko:
You also have an option to install CWM Manager 2.0 instead. ;)

Communicated from a Galaxy far far away via an XDA premium quality neurotransmitter.
[Galaxy S II Original Android Development] jonny68:
Nah **** it ill stick with CWM 3.0 :)
[Galaxy S II Original Android Development] tuvi123:
Does the auto-mounting of ntfs drive support external sdcards (formatted to ntfs) or only to usb stick / external hard disks connected via the microusb plug?

because it does not seems to work... (tried on v2.2i with two differents devices with two differents micro sd cards)

of course both of them formatted to ntfs but they did not recognized when I connect my phone to the computer with the microusb cable.
[Galaxy S II Original Android Development] gokhanmoral:
no, it is for usb sticks for now.

Although it is easier to mount ntfs formatted external card during startup, I am not sure if it would be safe to use because rom's doesn't support it. it will not be unmounted gracefully and you may have data loss.
[Galaxy S II Original Android Development] tuvi123:
so can you recommand me what commands should I run to make it work?

I really don't understand much about it but should not it be easy to make a script to unmount / mount it when it's needed and make the kernal use this script? there is far more demand to support automounting of ntfs on sd cards then on usb sticks.. but of course you do what you think ;) and I really appreciate your work mate.

also can you tell me what files should I edit to make it work on my dedoxed rom?
[Galaxy S II Original Android Development] aljee77:
Can someone explain to me how with the other governors (ondemandx) and modules functions?!

thx
[Galaxy S II Original Android Development] CamoGeko:
Look in the Q&A thread for info on the governors. I posted the link to it a little bit earlier in this thread.

Communicated from a Galaxy far far away via an XDA premium quality neurotransmitter.
[Galaxy S II Original Android Development] scott4:
better not flash 2.2 or 2.2i, it says to fix touchscreen sensibility problem, but in fact is makes the problem. I am unable to type the word by double tapping a keystroke after flashing this kernel.
[Galaxy S II Original Android Development] iron@ss:
I'm afraid I've reverted back to 2.2 from 2.2i as I found it very jerky and laggy on a combination of governors and schedulers.

On CheckROM with Launcher Pro and stock voltage with no Profiles. :(
[Galaxy S II Original Android Development] vastac13:
got no problem or issues here about the touchscreen..
[Galaxy S II Original Android Development] adam1741:
Having the same issue with 2.2i on my phone as well, except for I'm using Criskelo Rom v31.
[Galaxy S II Original Android Development] haranbh:
Yes... I've flashed to 2.2i and had to revert too..

It was slower on benchmarks and games :(
[Galaxy S II Original Android Development] scott4:
you will know it if you input korean by the double-tap method keyboard, that means some characters need to double-tap the screen quickly and this kernel makes it fail to output the characters.
[Galaxy S II Original Android Development] jetpackjeff:
2.2i perfect for me and auto-brightness is working great.
[Galaxy S II Original Android Development] SPACE ALIEN:
BIG THANKS for the update!!! This kernel 2.2i works like a charm! :)
[Galaxy S II Original Android Development] lion9t:
what the meaning of nolog??
[Galaxy S II Original Android Development] CamoGeko:
Please search next time, this question has already been answered few times in the recent pages of this thread.

Nolog version has all the debugging Android loggers disabled.

Communicated from a Galaxy far far away via an XDA premium quality neurotransmitter.
[Galaxy S II Original Android Development] lion9t:
thanks for youre answer ...;)
[Galaxy S II Original Android Development] gladiamos:
In 2.2i changelog i see :

"ondemandx features are removed from ondemand governor and re-enabled 40seconds init delay.

ondemandx governor added back as module."

So where can i find the ondemandx module ?
[Galaxy S II Original Android Development] terenceleechan:
i believe its lib/modules/cpufreq_ondemandx.ko

try to insmod it in terminal
[Galaxy S II Original Android Development] gladiamos:
Thanks terenceleechan !!!

In terminal just do this.

su

insmod lib/modules/cpufreq_ondemandx.ko

exit

and it works !!
[Galaxy S II Original Android Development] Auridran:
You'll have to add it to a startup script otherwise it'll be gone after you restart, if I'm not mistaken.
[Galaxy S II Original Android Development] terenceleechan:
yes you must add it to init.d script, before the line where governor is set
[Galaxy S II Original Android Development] OpenMinded:
this kernel and the 2.1 one give me serious usb issues with MIUI 1.11.25, 1.11.18 and 1.11.11.

With usb debugging enabled, when mount sd is chosen, sometimes it works, sometimes the phone completely hangs, de notification bar does not completely roll up either then.

I have to hold the power button to snap out.

At least the first 2 times of trying, i did not have that with the included miui kernel.

Does any1 have the same issue and is there a fix?
[Galaxy S II Original Android Development] jellyb:
I'm also experiencing jerky scrolling in 2.2i, not in touchwiz but in apps with scrolling text in simple & clean rom v2.1
[Galaxy S II Original Android Development] gasmias:
I use 1.11.18 with 2.2, i dont have issues..i switched off mount sd in settings, when connect phone with comp he asks me to choose between mount sd and "only charge", than i choose mount sd..
[Galaxy S II Original Android Development] vivmar:
REMOVED sry
[Galaxy S II Original Android Development] boxy44:
Can anyone post the download link for the 2.2i..

The link goes to a website where it says the kernel is uploaded in xda.
[Galaxy S II Original Android Development] kalpik:
Did you check the first post in this thread?
[Galaxy S II Original Android Development] gabx:
2.2i is just perfect

Hello,

I was not very satisfied with 2.2 final, as I could experiment some lags and was not as smooth as one can hope.

Changing to 2.2i is just awsome. According to me, it is the bset one I have never used since flashing siyah Kernels.

I do think I will stop flashing as often as before, and will stick with this one, just PERFECT.

Do not change anything please.
[Galaxy S II Original Android Development] :
installed 2.2-i (nolog) and restarted the phone.

the directory /system/lib/modules don't exists, and no found the cpufreq_ondemana.ko module
[Galaxy S II Original Android Development] antt00:
Its just /lib/modules. Not in system file.
[Galaxy S II Original Android Development] droidphile:
It is

/lib/modules/cpufreq_ondemandx.ko

Not /system/lib/modules
[Galaxy S II Original Android Development] ObihoernchenDE:
Had a lot of reboots with 2.2. And 2.2i is too slow.

Hope you can find the issue.
[Galaxy S II Original Android Development] :
ups!

found now!

THX
[Galaxy S II Original Android Development] Alson McLaren:
Hi...

I have a strange prob..

after flashing v2.2 every thing is awesome but...

every time i wake up my phone and enter the pattern lock nothing happen!!

thin the screen turns off and i can't wake it up again so i should reboot my phone!!

anyone face this problem???
[Galaxy S II Original Android Development] gokhanmoral:
nolog version?
[Galaxy S II Original Android Development] gh.rohit:
sld i go for 2.2i??

hows battery life with it?
[Galaxy S II Original Android Development] kalpik:
There's a newer version coming soon ;)
[Galaxy S II Original Android Development] dkflint723:
Tried with ondemand for a while. locked up multiple times on me... ended up reverting back to 2.1.1.
[Galaxy S II Original Android Development] gokhanmoral:
you are using docomo version, right?
[Galaxy S II Original Android Development] gh.rohit:
so till then .....sld i switch to 2.2i?

hws ur experience with it?
[Galaxy S II Original Android Development] gokhanmoral:
those who have UI shuttering&lag with v2.2i, try downloading it again.

I reverted some mali ump files.

if you don't have lag, you don't have to reflash because nothing else is changed.

thanks to kalpik (the lagbuster), vnvman and goose2600 for their help and flashing tens of kernels... :)

EDIT: I also removed nolog version because there is no any noticable difference between those two and nolog causes a lot of confusion.
[Galaxy S II Original Android Development] gh.rohit:
ok....will try it :)
[Galaxy S II Original Android Development] Alson McLaren:
Yup..;)

I tried the normal version but it has some lags in it so i went back to nolog v...
[Galaxy S II Original Android Development] gokhanmoral:
Nolog version is known to have problem with security applications. I have removed it from the first post anyway. Try downloading it again.
[Galaxy S II Original Android Development] Alson McLaren:
^^^

thank u...

I'll try 2.2i...:)
[Galaxy S II Original Android Development] alcurtis93:
2.2i (new version) works better for me. Less lag.
[Galaxy S II Original Android Development] joeyfong:
@gokhanmoral

Which rom are u using now?
[Galaxy S II Original Android Development] gokhanmoral:
Cm7 nightly 116.
[Galaxy S II Original Android Development] joeyfong:
Good to hear that you are using cm
[Galaxy S II Original Android Development] droidphile:
Gokhan,

We know that down_threshold of ondemand is now calculated by down_differential parameter such that

down_threshold = up_threshold - down_differential

Does that mean default down threshold = 80-3 = 77 ?!!

Won't that make ondemand a "lulzdemand"? :D

Or value 3 means 30 or something.
[Galaxy S II Original Android Development] :
+1. Especially with games

Sent from my SGS2 - Checkrom Revo 3.1.1 | Speedmod k18 | Vertumus ICS Theme |
[Galaxy S II Original Android Development] kwerdenker:
The 'i' most stand for incredible because that's what the new version is ^^

I didn't notice any lag but I also didn't notice any with the old version. Maybe I'm just not that perceptive :). Must say the battery seems to be improved though it's probably to early to really tell.
[Galaxy S II Original Android Development] frankcilo:
+1 for me, now is ok!
[Galaxy S II Original Android Development] kalpik:
HAHA! I like my new nickname :D
[Galaxy S II Original Android Development] tuvi123:
just expreinced total freeze on my phone with v2.2i (the new one), had to manually power off my phone and restart it.
[Galaxy S II Original Android Development] iron@ss:
If it happened straight after installing the new version, on boot-up, try using the Ultimate Kernel Script cleaner, here:-

http://xdaforums.com/showpost.php?p=13224453

and more importantly, disable any settings from your previous kernel that you used in, say, SetCPU or Voltage Control.

Hope this helps. :D
[Galaxy S II Original Android Development] maniacfb:
+1

glbenchmark pro offscreen = 110 fps (very nice)

----> you can also notice that at games on very intensive scenes
[Galaxy S II Original Android Development] panoz:
Same problem with cifs.. is there a way to up the buffer size after flashing the kernel? I'd like to try much higher values to see what happens.

SD videos work well with software decoding (which buffers inside the app) but anything hardware decoded stutters..

I'd like to try values in the 512k-1M range which would buffer at least a couple of secs of video.. is that possible?
[Galaxy S II Original Android Development] tuvi123:
gokhanmoral

I have tried to mount my external sd ntfs:

I run this commands in terminal emulator:

su

insmod /lib/modules/2.6.35.14-Siyah-v2.2i+/fuse.ko

(also tried insmod /lib/modules/fuse.ko) it said file exists so I guess it's loaded by default..)

then I run:

ntfs-3g /dev/block/mmcblk1p1 /mnt/sdcard/external_sd

(it's ntfs-3g that is in /system/xbin/ folderin your kernal, also I tried to copy it to /system/bin)

but it still does not work and nothing happen when I use this command with gscipt

any advice? please help me I only want to mount my sd card as ntfs and copy hd files to it... maybe I can make the command in gscript so i will need to run the script file but hey the commands does not work so..

please help.

I can't see the sd card when I connect the phone to the computer (not with MTP/removable dsik/usb debugging) also the phone give me a messasge about blank sd card..

also why not make sd card ntfs fille auto mount on boot, when the user want to power off the phone then add the unmount command.. or user will need to run it via gscript but tis' worthi it..

if theu user format is sd card to ntfs then he surely can run a file/command before he power off his phone.
[Galaxy S II Original Android Development] kwerdenker:
A bit off-topic but I read something quite interessting concerning energy usage of processors while doing some research for a question from droidphile.

We all probably know by now, that the power used by a processor is calculated by the following formula: P(ower) = C(apacity)*V(oltage)²*F(frequency). This is the power usage in watt. But that doesn't automatically equals the energy used. The energy is calculated via E(nergy) = P * t(ime) or if we substitute the first formula for P: E = C*V²*F*t. Or in words: the energy used for a certain task is determinend by the capacity, voltage squared, frequency and the time needed to complete said task. Now let's assume that to finish a task the processor needs a certain finite number of cycles. On a higher frequency he blazes through that number of cycles faster than on a lower one, so he is finished faster and can go to deep sleep.

This leads to the following conclusion: if you use the same voltages for multiple steps, using the higher frequency is propably saving more energy. This could be an factor in deciding on your frequency spectrum especially in screen-off mode. In screen-on mode the processor doesn't go to deep sleep but idles instead (which we could consinder a task with an infinite cycle count) on the lowest frequency step, so here it's probably better to have the lowest possible frequency.

This is just some theoretical (but interessting) stuff, so any real world impact might be negligible :) Though it might be a nice experiment to modify a governor so it selects the highest frequency with the lowest overall voltage value associated in screen off as the lowest scaling frequency and to jump steps in scaling up/down if they have the same voltages (screen-on aswell as screen-off). Wondering how this would affect batterylife and smoothness.
[Galaxy S II Original Android Development] sierrafox:
just to report that 2.2i still gives jerky HD video playback (especially obvious on high-bitrate SGS2 recorded 720p and 1080p video). this happens irrespective of governer/scheduler/UV/GPU UV. gone back to 2.2b15 for the time being ... :)
[Galaxy S II Original Android Development] haranbh:
My benchmarks:

2.2 final (Ondemand governor)

- Quadrant: 4.768

- Antutu: 6.185

- Battery drain: 1% each 2hrs

2.2i (Ondemand governor)

- Quadrant: 3.692

- Antutu: 5.320

- Battery drain: 1% each 2hrs

I'll stick with 2.2 final for now. :p
[Galaxy S II Original Android Development] CamoGeko:
I reckon it's a good idea to make your own thread with all these explanations. It's a great post for learning. ;)

Communicated from a Galaxy far far away via an XDA premium quality neurotransmitter.
[Galaxy S II Original Android Development] gokhanmoral:
exactly :)

but actually, it was my mistake again because I didn't mean to enable micro-accounting part. it came from an earlier version and I just noticed it.

anyway. I will update the performance patch and modify the value, and set it to 10, maybe.

it is not a direct threshold value. it is used as a multiplier of the current frequency. the decision is not made like "if load > up_threshold" or "if load < down_threshold".

I agree that 3 is very low. however, it depends on what you prefer. for battery life, 3 is better :)
[Galaxy S II Original Android Development] hello_dbm:
My Dear Friend....This is the best every FAQ, I have every seen in my life.......cheers......you are gonna rule man!
[Galaxy S II Original Android Development] tuvi123:
gokhanmoral

please answer my last post..

I'm a quick learner just give me some hints..

:)

ntfs-3g /dev/block/mmcblk1p1 /mnt/sdcard/external_sd does not work... so I can't mount my sd card as ntfs and I can't see it..
[Galaxy S II Original Android Development] tolis626:
Wanna hear a secret?He already rules.And not because of his FAQ. ;)

Anyway,2.2i is boring.No crashes and it's fast.It doesn't even motivate me to start swearing anymore.Please fix it(Or rebreak it :p). :rolleyes: :D

Also,a big thanks to droidphile and kwerdenker.Mostly for taking this whole thing a little too seriously.Pleasure reading your posts guys. :)
[Galaxy S II Original Android Development] EdgaBimbam:
hmm strange for me 2.2i version much more points from antutu and quadrant :O
[Galaxy S II Original Android Development] kwerdenker:
:D Well, let's call it a work hazard and leave it at that :P
[Galaxy S II Original Android Development] vnvman:
Sure thing...but why did you quote it all here? :eek:
[Galaxy S II Original Android Development] Schindler33:
That is true. But remember that your phone is often idle? So it has the "task" to keep the system running but does not really perfom anything. So then it is not useful to go to a higher frequency. What is the benifit if it can calculate twice as fast when the system is idle and there is nothing to calculate. That is why the system clockes down.

If you would use your phone to calculate something and then switch it off after it is done, then you are right. But since the cpu has often nothing to do you will use more energy if their frequency is higher.
[Galaxy S II Original Android Development] kwerdenker:
I think you overlooked this part of my post:
[Galaxy S II Original Android Development] smitna:
You can try these parameters with insmod/modprobe.

modinfo cifs says:

CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048

cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64

cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256

cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256

There are also some options to pass to the cifs mounting. Please read the linux man mount.cifs (8) on a linux box (with installed smbfs)
[Galaxy S II Original Android Development] Schindler33:
Yep i somehow overlooked it. So I agree with you.
[Galaxy S II Original Android Development] gokhanmoral:
it should work. I cannot try it because I do not have a spare microsd to format as ntfs.

fuse.ko is already loaded.

you are root.

maybe you should try another mount point

just "mkdir /mnt/emmc" and try to mount to that location
[Galaxy S II Original Android Development] panoz:
Oh, if that's the case I'll try different values and report back.

Thanks!
[Galaxy S II Original Android Development] gokhanmoral:
if you find a good value set I would like to make it default. just dont try to maximize everything :)

EDIT: I think increasing cifs_min_rcv to 32 would be enough which will receive 2MB data as buffer..
[Galaxy S II Original Android Development] TAlx:
Hi there, great work on that kernel man.

quick question, does it support CWM manager v2 or v3?
[Galaxy S II Original Android Development] kalpik:
CWM manager 3.
[Galaxy S II Original Android Development] nechmadi:
hi gokhanmoral ,

something weird just happened .

I flashed v2.2 2 days ago when it's out. now i've flashed 2.2i and the battery gone down from 47% straight to 16% :(
[Galaxy S II Original Android Development] vnvman:
It's not kernel related, you just have to calibrate your battery ;)
[Galaxy S II Original Android Development] gokhanmoral:
that happens sometimes. it is not kernel-related.

you may even notice your battery charges itself over the air :P

just wait until it is depleted and fully charge again. I don't know in which thread but there is a post of Entropy512 about resetting our battery gauge chip.
[Galaxy S II Original Android Development] smitna:
I am not sure with the "external" sdcard. In the past I have read something about a lock in the samsung rom that only allows vfat for the external_sd respectively the device name. A NTFS drive connected via OTG works (I have tried that with one of the rc-releases)

My external card is split in a vfat partition and a ext4 partition, which means a different device number (mmblk1p2). So I am able to mount both partitions.
[Galaxy S II Original Android Development] marbulas:
2.2i still has a problem about NFC on SGS2 in Korea (SHW-M250S) :(

I think you should release kernel using initramfs of SHW-M250S and build the kernel using file c1_defconfig in the source of SHW-M250S...

(I asked Tegrak and he told me i9100 and SHW-M250S has the same source but the some of options to compile the kernel are different... maybe the fastest way to solve this issue is asking him...)
[Galaxy S II Original Android Development] Sergy330:
+1 :confused:

I've micro-lags with HD Videos with the stock player, i tried to change the governors and scheduler without success.

It's possible that this tweak may be the cause?: echo "2048" > /sys/devices/virtual/bdi/179:0/read_ahead_kb

Siyah Kernel 2.2nolog

No UV.

Rom batista 2.1
[Galaxy S II Original Android Development] colli666:
I had massive problems with this kernel since 2.2 RC3, because my phone freezes. RC2 was working without SOD.

Since the release of 2.2i, everything is working fine!!

Thanks !!
[Galaxy S II Original Android Development] droidphile:
Have you tried increasing bus speed on cpu frequencies, especially for higher frequencies? Might work.
[Galaxy S II Original Android Development] :
Just to follow up on this;

NOT

a kernel issue.

Related to flashing between a couple of different AOSP roms last week and not taking the appropriate steps in between. I knew better, but all appeared good despite my skipped step. A fresh ROM install /w system format and all is good.
[Galaxy S II Original Android Development] brack11:
Oh, so wanted new version but.... It's not as good with battery as 2.1.1 will wait for another version.

Sent from my GT-I9100
[Galaxy S II Original Android Development] anab:
hey guys...i've a question...

i've always seen that in the "options" of many kernel's...

there's an option "Available CPU governors"

but how do i change this?

and where can i see what each one does?

i've already searched...but didnt find...

could someone help ?

thaaankx!:D