yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] mariachi202:
I`ve beeen using this kernel since its very beginnings, even before it was dubbed MNICS,

and just wanted to thank the developer for his painstakingly meticulous work.

Aside from this, this thread is probably the most productive on XDA.

I`ve been reading and reading and i`ve yet to come across an misplaced or repeated post.

Regarding the modem issue, I used to experience the same kind of behaviour after a while of usage, and flashing the ZSJPG modem cured all my ailments and improved my battery life.

Cheers and thank you mialwe.
[Galaxy S I9000 Android Development] strickyy:
Im on CM9. First i thought it is kernel related, but its probably not, as i had the ssme issue with semaphore and thrre was a guy reporting the same issue with the stock CM9 kernel so it should be a rom bug.
[Galaxy S I9000 Android Development] Code124Y:
owh... take it easy... its because its not a normal usb output... the voltage is too high to make it like that.. sometime using iphone head plug + USB use on my SGS will also giving me random fly touch...

and some note for all friends have touch screen problem...

can you check your battery? is it a bit fatter then before?

well as i know. capacitive tounch screen is base on HID technology, in other word..the electric in human body giving the screen knowing where we touch. But if the phone getting a too high voltage on it and its not feeding back to ground and it will produce "ban electric" at this time, when the ban electric is everwhere on the phone, the touch sensor will go weird. something, plugged into the phone which have too high "ban electric"will causing screen mad. including 3.5mm using TV-out plugged to a very old TV and the screen will go mad too.

im not sure what is the correct word for "ban electric - 禁电" can someone help me translate?

sorry for my bad english, im trying to help seen i know it hardware problem... 100% no related to kernel...(but i dont know IF the fast-charge changing something else related for intake voltage... it seem to be not safe to use. high voltage charging will make your battery die... if the battery getting bigger or fatter mean you have to buy a new one...)

hope this help... cheer...

Sent from my GT-I9000 with tiramisu 1.9.5 with semaphore 1.1.1s
[Galaxy S I9000 Android Development] Kocai:
That hello-hello bug (which has occurred to several people since CM7 I think) does not related to kernel. If my memory serves me right, some people still experience that hello hello bug even though they flash another modem(s).

Have you tried flashing this? For me, I never experience that hello-hello bug (fortunately) and flashing that audio lib files didn't break anything also. I don't know if it helps get rid of the HHB and whether that has been merged to the latest nightly build or not. Maybe you should try flashing it?

@mialwe: anything new/interesting regarding the kernel on the latest nightly build CM9 that you're going to implement? I'm currently testing the stock kernel. I miss the touch wake feature.
[Galaxy S I9000 Android Development] mialwe:
Thanks for posting the link, totally forgot about this as I don't have issues...unfortunately I ran out of "thanks" for today, sorry.

I'm currently using my dev version on CM9 05-07 nightly without issues, all i9000 related changes pawitp did have been merged and I will continue doing this.

To be honest as I'm using CM9 only for some time now I'm thinking of making MNICS CM9 only (or CM9 based). This way I would be able to strip down the app features (only the options needed and not included in CM9 menus), the source is based on CM9 anyway and it would give me the option to make MNICS somehow "integrate" into the ROM. Not sure yet, maybe I'll leave everything as it is.

As MNICS already does everything I want and seems to be somehow stable there will not be too much new features, new versions will be uploaded less frequently as you may have noticed.

fast_charge will be removed in next version as I read it possibly harm hardware (found no report about this) and it therefore has been removed from some other kernels, too until safety is proven.

Next MNICS will come within a week I think, real life will tell me, sorry...
[Galaxy S I9000 Android Development] malcho:
I also using cm9 nightlies after trying almost all roms.And i think it provides all i need plus constant updates.

I support your choice.
[Galaxy S I9000 Android Development] piccobit:
I'm using fast_charge since it was available with your kernel and until now I didn't see any problems with it.

Looks a little bit strange to me to remove it without any existing reports about hardware harm.
[Galaxy S I9000 Android Development] 2k4ever:
I hope you will keep the kernel AOKP compatible as well and not just focusing on CM9

but if its only about the functions of the app, that shouldn't be a problem, as AOKP provides more ROM-based configuration possibilities than CM9
[Galaxy S I9000 Android Development] Kocai:
Hey why did you say sorry? I was simply asking if you find some changes that are interesting ;)
[Galaxy S I9000 Android Development] Rootax:
This kernel seems perfect. Are you working on new stuff or just optimizing things there and there ?
[Galaxy S I9000 Android Development] mialwe:
Glad you like MNICS.

I wrote about next version about 5 posts earlier (on the top of this page) :)

Next version will be a test version to be flashed with Heimdall/Odin using our new initramfs, more info provided by Stratos here.
[Galaxy S I9000 Android Development] DerTeufel1980:
This sounds really awesome. Great that you and stratosk got this working.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] mialwe:
20120509-6-CM9

- changed naming (date-version-[stock]/LR/CM9)

- changed to new initramfs system (download mode flashable)

- changed to Odin tar package (Heimdall: extract + flash zImage)

- removed fast_charge patch

- freed 2 Mb more RAM, testing

- CM9/i9000 kernel source sync

- reworked logfile /data/user.log

Download in first post.

For now CM9 version only, stock-RAM and LR will follow.

As a lot of users experienced bootloops with all ICS/i9000 kernels Stratosk opened a thread to investigate this and after a few posts and pm we decided to work on an initramfs which can be used to build Odin/Heimdall flashable kernel images.

This initramfs has several advantages:

- faster boot

- no need to extract separate sub-images (that's how ICS kernels with default initramfs work)

- kernel flashable via Heimdall/Odin/CWM-zip

- included kernel modules

After the first posts about the Semaphore test version including the new initramfs in Stratosks' bootloop thread the new kernels will

- not cure existing bootloop issues but

- maybe prevent new bootloops while using this kernels

While testing different versions of the new initramfs including flashing lots of ROMs and modems and wiping cache and dalvik-cache I was not able to get a single bootloop again.

Suggestion:

- flash your desired ROM (if needed)

- reboot to make sure it does not bootloop with original kernel

- enter download mode

- flash Semaphore/MNICS new-initramfs kernels (tested MNICS/Heimdall only)

Please report if bootloops occur while using the test kernels (NOT after e.g. flashing another ROM which will install it's default kernel), if possible please provide /data/last_user.log for MNICS which will contain the init stage log messages (new) and the known initramfs/script/init.d log messages for your LAST boot.

Big thanks to Stratosk, I enjoyed working on this with him *a lot* :)
[Galaxy S I9000 Android Development] DerTeufel1980:
Afaik, one user of my kernel could restore his device using semaphore for odin.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] stratosk:
I enjoy working with you too, my friend!

THANK YOU, for all your hard and excellent work!
[Galaxy S I9000 Android Development] strickyy:
-kernel flashable via Heimdall/Odin/CWM-zip

Will you add a CWM zip as well? :)
[Galaxy S I9000 Android Development] mialwe:
Most probably not for now as this is for testing the new initramfs/download-mode flashing.

I have to think about which version I'll upload because stock/LR/CM9 version via CWM and Odin/heimdall versions = 6 different kernel versions I would have to upload for each new version.

Not sure about that, I'd prefer using the Odin/Heimdall/downloadmode version only.

One can create a CWM zip by taking an existing kernel CWM zip, strip all things from the ZIP/updater-script taking care of other files, kernel apps and modules (not needed anymore) and put the zImage of the new versions into the zip replacing (and renaming it as) boot.img. Untested but should work.

Maybe SGS kernel flasher works, too - not tested yet.
[Galaxy S I9000 Android Development] giulival:
this post suggest how make a Kernel zip into a tar to flash with odin

http://xdaforums.com/showthread.php?t=1644240
[Galaxy S I9000 Android Development] mialwe:
Yes I know that post. It includes an Windows executable wich does what it does, don't know if it works and never tried as I use Linux only.

We have restructured the initramfs and rewritten the init script and put some work into this, don't know what the Windows executable does to CWM zips. You can try if you want :)
[Galaxy S I9000 Android Development] malcho:
I think it's time for joining forces and build ultimate kernel.

Stratosk ,mialwe i need help.

Can you check Perka thread cm9 building.

We have a problem with location of cm9 kernel.Check latest posts.

Thanks in advance.

mialwe test kernel runs good so far flashed with odin.

http://xdaforums.com/showthread.php?t=1533711
[Galaxy S I9000 Android Development] Christophe86:
hi mialwe,

I'm not a user of your kernel, but I would like to thank you for your teamwork with stratosk on developing a kernel with the new initramfs which should prevent from having bootloops in the future and give us the possebility to flash a ics kernel with odin or heimdall.

a big thanks goes out to both of you! I love to see it when devs work together and share their knowledge :thumbup:
[Galaxy S I9000 Android Development] strickyy:
Flashed it with Odin now, so far, so good.
[Galaxy S I9000 Android Development] mialwe:
Stock-RAM and LR versions are uploaded: http://xdaforums.com/showthread.php?t=1551410

@malcho: Hm, haven't synced CM9 for two or three days now, I'll try tonight.
[Galaxy S I9000 Android Development] malcho:
Ok thanks.

Just to know i managed to wipe dalvik cache on test kernel without problem.

All previous versions of any kernel in 80% caused me a bootloop.

Thanks for great work
[Galaxy S I9000 Android Development] mialwe:
Thanks for reporting back malcho. I just tried the CM9 sources sync, posted the result to the compile-cm9 thread. Not sure if it helps you in any way.
[Galaxy S I9000 Android Development] 2k4ever:
first of all, thanks for continuing to support the LR version and not just concentrating on CM9!

About the CWM issue: i would really like to be able to flash the kernel from my phone

but Mobile ODIN should allow just that:

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

i haven't tried it myself Yet, though
[Galaxy S I9000 Android Development] sUsH667:
so midnight-app is not needed anymore? or does it come packed with the zImage in the tar-file?

thx & greetz,

sUsH667
[Galaxy S I9000 Android Development] mialwe:
Exactly :)
[Galaxy S I9000 Android Development] sUsH667:
cool, thx!

always thought such a zImage-file is ONLY a kernel, didn't know that it can include apps, libs and stuff, too... thought that this is only possible with a cwm-flashable zip-file. stupid me! ;-)

greetz,

sUsH
[Galaxy S I9000 Android Development] extralife:
Quick reply, neldars flasher doesn't support (yet) device.

... using tapatalk
[Galaxy S I9000 Android Development] strickyy:
It's just exactly, without that second E. :p
[Galaxy S I9000 Android Development] mialwe:
Uups, corrected. Thank you very much :o
[Galaxy S I9000 Android Development] Bejda:
@Mialwe,

Hello :)

Could you have a look at this last-kmsg i got after having 1 bootloop(s) and finally boot please.

http://xdaforums.com/showpost.php?p=25886314&postcount=162
[Galaxy S I9000 Android Development] BRSG:
Tried that, but it gives an error related to a partition size different than expected and it refuses to flash exiting the app...
[Galaxy S I9000 Android Development] habylab:
Is there a faster boot time like mentioned?

Sent from my Galaxy S running Slim ICS 3.5 and Midnight kernel from my XDA Premium app.
[Galaxy S I9000 Android Development] extralife:
ok, not a big deal - just modified updater-script - tested

you can use it as template - just change zImage inside zip

- last midnight - cm9 - cwm flashable -
[Galaxy S I9000 Android Development] sigarocubano:
Why only *.tar? Can you post *.zip for flash via cwm?
[Galaxy S I9000 Android Development] mialwe:
Thanks, nice :)

But as posted you don't need the /system/lib contents and MidnightControl.apk as they completely in the kernel image. Can save you some Kb and for the modules it would be a cleaner approach unless you did not pull the correctly versioned modules from your system.

Have explained that one page back if I remember right. Extralife provides a CWM zip one post back.
[Galaxy S I9000 Android Development] extralife:
hurry, hurry - think, thought, thought :D

changed zip.
[Galaxy S I9000 Android Development] sUsH667:
took your zip as template and zipped together the standard- and LR-version for everyone that needs it.

greetz,

sUsH667
[Galaxy S I9000 Android Development] jacobuscuracao:
I'm sorry, I've used your kernel with confidence and I appreciate your work, but even though I have over a year of flashing and experience with Odin (if I have to) and CWM I don't even know what Heimdall is, where to get it or how to use it.

it's just too much trouble, sorry
[Galaxy S I9000 Android Development] Kocai:
What? You can flash the tar file using Odin.
[Galaxy S I9000 Android Development] saszseb:
http://www.glassechidna.com.au/products/heimdall/

I've used it in command line for a year. Much better than Odin.

Sent from IMM76K.
[Galaxy S I9000 Android Development] mialwe:
What exactly is "too much trouble" ???

- reboot to download mode

- flash kernel with Odin or Heimdall
[Galaxy S I9000 Android Development] Fenvarien:
Regarding Mobile Odin: It's not usable with CM9, it throws an error about 'unknown partition layout'.

@Mialwe: Thanks for the new, Odin-flashable version and your cooperative effort with Stratosk!

... tapatalked
[Galaxy S I9000 Android Development] jacobuscuracao:
well, no offense, but there's no instructions ... it may be self-explanatory to some, but I think instructions are in order, which now I had to figure out for myself. e.g. if using Odin:

- use odin version ..... (I use v1.7)

- ensure no Kies processes running

- startup Odin

- bring phone in download mode via 3-button method

- connect phone and ensure Odin recognizes the device

- select 'PDA' and browse/select the kernel

- make sure you do not have 'repartition' checked (so it must NOT be checked)

- press 'Start' and verify that it completes successfully ('PASS' is shown).

With this I was able to load your kernel and everything looks OK

but then I've not had bootloops in many months
[Galaxy S I9000 Android Development] 2k4ever:
if you aren't able to use Odin, you shouldn't flash this kernel or ICS and any other kernel in general

The probability that something goes wrong (e.g. the infamous ICS bootloops) is not very high, but its there

and in such a case you have to know how to use Odin in order to get you device back (maybe also heimdall, don't know about that)
[Galaxy S I9000 Android Development] mialwe:
Well, I think you misunderstood something here:

- for MNICS (and earlier Midnight for Gingerbread) I give *all* my spare time. There's nothing left. Priority is from 1) family to 2) job, 3) kernel, 4) sleep.

- I'm doing this for free because I enjoy working with code for 20 years now, nobody has to pay for it

- between releases there is a *lot* of work behind the scenes to get this running without too many bugs

- I daily try to find the time to answer questions and give information in this thread

- last: I cannot provide detailed instructions for a software (Odin/Heimdall) I have not developed myself and for which instructions are posted all over the web + there's a question forum for things like that here at XDA (and for Heimdall a dedicated thread).

I just don't have the time to do this research for you + it will clutter the OP/second post which I try to have clean and with kernel related information only (and not too much technical stuff) and credits.

=> this kernel thread contains information related to using this kernel, not other software. That's why it is a kernel tread. If any other user wants to help and explain thats absolutely ok, If I happen to find the time I'll answer myself, too. But you cannot request that.

Besides that I don't even own a Windows machine (used laptop + Linux only) and cannot provide any information on Odin/Windows.

No offense from my side, too, but if you want to customize your phone you have to search, read and learn about it as everybody has to. I cannot prepare everything in detail and serve it to you.

Just as I had to learn - as I like to try myself befor asking somwhere - how to compile kernels, compile recovery, work with initramfs, source patching and finally implementing own changes. I had to ask a few questions to other devs but 95% information is out there and I just had to use a search engine, read and learn.

Sorry if this sounds too harsh, not intended. But in general there seems to be a tendency to request things from others without doing anything yourself. Not on this thread I have to say - I always liked the way users are communicating here - big thanks to all for this :-)

You are not serious, are you :D
[Galaxy S I9000 Android Development] fahad123:
don't know why people is complaining too much about the .tar package kernel... we used to flash the kernels on GB via odin.. almost all of them.. its not a problem.. flashed the kernel via odin and so far everything is great as always.. thanks Mialwe!! :)
[Galaxy S I9000 Android Development] piccobit:
Sad to hear that you really removed the fast_charge support! :(

Since I'm using it on a daily base (of course without any problems), that will keep me tied do your 202 kernel, especially I currently can't see a significant advantage using the newest version on my device.
[Galaxy S I9000 Android Development] mialwe:
Yes, sorry for that. I think about reimplementing fast_charge every day but I'm still not sure as I don't even understand *how* it could damage hardware. But as I'm unsure I think about responsibility and keep it removed for now.
[Galaxy S I9000 Android Development] malcho:
Latest nightly and test cm9 kernel?

Did i do something wrong or...
[Galaxy S I9000 Android Development] scheichuwe:
I had that when using my own MIDNIGHT-build (some weeks ago) combined with older modules...

Did you flash the .tar file with Odin/Heimdall?
[Galaxy S I9000 Android Development] malcho:
yes via ODIN
[Galaxy S I9000 Android Development] mialwe:
That's right. The cpufreq_stats.ko module in /system/lib/modules does not match the kernel version.

- if you did install it vie Heimdall/Odin: please provide /data/user.log

- if you did it install in any other way: please reflash using Heimdall/Odin.

EDIT: Just to save some time later: Can you chack if you have /system/lib/modules/ansi_cprng.ko and what timestamp (= created ) this file has?

Sorry, this information should be in the user.log, too.

Did you use this version before the new nightly, too, in that case without this issue?

0510-nightly downoading right now, have to go afk for some hours now but I'll check this and try to reproduce it with latest nightly ASAP if you can provide the log.
[Galaxy S I9000 Android Development] mialwe:
Ok, you don't seem to have the directory itself:

rm: can't remove '/system/lib/modules/*': No such file or directory

Can you check this? In the downloaded 0510-nightly it does exist so that's a bit strange.

If the directory is not there you can try to create it (/system/lib/modules) and reflash the kernel again. Not sure if this will work as the new initramfs chechs for the version of ansi_cprng.ko in this directory which should exist on all kernels.
[Galaxy S I9000 Android Development] malcho:
I didn't have that folder so i ectracted form cm9 zip file and copy it to system/lib.

Reflash kernel boot and folder is gone.

Create empty folder reflash kernel and now it's ok.

Yesterday i was on nightlies 0905 i flashed your kernel.

After that simple flash of nightlies 1005 then your kernel and this happens.

Never mind i have to go home now real life first:)
[Galaxy S I9000 Android Development] piccobit:
Nothing to regret, I completely understand that you bear the full responsibility! ;)

Nevertheless, I'll keep using fast_charge and will report if something bad happens! :D
[Galaxy S I9000 Android Development] mialwe:
Just tested this (dentist let me go early :) ):

- was using MNICS @ CM9 0507-nightly

- downloaded 0510-nightly

- flashed 0510-nightly

- booted once

- rebooted once to check if I have a bootloop - nope (still CM9 kernel)

- downloaded MNICS ...-07.tar

- extracted zImage

- flashed with Heimdall

Thu May 10 14:34:37 GMT 2012
generating mount directories...
generating device nodes...
mounting devices...
version: 3.0.8-MNICS-20120509-7-CM9
updating modules...
found /data/local/logger.ko, updating...
coping kernel app
...
...

= > All fine, worked perfectly, /system/lib/modules are there (MNICS does *not* remove the directory itself), kernel modules are copied correctly, CPUSpy works as it should.

Strange.

What were your exact steps for flashing CM9 + MNICS?
[Galaxy S I9000 Android Development] damianmb:
Hi, why the fast_charge script was removed? It really works for me at least.

EDIT: I read some posts before now.. the XDA search doesn't work quite well :(
[Galaxy S I9000 Android Development] malcho:
I will try again tommorow with new nightly.Since nobody else have a problem no need to get worried.Plus hangover from last night:)

Edit:diference is you flashed zimage with Heimdall and i flashed tar with odin.
[Galaxy S I9000 Android Development] jacobuscuracao:
*dentist*, eh? that's alright, you don't have to tell us her name ...

loaded on Cm9 of May 8th this morning using Odin and still working fine after 14 hours no problem, except for the missing instructions that I had to figure out miself.

Now my question, and maybe this is stupid: what WAS the reason people got bootloops? 'cause I don't think I saw an explanation anywhere .....

tx in advance and best regards,

Jacobus

---------- Post added at 07:32 PM ---------- Previous post was at 07:26 PM ----------

actually yes, I was serious :) I'm a programmer, albeit on a totally different platform and language, but I always insist on detailed instructions in my job ('foolproof'). It gets to be part of your personality.

but I get your point, none taken and grateful for your effort, for sure.

"if it's worth doin' in production, it's worth documentin'"
[Galaxy S I9000 Android Development] Kocai:
LOL because of this --> *dentist*, eh? that's alright, you don't have to tell us her name ...

Personally, I believe some people who flash on CWM with their USB cable plugged in that got the bootloop problem. I've never had any bootloop when flashing custom kernel. And I did try (once) switching between kernels, no bootloop.

And you can see how many people on CM9 thread say that they got into bootloop when flashing CM9 ROM (with their USB cable plugged on).

I flashed the newest nightly build coming from CM9 with mnics kernel also no bootloop.

The only time I got bootloop (since using ICS) is when I flash theme.
[Galaxy S I9000 Android Development] Fenvarien:
So how about writing up a well structured, detailed step-by-step guide about the usage of Odin in order to flash a custom kernel?

This way you could help others that run into similar problems with your experience in production and documentation :-)

And finally, what you missed in the OP of this kernel would be fixed by yourself.

... tapatalked