yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] timpuri_noi:
Becomes wings? Wtf?
[Galaxy S I9000 Android Development] FCB-Fan:
And i become a Galaxy S3 :p

get isn't the same as become :D typical german problem ;)
[Galaxy S I9000 Android Development] jelle2503:
updated json files for Command Center, last time, unless new stuff comes.

Added Set Wifi Mode (pm_max, pm_fast), fsync toggle, and touchwake toggle + set delay.

I hope Teufel can get the instructions he needs from author of Command Center so settings apply at boot, and so we can loose NStools :)

Also anyone got idea why Vibrator intensity in Command Center is only entry reporting back current value of the file?
[Galaxy S I9000 Android Development] DerTeufel1980:
have you changend all pathes from sys/devices/virtual/misc to sys/class/misc, and set to run them as su? for me this did the trick to show the other values, too.

if you are going to fix/change anything, i am already changing things.

for the possibility to make smooth/powersave global values of any governor, there are these two new pathes and 4 commands:

also, smooth_ui is implemented to all governors now, and can be changend by doing this:

and last but not least, lulzactive is going to get a new tunable: dec_cpu_load, with values from 0 to 100, where 0 is: never scale down and 100 disables it.

old smooth_ui is not implemented any more.
[Galaxy S I9000 Android Development] swent:
Just to check:

Since I enabled bus_limit_automatic this is normal?

No deep idle showing in nstools. Do I need to worry?

/EDIT: Images broken.. 1 mom
[Galaxy S I9000 Android Development] DerTeufel1980:
bus limit automatic resets live_oc value to 100 when screen turn off, and back, when screen on. due to this, cpu spy stats are resettet everytime the screen turns on/off. i believe i wrote it somewhere in the changelog, too ;)

have you had deep idle values without devil idle?
[Galaxy S I9000 Android Development] swent:
I sure had, but I'm not sure on what changed. I believe I also had devil_idle turned on and got deep_idle top=on working, with BT killed I even got top=off working.

But since I stuffed all the tweaks (including the conservative governor tweaks that are not saved with nstools), devil_idle (including screen-off arm voltages) and swap activation into my own init.d script (which works) ... it seems to conflict somehow.

I'm gonna remove my script and check again... brb

/EDIT: was hoping that flashing new Infinitum rom (aokp M5) with everything wiped before would give me a clean start and resolve the problem... up to now it doesn't.

/EDIT2: Still no joy, killing anything running in background, then reporting back...

/EDIT3: Stripped running system down to the bones, no deep_idle... wtf is going on?

On a sidenode: I recently played with the init.d scripts that come with aokp, moving them back in place since they get backed up when flashing your kernel. Maybe I should look at that.
[Galaxy S I9000 Android Development] DerTeufel1980:
have you rebooted until unplugged from charger?
[Galaxy S I9000 Android Development] swent:
Rebooted everytime to check if my init.d script is the problem. That makes about 5-6 reboots in the last 10 minutes.
[Galaxy S I9000 Android Development] DerTeufel1980:
here comes the new test kernel 0.81:

changelog:

initramfs:

- removed many of the useless confirms

- removed selective_live_oc menu

- added the possibility to simply create a swap partition on external sd (ATTENTION: this formats your external sd card. backup first)

- trying new ramdisk for system init (hopefully fix some init.d scripts and deleting issue of crack ) )

kernel:

for the possibility to make smooth/powersave global values of any governor, there are these two new pathes and 4 commands:

this is working for lulzactive, smartass, conservative and ondemand

smooth_ui implemented to all governors now, and can be changend by doing this:

(it is activated by default)

lulzactive got a new tunable: dec_cpu_load, with values from 0 to 100. this tunable only affects all freq below the highest to avoid too much high freq.

if the current cpu load is lower than inc_cpu_load, the governor checks, if cpu_load still is higher than dec_cpu_load.

in this case, governor stays at its current freq.

is cpu_load < dec_cpu_load, the governors acts like it normally does

is dec_cpu_load = 0, the governors stays at second highest freq almost all time.

is it set to 100, the governor acts like normally

- removed "special" selective live_oc code (just change target low/high)

- i am sure, i am missing something ....
[Galaxy S I9000 Android Development] purpleraintoxicity:
You just gave me reason to go back to my beloved lulzactive

Btw, where I see the lulzactive new tunable? I'll go to the lulz dir :)
[Galaxy S I9000 Android Development] swent:
SetCPU shows any settings it can find on cpu governors, including new ones. NSTools seems to only show the ones it recognizes.
[Galaxy S I9000 Android Development] dark_knight35:
@DerTeufel Is it possible to make governors with smooth_ui enabled to scale to a set freq if the actual freq is lower and to the highest, if the freq for smooth_ui is already reached? I want to OC, but if CPU always jumps to 1400Mhz my battery would drain too much, so I want it to scale up to 1000Mhz and only higher when needed.
[Galaxy S I9000 Android Development] swent:
Good point, always having your cpu run at 100% (which on OC'ed devices may not be that much of an effizient frequency) seems a bit drastic. Thats what keeps me from enabling this feature, too.

Also a question to the advanced tunables for ondemand/conservative:

Do I need to set responsiveness_freq to the value before (stock) or afte liveoc?

I guess it's before liveoc, but not sure since you didn't write it explicitly.
[Galaxy S I9000 Android Development] DerTeufel1980:
I'll try to change it this way. it is much more complicated, because then i need to verify if there also is any oc value, and if 1000 mhz is within live_oc'ed freq range.

at the moment these freq are fixed, no matter if there is live_oc or not, because they just are a theoretical limit, which switches the threshold. other reasons for not changing them with live_oc are the same as above.
[Galaxy S I9000 Android Development] Abyv:
This Kernel is the best, but cant get meaning of what everyone is writing here. I hope there will be a kernel manager for this one very soon.

Thanks to DerTeufel
[Galaxy S I9000 Android Development] dark_knight35:
Could it be possible that init.d scripts aren't exexuted anymore with latest test kernel? I've created a script for my governor settings and it doesn't work in init.d, but if I run it with script manager, it works. Dunno if it works on 0.79, as I wrote it today :).
[Galaxy S I9000 Android Development] mikiept:
They're working :) I have a couple oh them ;)
[Galaxy S I9000 Android Development] dark_knight35:
Ohk. Now I feel stupid. I've named the script 'SSS...' to make sure that it's the last executed script. And with SM it works. So what's wrong?

@DerTeufel Did you change colors back? They look better today xD.
[Galaxy S I9000 Android Development] DerTeufel1980:
maybe it's a problem with permissions. have tested it myself before uploading (would make the test useless, if init.d would not work *g*).

no, colors are the same.
[Galaxy S I9000 Android Development] mikiept:
Where did you edit your file? try another text editor (line feed compatible) ;)
[Galaxy S I9000 Android Development] abalam:
This kernel is great I use it on my last nightly

Print from my nonstop flashing

machine Samsung GT-I9000
[Galaxy S I9000 Android Development] mikiept:
@DerTeufel1980,

With you latest test kernel (0.81) swap is activated, but used space is always 0. I've tried with different values of swappiness (20,30,60) and its the same. Did you change something within swap support?
[Galaxy S I9000 Android Development] dark_knight35:
But rwx rx rx always worked...

To colors: LOL on one ROM screen looks like a weird sheet of old paper, on other ROM colors are brilliant.
[Galaxy S I9000 Android Development] mikiept:
Did you copy you files to your sdcard in any occasion? the sdcard is in fat32 and that could have changed the files. Create a new file with just this:

#!/system/bin/sh

echo "test init.d execution" > /mnt/sdcard/test_initd

chmod 750

chown root:shell

then verify if you have a file in your sdcard called test_initd
[Galaxy S I9000 Android Development] DerTeufel1980:
no, did not change anything. have you checked, if the values are applied correctly?
[Galaxy S I9000 Android Development] mikiept:
They are not :( weird...

echo 60 > /proc/sys/vm/swappiness at boot is not working

i'll check it out
[Galaxy S I9000 Android Development] dawidk750i:
for me swap working, but when I reboot phone swap don't working ;(
[Galaxy S I9000 Android Development] purpleraintoxicity:
Hey :)

I had i an idea...

Could you (or even me! Hehe) can make the new smmoth and power save modes to work by scene state or so?

E.g. power save at screen of (specially for music and background work like restoring and so)

And smooth when screen off...

Also, when the devil app will rise and conquer all sgs world (yup. I'm in a good mood).... it will be nice if any configuring by time could be good.

I.e. higher sleep mult. At night hours....

Permanent devil idle by night and so on...

Well my imagination went wild enough for today
[Galaxy S I9000 Android Development] mikiept:
@Derteufel1980,

I have a file named 05userinit in my init.d dir with these contents:

swapon -a

echo 60 > /proc/sys/vm/swappiness

in 0.79 kernel my swap was enabled and the swappiness value was changed to 60.

in 0.81 swap is enabled but swappiness stays at 0.

if I run the script throw script manager it works.

I think it has to do with your later changes in initramfs ??
[Galaxy S I9000 Android Development] DerTeufel1980:
maybe you have to place this before the echo of swapiness:

setprop persist.tweak.vm.swappiness disabled
[Galaxy S I9000 Android Development] dawidk750i:
Could somebody draw from /system/etc/init.d file "S05userinit" and "fstab" from /system/etc and other files needed to working swap after reboot phone?
[Galaxy S I9000 Android Development] mikiept:
for /system/etc/fstab:

/dev/block/mmcblk1pX swap swap (change the X with you swap partition number (run mount command to see it))

for 05userinit:

swapon -a

echo 60 > /proc/sys/vm/swappiness
[Galaxy S I9000 Android Development] fishears:
.81 is working very well. 13hrs light use & I have 90% battery. Unbelievable!
[Galaxy S I9000 Android Development] mikiept:
Didn't work. I will investigate this. Maybe is due to some changes I've made to build.prop file :\
[Galaxy S I9000 Android Development] fishears:
Sorry I fooked my post...
[Galaxy S I9000 Android Development] MetalPainis:
I believe that I really need to move away from cm9 nightlys^^ I hardly make it through a day (and by day I mean the time that I am awake). And that is with stock kernel, using devil feels like the battery is dropping even faster. But I just don't want to move :/
[Galaxy S I9000 Android Development] fishears:
I can't comment on your choice of rom but the new Devils with Devil Idle on automatic have revolutionized my battery life :D
[Galaxy S I9000 Android Development] mikiept:
@DerTeufel1980,

I've tried every possible way and echoing:

echo 60 > /proc/sys/vm/swappiness throw init.d in this new test version seems to be impossible

tried renaiming 05userinit to 80userinit

tried your setprop suggestion

tried with a clean build.prop file

what more can i do?
[Galaxy S I9000 Android Development] swent:
Devil can be amazing in terms of battery life, still it mostly depends on your personal usage style. I may very well be able to tweak the **** out of my phone to get nearly 3 days on a single battery charge, but these would be settings that don't fit my usage pattern and some of the sacrifices made on that road wouldn't be acceptable to me. Everyone is different.

Don't be jealous at these high, shiny numbers.

Really no offence to anyone maxing out battery life! I see the benefit and its kinda good to see whats possible.

/EDIT: @mikiept Did you try to flash back to .79 and see if the problem presists? If I'm correct you just came from that version, still that could bring some clarification. Just if u don't mind it... :x
[Galaxy S I9000 Android Development] mikiept:
@DerTeufel1980,

After some tests I can conclude that the new initramfs is not running the scripts in init.d as well as the old one.

I've tested both 0.79 and 0.81 kernel and there are some commands that can't be run in the new one through init.d, like:

echo 60 > /proc/sys/vm/swappiness

Can you please revert to the old initramfs? Its seems better than this new one.

edit: I hate having to run things through scriptmanager ;)
[Galaxy S I9000 Android Development] fishears:
I'm getting awesome results on battery life with standard Smartassv2, sio, devil idle, 1000mhz max , 100mhz min. No fancy tweaks and that is why I love this kernel. When the screen is off its like my phone is switched off and when the screen is on I get great performance.
[Galaxy S I9000 Android Development] DerTeufel1980:
the init.d is now executed earlier than with my older kernels. this causes the setting to get overwritten. just checked this, by putting this file to init.d:

the log shows swappines of 60 right after it gets applied. at the end of the boot process, swapiness is 0.

i think, this is caused by the "older" initramfs, which still is present in parts. it contains code to set swapiness to 0. i suppose, the older initramfs code is executed after init.d ....

I'll try to upload a new version later
[Galaxy S I9000 Android Development] swent:
@fishears: Never statet anything else.

Don't get me wrong, I love Devil kernel :p
[Galaxy S I9000 Android Development] DerTeufel1980:
alright, i was right with my idea about the swappiness problem. have changed it, and now it is working.
[Galaxy S I9000 Android Development] kashortiexda:
DerTeufel1980

If I issue the command MOUNT in terminal, I can't find mmcblk1pX

I get /dev/block/vold/179:9 /mnt/emmc.... This is on AOKP Rom.

What should I put in fstab file.

My Linux swap partition is second after VFAT so I assume mmcblk1p2, ??

I get swap 0 when I issue FREE command line in terminal.

Or is this all related to your post above?? ^^^
[Galaxy S I9000 Android Development] mikiept:
Thank you very much! You're truly a machine! ;)

---------- Post added at 09:28 PM ---------- Previous post was at 09:06 PM ----------

Waiting eagerly for it :D

---------- Post added at 09:31 PM ---------- Previous post was at 09:28 PM ----------

Follow these steps: http://xdaforums.com/showthread.php?t=1610835
[Galaxy S I9000 Android Development] DerTeufel1980:
if you find some time, it would be nice if you could change the command center scripts, to look like this:

this way settings will stick at boot with my upcoming test kernel :)

edit:

the other pathes are these:

/data/local/devil/fsync

/data/local/devil/profile

/data/local/devil/wifi
[Galaxy S I9000 Android Development] mikiept:
OK. I just finished indenting the file, I will update it .
[Galaxy S I9000 Android Development] MetalPainis:
I am not jealous, more like curious. I did not change the way I use my phone since I switched from DarkyRom (GB) to ICS. On GB I was able to last 36-60h without any Problem. That changed. Let me ask you, if you use your phone to listen to music, let say 2 hours, how much does your battery drop if you keep the phone in your pocket all the time.
[Galaxy S I9000 Android Development] DerTeufel1980:
f***

i hope you have seen my typo. it has to be:

/data/local/devil/vibrator

what i posted was an older test
[Galaxy S I9000 Android Development] swent:
Thats a hard one... I guess about 15% with DIdle top=on. Maybe less since I usually go jogging when listening to music, so other stuff is running in background as well.

/EDIT: gotta be less than that
[Galaxy S I9000 Android Development] mikiept:
Here it goes: Updated JSON for Command Center

Now its indented, you can read it much more easily ;)
[Galaxy S I9000 Android Development] DerTeufel1980:
and here is the new test kernel :)

-fixed swapiness bug of new initramfs

- changed some settings regarding to smooth_ui and overclocking, to make the freq jump to 1000 mhz instead of max freq (hopefully max freq only is used if needed (further testing needed))

there seems to be a bug with luzlactive now, after switching to lulzactive, then to another governor and back to lulzactive, it does not change the freq anymore...but i am too tired now, to take alook at it
[Galaxy S I9000 Android Development] purpleraintoxicity:
Seems that putting a script to run the setting at boot is easier for me...

Thank you anyway!
[Galaxy S I9000 Android Development] Abyv:
Probably u should start a new thread on how to do this. :)
[Galaxy S I9000 Android Development] Abyv:
So just place the file in command centre and should i be doin a reboot? Thanks for your help..mate
[Galaxy S I9000 Android Development] mikiept:
Install the app

Start the app for the first time

close the app

extract zip into sdcard/Android/data/com.asksven.commandcenter/files

Clear app's cache

restart the app

done!
[Galaxy S I9000 Android Development] mikiept:
Fixed a typo in the Command Center JSON (reuploaded)
[Galaxy S I9000 Android Development] Abyv:
Thank you so much..will thiz.. help me tweak this beastly kernel?
[Galaxy S I9000 Android Development] dawidk750i:
New test version 0.82 works great! Now swap working ok, but I have problem with working it after reboot
[Galaxy S I9000 Android Development] kashortiexda:
Devil 2.0.8.2 still doesn't activate swapon for me at boot.

I can activate swapon via terminal doing swapon /dev/block/mmcblk1p2 and it shows swap size when I type FREE command.

I have S05userinit in /system/etc/init.d with swapon -a
[Galaxy S I9000 Android Development] Tarun.bhandari:
Hi

Just a few noob queries :

1. What is the difference between Devil idle automatic and Permanent ?

2. The Screen off min Freq : is it dependent on the governor & scheduler that one uses ? As when I use noop with smartassv2 it is not enabled

3. What is fsync control ?

4. Is it possible to add the other governors & schedulers in this so that one is no longer dependent on NStools?

Thanks for your help
[Galaxy S I9000 Android Development] timpuri_noi:
You could just read the op instead.
[Galaxy S I9000 Android Development] Virnik0:
Is there anybody else, who does get bad colors with CM9 based kernels? I'm asking, because I'm trying to fix it with pawitp, so another hands for testing will be worth it.
[Galaxy S I9000 Android Development] DerTeufel1980:
i suppose pawitp's testing is because of the framebuffer story, am i right?
[Galaxy S I9000 Android Development] habylab:
How can you tell if devil idle is on? I've just switched to the kernel, latest test version, and some errors coming up about folder already exists and command not found when I try to activate automatic.

Sent from my Galaxy S running Slim ICS 3.5 and Midnight kernel from my XDA Premium app.
[Galaxy S I9000 Android Development] jelle2503:
I am dissappoint. He ask you and give simple instructions how to set json file so settings stick at boot yet you didnt. :(

Dont worry devil i got this. Will upload file per your instructions.

:thumbup:
[Galaxy S I9000 Android Development] Tarun.bhandari:
I did read the OP but still could not understand the following . Maybe if you know you could explain these ?:

2. The Screen off min Freq : is it dependent on the governor & scheduler that one uses ? As when I use noop with smartassv2 it is not enabled

3. What is fsync control ?

And the query below is a new request for a change in tool

4. Is it possible to add the other governors & schedulers in this so that one is no longer dependent on NStools?
[Galaxy S I9000 Android Development] DerTeufel1980:
it's not such easy...in some cases i still have to change the behaviour of initramfs, to make it work (e.g. for the sooth/powersave governors profiles)
[Galaxy S I9000 Android Development] Virnik0:
Exactly. I do have testing kernel now, but I will have to wait till my wife's back from work to test it. It seems that my wife's phone has different base color calibration, don't know why. Both mine and her system logs confirms that...
[Galaxy S I9000 Android Development] DerTeufel1980:
Could someone please do a test for me, I am not at home.

Install a kernel older than 0.79. Boot up, and select 1200mhz max freq with voltage control. Then switch to Lulzactive governor, than to lagfree and than back to Lulzactive.

This always leads to Lulzactive not changing the freq any more.

I need to know, if smooth_ui is causing this. This is why kernel has to be older than 0.79

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] DerTeufel1980:
2. Of course it is independent from governor. That's the sense of it :)

3. It enables or disables fsync. Default fsync is enabled to prevent data loss.

4. Is you can add as many options as you want.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] swent:
Still need that? If so I shall report back in a few minutes...

/EDIT: Indeed, Lulzactive is stuck at 400 MHz, not changing anymore. Tested with 0.72 (VC bm)
[Galaxy S I9000 Android Development] mikiept:
Take it easy please! I did not change the file to get the settings stick at boot because there are somethings that still need to be resolved before it would be 100% functional.

I would not change only a small part of the options to avoid questions like: "Why some options stick on boot while others don't?"

Let's wait for DerTeufel1980 to change what needs to be changed and then I'll upload a fully functional JSON ok?

---------- Post added at 01:03 PM ---------- Previous post was at 01:00 PM ----------

Follow this link instructions please:

http://xdaforums.com/showthread.php?t=1610835
[Galaxy S I9000 Android Development] Abyv:
I'm on snapshot..with the test version...82 things look alrite for me
[Galaxy S I9000 Android Development] redstripes89:
Don't know if it's related to rom or kernel, but while display is off, my music is interrupted all the time.

I'm using devils 0.79 kernel and andys miui v4 rom.

Maybe it's also related to choosen scheduler and deep/devil idle.
[Galaxy S I9000 Android Development] dark_knight35:
Neither to scheduler nor to kernel.
[Galaxy S I9000 Android Development] DerTeufel1980:
thanks. now i know, that i did not break it....will take a look at tegrak's github, if he has fixed this already.
[Galaxy S I9000 Android Development] redstripes89:
And how about the idle settings? Seems like the phone is overentended with playing music like a pc with low speed.

Sorry,I'm not very familiar with this...
[Galaxy S I9000 Android Development] mikiept:
I think that problem is ROM related. I've used almost every version of this kernel with different ROMs (Slim, CM9, AOKP), and the problem you are reporting never happened to me since DerTeufel1980 fixed a bug in Didle implementation which was powering down external sd on active didle.

Try another ROM ;)
[Galaxy S I9000 Android Development] kashortiexda:
I did, and to the letter. Confirm you have swap working from boot?

If so please post your own init.d file as well as your fstab and

.conf file for reference.
[Galaxy S I9000 Android Development] eclipse6220:
The kernel is working like a charm.

The only problem is:

- Autobrightness

Thanks
[Galaxy S I9000 Android Development] dark_knight35:
Which kernel are you talking about(you say other kernel devil)? I also have class 6 and get 7Mb/s, on other kernels I don't even get 5Mb/s.

Btw what's your reading speed?
[Galaxy S I9000 Android Development] yaatzek:
It is not kernel related. This is ics "feature" how ab works (read midnight kernel thread's last few pages.
[Galaxy S I9000 Android Development] saszseb:
AB works fine here.

Sent from IMM76I.
[Galaxy S I9000 Android Development] fishears:
The only ab issue I have is that my screen goes brighter just before it goes to sleep.
[Galaxy S I9000 Android Development] purpleraintoxicity:
For me its the opposite, its super dim when unlocking the screen