yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] mialwe:
Those are the latest Midnight CFS settings (and commented out "history", sources can be seen @Github: https://github.com/mialwe/midnight-i9000-initramfs/blob/master/sbin/boot/35_misc.sh), don't know if Thunderbolt uses the same settings:

echo 3000000 > /proc/sys/kernel/sched_latency_ns
echo 500000 > /proc/sys/kernel/sched_wakeup_granularity_ns
echo 500000 > /proc/sys/kernel/sched_min_granularity_ns

# Midnight 0.7.6
#echo 100000 > /proc/sys/kernel/sched_latency_ns
#echo 500000 > /proc/sys/kernel/sched_wakeup_granularity_ns
#echo 750000 > /proc/sys/kernel/sched_min_granularity_ns

# pikachu01/Thunderbolt aggressive, performance
#echo 400000 > /proc/sys/kernel/sched_latency_ns
#echo 100000 > /proc/sys/kernel/sched_wakeup_granularity_ns
#echo 200000 > /proc/sys/kernel/sched_min_granularity_ns

Edit: Just downloaded Thunderbolt to check this, the Thunderbolt CFS settings are

sysctl -w kernel.sched_min_granularity_ns=200000;
sysctl -w kernel.sched_latency_ns=400000;
sysctl -w kernel.sched_wakeup_granularity_ns=100000;

according to S98CFS script. So no, Midnight-CFS values will be overwritten, too, as they are *not* equal with Thunderbolt's settings.

Note: Overwriting Midnight's values with Thunderbolt settings does not have to be a bad thing, Thunderbolt is made to enhance kernels settings and Pikachu01 did a lot of reasearch on his settings.

Users just have to know that e.g. using lowmemorykiller preset "Moderate" via Midnight Control will not work if a Thunderbolt LMK script is used as it will overwrite the "Moderate" preset via the Thunderbolt init.d script(s). If I remember right there are touchscreen sensitivity settings in TB (correct me if I'm wrong here) which will overwrite MidnightControl's sensitivity presets,...

All changed settings can be seen in /data/user.log (use a text viewer or MidnightControl->menu), even init.d script execution is logged in this file so users can detect issues easily.
[Galaxy S I9000 Android Development] hippo_potamus:
Galaxy S II i9100

This is going to be a real dumb question but I have to ask anyway since I am going to get one tomorrow.

Does this kernel work on the Galaxy S II i9100?
[Galaxy S I9000 Android Development] pikachu01:
Nope. :) 10 chars.
[Galaxy S I9000 Android Development] mialwe:
Right. Different Hardware needs different kernel so Midnight will work with SGS1 but not SGS2. Maybe in 10 months... (grmpflcontract)...
[Galaxy S I9000 Android Development] andip71:
Well, I hope in 10 months your latest kernels will not target on SGS2 anymore but SGS3 already :)

I would not go for a SGS2 anymore now... I am waiting for the 3.

Cheers

Andi
[Galaxy S I9000 Android Development] mialwe:
Jep, maybe.

MIDNIGHT-1.0 (GB) will be uploaded within the next 48h, just testing a little bit more. Thanks @Ralph notifying me about Ondemand feeling slower - somehow I managed to reintroduce a bug (\w SAMPLING_DOWN_FACTOR) I considered fixed a long time ago...

Tapatalked...
[Galaxy S I9000 Android Development] saszseb:
MIDNIGHT-1.0 (ICS)?

Thanks.

Sent from Slim_ICS_2.8
[Galaxy S I9000 Android Development] Sw2rT1:
read the message again
[Galaxy S I9000 Android Development] saszseb:
I'm not drunk. I'm reading the same as some hours ago.

Sent from Slim_ICS_2.8
[Galaxy S I9000 Android Development] mialwe:
Don't know if and when Midnight-ICS will come, spare time has vanished and so has motivation.

+ I somehow don't like kernel settings are built in all the ICS rom settings menues (oc,uv,bln,...oc menues won't work with 7 freqs, apps interfering with kernel led timeout settings,...)

Tapatalked...
[Galaxy S I9000 Android Development] Soyuz 3:
@mialwe

Thanks for the ongoing support on the MIDNIGHT (GB) kernel!

Nice changes: https://github.com/mialwe/midnight-i9000-kernel/commits/master
[Galaxy S I9000 Android Development] Tuga_Droid:
Where can i found patch for sms working with BLN pls?
[Galaxy S I9000 Android Development] ech0:
BLN control - Pro

BLN control - Free
[Galaxy S I9000 Android Development] Tuga_Droid:
This is not a patch, this is the app ;o) I want the patch......Thank you anyway.
[Galaxy S I9000 Android Development] pinpong:
I think you mean the service.jar Patch eh?

Google for it or look on neldars github Profil.

http://xdaforums.com/showthread.php?t=1206726 but this is for i9100
[Galaxy S I9000 Android Development] Tuga_Droid:
Yes that's right ;o) Thanks man
[Galaxy S I9000 Android Development] mialwe:
Did you find it? the patched services.jar belongs to ROM, not kernel. Without knowing which ROM base you are on (JVQ,JV<...>,JW1,...) it's hard to help here.
[Galaxy S I9000 Android Development] mialwe:
Ok, not 1.0, sorry...

0.9.0 / 2012-03-07

- bugfix: Ondemand governor should be faster again

- sampling rate 40000->20000 for Conservative governor

- updated SIO scheduler sources

[download @ OP]
[Galaxy S I9000 Android Development] Soyuz 3:
@mialwe

Excellent work, just flashed and works fine. Once again thanks for the ongoing maintenance and support!

I notice that the lower sampling for the Conservative governor rate helps to prevent shuttering while playing music and browsing at the same time.
[Galaxy S I9000 Android Development] Tuga_Droid:
Well, don't find it but tested a few times with services.jar taken in SauroM and my notification bar disapear......I'm on JVU. If you could help me, would be fine ;o)

Thanks.
[Galaxy S I9000 Android Development] pantrif13:
If you are on odex jvu try here: http://xdaforums.com/showthread.php?t=null
[Galaxy S I9000 Android Development] Tuga_Droid:
I'm on JVU deodex. But i think that i've found the problem......Hope so ;o) will see later.

Thanks you anyway
[Galaxy S I9000 Android Development] jeozme:
I am on latest kernel with jvu odex on a sgs. Now gosms is unreadable dark no matter what theme. Is that kernel related?

Sent from my phone
[Galaxy S I9000 Android Development] oswade:
The new conservative govenor is perfect!

Music playback with screen on or off still hovers around the lower frequencies (much more than ondemand), plus it feels as responsive as ondemand :)

mialwe you rock!
[Galaxy S I9000 Android Development] mialwe:
Glad you like it :)

@jeozme: Not really, except brightness setting in MidnightControl - which color profile and corresponding brightness value do you use? Is *only* GoSMS too dark?
[Galaxy S I9000 Android Development] jocke_lulle:
Hi mialwe

Are you back on gb for now?

I really liked your kernel when I was on gb, but for the moment I have moved to slim ics which works great. But as you introduce new gb kernel-versions I'm kind of curious to test them, haha:)

I had hoped for a midnight ics kernel but I read your post earlier and I totally understand you. Maybe I will have for flash back to gb for a while just for taste midnight power again:)

Thanks
[Galaxy S I9000 Android Development] mialwe:
Actually I was 1sec before entering "adb reboot recovery" to install Slim-ICS again as the thread-answer notification mail came in :)

Still don't know if I will upload Midnight-ICS, maybe. Later. There are good ICS kernels out there. But Midnight would be the first with 7 freqs :)
[Galaxy S I9000 Android Development] jeozme:
i keep it all standard. For now it is only go sms. Looks like the led backlight is switched off.

Sent from my phone
[Galaxy S I9000 Android Development] jocke_lulle:
Haha, sorry for that:)

Well, that sounds interesting! Hopefully we will see it...fingers crossed:)
[Galaxy S I9000 Android Development] grifovunque:
external sd card

i have this kernel with stock jvu and it's very fast and stable...

now i wait some days to check battery life...

i have a question is not possible to mount external sd card on recovery? now i cannot access directly to file in external sd with recovery...

now i have always to copy file in internal sd card for flashing it...

it's only a suggestion it's not very important but it's an idea... :)

thank you for your work

i love this kernel!!!!!

edit: what do you think about this http://xdaforums.com/showthread.php?t=1535805 + stockJVU + midnight0.9.0?
[Galaxy S I9000 Android Development] hackeron:
Mialwe I just flashed your kernel and I really like it. But from my understanding. Its better to keep the amount of cpu steps to 5.. Lukiqq and existz used to have more steps first as well. But then they changed it back to 5, and for OC they replaced the fifth step with for example 1200 mhz..

http://xdaforums.com/showpost.php?p=17735223&postcount=6219
[Galaxy S I9000 Android Development] mialwe:
Yes, that's right. On the other hand Midnight runs quite good with 6 frequencies for a long time now, with 7 frequencies since 0.8.x (have to look, sorry) without issues.

In older versions I experimented with lower freq counts including max. freq replacement 1Ghz->1.2Ghz/1.3Ghz but found the 6 frequencies to work quite good and no disadvantage with using more frequencies/steps.

Additionally using more frequencies with Conservative governor allows more stable overclocking for some users as there are one or two frequencies more to step up on the way to the max frequency.

Edit: Nice link, thank you for this. Like Lukiqq says, "In a short, more speed steps = more smooth speed switching but slower overall speed because of switching." -> Midnight's Conservative CPU governor is tweaked to utilize all frequencies according to CPU load (scales step by step on low load, doubles steps on higher load) to get smooth scaling without using too high frequencies if not needed. It's *not* tuned for max. performance, some would use Ondemand or one of the newer governors out there. But performance is not what Midnight aims for.

@grifovunque: To be honest, after looking into the scripts I'd suggest you use Thunderbolt if you really want to squeeze all out of your SGS, Pikachu01 did a great job on his scripts. Just remember that *some* settings you see in MidnightControl will not the actually used ones as init.d scripts overwrite Midnights' settings (e.g. lowmemorykiller, touchscreen sensitivity, e.g. you set LMK preset "MODERATE" via MidnightControl -> kernels sets values accordingly at boot -> then executes init.d -> MidnightControl shows preset "MODERATE" but system will use init.d/Thunderbolt defined values).

To check if the scripts work you can use the Midnight boot logfile (directly look into /data/user.log or use MidnightControl->menu->log viewer), init.d script output/errors are logged, too.
[Galaxy S I9000 Android Development] grifovunque:
i have another question:

sometimes my phone in stand-by make a flash like a lamp ( open and close monitor for a while)...

it's possible is a kernel problem or not?

i try another kernel to see if the problem persist...

but i prefer to remain with midnight :(
[Galaxy S I9000 Android Development] mialwe:
Sorry, have never seen something like this since I started working on Midnight in Aug 2011 - anyone else? Maybe some kind of notification running? I really don't know ... :(
[Galaxy S I9000 Android Development] grifovunque:
i have flashed a lot of rom, kernel, modem , all but this is a strange issue that i don't understand....

i use always the same program, installed from titanium backup and this is the first time that i have this issue...

my bln is deactive but i have noled...

i try also to deactive this but i think is not this the problem...

the only setting that i have changed is the kernel "midnight" (the best for me) and a setting in dropbox to automatic upload photo.... i try also to deactive this

:eek:

:)

thank you for your support
[Galaxy S I9000 Android Development] pikachu01:
Thanks for the props :P

I also feel that midnight is a good kernel, looking at the commits and the sources. :)
[Galaxy S I9000 Android Development] piccobit:
Hi mialwe,

for some strange reason everything now works like expected.

Usin Odin I could flash your 0.8.9 kernel some days ago and yesterday I flashed your 0.9.0 kernel with SGS Kernel Flasher without any problem.

Don't know why it's working again ... :(
[Galaxy S I9000 Android Development] grifovunque:
I have another question...

I have installed stock jvu and cfroot...

I have converted rfs to ext4...

Now with sgs flasher can i install directly midnight 0.9?

Thank you very much
[Galaxy S I9000 Android Development] Mr.AFK:
Yes you can :-)

Gesendet von meinem GT-I9000 mit Tapatalk
[Galaxy S I9000 Android Development] ExDr:
It seems I have finally found flawless kernel for my SGS. Thank you!

Does flashing new version of kernel over old one replace midnightcontrol app with new?
[Galaxy S I9000 Android Development] Mr.AFK:
Yes of course. If the App is also updated :-)

Gesendet von meinem GT-I9000 mit Tapatalk
[Galaxy S I9000 Android Development] andip71:
Hi,

just wanted to say, I am running now for over 5 days on latest midnight kernel (after being on Semaphore for almost a year) - no issues at all, both responsiveness and battery life are amazing.

Great work, hope we will see many follow up versions for GB still of this brilliant kernel.

Cheers

Andi
[Galaxy S I9000 Android Development] hackeron:
This kernel rocks.. Just wish it had stock color and max 5 cpu steps. :P
[Galaxy S I9000 Android Development] mialwe:
Thank you guys, I'm glad you like it :)

Why? There are two features in Midnight which "make the difference" to other kernels:

- Nexus-based colors with optional night mode profile via kernel app. Would not be possible with stock driver and color tweaking would cost me a lot of time I do not have. Lukiqq did a great job on this with Galaxian as I read in his thread.

- Conservative governor changed to work very responsive and make use of all 7 frequencies (if activated, stock 1Ghz max is possible, too) without feeling sluggish.
[Galaxy S I9000 Android Development] hackeron:
Just posting my opinion I know many ppl like this color but for me the colors is a little blurry and low grays looks a bit foggy. Even if I try to tweak the colors. Stock is sharper and easier to read on my display.

And about the cpu steps I quess I might be wrong on that.

@AndiP what do you think of this? :D
[Galaxy S I9000 Android Development] ZaneZam:
Hi guys,

just jumped up from the Semaphore "Railway Station" (unfortunately it is one now) to the "Midnight Train" (hopefully it moves on *g*). I've got an overall very good impression but it's to early to say something serious about. However, i must give a +1 for hackeron's opinion about stock color! This applies also to my screen and i can exactly remember the moment of switching back to stock color. It was just a :eek: effect after using voodoo color for almost one year! ;)
[Galaxy S I9000 Android Development] burakgon:
Thank you for very great job mialwe! That's perfect on new GamerzRom v7.0.
[Galaxy S I9000 Android Development] oswade:
Is the midnight app misreporting 800mhz voltage or has it been changed?

It says 1250 but it is usually 1200. I suspect it is just misreporting but not 100% sure.

Also, VR scheduler is not selectable in the midnight app, but other cpu apps can select it. Is it supported? Not recommended?

Peace =)
[Galaxy S I9000 Android Development] legola:
Because there is no selection for VR and I think it is not included in the kernel. Correct me if Im wrong
[Galaxy S I9000 Android Development] mialwe:
@oswade: Good find :) That's an error with displaying the max. voltage. MidnightControl displays 1250mV but internally uses 1200mV (so it works fine, only displayed max. value in app is wrong).

About VR: It actually *is* included but I never use it myself, somehow it does not feel right to me. It is included but you cannot choose VR vie MidnightControl as I intended to remove it, you can choose it via other apps like VoltageControl or place a simple init.d script to activate VR if you really want to use it. Knowing that some users like to use the VR scheduler I did not remove it for this version. Maybe next time.
[Galaxy S I9000 Android Development] xtoad:
I have switched to Midnight too and am very happy and think the color is great (I thought Galaxian was good too, so...)

In adjusting the brightness it seems the highest number is the darkest? Confused me for a sec... :rolleyes:

I seem to have a brightness problem with the stock camera: outside it seemed very dark, unusably so on a bright day. Auto-brightness seemed to go darker. And adjusting the 'Outdoor Visibility' setting did nothing.
[Galaxy S I9000 Android Development] burakgon:
Colors was very great when I tried it. Yellow tint was totally gone.
[Galaxy S I9000 Android Development] jocke_lulle:
Great kernel!

I flashed it this morning and everything is working perfect:) I use default settings except readahead 256kb.

Thanks
[Galaxy S I9000 Android Development] andip71:
Hi jocke,

back on Gingerbread again? Why not on ICS anymore?

Andi

(sent via tapatalk)
[Galaxy S I9000 Android Development] jocke_lulle:
Haha, I just realised that I posted in the wrong thread:) I'm still on ics.
[Galaxy S I9000 Android Development] stanbel:
Yesterday i did a Nandriod backup

Some programs was previously moved to SD card by native function "Move to SD card", I didn't use any apps like App2Sd

During backup message about "No .androidsecure folder found" and no backup of programs on SD was performed

But I have a programs on SD card (according information in the Settings->Application menu)

Why?
[Galaxy S I9000 Android Development] hadkeren:
Installed. After entering app like angry birds space and playing for some time closed it and tried to enter another app the phone wouldn't enter any app rebooted and the same happened again. Uninstalled back to previous version.

Sent from my GT-I9000
[Galaxy S I9000 Android Development] mialwe:
Sounds like the ICS version - If this is right please take a look at the ICS thread: http://xdaforums.com/showthread.php?t=1551410.
[Galaxy S I9000 Android Development] hadkeren:
No with 0.74 everything works fine only happened with the new version using

Bluelightning

No OC

Al default

Sent from my GT-I9000
[Galaxy S I9000 Android Development] mialwe:
Midnight-GB (0.9.0) -> here.

Midnight ICS (0.7.4/0.7.7) -> http://xdaforums.com/show....php?t=1551410.
[Galaxy S I9000 Android Development] stanbel:
mialwe, can you or somebody else test backup from CWM menu, is it my problem or problem in the kernel?

link to msg
[Galaxy S I9000 Android Development] oswade:
Backup works fine. But I've never used "move to sd" function.
[Galaxy S I9000 Android Development] Mr.AFK:
Backup works fine. One message about "backup ext.Sd skipped", but this is normal. Have 3apps moved to sd-card, especially for you &backup test :-)
[Galaxy S I9000 Android Development] krosscheck:
Me too, works perfect.

Gesendet von meinem GT-I9000 mit [stock odex jw1]
[Galaxy S I9000 Android Development] stanbel:
I didn't understand, you got message about "ext SD skipped" but it was backed up

(apps on SD was backed up)?
[Galaxy S I9000 Android Development] Mr.AFK:
Yes, i think so, because i saw only a known "error message"! Nothing about, no Backup of Apps on SD like your post.

Apps move to SD means move to internal SD.
[Galaxy S I9000 Android Development] AbuYahya:
This is a great kernal thanks.

Is there any way to set a homescreen toogle widget for the 'dark toggle profile' ?

Sent from my GT-I9000
[Galaxy S I9000 Android Development] mialwe:
No, sorry. I don't really like widgets besides a simple clock so there's no widget included.
[Galaxy S I9000 Android Development] oswade:
mialwe, new JW4 has 364mb ram. time for a new midnight??? :D
[Galaxy S I9000 Android Development] bopsch:
that would indeed be great :) but give him time ;)
[Galaxy S I9000 Android Development] Тhe Dark Knight:
Mialwe, will there be new midnight with jw4? Tell us please ;)
[Galaxy S I9000 Android Development] mialwe:
To be honest - I don't think so. The kernels completely eat all my spare time (and that's not much because of job and family \w two kids) and I want to reduce the time working on them, so there will be only one kernel which will be actively (but slowly, too, as it already does almost everything I want) developed - as I'm using ICS this will be Midnight-ICS.

I'd love to give you another answer but I think beeing honest is the right way. Maybe it will be reactivated at some point in the future but for now Midnight-GB will not be updated anymore. I thought about this for the last few weeks but never was sure. Now I am. I think. Sorry.
[Galaxy S I9000 Android Development] oswade:
Don't feel bad, appreciate the honesty :cool:
[Galaxy S I9000 Android Development] ZaneZam:
+1 for that, better than making empty promises. ;)
[Galaxy S I9000 Android Development] Тhe Dark Knight:
It would be great last version with a lot of RAM. But ok... :(
[Galaxy S I9000 Android Development] ExAvantz:
can i flash this kernel onto XXJW4 firmware ?
[Galaxy S I9000 Android Development] ZaneZam:
Unfortunately not, as what i read due to "big" changes in JW4 all custom kernels for previous GB roms are incompatible with this rom and will lead to bootloops. Guess we will have to wait till samsung releases souces. Anyway, if you look a view posts back, you can read that mialwe will not update his kernel anymore, sad but understandable! ;)
[Galaxy S I9000 Android Development] kettont:
It doesn't support ext4. But it's ok.
[Galaxy S I9000 Android Development] mialwe:
It supports EXT4. Feel free to read post #2 (faq) :-)

tapatalked...
[Galaxy S I9000 Android Development] adytum:
This kernel is awesome, and everything works fine, except from the panorama function of the camera, it just gives me a fc.. Not that I use it a lot, but it might be a bug.

I'm using the hugeram version on elites ICS beta 9.1.
[Galaxy S I9000 Android Development] mialwe:
Hello, you accidentially posted in the Gingerbread-Midnight thread I think. Do problem, just want to inform you.

About the Panorama-FC - maybe you should contact your ROM dev, just tested here with 4.0.4 - no issues, no FC. Panorama successfully saved.
[Galaxy S I9000 Android Development] adytum:
Ah, sorry about that. I'm 95% sure that it worked on the devil kernel, but I'll check if it's rom related, you're probably right.

Flashing so much these days that I can't tell for sure which kernel or rom I used yesterday :D But I think I'll stay on this awesome kernel for a while! Again, sorry for posting in the wrong thread.
[Galaxy S I9000 Android Development] mialwe:
I definately know what you mean :)
[Galaxy S I9000 Android Development] andip71:
JW4... sorry to ask again

Hi Mialwe,

I know you wrote somewhere the development of this GB kernel has come to an end.

Just wanted to ask again, as I am a happy user of your GB kernel on JW1, whether you plan an update to JW4 or definitely not anymore?

Reason for this question is - apparently Samsung released some new kernel source, Stratosk checked already.

If you have no time or chance to do it - no issue. But I had to ask :)

Thanks

Andi
[Galaxy S I9000 Android Development] xtoad:
Would love to see this also... I keep going back and forth between Midnight GB and ICS, but still like GB a bit better...

Mialwe has said he doesn't have time for both and I can relate, but... ;)
[Galaxy S I9000 Android Development] ech0:
Holding out and staying on XXJVU for now, but it would be cool to see a Midnight for XXJW4, but I more than understand the constraints on time.
[Galaxy S I9000 Android Development] GoThere123:
Hi Mialwe,

I know that you already stop this GB kernel dev, but really wish that you can "resurrect" this project ;)

Still using your last version of kernel until now and hope that you will release an update for the newest GB kernel :)

Thanks..
[Galaxy S I9000 Android Development] mialwe:
Sorry but I do not have anough time even for the ICS version :(

Tried to build a JW4 version a few days ago but always ended up in freeze@boot or bootloop, after a few hours I had to give up bugsearching because I had to sleep a few hours before work. Maybe I'l ltry again, don't know now.
[Galaxy S I9000 Android Development] Mr.AFK:
No Problem at all.

Bootloops, freezes, Problems with Frontcamera on development JW4/5 had also (yet solved), Chainfire!, Stratosk! and hardcore!

So take a nap, collect time AFTER family, work and (MNICS :) ) and then start another trie.

Servuz

mahd

a.k.a.

Mr.AFK