yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] marbulas:
Can you add my tweaks for deadline io scheduler?

# Change queue settings

echo "deadline" > /sys/block/mmcblk0/queue/scheduler

echo "512" > /sys/block/mmcblk0/queue/read_ahead_kb

echo "512" > /sys/block/mmcblk0/queue/nr_requests

echo "1" > /sys/block/mmcblk0/queue/nomerges

echo "1" > /sys/block/mmcblk0/queue/iosched/fifo_batch

echo "4" > /sys/block/mmcblk0/queue/iosched/writes_starved

echo "0" > /sys/block/mmcblk0/queue/iosched/read_expire

echo "0" > /sys/block/mmcblk0/queue/iosched/write_expire

echo "0" > /sys/block/mmcblk0/queue/iosched/front_merges
[Galaxy S II Original Android Development] smitna:
Thanks again

Just want to say thanks a lot to Gokhan for the new 2.6.9 kernel (also for the update on bitbucket). It's working very well on my phone and I can use my added modules again!

Very good work!
[Galaxy S II Original Android Development] mundixx:
@gokhanmoral

Thank you for such a lovely kernel! 2.6.9 gives the greatest battery from my experience, with my own undervolted settings (actually geko's but deducted 25mv each step as my phone can take it) plus SIO and Ondemand makes my phone fly.

Keep it up, mateys!

Sent from my GT-I9100
[Galaxy S II Original Android Development] rauschkugl:
With 2.6.9 I'm finally able to get back to 2mA standby drain. Before I only got it after a full charge for an hour and then it raised and never got back before the next full charge. Now I saw that I'm able to get it again when I send my phone to standby. Don't know what you did gokhan but so far this version performs great.

Sent from my GT-I9100
[Galaxy S II Original Android Development] droidphile:
You mean you're able to use exFAT+Fuse module? Did you manage to mount exFat sdcard successfully?
[Galaxy S II Original Android Development] Rampler:
Can anyone explain, why are the times over the graph (1d 21h) are differnet from the values below (1d 20h). The difference is variabel, some times more, some less...

It should be same, right ?

Edit: Some times, i have a offset of 1 Minute, and later 1h15 Min, without charging ..
[Galaxy S II Original Android Development] smitna:
Hi droidphile,

no, I mean other modules like USB network and filesystem drivers, NFS etc.

exFAT from http://en.wikipedia.org/wiki/ExFAT is working without adding new modules, Siyah is already equipped with the fuse module. Please read my (older :() thread to the exFat problem (Sig). The vold 2 daemon makes me crazy, because it wants to mount an exFat volume as FAT32 and is modifing the first block on the exFat partition. Only a few bytes and no data, but that's no solution. If I disable the vold in the conf for automounting the external sdcard or an external USB drive, then it's working without problems, even for the external_sd volume. I have had a look in the sources from Android and CM. It's possible to expand the list of automounted partitions (ext2, ext3, NTFS) and it was integrated for ext2/3 in older versions of vold (version 1 I guess), but not so easy for a user mode solution like exFat (my skill is not high enough :mad:). If Tuxera would be open their existing exFat solution as a kernel mode driver, then it would be possible to integrate exFat for all media partitions as a good replacement for FAT32 without the restrictions, for example the 4 GB limit. But I think this will not happen in the next future because of the agreement with Microsoft and the license.
[Galaxy S II Original Android Development] flash608:
Thx to Current Widget you can see for yourself that changing Charging Current doesn`t work (i used digital multimeter earlier, now it`s easier). Test yourself, set different values and plug in/plug out (needed for change) the charger, you`ll see that there`s no change. The only change is when you set current to 450mA, then it`s truly charger with 450mA, any other setting makes it 650mA.
[Galaxy S II Original Android Development] droidphile:
I was excited :)

Because the main reason why i wanna try exfat sdcard is increased delete performance. A directory with large number of files takes forever to be deleted on a normal fat32 sd.

Vold daemon trying to mount exfat as fat32 is ridiculous.

I hope exfat hold a place in the automounted-list but with Microsoft as dev, it's highly impossible. :eek:
[Galaxy S II Original Android Development] smitna:
If you are a little bit courageous :D, try it. But save your data... I haven't made "deep testing" with the performance (only with hdparm in terminal) and the stability of exFAT as a user mode solution, this is the next step. The driver is still in beta, but I see a brand new update! Tuxera is the dev company for the linux solution, but they want earn a little bit money with the driver, so no Open Source at the moment...

Perhaps Samsung will integrate the kernel driver in the SGS3 (or SGS10...), but I don't believe it.
[Galaxy S II Original Android Development] xuxuzao:
what are the advantages of using 3 gpu steps instead of 2?

another question:

to flash new versions, should i use the "kernel remove script" or just install it above 2.6.8, deleting my old vc settings?

tks guys!
[Galaxy S II Original Android Development] CamoGeko:
Uhm what problems? I've never had issues here on foxhound while using siyah.

Communicated using an SGS2 droid with XDA premium neurotransmitter while DJ'ing on the Enterprise.
[Galaxy S II Original Android Development] gokhanmoral:
you can activate third step (which is 300 and it is kinda stock because galaxy note uses that with the same chip) and have better performance (or maybe worse depending on the thresholds)

I will activate the third step in the next version as default, but with a high threshold of moving second to third freq.
[Galaxy S II Original Android Development] :
Gokhan i am using your kernel mate latest version and it is working perfectly here no SOD no freezes nothing..should of said i am on batista foxhound latest version
[Galaxy S II Original Android Development] kilian7th:
Thanks for everything Gokhan, siyah 2.6.9 seems better for battery life than siyah 2.6.7 + thunderbolt script 2.3.12 on my configuration !

You're great and me and my phone will be your guinea pigs as long as you'll developp..
[Galaxy S II Original Android Development] pangiotis24:
I have asked you again but you propably didnt see my post.is there any progress on the version of the kernel based on linux kernel 3?
[Galaxy S II Original Android Development] :
no issues with random songs skip after set minimum CPU speed to 200 mhz
[Galaxy S II Original Android Development] :
great stuff:)
[Galaxy S II Original Android Development] pangiotis24:
i have also set the minimum cpu step to 100mhz and i have no problem.i am propably lucky:cool:
[Galaxy S II Original Android Development] marioh:
Great job man. everything works very fine. Thx!!!

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] AndreiLux:
Or use it to get a lower first step.

echo "40 133 267" > /sys/class/misc/gpu_clock_control/gpu_control
echo "90% 25% 90% 40%" > /sys/class/misc/gpu_clock_control/gpu_control

I'm using this without any problems or detriment to performance. And I repeat; 300MHz does not work on our device.
[Galaxy S II Original Android Development] ziroxs:
Me as well. Best performance ever. No reboots and all very smooth. I use very less voltages for gpu and cpu. Sio and ondemand 200-1200 MHz.

After exactly 48 hours i have actual 49% battery power. Still always wifi or 2/3 g on with nearly 3 hours display time, 30 min using the telephone and over 45 min listening music. And...no SOD or reboots.
[Galaxy S II Original Android Development] pay.c:
Hey!

With Siyah still being my favourite Kernel I am having quite a hard time with missing Bluetooth HID support (mouse/keyboard).

Are there any plans (or even possibilities) to implement in future versions?

Or is there any way to get rid of this nasty issue manually, e.g. via init.d scripts? (ANY hint highly appreciated! Otherwise I am about to built up some dual boot with CF root as second kernel just because of that single issue ;) ).

Maybe some other version of bthid.ko would help?

THANKS!
[Galaxy S II Original Android Development] xavihernandez:
Anyone of you guys using BLN and BL always off? May it be the reason why BLN (built-in one, it works via BLN Control) does not work for me? It worked before. I apologize if it has already been discussed. In more than 1700 pages I may have missed it!
[Galaxy S II Original Android Development] nikzDHD:
I'd love to have that duration, what's your secret? I can get about 24 - 36 hours with exchange syncing and gmail before recharging.
[Galaxy S II Original Android Development] xavihernandez:
More than whole device battery duration, on screen time is awesome. I can't reach more than 3h on screen time I think (from what I have noticed). 3h on screen time at 50% it is really great!!
[Galaxy S II Original Android Development] :
As the above guys have stated siyah latest version under heavy usage with everything synced and wifi always on i can get over 4hrs screen on time and over a day or day and and a half with heavy usage browsing and making calls
[Galaxy S II Original Android Development] nikzDHD:
It's achievable depending on type of usages I can get close to 3 hours at 50% depending how I use the phone, but depends on kernel and other factors like data type, signal strength all these things affect battery life.

Right now am at 47%, screen on time 2hrs 30mins 3g all day, maybe if I was on wifi I'd be closer to 3 hours.
[Galaxy S II Original Android Development] ziroxs:
This are my settings, working for ME ! I am not playing any 3D games, thats the reason i do not need higher gpu settings.

Main reason is my

2000mAh battery

.

my 2.6.8 init.d script

But with my 1650mAh old i get with similar settings and other kernel good results as well.

My results with GingerMod+Abyss 3.0 Kernel

I calculate ~ 7% per hour for display time (browsing) and ~ 0,5% - 0.7% per hour for standby mode (2G or wifi). Switching to 3G/HSDPA only for fast browsing if needed.

I like Siyah because you can do your own customized setup without restrictions. Most all of important varibales are adjustable and so on..
[Galaxy S II Original Android Development] legendasboy:
how do u switch from 2g to 3g? i would like if was possible to do a tasker profile to switch it when the screen was off the screen off but cant because of google based rom limitations i use foxhound
[Galaxy S II Original Android Development] xavihernandez:
Take a look there: http://xdaforums.com/showthread.php?t=739530
[Galaxy S II Original Android Development] gokhanmoral:
I also have that in my todo list.

I have an apple magicmouse and I got it working with CF-root but it doesn't work with siyahkernel.

however, last time I tried, it wasn't working with CFroot neither.

I could not spend much time on it but I will solve that problem when I have enough time.
[Galaxy S II Original Android Development] gokhanmoral:
I think I will take that 40 133 267 setting with different thresholds.

thanks for sharing it :) maybe I will make it 40 167 267 with a little lower up thresholds for second to third.

I still cannot understand why samsung used 300 in galaxy note as it probably sets the clock to 267 (closest valid freq.).
[Galaxy S II Original Android Development] lsv-1:
@gokhanmoral, first of all thank you very much for your incredible job with this Kernel, I really think that the kernel is great (very complex at the same time), the last three releases are awesome (some weird battery drain in 2.6.8 but that's all).

Just a thought here:

I would really appreciate for this kernel an AIO (all in one) app to change all the parameters like "Semaphore script manager" (SGS i9000, Semaphore Kernel) or "Phoenix Tweaks" for the new Phoenix Kernel.

PD. I would develop the app myself, but I'm not a developer :D

Sorry if this is the wrong thread to post, I didn't know where to put it, if here or the general's thread.

Regards

LSV.
[Galaxy S II Original Android Development] legendasboy:
i know that thread just dont know if works with foxhound

tried and it doesnt work have to inject it and not wanting to have to do that now
[Galaxy S II Original Android Development] gokhanmoral:
I receive mails about when will I finish the app for kernel configuration.

Someone else will develop it (I won't tell who but he will tell if he wants to)

the bitbucket repository is created on Jan 16, and it will be public when it is ready.

"This is a kernel configuration application for Siyah kernel, made by gokhanmoral, and available on most SGS II variant, including GT-I9100, SC-02C, SGH-I777 and M250K."

he will also publish it on the market.

I am not sure if there will be a paid version but even if there is it will be like setcpu and there will be no difference between the paid one and the one which will be published here.

he would develop an android app for his class and thankfully he chose to develop this kind of app to relieve the load on me.

I have another thing in mind for an app.

that one will be an open source appbuilder type of app which will be configured with an xml file such as:

<tab1 name="Frequency Config">
<config name="GPU Freq">
<type>int</type>
<items><item 133/> <item 166/><item 267/>
<action>echo</action>
<actiontarget>/sys/blah/blah</actiontarget>
<setonboot>true</setonboot>
</config>
</tab1>

as almost all configs are only texts and integers which are echoed to device files this app will allow all kernel developers to create their own configurator.

it will look simple but it will be effective enough.

anyway.. I have this in my todo list and I hope I will have time for this next month.
[Galaxy S II Original Android Development] smitna:
Hm, this is strange.

I have no problems with a BT mini keyboard, it just works:

2.6.9, default settings, no OC, no custom configs and sio/lulz

this is the output from dmesg while connecting:

[86485.099498] ######## bthid_open: ########

[86485.099778] ######## bthid_open: done ########

[86485.149929] bthid_write: Oops, HID report descriptor not configured

[86485.150154] bthid_write: Oops, HID report descriptor not configured

[86485.150256] bthid_write: Oops, HID report descriptor not configured

[86485.169608] ######## bthid_ioctl: cmd = 1 ########

[86485.179455] ######## bthid_ll_parse: hid = e666a000 ########

[86485.180619] ######## bthid_ll_parse: status = 0, ret = 0 ########

[86485.180700] ######## bthid_ll_start: hid = e666a000 ########

[86485.189322] input: Broadcom Bluetooth HID as /devices/virtual/input/input10

[86485.189422] ######## bthid_ll_open: hid = e666a000 ########

[86485.196688] generic-bluetooth 0005:0000:0000.0001: input: BLUETOOTH HID v0.00 Keyboard [Broadcom Bluetooth HID] on

[86485.196850] hid_add_device: ret = 0, hid->status = 3

[86485.196927] ######## bthid_ioctl: done ########
[Galaxy S II Original Android Development] AndreiLux:
Didn't want to say this too soon without having anything to show for it; but I was documenting myself on app building on Android to do the same exact thing (configured configs) as you just explained. :p I've also had the idea for two months but never enough time or drive to go through with it.
[Galaxy S II Original Android Development] gokhanmoral:
great! :)

honestly, I am not skilled enough in java to implement it easily (not in couple of days). I am good at all .net technologies which are just clones and very similar, so it would take some weeks for me.

I'll also give some credit to myself and say "great minds think alike" :)

using that kind of config file can also let flashing kernels and updates as well.

a file selector may be implemented and used in cascaded actions. after selecting the file all we have to do is to cat, or maybe execute another action to extract first...

and OTA would also be possible. it will be another action to download a file.

all we need to do is to develop actions and the app can be used for lots of purposes.
[Galaxy S II Original Android Development] :
sorry to interrupt the discussion but why not ask the help of Luca from Gingermod rom or Raffaele88 from foxhound rom. both devs use the OTA app on their roms and both would be able to help creating an OTA maybe for the kernel.:) just an idea if you need extra help. i could always speak to raffaele if needed. anyways i just be quiet again:o
[Galaxy S II Original Android Development] KSTu:
on this latest version dblouder does not work,any chance to fix it?
[Galaxy S II Original Android Development] lsv-1:
Thanks for the information, sounds great! Cheers!
[Galaxy S II Original Android Development] gokhanmoral:
I don't know about Raffaelle88's app but I inspected luca's app and it is implemented just as in my mind, therefore I think I will have some parts from his OTA application.

if I use mono to develop the app it will probably take about 2 days but I don't want it because it will not be a contribution.
[Galaxy S II Original Android Development] :
Raffaele88 is based upon Luca's source and both worked on his application together. It is the same source behind the OTA app that is also used in 4 seasons rom by ICS team which again Luca and Raffaele are behind off.. Was just an idea maybe they could either provide you with the source or just talk and share pointers. My apologies again did not mean to interrupt sir just thought to give you something else to think about:):o
[Galaxy S II Original Android Development] AndreiLux:
I have no problems in Java and am more fluent in it than C for sure (The only thing preventing me doing kernel work is that I'm not familiar with kernels :D), it's just that I have to document myself with the Android framework on how to do a native looking interface for the app. But as I said (and similar to you), I'm busy with other projects myself and only in a few weeks free to do anything else.
[Galaxy S II Original Android Development] poochewer:
+1 from me. I noticed the same syndrome. Oh well, as long as it charges the battery.:)
[Galaxy S II Original Android Development] CamoGeko:
+2

Who actually sits there and watches their battery charging for 3 hours? Lol :p

Communicated using an SGS2 droid with XDA premium neurotransmitter while DJ'ing on the Enterprise.
[Galaxy S II Original Android Development] singingshiver:
I'm on 2.6.7 and bbs shows bt_wake at 11h 52m. Not seen this before, any ideas what this is?
[Galaxy S II Original Android Development] poochewer:
You mean to say that you dont do it?

You dont know what you are missing out on!! LOL:D
[Galaxy S II Original Android Development] veyka:
Is your bluetooth on/discoverable?
[Galaxy S II Original Android Development] CamoGeko:
Only when I've got extra cool charging animation :p

Otherwise I just come and check on it every 20 mins lol

Communicated using an SGS2 droid with XDA premium neurotransmitter while DJ'ing on the Enterprise.
[Galaxy S II Original Android Development] :
Another great result regarding battery life

As you can see from below of my screenshots another great result regarding battery life with the kernel.

Wifi and sync for my gmail account always on, whatsapp and xda app on as well and browsing the net and using my xda app. Making calls during the day on and off.

Basically heavy usage over the course of the day...Very pleased with myself and my settings..If anyone wants to give them a shot by all means i am more than happy to share..Feel free to message me:)

Gokhanmoral thanks again pretty happy allround:)
[Galaxy S II Original Android Development] jonamafun:
I tried a program called EasyBatterySaver and that has a function which can disable/enable the data connection when you lock/unlock your phone.
[Galaxy S II Original Android Development] rab1412000:
Wifi seems to be weaker than 2.6.7.

Anyone else notice this?
[Galaxy S II Original Android Development] msgfromside3:
Yup.
[Galaxy S II Original Android Development] CA3iR0:
Omfg... I noticed that 2.6.9 is sucking my battery soooo fuc**ng fast!

We need a fix for this situation... :c
[Galaxy S II Original Android Development] rab1412000:
The app seems to working but haven't tested on headphones yet.

Will try soon and report back.
[Galaxy S II Original Android Development] Entropy512:
Hey Gokhan, I see that in some of your recent changes, you've disabled some of the ARP offload functions in the wifi driver - What was your reasoning behind that?

I'm trying to chase down some apparent regressions in the AT&T UCKK6 system image, and one of them appears to be that ARP requests not intended for the device trigger BCM4330 wakeups. After seeing your code I'm wondering if maybe something in the system image is overriding arp_ol. (Since it appears to be controllable with an ioctl...)
[Galaxy S II Original Android Development] veyka:
Check for wakelogs (betterbetterstats), and "****ing fast" is not a unit of measurement, screen on time/idle time/screen shots of battery usage, something, anything? :rolleyes:
[Galaxy S II Original Android Development] rab1412000:
Just tested it with super curios louder app and it works fine
[Galaxy S II Original Android Development] gokhanmoral:
Some people had connectivity problems when it is set to full. I am not sure about the reason. And the complaints started when I set it to 0xf. I don't know what is changed when we have third bit zero but it must disable a part of offloading. It was by trial and error.
[Galaxy S II Original Android Development] ziroxs:
Hi, get very good results as well. Still left 28% battery power.

- permanent 2G/3 or wifi on

- e-mail sync (5 accounts, ~ 50 emails)

- no games playing

- 60 hours always on

- ~5 hours display time

- 28% battery left

28% are enough for additional 2-3 hours display time (not gaming) or ~ 24 hours standby with internet connection on.
[Galaxy S II Original Android Development] doongoo:
could you share your undervolting settings?
[Galaxy S II Original Android Development] ka2uki:
@gok..i have test a long time..one importance thing I must to tell..hope you can fix it..it's about OC(overclock)..i think you may rebuild the OC codes for your kernel..the same CPU Governor and

I/O Scheduler.when i play a game called "real racing 2" the same choose racing car and track.CPU running in 1200mhz. the game runing smooth as hell until i am playing over a track..when OC CPU to 1400mhz. the game running lag in somewhere..change CPU Governor like luzactive ondemand etc..the result is the same above.in knzo Phoenix kernel..no this porblem.no matter you OC or not.the game is still running smooth as hell.I love your kernel cause your amzing work..so I hope you can check it and find the problem and fix it..anyway..thanks for your work.now i stand in 1200mhz..and waiting for you to fix it in next version..i love my SGS2 to OC..:p
[Galaxy S II Original Android Development] gokhanmoral:
After reading the discussion between Entropy512 and knzo in Phoenix thread, I decided to release a new version before I go to work.

the default governor will be conservative.

it will consume more than ondemand but the purpose of this release is to show that lionheart and conservative governors are just the same to those who cannot inspect the source code.

oh, and my additional claim is that the conservative settings I use will consume less battery juice.

try it and leave feedback please. (after I release it of course)
[Galaxy S II Original Android Development] ozzyita:
Hi guys, what govener do you advise to use for the best battery results?

Thanks

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] MistahBungle:
Ondemand/Sio.
[Galaxy S II Original Android Development] :
I shall test it for you if you like and share the results for you.
[Galaxy S II Original Android Development] ziroxs:
Perhaps in step 500 MHz and 800 Mhz is the possibility given to reduce 25mV but with this adjustments i get no problems. Using sio/ondemand
[Galaxy S II Original Android Development] jebiga:
Thanks for v2.6.9
[Galaxy S II Original Android Development] mariosraptor:
I tried phoenix and lost 7% in 4 minutes and quadrant crashed and make my phone unusable.

So to conclude no more moving for me this is the best kernel ever.

A donation is coming your way. Thank you GK