Coder Social home page Coder Social logo

kerneladiutor's Introduction

KernelAdiutor

Build Status Crowdin

Google Play PayPal

Kernel Downloader

This is a feature which allows the user to download different custom kernels for their device. To add more kernel the developers have to add support by their own. I wrote up a documentation which explains how to do this.

Report a bug or request a feature

You can report a bug or request a feature by opening an issue.

How to report a bug

  • A detailed description of the bug
  • Logcat
  • Make sure there are no similar bug reports already

How to request a feature

  • A detailed description of the feature
  • All kind of information
  • Paths to sys interface
  • What's the content if the sys file
  • How to apply a new value
  • Make sure there are no similar feature requests already

Download & Build

Clone the project and come in:

$ git clone git://github.com/Grarak/KernelAdiutor.git
$ cd KernelAdiutor
$ ./gradlew build

Credits

I used following libraries:

Also codes from different people:

Andrei F.

apbaxel

(Many sys interface paths has been taken from his UKM-Project)

Brandon Valosek

License

Copyright (C) 2015-2016 Willi Ye <[email protected]>

Kernel Adiutor is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Kernel Adiutor is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with Kernel Adiutor.  If not, see <http://www.gnu.org/licenses/>.

kerneladiutor's People

Contributors

akhilnarang avatar danielgusvt avatar electrex avatar eroneko avatar fechinator avatar flocke avatar friederbluemle avatar fusionjack avatar github-cygwin avatar grarak avatar javelinanddart avatar joeschubert avatar kartikbhalla12 avatar mydongistiny avatar nicklas373 avatar nicksspirit avatar olivier97 avatar pafcholini avatar placiano avatar psycho-source avatar sayeed99 avatar shinyside avatar shoaib0597 avatar slo-loris avatar someshthakur avatar swapnil133609 avatar thenotonly avatar tomoms avatar zeeshanhussain avatar zwliew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kerneladiutor's Issues

Alucard hotplug suport

Please, add Alucard Hotplug(from XDA Member alucard_24) suport for this app. This hotplug is very batery friendly.
Kernel as AndroPlus for Xperia z2 and z3 support this, and alucar Kernel for galaxy devices, for example.
Thanks alot.

CPU Boost Toggle

Could you also add a CPU boost toggle?

/sys/modules/cpu_boost/parameters/cpuboost_enable

Options are N and Y

Faux voltage control

Force close on selection :(
01-08 10:59:20.119 E/AndroidRuntime(3889): FATAL EXCEPTION: AsyncTask #3
01-08 10:59:20.119 E/AndroidRuntime(3889): Process: com.grarak.kerneladiutor, PID: 3889
01-08 10:59:20.119 E/AndroidRuntime(3889): java.lang.RuntimeException: An error occured while executing doInBackground()
01-08 10:59:20.119 E/AndroidRuntime(3889): at android.os.AsyncTask$3.done(AsyncTask.java:300)
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.util.concurrent.FutureTask.run(FutureTask.java:242)
01-08 10:59:20.119 E/AndroidRuntime(3889): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.lang.Thread.run(Thread.java:818)
01-08 10:59:20.119 E/AndroidRuntime(3889): Caused by: java.lang.NullPointerException: storage == null
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.util.Arrays$ArrayList.(Arrays.java:38)
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.util.Arrays.asList(Arrays.java:155)
01-08 10:59:20.119 E/AndroidRuntime(3889): at com.grarak.kerneladiutor.utils.kernel.CPUVoltage.getFreqs(CPUVoltage.java:83)
01-08 10:59:20.119 E/AndroidRuntime(3889): at com.grarak.kerneladiutor.fragments.kernel.CPUVoltageFragment.init(CPUVoltageFragment.java:47)
01-08 10:59:20.119 E/AndroidRuntime(3889): at com.grarak.kerneladiutor.elements.RecyclerViewFragment$Task.doInBackground(RecyclerViewFragment.java:187)
01-08 10:59:20.119 E/AndroidRuntime(3889): at com.grarak.kerneladiutor.elements.RecyclerViewFragment$Task.doInBackground(RecyclerViewFragment.java:174)
01-08 10:59:20.119 E/AndroidRuntime(3889): at android.os.AsyncTask$2.call(AsyncTask.java:288)
01-08 10:59:20.119 E/AndroidRuntime(3889): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
01-08 10:59:20.119 E/AndroidRuntime(3889): ... 4 more
01-08 10:59:20.125 W/ActivityManager(756): Force finishing activity com.grarak.kerneladiutor/.MainActivity
01-08 10:59:22.481 I/ActivityManager(756): START u0 {act=android.intent.action.APP_ERROR flg=0x10000000 cmp=com.android.vending/com.google.android.finsky.activities.AppCrashProxy (has extras)} from uid 1000 on display 0
01-08 10:59:22.520 I/libprocessgroup(756): Killing pid 3910 in uid 10007 as part of process group 3889
01-08 10:59:22.520 I/libprocessgroup(756): Killing pid 3942 in uid 10007 as part of process group 3889
01-08 10:59:22.521 I/libprocessgroup(756): Killing pid 3910 in uid 10007 as part of process group 3889
01-08 10:59:22.521 I/libprocessgroup(756): Killing pid 3942 in uid 10007 as part of process group 3889
01-08 10:59:22.521 I/libprocessgroup(756): Killing pid 3910 in uid 10007 as part of process group 3889
01-08 10:59:22.521 I/libprocessgroup(756): Killing pid 3942 in uid 10007 as part of process group 3889
01-08 10:59:22.522 I/libprocessgroup(756): Killing pid 3910 in uid 10007 as part of process group 3889
01-08 10:59:22.522 I/libprocessgroup(756): Killing pid 3942 in uid 10007 as part of process group 3889
01-08 10:59:22.561 I/ActivityManager(756): Process com.grarak.kerneladiutor (pid 3889) has died

full logcat: https://www.dropbox.com/s/o172wknpua8r5cq/logcat_and_device_info.zip?dl=0

Emulate init.d

Have an option to emulate init.d for ROMs that don't support it.

Path: /system/etc/init.d

Most ROMs don't support this, but androguide.fr has an app that emulates init.d for all ROMs with root/busybox. If you need more info, I'll try my best to provide some details, though truthfully my knowledge on this is rather lacking.

Here's the link to his project if you need some sort of reference: https://github.com/Androguide/Universal-init.d/tree/master/src/com/androguide/universal/init/d

dark theme

Could you please add a dark ui - if time permits (functionality over look). Thanx.

Revert to Default

Have the users be able to revert all settings (or a specific setting) to a default value.

enable/disable smb135x wakelock on N6

Can you add this N6 tunable mate?
It's related to power (maybe put on misc tab?)

"enable/disable smb135x wakelock"
/sys/module/smb135x_charger/parameters/use_wlock (Y or N)

KCAL - Advanced color control

Here's the tunables:

/sys/devices/platform/kcal_ctrl.0/kcal - (0-256 0-256 0-256) - Controls Red/Green/Blue Multipliers
/sys/devices/platform/kcal_ctrl.0/kcal_min - (0-256) - Controls minimum RGB Multiplier value
/sys/devices/platform/kcal_ctrl.0/kcal_enable - (0-1) - Enables/Disables RGB Multiplier Control
/sys/devices/platform/kcal_ctrl.0/kcal_invert - (0-1) - Enables/Disables Display Inversion Mode
/sys/devices/platform/kcal_ctrl.0/kcal_sat - (224-383 or 128) - Controls saturation intensity - use 128 for grayscale mode
/sys/devices/platform/kcal_ctrl.0/kcal_hue - (0-1536) - Controls display hue - may have issues with msm8x26 in the higher values
/sys/devices/platform/kcal_ctrl.0/kcal_val - (128-383) - Controls display value
/sys/devices/platform/kcal_ctrl.0/kcal_cont - (128-383) - Controls display contrast

You can check app layout made by savoca:
https://www.youtube.com/watch?v=FSgPUN05I90

Nexus 6 tunables

Hope you can merge some nice tunables for N6, some work also for N5

Tap2Wake

/sys/devices/f9966000.i2c/i2c-1/1-004a/tsp (string "AUTO" or "OFF)

Vibration intensity N6

/sys/vibrator/pwmvalue (integer from 0~127)

blu_plug CPU Hotplug

/sys/module/blu_plug/parameters/down_timer_cnt (integer 110)
/sys/module/blu_plug/parameters/up_timer_cnt (integer 1
10)
/sys/module/blu_plug/parameters/min_online (integer 14 min cores online)
/sys/module/blu_plug/parameters/max_online (integer 1
4 max cores online)
/sys/module/blu_plug/parameters/max_cores_screenoff (integer 14 max cores online while in screenoff)
/sys/module/blu_plug/parameters/max_freq_screenoff (integer frequency max while in screenoff)
/sys/module/blu_plug/parameters/up_threshold (integer 0
100 load Up Threshold)

Simple GPU Governor extension to msm_adreno_tz in N6

/sys/module/simple_gpu_algorithm/parameters/simple_gpu_activate (true/false as 1/0)
/sys/module/simple_gpu_algorithm/parameters/simple_laziness (integer, same values as N5)
/sys/module/simple_gpu_algorithm/parameters/simple_ramp_threshold (integer, same values as N5)

Delay Writebacks (laptop mode)

/proc/sys/vm/laptop_mode (true/false as 1/0)

Android logger on/off

Toggle for Android logger on/off

/sys/module/logger/parameters/enabled (1 enable or 0 disable)

SELinux Adjustment

Would be nice to see this app have an option to set SE to Permissive or Enforcing.

To set kernel to Permissive through terminal: setenforce 0

Some mods like V4A require the kernel's security to be set to Permissive. There's already a Google Play app that adjusts SE and applies it on boot, but I would prefer my system tools to be in one app.

Fast Charge

Would love the fast charge functionality.
Code for terminal:echo 1> /sys/kernel/fast_charge/force_fast charge

Kernel permissions

It would be a good idea to set necessary permissions to all the tunable files, my device LG F6 for example can't change the governor because the permissions are set to 444 and not what they're supposed to be in which I set them to 777.

Need delay settings

Some kernels apply their settings after sometime. The should allow for delay so that settings from kernel are overrides by the app. Eg Uber kernel uses 30 seconds time before settings are applied. Due to this my settings from this app never gets applied.

Add option to change language

Since some languages aren't fully supported or badly translated, it would be nice to have the option to change languages.

msm_hotplug controls

Hi there, is it possible to add msm_hotplug, the path is as below

/sys/module/msm_hotplug

Thanks Sir,

My bricked hotplug

/sys/kernel/bricked_hotplug/conf

All files are the same as the normal bricked_hotplug ones

Add a indicator to the Widget

Just a small enhancement, it would be cool to see on which profile i'm on the moment, maybe via a small dot in the widget, or just make the active profile bold

Nexus 6 wakelock tunables

I think I made mistake on the wakelocks.
Now the proper:

"smb135x wakelock" prevent wakelock when power disconnected
/sys/module/smb135x_charger/parameters/use_wlock

"sensor_ind wakelock" prevent wakelock when Ambient Display disabled
/sys/module/wakeup/parameters/enable_si_ws

(Y wakelock on or N wakelock offf)

Widget

When i apply a profile which is already set via the widget the app chrashes and I can't use the widget until I reopen the app.
HTC one s, cm 12 (lollipop)
Logcat when I'm at home

DT2W Feature

Dear reader,

First of all: very very nice design!

A very nice and handy feature for the Nexus 5 dt2w feature would be to have a timeout option for it. The dt2w feature consumes more than 1% per hour on our device, so it is quite unusable right now. It would be awesome if you could implement it! You can always contact me under till22 on XDA.

Cheers,
Till

TI OMAP Color calibration

Please add support for TI OMAPDSS color colibration. Many devices based on OMAP 4430 (including Moto DROID RAZR xt912) have annoying yellow tint. There are no software that support color calibration for OMAP. It would be great if you will help.

Widget for Profile switching!

Hi, first oft all awesome app!!!

I just found it today and till now all functions work great. Really really amazing, best CPU/kernel control app i tried and design is nice too! 10/10

However there is one feature im missing! The ability to set CPU frequency and governor (and multi core Option not to forget) make this an almost ideal battery saving app. Being able to save all settings in profiles, i made a performance and an energy saving profile.
Now it would be really awesome if i could quickly switch between the profiles! A simple widget would do the job. Having this in quick toggles would probably be even nicer, so you could acess it without returning to home screen, but i guess this would be more work to programm.

Thanks for sharing your awesome work!
-generalcool

current CPU temperature

Like in battery you've battery temp and voltage etc etc
Would be great to have current CPU temp in CPU options

KCAL - Advanced color control color profiles

Can you add color profile loading for the new KCAL driver?

The text files format is 2 lines (first is colors, second is controls):
kcal
kcal_sat kcal_val kcal_cont kcal_hue

You can add a default button to set the default profile:
256 256 256
30 127 127 0

Mako Hotplug Controls

Can you add control for mako hotplug from franco? I will give the paths if needed, I just need to look into it a bit more on my side, I will add them here if required once I find them.

Thanks in advance, you are doing an amazing job:)

wake controls nexus 5

"set DT2W"
/sys/android_touch/doubletap2wake (0 disabled, 1 enabled halfscreen, 2 enabled fullscreen)

"Set wake timeout"
/sys/android_touch/wake_timeout (int timer in minutes, 0 is disabled)

"Use power key suspend override"
/sys/module/qpnp_power_on/parameters/pwrkey_suspend (0 disabled, 1 enabled)

Sound Profiles

May have the option of "sound profiles" compatible with various kernel ... eg faux, hybrid and other ... would be great if it had

Nexus 5 LCD dimmer controls

"Set backlight dimmmer"
/sys/module/lm3630_bl/parameters/backlight_dimmer (Y enable, N disabled)

"Dimmer level"
/sys/module/lm3630_bl/parameters/min_brightness (int 1~10)

Nexus 6 msm_hsic_host wakelock

"msm_hsic_host wakelock" prevent msm_hsic_host wakelock
/sys/module/wakeup/parameters/enable_msm_hsic_ws (Y wakelock on or N wakelock off)

descriptons

First I wanna thank you for this cool app. And the second, I think ther should be descriptions (manuals) for parameters. Texts can be taken from other apps, for example Devil Kernel Manager.

Add Photo References in the Screen tab

C State control

I believe the c states control would be a good option, sorry I don't currently know the sysfs portion for these, they are found in the faux kernel manager application.

Language Option

Can you put a settings sections and add an option to choose app language. I know that there are translations but there are some terms, that don't always make sense when translated. So I would prefer if it was in English, because I understand the terminology in English.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.