Ktweak Optimize Parameters On Android And Gnu Linux

17 Feb 2023 - Linux Mobile

Because Android is a fork of GNU/Linux, that means only the kernel is used, the rest of the rootfs and components are added such as drivers, firmwares, google play and apps. Android need to optimize kernel parameters, even Google engineers did but it’s still suck parameters from stock

ktweak optimize kernel params
Ktweak

rootfs of GNU/Linux is the same, in addition to the kernel just to boot, when we review rootfs, it is necessary to optimize kernel parameters. Fortunately, it is possible to get the parameter settings on Android to switch to GNU/Linux, let’s just call Android using the downstream kernel, and GNU/Linux using the upstream kernel.

When we’re writing code and adding custom settings files in the kernel’s kconfig, we can compile a file to boot but this file is still unusable, we need dtbo to correctly identify the device to be assembled into the boot, and must have the parameters number that tells the kernel the location of boot in the RAM table using the mkbootimg tool.

To get to the rootfs stage, it is necessary to optimize kernel parameters, manage CPU/GPU core clocks and CPU temperature. This is why I learned ktweak on Android, written specifically for Oneplus 6/6T series, so I need to tweak a lot on Nvidia’s Tegra SoC and Qualcomm’s msm8916. Check out the differences in the links below.

 

Recent Posts:

When I created my personal blog from basic jekyll barebone,... more

U Boot On Tegra Soc

12 Feb 2023 - tegra

As mentioned in the previous post, Nexus 7 2012 grouper/tilapia... more

Fosdem 2023

05 Feb 2023 - linuxmobile

This event could view online at this link. They... more

I finished barebone static blog from Jekyll documents and... more

This is hard part about Tegra 3 T30L, which I... more

This post, I share my experiences from I/O and CPU... more

I wrote some lk2nd experiences at previous post. Xiaomi Redmi... more

How the system booting!? Let’s start, since Google created compatible... more

This is the first SoC on ARM. Nvidia made ULP... more

When I wanna push source code to git, I saw... more

When I was online, I saw some github.io website. I’ve... more

 
More articles