yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] yaatzek:
@Mialwe

I didn't point that battery stuff from devil to make You copy it. I am not a dev, just a noob, but i totally agree with Your attitude to developing, and wanted only to give You a hint. Copying is horrible disease in this times, but maybe You could make midnight idle Your way :D I really like Your simplicity way to kernel development. I think that casual users don't need those finctionalities which provide devil and glitch.
[Galaxy S I9000 Android Development] adrianmak:
should I have to delete all existing init.d script before flashing this kernel ?

---------- Post added at 07:28 AM ---------- Previous post was at 06:56 AM ----------

did you turn off all data sync during midnight ?

Are there any shortcoming to use LR version but not CM9 version ?
[Galaxy S I9000 Android Development] ak:
You are right man .... Thanks for all ... To you and Mialwe for the great work. :thumbup:
[Galaxy S I9000 Android Development] Christophe86:
ok, this sounds weird :D lol
[Galaxy S I9000 Android Development] piccobit:
Yeah! :D
[Galaxy S I9000 Android Development] lippol94:
I don't know if it can help, but every time it happened to me to end up in bootloop after flashing a kerbel, it required to flash Midnight 079 to 'cure' those.

Don't know if you already knew it, but it can be a good start point to look for the answer on.

Waiting impatiently for your next release!

Sent from my Samsung Galaxy S running CyanogenMod Blueberry EDITION

Sent from my Samsung Galaxy S running CyanogenMod Blueberry EDITION
[Galaxy S I9000 Android Development] mialwe:
Next version will most probably contain fast_charge as single new (old, readded) feature, nothing else, don't expect too much here :)

About MN0.7.6 - yes, Gingerbread kernels always seem to solve the bootloop issue but I absolutely don't know why, I'm personally using Midnight0.9.0 for this.
[Galaxy S I9000 Android Development] fishears:
I'll be happy with that :D
[Galaxy S I9000 Android Development] 2k4ever:
this is a bit offtopic, but as you are interested in the whole bootloop situation:

I just got into bootloop once, but i couldn't get my phone back using the GB kernel (Midnight0.9.0 actually)

flashing the kernel brought CWM back and i was able to flash your ICS kernel again, but i was stuck in CWM loop regardless of what i did (flashing other kernels, even restoring full nandroid backup didn't get me past CWM)

had to flash stock JVQ with partitioning, than i could change to ICS and restore my nandroid backup
[Galaxy S I9000 Android Development] lippol94:
I wasn't talking about Gingerbread kernel but Midnight ICS! It seems old releases fixes bootloops problems. I thought that old versions don't read some values of new ones.

Just a humble opinion

Sent from my Samsung Galaxy S running CyanogenMod Blueberry EDITION
[Galaxy S I9000 Android Development] 2k4ever:
mialwe, in case you haven't seen it already I'd like to bring a very interesting new project to your attention:

AROMA Filemanager

http://xdaforums.com/showthread.php?t=1646108

would be really cool to get it integrated into midnight in the sense of a new entry in CWM's main menu (or in Midnight submenu or wherever you see fit) called "AROMA Filemanager" that would install "aromafm.zip" (which the users would have to put on the internal SD and name properly themselves - it would be ideal to only show the menu entry if the file is present) without any further confirmation
[Galaxy S I9000 Android Development] extralife:
Latest cm9-self-kang(~hour ago) + latest midnight = fantastic

... using tapatalk
[Galaxy S I9000 Android Development] mialwe:
Guys I'm getting strange wakelocks with currently CM9 0515, yesterday "wakelock_backoff", tonight WhatsApp running wild and keeping my device awake so next version will be delayed a bit longer.

Strange thing as nothing was changed beseides readding fast_charge, maybe I just need a clean install one more time...
[Galaxy S I9000 Android Development] yaatzek:
I didn't investigate that deep, but I've also noticed that this night battery went more down then usually. Currently I'm on devil, and as I said before I lose at night max 1-2 %, yesterday I've lost 10%. So it is probably newest nightly influence.
[Galaxy S I9000 Android Development] muff99:
Im on CM 0513, then flashed your kernel: Low battery performance here as well.

I also have another strange effect: After reboot, I enter my pin (the one for the mobile oeprator, not a android security pin), and my device instantly reboots. After the reboot, the pin entering works.

I will flash 0516 without your kernel to see if my problems persist with vanilla CM ...
[Galaxy S I9000 Android Development] deedeeceleb:
its a known nightly bug which has already been resolved in the latest nightly.....

Gesendet von meinem GT-I9000
[Galaxy S I9000 Android Development] mialwe:
But please don't forget that nightly-bugs appear and get resolved from nightly to nightly, too so don't compare -13+MNICS with -16+stock kernel :)

Additionally there's no information if you use e.g. overclocking/undervolting which are reasons for reboots/freezes.

Never experienced a reboot here after entering the PIN (stock voltages, 1.128Ghz).

There was one nightly showing the bootanimation after PIN again but this has been solved with nightly-14 (or -15? Don't remember).
[Galaxy S I9000 Android Development] muff99:
No undervolting, no overclocking. I did something special, though: I almost bricked by device after flashing the tar via heimdall, and not the zImage within :-/ But since I was able to enter download mode, I could revert my mistake by flashing the image, after that everything looked ok ... besiodes the reboots after pin-entering and the low batt performance.

I'm on 0516 now, no reboot any more, so I guess it was the "bootanimation after login bug".

I will observe by battery usage for a few hours, then flash your kernel again for comparison.
[Galaxy S I9000 Android Development] Kocai:
Well I don't know how you define low battery performance but I can get 16-18 hours before my battery drops to 20% and it's the same with stock kernel. So overall mnics kernel doesn't perform bad regarding battery. It depends on the ROM, your internet connection, signal strength, how much time the screen is on etc. Just my opinion :)
[Galaxy S I9000 Android Development] ankithonda:
patch for 2WCR

why we cant record calls from this kernel ???? i have softwares those are asking for 2 way call recording support from kernel. is there any patch available for call recording ???? need it for ICS ...
[Galaxy S I9000 Android Development] extralife:
Stop cross-posting.

... using tapatalk
[Galaxy S I9000 Android Development] muff99:
My battery usage is back to normal: "Android OS" is not the top consumer any more, its now my screen again, which looks pretty normal to me.

I will flash your kernel again and see whats happening then.
[Galaxy S I9000 Android Development] mialwe:
Because it's a custom feature

- I don't use myself,

- that I don't know what it might useful for

- that is illegal in some countries.

- don't even know if this is kernel related

Note: \me = back on GB for some time.
[Galaxy S I9000 Android Development] jeozme:
topic is [kernel][ICS][18/05/2012] mnics (stock RAM/LR/CM9)

download is 20120516 ...

is that right or am I too fast? ;)
[Galaxy S I9000 Android Development] mialwe:
...changed to match kernel version. Upload date is 18th.
[Galaxy S I9000 Android Development] extralife:
cwm flashable
[Galaxy S I9000 Android Development] s1m4an:
Just flashed mnics16/05 and the SD mounts are inverted, now I have /emmc (8FBI microsd) as /sdcard.

Also I'm not on latest cm9 but on 10/05 was there some mountpoints commit in the latter nightlies that resolves this?
[Galaxy S I9000 Android Development] mialwe:
Please provide some more important information if you have issues:

- you are not on latest CM9 - are you on *any* CM9 ROM (edit: 10/05=your nightly?)?

- which version of MNICS did you use?

Edit:

- MNICS-CM9 includes the CM9 commits to be able to switch /emmc and /sdcard + the CM9 RAM configuration, worked fine with the last few nightlies I tested.

- MNICS-LR does not include those commits

If you have switched mountpoints with MNICS-LR on a non-CM9 ROM I made a mistake during compile time and will have to remove the -LR package.
[Galaxy S I9000 Android Development] jacobuscuracao:
I'm on the CM9 nightly of the 17th and I have no problem, a couple of hours ago flashed the CWM-flashable version of 16/05 two posts up
[Galaxy S I9000 Android Development] s1m4an:
sorry thought i put all the info there, my bad.

I'm on CM9 nightly 10/05 and just flashed mnics16/05 LR flashable zip from a few posts up.

Checked the .zip there's nothing to switch mountpoints there, I'll flash the latest CM9 nightly, not a problem for me.
[Galaxy S I9000 Android Development] s1m4an:
If you haven't flashed the LR version, we found the culprit -its in the LR version.

Just flashed the CM9 version and the mountpoints are ok. Just to make things clear this happens on an older nightly 10/05 might be fixed in the newer ones will flash latest one later and report back.

@mialwe so the option to change mountpoints in the latest nightlies won't be accessible with the LR version?
[Galaxy S I9000 Android Development] mialwe:
Correct.

CM9 uses it's own RAM configuration and ROM changes (including mountpoint switching) so it's simply

-> CM9 version for CM9,

-> LR version for LargeRAM (~386Mb, F4K e.g.) patched non-CM9 ROMs.

That's what they are made for.
[Galaxy S I9000 Android Development] adrianmak:
Is it not need to update if I don't use fast charge ?
[Galaxy S I9000 Android Development] mialwe:
From changelog:

20120516-1

- readded fast_charge

So - yes, correct.
[Galaxy S I9000 Android Development] s1m4an:
Gotcha, just was wondering because before this version I was using LR along with f4k patch on CM9 nightlies with no issues, thought that's what the patch was for
[Galaxy S I9000 Android Development] adrianmak:
I'm using the last version. I could not find Zipalign option in CWM.

Removed ?
[Galaxy S I9000 Android Development] mialwe:
Yes, a few versions ago. Did not know anyone actually uses it :)
[Galaxy S I9000 Android Development] sUsH667:
thx for your great kernel!

i have a question:

is it possible to add shortcut to some midnight-settings on homescreen?

would be cool to have nightmode-toggle accessable via shortcut, for example...

greetz & thx,

sUsH
[Galaxy S I9000 Android Development] s1m4an:
Flashed the latest nightly (20120517) and then mnics 20120516 LR and the mountpoints are in place, so I guess there was a commit in CM9 which affected LR version.
[Galaxy S I9000 Android Development] extralife:
http://review.cyanogenmod.com/#/c/15792/
[Galaxy S I9000 Android Development] mbsky723:
Why not to create ZIP flash package? I like the ZIP package

---------- Post added at 12:35 AM ---------- Previous post was at 12:06 AM ----------

Receive messages, BLN does not Bright
[Galaxy S I9000 Android Development] woj999:
Please give us zip file :-)

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] mialwe:
Thanks to extralife there is a template everybody can use to install latest versions via CWM if needed: http://xdaforums.com/showpost.php?p=25892085&postcount=923

Be sure to read his instructions.

One page back there are prepared CWM zips created by extralife (again) containing the latest versions: http://xdaforums.com/showpost.php?p=26256841&postcount=1021
[Galaxy S I9000 Android Development] mbsky723:
Thank you for your work
[Galaxy S I9000 Android Development] Bonta768:
---sorrywrongthread---
[Galaxy S I9000 Android Development] rtfpessoa:
I'm not getting this working right.

The kernel is awsome etc, but i'm not being able to get logcat working.

There is no /lib/modules folder in my device

Tried to reinstall several times the kernel i CWM and in heidmall, any tip?
[Galaxy S I9000 Android Development] 2k4ever:
yes, read the OP
[Galaxy S I9000 Android Development] rtfpessoa:
cannot find it..

can you say what it is or where is it?
[Galaxy S I9000 Android Development] mialwe:
I had another user with a similar issue - /system/lib/modules did not exist in his ROM (the kernel does NOT delete this directory).

As the modules installer depends on the file /system/lib/modules/ansi_cprng.ko the directory has to exist and must contain at least the file ansi_cprng.ko to work correctly (this module should exist on all kernels and is used to determin the module version - if it does not match the kernel version all modules will be installed after cleaning up the modules directory).

- You could try to create /system/lib/modules manually and put a foreign ansi_cprng.ko module there, then reflash MNICS - should work.

- Another option is to flash a CWM based kernel with the modules in the CWM zip itself - they should be installed in /system/lib/modules -> reflash MNICS, module version detection should work now.

Did you use any kernel cleaner script? Something that maybe cleanes the modules directory or even completely removes it?

If I find the time I will upload a version that takes care of non-existing /system/lib/modules directory... currently on CM7, maybe later, sorry.

EDIT:

- Your /data/user.log (or /boot.txt) should contain some error messages about the modules.

- Logcat has to be activated via CWM *if* all modules are installed correctly. Does not work without /system/lib/modules/... contents.
[Galaxy S I9000 Android Development] mnazim:
Toggle from CWM...!:)
[Galaxy S I9000 Android Development] rtfpessoa:
Ok....thats probably it i will look.

The rom is made by me, so i thought the modules were not needed anymore.

Thanks for your answer.
[Galaxy S I9000 Android Development] stratosk:
Hi Mialwe. I think that creation of /system/lib/modules may be enough.

I usually delete ansi_cprng.ko module to force the re-installation of modules.
[Galaxy S I9000 Android Development] benkya:
when i flash latest mnics via CWM here http://xdaforums.com/showpost.php?p=26256841&postcount=1021

lib/module folder is missing..

never use cleaning script..

then iam flashing back to mnics 202, and folder modules is back.. so for now i just stay with mnics 202.

never try flash with odin..

sorry for may english: )
[Galaxy S I9000 Android Development] donytsang:
Will you include Deep Idle option in the next version? :D

Very nice kernel and smooth, but with Deep idle should be better!~
[Galaxy S I9000 Android Development] 2k4ever:
10char
[Galaxy S I9000 Android Development] mialwe:
20120523-1

- bugfix: module installer failed without /system/lib/modules directory

- bugfix: sdcard wipe while switching GB->ICS

Download @ OP

For the rare cases in which the directory "/system/lib/modules" does not exist in your ROM the initscript tries to create it to make the automatic module install work.

When switching from GB to ICS using a ICS ROM installer with MNICS kernel the internal sdcard got wiped in last version. The dev of TWICS told me about this happening to him, at this time I did not think that it was the kernel/initramfs causing this.

After experimenting with Midnight for CM7 I maybe found the reason for this - the sdcard mountpoint "/sdcard" is created at init start and deleted at init end.

That's ok as long as the initscript does not detect a "emergency boot" which is initiated while installing ICS coming from Gingerbread. At this time the internal sdcard is actually mounted at /sdcard - without unmounting it again the initscript deleted /sdcard at it's end including all contents of the internal sdcard.

From this version /sdcard should be correctly unmounted before deleting the mountpoint.

To be sure always have a backup of important sdcard data - I did not :-/
[Galaxy S I9000 Android Development] piccobit:
Soso! ;)

Me too! :(

Now I know why I lost all the data on my SD card!
[Galaxy S I9000 Android Development] benkya:
someone please make latest mnics with cwm instalation.. i wanna try this.. thx
[Galaxy S I9000 Android Development] jacobuscuracao:
+1

I really hate having to start a laptop or PC after flashing a nightly ROM just to get the kernel back ...... much more convenient if it is simply a CWM flashable

pls pls pls pretty please with sugar on top?
[Galaxy S I9000 Android Development] mnazim:
MNICS CWM Flashable Zips...

MNICS-20120523-2-LR

MNICS-20120523-2-CM9

(Thanks extralife)

:)
[Galaxy S I9000 Android Development] mbsky723:
thank you～
[Galaxy S I9000 Android Development] benkya:
big thanks...

modules folder isn't missing. :)

great kernel.. mialwe thank you.
[Galaxy S I9000 Android Development] mialwe:
Glad it works for you.

But to clarify this - MNICS *never* provided or deleted the /system/lib/modules folder itself, it just tries to place it's modules in it.

All the new version does is trying to create that folder if it is missing in your ROM for unknown reasons.
[Galaxy S I9000 Android Development] Fenvarien:
Current mnics version is working great with the latest CM9 nightly. :) Thanks Mialwe!

... tapatalked
[Galaxy S I9000 Android Development] slaphead20:
great kernel :D

have a drink on me :) 8DR53855N31218639
[Galaxy S I9000 Android Development] chourmovs:
Best kernel for ics since several months

Congrats and thx
[Galaxy S I9000 Android Development] curl66:
Thanks for this great Kernel! Really the best!

I flashed the newest tar over CM9 + TWICS.

Works great, but may be i am too stupid :)

I dont get USB fast charge mode to enabled. I set it in midnight controll app, but after reboot it says current "DISABLED"

NSTolls says the same. I wiped NSTools seting from CWM. tried again, doesnt work for me.

What do I wrong?

Fast charging wil be great since i have the charger from the Tab 2000mA :)

Thanks!
[Galaxy S I9000 Android Development] test123456789012:
Hi Mialwe,

long time no see. :) Sorry for cross-posting, but I found a great article saying that conservative actually drained more battery because of tweakings which should make conservative more responsive. (for those interested: klick.) Maybe considering switching to a tweaked ondemand would make sense for your kernel, too.

Regards! Latest version is as stable as ever BTW!
[Galaxy S I9000 Android Development] Fenvarien:
I think it depends how the conservative governor is actually tweaked. With Mialwe's implementation I get the best battery life and it's still snappy.

... tapatalked
[Galaxy S I9000 Android Development] mialwe:
Thanks - and thanks for the link, quite interesting stuff, noted to be read tonight as soon as everyone here is at sleep :)

About conservative: There might be some misunderstanding here - my conservative changes are *not* made to save battery - if battery drains not too fast for us that's ok but not really intended.

The MNICS/Midnight conservative governor is modified get a smooth UI experience - something I missed \w e.g. ondemand somehow but I can't really describe it.

From your link:

MNICS/Midnight conservative (which finally has been made an governor itself called "smoove" in my personal CM7 version) uses two predefined lookup tables (one for normal scaling, one for scaling on higher CPU load to get faster upscaling on demand) and a lower than stock sampling_rate value.

Additionally the UP/DOWN_THRESHOLDs have been adjusted in various tests to achive e.g. low frequencies @ screen off + playing MP3 while scaling up just fast enough at higher CPU load @ screen_on *AND* scale down again if the CPU load drops.

I personally just like the feeling of smoove - never compared battery. But on the other hand - not too many users complained about poor battery life :D
[Galaxy S I9000 Android Development] mialwe:
<sorry for OT but I'm running out of time>

If I have to delete this post - moderators, please let me know.

I have to setup my wife's SGSII (:rolleyes:) tonight and I'm desperately looking for a firmware (DBT, XEU,...) that's stable enough.

She's using 2.3.3 and running in lot's of issues lately. I'm thinking of

- CM7 (using myself @SGS right now and loving it, too bad MIUI GB developement has stopped),

- stock 2.3.6 XWKL1 (read it's quite stable, cannot find a working download link) or

- CM9/stock ICS for SGSII - but I don't know anything about thosw two.

If anyone has deeper knowledge about 2.3.6/ICS @ SGSII please PM me. Thank you very much.

</OT>
[Galaxy S I9000 Android Development] Kocai:
@mialwe: I thought SGS II already has official ICS from Samsung? If so, you could install it on your wife's phone.

@moderator: sorry for the OT.
[Galaxy S I9000 Android Development] test123456789012:
Ah, thanks for clearing things up! :) Well maybe the posted links can help improving your approach even more! :) Regards!
[Galaxy S I9000 Android Development] Ripper88:
best kernel I have ever used. Thanks for your hard work.

CM9 ROM
[Galaxy S I9000 Android Development] habylab:
Can't believe you haven't read that before! Very interesting, great response.

Sent from my Galaxy S running Slim ICS 3.8 and Semaphore kernel from my XDA Premium app.
[Galaxy S I9000 Android Development] dinagoshen:
Thanks MIALWE !!!!

Amazing kernel !!!

works perfectly on Gummy 1.2

LR
[Galaxy S I9000 Android Development] Pac-Man:
I'll try this kernel tomorrow when CM9 Team release a new update, because these update contains some very interesting changes.

Anyway I tried your kernel in some updates and it works perfectly, doesn't run off battery and was smothly :-)
[Galaxy S I9000 Android Development] MAQ7:
Good job

very smooth and stable so far

Thanks
[Galaxy S I9000 Android Development] Gaegin:
I've got a problem.. i can't find midnight control app in app drawer. I flashed twice latest Midnight kernel in CM9 nightly, before i had Semaphore 1.2.0. How can i restore that app?

SOLVED: it was deactivated in the bottom of the app list.
[Galaxy S I9000 Android Development] mnazim:
SGS3 Kernel Source Released...!
[Galaxy S I9000 Android Development] strickyy:
Still no .zip version of the latest kernel?
[Galaxy S I9000 Android Development] mnazim:
Read a couple of pages will you???

:confused:
[Galaxy S I9000 Android Development] MikeChannon:
Closed at OP request.
[Galaxy S I9000 Android Development] dherre65:
Works great here. Did you try to clean cache, init.d and fix permissions?

Edit: i see what you mean, now i've got it too

Verstuurd van mijn GT-I9000 met Tapatalk
[Galaxy S I9000 Android Development] muncugabriel:
same here..

Sent from my GT-I9000
[Galaxy S I9000 Android Development] nmcc89:
No problems here. Running 0.7.7 on icssgs rc4.2. I always wipe cache and init.d before upgrading though

Edit: issue appeared after ~12h of use, see later post
[Galaxy S I9000 Android Development] RooceeD:
works fine!
[Galaxy S I9000 Android Development] ExAvantz:
which 1 to do 1st ?

- dalvic cache ?

- init.d ?

- fix permissions ?
[Galaxy S I9000 Android Development] jifeng:
Same issue here. I did clean Dalvik & Cache, but still had same issue.

Back to 0.7.4~
[Galaxy S I9000 Android Development] mialwe:
For those having issues: I'm sorry for this, never experienced an issue like that myself. Would you mind giving me some more info to debug this?

- ROM (one user with ROM in signature)

- Max. freq (do you overclock/used to OC with prev. Midnight?)

- CPU governor?

- Touchwake activated?

- NStools installed/used before/if yes, cleared NStools settings?

- /data/user.log (thread or pm)

- does it work for a short time and then freezes or does it freeze immediately after clicking the *first* app icon?

- did you try to use stock settings (1Ghz, sio, conserv., touchw. off), e.g. use the dont-use-Midnight-settings-once option in recovery)?

A new kernel usually does not require clearing dalvik cache or init.d (if the previous version worked).
[Galaxy S I9000 Android Development] ExAvantz:
0.7.7 : im having a freeze issue...

back to 0.7.4 or semaphoe 0.9.5b :confused:
[Galaxy S I9000 Android Development] yaatzek:
For me everything is flawless. Thank You especially for the vibration settings!
[Galaxy S I9000 Android Development] MagicOnline:
just flashed 0.7.7 will report back if I face a freeze or another issue.

0.7.4 was running great btw. :)