[INFORMATION & COLLECTION] Kernel Parameters, Tunables and Memory Misc. Documentation - Nexus 6P General

[INFORMATION & COLLECTION] Kernel Parameters, Tunables and Memory Misc. Documentation
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A straight collection for different kernel tunables and parameters coming from linux, redhat and different sources.
This is not a guide. This are collective studies, documentations and different articles that I have compiled and found to be of significant importance in tweaking and improving your cat. I won't include any parameters that I am using because I want people here in XDA to read, learn and tinker for their own because that's what we are all about. Also, some of these parameters may render your angler or any device slower or even crash some apps so be careful and read everything thoroughly, just be noted that you are warned.
​
QUICK NOTE: Most of the articles and virtual materials in here have conflicting suggestions per kernel values and that is why I want everyone to learn from your own mistakes/tests. There are also some which are pretty advanced and hard to understand so get your nerd glasses ready. And I know that this is supposed to be posted on the general page of xda since this may benefit everyone but as of now, all this parameters I have tested are only within one device, named Angler. Please do message me if I have violated anything in respect with the rules.
LINUX DOCUMENTATIONS:
CpuFreq Governors
Kernel Memory sysctl
XDA KERNEL INFORMATION:
I/O Descriptions and Guide
Guide to Kernels
Tuning the Linux Kernel
Advanced Interactive Governor Guide
VERY USEFUL KERNEL ARTICLES:
Tuning Virtual Memory
Memory Capacity Tuning
Tuning Memory Management for VM Linux
Why Linux feels Slow
Optimising Dirty Ratio and Dirty Background Ratio
The Truth About Kernels and Battery
Sysctl Tweaking
Parameters that "may" increase perceived performance and ram management other than cpu:
Swappiness
[*] vfs_cache_pressure
[*]read_wake_threshold
[*]dirty ratio
[*]dirty background ratio
There are definitely a lot more to read, but what I have compiled here are the articles that applies to everyday users. I have not listed anything for configuring and building kernels since it is not what we are looking for. More articles are there and feel free to contribute to the comments section and to everyone's knowledge (of course also my brain, feed it moar), if the article is good enough of a read, I will surely put it in here. Happy reading and tweaking!
Credits to:
@The Flash, @flar2, @onexuan, @soniCron, @Saber, @Kyuubi10 and anyone who have contributed to the android community knowledge! I give my next first born to you!

Related

Guide developers custom kernel with ROM

-Optimization custom kernel and android system
-Remove changes in build.prop and init.d scripts folder will not only serve Encourage the device
-Note: roms covers this does not bring this optimization must modify please cook ROM -
Code:
-Requirements:
-Apk manager
-Java install pc
-Framework-res.apk
-Decompile and compile knowledge framework-res.apk
-Notepad++
-Just a little patience
-now have to decompile the framework-res.apk and wait Aque finished extracting the files
-locate the next file in the framework-res.apk
Code:
framework-res.apk/res/xml/power_profile.xml
( here you'll find related signal, wifi, radio frequencies and codes Processor )
( to add missing values ​​use this <value> </ value> )
example capture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Faq
this is for those who have unlocked bootloader and the ability to use a custom kernel remember that when porting the rom there are certain modifications that must be done carefully so that the xperia performs to a good performance otherwise the kernel can have cpu frequency however the file I mention power_profile.xml frequencies may not be on the well known lag this causes problems and delays when executing common tasks on your smart phone
this is an example:
custom kernel:
cpu frequency 100, 200, 400, 800, 1000
power_profile:
cpu frequency 200,500,700,1000
as can usually observe the roms covers do not match the code of the rom that's why there are problems in the terminal I hope you can understand the objective of the subject
-Here we verify that the value of the frequencies of all matching kernel with this file so that the entire operating system to work as it should be fast without lag
-Now compile the framework-res.apk and flash in your terminal and check optimization.
Good guide mate. :good:
But i am a bit confused. Can you please give some more intro and purpose about the thread?
Thanks!
aggregate information :good:
best kernel
where i find the best kernel for custom roms?:crying:

Project Engine Kernel Quattro FAQs

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This thread is for Project Engine Kernel users to clarify their doubts or face any difficulties in using the kernel.Any Recognised Contributor who would like to help me to manage this Q&A thread is greatly appreciated
Requirements:
Galaxy Grand Quattro Device(Obviously)
Logcat(It would be easier for me or the RC to spot the issues easily
Do speak politely with one another.Its part of respecting each another and the XDA rules
If you can help,try contributing to fix issues that other users faced because we are all here to learn
FAQ:
Why is my phone's battery discharging so fast?
- Check that the amount of apps running on your background process.If there is too much applications running,i suggest you use greenify
Why is USB OTG not supported in Galaxy Grand Quattro?
- Somehow Samsung disabled USB OTG in Grand Quattro Device and I am trying to reverse-engineer the process of how they disable it and how i can fix it.I know this is quite a hot-topic among users but seriously its not as easy as you think.There are lots of consideration when coding OTG because if not handled well,it could be pose risky problems
Where do i download the zip file?
- I have imported the thread to XDA DEVDB Project so now all zip files are under the Downloads tab.You are required to use the browser or when you are in Tapatalk,click view on Web to see the Download files
What does the governor and I/O Scheduler do?
- Well there are already lots of hardworking chaps in XDA writing guides to help users.One of them is here and another one is here.Dont forget to thank them because writing this guide takes a long time for them and their hardwork should be rewarded.
What is the difference between ARM and Linaro toolchain?
- ARM toolchain is the basic compiling toolchain used for kernels and ROMs but Linaro toolchains is full of optimisations that could really make a big improvement in the kernel such as battery life and performance.Over the years,many users were elated over the speed and battery life that their device kernel can achieve through the Linaro toolchain and it is now the most well-known toolchain in XDA and other places of Earth.Well,fear not,Project Engine Kernel is compiled using Linaro GCC 4.7.4 Toolchains and therefore,you will be amazed with the difference between the stock and custom kernel.
I know there are lots of question that i cant answer all so post them here if you have enquiries
This is not your kernel issue but i need a experts help..thats why i am asking to you..i am troubling with a great problem when i running some apps..its suddenly crashes without any error msg..screen became black & came to home screen...all apps closes instantly then..i googled the problem...got a solution to delete the cache & data of apps or that particular app..i tried all that..but nothing happens..still it crashes with a black screen..please help..otherwish its became so irritating to use such a thing...i am facing this problem about 2 mnths..flashed many clear roms..tried almost evrything..your latest vr kenel also but nothing changes..please help sir...
Sent from my GT-I8552 using Tapatalk
Can we expect undervolting in the next versions?
:fingers-crossed:
hope for the best

Cyanoid

Deleted
Kernel Infos
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel​
Features
Swap
Overclock up to 1000 MHz
Tun
Undervolt
O3 flag
Blur fix
Some new governors
Improved Camera
Improved wlan drivers
Thanks:
> Cyanogen.inc for Cm9 kernel I used as base
> Gellmar for a charger and msc fixes and sdmerge
> Qcom for the great Soc and a some help
> CodeAurora Forum for many hacks and mods for msm7x25a
If someone ask me why I don't want that my work is used, it means that you don't know xda rules so here i report the #12 that explain the sharing policy for both rom and kernel.
Cyanoid kernel is for cyanoid rom only.
You're free to fork edit and push requests on git but you cannot use it as is on your project
XDA Rule #12. Using the work of others.
If you are developing something that is based on the work of another Member, you MUST first seek their permission and you must give credit to the member whose work you used. If a dispute occurs about who developed / created a piece of work, first try to settle the matter by private message and NOT in open forum. If this fails, you may then contact a Moderator and provide clear evidence that the work was created by you.
Convincing evidence will result in the copied work being removed. If there is no clear evidence that it was you who created the work, then in the spirit of sharing, all work will remain posted on the forums.
As an addition, developers have the right to hold exclusivity over their work for as long as it is deemed necessary by that developer. However, if the work is claimed as exclusive, it must remain as such. No selective sharing will be allowed (ie, allowing certain people to use it and not others). Should the developer decide to start sharing the work with others, the work automatically becomes fair game for all to use, albeit with the relative credit displayed.
In regard to permissions, the same rules apply for this but if permission was already given and unless there is a very valid reason, it cannot be revoked (same applies to major updates on the work). Under that same premise, permissions cannot be denied unless the work is exclusive or under extreme circumstances.
In plain English: If you want to keep your work exclusive, go for it. However, if you are going to share your work, do it fairly.
These rules apply to all software posted on XDA (including but not limited to ROMs, RUUs, apps, games, kernels, themes, icons, etc) unless that software comes with a license that waives these rules.
Click to expand...
Click to collapse
Reserved
Deleted
First Reserved
theowner997 said:
First Reserved
Click to expand...
Click to collapse
it keeps blinking the "cyanoid" boot screen after installation
...nothing happens....
[email protected] said:
it keeps blinking the "cyanoid" boot screen after installation
...nothing happens....
Click to expand...
Click to collapse
What are you talking about? ROM works perfectly for me!
any updates linuxxxx??

Tired of unresponsive and lack of screen sensitivity?

Tired of unresponsive and lack of screen sensitivity?
Hello guys, if you guys don't know me already, I'm gsstudios and I'm currently working on providing kernels for our device.
Now it has come to a point where some people want more screen sensitivity, because all of the tuning that is currently available in kernels are not adequate enough for some users. It has been believed that the stock values found on kernels are buggy since stock ICS, and most kernels today still have these stock values.
Now, I present you the very first build (in current XDA) of DorimanX kernel with tuned screen values (0 for touch move sensitivity) by default.
Note to kernel developers/potential kernel builders:
The fix isn't really important to most users on XDA, but if there is a time where it is required to increase sensitivity, follow this guide: http://forum.xda-developers.com/showpost.php?p=43461109. but make sure that ALL of the /* MOVHYSTI */ values are changed to a lower value (some people like 0). A similar effect can be done by tweaking other values, but doesn't achieve the same results as people would wish for. The original fix from vitalji is for older kernels (still applies, but was in a different location) still based on older samsung source code, newer kernels will have to use the guide provided above to adjust values.
Downloads
Link to dorimanX unofficial builds with screen tweak
http://forum.xda-developers.com/showpost.php?p=63543949&postcount=361
Please also note that this thread isn't intended to revive the old posts/topics mentioned. It is just to announce to users who wanted a better touch screen experience in current times
thanks to vitalij for the original fix here
How can you test?
If you are interested in knowing how responsive your screen is, download the Touch Move app from the play store, and follow the onscreen instructions. The app will tell you how many pixels are required to move between different points of the screen. Make sure to swipe your screen slowly (important), so that the test is as accurate as possible.
App link
How a kernel with properly tuned parameters should look like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Image source: My own thread
How a kernel without properly tuned parameters should look like:
Image source: Google play store
Now the first image shows what a kernel with the touch move sensitive value set to 0 would look like. Whereas the second image shows what a kernel with a touch move sensitivity set to 5-6. Most kernels have a value of 10 or even 15! Making it hard to make fine and precise movements on the screen.
wrong section !!

[SHARED][AOSP-OSS][12][KERNEL]SnapLight x Infinity (Immensity X)[2022]

Read first, as always.
Warning:
It's up to you made the decision.
I totally not responsible for anything that happened to you.
You mess it up and point at me, i will laugh so hard at you.
Notes:
Again, i do not own or made everything that related to the kernel i posted, the original owner/developer is @wadiehabib, all the credits, copyright is all belong to the original owner.
•Info:
-It's been long time, Quantic Kernel seems out of the pictures, and Marisa Kernel is got another competior, may i introduce you, the SnapLight x Infinity kernel.
-SnapLight kernel was rebased on Infinity kernel which is again, rebased on Immensity X. Build for versatile balance between powers saving and performances.
-Work on Android 12 and Android 11.
•Changelogs:
SnapLight-Infinity Kernel 1.2
(For OSS vendor only, A11/12)
Based on Infinity kernel by @LuHaKo
GPU OC to 8xx+ Mhz
Other are unknown or lost. Search on GitHub.
If you want better battery life, install original Infinity kernel, file is available in thread.
Changelogs of Infinity 3.0.0:
https://github.com/LuanHalaiko/kernel_raphael_sm8150/releases/tag/3.0.0
There's another build which is having the latest streamline encryption, called F2FS FBEv2 Casefoldding. But only install it if the rom you installed are support FBEv2 and data format F2FS, otherwise it won't ever boot or may turn into fastboot mode.
GitHub link:
GitHub - LuanHalaiko/kernel_raphael_sm8150: // Codelinaro Kernel for Raphael | Updated to CL tag LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0 with android-4.14-stable merged and upstreamed TFA98xx drivers
// Codelinaro Kernel for Raphael | Updated to CL tag LA.UM.9.1.r1-13000-SMxxx0.QSSI13.0 with android-4.14-stable merged and upstreamed TFA98xx drivers - GitHub - LuanHalaiko/kernel_raphael_sm8150: ...
github.com
•Instructions:
-Must be on latest build of Android OS (Mandatory, otherwise you might getreboot bugs when device is on)
-Enter recovery mode, find the downloaded files in device storage and install.
-Clean Davik-ART and Cache partitions and reboot after done.
•Bugs:
-Nothing found so far. Report if you got. With Logcat. To the developer.
•Sovled Know Issues:
-For making fast charging work properly, go to here: https://forum.xda-developers.com/t/...p-12-magisk-marisa-kernel-27-11-2021.4380249/
There's no more FKM profiles, because there's some problems from the kernel that interfere with FKM app.
For more information or contact, search for Waddie's group of Telegram on sites, i can't post here bcz of restrictions of XDA.
That's all of it.
Leave some thanks if it work for you.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources