[KERNEL][M/N] Clarity Kernel [Final]

Status
Not open for further replies.

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Push Update 08 August (Hybrid)

Logs:
- Undo Merging from Stable google (this make me sad when device getting unstable and lags on some workloads after this merging because to many conflict with backport and old commits even there no warning in build prosses)
- remove some commits on sched kernel, thats causes similiar race condition, we don't need them.
- remove graphite flags and arm flags, thats flags never helping us to maintain performance even battery.
- for M version, we back to origin tree cm-13.0 from tree cm-14.1, sorry i can't handle battery drain when idle so back to origin cm-13.0 to avoid that.

Note:
i'm still try to optimized battery, so i picked some commits like (power efficent workqueue) so if you favor for battery you should try hybrid version and if you favor stock performance so you can use lite version
thanks.

Download
Android 7.x.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196530

Android 6.0.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196523
 

hemal_4404

Senior Member
Mar 5, 2009
676
158
73
Sohar
Logs:
- Undo Merging from Stable google (this make me sad when device getting unstable and lags on some workloads after this merging because to many conflict with backport and old commits even there no warning in build prosses)
- remove some commits on sched kernel, thats causes similiar race condition, we don't need them.
- remove graphite flags and arm flags, thats flags never helping us to maintain performance even battery.
- for M version, we back to origin tree cm-13.0 from tree cm-14.1, sorry i can't handle battery drain when idle so back to origin cm-13.0 to avoid that.

Note:
i'm still try to optimized battery, so i picked some commits like (power efficent workqueue) so if you favor for battery you should try hybrid version and if you favor stock performance so you can use lite version
thanks.

Download
Android 7.x.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196530

Android 6.0.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196523
Thanks for your continues Dedication and updates.
 

soaringowl2145

Senior Member
Dec 24, 2016
548
145
53
Note:
i'm still try to optimized battery, so i picked some commits like (power efficent workqueue) so if you favor for battery you should try hybrid version and if you favor stock performance so you can use lite version
thanks.
Hybrid with what settings for battery do you recommend?

Anyone else is also welcome to recommend settings for better battery. :)
 

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Hybrid with what settings for battery do you recommend?

Anyone else is also welcome to recommend settings for better battery. :)
keep it default or you can try kernel adiutor and manage what ever you want :)

@rainforce279 The latest version is not working of DT2W. Can you confirm? AOSP Extended rom version 4.5.
ok, will check it asap, because i'm still in atomic.
thanks.
 
  • Like
Reactions: soaringowl2145

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Fix DT2W on AEX 4.5+

as @soaringowl2145 reported DT2W not working on Aosp-Extended 4.5 which this rom already include some new feature like (Pocket Detection). The Pocket Detection is for block screen and buttons input when device is in pocket and it feature using proximity sensor same like DT2W pocket mode, this feature will conflict with it, so you can disable feature "Pocket Detection" to make DT2W working again.
Pocket detection can be found in Settings>Display.
to avoid some problem on DT2W , you should not use some app like naptime or app can control doze too because its will conflict with proximity sensor, also disable ambient display too for avoid problem on DT2W.
Thanks, Have a nice day ;)
 

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Push Update 11 August (Hybrid)

Changelogs:
- Remove power efficient workqueue due kernel panic and tend to high cpu load
- backport zram/zsmalloc (optimized zram performance and less overheads)
- remove powersuspend (we don't need it after lcd notify stable mine)
- move same tree for marshmallow and nougat to cm-14.1 tree base from lineageOS git
- check the source git for completly logs on condor branch

NOTE: if you want monitoring cpu usage don't check kernel adiutor section "cpu" but check on kernel adiutor "overall" section, new version kernel adiutor seem buggy after additional ads layout, its tend to cpu high load while fetching ads, but why not, i'm not a dev.

dont expect lite version update except squid2 push some update to official tree.

Download
Android 7.x.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196530

Android 6.0.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196523
 

hemal_4404

Senior Member
Mar 5, 2009
676
158
73
Sohar
Changelogs:
- Remove power efficient workqueue due kernel panic and tend to high cpu load
- backport zram/zsmalloc (optimized zram performance and less overheads)
- remove powersuspend (we don't need it after lcd notify stable mine)
- move same tree for marshmallow and nougat to cm-14.1 tree base from lineageOS git
- check the source git for completly logs on condor branch

NOTE: if you want monitoring cpu usage don't check kernel adiutor section "cpu" but check on kernel adiutor "overall" section, new version kernel adiutor seem buggy after additional ads layout, its tend to cpu high load while fetching ads, but why not, i'm not a dev.

dont expect lite version update except squid2 push some update to official tree.

Download
Android 7.x.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196530

Android 6.0.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196523
Once again Thanks a lot.
 

soaringowl2145

Senior Member
Dec 24, 2016
548
145
53
Changelogs:
- Remove power efficient workqueue due kernel panic and tend to high cpu load
- backport zram/zsmalloc (optimized zram performance and less overheads)
- remove powersuspend (we don't need it after lcd notify stable mine)
- move same tree for marshmallow and nougat to cm-14.1 tree base from lineageOS git
- check the source git for completly logs on condor branch

NOTE: if you want monitoring cpu usage don't check kernel adiutor section "cpu" but check on kernel adiutor "overall" section, new version kernel adiutor seem buggy after additional ads layout, its tend to cpu high load while fetching ads, but why not, i'm not a dev.

dont expect lite version update except squid2 push some update to official tree.

Download
Android 7.x.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196530

Android 6.0.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196523
So basically you removed power efficient workqueue because the ads in kernel adiutor shows a higher cpu load?
 

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
So basically you removed power efficient workqueue because the ads in kernel adiutor shows a higher cpu load?
no, i run some other tool to monitoring cpu behavior, and its same high freq and high load almost overtime after i remove power efficient workqueue cpu is stable again, power efficient workqueue is ported from kernel 3.18+, maybe something wrong, will try to port it again if possible for kernel 3.4.
 

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Battery needs to be improve that's the only problem which is left else performance wise it is great compare to stock.
(Using hybrid version on ViperOs)
i'm working for it, you can track from my git for change to next update in here experimental.

Note for all
currently i'm trying some hotplug maybe i will choose autoSMP again, MPdecision is buggy but i dont know its from kernel or rom, even i test with stock kernel (kernel from rom AEX or Los) when i switch some governor and back to interactive, core always online and never off, i try testing many time and debuging this from dmesg bug no clue till now,
i'll make sure to marshmallow rom too, maybe this problem only on nougat tree.
this case from someone who tell me core always online when monitored from KA or Some other app (kernel control).
 

yepi15

Senior Member
Jun 19, 2014
178
8
0
29
Coloncito
The kernel is great but to see in the app diskinfo does not open another thing I use the nights of LineageOS14.1 if I apply a new nights that removes this kernel right? sorry for my bad English
 

soaringowl2145

Senior Member
Dec 24, 2016
548
145
53
The kernel is great but to see in the app diskinfo does not open another thing I use the nights of LineageOS14.1 if I apply a new nights that removes this kernel right? sorry for my bad English
If you flash a new Lineage nightly over your current nightly setup you will lose this kernel and will need to flash the kernel again.
 
  • Like
Reactions: yepi15

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Push Update 14 August (Hybrid)

changlogs:
- Replaced MPDecision with AutoSMP (same like MPDecison but AutoSMP has sysfs, so you can setting by your self)
- Bring back power efficient worqueue (Stable now)
- Powersuspend removed completly (we already have a stable notifier FB & LCD Notify)
- zram update to mainline linux 3.16 (Partial Only and mix with zram from Google Kernel 3.10)
- Update Lowmemorykiller
- zram (sizedisk) can't be increased or decreased now Fixed
- More

Note:
BACKUP your boot.img using twrp because this update remove and clean Mpdecision and replaced by AutoSMP default (enabled at boot). Your boot.img backup to purpose if you want testing or using Lite version you must restore your boot.img or dirty flash rom to get back mpdecision working again.
i've optimizing AutoSMP, each boot AutoSMP will run with balance Performance and less lags, if you prepare for batter battery, you can setting AutoSMP by your self.

if you using new kernel adiutor, after using it you must kill it (force close it) to avoid battery drain, because i've experience battery drain causes by kernel adiutor new version but not in old version.
also if you see core all online and never stop in kernel adiutor try force close kernel adiutor, its not fault from this kernel but bugs from kernel adiutor, my suggest use old version 0.9.9.4 its stable.

Zram sizedisk now can reconfigure, its old bugs from some commits now has been fixed.


sorry for my english :fingers-crossed:
Have a nice day ;)

Download
Android 7.x.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196530

Android 6.0.x | Lite/Hybrid
https://www.androidfilehost.com/?w=files&flid=196523
 
Status
Not open for further replies.