yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

After one hour all its OK! Deep sleep work I think can governator influence sod? Now I'm on luzactive

Edit SOD appaer I need to remove battery to turn on

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] DreamerTKM:
dmesg file for 1st SOD

Ok now SOD arrived...

I get dmesg file from /system/bin & /system/xbin

I hope I get the correct one...Christopher...
[Galaxy S Plus I9001 Android Development] Christopher83:
Thank you DreamerTKM, but I don't need these files, they aren't log files, but the dmesg binary files...

Seems that after the reboot, also in recovery, the previous log has been lost...

We could try this, after a SOD power off and after a reboot (normal reboot):

- connect your phone to your pc

- open a terminal

- run this command

adb bugreport > log.txt

this take a while (the report is really big)

- compress the log.txt and post it here

or, if you haven't adb on your pc, or you're not in front of it

- open Terminal Emulator app on your phone

- type and run these commands:

su
bugreport > /sdcard/log.txt

- compress the log.txt (you can find it inside /sdcard) and post it to me

Thank you!
[Galaxy S Plus I9001 Android Development] MIsterLemons:
I have never experienced any SOD, how is this possible?
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

No i try TO increase voltage off 25mv

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] DreamerTKM:
For others that want to help for the troubleshooting but don't have adb installed in windows...attached the adb.zip file for enable adb in windows without sdk....

extract the files out,

now you have a folder named ADB

put the folder inside C:\

open command prompt as admin

type cd \ADB

with device usb debugging enabled and connected to windows

check whether adb working or not with type in adb devices

if successful, list of devices attached will be shown and good to start

I found this on other website...correct me if I did something wrong...
[Galaxy S Plus I9001 Android Development] Christopher83:
Maybe there is something depending on the board revision which could cause this SOD problems...

To check the board revision:

- make a reboot

- open Terminal Emulator app

- type and run

su
dmesg | grep "AriesVE H/W revision"

I have revision 6...
[Galaxy S Plus I9001 Android Development] educk:
Re: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

it looks like the problem is not the board revision, I have board revision 6 too...I didn't get any sod's since my last log but I'll post a new log as soon as I get one :)
[Galaxy S Plus I9001 Android Development] Christopher83:
Who experienced SOD, could you try to use UV version and to try another CPU governor?

The default is OnDemand, you could try to use another (eg: LulzActive or SmartAssV2).

Let's keep on investigating...
[Galaxy S Plus I9001 Android Development] educk:
Here is the log you asked for :)

I'll try the UV version later. Untill now I had 2 SoD's

1. Ondemand 245-1401

2. SmartassV2 245-1824 (the log is from this one).
[Galaxy S Plus I9001 Android Development] Christopher83:
Nothing to do, the previous log infos, before SOD, are lost...

Thank you again Erik for your support!
[Galaxy S Plus I9001 Android Development] boombastick:
well i have a board revision 6 too. since the first sod i changed the govenor to smartassv2 and so far so good (i am using the uv version)
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

I use exuv versione i increse only frequ off 768 MHz of 25mv i set luzactive forma now from 3 hr no sod

I need TO compare voltage whit castagna kernel

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] boombastick:
speaking of the devil, and there is my 2nd sod. with smartassv2/row

not sure if it is the logcat u wanted

edit: another one.... attached as log2
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

Sod but no death ma reeboot!

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] SHiFT!:
4.1.2/4.2.1

Christopher83, can you make JB version?
[Galaxy S Plus I9001 Android Development] DreamerTKM:
He will as mentioned in first post...and now everyone attempt to solve the ICS bug first...
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

I try UV version and EXUV try to set voltage of castagna but randomly I have sod so I think that no the problem of voltage

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] educk:
Hello!

Well, I really like this kernel and I appreciate your work and I feel bad that this amazing kernel doesn't work properly becasue of these SoD's, only on some devices... I mean, VDD interface, 370 MB ram, a lot of optimzations...nobody did this for ICS until now.

Anyway, I found out some things: on arco's CM9 build 4 there are no SoD's at all, and it is based on 3.0 kernel. Clearly, this bug has nothing to do with your modifications (Custom Voltages, OC,UV/exUV, governors...) so it must be related to the kernel source code. Since the kernel from build 4 doesn't have this bug, the problem is somewhere in the commits arco made from 2013-02-06 to 2013-02-20 on the ics-3.0 branch.

I switched back to CM10 now, but I made a nand backup of build 5 with your kernel, so I can quickly go back if you find something...

I really hope this can be fixed somehow, I'll have a look at the sources these days and I'll let you know if I find something that may cause this.

Erik
[Galaxy S Plus I9001 Android Development] XeLLaR*:
AW: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

Educk can you post the line to get the hw revision inside terminal?
[Galaxy S Plus I9001 Android Development] Christopher83:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

Hi Xellar, here it is...
[Galaxy S Plus I9001 Android Development] DreamerTKM:
No offence but are you sure in build 4 have no SOD ??? I have more issues in build 4 than build 5...in build 4 I experienced random reboot + SOD but in build 5 I so far experienced SOD only...I also backed up CM9 and back to CM10 because I having final exam tomorrow and continue to test after my exam :)
[Galaxy S Plus I9001 Android Development] educk:
Re: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

This is really strange ... I remember, when I was using RC4 along with that 3.0.63 kernel doomsday compiled I had no SoD's at all. Sometimes I switch back to ICS when I feel like to play some high-end games...
[Galaxy S Plus I9001 Android Development] muhammadnajmi96:
Re: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

It's weird , I don't have any Sod on my phone :confused:
[Galaxy S Plus I9001 Android Development] DreamerTKM:
Oh...I remembered it already...That time the kernel that compiled by doomsday for ICS does not have SOD but in arco stock kernel yes...maybe doomsday know how to fix it?

Kernel compiled by Doomsday

3.0.62 & 3.0.63
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

J

Good idea now I try it

Edit now test flash kernel 3.0.63 no voltage control report later

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

Edit f.....ki...g SOD falso doom kernel affect

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Christopher83:
I'm really sorry guys...

I'll keep on investigating, but at the moment is quite difficult.

This morning I got a SOD after a full night successfully passed in deep sleep (99%) and aero mode.

I got it after some time I reactivate network in 2G mode.

I managed to redirect the kmsg and logcat infos to two internal files, but, unfortunately, when the SOD happened, nothing useful has been logged on kmsg and system&main logs...

Now, I'll try to create some test builds with some changes on various set of source files and try to get more logging info...

I'll let you know. :fingers-crossed:

So these problems happened with RC4 too?

Thank you all for your feedbacks and support!
[Galaxy S Plus I9001 Android Development] lontu:
I have no Reboots/SOD in Acro's kernel or this kernel...
[Galaxy S Plus I9001 Android Development] MIsterLemons:
So can you please let us know what is your actual hrdware revision?
[Galaxy S Plus I9001 Android Development] lontu:
I have revision 6

Thanks
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

I try to obtain hw revision command on terminal not make any result

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Christopher83:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

You need to run the suggested command after a reboot...
[Galaxy S Plus I9001 Android Development] Rhonin86:
Support is requested

Ciao Christopher,

i have started a survey in the android-hilfe forum based upon your proposed commands. I collect information about the boards in circulation, the used ROM / kernel / Recovery and the encountered bugs.

If i got enough information i'll provide it so maybe you can benefit from it to find a solution to SOD and other problems... If you need translated information (german -> english) do not hesitate to pm me.

Cheers

Rhonin
[Galaxy S Plus I9001 Android Development] Christopher83:
Thank you very much Rhonin!

Yesterday I made a build with ftrace support, I'm currently tracing the kernel functions, let's hope that the SOD will appear...
[Galaxy S Plus I9001 Android Development] MIsterLemons:
Thanks for all the work you are making for fix that damn SOD

---------- Post added at 02:35 PM ---------- Previous post was at 02:33 PM ----------

I also have revision 6, but any SOD since RC4 appeared to me...
[Galaxy S Plus I9001 Android Development] z4rro:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

I ha ve sod band my board:

<

<4>[ 0.000000] AriesVE H/W revision : 0x06

u0_a41@android:/ #

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] muhammadnajmi96:
Re: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

After using this kernel with CyanogenMod 9 RC5 by Acro for about 3 days , all I want to say is brilliant and magnificent!!! :D , no soft reboot and it's works flawlessly to me, no lags during games and browsing the web :thumbup:
[Galaxy S Plus I9001 Android Development] MIsterLemons:
Also magnificent for me. I have not faced any SOD so far, and performances are so better than CM10... But I can't still understand why all these people have SOD. I hope that they will be fixed for everyone one day.

Thank you Christopher, for all you did and hopefully will do for ICS users n i9001
[Galaxy S Plus I9001 Android Development] Christopher83:
R: [KERNEL][3.0.x][ICS] K^Kernel 3.0.x for ICS v1.2 [01/03/2013]

Thank you MisterLemons.

I'm keep on working on this branch, but I'm waiting for the next rom release by Arco (which will support the new wifi drivers), to release a new version.
[Galaxy S Plus I9001 Android Development] MIsterLemons:
Grande notizia!

Great news!
[Galaxy S Plus I9001 Android Development] piggysheng:
Any idea how can I get a backup stock kernel of Arco RC5? I have no soft reboot or SoD with current stock kernel, long battery life and smooth, but the responsive ain't perfect yet.. want to try this kernel yet fear the problem of SoD or soft reboot. ><

Baseband DXLE1

Governer ONDEMAND

I/O NOOP
[Galaxy S Plus I9001 Android Development] boombastick:
just flash the rom again without wiping to get back to stock kernel
[Galaxy S Plus I9001 Android Development] Christopher83:
Here it is, it's not signed because I created it directly on my phone:

Arco Kernel RC5
[Galaxy S Plus I9001 Android Development] piggysheng:
Thanks for it. Arco has just updated his ROM to RC6! I'll just wait patiently for your new release which compatible with the updated wi-fi driver :laugh: Once again, thanks!
[Galaxy S Plus I9001 Android Development] power96:
Will you update the kernel with the last RC6?
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, it's almost ready, I hope to release it in the next days.
[Galaxy S Plus I9001 Android Development] Christopher83:
K^Kernel v1.3 for ICS

Hi guys,

new v1.3 released:

- Kernel 3.0.71
- Sources reworked, cleaned and synched with ics-3.0 repo of Arco68
- Built with my latest custom Linaro 4.7.3-2012.03 toolchain optimized for Cortex-A8
- Used -O2 optimization flag for kernel image (to prevent display issues) and -O3 optimization for modules
- Revised PMEM allocations to preserve more memory for Surface Flinger
- Backlight Notification v9 (BLNv9) (Thanks to CastagnaIT)
- Customizable vibration intensity (Thanks to CastagnaIT)
- Ram Console support (Thanks to Ivendor)
- Optimized SLUB memory allocator (Thanks to CastagnaIT)
- Optimized ARM RWSEM algorithm (Thanks to Ashwin Chaugule)
- Filesystem dynamic read-ahead (based on disk size) (Thanks to Chad Goodman)
- Fast Random generator support (frandom) (Thanks to Eli Billauer)
- Optimized asynchronous I/O latency on solid state disks (Thanks to Dave Kleikamp)
- Fixed 100% battery notification after charger unplug
- Increased audio volume on board side
- New Broadcom Wireless drivers adapted by Samsung (dhd.ko) support for CM 9 by Arco68 RC 6 and next builds
- Added Adaptive and Hyper CPU governors

Also in this thread, inside the second post of the first page, after the changelog, you can find some useful info about some kernel features (work in progress)...
[Galaxy S Plus I9001 Android Development] SGS+_User:
Thank you Kernel is very smooth and I thin i can say this is performance :D

On gamimg I love it
[Galaxy S Plus I9001 Android Development] boombastick:
Sighhh.. SODs :(
[Galaxy S Plus I9001 Android Development] adrianzowe:
Hi Christopher, nice work :D

Just a question, because I haven't seen anythng concerning to this (maybe I'm blind :P)... how do you managed to get 370MB of ram memory? I mean, what did you "killed" to get 370MB? HD videos or something like this? I repeat, I don't see anything concerning to this in first post. Sorry if it's specified, I wouldn't have posted anything if I had seen it

Thanks!
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, you're right, I'll create a table to show the memory allocation for some of the resources that use PMEM...

No, HD video and playback work, I sacrified some memory for the Surface Flinger, a little bit for the ADSP (used by Video playback & Camera) and reduced the audio PMEM reservation (from 2MB to 1MB). I tested these changes and don't give problems.
[Galaxy S Plus I9001 Android Development] adrianzowe:
Thanks for your quick reply

So, flashing right now! ;)
[Galaxy S Plus I9001 Android Development] Christopher83:
Well, as promised, I added the PMEM memory allocations table at the bottom of the opening post...

I put it also here:

​
[Galaxy S Plus I9001 Android Development] ktulu84:
i read that you think maybe ril changes are responsible for screen turning on without touch and random returning to home when using some apps, do you think that we will get rid of theese annoying bugs?
[Galaxy S Plus I9001 Android Development] Christopher83:
I'm working on a possible kernel workaround of this annoying bug...

This is a well known hardware bug of some Samsung phone models.

Pratically, the high activity of the radio hardware, in particular the antenna, could cause interference on Melfas chip, which is the touch key chip and is located very close to the antenna. This interference could induce bad interrupts that are seen by the chip as possible back or menu key presses, and cause all the issues we're facing.

These phantom key presses are happening expecially in 2G mode.
[Galaxy S Plus I9001 Android Development] ktulu84:
R: [KERNEL][3.0.71][ICS] K^Kernel 3.0.71 v1.3 for ICS [02/04/2013]

Thanks for your quick reply, hope you will get it work good, because it's really an annoying problem :banghead:
[Galaxy S Plus I9001 Android Development] Christopher83:
I'm testing the first attempt to workaround this issue for more than 4 hours...

Well, I could say that the 99% and even more of phantom key presses are prevented, only 3 times the antenna interference (our phantom) succeded to induce a valid key press combination during net related app usage, but never when the phone is idle (with the screen off laying on my office desk).

Before, I had a lot of occurrences during the day and I need to switch in 2G/3G mode or wifi (when available) to prevent them...

For who's facing this issue, as I said, this is not a kernel related issue, no matter what custom rom (CM9, CM10, CM10.1 and derivatives) or kernel you use and no matter what apps you have installed, it is a hardware failure.

I don't know why this started to happen on my phone (since January), maybe it could be caused by the ril, not completely optimized yet...

The best solution should be an hardware fix, but since not all of us are experts in electronics and maybe have finished the warranty period, well, the kernel workaround should at least minimize almost completely this annoying problem...

During these days I perform some further testing, I complete the fix and clean up the code from unuseful/debug parts, then I'll commit it and submit everything to Arco and Ivendor which are surely more skilled than me and have better knowledge of our phone hardware...

I'll let you know.
[Galaxy S Plus I9001 Android Development] boombastick:
I tried your kernel with the latest cm9 rom and I have to say it is very very smooth. However, was just wondering about the SODs we are(or at least I am) facing all these while. is it fixed or am I the only one with SODs (maybe apps related?). It is a shame I couldn't use such smooth rom as a daily rom as it is facing sod.
[Galaxy S Plus I9001 Android Development] educk:
Re: [KERNEL][3.0.71][ICS] K^Kernel 3.0.71 v1.3 for ICS [02/04/2013]

The main reason of SOD's is still unknown. It's only present on kernel from the ICS branch from arco (3.0). Investigations were made but I don't think the exact cause was found out. Maybe Christopher can say more about this... I believe arco knows about this problem but he cannot fix it due to lack of device, I'm not sure if this bug is present on the ancora devices too or not.

Anyways, I have a nand backup of CM9 with this kernel and every time I want to play games, I restore that backup. Performance on ICS is much better than on JB due to complete GPU drivers.
[Galaxy S Plus I9001 Android Development] Christopher83:
Damn, I'm really sorry, I never experienced sods on CM9 RC6 during my days of testing for the new version of the kernel, I did only a full wipe before installing the rom and the various kernel builds...

If you have some time, you could try to force a reboot if a kernel panic happens and then post me the /proc/last_kmsg (thanks to Ivendor and Arco for the newly added ram console feature):

- open Terminal Emulator and run these commands

su
echo 20 > /proc/sys/kernel/panic
echo 0 > /proc/sys/kernel/panic_on_oops

- if the sod happens, I hope that will generate a kernel panic first, after 20 seconds the phone must be automatically rebooted

- after the restart, using your favourite file manager, pick the /proc/last_kmsg and post it here

If the sod doesn't generate a reboot also after those commands, try to reduce the wait time (eg. 1 or 2 seconds instead of 20, but don't set 0 because that value will disable the reboot after a kernel panic, this is the default setting):

su
echo 2 > /proc/sys/kernel/panic
echo 0 > /proc/sys/kernel/panic_on_oops

:fingers-crossed:
[Galaxy S Plus I9001 Android Development] boombastick:
restored back to cm9. instant death right after i lock the screen :eek: i will try to test again with a full wipe without apps.

here is one last_kmsg file. not really sure if i got it right. sorry if I didn't, kinda noob in these stuff.
[Galaxy S Plus I9001 Android Development] Christopher83:
You got it right, thank you very much. So, is your phone automatically restarted?

It's very important that the suggested commands worked and you correctly got the last_kmsg, now we could investigate better this issue.

I need to provide you a debug version of the kernel with console logging enabled also during suspend mode (when the sod happened).

I'll upload it tomorrow because now I'm at work and tonight I'll be out, sorry...

Thank you! :good:
[Galaxy S Plus I9001 Android Development] boombastick:
Re: [KERNEL][3.0.71][ICS] K^Kernel 3.0.71 v1.3 for ICS [02/04/2013]

I'm not sure if it really rebooted automatically.

I entered those commands and locked the screen. Shortly after that I pressed the home button and the screen stays off. So I waited for around 20-30 secs ( I set it at 10sec) and finally I pressed the power button(not hold) and the Samsung logo appear shortly after.

I reset the device now with minimal apps installed and kept the settings default. Haven't faced any sod so far ( compared to an almost instantly sod after I locked the screen just now)
[Galaxy S Plus I9001 Android Development] ktulu84:
R: [KERNEL][3.0.71][ICS] K^Kernel 3.0.71 v1.3 for ICS [02/04/2013]

This would be awesome!
[Galaxy S Plus I9001 Android Development] darsik:
I just had my third SOD in 2 days of using rc6 with your kernel.

So far the SOD's happened pretty randomly:

The first right after I flashed the kernel.I then wiped cache&dalvik and fixed permissions, and had no SOD for the rest of the day.

The second this morning after I left the phone to charge the whole night. Again I wiped and fixed permissions.

And the third just about now after taking some pictures. After that I saved the last_kmsg file on my pc. I then typed the code you recomended in terminal emulator, but got nothing, no SOD, no reboot; still I saved the last_kmsg file on my pc again.

Hope it helps.

Anyway thanks for taking interest in this!!
[Galaxy S Plus I9001 Android Development] Dathen:
Since SOD is reported in Arco thread as well I think a kernel may not be at fault here (unless they both share the same bug). Since it doesn't happen to everyone I guess it will be a bit difficult to debug.
[Galaxy S Plus I9001 Android Development] darsik:
It is kernel related since SOD did not occur in versions of cm9 up to RC3. The bug was first described starting with rc4 up until rc6 and it went away if you flashed an older kernel (2.6 instead of 3.06). Although flashing 2.6 kernel on anything above rc4 will result in non-working usb as rc4-rc6 are optimized for kernel 3.0
[Galaxy S Plus I9001 Android Development] MrSaleh69:
Yup, same issue here on my device & my fathers device as well...

The SoD issues only started with Arco's RC4-to-RC6, on RC3 there were no SoD on both my devices. So the conclusion is that it is Kernel related IMO, don't you guys agree?

-

This is a post i made on Arcos thread, maybe someone can shed some light please?

Thank you,
[Galaxy S Plus I9001 Android Development] ktulu84:
you quoted the reply to your question... you will lose usb mount
[Galaxy S Plus I9001 Android Development] TheRippaG:
Christopher will you continue the develop on this kernel ? or Arco ? (fixing Shutdown during lockscreen ) because i want to use ICS 4.0 really bad XD
[Galaxy S Plus I9001 Android Development] Christopher83:
I'll do the best I can...
[Galaxy S Plus I9001 Android Development] Christopher83:
Hi guys,

is there already someone of you that is still using CM9 RC6 and has experienced SOD problems (one, or even better, more than one in a day)?

If so, I need a testing support for a possible SOD fix.

Thanks.
[Galaxy S Plus I9001 Android Development] rickvrolings:
Im not on cm9 right now, but i installed cm9 a few times and always it was a fresh install with fix permissions and everything. I still got a SOD a few times a day.

So i would like to test!
[Galaxy S Plus I9001 Android Development] SGS+_User:
I Can help you :D