yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] doc_2nas:
Maybe you could try this for smartassV2:

echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/awake_ideal_freq;

echo "100000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_ideal_freq;

echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/sleep_wakeup_freq;

echo "95" > /sys/devices/system/cpu/cpufreq/smartass/max_cpu_load;

echo "75" > /sys/devices/system/cpu/cpufreq/smartass/min_cpu_load;

echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/ramp_up_step;

echo "200000" > /sys/devices/system/cpu/cpufreq/smartass/ramp_down_step;

echo "100000" > /sys/devices/system/cpu/cpufreq/smartass/up_rate_us;

echo "10000" > /sys/devices/system/cpu/cpufreq/smartass/down_rate_us;

And this for conservative:

echo 10 > /sys/devices/system/cpu/cpufreq/conservative/freq_step

echo 75 > /sys/devices/system/cpu/cpufreq/conservative/down_threshold

echo 95 > /sys/devices/system/cpu/cpufreq/conservative/up_threshold

echo 0 > /sys/devices/system/cpu/cpufreq/conservative/ignore_nice_load

echo 80000 > /sys/devices/system/cpu/cpufreq/conservative/sampling_rate

(You can't change sampling rate for conservative/ondemand on devil, but it has feature like screenstate_scaling that change sampling rate depend on screen state)

Edit: sampling rate is already fixed by DerTeufel1980....
[Galaxy S I9000 Android Development] DerTeufel1980:
sampling rate is fixed in next release. it's a bug.
[Galaxy S I9000 Android Development] marcedli:
glad to hear that! did it make your private life more 'spicey'? :-)

Tapatalked, swyped from cm9 nightly using devil kernel
[Galaxy S I9000 Android Development] doc_2nas:
Thank you Sir, we'll be waiting patiently, wishing you all the best for family n work too...
[Galaxy S I9000 Android Development] SAEVARM3:
So I´m understanding this right,

On Devil2_0.67b_i9000_CFS_BLN_CMC_20120414 you will not have to flash 720p fix? ... It´s only for Devil2_0.67b_i9000_CFS_BLN_VC_20120414 right?

Just wanted to be 100% sure :)

Peace
[Galaxy S I9000 Android Development] malcho:
Yes.
[Galaxy S I9000 Android Development] dark_knight35:
No. CMC and VC are just the color improvement Cyanogenmod Color and Voodoo Color. These 2 kernels are for ROMs without patch(i.e. CM). But you can also flash the xl kernels, you'll get more RAM and patch is flashed with kernel.
[Galaxy S I9000 Android Development] SAEVARM3:
so you have to flash 720p fix for both of them if you wan´t record something properly :)?
[Galaxy S I9000 Android Development] malcho:
Second post on this thread all explained.CMC already patchef and VC needs to be patched.
[Galaxy S I9000 Android Development] SAEVARM3:
Thought so ... weird answer from Dark_Knight, please don´t just say what you think if you are not sure mate :)

Peace
[Galaxy S I9000 Android Development] fishears:
True, but also it was a weird question as it is perfectly explained in post #2.
[Galaxy S I9000 Android Development] yorlli:
Dear "pbecks1963": Did you were successful in recover the phone (without reinstall... of course)? :confused:

Dear "paulm35": How you entered in recovery menu? I couldn't enter on it... I just could put it in download mode... :(

It has happened 2 times in the last week with the Devil v2 kernel, one on Thursday and one on Sunday... in both cases I needed to use Odin to put my SGS back to life... I couldn't even enter in the Recovery Mode...

Any ideas or someone else which had this problem?

I was first with Elite v 6, and later with Elite v 10.1...

Ideas?

Thanks in advance

Yorlli
[Galaxy S I9000 Android Development] saszseb:
On 2.067_VC aLogcat doesn't work. I flashed CMC and aLogcat.apk works fine. Why is that? Thanks.
[Galaxy S I9000 Android Development] dark_knight35:
There is no 720p recording fix. The bm versions can't record 720p, the others can.
[Galaxy S I9000 Android Development] DerTeufel1980:
here comes my latest test kernel. i am running it myself since 14 hours now.

- hopefully fixed selective live_oc to be as stable as the normal live_oc

- fixed sampling rate of ondemand and conservative (have ported mialwe's sleep multipliers)

- new tunables for ondemand and conservativ

sleep multiplier and tunables:

mialwe had the great idea, to change the sampling rate of conservative and ondemand governor while display of. for this, he introduced the sleepmultiplier (in his case factor 3). this means, if you set sampling rate to 20000, it changes to 60000 while screen off, and back, when screen on.

i have made this multipliers tunable. proper values are between 1 and 5, because one could want a higher multiplier while screen off, if sampling rate is very low while screen on (higher sampling rate means, less checking for work load --> better batterie, worse performance). with this tunables you get better batterie, without making the performance worse while screen on.

-for ondemand:

two other tunables: up_threshold_min_freq and responsiveness_freq

the first one is a very low threshold while on low freq (by default 40), to make the governor scale up faster, until the responsiveness_freq is reached.

the responsiveness_freq is set to 400000 (400 mhz) by default. while the freq is below this value, up_threshold is the same as up_threshold_min_freq, and freq jumps to responsiveness_freq, with skipping the freq between the actual one and the responsiveness_freq.

responsiveness_freq can be set to values between 400000 and 800000

up_threshold_min_freq can be set to the same values as the normal up_threshold.

not tunable: while screen off, up_threshold is set to 95, no matter your other settings, to save more batterie.

till now, the tunables have to be changend by:

http://www.fileuploadx.de/600945
[Galaxy S I9000 Android Development] ironvane:
Thanks a lot for your amazing work !!!

any VC XL_bm version of this kernel ??
[Galaxy S I9000 Android Development] dark_knight35:
Thx for the great explanation, DerTeufel! I've still got a question: if I want to change awake multiplier to 1, is that right for conservative:

echo 1 > sys/devices/system/cpu/cpufreq/conservative/awake_multiplier

Do you know if this will be included in next Nstools release?
[Galaxy S I9000 Android Development] DerTeufel1980:
when it comes the official one. till now, it's only the version i use myself

there is no awake_multiplier. also, changing the sleep_multiplier to 1, disables it.
[Galaxy S I9000 Android Development] currydude:
Test kernel is working a treat! Excellent kernel :)
[Galaxy S I9000 Android Development] AlexandreT:
I have been using Devil kernel with SlimICS for almost a month now with very good results. Today I realized that all init.d scripts from slim were put in a backup subfolder of init.d folder upon kernel installation. Only S30datafix script remained. Should I just leave this alone or should I restore some/all scripts from backup folder back into base init.d folder. I'm just curious as everything is working fine and fast.
[Galaxy S I9000 Android Development] mialwe:
@devil: Great to see our responsiveness idea works like intended :)

As you mentioned me for the samplingrate-at-screen-off adjustment commit - it's not really my idea. Stratosk and Newmail used this for limiting maxfreq @ screen off if I remember right, sampling_rate*multiplier is just another variable. Found my first commit (Jan/12) here, mentioning Stratosk and Newmail.

I did not know you would implement threshold adjustment @ screen state, too - testing this since a few days myself and it seems to work fine.
[Galaxy S I9000 Android Development] dark_knight35:
You guys did a great job, everything so fast now! You can really feel the speed improvement!
[Galaxy S I9000 Android Development] stratosk:
Thanks for clarifying this my friend. :)

Actually newmail did this in maxfreq. I did the change in sampling rate (plus 2 other tunables) when screen off I found this on mine github (Dec/27).
[Galaxy S I9000 Android Development] doc_2nas:
DerTeufel1980, Stratosk, Mialwe.... you guys are really God's gift to android community and SGS especially..... Thank you so much guys.... God Bless You all....

About the new kernel... it's amazing, the new ondemand is very interesting, task will perform faster within ideal freqs (400MHz and up) while screen is on (actually I think it will save more battery, less cycle needed to complete a task :confused: ) and save more battery while screen is off. LiveOC works well. CWM recovery looks more neat. Battery looks good (still needs more time, just flash for 2 hours).

Thank you so much DerTeufel1980.....
[Galaxy S I9000 Android Development] saszseb:
@DerTeufel,

why haven't you answered my question regarding logcat issue on 2.067_VC?

Thanks.
[Galaxy S I9000 Android Development] FadeFx:
2.0.71 seems to run perfectly so far...

Thanx DerTeufel

------------------------------

tapatalked from Galaxy S
[Galaxy S I9000 Android Development] DerTeufel1980:
sorry, did not remeber it ;)

but, it's almost impossible. voodoo color or not, is only one file, which contains the code for both versions. nothing inside has anything to do with logcat. maybe you did something different?
[Galaxy S I9000 Android Development] saszseb:
Nothing. I flashed an AOKP ROM coming with Devil_2.067_VC. Logcat didn't work. Then flashed CMC version and logcat has been working since then.
[Galaxy S I9000 Android Development] habylab:
You guys are such gods at creating kernels. The fact you share your work and work together is excellent.
[Galaxy S I9000 Android Development] ImraanK:
+1 :).. also want to know as well
[Galaxy S I9000 Android Development] Full HD:
I asked the same question a few posts ago. Just move the files from the backup folder back to the init.d folder and reboot.
[Galaxy S I9000 Android Development] mikiept:
Governor question

@DerTeufel1980,

Is there anyway I can setup ondemand governor to somewhat lock the screen off frequency to 400MHz? The reason I'm asking its because the ideal frequency (with didle on) while music playing with screen off is 400Mhz (battery wise).

Thanks in advance!
[Galaxy S I9000 Android Development] habylab:
Yes, I get this too!

Sent from my Galaxy S running Slim ICS 3.3 with Devils 2.0.71xl Kernel using the XDA Premium app
[Galaxy S I9000 Android Development] yahyoh:
dont forgot to set the permission rw-r--r-- :D
[Galaxy S I9000 Android Development] mk_ln:
hi,

i've been using a few of the devil kernels now, but have never really set any of the other settings, namely those that require the echo command....where would i set/enter those commands for their respective settings to take effect?...terminal emulator?

thanks in advance.

---------- Post added at 09:40 PM ---------- Previous post was at 09:04 PM ----------

wow, i just set the governor to conservative and i had a little bit of a lag at the start of a game, but then it was smoother than it has ever been!

thanks!
[Galaxy S I9000 Android Development] Proelio:
What is the best scheduler with Conservative?
[Galaxy S I9000 Android Development] kova4a:
I've been using the conservative + noop combo for probably more than a year. I like to set the conservative governor myself and make it very agressive and fast scaling.
[Galaxy S I9000 Android Development] dbalazs123:
Conservative settings

Could you post your settings that you have right now? (for conservative)
[Galaxy S I9000 Android Development] edy4sure:
I think that since the kernel developers of our phones have started sharing ideas and knowledge with each other, there has been a very sharp improvement in the quality & and features of all the kernels :D. Kudos to you guys!!!

I've been using Devil2 0.71 since yesterday without tweaking and I can safely say that both battery and performance have improved sharply without any issues so far :)
[Galaxy S I9000 Android Development] MetalPainis:
Just out of curiosity, where did you get 0.72? ;)
[Galaxy S I9000 Android Development] CMiles1979:
Yes, I asked myself the same question. :confused:

★ De wereld van @CMiles1979 ★ GT-I9000 ★ Tapatalk ★
[Galaxy S I9000 Android Development] dark_knight35:
You're talking 'bout 0.71?
[Galaxy S I9000 Android Development] Follomon:
Hi all,

I have a Problem, I was running ICSSGS (4.3) with Devil2_0.67_i9000_CFS_BLN_CMC_XL_bm_20120413.zip an all was good fo a couple of weeks. Yesterday my screen was black and I had to do a reset (press power Button long). but after this my sgs is in a Bootloop. Means, I only get the Devil Boot Logo and then its restarting and again....

When I press the 3 Button combo to get into recovery I have the same problem. The only thing that is working is to go into Download mode.

I am writing from a Airport and it sucks to have no phone. But tonight I am home has somebody an idea?

I have Data on my phone like pictures from Holiday, ist it possible to keep them???
[Galaxy S I9000 Android Development] vitoski:
Had the same problem yesterday. I run into this problem when I changed screen settings (I described steps I did in AOKP b32 ROM thread). Unfortunately the only solution I have found was to completely reflash the phone with ODIN. I could not get into CWM at all, only Download mode worked fine.

Try this: Leave your phone with bootloop and connect to PC. Since Odin sees the phone, maybe the SD card will be visible as well (I cannot confirm that).
[Galaxy S I9000 Android Development] ironvane:
Flash this via odin with the pit512 and repartition checked and when, reboot in recovery and flash your ics kernel.
[Galaxy S I9000 Android Development] Follomon:
I will try that thx.

But are the pictures (all data)on the phone deleted after that?
[Galaxy S I9000 Android Development] ironvane:
no just the kernel is affected it don't affect the rom and the data.
[Galaxy S I9000 Android Development] vitoski:
I wish I knew that before:D
[Galaxy S I9000 Android Development] setanomada:
im trying to find the modded framework to disable bluetooth and able TOFF. could someone give me a link to the one i need for last cm9 nightly? thanks in advance
[Galaxy S I9000 Android Development] CMiles1979:
If there is an internal error on your sd card, then you have a problem with your pictures from your holiday. If not, you don't have to worry. Not even thru Odin. Normaly they don't touch those folders. For the future, maybe you need to install Sugarsync to setup a sync to a cloud, or Google+ account and the app.

★ De wereld van @CMiles1979 ★ GT-I9000 ★ Tapatalk ★
[Galaxy S I9000 Android Development] km211121:
Which version of this Kernel is suitable for Slim_ICS_3.3 ROM ?

Thanks
[Galaxy S I9000 Android Development] ironvane:
0.71 is better for me but the suitable official is 0.67 XLbm version with or without Voodoo it's 402Mb RAM and battery friendly

wait for XLbm
[Galaxy S I9000 Android Development] Bejda:
Sorry but,flash a recovery fix (a kernel wich is a one PDA file) with pit/repartition?

Sure of this?I don't know for sure cause i'm used to cm7 initial kernel tar when this happen to me but wondering... usualy you'll end with phone >!<computer screen error if you flash single PDA with repartition.
[Galaxy S I9000 Android Development] edy4sure:
'My bad' :o post edited :p
[Galaxy S I9000 Android Development] flex420:
Hi there

i got 2 problems ... it only shows TOP=ON in didle ( ive read the faq and it did not help ), have aokp b32 standard.

second and more important problem is, if display goes standby, wlan sync is lost after some minutes, icon become grey and i did not get messages or anything , e.g whatsapp or push mails...

powersaving is off anywhere and wlan is set to be on all the time :/ any ideas?
[Galaxy S I9000 Android Development] ironvane:
i do this every time i have a problem and never had any error.

edit : extract the .zip first cause it's the .tar into what could be put in the PDA section, sorry for my forget.
[Galaxy S I9000 Android Development] Bejda:
Ok,good to know.I've never got recovery back with fixrecovery.tar (but fine with cm7), maybe it's the way it has to be used. Thanks for info.
[Galaxy S I9000 Android Development] kamalmawa:
Download the terminal emulator from the play store and run these commands. This will disable your Bluetooth so if you wanted to use Bluetooth you gonna have to restart your phone. Also every time you restart your phone you gonna have to run this again to get DIDLE TOP=OFF values.

Type

su

Enter (first time it will ask you to allow super user access).

Then

echo 1 > /sys/devices/platform/bt_rfkill/rfkill/rfkill0/soft

Enter

Credit: stratosk
[Galaxy S I9000 Android Development] willymdv:
Hi !

I get lot more batterie consuption with 0.97 than 0.95 in wifi only.

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Android Development] dark_knight35:
What are you talking about? There's no 0.97 nor 0.95 version of devil.
[Galaxy S I9000 Android Development] setanomada:
thank u! i read there is a framework that disables it permantly. do u know where can i get it?
[Galaxy S I9000 Android Development] purpleraintoxicity:
i guess he talk about other kernel..
[Galaxy S I9000 Android Development] kamalmawa:
I remember slim ICS had that framework in slim ICS thread OP. But that will only work with slim ICS as framework different for each rom. And that framework patch broke Wi-Fi for me and many people.
[Galaxy S I9000 Android Development] lerkin:
You can use that script. It disables bluetooth than screen is off, and enables it than you turn screen on. I took it from somewhere on xda. Further testing is needed, but it works. I have TOP OFF with it.

https://www.dropbox.com/s/p3z8n9df7...tooth_disable_deepidle_top_OFF_ALLICSROMS.zip
[Galaxy S I9000 Android Development] kamalmawa:
Yeah you need to test those because one of those script killed my deep sleep. Don't remember which one though

Edit: I think this is the same one.. make sure you getting deep sleep if you using this script. Didn't test this with Devils kernel but this caused a bootloop on Glitch kernel though. But later glitch integrated his own screen off blutooth kill script to glitch kernel.
[Galaxy S I9000 Android Development] gokussjx:
Well, setting it to rw-r--r-- would not be much of a help... Correct me if I'm wrong, but the scripts won't execute at all if you use that permission.

Execute needs 'x'

AFAIK, Set all your scripts that you want executed at boot, to

rwxr-xr-x

-----OR-----

Just select the Execute init.d directory at boot, from NSTools ;)

All your scripts in /etc/init.d get automatically set to 'rwxr-xr-x'
[Galaxy S I9000 Android Development] doc_2nas:
Works with devil2 since 0.67. I got same problem as kamalmawa's before 0.67
[Galaxy S I9000 Android Development] habylab:
Semaphore I believe.

Sent from my Galaxy S running Slim ICS 3.3 with Devils 2.0.71xl Kernel using the XDA Premium app
[Galaxy S I9000 Android Development] xela92:
Hi DerTeufel,

I'm using your kernel and I'm very satisfied.

But there's one thing I can't do: I'm not able to flash in recovery from command line unsigned packages. I have disabled signature verification and it works from gui, but not from cli. I really need this because I'm doing an autoupdater script, which also automatically installs your beautiful kernel and some other things (like gapps). Please help!
[Galaxy S I9000 Android Development] yahyoh:
so i'm do it wrong idk :rolleyes: btw thanks bro :D

edit: i mean set the scripts permission not init.d permission cuz as u say inti.d need to be rwxr-xr-x or we have to set scripts permission one bu one to rwxr-xr-x idk
[Galaxy S I9000 Android Development] DerTeufel1980:
Is this working with other kernels? I need to compare recovery, to see what is wrong here.

Also, what command are you using, so I can try it myself.
[Galaxy S I9000 Android Development] vitoski:
Can anyone please point how often the light sensor is being checked when auto birghtness is on?
[Galaxy S I9000 Android Development] Kurre:
Sorry, but I must correct a little..I had several bootloops in last few days due corrupted downloads etc (one of them caused phone to only show "Samsung splash screen", not even kernel splash).

And every time I fixed that issue by flashing FixRecovery.tar.md5 by Odin WIHTOUT pit&re-partition (and auto-reboot unticked). Then just removed battery & booted to the recovery by 3-button-combo and flashed a wanted kernel again. And everything was like before the issue.

So no need to for re-partition (Why should you wipe everything from your phone when you have kernel issue?).

Okay this doesn't concern all cases, but still I'd suggest trying to flash without re-partition etc.

But if someone has differing experiences, then I'll stand corrected ;)
[Galaxy S I9000 Android Development] gokussjx:
Yeah, I meant each of the scripts too ^^

The scripts need rwxr-xr-x permission to get executed. :)
[Galaxy S I9000 Android Development] xela92:
The sample commands I use (from recovery):

mount /sdcard

recovery --update_package=/sdcard/update_radio-cm-7-ics-nexuss_captivate-kf1-signed.zip

(I tried using SDCARD:FILE.ZIP but doesn't recognize SDCARD as a partition name)

I'm doing some tests:

-With default CWM-based recovery (5.5.0.4) from CM9 Nightly (latest version) it doesn't work (finding update package... opening update package... verifying update package... E: signature verification failed Installation aborted--> the package should also be already signed!!!!!!)

-With Semaphore recovery (Semaphore kernel v1.0.0; recovery CWM based, same version), same error.

I don't know, are there non-CWM based recovery that I can test? Seems to be a common bug...!
[Galaxy S I9000 Android Development] MetalPainis:
Okay... and where did you get 0.71? Oo
[Galaxy S I9000 Android Development] dark_knight35:
That's a test kernel posted a few pages back.
[Galaxy S I9000 Android Development] scheichuwe:
Just install correct CWM version via ROM Manager (or edit /sdcard/clockwork mod/.settings manually).
[Galaxy S I9000 Android Development] doc_2nas:
Hi DerTeufel, If you don't mind I just want to ask:

For new ondemand, is that behaving like smartassv2 but with two steps to jump (responsiveness_freq and max_freq)? And why no 200MHz freq for responsiveness freq? If there is, will ondemand behave the same as old time ondemand (only one freq jump to max_freq when load is more than up_threshold and step down based on load calculation) ?....

Would you mind clarifying this?

Thank you in advance Sir.
[Galaxy S I9000 Android Development] DerTeufel1980:
sorry, i do not get, what you are asking.

anyway, new version will have the possibility, to disable the new feature, by setting up_threshold_min_freq to 100. in this case it will act like it always did.

i am also going to let the user set the responsiveness freq to a value between min. and max (it was limited for testing only).
[Galaxy S I9000 Android Development] xela92:
my .settings file is

{"developer_mode":false,"is_clockworkmod":false,"readonly_recovery":false,"recovery_timestamp":0,"warning":"ROM Manager and its distribution of ClockworkMod recovery are copyright ClockworkMod, LLC. If you are trying to integrate with ClockworkMod recovery, please build and distribute your own version of ClockworkMod recovery. Unauthorized reverse engineering and usage of ClockworkMod, LLC's ROM Manager and distributed ClockworkMod Recovery are in violation of the DMCA, and will be prosecuted."}

What should I add? Something like

"toggle_signature":false

? I love your touch recovery, so I'm trying to avoid to change it :P
[Galaxy S I9000 Android Development] scheichuwe:
I tried to take a look at my .settings file, but it looks like this (wtf)

Do you have a file /sdcard/clockworkmod/.salted_hash ?

It gets created when flashing a zip via ROM Manager.

Maybe you'll also have a look at this one

http://www.neopeek.com/viewtopic.php?f=24&t=6748
[Galaxy S I9000 Android Development] DerTeufel1980:
just try it. sounds good to me. never have tried it.
[Galaxy S I9000 Android Development] xela92:
It's codified in god knows what. I opened it with kate, try another program!

taking a look to your link ;)

[EDIT] The link tells about the same problem, and arrives to same conclusions: zip file must be signed in order to be flashed by cli. And this thing is not good! But I hope it is workaroundable... [/EDIT]