yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] mialwe:
And another "thanks" for reporting :)

Back on JW6 now (which means Nandroid FULL backup works as intended :) ), I'll check the init.d issue, too.

EDIT: Init.d works, did you activate it in CWM and are your scripts named "S<number>...filename"? Is your init.d script executable? What's the output in /data/user.log? Example from my simple test (script "S01_test.sh" lists system/framework content):

Fri Jun 8 17:13:57 CEST 2012 init.d/userinit.d
configfile /data/local/midnight_options.conf found, checking values...
Fri Jun 8 17:13:57 CEST 2012 USER INIT START from /system/etc/init.d
[B]/system/etc/init.d: START 'S01_test.sh'[/B]
-rw-r--r-- 1 root root 313 Apr 13 16:52 am.jar
-rw-r--r-- 1 root root 27752 Apr 13 16:52 am.odex
-rw-r--r-- 1 root root 313 Aug 1 2008 android.policy.jar
...
...more files...
...
-rw-r--r-- 1 root root 8288 Apr 13 16:52 svc.odex
-rw-r--r-- 1 root root 517077 Aug 1 2008 twframework-res.apk
-rw-r--r-- 1 root root 313 Apr 13 16:52 twframework.jar
-rw-r--r-- 1 root root 171984 Apr 13 16:52 twframework.odex
/system/etc/init.d: EXIT 'S01_test.sh' (0)
Fri Jun 8 17:13:57 CEST 2012 USER INIT DONE from /system/etc/init.d
...
[Galaxy S I9000 Android Development] Mr.AFK:
Its me :-)

0.5.5 worked fine on stock Jw6. Only my bln issue.

Now it works fine on Jw4 , goatrip 7.

Both times with rfs!

Logcat also worked for me. Init.d not used.

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S I9000 Android Development] AlexsamaM:
So to understand this kernel will not work if i will convert to ext4?
[Galaxy S I9000 Android Development] mialwe:
ext4test

Yes. Here's a test build with added ext4 mount lines in initramfs (fota.rc and lpm.rc), in case someone is on ext4 I'd appreciate a short test if this one boots up and/or gives proper device/off-charging mode animation.

Some questions:

- anyone interested in a JW6/Mms-BLN/%bat/transp.notif.area-odexed minimod (screenshot attached, battery is a 5%step modded MIUI one "mapped" to the 1% steps)?

- what do you think about the colors in MNGB - I'm not sure about keeping the stock color version as I miss the color/gamma correction capabilities used in earlier Midnight kernels (Nexus driver) and the nightmode (brightness=1) toggle - maybe I'll switch again, not sure...
[Galaxy S I9000 Android Development] ZaneZam:
Thx, just downloaded+installed. Will try ext4 soon!

And plz keep stock color, i cant live with voodoo color anymore! :)

What do you think about another branch? Too much work?

Btw. Boeffla for JW6 is on the way... :p
[Galaxy S I9000 Android Development] mialwe:
- Boeffla: Nice to hear, the absence of Boeffla (or any other) was the reason to try smali/baksmali myself to get the things like I want them to be (in case anyone wants to try, all information needed is here at XDA, I just had to search a little bit) :) Well, to be honest the minimod mentioned in my last post does everything I want so anything else will be "just for fun" and for trying out things - really interesting is e.g. this one and maybe that one, too. And another try at the extended power menu - must have done something wrong here last time.

- EXT4: Don't know if it works as I never use EXT4 but I definately missed some lines during patching the JW6 initramfs. But I think there must be another bug I haven't found yet...

- Stock colors: Yes, I like them, too. But I miss my "real" nightmode without overlay like screenfilter, too...

- Another branch: Yes, too much work. One of the reasons I gave up old Midnight and MNICS (and maybe MNCM7) is time. Job, family/kids,... I will not start working on more than one kernel again. Another reason is that I *really* like the old Speedmod approach - one kernel, slightly modified, fast and most important - stable. One kernel. And I will not put *all* of my spare time in this as I did for the last months.
[Galaxy S I9000 Android Development] ZaneZam:
After a quick Test:

unfortunately with ext4 bootup is still not working! BUT the charging animation works now! Hmmm? I am not sure if this is still a kernel bug cause i have supercharger tweak in build.prop installed! It worked on rfs, so i will remove it and let you know if its still looping. ;)

Hey nice a link to the lockscreen charging fix!! :) This is on my todo list (plus removing the unnecessary locksreen help text!) I didn't search for it yet, now i don't need to anymore, thx!! :)

Yeah, i had also problems with the first JW6 version of boeffla here which i have to sort out before i can release any test version. :( Some very strange bugs i never had before, hope i can fix it soon!

Speaking of time i totally understand you. Real life first, no doubt!! :) And right now i am sitting in front of my computer but actually i should be somewhere else. ;)

Ok so IF you gonna go the voodoo way again i will have to reactivate my old dev-envoirment and clone your sources! be aware, hehe ! :D

But honestly i think i will not be able to build a working image without your help! *ggg*

i have to go now, will report when i get back later...

cheers! :)
[Galaxy S I9000 Android Development] nguyen47:
When I saw the title, I thought it was for cm7 :(
[Galaxy S I9000 Android Development] mialwe:
Hm, that would be "mncm7" in the title...

But I'm trying to resist reflashing CM7 for the last 2 hours, too....now that I have my base them working \w JW6, everything seems fine,.... but.. CM7... like it...mncm7 + ~370Mb RAM patch works fine, too...hmmmm.....plus beeing frustrated that I'm not able to spend 250€ for an used SGS2...hmmmm.....cm7.....ok, I'll switch again. Let's see what's the best Gingerbread for our old but nice device...or not? Forget that last sentence, nonsense...thinking too much...

@ZaneZam: Looking over my DIFF of old/new initramfs I can't find another difference regarding EXT4, if you are able to reach CWM @ext4 the output of /cache/recovery/last_log and /tmp/recovery.log would be helpful :(
[Galaxy S I9000 Android Development] Lunaric:
Mialwe,

If you add the 'night' mode for brightness I even convert all partitions to RFS back and flush your kernel. I need the dark mode to read in the darkness...

I also get rid ICS because it cant play 720p video smoothly and I dont want to convert it each time I want to see it on mobile.

But one thing still push me to go even further up to Froyo, it is a call recording from the line. Do you plan to come back to Froyo? (Just joke)

Indeed the dark mode and power consumption are the main features for me

Thanks for your work!
[Galaxy S I9000 Android Development] habylab:
Sad to hear you shut down ICS, but good work and luck!

Sent from my Galaxy S running Slim ICS 4.0 and Devil kernel from my XDA Premium app.
[Galaxy S I9000 Android Development] 2k4ever:
yes, its sad that you gave up ICS

but your kernel works great and i will be using it at least until 4.0.5 rolls out

thanks for your great work!

but honestly, a little note on the ICS thread about the shutdown would have been nice

just fyi, hardcore always published 2 versions of his kernle (normal and bigmem) and he had 2 branches as well, the "real" speedmod 2.2.1 and the new GB version which always lacked some love and development as hc has moved on to the SGS2
[Galaxy S I9000 Android Development] mialwe:
Yes, I'm sorry for that. I sent the close request to an admin ~2 days ago, had a lot of real life things going on and did not think about this. Stopping MNICs was not an easy decision and I wasn't sure for some time. Now it's done.

Yes, I know about Speedmod's history. Don't know about HCs real life and I don't have to but this is something a lot of users seem to forget - as far as I know most kernel devs do their work in their spare time (and at least for me that was the *complete* spare time, not time left for anything else), without payment (and yes, you can't count the donations as payment or MN just was not good enough) and because they enjoy what they do.

I never cared about donations but my spare time is reduced to a minimum (job and family \w two kids, 3 and 7), I simply cannot continue working every night on a phone kernel and I'm not enjoying this as I did almost a year ago to keep me motivated.

I'll continue working on MNGB and maybe MNCM7 (or have to finally decide which system to use, not sure) - both as fully functional (incl. 720p) large-RAM versions with ~365Mb (this option was not present when HC published his two versions you mentioned) - so there's no need for a standalone bigmem version.

For all GB users I'll attach a MNGB-0.5.6 test version

- with a few RGB and gamma profiles in CWM,

- Nexus tl2796 like in the last Midnight versions,

- Nightmode toggle app to simply toggle nigtmode (brightness=1) from UI
[Galaxy S I9000 Android Development] farid993:
I am glad to hear that.
[Galaxy S I9000 Android Development] Mr.AFK:
How can I check the ram size easy?

Colour profiles like speedmod cold, warm &neutral?

Will test on my Sgs 1

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Galaxy S I9000 Android Development] mialwe:
RAM: Hold home key->taskmanager->RAM

Color: Not exactely, there are three predefined RGB multiplier sets, default, one for slightly less red+reduced green and one for reduced red+slightly less green.

Nice to hear you are still able able to check those test kernels (one must know Mahd is the perfect, natural born bug hunter :) ).

Just in case: Nightmode (the real one :) ) can be easily toggled via the included Nightmode-app (same icon as MidnightControl).
[Galaxy S I9000 Android Development] UltrasFrankfurt:
Sorry for ot, but did you stop development for ics kernel, because thread is closed

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] mialwe:
Yes, for the reasons please read this page and maybe the last page of this thread or in German here.
[Galaxy S I9000 Android Development] UltrasFrankfurt:
Thanks for fast response

P.s. mngb is good stuff:D

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

sorry for getting back so late but yesterday i was too intoxicated to reply! :D

Hey thx for the new test version, but again for me with ext4 only bootloop! :( I've attached only the recovery.log you requested cause last.log was empty. But i think this recovery.log file is left from last working boot with semaphopre, don't know if this is useful. The only new midnight kernel that worked for me with ext4 was your dev build (MNGB-056) you earlier provided. Maybe a diff to the initramfs from this version could bring same light on that problem?

yeah that spare time problem...:rolleyes: just spended the "hole" day (had to start again from scratch to sort out some problems) to finish the base pack of boeffla mod and that was just the beginning of the "work"! ;)
[Galaxy S I9000 Android Development] mialwe:
Thanks for reporting and the log, as you said it's a log from a working boot/recovery start. If I find the time I'll convert to EXT4 and try to debug that EXT4 issue locally :)

The diff I mentioned last time was made using the last known EXT4-working initramfs which was actually the -56 test kernel :(

As the recovery sources are identical I'm a bit clueless right now but I remember having a hard time porting CWM4 to i9000 a few months ago (took me two months without beeing able to get filesystem conversion to work in the end) with working RFS and EXT4 so it's quite possible that I have missed some tiny but important thing here.

If it helps for Boeffla feel free to take my minimod (BLN/Mms, %bat, MIUI notif. icons,...) from a few pages back and use it as you like, no problem if it saves you some time. But I feel you already have all those tiny mods... :)
[Galaxy S I9000 Android Development] ZaneZam:
Really wired that ext4 problem, i wish i could help more but i think you will surely find a way to get it functioning properly, thx meanwhile. ;)

And thx mialwe, yes maybe i will borrow some things from your mod *g*. First i have to finish the main parts then i will see... :)
[Galaxy S I9000 Android Development] borjaag:
Bootlops when I flashed last version of this kernel on JW6 (Not stock) :(
[Galaxy S I9000 Android Development] mialwe:
Not enough information to help in any way.

- never experienced bootloops with stock JW6

- EXT4?

- undervolting?

- overclocking?

- init.d scripts?

- corrupted download?

- /data/user.log and /data/user.log.bak after booting with another kernel?
[Galaxy S I9000 Android Development] Mr.AFK:
Fashed yesterday with SGS-kernelflasher app the MNGB0.5.6t on my SGS1, JW4 based, deodexed Goatrip7 on rfs without any problems.

Nightmodeapp works, Colourprofiles changed in CWM works, but not applied because defaults are OK for me.

Deep Sleep 99% this morning. No rebbots, no frezzes until now.
[Galaxy S I9000 Android Development] Soyuz 3:
Thanks for posting, really nice :)

One question though, I want to contruct a roll-back zip to stock. Would it be enough to replace the files from the 'app' and 'framework' folders in your CWM zip with the stock ones?
[Galaxy S I9000 Android Development] burakgon:
Disable ext4.

Everything works well.
[Galaxy S I9000 Android Development] Rikul:
Mialwe did u stop developing mnics kernel ?? Please dont.. it is verybgood
[Galaxy S I9000 Android Development] ddd613:
Then enable it?

Wath if i used semaphore before, it use cf-root also?

Is ext4 methode the same of case midnight & semaphore?

Sent from Galaxy S Saurom based JW5, semaphore kernel inside
[Galaxy S I9000 Android Development] Mr.AFK:
atm there are problems with MNGB and ext4.

imho there is no reason for ext4. But this is only my opinion :)
[Galaxy S I9000 Android Development] borjaag:
Nothing XD! I think it was because it wasn't a Stock ROM.

Ps: I really love your kernel and I hope u continue here for a long time :)
[Galaxy S I9000 Android Development] mialwe:
The last Midnight version including EXT4-conversion was old 0.7.6 with it's Speedmod based CWM2.5. Because of users request I ported CMW4 that time, took me 2 months of work and I never got EXT4 conversion to work - so no conversion anymore.

Newer Midnights and the last MNGB kernels *should* support mounting and working with EXT4 but there is an issue I was not able to solve yet so you enter bootloops as long as you are using EXT4 partitions.

+1.

EXT4 is noticably faster handling large amounts of data like Nandroid backups, maybe loading a lot of game resources,... but I never felt a difference when just using the device like opening/closing apps, reading feeds, mails,... but I noticed battery beeing a lot better with RFS.

I'm not sure if EXT4 support will be fixed, next step would be replacing the complete initramfs (which currently is the stock JW6 one modified with MNGB recovery, tools and support files) with the last known EXT4-working one which was -56-test kernel some pages back.

Yes, as the updater-script just takes the files and replaces the original ones you can create a rollback zip by putting all original files into the zip.

Yes again - I really like JW6 and I think I'll stay with this a little bit longer - downloaded CM7 nightly yesterday but finally decided not to reflash - JW6+MNGB runs too good for now - absolutely no issues since JW6 was uploaded here at XDA and android-hilfe.de...:)
[Galaxy S I9000 Android Development] McDown:
Thanks a lot mialwe! Minimod works like a charm.

Although I replaced the the graphics (battery, connection icons etc) with the ones from Boeffla framework-res.apk :)

Looking forward for a new Boeffla
[Galaxy S I9000 Android Development] ZaneZam:
Thx man, it's on the way! Actually the main themes and addon1+2 are ready and i am testing since yesterday. Looks good so far!! I think i can throw it out soon! :) Will keep you updated!

---------- Post added at 09:14 PM ---------- Previous post was at 08:42 PM ----------

some time ago stratosk mentioned that he had also big problems to get ext4 conversion working with his CWM/kernel but finally he managed it! Maybe a look in his sources will bring up conversion also for u again? ;) But i think the problems were related to ext4 conversion tool from chainfire in particular if i remember right, but this would be also a way to support ext4 conversion.

Yes +1 for better bat and "not really noticeable"! But its tuneable

and for my feeling bootup is faster on ext4! Just my two cents... ;)

aye that's how i would make it too :)

and +1 again :) i like it too it's much better then JW5 which kicked me out of the game after some weeks. No issues, stable and fast (even with my whole kernel/scripts/mod testing activity!) somehow amazing :)

so, thats enough "Senf" from me for now. :rolleyes: Will go on doing boeffla addons! :)

read u guys...
[Galaxy S I9000 Android Development] saszseb:
What kernel should I flash on XXJVU?

Thanks.
[Galaxy S I9000 Android Development] mialwe:
Not MNGB, sorry but there is no MNGB for ROMs <JW4.

MNGB is built based on the latest Samsung sources which includes e.g. the new RAM/mem config but only works for JW4/5/6 and probably the (maybe) following stock ROM versions.
[Galaxy S I9000 Android Development] borjaag:
The latest for JW6 is 0.56-t6? XD
[Galaxy S I9000 Android Development] mialwe:
Jep, this one.
[Galaxy S I9000 Android Development] borjaag:
Installed, love those colours :P

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Android Development] mialwe:
Next one (sorry borjaag, spontaneously decided to upload), only small changes but one of them seems to make a nice difference to me:

0.5.6

- lowered screen-off CPU sampling_rate -> solve wake-up-lag

- removed old lower brightness adjustment formula -> stock brightness

OP updated, sources updated.

Maybe some have noticed a small lag when waking the device up from deep sleep/screen-off. Not a big issue but I did not like it.

The Ondemand and Smoove CPU governors include CPU sampling_rate adjustments (orig * 3) on screen-off, then switching back to "orig" on screen-on. Reducing the screen-off multiplier from 3 to 2 seems to remove the short "wake-up-lag" for me.
[Galaxy S I9000 Android Development] dadi_pas:
REQ mialwe Support Swap Partition Like Kernel ICS... Thanks mialwe I like Kernel...
[Galaxy S I9000 Android Development] borjaag:
Sorry? No, thanx a lot :P

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Android Development] borjaag:
Installed withou problems on JW6 :)

I didn't feel that lag on the lockscreen before nor now.

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Android Development] Rebel2k:
Would be really nice indeed!

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Android Development] Peppegs:
Hi guys...

The conversion on EXT4 is not included? why?
[Galaxy S I9000 Android Development] ZaneZam:
Because of the problems mialwe mentioned on previous page. ;)
[Galaxy S I9000 Android Development] stanbel:
I install the last version and leave a phone

40 minutes without any activity

Got the following statistics, is it OK?
[Galaxy S I9000 Android Development] mialwe:
No. Something is keeping your phone awake, I have 88% deep sleep right now but it does not show up on your screenshot.

You could use betterbatterystats (search XDA for this) to check what is preventing deep sleep for you.
[Galaxy S I9000 Android Development] Sw2rT1:
Hello!

Why mngb-0.5.6 version does not support ext4 filesystem?

The last time enjoyed your kernels on JW1, As far as I can remember, kernel support for ext4. Now there is a constant bootloop...
[Galaxy S I9000 Android Development] ZaneZam:
hi

he is aware of that and tries to fix it ;)
[Galaxy S I9000 Android Development] Sw2rT1:
thanks for the timely response. I understand.

Now I'll wait with impatience when mialwe share of the new kernel version))
[Galaxy S I9000 Android Development] mialwe:
Please look over the last 4 pages of this thread for the answers (to make it easier I collected the relevant posts):

http://xdaforums.com/showpost.php?p=27117515&postcount=928

http://xdaforums.com/showpost.php?p=27140211&postcount=929

http://xdaforums.com/showpost.php?p=27231428&postcount=951

http://xdaforums.com/showpost.php?p=27301923&postcount=962

In short:

- This kernel is completely rebuilt based on the latest Samsung sources, it's not a new version of old Midnight.

- This includes a stock JW6 initramfs which *should* contain all the RFS/EXT4 mounting stuff from older Midnight kernels

- somwhere must be a bug I was not able to find yet

- not enough time to look for this bug during the last days

=> I removed the EXT4-support text from OP because of this issue a few days ago

=> I personally don't use EXT4 and I'm not sure if and when I'll be able to fix this.

I'm really sorry but as I constantly ran out of time (repeating once again - family and job first) I most probably will not be able to work on features I do not use myself like I did for the last months for MNICS and old Midnights.
[Galaxy S I9000 Android Development] mialwe:
0.5.7-FS-t8

Quick test kernel: Attached is a test kernel for users with EXT4 filesystem.

This kernel uses the old -56-testkernel initramfs with updated MNGB recovery/option parsing. It still works fine with RFS, if anyone can test this with EXT4 and report back I'd really appreciate it.
[Galaxy S I9000 Android Development] ZaneZam:
yes thats the right way! 5 minutes after midnight the working version is 0.5.7-fs-t8 ! :)

thanks mialwe for sticking around and fixing this!!

custom bootanimation support not (yet?) implemented in that version? I am asking because i have stock now.. ;)

EDIT: i forgot - Boeffla 5.0 is ready if you are still interested ;)
[Galaxy S I9000 Android Development] borjaag:
Where to test EXT4?

I mean, how can I get EXT4? :confused:
[Galaxy S I9000 Android Development] mialwe:
Yes, I read about Boeffla - nice work - maybe I'll test this tomorrow.

Bootanimation: After rebuilding the first "new" MNGB with latest Samsung sources I realized that custom bootanimations just do not play - black screen until PIN screen. That's why I switched to playing the stock animation only for now. I'll look into this ASAP.

Wow, you're right - midnight... :D

EDIT: Just one thought as I do not know much about the Boeffla toggle modifications - would it be possible to put a nightswitch toggle into the mod (the action would be calling an app or directly echoing into a sysfs file)?

Explained 2 pages back: http://xdaforums.com/showpost.php?p=27301923&postcount=962

The test kernel has been built for (quote) "users with EXT4".

MNGB should work with existing EXT4 partitions but does not include conversion functions.
[Galaxy S I9000 Android Development] Rebel2k:
Hi Mialwe and hi everyone there. Just a small message to say I'm at the moment trying the last 0.56 kernel with JW6 and everything is going fine! Keep this kernel alive please! And thank you for all your hard work!

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Android Development] mialwe:
Update: 0.4.0 now uploaded for testing:

- conservative governor tweaked for 1Ghz max (1.2Ghz still possible)

- reverted various speed/mem tweaks from 0.3.8 (have to test them more)

- merged Galaxy Tab _mdnie module (testing)

- merged simple Voodoo color settings for UI only (testing)

- set color temperature to 6700k (testing)
[Galaxy S I9000 Android Development] GoThere123:
Hi,

First of all, thanks for your work in developing kernel for SGS mialwe :)

Have flashed your latest kernel but when open BLN control, i can't enable the BLN.

Is it happen to the others?

Thank you..