yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] mialwe:
@ikkuh007:

EDIT: Disabling 3G: Settings->Wireless & Network (1st option in menu) -> mobile networks -> network mode -> only GSM (don't know the exact eng. translation/texts)

EDIT: Disabling HSDPA: LINK

@cha-ka-lak: You can find more on this in this thread: Battery Drain after full charge with charger connected on a GB OS image

@pikachu01: Thanks for answering :)
[Galaxy S I9000 Android Development] krosscheck:
Do you have probably a manual, as reflashing with Heimdall? I always get an error message, something with firmware.xml...

-tapatraced-
[Galaxy S I9000 Android Development] mialwe:
I don't think for flashing a zImage only ("heimdall flash --kernel zImage", zImage = extracted file from Midnight TAR archive) you need a firmware.xml.

In case this is ROM related I did a little search for you:

- firmware.xml seems part of Heimdall firmware package system [LINK (= manual, see appendix A)]

- there is a Heimdall thread at XDA [LINK]

- there are some posts/web contents about this [LINK] [LINK]

In case you try to flash Midnight using Heimdall as a "Heimdall firmware package" (Heimdalls own firmware system):

- Midnight is packaged into a generic TAR archive (zImage encapsulated in TAR) only, NOT a Heimdall firmware package, therefore you must extract the zImage file and flash it directly (as stated in post #1). I decided to provide a generic TAR archive because you can use it with Odin, Heimdall AND sgs-kernel-flasher so users have three choices to install which would not be possible with another format.

Maybe this helps with your issue.
[Galaxy S I9000 Android Development] krosscheck:
Worked, many thanks :)

-tapatraced-
[Galaxy S I9000 Android Development] betoNL:
Yeppers !

341 MB Ram + that built-in full-featured CWM4 with CWM5-TAR-Nandroid + nice efficient tweaks , etc. etc. and even 6 frequencies ???

This gotta be the best kernel right now !

Right back to Midnight :)

Nighty-night
[Galaxy S I9000 Android Development] krosscheck:
You are late :)

-tapatraced-
[Galaxy S I9000 Android Development] betoNL:
Yep....

Better late than never ;)

How do I get my own bootanimation to work here?

I already placed it in system/media and also in data/local

Do I have to rename it?
[Galaxy S I9000 Android Development] krosscheck:
u have to place it in /system/media with the name "bootanimation.zip"
[Galaxy S I9000 Android Development] betoNL:
I did that.... but no success
[Galaxy S I9000 Android Development] mialwe:
@krosscheck: BetoNL mentioned the kernel earlier in his thread :)

@betoNL: Strange. Took a quick look at my bootanimation script and it should work as it checks /data/local AND /system/media for bootanimation.zip:

...
elif /sbin/busybox_disabled [ -f /data/local/bootanimation.zip ] || /sbin/busybox_disabled [ -f /system/media/bootanimation.zip ]; then
/sbin/bootanimation
...

As I don't use custom bootanimations I made a quick test, adb-pushed an bootanimation.zip to /data/local/ -> reboot -> plays fine.
[Galaxy S I9000 Android Development] saszseb:
Have you checked the permission? It should be 644.
[Galaxy S I9000 Android Development] betoNL:
And since your kernel have 6 frequencies and running so smoothly, that thread is AGAIN edited and totally dedicated to Midnight ;)

And for the bootanimation (no biggy) gonna check those codes

How do I check that ? Tks

---------- Post added at 08:10 PM ---------- Previous post was at 07:43 PM ----------

That's how the bootanimation script (bootanimation.sh) at /sbin , on my device looks like:

#!/sbin/busybox_disabled sh

if /sbin/busybox_disabled [ -f /data/dalvik-cache/system@app@SetupWizard.apk@classes.dex ]; then
if /sbin/busybox_disabled [ -f /data/local/bootanimation.bin ]; then
/data/local/bootanimation.bin
elif /sbin/busybox_disabled [ -f /data/local/bootanimation.zip ] || /sbin/busybox_disabled [ -f /system/media/bootanimation.zip ]; then
/sbin/bootanimation &
sleep 15
kill $!
else
/system/bin/samsungani
fi;
else
/system/bin/samsungani
fi;

What can I change here ?

Tks
[Galaxy S I9000 Android Development] mialwe:
That's Midnights run-bootanimations-if-found-script, you cannot change anything there. Issues with custom bootanimations have not been reported for a long time now so I just ask some questions, maybe we can solve your problem

- did the custom bootanimation work /w another kernel before?

- did you try copying it to /data/local/bootanimation.zip

- did you wipe dalvik-cache before testing (causes Samsungani to play)

- did you remove "SetupWizard.apk' earlier? (causes Samsungani to play)

As I said, I tried it the day you initially posted your issue with

- fresh, stock JW1

- Midnight 0.8.x

- bootanimation.zip in /data/local

and it workes fine. So I believe the problem may be somewhere else, we just have to find it :)
[Galaxy S I9000 Android Development] betoNL:
Ok, thanks

Gonna run more tests later when i have more time, probably next year :)

Right now everything is too damn smooth for any changes and bootanimation is not a big deal
[Galaxy S I9000 Android Development] krosscheck:
Hi mialwe,

nice news from stratosk :)

What do you think about it?

Btw. thank you for all your hard work, time and energy you put in this very great project!

Merry christmas for you and your family, have a nice time.

-tapatraced-
[Galaxy S I9000 Android Development] mialwe:
That's a nice release with two interesting additions, especially Stratosk's sampling_down_momentum implementation. As Midnight is aiming for battery life and not performance I disabled sampling_down_factor again after I ran into an issue I assume to be related to Newmails deep-sleep-patch, just like Stratosk, but he went one step further and implemented this great tweak to actually *use* sampling_down_factor :)

I'm not sure about io_is_busy :

Newmail and Stratosk recommend setting it to "1", testing this is on my TODO list since I implemented Newmails deep-sleep-patch but I did not have the time yet.
[Galaxy S I9000 Android Development] stratosk:
Hello!

Merry Christmas! My best wishes to you and your family!

Newmail's code (not all of it) definitely conflicts with sampling down factor. I also read this about io_is_busy and was wondering if it was right choice to include it. I will let you know if it's good or not.

Again, I want to say thank you for your support! :)
[Galaxy S I9000 Android Development] mialwe:
Stratosk, there's nothing to thank - I did not really help this much, basically I did nothing :). Congratulations to your "christmas edition" and all the best for 2012.

@all: Merry christmas and all the best for 2012 to all of you - may the force be with you :)
[Galaxy S I9000 Android Development] hippo_potamus:
Merry Christmas

mialwe,

Wishing you a Merry Christmas and Happy New Year.

Regards

:)
[Galaxy S I9000 Android Development] mialwe:
Thank you hippo_potamus, a hapy new year 2012 and all the best to all of you.
[Galaxy S I9000 Android Development] hippiegunner:
Happy new year people
[Galaxy S I9000 Android Development] oswade:
Happy new year mialwe!

Just wondering what do you think of LiveOC? http://xdaforums.com/showthread.php?p=20845725#post20845725

Any chance of implementing it in the future? =)
[Galaxy S I9000 Android Development] mialwe:
Tk-Glitch (and Ezekeel) did some very great work there and I'm definately interested in this - BUT: Midnight already takes my complete spare time (and sleep time) and therefore I will not try to port liveOC.

Maybe I'll do some experiments later this year but for now Midnight (dev version) does almost exactely what I wanted it to do and I'll reduce kernel dev time a bit. AFTER next version which will bring some changes :)
[Galaxy S I9000 Android Development] oswade:
no prob, good to know :) Have some fun/break time too alright ;)
[Galaxy S I9000 Android Development] laconic5:
In case anyone is wondering, 0.8.4 works well with the new XXJVU rom including root.
[Galaxy S I9000 Android Development] krosscheck:
fyi... it will work with all gingerbread versions ;)
[Galaxy S I9000 Android Development] burakgon:
OMG This kernel must be a hidden treasure!!! My new kernel. Please don't corrupt this settings. 3D performance is sooo goood! Better than froyo on gaming. Thank you! Please don't stop developing.
[Galaxy S I9000 Android Development] mialwe:
Glad you like it :)

No, I won't completely stop working on midnight but I try to reduce dev time. As next version will bring some major changes could you please explain

Which settings?
[Galaxy S I9000 Android Development] burakgon:
3D FPS is so high like on froyo on ondemand 1000 mhz.

My test on stock and other kernels: 18 FPS

And froyo or gingerbread + midnight kernel: 40 and more FPS

But I don't know what causes it.
[Galaxy S I9000 Android Development] stratosk:
Hi mialwe,

First of all I wish you good luck with your kernel! And you are not alone when you work after midnight for this kernel :)

Anyway, I just want to let you know that the latest sources are compiled fine and don't boot.

I was trying this all night long. So, It is not your fault. I suggest you to patch your old sources with the diffs with the new one.
[Galaxy S I9000 Android Development] HM.Carbide:
Always good to be on the save side :)

Flashed speedmod to made backup.

Will test your kernel again, this time on rfs :)

Looking forward to an battery friendly tweeked conservative governor.
[Galaxy S I9000 Android Development] mialwe:
Glad you'll try again :)

@all: Thanks to stratosks' hint I managed to create a patch that updates the old sources (except fsr which may be one cause of the boot issue with new sources). Compiled fine, booted and will be tested now. If it's stable here I'll upload for testing. Version will be 3.x.x. Meanwhile I'll take some sleep or look for CWM3... :)
[Galaxy S I9000 Android Development] mialwe:
V 0.3.0 uploaded, new samsung sources merged.

Still recovery3e only, was not able to solve issues with Speedmod initramfs, tried to implement CWM3.2.0.0 but had problems with clearing dalvik-cache (was not cleared, error about not mountable sd-ext) and more important internal/external sdcard was not mounted after booting to Android (sdcard mounted fine in CWM3, though)...
[Galaxy S I9000 Android Development] pikachu01:
How about using CWM 3.0.0.5? It's commonly used across SGS custom kernels right now.
[Galaxy S I9000 Android Development] mialwe:
Jup, that would be an option, I'd have to use Chainfires (already PMed him about that) initramfs then as 3.0.0.5 has to be modified to work with RFS.

On the other hand I'd *really* like to find out what the problem with umountin@Hardcores initramfs when used with my sources is... just compiled unmodified, merged sources + hardcores initramfs + replaced JVQ-modules in initramfs -> same problem. Some day I'll find the reason :)

Update: Tried a lot of possible combinations \w modules/initramfs/tvoutserver-moving on Speedmod initramfs,... finally installed Speedmod T24 for testing, tried umount /system, /data and /cache via recovery - *same* problem !?! Failures on all 3 of them? This gets more strange every hour...

Update #2: Again tried several versions of Midnight kernel with Speedmod initramfs - umounting options still do not work (as in Speedmod-T24, too) BUT: COnverting to EXT4 and back to RFS *every single time worked* !!! Right now I'm testing Midnight 0.3.5 on EXT4 (/data, /cache, /dbdata)...

THe only change I left out is moving the start ov tvoutserver from init.herring to init.rc in the initramfs. So /system cannot be un/mounted via recovery menu but conversion seems to work fine :)
[Galaxy S I9000 Android Development] mialwe:
0.3.5 uploaded, filesystem conversion worked several times without a problem.

- Speedmods' initramfs with CWM2.5 re-implemented

as conversion EXT4/RFS now works.

- mount options in CWM -> mount & storage still don't work, tested

Speedmod-T24 where they did not work, too.

- Module version in .config now empty (LOCALVERSION)

- reverted moving of tvoutserver start from init.herring to init.rc so

=> using stock Speedmod initramfs with updated modules now.
[Galaxy S I9000 Android Development] HM.Carbide:
Have no time to check now in 0.3.5, but my original report about voodoo sound occured on new installed phone with 0.2.3 too.

Voodoo app says voodoo 10 driver, but there is no bass and treble like on stock, and no possibility to enable it, bass boost does not work, and headphone amplifier does not work.
[Galaxy S I9000 Android Development] mialwe:
Ok, thank you, I'll look into this tonight. Now that the initramfs works there's the time to search for the problem.

Update: Local rebuild with testing-fixes, headphone amplifier works, bass boost seems to work. Not sure what "bass and treble like on stock" means?

Update#2: Checked again and without those fixes - CoodooSound works fine. According to supercurio the (asked him about the reasons for deactivation to be sure) minor code changes I tested are not needed for SGS and intentionally deactivated so I removed them.

V. 0.3.7 with more tweaked CONSERVATIVE governor and disabled non-working umounting options in recovery will be uploaded today after some more testing. Thanks again to Hardcore for sending the recovery sources.
[Galaxy S I9000 Android Development] mialwe:
0.3.7 uploaded, for "features" see last post. To be sure I tested EXT4/RFS-conversion again, worked fine both ways :)
[Galaxy S I9000 Android Development] pikachu01:
Good work mialwe :)
[Galaxy S I9000 Android Development] aycynokia:
mialwe... can ur kernal suit chebon rom? based on dxjv9. i tried speedmod kernal on the rom and inside gallery very lag....
[Galaxy S I9000 Android Development] mialwe:
To be honest - I don't think Midnight would perform better than Speedmod except using OC to 1200Mhz, maybe this could make your Gallery a little bit faster. Speedmod is a great kernel and Hardcore - who has much, much more experience with kernel developement - did a very good job on making Speedmod smooth/fast. But you can try Midnight - it does not alter your ROM in any way (does not even wipe caches while installation via CWM zip) - if you don't like it just replace it with another kernel.

Btw. QuickPic is a great replacement for the stock gallery :)
[Galaxy S I9000 Android Development] zenosteam:
is the boot animation work on it ?
[Galaxy S I9000 Android Development] zacharias.maladroit:
a new kernel ?

nice ! :D

Hi mialwe

I hope you learn git fast

this would help you to share the kernel source more efficiently & to develop faster :)

good luck & all the best !

edit:

subscribe to thread
[Galaxy S I9000 Android Development] cantIntoCode:
I'm sure if supercurio isn't busy he'll help you out, when hardcore never released his latest source supercurio offered to help hom with git.
[Galaxy S I9000 Android Development] mialwe:
@zenosteam: As Midnight uses SPeedmods initramfs the bootanimation script supports animations in /system/media/bootanimation.zip and /data/local/bootanimation.zip. Never tested this as I don't use it.

@zacharias: Yes, Git would be a great option (there are so many things I learned just by "walking" through the various SGS kernel Git repositories. The Problem for me is the spare time. I'm not kidding if I write that there's almost no spare time due to job & family :)

For now I'll post the most recent patch here (2. post), provide my buildscript (reading buildscripts helped me a lot so I'll provide mine, too). Midnight itself is like a dwarf compared to your kernels or Speedmod - but I'll work on it :)
[Galaxy S I9000 Android Development] zenosteam:
ok ,good luck and keep the good work, i will test for you
[Galaxy S I9000 Android Development] mialwe:
Done. https://github.com/mialwe

Please note that the repository already contains experimental changes I'm currently testing for 0.3.8 (mainly /proc/sys/vm and scheduler tweaks).

Edit: Pushed buildscript and textfile containing various collected links to kernel dev information to repository.
[Galaxy S I9000 Android Development] Spalter:
Hi Mialve,

first your Kernel is great and works speedy and Stable for me.

And I miss only 2 things for my perfect Kernel:

1.Can you make Bootanimation work? I`ve tested it yesterday and it works not with system / media and data /local.I don`t need it for my life but its a pretty thing.

2.I missed the speedmod colour in CWM, it was implemented in 0.3.5 why not in 0.3.7 ?

Its a great Option to customize the color ,please can you ad it in your next version?

So thats all my wishes.

Thank you for your great work and your Time you Spend for us

Greetings Spalter
[Galaxy S I9000 Android Development] burakgon:
Will you release a bigmem version? This will be perfect for gaming rom. Sorry I've read it now. If you help me I can build it for you from codes when you update it
[Galaxy S I9000 Android Development] oswade:
what app do you use to benchmark my friend? So I can test myself.
[Galaxy S I9000 Android Development] baadboy:
Would be nice to have Lukiqq color settings in this kernel :cool:
[Galaxy S I9000 Android Development] burakgon:
Quadrant DNA
[Galaxy S I9000 Android Development] Lukiqq:
FPS in those "benchmarks" are the same with EVERY kernel, even stock... :)
[Galaxy S I9000 Android Development] Pusheka:
Super kernel except gaps in backup and conversion into eхt4.
[Galaxy S I9000 Android Development] mialwe:
What do you mean saying "gaps with backup" ? I had no issues with Nandroids for a long time now.

@burakgon: If you have any questions on compiling just PM me, as time is short it might be that I'm not able to answer immediately but I *will* answer :)

@lukiqq: As I do almost no benchmarks (never needed them myself) I do not know about DNA - but how would it make sense if it outputs the same values for every kernel? Or is this part of the "Quadrant syndrome"?

Btw: Thank you for your great post about MDNIE/tl2796 and colors. For now I'm working on another brightness/color adjustment patch but maybe I'll experiment again later :)
[Galaxy S I9000 Android Development] Lukiqq:
Me too because available benchmarking software these days are simply crap. Some of them (Neocore) just gives us max. possible fps (~60) as a score. Next one - Quadrant standard GPU tests results 1. 19-21fps, 2. 415-430fps, 3. 360-380fps, 4. 164-166fps - depending on the speed of the cpu, etc. etc. I don't think it makes any difference :) We have to wait for a real benchmarking software (Futuremark and its 3DMark?).
[Galaxy S I9000 Android Development] burakgon:
If you have high score on dna, other benchmarks will be great. I tested all glbenchmark etc.
[Galaxy S I9000 Android Development] Lukiqq:
Ok, what I wanted to said is that every single kernel, no matter stock or custom has almost the same 3D performance. Small discrepancies in this matter are result of different CPU speed. Huge GPU performance jump can be achieved by changing GPU drivers ONLY, but these days each available driver provides a similar speed.
[Galaxy S I9000 Android Development] burakgon:
That's right for these days. I don't know why.
[Galaxy S I9000 Android Development] nieohl:
stucked in the middle of flashing the midnight 0.8.4,

i did install the JVU rom, then this kernel with Odin3.

help?
[Galaxy S I9000 Android Development] mialwe:
I'd love to help you here but as I stated in first post I don't use Odin myself (Linux/Heimdall user). After 6500 MN0.8.4 downloads I'm quite sure this is not kernel related. You could try again or e.g. try with "SGS kernel flasher", maybe this helps. Sorry.
[Galaxy S I9000 Android Development] saszseb:
No use PIT and untick repartition!
[Galaxy S I9000 Android Development] Sw2rT1:
Hi Mialwe, I have a question.

What is the reason that when I turn on WiFi, i should wait about 30-40 seconds before WiFi can connect to my router?

If I turn WiFi and go to settings, then we can see that WiFi enabled but not connected to the point.

This happens only on your kernel.
[Galaxy S I9000 Android Development] mialwe:
To be honest - I have

- never heard about this

- no idea.

Sorry this happens to you but i have never touched wifi code in Midnight. If I turn on Wifi here I have to wait between 5 to 30 sec. for connection depending on signal quality. No other problems. Again, I'm sorry this is an issue to you. Wifi "enabled" does not mean that a connection has already been established.
[Galaxy S I9000 Android Development] Sw2rT1:
for example, on hardcore@speedmode, i have to wait to 2-4 seconds.

by the way. I use jvt rom.
[Galaxy S I9000 Android Development] Lukiqq:
It depends on your router load, not Mialwe kernel. Definitelly not kernel fault.
[Galaxy S I9000 Android Development] hassan19:
thaaaanx man
[Galaxy S I9000 Android Development] loboy:
the kernel has a BM version??I really want this....plez link
[Galaxy S I9000 Android Development] -IK-:
Really nice Kernel, but is there any way to remove your branding picture when the phone boots up?

I really don't like the non standard look and I hate when ROM / Kernel devs don't give the option to remove their branding.

Thanks.
[Galaxy S I9000 Android Development] mialwe:
Waited a long time for someone not liking the logo :) Initially I expected a lot of users would complain about it.

To make this clear: The bootlogo (stock too) is hardcoded into the kernel source. We cannot give users the choice about logos. If it would be possible I'd have done this. Once compiled the logo is fixed, sorry.

And it's the only way a dev can leave his "fingerprint" somewhere visible. But as the dev or his "fingerprint" is not important I'll remove the logo, no problem. In case I manage to release a new version, that is, I'm not sure about that. Semaphore seems to be the way to go and maybe I'll stop working on Midnight.

Bigmem: Please just read post #2 (FAQ), that's what I wrote it for, 1st question. Or use "search this thread" for "bigmem".

No. I just don't have the time (and motivation) to build and upload another version. Midnight aims to be one stable package optimized vor average daily use - no bigmen sacrificing other features, not benachmark-optimized - just a kernel that has the features I missed when I was using Speedmod a few moths ago. And it already does more than that because of users requesting them.
[Galaxy S I9000 Android Development] -freedroid-:
..and that is exactly what it is. :)

Do you have any plans for a XXJVU version?
[Galaxy S I9000 Android Development] stratosk:
MIDNIGHT-0.7.6.tar - [Click for QR Code] (6.46 MB, 7557 views)

MIDNIGHT-0.8.4.tar - [Click for QR Code] (7.14 MB, 8564 views)

Of course, Semaphore is not only way to go.

Please don't stop working on Midnight. We all need you, and your kernel. You are doing a marvelous job and other developers (including me of course) and users benefit from your work.

Keep walking (and working) :)
[Galaxy S I9000 Android Development] -IK-:
I appreciate your work and from an aesthetic point of view, the logo is nice looking, but for what I do and where I work, the phones need to look standard (yes, even at boot up) and custom logos look unprofessional.

Other devs find other ways to fingerprint their work without using logos (Chainfire comes to mind).

Anyway...I wasn't criticising your work. The kernel seems very good. I also hope you continue development.

I'll probably just switch to another kernel.

Thanks.
[Galaxy S I9000 Android Development] robo116:
logo

Hello great Kernel and battery live on this one.

Why complaining about the logo you only see it for a few seconds and its gone.

I dont restart my phone 10 times everyday so i dont mind.

Keep up the good work.
[Galaxy S I9000 Android Development] Jose_Paramore:
Nice kernel... but no voodoo color?

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Android Development] nmcc89:
I've always seen this as a perfect replacement to speedmod; it offers the same stability which makes it great for everyday use but there is also the option for higher customisation which speedmod never gave. Personally I don't see the need for a bigmem version, I think the straightforward approach you have taken works well. You've done a great job here, keep up the good work when you've got the time :)
[Galaxy S I9000 Android Development] betoNL:
What about CF Bench and Antutu?