Kernels for G7

manuhuelva

Senior Member
Mar 30, 2010
173
37
58
Huelva
Hello guys,

I am writing this to convey to you my wish for an updated Kernel Standalone. I recently started playing with the ramdisk, edit and creating my own kernel profiles. But I need more.

Of the current kernels out there, the one that caught my attention the most was the xd-kernel, I don't know if it will be because its forum topic is very striking and such ... But it was the first. I have been investigating, and I have realized that the version that I use (1.7) does not bring the CAF files. I didn't know what the CAF files were, until I came across a folder containing 3 sd845.dbt files in zip 2.0.2 of the xd-kernel.

That's when I realized that those files are direct kernel updates for our SOC.

I quickly realized that although I believed that the 1.7 kernel was better because it could raise the gpu frequencies above 710mhz, it was an outdated kernel and without direct SOC support as such.

The TNO kernel has not been tested yet by me, its forum post is very simple and it did not catch my attention ... but today I checked that it has CAF files and that it was published in December.

I have doubts about this kernel ... can gpu be overclocked?
Does it bring recent optimizations such as improvements to the CPU_governor?
Improvements to the Schedutil?
Drivers improvements?
In short ... What this kernel brings, that the xd-kernel does not have (not counting the CAF files).

And finally I wanted to ask for help ...
As I see that no one has the intention at the moment to update those kernels, or to create a new one ...

I would like someone to tell me where to start, for me to create my own kernel for this soc, tips to improve the soc (like the issue of Wakelocks, Oc, implement CAF files ...).

I do not intend to create a kernel that everyone should install. I have never programmed and they seemed to me like gods doing things to a kernel, like putting spectrum and things like that. But there is always a first time for everything, and this time it was my turn to begin to understand how a kernel worked, how spectrum is implemented and what settings are related to governors and I / O schedulers. But I need more, I need to compile a kernel that I say: Damn, if this kernel looks like a kernel from the "pixel3" forum, very complete and well-founded.

Hopefully someone will listen to me and teach me where to start, considering that I have not done this in my life. But reading and reading I have ended up here trying to be better. I think that if I have the necessary means (documentation and links on how to create a proper kernel) I could create something good that will work for all of us much better, but I am satisfied that it works well for me (as I said I cannot pretend that everyone uses my job).

Well guys, sorry for my english, thanks for reading and a hug to everyone (with mask hahaha).
 

ShadoV90

Senior Member
Mar 5, 2017
228
85
0
Legnica
Some questions what you should ask yourself are:
You want to create kernel for stock system? Or for some certain rom? To Android 9 or 10? What improvements do you want to bring?

I know you want to made it for yourself, but you can share your work to other people if you want.
 

manuhuelva

Senior Member
Mar 30, 2010
173
37
58
Huelva
Some questions what you should ask yourself are:
You want to create kernel for stock system? Or for some certain rom? To Android 9 or 10? What improvements do you want to bring?

I know you want to made it for yourself, but you can share your work to other people if you want.
Thanks for the reply

I would like to create it for the Stock Rom as the Evolution X team is doing a great job on AOSP.
I would mainly focus on Pie, I think it has more support currently, twrp ..., and then it can be ported to 10.

Improvements:

-Unlock CPU / DDR / GPU frequencies
-Import current CAF files for sd845
-SlimBus OC
-Wireguard
-Spectrum / Franco Kernel implementation
-Latest Schedutil governor uptades
-add good governors and I/O schedulers
-add support for misc features like zram compress formats, latest linux security patches...

And can be imported other features from kernels with same SOC devices like pixel or oneplus6.

I would have no problem sharing work with someone, I would rather have someone correct me for what I do wrong, than have a noob direct the project alone. I know there are many here that I am proposing, they do it in 5 seconds, but I don't have much idea and I need time and reading.

Hugs bro.
 

Yeedatoy

Senior Member
Jul 18, 2018
87
41
18
36
Charlotte
When I flashed the TNO kernel it gave me issues. My status bar would flicker non stop. Performance increase wasn't noticable and there is no overclocking the GPU. Most importantly, it didn't give me the options of different governors like the XD Kernel, and I/o schedulers.....having Zen and Maple with the XD is great. The one thing the TNO Kernel did have that the XD kernel lacks is Wireguard support, but I never got into that anyway. I would like to see another Kernel that gives us some of the options available to the V30 users, with RCTD disabled already. Beast Kernel, Konverged Kernel....others have so many options!
 

manuhuelva

Senior Member
Mar 30, 2010
173
37
58
Huelva
When I flashed the TNO kernel it gave me issues. My status bar would flicker non stop. Performance increase wasn't noticable and there is no overclocking the GPU. Most importantly, it didn't give me the options of different governors like the XD Kernel, and I/o schedulers.....having Zen and Maple with the XD is great. The one thing the TNO Kernel did have that the XD kernel lacks is Wireguard support, but I never got into that anyway. I would like to see another Kernel that gives us some of the options available to the V30 users, with RCTD disabled already. Beast Kernel, Konverged Kernel....others have so many options!
Wow thank you for the reply!!

Ill see these kernels, but my doubt is the compatibility with our device, is the same SOC, ok, but we have different screen for example. What do u think about this?

If it really works, it would be a great idea to port a v30 kernel. Looking at xda, I realize that the xd kernel looks a lot like one called SmurfKernel or something like that, from the OP6 device,
I would even say it is a port.
 

manuhuelva

Senior Member
Mar 30, 2010
173
37
58
Huelva
I found that kernel is not the same, is SD835... f*ck
Ill search on v35 forum

Update: Have 5 or 6 threads in v35 development :'( and saw 7 pages on v30 forum, what a forum lol.
 
Last edited:

Yeedatoy

Senior Member
Jul 18, 2018
87
41
18
36
Charlotte
Hey buddy! Long time no talk! I hardbricked the G7 so I took 2 broken moto G6's and made one working one into a 64bit beast running Android 11. Ive been really busy but finally found the time to revive the G7 with QFIL. Starting from scratch, I flashed the TNO kernel, which wiped out Magisk, but after a reflash it actually runs really smoothly. The XD kernel has too many errors to count. It's built completely wrong. If you monitor your gpu, you'll see the worst of its flaws. The TNO kernel runs really well, and although it doesn't have all the bells and whistles other kernels have, it works correctly. I must have had too many modifications already yheyr'=[