yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] mnazim:
@mialwe - CPUSpy says state files not present...:confused:
[Galaxy S I9000 Android Development] mialwe:
Please send/post the /data/user.log, to get CPUSpy stats the cpufreq_stats module has to be loaded, maybe this does not work with your installation (e.g. busybox issue), I'll try to debug and fix this as soon as possible. No issues with Slim-ICS and another ROM I tested.
[Galaxy S I9000 Android Development] MagicOnline:
mialwe did see my other Q in post about auto brightness--> http://xdaforums.com/showpost.php?p=24584391&postcount=530
[Galaxy S I9000 Android Development] mialwe:
No, you edited it after I answered :)

Hm, I have autorbightness issues with various ROMs and various kernels (flashed to test this), never worked right for me which seems to be an issue on a lot of 4.0.4 ROMs. There are lots of posts discussing this a few pages back here.

As it sounds as it has worked for you:

- with Midnight?

- which ROM?

- brightness raised, but did it lower again (never does for me)?
[Galaxy S I9000 Android Development] strickyy:
How to get rid of the green when turning the screen on with a low gamma?
[Galaxy S I9000 Android Development] mialwe:
You can't. That's an issue with the drivers gamma table and you can see it in various places, keywords voodoo color, gamma, green (VC uses Nexus driver as code base for Gingerbread, ICS driver = same code base + color modification based on Supercurios work), discussed for months all over XDA.

Just test how low your gamma can be set without the green flash appearing. It's -15 (MidnightControl value) for me but I'm using -5.
[Galaxy S I9000 Android Development] gaurav2009:
same here.....when reboot brightness goes to min and nothing happens if i increase or decrease brightness from settings>display....i have to toggle dark mode on and off in midnight app then everything becomes normal..but smoothness is great with this update...great kernel thanks..
[Galaxy S I9000 Android Development] exjc1986:
Tried all the options, here are the outcomes:

1. Reset to default - Green Issue persists with Gamma value 0

2. Reboot - Issue did not come, but, the brightness toggle did not work, had to enter midnight control and toggle night mode to get it working, once this was done, green issue re-appeared

3. Clear Data and Reboot - outcome same as step 2.

4. Will generate the logcat and PM u the same.

Also, trying out the new kernel u sent. :)
[Galaxy S I9000 Android Development] MagicOnline:
before flashing 141LR i was (and still i am) on Slim ROM 3.2 with your Kernel 0.9.0-2 and everything was fine.

after flashing your latest 141 auto brightness switch and the manual brightness switch didnt work until i toggle in your app the night mode on and off again, then auto brightness works again.

hope this helps. :)
[Galaxy S I9000 Android Development] mialwe:
Thanks, that helps.

For anyone interested in this, this is what the nightmode toggle does:

if (key.equals("c_toggle_nightcolors")) {
if(sharedPrefs.getBoolean("c_toggle_nightcolors", false) == true){
Helper.echo_to_sysfile("1","/sys/devices/virtual/misc/color_tuning/min_brightness");
Helper.echo_to_sysfile("1","/sys/devices/virtual/misc/color_tuning/brightness_multiplier");
}else{
Helper.echo_to_sysfile(Integer.toString(
sharedPrefs.getInt("min_brightness", default_min_brightness)),
"/sys/devices/virtual/misc/color_tuning/min_brightness");
Helper.echo_to_sysfile("0","/sys/devices/virtual/misc/color_tuning/brightness_multiplier");
}
}

What is your min_brightness set to (maybe it's too low)? Are you running on min. brightness right now?
[Galaxy S I9000 Android Development] mialwe:
Ok, thanks. Seems I have to take a look at the switch again (but it's unchanged from 0.9.0+), maybe I'm missing something here. As I said, AB never worked right for me so this is difficult to debug. Do you use other brightness customization options (any in ASS menu)? According to some users this helps to get AB working, just ticking one custom option there, don't know if it really works.
[Galaxy S I9000 Android Development] MagicOnline:
in ASS menu nothing there about brightness. no other brightness tools are active. just the stock one.

simply after the reboot the screen brightness is darker then it should and was before the reboot. not a big deal to toggle night mode. after toggle all is ok.
[Galaxy S I9000 Android Development] 2k4ever:
once again thanks for your great work and to be so responsible to user suggetstions!

I'm also experiencing the problem with the display brightness: I have to toggle night mode after every reboot in order to get the light sensor as well as manual brightness settings working

i am still on MNICS-139LR, flashing the new one next, but the problem seems to be the same
[Galaxy S I9000 Android Development] exjc1986:
Min Brightness is set to 18, also, i'm not using min brightness right now.

Also, Logcat for 142LR if required.

V/MIDNIGHT( 1484): onCreate
V/MIDNIGHT( 1484): Linux version 3.0.8-MNICS-142LR (mialwe@HAL) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #67 PREEMPT Sun Apr 8 08:43:14 CEST 2012ï¿½
V/MIDNIGHT( 1484): Midnight kernel detected
V/MIDNIGHT( 1484): Def min brightness: 25
V/MIDNIGHT( 1484): Def gamma: 0
V/MIDNIGHT( 1484): Def r: 4294967294
V/MIDNIGHT( 1484): Def g: 4294967294
V/MIDNIGHT( 1484): Def b: 4294967294
V/MIDNIGHT( 1484): Def uv: UV_1
V/MIDNIGHT( 1484): Def lmk: MIDNIGHT
V/MIDNIGHT( 1484): Def gov: conservative
V/MIDNIGHT( 1484): Def io: sio
V/MIDNIGHT( 1484): Def rh: 512
V/MIDNIGHT( 1484): has_pulse: true
V/MIDNIGHT( 1484): onResume
V/MIDNIGHT( 1484): updating summaries_misc
V/MIDNIGHTC( 1484): original result (no string parsing): 0
V/MIDNIGHTC( 1484): getCmdGrep: found logger
V/MIDNIGHTC( 1484): original result (no string parsing): 1
V/MIDNIGHTC( 1484): original result (no string parsing): noop deadline [sio]
V/MIDNIGHTC( 1484): original result (no string parsing): 512
V/MIDNIGHT( 1484): updating cpu summaries
V/MIDNIGHTC( 1484): original result (no string parsing): conservative
V/MIDNIGHTC( 1484): original result (no string parsing): conservative
V/MIDNIGHT( 1484): updating uv summaries
V/MIDNIGHTC( 1484): original result (no string parsing): 0 0 0 0 0
V/MIDNIGHT( 1484): onSharedPreferencesChanged <c_toggle_nightcolors>
I/MIDNIGHTC( 1484): Sysfile: 1 -> /sys/devices/virtual/misc/color_tuning/min_brightness
I/MIDNIGHTC( 1484): Sysfile: 1 -> /sys/devices/virtual/misc/color_tuning/brightness_multiplier
V/MIDNIGHT( 1484): onSharedPreferencesChanged <c_toggle_nightcolors>
I/MIDNIGHTC( 1484): Sysfile: 18 -> /sys/devices/virtual/misc/color_tuning/min_brightness
I/MIDNIGHTC( 1484): Sysfile: 0 -> /sys/devices/virtual/misc/color_tuning/brightness_multiplier
V/MIDNIGHT( 1484): onSharedPreferencesChanged <c_toggle_nightcolors>
I/MIDNIGHTC( 1484): Sysfile: 1 -> /sys/devices/virtual/misc/color_tuning/min_brightness
I/MIDNIGHTC( 1484): Sysfile: 1 -> /sys/devices/virtual/misc/color_tuning/brightness_multiplier
V/MIDNIGHT( 1484): onSharedPreferencesChanged <c_toggle_nightcolors>
I/MIDNIGHTC( 1484): Sysfile: 18 -> /sys/devices/virtual/misc/color_tuning/min_brightness
I/MIDNIGHTC( 1484): Sysfile: 0 -> /sys/devices/virtual/misc/color_tuning/brightness_multiplier
[Galaxy S I9000 Android Development] mialwe:
And after toggling nightmode on/off brightness goes up and down as it should?? Wow. I'm back on Slim3.2 for a few hours now, have to test this.

Btw: 142LR is uploaded to first post, fixes greenScreen issue on some occasions. I just put back in the min_brightness/orig_brightness filtering mentioned earlier. Thanks exjc1986 for testing and reporting.

Edit: Logcat seems fine, too.... whats with that %§"$ nightmode toggle... :)
[Galaxy S I9000 Android Development] exjc1986:
Thank you for a speedy response... :)

Well my phone is so responsive now that sometimes things happen too quickly, thats what happened with the nightmode toggle!!! ;)
[Galaxy S I9000 Android Development] test123456789012:
Exactly the same here on 141LR. But again, not a big issue.
[Galaxy S I9000 Android Development] fahad123:
Battery life is now awesome!! Thanks for the wonderful update :)
[Galaxy S I9000 Android Development] giokspy:
Brightness settings no working with 139,141,142 kernels.
[Galaxy S I9000 Android Development] MagicOnline:
known issue ... check some posts back.

work-around: go to midnight app and toggle night mode on and off again.
[Galaxy S I9000 Android Development] mialwe:
Maybe I found the bug - thanks to some sun and fresh air with my kids - quickly building and uploading now...
[Galaxy S I9000 Android Development] giokspy:
Ok now. What's is the best min brightness in midnight control? For me 14 looks fine
[Galaxy S I9000 Android Development] mialwe:
If 14 looks fine than it's the best value for you, there is no best value for everybody.

Update:

143LR - 2012/04/08

- app: updated to version 1.4

- adjusted default min_brightness from 25 to 20 (stock?)

- app: fixed bug with old nightmode sysfs setting at startup

Tested twice, reboot -> settings -> display -> brightness: auto and manual settings worked. Hope it does for you, too :)
[Galaxy S I9000 Android Development] Bonvaz:
You are great;)..enjoy your sunday,and thanks!
[Galaxy S I9000 Android Development] s1m4an:
The midnight control app keeps crashing, worked fine before the latest updates (before the name change). Tried wiping its settings and I don't understand the logs...

http://pastebin.com/GrK9bHx1

Wonderful kernel, keep up the great work you are doing developing it, and most of all, enjoy your Sunday!
[Galaxy S I9000 Android Development] -Loom-:
@Mialwe:

Do you have any idea why USB transfer in CWM is so slow?

It's about 1,3 MB/s, and from what I've heard it's basically the same with all kernels.
[Galaxy S I9000 Android Development] mialwe:
Strange, first app FC for MidnightControl, something's wrong. According to the logs you are using the latest version (can you check in settings->apps, please?) because default_min_brightness=20 (changed in last update). The app runs into an exception in line 479, main app file -> this line is empty. Nothing that could cause an exception.

If you would use an old version of MidnightControl the name change would be a reason for FC but this has been fixed a few days ago and works fine (just tested again, no FC, users toggling nightmode all the time in the last few pages do not seem to get FCs, too).

As you already tried wiping the app data I'd suggest you completely delete /system/app/MidnightControl after wiping the app data, reboot, flash Midnight latest version again (maybe redownload package).

As it seems to work for all other users there must be another reason for this.

@Loom: No, no time to check this now, maybe in a few days. But I never noticed it - transfering kernels and ROM packages only, max. 140Mb - no need for high transfer speeds :)

Anyone else having MidnightControl FC with 143LR?
[Galaxy S I9000 Android Development] abalam:
No problemo on my phone, verry good stabile kernel and verry fast tnx man!!!!

Sent from my GT-I9250 using

CyanogenMod9.0.0-RC0
[Galaxy S I9000 Android Development] Bonvaz:
No problem for me with midnight control;)
[Galaxy S I9000 Android Development] Fenvarien:
No problem here. Thanks for the great update(s) and your support!

... using tapatalk
[Galaxy S I9000 Android Development] s1m4an:
It was my fault, forgot that the app goes in system, had previously moved the dalvik cache there and after flashing a newer kernel, the cache remained the same.

Deleted the .odex, rebooted, and everything is fine now.

btw, is there any way to set how long the touchwake delay is? afaik it's supposed to work by touching the screen after the screen time-outs by itself, correct me if I'm wrong.
[Galaxy S I9000 Android Development] MagicOnline:
great work on MNICS_143. brightness bug is gone for me.

everything else is doing great.

many thanks ... i love your kernel with slim rom ;)

OT: btw, where are you from?
[Galaxy S I9000 Android Development] mialwe:
@s1m4an: Touchwake works after first manual screen off (via button) and on again. Delay is not implemented yet, sorry.

@MagicOnline: DE, why?
[Galaxy S I9000 Android Development] Trak-X:
Mialwe, i was able to set delay with NSTools. S1m4an .. you can try installing NSTools and set the delay manually to 0. Then your touchwake will work. I have the same exact issue with Midnight and Devil.
[Galaxy S I9000 Android Development] mialwe:
Have you tried this:

- reboot

- wait until device settled down

- switch screen off (button)

- switch screen on (button)

=> now wait until screen switches off by itself, then touch screen -> screen switches on again.

Works every time for me (for default delay time, I think it's 45sec, not sure here, have to take a look into the sources).

Only first screen-off/on has to be initiated via button, from then touchwake works fine if screen switched off by itself (not via button)(tested \w various 4.0.4 ROMs).
[Galaxy S I9000 Android Development] martynas900:
My phone become very hot browsing internet, it is rom or kernel related?
[Galaxy S I9000 Android Development] mialwe:
Never experienced this so I don't know. Which browser? Which ROM? Wich maxfreq, governor? Modem?
[Galaxy S I9000 Android Development] 2k4ever:
brightness works fine again, thanks mialwe

und frohe ostern :)
[Galaxy S I9000 Android Development] malcho:
mialwe,

You should call your kernel Allnight becouse you work so hard:)

Thanks again
[Galaxy S I9000 Android Development] BlueFlame4:
mialwe, awesome work so far!

Just one question: Is there a non-LR version of the latest kernel with all the new tweaks?

Cheers! :)
[Galaxy S I9000 Android Development] mialwe:
Not yet but I can build one tonight (afk for some hours now, sorry).
[Galaxy S I9000 Android Development] s1m4an:
Touchwake works, was only wondering about the delay.
[Galaxy S I9000 Android Development] martynas900:
Slim ics 3.1, all default, maxfreq 1000, governor conservative, jvt modem. Does someone know normal cpu temp??

Very good work, fast and stable, love vibration sensitive option.
[Galaxy S I9000 Android Development] jiujitiancai:
bigmem kernel bug

I find the disadvantage of bigmen kernel.

the movie studio dont work(cant play 2nd video, cant export video):(
[Galaxy S I9000 Android Development] ccl1996312:
Hi l am using this kernel with Elite v9.1 beta and it runs fine. l have got a problem that is related to the lowest CPU frequency. After flashing this kernel, l can't set my lowest frequency to 100 Mhz. Can someone tell me is it a bug or whatever something else?
[Galaxy S I9000 Android Development] boarder.2k9:
apparently when the GPU is running (when the screen is on) the CPU runs at 200Mhz lowest, certain apps read 200Mhz therefore as the lowest frequency. However, it is nothing to worry about. It only runs very slightly more in mA so it will wont use any more noticable battery.
[Galaxy S I9000 Android Development] dark_knight35:
@mialwe Changing the kernel version name was a good idea, seems that updates are up earlier now :D. Btw, new kernel is very speedy, thanks for that. And function to change vibration sensitivity is also very cool :cool:.
[Galaxy S I9000 Android Development] mialwe:
Do you use a RAM patched ROM? This is neccessary for the LR kernel version, otherwise 720p recording and hardware acceleration breaks.

Yes, some apps show 200Mhz fixed minfreq. This is explained in various posts here and in the app help file (menu button -> help), too.

This is *not* true. The kernel changes minfreq to 200Mhz if GPU is active. As soon as GPU is not active minfreq is set to 100Mhz again. Most apps do not refresh their display and continue showing 200Mhz. Use CPUSpy to see a completely normal freq. scaling from 100Mhz to maxfreq.
[Galaxy S I9000 Android Development] ccl1996312:
Thx for your reply :)
[Galaxy S I9000 Android Development] scheichuwe:
This thread is about midnight ics, isn't it?
[Galaxy S I9000 Android Development] burakgon:
Going to test it!
[Galaxy S I9000 Android Development] m4ssnet:
I really like this kernel, using in milestone 4 AOKP with black infinitum theme, set @1.2ghz, smartass governor :-)

My phone it's really smooth, I don't want buy a new one for this time :p

BLN also working fine.

really thank you, the others kernel have too much stuff inside and they random reset, this it's 2 days onboard and all working fine ! thank you :D
[Galaxy S I9000 Android Development] legola:
Hi mialwe,

Im currently on Dark Knight 3 with devil kernel. Can I flash your kernel over it or have to do something else before flashing your kernel. Not much setting scheduler is fiops and cpu is smartassv2 using NSTools. NO OC UV only stock setting.
[Galaxy S I9000 Android Development] dark_knight35:
Just flash. If you want to do a very clean installation, try lippol's kernel cleaning script.
[Galaxy S I9000 Android Development] ryandabao:
Really smooth...no "glitches" :rolleyes: yet...
[Galaxy S I9000 Android Development] Trak-X:
Congrats. I've tested almost all kernels for ICS besides Icy Glitch.

I can say that yours is now number 1. Phone is smooth, gps is working, battery life went from 1 to 2 days.

Keep up the good work.
[Galaxy S I9000 Android Development] bhu1:
@mialwe, can u add lulzactive governer?? Its great .
[Galaxy S I9000 Android Development] Pipperox:
WOAH this kernel is FAST!!

And I tested it with its default special Conservative governor...

I don't think it makes any sense to try any other governor, the phone is super smooth and the benchmarks show that the performance is top notch!

Kudos
[Galaxy S I9000 Android Development] rotemkk:
works great with aokp m4 ! smartassv2 sio 1.2 oc = great performence and stabilty. still testing the battery. great work! thx alot!
[Galaxy S I9000 Android Development] mialwe:
Thank you for benchmarking Midnight. I'll look into the results as soon as possible, I assume IO is lower in benchmarks as I set default sdcard readahead to 512Kb instead of higher values.

About the governors: Maybe Ondemand or SmartAssV2 would give slightly higher benchmark scores but the main work went into Midnight Conservative for the last months. Midnight was never optimized for high benchmark scores but for average daily use, usage of all frequencies as needed and hopefully smooth UI. Maybe it works somehow.
[Galaxy S I9000 Android Development] saszseb:
@mialwe,

Could you check GPS?

Using your kernel, my phone can see 6-7 Satellite. With Semaphore: 8-10. I used "GPS Test".apk.

Thanks.

Sent from Slim_ICS_2.8
[Galaxy S I9000 Android Development] mialwe:
Never changed anything regarding GPS, not for GB and not for ICS. But I'l ltake a look, maybe Stratosk made some improvement with GPS? Honestly, I don't know.
[Galaxy S I9000 Android Development] tigerkaiwoods:
:D Thank you

Now i can change my Signature in the "other" Forum

Well down,great job again :D

Tiger
[Galaxy S I9000 Android Development] nmcc89:
working well here on ics-sgs rc4.2. very snappy! keep up the good work :)
[Galaxy S I9000 Android Development] ryandabao:
Simply wow! My phone feels slick and is very responsive. No problems with fc's either.
[Galaxy S I9000 Android Development] WilliamHicks:
Thank you for the awesome Kernel. Best I have used.
[Galaxy S I9000 Android Development] stratosk:
No, I also didn't change anything. I think the number of satellites depends on position, weather conditions etc

BTW, congratulations for your new project!
[Galaxy S I9000 Android Development] saszseb:
I did the test at the same place and time.
[Galaxy S I9000 Android Development] stratosk:
I don't know, but sometimes happens the same to me (with the same kernel). I move the phone few centimeters and I get 1-2 satellites more or less.
[Galaxy S I9000 Android Development] martynas900:
Read op, this kernel has deep idle implemented? :))
[Galaxy S I9000 Android Development] 2k4ever:
no, you didn't

otherwise you would have noticed that deep idle is not mentioned in the features list
[Galaxy S I9000 Android Development] mialwe:
Just in case OP *is* read sometimes - it has been updated with some faq/already-answered links to posts and further explanations in this thread or XDA, maybe it's useful for somebody. For me it is :)

Edit: OP cleaned and structured, more faq links added.
[Galaxy S I9000 Android Development] jiujitiancai:
Yes I use f4k's patch and mnics 143lr on cm nightly 0408

720p work ,video play work

but movie studio don't work. pawitp kernel which has 340mb ram work fine.
[Galaxy S I9000 Android Development] mialwe:
I was not able to follow the 380Mb RAM+ discussion lately, is this a known restriction for large-RAM?

"Does not work" - what are the symptoms? FC?

Anyway - If LR is the cause feel free to download the stock-RAM version (340Mb) from OP, just uploaded.

It's untested by me (only RAM config change, built yesterday, uploaded now) so please take a look at MidnightControl title bar to check free RAM. I hope this works for you.
[Galaxy S I9000 Android Development] jiujitiancai:
Thanks mialwe,

the symptoms is

1 open movie studio(ok)

2 add a video(ok)

3 add another video(ok but cant play)

4 export them(cant expor,force back to movie studio main screen,)

ps stock 340mb kernel just work.
[Galaxy S I9000 Android Development] mialwe:
Thanks. Did the MNICS-340Mb version work for you/movie studio? Or do you still have this issue?
[Galaxy S I9000 Android Development] jiujitiancai:
MNICS-340Mb work for me/movie studio,:)

I think movie studio need more ram than 720p rec,so it dont work on bigmem kernel

I also test devil bigmem kernel, dont work too.
[Galaxy S I9000 Android Development] TerraBuzz:
I'm on MyICS and MNICS-143, the Midnight Control can not be uninstalled though the kernel has changed...

I can uninstall it via TB of course...
[Galaxy S I9000 Android Development] malcho:
Fantastic work on kernel and thread.

Specialy like help file on midnight control app.Very usefull info.

Keep up the good work.
[Galaxy S I9000 Android Development] mialwe:
That's because its installed in /system/app which is write protected on every ROM. Just

- use a root file manager, remount /system rw, delete

- use adb ("adb shell remount"), delete
[Galaxy S I9000 Android Development] legola:
Or use root uninstaller pro.
[Galaxy S I9000 Android Development] mialwe:
There's no need to use a paid app for a simple task like this (in case it isn't bought already :) ). All your app (or ADB) has to do is 1) remount /system rw and 2) delete a single file.
[Galaxy S I9000 Android Development] legola:
Yes you're right the post is for those who can shell some cents and do not want to use adb. Peace
[Galaxy S I9000 Android Development] csapdani:
great kernel, works like a charm. thank you for your work!
[Galaxy S I9000 Android Development] craigb244:
Hi.

is forced AC charging ever likely to be added?

xdaforums.com/showthread.php?t=1586844

Thanks

Craig
[Galaxy S I9000 Android Development] jocke_lulle:
+1

Thank you very much!
[Galaxy S I9000 Android Development] boarder.2k9:
Can others on 143LR check to see if their deep sleep is working?

Mine is locked at 100Mhz even after reboots and making sure no rogue apps are running. Not sure whether it is the kernel (142LR did not do it) or something on my end.

Cheers
[Galaxy S I9000 Android Development] ghul21:
If you are using cpuspy try to reset the statistics and lock the phone. After few minutes, check again ;)
[Galaxy S I9000 Android Development] boarder.2k9:
Yeah i know how to do it. I have left it for hours and overnight (not on charge). It is only reading at 100Mhz and battery is therefore draining quick. Does your deep sleep work?
[Galaxy S I9000 Android Development] -Loom-:
Deep Sleep is working perfectly with 143LR.

What program did you use to check? CPU Spy ?
[Galaxy S I9000 Android Development] mialwe:
Not sure, I'm thinking about it.

Deep sleep works fine since first MNICS version :) Something is keeping your system awake.

- How did you test for roque apps?

- Did you try betterbatterystats (XDA or Play store)? It's really useful for things like this.

- What does your battery stats screen say?

Maybe we can find this little gremlin...
[Galaxy S I9000 Android Development] craigb244:
thanks :-)