[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 15 August

Changelogs:
- Remove Version Lite and Hybrid, lets make this into one version.
- Bring fresh build with less commits (I sure this stable like stock with tons of features)
- remove unstable commits
- remove impulse governor (we already have stable smartmax and lionheart governor)
- Make kernel simple with less cherry pick
- zram back to staging maintain and picked some commits from linux 3.12
- remove power efficient workqueue (i never want put this again, this only make device lags like hell).
- make mpdecision again to Main hotplug and backend by AutoSMP.

I'm sure this update really stable rock than ever!.
make less commits to avoid unstable performance.
If you having flash the previous version (1408), you must restore or dirty flash your current rom. if not, you'll miss MPdecision hotplug.


Download
https://www.androidfilehost.com/?w=files&flid=196522
 
Last edited:

Simomaster1

Senior Member
Aug 21, 2014
266
111
73
Changelogs:
- Remove Version Lite and Hybrid, lets make this into one version.
- Bring fresh build with less commits (I sure this stable like stock with tons of features)
- remove unstable commits
- remove impulse governor (we already have stable smartmax and lionheart governor)
- Make kernel simple with less cherry pick
- zram back to staging maintain and picked some commits from linux 3.12
- remove power efficient workqueue (i never want put this again, this only make device lags like hell).
- make mpdecision again to Main hotplug and backend by AutoSMP.

I'm sure this update really stable rock than ever!.
make less commits to avoid unstable performance.
If you having flash the previous version (1408), you must restore or dirty flash your current rom. if not, you'll miss MPdecision hotplug.

Download
https://www.androidfilehost.com/?w=files&flid=196522
Wonderful job. You keep this kernel always updated and i love it. I have only one question: in the previous update you said that was enough, in order to have mpdecision working, backup boot partition from recovery. I did it and i ask you if restoring it mpdecision will work again. Thank in advance:)
 

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Wonderful job. You keep this kernel always updated and i love it. I have only one question: in the previous update you said that was enough, in order to have mpdecision working, backup boot partition from recovery. I did it and i ask you if restoring it mpdecision will work again. Thank in advance:)
yes mpdecision will work again after restore boot and you can flash the latest version.
if you directly flash latest version (15/08) over previous version (14/08) mpdecision will not work, the previous version i've adding script to remove mpdecision init from ramdisk, so to get back mpdecision we need original ramdisk from backup or dirty flash.
 

Simomaster1

Senior Member
Aug 21, 2014
266
111
73
yes mpdecision will work again after restore boot and you can flash the latest version.
if you directly flash latest version (15/08) over previous version (14/08) mpdecision will not work, the previous version i've adding script to remove mpdecision init from ramdisk, so to get back mpdecision we need original ramdisk from backup or dirty flash.
Thanks you i took an old backup and everything went fine:)
 

rainforce279

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

Changlogs:
- add Pegasusq, Impulse, Nightmare CPU governor. (this from request, i've tested this and remarked as stable governors. Intellidemand and smartassH3 will added in next version which need testing first.)
- update zram to linux-3.16. (I hope this boost IO performance on zram, since after this commits bring smoothness and good battery backup for us)
- Picked commits on EXT4 Fs from Linux-3.16
- add optimized SHA-256/224 crypto
- arm/aes update NEON AES module to latest OpenSSL version
- Picked commits for maintain virtual memory, slub and others.

Check this for changes in this update.
https://github.com/ryan-andri/kernel_motorola_motoe/commits/condor

Download
https://www.androidfilehost.com/?w=files&flid=196522
 

Rajendran Rasa

Senior Member
Oct 17, 2015
1,128
569
143
24
Thanjavur
Changlogs:
- add Pegasusq, Impulse, Nightmare CPU governor. (this from request, i've tested this and remarked as stable governors. Intellidemand and smartassH3 will added in next version which need testing first.)
- update zram to linux-3.16. (I hope this boost IO performance on zram, since after this commits bring smoothness and good battery backup for us)
- Picked commits on EXT4 Fs from Linux-3.16
- add optimized SHA-256/224 crypto
- arm/aes update NEON AES module to latest OpenSSL version
- Picked commits for maintain virtual memory, slub and others.

Check this for changes in this update.
https://github.com/ryan-andri/kernel_motorola_motoe/commits/condor

Download
https://www.androidfilehost.com/?w=files&flid=196522
Please don't remove older builds in afh
 

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Could someone explain to me AutoSMP options? I can not find any informations about what they do
AutoSMP is similiar like MPdecision while MPdecision is closed source and can't configure by users. an AutoSMP is developed by @mrg666.
AutoSMP has options like:
- max_cpus > this can control how many core online/offline or core which can managed automatic by AutoSMP Main thread.
- min_cpus > this set how much minimum core online at the same time. (default minimum 1 core online)
- cpufreq_up > this is how cores online after cpu load big or equal with cpufreq_up (ie. cpu loads is 80, and cpufreq_up is 80 and next core will be onlined) (reducing cpufreq_up values will make autoSMP aggressive to online cores)
- cpufreq_down > this is how cores goes offline after cpu load equal or less than cpufreq_down values. (increasing cpufreq_down values will make autoSMP less aggressive to online core)
- cycle_up/cycle_down > this is utility from autoSMP, which this can manage core too (this should be leaved by default values, not recomended to edit).
 
Last edited:

yepi15

Senior Member
Jun 19, 2014
178
8
0
29
Coloncito
Changlogs:
- add Pegasusq, Impulse, Nightmare CPU governor. (this from request, i've tested this and remarked as stable governors. Intellidemand and smartassH3 will added in next version which need testing first.)
- update zram to linux-3.16. (I hope this boost IO performance on zram, since after this commits bring smoothness and good battery backup for us)
- Picked commits on EXT4 Fs from Linux-3.16
- add optimized SHA-256/224 crypto
- arm/aes update NEON AES module to latest OpenSSL version
- Picked commits for maintain virtual memory, slub and others.

Check this for changes in this update.
https://github.com/ryan-andri/kernel_motorola_motoe/commits/condor

Download
https://www.androidfilehost.com/?w=files&flid=196522
Desactive zram? Not show the disk info, the 11/08/17 yes show..

I have solved, can support of zram this kernel?
 
Last edited:
Hello, I found some bugs.
Using XT1025 and XT1022 with AEX ROM.
1- If you open kernel adiutor, change the cpufreq_down and cpufreq_up and apply (settings>test) after 10-30 seconds the screen freeze, make a effect like melt and reboot
2- AutoSMP is not working with the selected freq (75-95)

Attach screenshot of terminal and cpu-z.
Mp of Qualcomm is disabled and nothing more changed.

AutoSMP is running like a daemon? Because is not in ps list.

Attach images.


[UPDATE]

No changing the limits or freq of AutoSMP, only changing D2TW and apply freeze and reboot too.
So, kernel adiutor send via echo command all values every time in every section, maybe the bug on AutoSMP is something like read from /sys/kernel/autosmp/conf/ every N seconds and when a value change, crash. Is only a supposition, i am not dev.

Thanks
 

Attachments

Last edited:

rainforce279

Recognized Developer
May 4, 2013
558
2,833
113
29
palembang
ryan-andri.github.io
Desactive zram? Not show the disk info, the 11/08/17 yes show..

I have solved, can support of zram this kernel?
in latest 1708 zram nothing problem at all,
if you want disable zram, you can just run terminal and type
su
swapoff /dev/block/zram0

after this you need wait until the prosses done (don't interupt prosess or exit terminal!)
also i don't have problem with disk info.
disk info always show and fine even after i disable zram.

Hello, I found some bugs.
Using XT1025 and XT1022 with AEX ROM.
1- If you open kernel adiutor, change the cpufreq_down and cpufreq_up and apply (settings>test) after 10-30 seconds the screen freeze, make a effect like melt and reboot
2- AutoSMP is not working with the selected freq (75-95)

Attach screenshot of terminal and cpu-z.
Mp of Qualcomm is disabled and nothing more changed.

AutoSMP is running like a daemon? Because is not in ps list.

Attach images.


[UPDATE]

No changing the limits or freq of AutoSMP, only changing D2TW and apply freeze and reboot too.
So, kernel adiutor send via echo command all values every time in every section, maybe the bug on AutoSMP is something like read from /sys/kernel/autosmp/conf/ every N seconds and when a value change, crash. Is only a supposition, i am not dev.

Thanks
use old of kernel adiutor and you will be fine,
also if you want report bugs, please send dmesg and last_kmesg.
 

yepi15

Senior Member
Jun 19, 2014
178
8
0
29
Coloncito
in latest 1708 zram nothing problem at all,
if you want disable zram, you can just run terminal and type
su
swapoff /dev/block/zram0
after this you need wait until the prosses done (don't interupt prosess or exit terminal!)
also i don't have problem with disk info.
disk info always show and fine even after i disable zram.



use old of kernel adiutor and you will be fine,
also if you want report bugs, please send dmesg and last_kmesg.
With that amount does not produce lagging? There is way to fix without needing the kernel, before it did with mtk devices
 
in latest 1708 zram nothing problem at all,
if you want disable zram, you can just run terminal and type
su
swapoff /dev/block/zram0
after this you need wait until the prosses done (don't interupt prosess or exit terminal!)
also i don't have problem with disk info.
disk info always show and fine even after i disable zram.



use old of kernel adiutor and you will be fine,
also if you want report bugs, please send dmesg and last_kmesg.

Using 0.9.9.4 bug #1 (reboot when change parameters of AutoSMP).
The bug is not in MPdecision.
The bug #2 is a problem with AutoSMP especially, is not responding to the limits.

So, I reinstall 0.9.9.4 and attach dmesg and last_kmsg.

Thanks

Sent from my Moto E using XDA Labs
 
Last edited:
Using 0.9.9.4 bug #1 (reboot when change parameters of AutoSMP).
The bug is not in MPdecision.
The bug #2 is a problem with AutoSMP especially, is not responding to the limits.

So, I reinstall 0.9.9.4 and attach dmesg and last_kmsg.

Thanks
Done, steps:

1- dmesg -c for clean
2- kernel adiutor
3- Disable MPdecision and enable AutoSMP
4- Apply (test button)
5- 30 seconds and the device reboot with a strange meltdown effect on screen
6- started the device dmesg and /proc/last_kmsg saved as txt file.

Attached dmesg and last_kmsg.

Thanks!

Sent from my Moto E using XDA Labs
 

Attachments

Status
Not open for further replies.