[KERNEL][AOSP/TW][27 Dec] War Kernel r3 // colder than ever

notabenem

Senior Member
Jul 17, 2009
118
75
0
installed r4 for KK4 on my S2 (with the latest Omni on it) and I am getting weird display artefacts and the phone would not get past the bootloader. Not even the yellow triangle was showing correctly (all kinds of weirds lines around it). Fortunately, ODIN worked, so I am back to a usable system.
 
Last edited:

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
installed r4 for KK4 on my S2 (with the latest Omni on it) and I am getting weird display artefacts and the phone would not get past the bootloader. Not even the yellow triangle was showing correctly (all kinds of weirds lines around it). Fortunately, ODIN worked, so I am back to a usable system.
No offense, but.... are you retarded? Did you see any mention to the S2 on this thread?
 

notabenem

Senior Member
Jul 17, 2009
118
75
0
No offense, but.... are you retarded? Did you see any mention to the S2 on this thread?
As a matter of fact, I did!
This is our chance to get a graphics stack that surpasses what Samsung ships and will ever ship with Touchwiz for i9100/N7000/i9300/N7100
What makes things worse, I was redirected here from the FPBug thread where we mostly dealt with S2. You forked the Omni kernel (which is common). You're right, I should have been more careful. I have confused common source (which I hope it still is) with common binary.

Anyway, no harm done. But I hope once you got that hwc working, it will also be applicable for the S2.
 
Last edited:

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
As a matter of fact, I did!


What makes things worse, I was redirected here from the FPBug thread where we mostly dealt with S2. You forked the Omni kernel (which is common). You're right, I should have been more careful. I have confused common source (which I hope it still is) with common binary.

Anyway, no harm done. But I hope once you got that hwc working, it will also be applicable for the S2.
Flashing another kernel than the one built for your device can hardbrick your phone, so be careful next time :laugh:
 

XxPixX

Senior Member
Dec 19, 2012
678
526
0
25
Warsaw
Flashing another kernel than the one built for your device can hardbrick your phone, so be careful next time :laugh:
Although I agree 100% with that, usually kernels check in the updater-script whether you are flashing it to the right phone, might be worth adding to the next version just in case ;)
 

kazuna69

Senior Member
Jul 15, 2013
234
106
0
anywhere
Hey @GeeckoDev can u or anybody else please help me?
i'm running nightowl cm 12 for my note. How can i flash kernel to that?
Should i hav to wipe everything or just going to recovery flash the kernel ???
No need to wipe the whole thing, ;)
you can choose to wipe only cache from the cwm bauner's recovery, then flash the raw v7 kernel Lollipop by geeckodev
:laugh:
done, your phone rock and roll' :silly:
 
  • Like
Reactions: abdullahchoudhary97

snow

Senior Member
Oct 14, 2010
204
305
103
26
www.mozilla.ro
@GeeckoDev, look here: https://bitbucket.org/arter97/arter97-i9300-release/commits/5e2d7c9dab6282e40748c0a6956e17b5bed81841
Files extracted from Nameless ROM thanks to arter97 :D

I made an experiment, copied all files into device. Bootloop (SAMSUNG screen).
Then I copied one file at once, rebooted. If device booted, I copied another one and so on...
I copied 4 files till now. And device & ROM it's working. Not sure if I made something with this experiment, but when I opened Agenda book the text was missing for less than 1 sec, like HWC made actually something! :D Not sure if glitch, but I saw this just a single time. :)

These are the files I copied into device:
lib/hw/hwcomposer.exynos4.so
lib/libExynosHWCService.so
lib/libExynosIPService.so
lib/libhwconverter.so


Maybe we need (more/another) files from Nameless ROM, I really don't know.

libsurfaceflinger.so seems to bootloop device, so DO NOT COPY IT!

Best Regards!
 

honf

Senior Member
Dec 4, 2011
215
55
0
@GeeckoDev, is it possible that you enable a few kernel modules when you compile so USB cameras can be used via OTG?

Some help on what to enable here in the kernel configuration:

http://forum.xda-developers.com/showthread.php?t=2656922

Edit:

Seems only the

CONFIG_USB_VIDEO_CLASS

needs to set to yes. Everything else is already enabled if I'm looking at the right git branch. Can't find the Lolipop one though.
 
Last edited:

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
@GeeckoDev, look here: https://bitbucket.org/arter97/arter97-i9300-release/commits/5e2d7c9dab6282e40748c0a6956e17b5bed81841
Files extracted from Nameless ROM thanks to arter97 :D

I made an experiment, copied all files into device. Bootloop (SAMSUNG screen).
Then I copied one file at once, rebooted. If device booted, I copied another one and so on...
I copied 4 files till now. And device & ROM it's working. Not sure if I made something with this experiment, but when I opened Agenda book the text was missing for less than 1 sec, like HWC made actually something! :D Not sure if glitch, but I saw this just a single time. :)

These are the files I copied into device:
lib/hw/hwcomposer.exynos4.so
lib/libExynosHWCService.so
lib/libExynosIPService.so
lib/libhwconverter.so


Maybe we need (more/another) files from Nameless ROM, I really don't know.

libsurfaceflinger.so seems to bootloop device, so DO NOT COPY IT!

Best Regards!
Cool experiment, I was about to do the same thing. Since this HWC uses fences I think it needs to be enabled in the kernel, and there are likely other kernel changes (in s3cfb) to merge, too. What is the logcat output?
 
  • Like
Reactions: jogai