yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] harrynghiem:
Hi gokhanmoral,

I was using mikimod rom and using the script on the 2.2rc2 to control min max scaling, min 100 and max 1000Mhz. When i update version 2.2 or nolog, script runs min 100 - max 1200Mhz. So i open the voltage control app and edit max scaling that is 1000Mhz and save it and then cpu runs min 100 max 1000. If i reboot my phone, the cpu runs min 100 max 1200 again.

If i apply 2.2rc2 again, everything is ok with this script

Why?? plz advice me

Thks in advance

#!/system/bin/sh
##################################################
## Voltage Control boot script by xan and nitr8 ##
##################################################
LOG_FILE=/data/volt_scheduler.log
rm -Rf $LOG_FILE

echo "Starting Insanity Volt Scheduler $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;

echo "Set MIN Scaling Frequency" | tee -a $LOG_FILE;
echo "100000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo ""
echo "---------------"

echo "Set MAX Scaling Frequency" | tee -a $LOG_FILE;
echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo ""
echo "---------------"

echo "Set Scheduler for stl, bml and mmc" | tee -a $LOG_FILE;

for i in `ls /sys/block/stl*` /sys/block/bml* /sys/block/mmcblk* ; do
echo "sio" > $i/queue/scheduler;
echo "$i/queue/scheduler";
done;
echo "---------------";
echo "Set governor" | tee -a $LOG_FILE;
echo "lulzactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ""
echo "---------------"

#UV_BEGIN#

echo "Set UV" | tee -a $LOG_FILE;
echo "1425 1325 1125 1050 950 900 850 800 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo ""
echo "---------------"

#UV_END#

#GPU_BEGIN#

echo "GPU clocks " | tee -a $LOG_FILE;
echo "120 200 " > /sys/devices/virtual/misc/gpu_clock_control/gpu_control
echo ""
echo "---------------"

echo "GPU voltages " | tee -a $LOG_FILE;
echo "800000 900000 " > /sys/devices/virtual/misc/gpu_voltage_control/gpu_control
echo ""
echo "---------------"

echo "Charging current " | tee -a $LOG_FILE;
echo "800 550 450" > /sys/devices/virtual/misc/charge_current/charge_current
echo ""
echo "---------------"

#GPU_END#

echo "Insanity Volt Scheduler finished at $( date +"%m-%d-%Y %H:%M:%S" )" | tee -a $LOG_FILE;
[Galaxy S II Original Android Development] grey77:
move the line that sets "max_freq" to the bottom

and add 30secs delay before that

sleep 30
echo "1000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
[Galaxy S II Original Android Development] ceragon:
Who ever runs automounting ntfs. On my phone with 2.2 kernel is don't working. (
[Galaxy S II Original Android Development] droidphile:
Are you sure you checked /mnt/usb.

ntfsprogs is present in the kernel already.

Try this command and check /mnt/usb

ntfs-3g -o ro /dev/block/platform/s3c_otghcd/sda1 /mnt/usb

(read only mount)

EDIT: To unmount: umount /mnt/usb
[Galaxy S II Original Android Development] pimser:
Had that as well. WL were solved by a restart. Try, it was gone after that.
[Galaxy S II Original Android Development] harrynghiem:
Okay, thks for your help

It was working :-)
[Galaxy S II Original Android Development] Molitro:
The last two nights I compared the best beta I tried battery-wise, 2.1b16, and 2.2 nolog, and 2.2 drained a little bit less. Very good.

Now I have to discover why the hell my phone is eating quite more than what it ate at the time of that 2.1b16. Same configuration, I don't understand.
[Galaxy S II Original Android Development] JeroenGijselaar:
Sorry if this has been asked before. But I am new to the SGS2.

I just flashed Oxygen 2.3.2 (Based on 2.3.7, GWK74, Modem KI4)

Can I flash Siyah Kernel 2.2? Because it seems the best kernel from what I've been reading.
[Galaxy S II Original Android Development] vnvman:
That's right, it works perfectly fine :)
[Galaxy S II Original Android Development] JeroenGijselaar:
And wich one is recommed? 2.2 or 2.2nolog? Sorry :$
[Galaxy S II Original Android Development] b2rdetor:
you are writer - not reader!

try to read last 5-7 pages!
[Galaxy S II Original Android Development] iamsmallpang:
hi gokh,

what is siyah v2.2 Complete Source Package in your blog
[Galaxy S II Original Android Development] b2rdetor:
i think that need to moderate topic - only stupid questions last page
[Galaxy S II Original Android Development] Dark_Lord0122:
its the source code for the kernel
[Galaxy S II Original Android Development] gokhanmoral:
it is to help developers and some others who need to recompile/reuse the kernel.

I have already published the sources to bitbucket but for those who needs less knowledge to put things together I prepared such a package

you download it to a linux box (I use ubuntu 10.04LTS), extract it (tar xvfz filename.tar.gz) and run build.sh (cd siyahkernel-2.2; ./build.sh) the kernel will be compiled.

you can change the options by running config.sh

some people need some specific modules that I don't want to include in the kernel.

they can just download the package, only compile those modules and use them.
[Galaxy S II Original Android Development] vnvman:
It's basically the same: it's really up to you...personally i don't need logs so i flashed the no log version because it's cleaner and lighter, in the Oxygen philosophy (even tho you won't notice a single difference in real life usage) ;)
[Galaxy S II Original Android Development] Anarchist310000:
grrrr everything was running great... then boom SOD issues. So i wiped cache and flashed again and now its saying my battery is at 67C and wont charge cuz the temperature is too high. :(
[Galaxy S II Original Android Development] JeroenGijselaar:
Hmm, :(

After flashing 2.2nolog, the Device Settings in Oxygen ROM does not work anymore. When I set the Button Backlight to any setting, they always stay on :( Anyone know a solution for that?
[Galaxy S II Original Android Development] woodykr:
after having installed the version 2.2no logs I have continuous reboot.... despite has cancelled the cache and devil cache. I have put again the 2.1. Suggestions?
[Galaxy S II Original Android Development] haroonasla:
Same Prob as mine :) back to old version for now.
[Galaxy S II Original Android Development] superleeds27:
If im using Ini.d scripts. do they all need t have S at the beggining of them?
[Galaxy S II Original Android Development] midreestaj:
I am very happy with the latest release of Siyahkernal 2.2 final. Performance, smoothness and battery all so working well and I am much satisfied now. Have been testing all the beta and RC build through 2.2's development cycle, I want to say it felt just like getting my customized device's core/heart being tailored step by step on all of us opinions. Having a nice device such as SII and that being powered up by Gokhan! I thank both Samsung and Gokhan for delivering to us this friendly robust and productive device altogether. Thank you guys :)
[Galaxy S II Original Android Development] kwerdenker:
No, normally they should start with just a number. The skripts will get executed in order from lowest to highest number.
[Galaxy S II Original Android Development] brack11:
Hmm, I have only 1h 19m of screen time and already 33% of battery gone. This bad sign, so, for me the most economical batterywise kernel is v2.1.1

Sent from my GT-I9100
[Galaxy S II Original Android Development] pepe2909:
try it and then reinstall the kernel

http://www.multiupload.com/26ES60WA4G
[Galaxy S II Original Android Development] :
1.30 h in standby with wifi on, 36min screen on, 100-1200 smartass with light uv applied and battery is down to 90%.

Less than 3min total wake locks!!

Any idea?? :((

Sent from my SGS2 - Checkrom Revo 3.1.1 | Speedmod k18 | Vertumus ICS Theme |
[Galaxy S II Original Android Development] scott4:
Thanks. however, have tried most of the phone call recorder apps. the only almost workable one is Call Recorder - Total Recall which makes the phone is able to record In voice but not able to record Out voice. Seems this kernel doesn't support two-way phone call recording.

ownhere ROM is able to do so perfectly and it's integrated with dialpad. Hope someone can unable this function for Hong Kong stock ROM
[Galaxy S II Original Android Development] bala_gamer:
10 % ? whoa!! did you check your battery usage graph ?
[Galaxy S II Original Android Development] :
Yes and it is awake only when screen on. Only shows cell standby and android system with a few others. Better battery stats gives less than 3 min wake locks.. The graph isn't going down particularly steep if compared to other kernels I used, nor in standby nor while on, but as I typed this I already lost another 2%..in 3 or 4 minutes!!

Sent from my SGS2 - Checkrom Revo 3.1.1 | Speedmod k18 | Vertumus ICS Theme |
[Galaxy S II Original Android Development] brack11:
Could this be calibration issue?

Sent from my GT-I9100
[Galaxy S II Original Android Development] crypticc:
Usual offenders facebook, twitter, calendar alarms, google plus, gmail sync, etc.

I'd say however that 10% per half hour screen on it's pretty good going. That equates to about 5 hours screen time!
[Galaxy S II Original Android Development] starbase64:
Hi,

here is my battery drain report:

OS: CheckRom 3.1.1

Kernel: Siyah 2.2

Modem: KI4

SetCPU: 100-800MHz@SmartassV2 (undervolted) & screen off = max 500MHz

battery drain says: 1,5 hour 3% (Drain Guard > Link)

with friendly greet

starbase64
[Galaxy S II Original Android Development] brack11:
That drain guard is actually very battery hungry app. You shouldn't keep it on all the time, it eats battery like power tutor.

Sent from my GT-I9100
[Galaxy S II Original Android Development] dr0idman:
I have the same issue and I still can't figure out why. Less than 5 mins wave locks with sync off, no Facebook apps. Only whatsapp is on. Using UV luzactive with 1000 max.
[Galaxy S II Original Android Development] starbase64:
Thanks, i will try.

with friendly greet

starbase64
[Galaxy S II Original Android Development] bala_gamer:
Restarted my mobile, got too much of FC, cant even access my homescreen,hence restarted again and now bootloop. Have to flash again it seems .... this is ridiculous. anything related to kernel?
[Galaxy S II Original Android Development] mariotme:
sounds like a ROM issue to me. did u flash anything when you restarted a theme or a mod?
[Galaxy S II Original Android Development] Toleot:
newbie question

Baseband version:XXKI1

Kernel: Siyah v2.2

Rom: CheckROM RevolutionHD 3.1.1

I'm using SetCPU, governor using lulzactive 100-1200. Set on Boot ticked.

Everytime i rebooted, governor back to OnDemand 200-1200.

I haven't experienced this on Siyah v2.1.1

Is it something wrong with my GS2 or that's the way it is?
[Galaxy S II Original Android Development] bala_gamer:
Flashed nothing, just a casual restart.
[Galaxy S II Original Android Development] midreestaj:
Try Voltage Control app instead of setCPU.. It has exclusive support for Siyahkernel. This might resolve your issue.

Other way around is; wipe dalvik cache and cache partition, re-install the 2.2 kernel. Also for the setCPU clear the data and then again open it and check to set on boot on your values.
[Galaxy S II Original Android Development] rauschkugl:
it's not the way it is. i'm also using setcpu and have no problems at all. so nothing kernel or setcpu dependent.
[Galaxy S II Original Android Development] oguzhan mobile:
gökhan kardeşim pm ne bakarmısın
[Galaxy S II Original Android Development] Anarchist310000:
Tried it and still no luck.... SOD only occurs if I allow setCPU or any other cpu control app to work. If i deny superuser permissions then everything is fine. But i want to UV and UC to try and save some battery. I dont want to but if I cant get this to work then imma have to switch to another kernel.
[Galaxy S II Original Android Development] Lownita:
I am using CM7, which version should I flash, nolog or normal one? I think nolog as I do not need logging?
[Galaxy S II Original Android Development] brack11:
Don't need logging? Then nolog :-D

Sent from my GT-I9100
[Galaxy S II Original Android Development] bala_gamer:
To all who are interested, betterbatterystats latest version 1.4.2 has been released with support for reading kernel wakelocks, surely will be interesting to test with our kernels.

Link here,

http://xdaforums.com/showthread.php?t=1179809
[Galaxy S II Original Android Development] Lownita:
When I set governor to performance and max clock to 1600 mhz and start antutu benchmark, the clock gets set down to 800 mhz. Also happens when I just lock the phone and wake it up again, so it can't be a performance issue. With cm7 stock kernel I never had any problems benchmarking with this settings.

Any ideas why that happens?
[Galaxy S II Original Android Development] tolis626:
It's a known problem(Or so I want to believe).It's been mentioned by me and another guy some pages ago.

Question is,until it gets fixed,do you actually need performance governor all that much?Food for thought...
[Galaxy S II Original Android Development] KcDaRookie:
Yeah, I think the performance governor is somehow broken...

If you set max and min clock to 1,6GHz SetCpu will show 1,6 as clockrate but still give such low results so the implementation seems faulty...
[Galaxy S II Original Android Development] gabx:
test

Hello,

I am running your Kernel for a while now. I used 2.2b5, and experienced lags, especially browsing contacts and app drawer.

If I can help for a test, I am OK.

I run cm7 build 114
[Galaxy S II Original Android Development] b2rdetor:
haha i tested fast&furius5 game week ago and i cant understand why my locked cpu clock (1200, 1400,1600 performance) settings became 800 during that game. i thought that the game bug, but now i see dat is a kernel bug
[Galaxy S II Original Android Development] tolis626:
Well,from this perspective yes,it is a kernel bug.But you shouldn't be using performance governor for games anyway.It puts unnecessary strain on the processor.Why?A well coded game will use the GPU and leave the CPU alone when it finishes the tasks it's given.Using performance governor you still keep the CPU at max frequency for no reason.If the game isn't properly coded,it'll keep the CPU at max frequency anyway,so that leaves performance governor useful for benchmarks only. :)
[Galaxy S II Original Android Development] gokhanmoral:
try to select pwerformance governor affter selecting lulzactive.

that happens when you switch between ondemand and performance governors although it still doesn't make sense. there is a 40 seconds delay in the initialization of ondemand and I always thought it was to make booting faster but I think it is there to solve this problem.

anyway, it will be fixed in "v2.2i".

I don't want to make another test release. that is why I am testing now everything before I release it.

new test releases will be for v3.0 which is not soon as I have only merged mm part yet :)
[Galaxy S II Original Android Development] omar.abbas:
just to add some more, when i was on a stock rom with siyah 2.1.1 all those settings were working without having a freeze , i even used to have the 'screenoff' set too 500 mhz without any waking up issue.. but now since i am on MIUI things are totally different on the same phone and same kernel.. i get a reboot (not a boot loop) after every 2 3 minz of a min usage even with different Profiles and stock cpu speed.
[Galaxy S II Original Android Development] Lownita:
I am getting some lags here and there with lulzactive governor when scrolling through app launcher and homescreens, I am using adw launcher ex. No such problem with ondemand governor. Most of the time it is buttery smooth, but suddenly it lags for a second or two. Anything I can do about this?
[Galaxy S II Original Android Development] tolis626:
i)Up your minimum CPU speed(100Mhz sometimes ****s it up for these governors)

ii)Change governors if you can't take it.

Although it can't be that bad now,can it? ;)
[Galaxy S II Original Android Development] panoz:
Is there a possibility to build a cifs.ko with increased asynchronous buffer (16x16kb) as they did for the Droid a few months back?

Watching videos over cifs is stuttery as hell.. even for SD divx ones ...
[Galaxy S II Original Android Development] gokhanmoral:
this request is made just on time :)

I was about to release v2.2i.

I'll look into that first.
[Galaxy S II Original Android Development] ziTney:
Where does the 'i' stand for in v2.2i? Hehe, just curious:)

Overall perfect smoothness and outstanding battery life. Thanks for this ultimate kernel! :D

SGS2 | CheckROM Revolution HD v3.1.1 | Siyah v2.2
[Galaxy S II Original Android Development] panoz:
Thanks for your immediate response!

Original Droid thread here: xdaforums.com/showthread.php?t=1256718

Hope it helps!
[Galaxy S II Original Android Development] gokhanmoral:
I remembered my old nokia days. if you have a nokia with "i" suffix, it is just better :)
[Galaxy S II Original Android Development] buzzboy:
Using 2.2 with Oxygen and the "2nd Core" app. Absolutely incredible, performance is mindblowing. Highly recommended.

Thanks and regards.
[Galaxy S II Original Android Development] CamoGeko:
Stands for "intelligent" if I'm not mistaken. :p

Communicated from a Galaxy far far away via an XDA premium quality neurotransmitter.
[Galaxy S II Original Android Development] Lownita:
I can not access /sdcard in recovery anymore since flashing siyah 2.2 :confused: I am using cm7 nightly 114.
[Galaxy S II Original Android Development] :
It's a known issue; you can only see the "external" SD if you have one.
[Galaxy S II Original Android Development] gokhanmoral:
I changed something else. normaly you can increase CIFSMaxBufSize while loading cifs.ko but making it 64k (16k is default) would not hurt. let's see if it helps...
[Galaxy S II Original Android Development] AndreiLux:
Huh? There's a menu entry to open up /sdcard instead when installing a .zip, while the external one is now the default one being listed.
[Galaxy S II Original Android Development] TecQuality:
Eta for the 2.2i?

Delivered from my SGS II using xda premium
[Galaxy S II Original Android Development] SPACE ALIEN:
Here's the best kernel!!!

Thank toooooou!!!

:)
[Galaxy S II Original Android Development] :
Okay, it used to be a known issue then ;)

I didn't dig that far into the recovery menu lately since I haven't been flashing much in the past week or so.
[Galaxy S II Original Android Development] gokhanmoral:
10 mins...
[Galaxy S II Original Android Development] brenopapito:
:D

Awesome kernel !
[Galaxy S II Original Android Development] gokhanmoral:
I have delete v2.2 from the first post and I will edit the blog post for v2.2 in case someone wants to revert back to the first release.

v2.2i is up.
[Galaxy S II Original Android Development] steffanyouyi:
mine is ok with 100mhz-500mhz...

thx for the great work
[Galaxy S II Original Android Development] gokhanmoral:
I will make sure they are equal tomorrow. I remember that I merged new ondemand to ondemandx but maybe it was in another branch. I'll check it again.
[Galaxy S II Original Android Development] zantekk:
Is there any recommended uv-freq table available?

I didn't dinf one via forum search..
[Galaxy S II Original Android Development] kwerdenker:
There can't and never will be something like a "recommend uv" solution, because probably no two SGS2 are the same when it comes to their UV/OC capabilites. Best way to do UV is still the hard way: get SetCPU, lower the value of ONE frequency by ONE step, use phone to see if it's stable, repeat until lockup, go to next frequency, repeat over, ...

If you really want to try the values of others: just look through this thread or XDA as there are enough post/signatures with UV values.

---------- Post added at 12:16 AM ---------- Previous post was at 12:10 AM ----------

@gokhanmoral

I compiled an overview of the speedsteps from different kernels for the next version of my UV script. maybe you or anyone else have some usage for this :)
[Galaxy S II Original Android Development] TheMatrix2000:
hmmmm ..... understand. But which command can i use to unload a module if rmmod & Modprobe doesn't work ?? Only a reboot works ?? :(:(
[Galaxy S II Original Android Development] zaphod777:
Not sure if this is an issue with this kernel specificly since battery life has always sucked but maybe something that can be fixed by it since you are so awesome :)

I have noticed that my phone doesn't go into deep sleep. I have checked partial wake locks and there is not much there. Do you have any idea's how I can make it deep sleep?
[Galaxy S II Original Android Development] chadouming:
deleted, still have problem with wifi.
[Galaxy S II Original Android Development] antt00:
Ok ondemandx (v1.7.4) 200 - 1200 mhz is working great. Its been more than 12 hrs. No UV no profiles. Deep sleep is working, no unable to wakeup problem and 200mhz is the main cpu user. Will report back if there is any freezes. Freezes usually comes alot later if it is still around.
[Galaxy S II Original Android Development] zaphod777:
It looks like my phone is never going into deep sleep. I haven't used it much except for on the train this morning and I can't really seam to find what is causing this. Can this be a kernel issue?
[Galaxy S II Original Android Development] jdmcivic:
to all those who have problems going into deep sleep. please check your running apps and remove all samsung bloatware. i have been using and testing all the kernels available in this forum and neither has a problem going into deep sleep.

this is mine on siyah's kernel
[Galaxy S II Original Android Development] zaphod777:
Thanks, any in particular I should watch out for?
[Galaxy S II Original Android Development] lpsi2000:
LOL, my phone sleeps fine with all of the Samsung stuff running. Obviously that is not answer to the sleeping problem unless you just wanted the bloatware gone. I just recently discovered that my "Hello Galaxy" voice command works with my Bluetooth headset perfectly. I am discovering features of this great phone everyday. Removing bloat means removing features too. No wonder why so many people have smartphones and never knew their phones could do certain things and thinks the iPhone can do more stuff.

May be because you cannot really remove the Apple bloatware:D

Either way I think just telling people to remove stuff without telling them features they will lose is somewhat reckless:rolleyes:
[Galaxy S II Original Android Development] jdmcivic:
oh well, different people have different expectations of their phones. i have friends who know nuts about android. install this and that and they start complaining when their phones lag. more or less i had known whats causing all the lags.

for myself, i had removed the so called bloatwares as i have pretty much no use for them. why keep when not in use and when there's better alternatives out there.? keeping them running in the background would just be a waste of ram and battery. a good example would be those aosp builds like cm7 etc. its bare and yet people flash it on their phones cos they know what they want and expect from it.

btw i'm not forcing anyone to use the script whatsoever. its just a suggestion. if you look through the app list and you think u have no use for them, im glad to say u can remove them.
[Galaxy S II Original Android Development] zaphod777:
Thanks for the script. I just went back to stock put the dlev2 1.3 ROM on put this kernel and ran your script and removed everything else I didn't need and just generally decrapifying everything. I even added a completely black wallpaper. If that doesn't do it I don't know what will :)
[Galaxy S II Original Android Development] mong6267:
Hi, is it can use it in 2.3.5?
[Galaxy S II Original Android Development] lpsi2000:
I hear you and understand what you saying. That is true you are not forcing anyone to use the script. For the folks that understand what they want out of the phone then you are right they should remove what they don't want. Unfortunately there are very few PPL who comprehend all of the features of the phone to understand what they do not want.:p I am one of the many who do not understand all of the features of the phone:D.
[Galaxy S II Original Android Development] idmas:
thanks bro