yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] crypticc:
If you had poked about on the very first page you would have known.

Sorry. I'm with the other chap who is frustrated on this one.

Here. Just so you don't think I'm just being rude for not doing this for you...

[SIZE="3"][B]Some Example Init.d Scripts[/B][/Size]
[url=http://xdaforums.com/showpost.php?p=18315860&postcount=3897]Example CWM-flashable /system/etc/init.d/99gpuv script[/url] (thanks to AndreiLux)
[url=http://xdaforums.com/showpost.php?p=17798583&postcount=420]Example GPU/CPU undervolting and underclocking scripts by kwerdenker[/url]
[url=http://xdaforums.com/showpost.php?p=17827354&postcount=620]Improved version of CPU undervolting script by kwerdenker[/url]
[url=http://www.gokhanmoral.com/public/files/siyahkernel/scripts/EnableLogger.zip]Enable Android Logger - CWM flashable (android logger is disabled by default in this kernel)[/url]
[url=http://www.gokhanmoral.com/public/files/siyahkernel/scripts/DisableLogger.zip]Disable Android Logger - CWM flashable (use this script if you have enabled the logger by using EnableLogger script)[/url]
[url=http://www.gokhanmoral.com/public/files/siyahkernel/scripts/ChargeCurrent1000.zip]Set AC and MISC charging current to 1000mA - CWM flashable (keeps USB charging current at 450mA)[/url]
[Galaxy S II Original Android Development] crypticc:
How full? That is MAX current and the device will ramp down near the end
[Galaxy S II Original Android Development] tvhak:
okay i am very sorry if i missed something. but no one can tell me i didnt read. and because of that i am lazy

i did read all of it i just missed this. i read it all. i read this complete thread.

take a look at leamars thread i had it all. his new thread with gadgetcheck i had it all.

its not like that someone wakes up one morning and knows it all.
[Galaxy S II Original Android Development] redbullman:
I've posted this issue a few times and is really frustrating me. There is still a major Bluetooth bug with this kernel. I can make Bluetooth calls fine with my car pioneer car stereo on stock and using cm7 nightlies. However when I flash the Siyah kernel with cm7 the problems start. Calls work fine when the screen is on. However when the screen is off, I can't make calls. I love this kernel, its an improvement over cm7, but this is a major Bluetooth bug. I make calls in my car every day, so this feature is a deal breaker. Is the screen off Bluetooth issue on the fix list?

Thanks
[Galaxy S II Original Android Development] FallenOut:
not sure bout all you guys using 2.1b7

i think i found some bugs

when makin or receivin a video call

after the call is ended

there is a phone actions or voice action force close error

when u r listenin to a song

screen off

once u turn on the screen n open the lock

the sound will suddenly being loud for a few seconds b4 goin back to the same volume

usin poweramp 2.1 beta + widgetlocker

disable stock lock screen

all on stock voltages with no oc/uv on sio

one more issue im not sure yet

i hav phone locator on my phones

bt its been about more than an hour

n still when i locate my other phone on my phone

no response

this im not sure if settings or bug

since i need to go back home only i can make sure
[Galaxy S II Original Android Development] YaocH:
I do have some scripts in my init.d folder as mentioned a few posts ago, if you had read, so i'm not quite getting your point for the above input about init scripts. Thing was i didn't know to make use of it to edit values in freq_table. That was all that i was confused about and when i finally thought of how to go about resolving the idea, it was verified very clearly, and kindly, by kwerdenker.

@kwerdenker, Thanks!!:D
[Galaxy S II Original Android Development] crypticc:
Well done. hope the scripts help.

Yaoch instructions finish the job
[Galaxy S II Original Android Development] kwerdenker:
Woah guys, seem like I hit a nerve there. Let me say a few things to some of the points you made, so you may better understand my point of view in this.

But you do see the contradiction in this, do you? If you really have read the complete thread you would have stumbled about the stuff about init scripts, the echo commands and my post about how this stuff needs to be combined. And even if you missed it, after I gave you the bit of information about the init scripts, did you search the thread and/or google for this? If so, you should have arrived at conclusion how to combine the things yourself. And that there is the part, where you mature from your self-called "noob"hood because you not only learned something, you understood something. If I just give you ready made init script and tell you where you put it, would you understand how I did this or why I did it? Would that help you with the next problem you might encounter?

That's exactly why I gave them my quote in the first place. They didn't know about what these "files" really where and why they didn't keep their values. Now they know more than before and have the knowledge need for them to work. That doesn't mean everybody has to be spoonfeed and told everything.

YaocH is an excellent proof, that with a little bit of information, you can find out the rest yourself if you really try:

Like I said, I provided you with the part you needed because that is something I can understand if you don't know it.

So to conclude my rumblings: Most times if someone says "i'm a noob" on this form they are just using that as an excuse for beeing lazy and not doing their homework. I rather apologize to the few ones I smite unjustified than to spoonfeed everyone saying "I'm a noob".
[Galaxy S II Original Android Development] sacapo:
Where mus it i move "set_cpu_voltage.sh"? sbin/siyah???

Thanks a million
[Galaxy S II Original Android Development] D108:
Hi gokan,

Can you please revert back to CWM Recovery v4.0.1.5 back in your next rls?

Also, the AOS bug, mines been sitting at 68%, so yes, the bug is back.... pls fix in your next rls.

TiA

Cheers

D
[Galaxy S II Original Android Development] Bene2k11:
init.d folder ;)

With best regards from my ExynosROM-powered SGS2 always running the newest version of Siyah-Kernel.
[Galaxy S II Original Android Development] Molitro:
Will you people wait 'till the kernel is freaking finished to make all this complaints?

Also, though you see AOS going up, it probably doesn't mean you are haveing a higher battery drain, so...
[Galaxy S II Original Android Development] BoneMo:
Beta 9

tar: http://www.gokhanmoral.com/public/files/siyahkernel/test/Siyah-v2.1b9.tar

zip: http://www.gokhanmoral.com/public/files/siyahkernel/test/Siyah-v2.1b9-CWM.zip
[Galaxy S II Original Android Development] gokhanmoral:
usb mounting should work with beta9.

please test and report...

also, I removed mtp support. if you are using samsung rom you may need to enable usb debugging to be able to have usb mounting.
[Galaxy S II Original Android Development] skiflyer:
hey boss,

is it my fault that the back button in the C'WM menu is not working? :(
[Galaxy S II Original Android Development] BoneMo:
what about power button ?? just idea:confused:
[Galaxy S II Original Android Development] eranox:
I'm using Voltage Control to set CPU voltage and frequency.. I don't know Wichita i/o schedule I have to use. Now I'm using "sio" but I don't know the differences of the other ones.. is there a little tutorial or can someone explain it? Thanks..

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II Original Android Development] gippy2:
Usb confirmed working in B9 :D thanx for all your hard work its much appreciated
[Galaxy S II Original Android Development] DarkEN_ANGEL:
USB Host problem... Need help

Hi! Have a GOODRAM EDGE 32GB usb flash drive with fat32 filesystem.

Tried to connect it to my SGS2 through USB OTG Cable but no reaction from the phone. Also tried to connect wireless usb mouse G-Cube and no reaction.

My SGS2 works normally with Canon photocam and my wife's HTC Touch2 (T3333).

How can i find a solution for this?

It is very necessary to use that flash drive with the phone.
[Galaxy S II Original Android Development] gokhanmoral:
did you read first two posts?

especially the first 4-5 lines in the first post, which was bold and blue...?
[Galaxy S II Original Android Development] skiflyer:
no it has the same function as the HOME button. -> to go into another menu, but i want to go back.. :confused:

okay, tried it again, then it is as you mentioned, i could go back. but why not with the back button? :(
[Galaxy S II Original Android Development] gokhanmoral:
only CWM recovery 4.0.0.2 supports back button AFAIK...

5.0.2.6 does not.

if I use v4.0.0.2, people ask for v5.0.2.6.

if I use v5.0.2.6, people ask for back button support..

what would you do?

you can go back in recovery. there is a menu item to go back...

unless you spend most of your time in CWM recovery (in that case there is something seriously wrong) why do you care that?

can you go back? yes.. so what is the problem?
[Galaxy S II Original Android Development] skiflyer:
there's no problem. let it on cwm 5. maybe we have one day the back button in a newer version but it's just a comfortable option to have it, not a must have. didn't want to interrupt you :) just asked why, so now thanks ;)
[Galaxy S II Original Android Development] redbullman:
Hi. Really appreciate it if you could look into the issue I brought up this morning about Bluetooth calls not working when screen off. Works perfectly on cm7 and stock.

Apart from this issue, amazing kernel. Thanks
[Galaxy S II Original Android Development] psychoid:
you can learn from this thread --> http://xdaforums.com/showthread.php?t=1242323
[Galaxy S II Original Android Development] DarkEN_ANGEL:
Had someone saw MY POST??? http://xdaforums.com/showpost.php?p=18652447&postcount=6433
[Galaxy S II Original Android Development] xeq544:
Im posting this here cause I am not sure if its cm problem or syiah problem. So please anyone with syiah and CM share your knowledge, how do you update cm builds etc. Thanks.

Original post from cm q/a:

Second time this happened to me:

I was updating CM through CWM as usual, installed it, phone rebooted ok. But some gapps are missing, for example news&weather widget and when I open market it shows prompt to enter account info again and when I click "yes" market just shuts down, tried wiping market data. And I wont install gapps again cause it caused me and irrepairable bootloop which could be fixed just through complete wipe using odin etc. Happened when going from 85 to 87 and now from 87 to 90.

Am I doing something wrong ? Thanks for help.

Nah its not just that, also all my contacts disappeared, but not the call logs and some settings were reset too for example. Something seems to be wrong, but if i dont figure out what it is, ill probably be going back to sammy rom for a while, but i dont want that because i love cm and i loved it on all my pat devices. Thats why i am asking for help here.
[Galaxy S II Original Android Development] myakove:
Did you install FuguTweaks from the kitchen? I installed this and then the AOS bug return, revert and all OK.
[Galaxy S II Original Android Development] Galaxy_Fan:
@gokhanmoral:

your kernel is of the most featured ones and one of the fastest!

Does it make sense for stability/performance / Battery reasons to make a small version just with 2 or 3 governors and schedulers, with no bln and all the others stuff. Just the basic from your kernel.

Will this one be better then?

Or does it have no effect?

Sent from my GT-P7510
[Galaxy S II Original Android Development] crypticc:
Cheeky! Or did you mean not to SHOUT

Lol

Gokahn quick question do you mind please explaining what mtp is, why you removed it, and is this why dark angel is unable to screes his USB. Should he be disabling and re-enabling USB debugging

p.s. as you said in your post just after the link to the b9?
[Galaxy S II Original Android Development] ebliss:
hi, beta9 when I change the min (25) and max (1696) freq, cpuspy and time_in_state of setcpu do not reflect the correct freq.

media scanner when boiling, goes through usb storage, sdcard and usb storage again before strong that it is completed.
[Galaxy S II Original Android Development] Chris X.:
Who needs it:

Howto changes in the freq_table.

Its in German but easy for everyone.

http://www.pocketpc.ch/samsung-gala...-one-kernel-rule-them-all-31.html#post1220611
[Galaxy S II Original Android Development] bgx:
I have write me a tasker script that will reduce the stepping if my batt is falling below 25%! Works like a charm! ;-)
[Galaxy S II Original Android Development] BoneMo:
do you know how to make a script to set these values automatically after reboot ?
[Galaxy S II Original Android Development] tolis626:
Just out of curiosity,what voltages are you using for 25MHz and 1696MHz?

Also,Gohkan,did you read my post about bus frequencies the other day?Just came to my mind because I saw a file in /sys/bus/platform/devices called s5pv310-busfreq that caught my attention.It turned out it was a folder,whose contents I could only see with terminal emulator and I couldn't change anything,but it's interesting whatsoever.I guess control interface isn't even built in yet,eh?
[Galaxy S II Original Android Development] energie:
lol beta 9 is even faster then beta 8 for me.

how did we have that performances boost?

quandrant increased for over 1000 pts.
[Galaxy S II Original Android Development] xeq544:
As I said, flashing gapps causes a bootloopp and I have to do complete wipe with odin. Also most of my gapps are still there. I don't know what to do, don't wanna go back to a sammy rom. Please help.
[Galaxy S II Original Android Development] galanakop:
Good morning children ... I am with the 2.0 and would like to give me the voltages (volts) can I get the above kernel ...
[Galaxy S II Original Android Development] psychoid:
how to revert it back myakove?by restoring backup from cmw or you have a file to revert it to the original one?
[Galaxy S II Original Android Development] cobhc:
USB is working now, but it's only mounting the internal SD and not my 32gb external SD card.
[Galaxy S II Original Android Development] myakove:
Extract the two files from the original ROM.

attached the two files, put them on system/bin
[Galaxy S II Original Android Development] Fibercoax:
Soo, whats a good combo if want to run custom KI8 rom + Siyah kernel

I swear with this kernel kuz it Rocks..

Other side of story im verry happy with my KI3 Leomar and 2.0B7 setup.

When it work and you happpy dont touch it right?

I like bleeding edge updates!

Anny tips for custom KI8 ?

CM7 is not a option for me because its to buggy
[Galaxy S II Original Android Development] jayquinten510:
Interestingly, yes i have. Maybe i should not have.

May as well just do another checkrom fresh install. Doesnt take long, and since you dont have to wipe, backing up again isnt really needed.
[Galaxy S II Original Android Development] myakove:
Here is my script created with voltage control and modified to enable 25 CPU step if anyone need it

#!/system/bin/sh

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 "25000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo ""
echo "---------------"

echo "Set MAX Scaling Frequency" | tee -a $LOG_FILE;
echo "1200000" > /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 "deadline" > $i/queue/scheduler;
echo "$i/queue/scheduler";
done;
echo "---------------";
echo "Set governor" | tee -a $LOG_FILE;
echo "smartassV2" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ""
echo "---------------"

echo "Set UV" | tee -a $LOG_FILE;
echo "1425 1325 1175 1075 975 875 850 850 " > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo ""
echo "---------------"

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

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

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

#set CPU steps
echo "1600 1400 1200 1000 800 500 200 25" > /sys/devices/system/cpu/cpu0/cpufreq/freq_table

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

---------- Post added at 02:07 PM ---------- Previous post was at 02:06 PM ----------

---------- Post added at 02:06 PM ---------- Previous post was at 02:02 PM ----------

No need to flash the ROM again, it's only two file to replace i have attached them in my previous post.
[Galaxy S II Original Android Development] cobhc:
ADB connection seems to be lost too :|
[Galaxy S II Original Android Development] jayquinten510:
Ah yes thanks.

Do I need to use root explorer, or can I just make my own flashable zip by emulating the folder structure where the files need to go in the actual zip file? Never done it before but I think I get it.

EDIT:

Nope, there is the METa-INF that i do not know what to do with.
[Galaxy S II Original Android Development] myakove:
I used root explorer for this
[Galaxy S II Original Android Development] jayquinten510:
Okay, Many thanks!
[Galaxy S II Original Android Development] crypticc:
Look in /mnt/emmc
[Galaxy S II Original Android Development] cobhc:
I can see it on the phone, but when mounting it to my computer, it errors trying to install the drivers again. Says the device cannot start.
[Galaxy S II Original Android Development] mikebike20:
Hi gokhan ! Nice to see your progress in this awesome kernel. But what about compatibility with aosp rom like cm7 and last built of miui 1.10.21. Could you check it when it will be possible for you please ? At the moment, none of 2.0 betas releases permit booting. Thanks mate
[Galaxy S II Original Android Development] StefanHamminga:
Nope, so far my findings don't agree with that. Setting power higher or lower seems to do exactly 0 on both my Windows 7 and Linux systems. Both report 96mA max. power. I even drained the battery to 12% and checked again.

But I did have a look in some driver code: Could it be that a) the setting is useless, or b) the charge voltage does get increased, but not the overall power draw current (which overrules the former).
[Galaxy S II Original Android Development] crypticc:
I managed by flashing ki8 cmw kernel in Odin, then root again to recovery and wipe dalvik and such, then flash cm7 #twice#. Then recovery and wipe dalvik again then flash this kernel. Cm7 script isn't a good one so I don't think is kernel problem.
[Galaxy S II Original Android Development] chandyperry:
No pb with NDT and MIUIANDROID ROMs for me.

Everything works with all betas! :)
[Galaxy S II Original Android Development] mikebike20:
Really ?? Do u use v2.0 ndt release ???

Impossible to boot for me, it stuck after logo s2, black screen, even using siyah's kernel 2.0 final
[Galaxy S II Original Android Development] cobhc:
Switched back to Beta 2 and ADB is working again, at least this way I can push things across, and just remove the SD card and use a card reader for dumping bigger amounts of files over.
[Galaxy S II Original Android Development] lpsi2000:
It is irretating

There is a seem to be a quiet a few new users to this kernel which is good, but can you guys read this thread. It is bananas to see people asking the same questions over and over and over again when the answers were a few pages / posts back. Keep in mind we don't all learn at the same pace and we don't all need to be able to do everything some of the advance users are doing while testing. Some of you just need to stick to the basic and wait until you can make sense out of the features. But it seems as everyone want to use features they don't understand to because...

Come people read the thread, do some Google search about features, wait for the masters to communicates among themselves in the thread, pickup what you can, do some homework, continue to read, etc.... You will someday soon understand the features and how to use it. The lack of patience and using stuff you have no idea what they are and better yet why you are using is just plain stupid.

I am writing this because I have come here a read pages of this sh*t when you do this and believe me I read this thread faithfully. Many of you have no idea what you are doing and why you are using these features. So spamming this thread with laziness makes it more difficult to keep up with the thread which causes it to get spam further with more repeatable questions or answers.

Do us all a favor, read read read, search thread, search Google, search other places, then read more until you can get a better understanding on what you want to do then ask questions here.

repeatable stuff:

CWM 5 vs 4 >>>> been there done that (version 5 works and does it all well, read the thread all the answers are here)

Changing frequency and bus speed ( you better know that means, and why you want to use it, before you do it)

When you reboot the settings are gone (yes that is true because you need a script that execute at boot, hint >>>so figure out where else do you have script that execute at boot)

Permission and etc.. on why things cannot be modified or executed are just basics and you should know those if you planning on editing scripts (you don't know that stuff stick to basic or wait for GUI to be available or for someone with more knowledge to create a flash-able script)

In the end I will leave you with this statement:

Some of the smartest and brightest people are the laziest individuals on earth because they automate as much as possible in order to do very little to no work. Why? Well because they will spend more time doing Research and Development (reading, searching, and trying).:p
[Galaxy S II Original Android Development] tolis626:
There is a Greek saying which translates in "From your mouth to God's ear",which means that I hope God hears you and does something(The fact that I don't believe in God is a completely different matter :p ).

Users nowadays have become very lazy and incompetent in their majority,making their presence in a developer forum parasitic.I might not be an expert or something,but I have read more things than I can remember in this forum.Hell,through my reading for Android I even learned most stuff I know about Linux's inner workings!The amount of stuff that one can learn here by reading only is phenomenal.It's time everyone realizes that.

A big thank you to you for this post.You said everything that had to be said. :)
[Galaxy S II Original Android Development] akira888:
em.. I haven't used the latest version yet. I used 1.8 b4.

But have you guys noticed the modified governors in this kernel is not very smooth?:(

Just don't feel it is snappy at all.... To me it is very jerky.

Have I don sth wrong?
[Galaxy S II Original Android Development] YaocH:
I also have the similar problem with editing the freq_table file. I was able to do so using scripts in b7 so I'm quite confused as to what is the problem. Ive even added chmod a+w+x to the script before echo command but still to no avail. Any comments on what I'm doing wrong?
[Galaxy S II Original Android Development] AndroidGX:
Firstly, thanks tolis626 and fummelfritz for answering to us.

I still have the same problem as tanoxxx, I tried to modify permission of the file, and adding exactly what fummelfritz said, but nothing to do, impossible to get an effective 25Mhz after a reboot, strange :(
[Galaxy S II Original Android Development] spaxx24:
How do i save the voltag file?.. In "file editor" i cant save it after editing :S