KERNEL❯ LLVM 7 ❯ TREBLE ❯❯ AceKernel • v2.01 • Sept 15

Martichou

Senior Member
Jun 12, 2016
165
619
0
Namur
martichou.me
KERNEL❯ LLVM 7 ❯ TREBLE ❯❯ AceKernel • v2.01 • Sept 15


THIS KERNEL IS FOR
TREBLE & NO-TREBLE


Introduction

Hello everyone, I'm Martin and I've been working on Potter for 1 year right now.
I'm constantly trying to improve this device with some change that some developers don't like.
For me EAS is the future of android kernel, that's why I'm already bringing it to you!
I will always follow these three rules:
  • Follow upstream Linux always
  • Features will be added only as needed
  • Security and stability are paramount
I hope you'll all agree with these three rules :eek:


Thread Rules

  1. I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat or a dmesg. (Follow this guide)
  2. Stay classy, I won't tolerate flaming of any kind, ever.
  3. OT is allowed.


Features

Here are the major features of the kernel (feel free to explore Github)
  • Up to date with the latest stable Linux version (3.18.119)
  • Patches from Code Aurora Forum targeting GPU, touchscreen/video, storage, and sound
  • Mainline Linux patches for CFQ and media memory allocation
  • F2FS driver updated
  • VDSO32 built in
  • Latest energy aware scheduling patches ported to 3.18 (check EAS)
  • Converted some workqueues to use power efficient workqueues
  • Wake up improvements and other optimization from Sultanxda
  • Rewrited the fingerprint sensor driver (fpc1020_tee)
  • The following user features:
    • Faux Sound Control with high-performance audio
    • Westwood (default)
    • Maple I/O scheduler
    • Wakelock control
  • Lastest WireGuard snapshot
  • Build with official Clang toolchains 7.0 (clang-4679922).
  • Hides bootloader unlock from SafetyNet (can still fail through other means)
  • Flashed with AnyKernel2 (thanks to @osm0sis)


Downloads

Lastest version is the v2.01 :cool: (AceKernel-Potter-v2.01_eas_unified.zip)
Eas-Unifiedhttps://download.martichou.me/Potter/
Only small issue is fingerprint gestures broken on Treble rom with this version. I'm working on how to solve this issue.

Old versions: https://download.martichou.me/Potter/Old/

Do not mirror my kernels and don't share the direct link!


Installation

If you are on a custom ROM:

  • Either dirty flash your ROM or flash the stock boot image. (not mandatory)
  • Install or temporarily boot into TWRP (follow their instructions)
  • Reboot to TWRP
  • Flash the zip.
  • Reboot and profit!


If you are on a GSI/Treble ROM:

  • Either dirty flash your GSI image or flash the stock boot image. (not mandatory)
  • Install or temporarily boot into TWRP (follow their instructions)
  • Reboot to TWRP
  • Flash the zip.
  • Reboot and profit!


Upgrading from one Flash version to the other:

  • Boot into TWRP
  • Flash the zip.
  • Reboot and profit!



Changelog

Complet changelog here:
https://github.com/Martichou/potter/


Thanks to:
@vache for his incredible work on Potter
@joshuous for his work on EAS
@osm0sis for AnyKernel2
The various other developers for their patches (@flar2, @franciscofranco, @frap129, @nathanchance, ..)
All of you guys for viewing the thread


DONATION:
If you want to buy me a beer :good:
Yeah, I'm Belgian, and I love that! http://paypal.me/martichou


TELEGRAM:
There is also an Official Telegram group, for support and to speak directly with me.
https://t.me/joinchat/EWMwLkNn0rKRA-jPluo85w

Website

I've made my personal website. (Hosted at OVH, should be fast for everyone)
It means, I'm gonna upload all zip on it and it also mean that you can take a look at the website :p

Website: https://martichou.me


DISCLAIMER:
I openly welcome off topic in my threads. Mods, please do not clean off-topic discussion and users, do not complain about off-topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.

XDA:DevDB Information
AceKernel, Kernel for the Moto G5 Plus

Contributors
Martichou
Source Code: https://github.com/Martichou/potter

Kernel Special Features:

Version Information
Status: Stable

Created 2018-06-08
Last Updated 2018-09-15
 

Martichou

Senior Member
Jun 12, 2016
165
619
0
Namur
martichou.me
which non treble rom can I use??

https://potterroms.me/du-mod/

can I use this??
I tried it on cr-droid 01/06, camera stops, so which roms have the latest commits??

Can u please suggest one? Or is it in development??
Basically, all ROM built after the 7th June.
Check on potterroms which were built after this date.
I can't say at 100% that all ROM built after the 7 June is compatible cause it's up to the ROM maintainer to either update his tree or not. So it's better to ask directly to the one who maintains the ROM you gonna use.
 
  • Like
Reactions: rishivg

rishivg

Senior Member
Apr 14, 2015
454
204
43
22
navi mumbai
Basically, all ROM built after the 7th June.
Check on potterroms which were built after this date.
I can't say at 100% that all ROM built after the 7 June is compatible cause it's up to the ROM maintainer to either update his tree or not. So it's better to ask directly to the one who maintains the ROM you gonna use.
Tried all of them after 7th June... none of them supported this...:confused:
 

ichmyselfandi

Senior Member
Mar 6, 2018
67
9
0
This Kernel works great. The UI runs smooth and my batteries life got up to ~15%.

I want to change the GPU Governor, because I do not need the performance from msm_adreno_tz. This info about adreno I was able to find on xda, but for the other GPU Governors in this kernel I couldn't. Can somebody recommend a GPU Governor for batterie life or balance?

Also, what are the effects of "audio high performance mode"?
 
Last edited:

Martichou

Senior Member
Jun 12, 2016
165
619
0
Namur
martichou.me
This Kernel works great. The UI runs smooth and my batteries life got up to ~15%.

I want to change the GPU Governor, because I do not need the performance from msm_adreno_tz. This info about adreno I was able to find on xda, but for the other GPU Governors in this kernel I couldn't. Can somebody recommend a GPU Governor for batterie life or balance?

Also, what are the effects of "audio high performance mode"?
I don't recommend you to change the GPU governor. GPU don't take that much battery, and adreno_tz is already pretty great.
On GPU side, you can however change the GPU initial frequency to 133MHz if you want.
If you really want to change GPU governor (even if I don't recommend that at all), you can use simple_ondemand.

And about the Audio High performance mode:

Every phone powered by a Qualcomm processor has a built-in WCD9xx Audio DAC,
but it's rarely configured to be used to its full potential by OEMs.
This might not seem like a problem to some people, but if you're a music lover,
or you simply enjoy high-quality sound, it's an issue you'll definitely want to fix.

By enabling High-Performance Mode, the audio quality of Qualcomm-powered devices
will not only receive a boost in volume but will sound more clear and crisp as well.
- from android.gadgethacks.com
 
  • Like
Reactions: mrroks

monster1612

Senior Member
Apr 21, 2014
432
162
0
.... i feel like people are going to yell at me but what is treble? i thought it was all about that bass
No worries. Treble is an initiative by Google that forces OEMs to separate their devices' driver code from the code that powers Android itself. There's a more detailed Android Authority piece that explains it in detail here.
 

ikarann

Member
Mar 24, 2017
16
6
0

THIS KERNEL IS FOR
TREBLE & NO-TREBLE


Introduction

Hello everyone, I'm Martin and I've been working on Potter for 1 year right now.
I'm constantly trying to improve this device with some change that some developers don't like.
For me EAS is the future of android kernel, that's why I'm already bringing it to you!
I will always follow these three rules:
  • Follow upstream Linux always
  • Features will be added only as needed
  • Security and stability are paramount
I hope you'll all agree with these three rules :eek:


Thread Rules

  1. I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat or a dmesg. (Follow this guide)
  2. Stay classy, I won't tolerate flaming of any kind, ever.
  3. OT is allowed.


Features

Here are the major features of the kernel (feel free to explore Github)
  • Up to date with the latest stable Linux version (3.18.112)
  • Patches from Code Aurora Forum targeting GPU, touchscreen/video, storage, and sound
  • Mainline Linux patches for CFQ and media memory allocation
  • Latest energy aware scheduling patches ported to 3.18 (check EAS)
  • Converted some workqueues to use power efficient workqueues
  • Wake up improvements and other optimization from Sultanxda
  • Rewrited the fingerprint sensor driver (fpc1020_tee)
  • The following user features:
    • Faux Sound Control with high-performance audio
    • Westwood (default)
    • Maple I/O scheduler
    • Wakelock control
  • Lastest WireGuard snapshot
  • Build with official Clang toolchains 7.0 (clang-4679922).
  • Hides bootloader unlock from SafetyNet (can still fail through other means)
  • Flashed with AnyKernel2 (thanks to @osm0sis)


Downloads

Treble : AceKernel-Potter-v1.10_eas_treble

No-Treble : AceKernel-Potter-v1.10_eas_no-treble
For no-treble, the ROM need to be updated with lastest blobs from boulzordev GitHub organization.

Do not mirror my kernels and don't share the direct link!


Installation

If you are on a custom ROM:

  • Either dirty flash your ROM or flash the stock boot image. (not mandatory)
  • Install or temporarily boot into TWRP (follow their instructions)
  • Reboot to TWRP
  • Flash the zip.
  • Reboot and profit!


If you are on a GSI/Treble ROM:

  • Either dirty flash your GSI image or flash the stock boot image. (not mandatory)
  • Install or temporarily boot into TWRP (follow their instructions)
  • Reboot to TWRP
  • Flash the zip.
  • Reboot and profit!


Upgrading from one Flash version to the other:

  • Boot into TWRP
  • Flash the zip.
  • Reboot and profit!



Changelog

Complet changelog here:
For TREBLE variant use the eas_treble branch.
For NO-TREBLE variant, use the eas_no-treble branch.
https://github.com/Martichou/potter/commits/eas_treble


Thanks to:
@vache for his incredible work on Potter
@joshuous for his work on EAS
@osm0sis for AnyKernel2
The various other developers for their patches (@flar2, @franciscofranco, @frap129, @nathanchance, ..)
All of you guys for viewing the thread


DONATION:
If you want to buy me a beer :good:
Yeah, I'm Belgian, and I love that! http://paypal.me/martichou


TELEGRAM:
There is also an Official Telegram group, for support and to speak directly with me.
https://t.me/joinchat/EWMwLkNn0rKRA-jPluo85w


FOR DEVELOPER:
If you want to inline this kernel into your rom, you'll need a change in init.qcom.rc.
I also made this commit to make your life easier. Feel free to pick it [Treble & No-treble branch (depends on what you're building)]
https://github.com/Martichou/android_device_motorola_potter/commit/654854f3bc695a7cfbcc5ff11d7d3943b67869af


DISCLAIMER:
I openly welcome off topic in my threads. Mods, please do not clean off-topic discussion and users, do not complain about off-topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.




XDA:DevDB Information
AceKernel, Kernel for the Moto G5 Plus

Contributors
Martichou
Source Code: https://github.com/Martichou/potter

Kernel Special Features:

Version Information
Status: Stable

Created 2018-06-08
Last Updated 2018-06-11

Great kernel ??? thank you
 
Last edited:

Ae3NerdGod

Senior Member
Apr 27, 2014
210
208
0
No worries. Treble is an initiative by Google that forces OEMs to separate their devices' driver code from the code that powers Android itself. There's a more detailed Android Authority piece that explains it in detail here.
That is brilliant.

Does this mean our phones compass works on Oreo now? I read somewhere it was because of an issue with not having the 64bit drivers for it. Makes gps apps unusable for me and is basically while I'm still on nougat
 

jesus693

Senior Member
Mar 27, 2014
118
11
0
hello I want to install the ROM but there is 2 treble version and no treble and I do not know which one to install. I have the latest version of RR-O-v6.0-20180608-potter-official
 

jesus693

Senior Member
Mar 27, 2014
118
11
0
I already installed it I tried with the non-treble everything works fine even the camera, I'm realizing that I do not have much RAM available less than 400mb in the stock ROM of RR I had always more than 600 :( now the games are closed only after 5 minutes of opening them by little ram: '(
 

Martichou

Senior Member
Jun 12, 2016
165
619
0
Namur
martichou.me
I already installed it I tried with the non-treble everything works fine even the camera, I'm realizing that I do not have much RAM available less than 400mb in the stock ROM of RR I had always more than 600 :( now the games are closed only after 5 minutes of opening them by little ram: '(
You can enable Zram in Kernel Auditor or Exkm or any kernel tweakers.
Enabling Zram should fix your issue.
By the way, I want to say that free ram is wasted ram. The ram need to be full the most of the time. (As far as I know and what others dev said).
 
  • Like
Reactions: LASB2000