Search This thread

mix1987

Senior Member
Jun 2, 2011
323
63
Hi. Does anyone know what is the process called kworker?? My better battery stats shows that kworker made up 90% of the amount of processes that I have from kworker/0:1 all the way to kworker/0:26! WTH!!

Sent from my GT-I9100 using XDA Premium App
 

tolis626

Senior Member
Dec 31, 2009
2,518
598
Amaliada
Firstly,I have no idea why,but I'm getting A LOT of kernel panics lately,out of the blue most of the time.I've already looked fear in the eyes and thrice and flashed different bootloaders,but no,it insists it wants to panic!Any ideas?
Secondly,with dual boot working like a charm,and seeing that some time ago the idea of dual booting was published in the portal,I think we should vote for this thread to get more publicity.It deserves it. ;)

EDIT:Does anyone feel the phone is quite smoother with the new rc6(the 3.0.28 one)?Last one felt jerky.This one is more or less spot on,like what I remembered from 3.0.1.Awesome! :D
Although making it configurable is the best option me thinks... ;)

Sent from my GT-I9100 using xda premium
 
Last edited:
  • Like
Reactions: hofma

olifee

Senior Member
Sep 12, 2011
239
166
OnePlus 6
I have reuploaded rc6 with a possible fix for HID (usb mouse or keyboard) crash on disconnect (the patch is ported from kevinh's patches for galaxy tab).
I hope it fixes that nasty bug.
please test and report if you use usb HID device.
my eyes are already closing (12:30am)
g'night...

EDIT: I forgot to tell you that newly uploaded rc6 is based on 3.0.28...

It appears to work for me :). Hotplugging on both ends is also possible now and so plug-in- and pull-out-order does not matter anymore ;).

Some flaws remain for me, please only work on them if you have nothing more interesting floating around ;).
After around 4-6 seconds of constant mouse-moving, the cursor seems to hang (it stays in clicked state if it was clicked) and the messages in kmsg also stop for a while. They appear for every movement of the mouse, so there is a load of
Code:
<6>[  517.364386] OTG compare_ed(394): update ed 32 (0x20)
lines as long as the mouse works. Sometimes, mouse is detected but cursor does only appear after moving it around for some seconds, it feels like the same effect (because the messages only start to appear as soon as the mouse starts working ;) ).
Some seconds after such a hang it also starts working again (happens with the two mice I tested for me), works for 4-6 seconds, and hangs again.
Maybe there is some usb-autosuspend or something like jumping in? But LEDs on the mice stay on during that time. It might be that I did not test long enough on the earlier rc6 so I did not notice the problem there, maybe someone can confirm whether he is also experiencing this.

I have also one small, cheaper mouse (non-optical, it has WHEELS below :p ) which worked in GB but is now not detected as a mouse it seems (this might also explain why some others also had problems with non-working mice).
A kmsg taken after attaching it is here on pastebin:
http://pastebin.com/CVTL5iRU
For comparison, I put up a kmsg from a working mouse here:
http://pastebin.com/qwjRxUKG
If I am not mistaken, the lines:
Code:
<6>[ 1325.164790] max8997-muic max8997-muic: max8997_muic_detect_dev: STATUS1:0x0, 2:0x41
<6>[ 1325.164880] max8997-muic max8997-muic: max8997_muic_detect_dev: ATTACHED
<6>[ 1325.164958] max8997-muic max8997-muic: max8997_muic_handle_attach: OTG charging pump
are the main difference, and they are missing for the mouse which does not work. Maybe it does not request power correctly.
On a real linux machine, it looks like that:
http://pastebin.com/KYi3vyt8
First device attached is the mouse which does not work on Android, the one after that works fine. As you can see, it might also be related to the "broken" usb device strings for the cheaper mouse (why do they sell stuff like that? And why did I buy it?). For me, it is not really important whether this mouse works or not, but I guess some of the non-working reports by others might have been caused by other "broken" mice like that one here.

And finally, after a lot of (re)plugging around just now, I managed to get another freeze, the end of kmsg is here:
Code:
<6>[  449.288032] OTG otg_handle_interrupt(141): Port Interrupt
<6>[  449.288154] OTG process_port_intr(42): detect connection
<6>[  449.620118] OTG root_hub_feature(548): case SetPortFeature -USB_PORT_FEAT_RESET
<6>[  449.679960] OTG otg_handle_interrupt(141): Port Interrupt
<6>[  449.680008] OTG process_port_intr(54): port enable/disable changed
<6>[  449.760337] usb 2-1: new low speed USB device number 4 using s3c_otghcd
<6>[  449.762276] OTG compare_ed(394): update ed 8 (0x8)
<6>[  449.781330] usb 2-1: New USB device found, idVendor=1241, idProduct=1122
<6>[  449.781478] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
<6>[  449.797149] OTG compare_ed(394): update ed 8 (0x8)
<6>[  449.816677] OTG compare_ed(394): update ed 8 (0x8)
<6>[  449.829288] input: HID 1241:1122 as /devices/platform/s3c_otghcd/usb2/2-1/2-1:1.0/input/input11
<6>[  449.866431] generic-usb 0003:1241:1122.0003: input: USB HID v1.00 Mouse [HID 1241:1122] on usb-s3cotg-1/input0
<6>[  449.866639] usb: otg_list_pop error
Maybe some index-out-of-bounds-stuff from that otg_list? Maybe I just plugged stuff too fast and it was still in the 30-seconds-device-descriptor-reading-timeout or something.

last_kmsg appears to only contain some messages from the Samsung-bootloader before it loads the kernel, so some final lines might be missing here.

Oh, and please prioritize your sleep higher than USB OTG ;). And only work on the kmsgs here if you have nothing more interesting / important to do, you are always astonishing me with your ideas about new features and your speed of implementing them :).

Good night :).
 
Last edited:

Badassian

Senior Member
Dec 3, 2010
98
6
Hamilton
Firstly,I have no idea why,but I'm getting A LOT of kernel panics lately,out of the blue most of the time.I've already looked fear in the eyes and thrice and flashed different bootloaders,but no,it insists it wants to panic!Any ideas?
Secondly,with dual boot working like a charm,and seeing that some time ago the idea of dual booting was published in the portal,I think we should vote for this thread to get more publicity.It deserves it. ;)

EDIT:Does anyone feel the phone is quite smoother with the new rc6(the 3.0.28 one)?Last one felt jerky.This one is more or less spot on,like what I remembered from 3.0.1.Awesome! :D
Although making it configurable is the best option me thinks... ;)

Sent from my GT-I9100 using xda premium
i actually feel like the touch is lot more finicky in rc6. 3.0.1 was a lot better.
 

hellsgod

Senior Member
Oct 14, 2007
1,963
9,667
Earth
The latest rc6 breaks wifi connection, after flashing this version can't turn on the wifi.

I'm using the latest codework's test build.

With the latest Test Build you are not able to flash a custom Kernel. If you do, you break wifi and some other things. its because the kernel is build by the buildbot and the modules are moved to /system/lib/modules.

hells
 
Last edited:
  • Like
Reactions: mrxd and veyka

JAG131990

Senior Member
Jul 17, 2011
230
12
Has anyone else noticed the problem with messages.apk.

Seems that if you are in conversation with someone and reply then shut screen off. When you open phone to reply when you get a message if you dont exit out of messages and go back in it will just let you type but you cant see what you are typing and it will not work.
 

xfitc

Member
Apr 9, 2012
37
8
Has anyone else noticed the problem with messages.apk.

Seems that if you are in conversation with someone and reply then shut screen off. When you open phone to reply when you get a message if you dont exit out of messages and go back in it will just let you type but you cant see what you are typing and it will not work.

yea i have had this problem. This has also cause me random freezes and a couple reboots
 
Last edited:
  • Like
Reactions: JAG131990

BrandoHD

Senior Member
Aug 28, 2009
1,560
433
Arima
GK, it seems that the CM devs have taken some steps to improve CM9 which unfortunately breaks custom kernels, is this fixable or is it insurmountable?

Samsung Galaxy S II Tapatalk2
 

tyxiu

Senior Member
Jul 4, 2006
59
5
WIFI do not work over CM9 last nighty

Hi GK,
Flash last version (rc6) over last nighty of CM9 (20120419), wifi can not turn on. Pls look into this bug.
 

veyka

Retired Forum Moderator
Oct 26, 2007
5,590
2,663
Norfolk
www.veyka.co.uk
With the latest Test Build you are not able to flash a custom Kernel. If you do, you break wifi and some other things. its because the kernel is build by the buildbot and the modules are moved to /system/lib/modules.

hells

Hi GK,
Flash last version (rc6) over last nighty of CM9 (20120419), wifi can not turn on. Pls look into this bug.

Try reading the thread before you post.
 

marcosxd

Senior Member
Jan 4, 2011
331
52
Hermosillo
Hi GK,
Flash last version (rc6) over last nighty of CM9 (20120419), wifi can not turn on. Pls look into this bug.

This was happening to me and I was getting frustrated, I rebooted a couple of times and it is working now... not sure if I reboot again it will get stuck again :confused:

EDIT: lol I was on CM kernel, didn't flash back rc6 after flashed the rom, I think I'm gonna stay a little longer with cm kernel to compare battery life.
 
Last edited:
Off topic: may I ask for suggestion regarding Wifi?

My Wifi keeps turning off while standby and the settings inside (always/power only/never) doesn't give any effect. I have set it to always, but it still keep turning off while on standby. Some ppl in xda suggest that it's actually never and set it to never will keep the wifi turned on, but still it doesn't work.

It keeps turning off no matter what my settings are.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1352
    please leave non-dev related posts here: http://xdaforums.com/showthread.php?t=1658647

    siyahkernel-ics-wide1.png

    Features:
    • based on JB sources
    • DISABLED CAP_ERASE (No superbrick bug)
    • All-in-1kernel because it supports CM9, CM10, Samsung, MIUI and Boot-to-Gecko (B2G) ROMs with a single kernel image. (no Sense4all support)
    • Dual booting support for all supported ROM types. See droidphile's post for Dual Booting FAQ
    • Custom CWM touch recovery with swipe gestures and double-tap selection
    • 6-steps CPU freq
    • 5-step GPU frequency levels. VPLL Mode to have additional frequency steps. defaults frequencies: 66-108-166-267-330.
    • Auto-root. You can also remove root via STweaks app and install it without rebooting your phone again. Auto-root can be disabled as well.
    • CPU Overclock/Undervolt support (we have two interfaces for that. both of them are defacto standard)
    • Tweakable vitalij's value (set to 5 as default)
    • Adjustable touchpad led brightness
    • Fixed fuelalert wakelocks
    • You can completely disable android logger using STweaks app
    • Faster charging for misc and USB modes. There are 3 modes (AC, Misc, USB) and normally last two of them support only slow charging. You can have charging speed of AC by increasing it (especially user while charging in car or using USB port)
    • Cpu governor optimizations
    • Gpu voltage, clock and stepcount interfaces (GPU Overclock/Undervolt)
    • Screen brightness curve settings with original panel gamma values. panel values unchanged, so you will get stock colors and will be able to use supercurio's voodoo display app when it is released. brightness modification will only change auto-brightness response.
    • BLN support both for Samsung and CM ROMs (you can use STweaks, Nstools or BLNControl app from the market to enable it)
    • Breathing or Blinking effect for BLN. (Make sure you don't enable blinking in any other BLN app) Use STweaks to select one of them.
    • Better touch sensitivity
    • Available CPU Governors: Pegasusq (default), Ondemand, Lulzactive, SmartassV2, Interactive and Conservative, Performance, Userspace, Powersave
    • CIFS as module
    • Available I/O schedulers: CFQ (default), noop, Deadline, SIO, V(R)
    • J4FS as module
    • ARM topology support (SCHED_MC)
    • Automatic EFS Backup
    • Lots of I/O tweaks and filesystem optimizations via some parts of thunderbolt scripts.
    • USB Mass Storage mode is working in CWM Touch Recovery and you can mount both internal and external sdcard as a disk drive
    • NTFS automounting for USB sticks. When you plug in an NTFS formatted USB flash it will be automatically mounted to /mnt/ntfs folder.
    • USB mouse and keyboard support
    • built-in profile support with default, battery and performance presets (you can change them in CWM Recovery). Even using everything default will save you a lot of battery juice.
    • Eargasm for headphone amplification (in STweaks) as free Voodoo Louder replacement
    • Almost everything is configurable such as scheduler features, hotplug thresholds, GPU frequencies, voltages, arm topology modes... and they are configurable via simple and free STweaks app which is embedded in the kernel and soon in Google Play & Opensource
    • Adjustable mDNIe settings
    • optional sharpness tweaks from hardcore
    • mDNIe negative effect toggle with home button (press it four times)
    • Touch gesture support by Tungstwenty. (http://xdaforums.com/showthread.php?t=1831254)
    • BLNWW (BLN Without Wakelock)
    • Slide2Wake (originally by Fluxi)

    More to come...


    Known Problems:
    • no known problems yet

    Thanks To:

    • Chainfire, Codeworkx, Arighi, Tegrak, Vitalij, Entropy512, Netarchy, koush, Creams, sk8erwitskil, hardcore, Pikachu, myfluxi, Tungstwenty
    • This part will be expanded. most of the patches I applied are coded by someone else. please remind me if I forget to give credits to anybody..

    IRC support and chat:
    Server: irc.FreeNode.net
    Channel: #siyah-kernel
    web client: http://siyah.twosx.net/ (thanks to omniwolf)
    Changelog:

    See http://www.gokhanmoral.com/ for changelog.

    You can find the sources at http://github.com/gokhanmoral/siyahkernel3
    and initramfs at http://github.com/gokhanmoral/initramfs3

    Todo:
    these are my future plans and some of them are dreams only...
    • apply chargecurrent modifications even if the cable is connected on boot
    • add optional teamwin recovery
    • make dual-boot timeout configurable
    • implement BFN (BackFlashNotification)
    • scheduling for BLN
    • organize recovery menu items
    • higher polling rate for light sensor
    • remap mouse right button to back button
    • exfat support
    • fix blnww battery drain issue (may not be possible)
    • implement dual-booting with GB+ICS ROMs
    • faster switch between first and second ROMs without needing to reboot if possible.
    ...

    298
    troubleshooting

    siyahkernel-ics-wide1.png

    READ THESE FIRST

    • Never report any bugs to CM9/CM10 threads if you use it together with SiyahKernel
    • Do not ask questions to me directly. This is a common thread, not my personal inbox. Ask your questions in the thread and do not target them to anyone.
    • Do not expect answers to all your questions. There are some questions which nobody knows the answer of.
    • Do not forget that this is a development thread. There is another thread in general section for those who wants to discuss battery life and chats. If your post does not include a feature request, bug report or suggestion it should be posted to the other thread.
    • No ETA for new version. Even if I sometimes talk about release dates those may change and they change for some good reason or because of my real-life obligations.
    • Make use of "Search this Thread -> Advanced Search"
    • Never ever discuss anything deep-sleep related in this thread. I do not make modifications to prevent sleep and 99% of deep sleep problems are application/ROM related. discuss it in general section. I do not want any positive ("this kernel sleeps like a baby") or negative ("There is a big problem with deep sleep. Please fix it") messages in my development thread.
    • If you do not provide details about your configuration and settings nobody can help you or nobody will care about your problem/bug report. The problems without details (ROM, settings, preferably the version that the problem first happened or the one that you don't experience the problem) will be ignored.
    • Never ever report any SOD issues if you are undervolting/overclocking and make sure you attach last_kmsg log. If you don't know what it is report the problem to the other thread because one more post without any useful information on dev thread will help noone including yourself.


    FAQ:

    Q: I am having some random lockups with some apps
    A: try removing root by using STweaks app and restart.

    Q: What is the difference between STweaks and ExTweaks?
    A: Both have similar functionality. ExTweak is Xan's implementation of the UCI interface (which is designed by Xan and me with the helps of AndreiLux and implemented in the kernel as open scripts by me) and STweaks is mine. I was hoping Xan would release the sources of ExTweaks (without profile support) but he changed his mind and I decided to open STweaks. Soon they will have almost identical functionality, so you can use whichever you like.

    Q: Does this kernel work on XXXXXX-ROM?
    A: If the ROM is based on Samsung Stock ICS Rom LPQ or newer, it should. Otherwise, search the thread... If you cannot find any reference to that ROM, try the kernel. You won't lose anything by trying this kernel. Worst case scenario is to reflash your previous kernel or ROM. You can backup your previous kernel with Hellcat's k-tool from the market.

    Q: Where is CM9, MIUI or Samsung ROM versions?
    A: There is only one version. Both ROMs are supported with a single kernel image.

    Q: What is the best settings?
    A: It is the one you try yourself and like.

    Q: I have just lost 20-30% battery by just rebooting/flashing the kernel. Is it a bug?
    A: No. It happens because of our fuel gauge chip which doesn't require calibration goes crazy sometimes. It is not related with kernel or ROM. Just reset fuel gauge chip using STweaks app (or remove the battery and wait 3 minutes) and then charge your phone.

    Q: BLN doesn't work.
    A: you need to enable it in stweaks or BLN app. if you have more than one app to configure bln make sure all of them use the same settings.

    Q: BLN works in test mode but it doesn't work otherwise.
    A: if test mode works you should blame the apps. Stock messaging and email apps may not support BLN and in some other applications you may need to enable notifications. Either find another application or change your ROM.

    Q: Can I use breathing effect without using BLN?
    A: for now, breathing effect only works in BLN. There is no way of using it otherwise.

    Q: I need to disable and re-enable BLN in stweaks to get it working again. What is the problem?
    A: You may have another BLN related application (BLNapp, nstools, or a script) which disables BLN after stweaks apply the setting at early boot stage. you have to either uninstall that app or enable BLN in that app as well.

    150
    closing the thread once again...

    I don't want to piss the mods again because this thread attracts too many people.
    most of them misinterpret the "this is a development thread" statement and use the thread for their self-development purposes.

    There are very few people who give useful feedback and suggestions and I talk to them over gtalk, email or PMs anyway.

    greetings :)