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

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
@stelistcristi

I have been trying to make Nameless HWC work on our device (again). JB HWC is out of the question since it implements the 0.3 API which is not supported since Android 4.3.

- Pushed hw/hwcomposer.exynos4.so, libcec.so, libddc.so, libedid.so, libExynosHWCService.so, libExynosIPService.so, libhdmi.so, libhdmiclient.so, libTVOut.so to my Note.
- At this point there's a crash in libfimg.so because HWC calls stretchFimgApi but we only have the 3X API and not 4X, so the parameters are invalid. I asked @bauner to recompile libfimg.so so that function does nothing and returns successfully. No more crash, but that might cause display garbage later :p
- HWC then complains with "s5p-smem open error!". /dev/s5p-smem is created by the kernel when CONFIG_EXYNOS_CONTENT_PATH_PROTECTION is set. Unfortunately this config depends on CONFIG_ARM_TRUSTZONE that makes the kernel bootloop when enabled... So I removed the dependency. Maybe it's not even used, who knows.
- Permissions errors on /dev/s5p-smem then happen so a 'chmod 0777 /dev/s5p-smem' is required.
- HWC then crashes with the backtrace:
Code:
#0 _Z15sw_csc_YuvToRgbPjP7sec_imgP8sec_rectj
#1 _Z25compose_rgb_overlay_layerP13hwc_context_tP11hwc_layer_1P14hwc_win_info_ti
#2 _Z15hwc_fence_clearP22hwc_display_contents_1
Here's a logcat.

EDIT:
Tried to replace the sw_csc_YuvToRgb call with NOPs but it crashes later in compose_rgb_overlay_layer so it might be better to find the cause.
 
Last edited:

j4m

Senior Member
Oct 12, 2011
94
9
0
So, can anyone report on the battery life for War r2?
For me it is better:)

Sent from my GT-N7000 using XDA Free mobile app
For me its also working better then R1. Thx 4 your great job geeckodev

Sent from my GT-N7000 using XDA Free mobile app

for me it's not. Don't know why, but battery backup is really bad (50% after 6h and 1h display on time) with this kernel although the performance/ smoothness is great and really visible.
So i flashed back to Bauner's kernel and battery is fine again.

Is it possible that the new wifi driver causes the battery drain (just for me) if my wifi is not that strong?
 

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
for me it's not. Don't know why, but battery backup is really bad (50% after 6h and 1h display on time) with this kernel although the performance/ smoothness is great and really visible.
So i flashed back to Bauner's kernel and battery is fine again.

Is it possible that the new wifi driver causes the battery drain (just for me) if my wifi is not that strong?
You should probably check for wakelocks because it is really bad indeed
 
  • Like
Reactions: Saylance and j4m

GeeckoDev

Senior Member
Feb 26, 2013
458
3,331
0
I want to swap on the SD card for ram increasing. Does your kernel available for swap ram @GeeckoDev thanx for this work

GT-N7000 cihazımdan Tapatalk kullanılarak gönderildi
How can we activate, configure and test swap support ?
Is it possible to use the Preload partition as swap ?
It's your choice to destroy your flash storage within months, but I definitely won't implement it in this kernel.
 
N

notauseranymore

Guest
Using the Interactive governor in the War r2 kernel now. Is there any way to change above_hispeed_delay? I'm unable to add extra frequency:delay values in it
 

nemesis086

Senior Member
Jan 21, 2015
63
12
0
It seems your kernel make my rom snappier once again even though it has minor bug in gallery. BTW im using odexed aryamod with your tw kernel. thanks for the good kernel and its very battery friendly :)
Will flash your other kernels for future use.