Related
I want to be able to use the multicore app but says I need to use a non hotplug aware govner but my rom has peages built in its a wanna lite rom
Introduction:
Presenting Lucid Kernel, built from LGE v30d sources. This project started as my personal builds and used daily on my device. Although the project status is beta, it is stable to be used as a daily driver. This is my first time sharing my kernel here at XDA. My main goal for this kernel is to improve what the stock kernel provides and more. I currently don't have any plans to add CPU and GPU overclocking, and tons of cpu governors. The kernel is still base on 3.4.0, but with useful patches from the mainline kernel.
Kernel Main Features:
rev_hotplug custom cpu hotplug driver - online cores based on system load and turn cores off when it is idle
Mpdecision off by default, but can still be activated
User voltage control - by @faux123
boeffla_sound by @Lord Boeffla - speaker and headphone volume control.
Tweaked Ondemand Governor with patches from @stratosk
Stock LG ondemand renamed to lg_ondemand
Motorola's Quickwakeup driver - drop the system back into suspend without fully resuming if the wake reason was a special quick wakeup event.
A lot of under the hood improvements
Advanced TCP congestion control
Loads of I/O Schedulers
Init.d support
Lucid Settings - Script to change hotplug, boeffla_sound, and selinux mode. -inspired by @imoseyon 's lkconfig
*This kernel is compatible only on stock LG lollipop rom(30a, 30b, etc.) with BUMPED recovery and KK Bootloader
Installation:
Backup rom or just boot partition if coming from stock
Download and flash via recovery
Reboot :good:
Downloads:
androidfilehost
**Use your favorite kernel apps to control some kernel settings, but I personally use Kernel Adiutor.
For the hotplug and boeffla sound control, run lucid from terminal emulator app.
Code:
1. Type "su"
2. Type "lucid"
3. Enter a number to select options.
eg. Type "2" if you want to change boeffla_sound settings.
4. All settings changed will be applied immediately and will stick on boot
[HIDE][URL=http://s1103.photobucket.com/user/ibrawnz/media/Screenshot_2015-06-13-21-27-37.resized_1.png.html][IMG]http://i1103.photobucket.com/albums/g465/ibrawnz/Screenshot_2015-06-13-21-27-37.resized_1.png[/IMG][/URL][/HIDE]
XDA:DevDB Information
Lucid Kernel, Kernel for the LG G2
Contributors
irevhard
Source Code: https://github.com/revjunkie/lge-g2-d802
Kernel Special Features: rev_hotplug, boeffla sound, user voltage control
Version Information
Status: Beta
Beta Release Date: 2015-05-05
Created 2015-05-06
Last Updated 2015-06-14
Reserved
thanks for kernel I will try and reports
flashed and i will give a report soon.
How I can change sound settings? I tried to use Boeffla sound from Play Store but I have FC;(
kondzio66 said:
How I can change sound settings? I tried to use Boeffla sound from Play Store but I have FC;(
Click to expand...
Click to collapse
I haven't tried the boeffla sound app. But to change the values you may use a terminal emulator and type this;
echo "value left value right" > /sys/class/misc/boeffla_sound/speaker_volume
echo "value left value right" > /sys/class/misc/boeffla_sound/headphone_volume
If you want the settings to stick on boot, edit the 07rev script located at /etc/init.d
first tnx...I love stratosk and his work on n4, so I must try your kernel.
You said in op
"Init.d support - creates init.d script upon installation" where is it?
And how to manage the sound and hotplug... I really have no idea.
tnx again
---------- Post added at 01:44 PM ---------- Previous post was at 01:42 PM ----------
irevhard said:
I haven't tried the boeffla sound app. But to change the values you may use a terminal emulator and type this;
echo "value" > /sys/class/misc/boeffla_sound/speaker_volume
echo "value left value right" > /sys/class/misc/boeffla_sound/headphone_volume
If you want the settings to stick on boot, edit the 07rev script located at /etc/init.d
Click to expand...
Click to collapse
ok i found it...
Hi thx for very good kernel! But I have random reeboot with zram availible in trickster. This just for feedback.
Il you need beta tester i'm here.
Best regard
deraiz12 said:
Hi thx for very good kernel! But I have random reeboot with zram availible in trickster. This just for feedback.
Il you need beta tester i'm here.
Best regard
Click to expand...
Click to collapse
Thanks for the report. Don't use zram, it causes freezes.
Welcome new dev:good: Thanks for support
Tools?
Thank You,:good:
I'm testing the Kernel.
How can change the voltage? Any tool recommended?
Thank You,
E
eBENdre said:
Thank You,:good:
I'm testing the Kernel.
How can change the voltage? Any tool recommended?
Thank You,
E
Click to expand...
Click to collapse
Use Kernel Adiutor to change voltage settings.
any relevant bugs we should know. I'm gonna give it a try asap
None so far, just don't enable zram.
I had a nexus 4 and I very love kernel by stratosk . Nice to know that you have a "Tweaked Ondemand Governor with patches from @stratosk" , i will test it now :good::good::good:
so far so good. charging is at 1610 with stock charger.
edit: it messed up my true stereo mod. channels are now unbalanced and no matter what I edit in mixer_paths it stays the same. also tried using the kernel script and lower speaker to balance stereo channels with no sucess.
maybe you can add a value for left/right channel speaker like you can with headphones
edit2: what I found so far. if I use default mixer_path with no mods the kernel scripts works to lower speaker volume. But when using stereo mod mixer_path it ignores kernel script and cant control speaker volume. wouldnt be such a pain if manually editing mixer_path worked like before I installed your kernel. wich also doesnt.
that beeing said Im left with two options. either use a completely unbalanced stereo mod and cant use boeffla settings. or forget about the mod and use boeffla. thing is I realy like this mod
edit3: multicore geelbench is way low, also notice mortal kombat x a bit slow compared to stock kernel.
@remorema could you try this https://www.androidfilehost.com/?fid=23991606952599326
I added back the control for dual channel speaker volume. Test it. If is still doesn't work, could you link me to this stereo mod you're using?
As for the low multi-core geekbench score, I think it may have something to do with how I allocate processes to each core. The tweak I made should give more power savings, but that could be the effect of it. Delete the 07rev script on your init.d before flashing.
I want to give a try to your kernel but first I want to ask you something if its possible, could be possible to add Samsung patch to wifi, etc like Bckernel explained here: https://github.com/simex31/BC_Kernel_LP_STOCK_D802/commit/bcc698ba11d3d55326d853bbc7abc36c4fcac47e and no audio mod?
I get the best wifi @5ghz and [email protected] with that driver, impossible to get with stock.
Thanks!
I will see what I can do about the wifi, but I personally don't have any problems with it. No sound mod is a no go. You can always disable it if you don't wanna use it.
irevhard said:
I will see what I can do about the wifi, but I personally don't have any problems with it. No sound mod is a no go. You can always disable it if you don't wanna use it.
Click to expand...
Click to collapse
With Wifi is night and day (some people has the same issues like me, maybe is SEA variant the problem), I discovered it with BCkernel and finally I'm not planning to come back to KK because in KK I had problems at 5Ghz only with [email protected], now in LP my phone is ever connected at 433mhz without a single drop, amazing that driver, the only problem I have with BCkernel is the battery drain, now I'm monitoring it with battery widget pro to compare it with stock.
Last note, the issue with wifi is only at 5ghz, on 2.4 it works fine
Another nice plugin to have is screen calibration (kcal).
Cant anyone tell me how custom kernel work ? I sucessfully flash them, but i dont know where to select governors or profiles
Download kernel adiutor from play store.
I am running Elementalx kernal with ghostpepper settings on N5X with April patch.. As the latest May security update is out, I am thinking to flash it and go stock for few days. Meanwhile is it possible to tweak cores using EX kernla manager in stock kernal?
Thanks.
freq_ency said:
I am running Elementalx kernal with ghostpepper settings on N5X with April patch.. As the latest May security update is out, I am thinking to flash it and go stock for few days. Meanwhile is it possible to tweak cores using EX kernla manager in stock kernal?
Thanks.
Click to expand...
Click to collapse
i dont think it is possible. As the srtock kernel will not support over/underclocking or any gestures.
freq_ency said:
I am running Elementalx kernal with ghostpepper settings on N5X with April patch.. As the latest May security update is out, I am thinking to flash it and go stock for few days. Meanwhile is it possible to tweak cores using EX kernla manager in stock kernal?
Thanks.
Click to expand...
Click to collapse
Yes, it is totally possible. EXKM is universal, works with stock or any other kernel. You can still do all the governor tweaks and profiles with stock, change i/o sched, readahead, memory stuff and many other settings. You won't be able to do gestures, color or sound.
flar2 said:
Yes, it is totally possible. EXKM is universal, works with stock or any other kernel. You can still do all the governor tweaks and profiles with stock, change i/o sched, readahead, memory stuff and many other settings. You won't be able to do gestures, color or sound.
Click to expand...
Click to collapse
Thank You for your response!
What about touch boost? I read even stock kernel has this feature. If, like franco, cant be disabled, then I believe tweak will have no effect.
If no one tried that I will update.
Thank you again for your response.
freq_ency said:
Thank You for your response!
What about touch boost? I read even stock kernel has this feature. If, like franco, cant be disabled, then I believe tweak will have no effect.
If no one tried that I will update.
Thank you again for your response.
Click to expand...
Click to collapse
You can adjust cpuboost input boost, but you would need a custom kernel to disable touchboost, unless you stop the perfd service.
Elementalx kernel is like stock, except I've add optional features such as the ability to disable touchboost, adjust color and sound, and enable wake gestures.
flar2 said:
You can adjust cpuboost input boost, but you would need a custom kernel to disable touchboost, unless you stop the perfd service.
Elementalx kernel is like stock, except I've add optional features such as the ability to disable touchboost, adjust color and sound, and enable wake gestures.
Click to expand...
Click to collapse
Yeah! Elementalx is gr8. I Just want to experiment the kernal with stock.
Thanks.
I want to create a thread about settings for every custom kernels on our S3 NEO with Lollipop Stock and CM11, CM12, stock 4.4.2 and 4.4.4 ROM.
If You are advanced or expert in the subject of krenels, parameters and features put to this thread Your settings.
This thread, I thnik, helps novice in search for the best settings to be the rom fast, stable and smooth.
So, please placing here and debate on settings the kernels.
Maybe for a CM11, CM12, CM12.1, CM13, stock 4.4.2 and 4.4.4 also 5.0.1 this settings works well, too.
Try and tell us
The Poll is only for stock TW 5.1.1 ROMs.
Thanks for Devs who made the kernels for S3 NEO:
- @sev3n1985
- @Renix63
- @LGaljo
- @nikita36078
- @oranaise2412
- if I forgot about someone - tell me.
Thanks to @gsstudios for giude about governors and I/O shedulers.
Thanks to Mike Barrett for video about Kernel Adiutor settings.
DELETED
Important - only for custom kernels
The phone must be rooted.
1. Before flash any new kernel do backup your rom, boot, recovery, preload and data ex. via recovery.
2. After flash the new kernel always do wipe cache and dalvik cache in recovery and next restart the phone. (restarts takes about 5min)
3. CPU frequencis and governours are important things in rom's speed.
4. CPU freq at 1593MHz may destabilized your phone - heating problem and sometimes random reboots.
5. If You want to OC CPU - have to turn off MPDecision Hotplug and select another one or nothing (MPD may do CPU freq not stable - is always good for only stock frequencis so from (192) 300 to 1401MHz).
6. Sometimes the new kernels have to root again via flash superSU update via recovery ex. like eMotion kernel.
7. Try any changes - don't be afraid - kernel not bite If so go wrong - always have backup
Good luck.
If anyone have another advices - feel free....
The difference between kernels with zRam and zSwap options:
- zRam is a kernel with virtual memory in Internal Memory your phone (compressed) for most users
- zSwap is a kernel for the SD card with swap partition for our phone ex. 512 or 1024 Mb, so if You have not swap partition in Your SD card - do not flash this kernel (no good resoults).
Heating and random reboots problem
This dependent of frequensic CPU and if is it so CPU max freq probably is set at 1593MHz.
If we to much OC our CPU's then our phones may have some lags and freezes or reboots (after call or in camera app).
So if you have this symptoms then you have to set CPU OC max to 1401MHz or 1497MHz.
If it no helps so maybe the kernel is wrong compiled with bad linux settings - and only change the kernel for another one.
Guide for CPU governors and I/O shedulers and others settings in Kernel Adiutor
Please read THIS - big thanks to @gsstudios for this gov guide.
Please watch THIS - thx to Mike Barrett for video about settings in Kernel Adiutor.
It's a good guides for everyone.
Only my conclusions
From my experience with OC CPU and use different kernels (in stock and CM series ROMs) the stable max freq CPU is at 1497MHz.
If You want better battery life select max CPU at 1401MHz or even 1300MHz - 1190MHz.
For better battery life You can try :
- Multicore Power Saving - ON
- CPU gov at Ondemand, Intelidemand, arteractive, inteliactive (without frequent lags)
- GPU gov set at conservative (in new Renix kernel) or msm-adreno-tz
- if you only listen to music then set Max Cores Screen Off at 1 CPU and max freq at 600 - 700 MHz - for media player is enaugh.
- Power Suspend Mode at LCD Panel or Hybrid.
My steps for install all things like rom, fixes, xposed, kernels, ect. :
1. Wipe system, data, cache and dalvik cache - no restart the phone
2. Flash any ROM - no restart the phone
3. Wipe cache and dalvik cache then restart the phone
4. Flash possibly another kernel ex. Renix's, eMotion's... I do it in this step 'couse sometimes after that We have to install ex. camera fix - again in Renix kernel or superSU in eMotion kernel
5. Flash any fix for the point ROM (like RIL, key fix, mixer fix, camera fix... others) then restart the phone
6. Flash superSU (if the rom has not rooted) and possibly busybox for advanced (change build.prop in Kernel Adiutor for example) then restart the phone next go into superSU ( the app install binary) next do settings and out - the same with busybox (have to install libs)
7. Install the xposed app next go to the recovery and flash xposed sdk22(Lollipop) (23 for MM) ex. v85 by wanam, next wipe cache and dalvik cache and restart the phone
8. That's all - in my phone works good, I did and do it by 2-3 years and no problem.
Remember - after wipe cache and dalvik cache the phone's booting time will take a 5-7min.
Thanks for this thread! ^-^
I think I'll post my stats too! I got a perfect balanced mix with 3.5 renix. But for now I wanted to try the new one with boeffla kernel sources ^-^
DELETED
DELETED
Nalas Thank you for the effort..Random restart problem issue ?.. Sory my english is poor
DELETED
nalas said:
Hello.
If you set CPU at 1497MHz or lower so no random reboots in I9301I.
I don't know how it look in I9300I.
So if someone can write abaut it so will be nice....
Click to expand...
Click to collapse
My device I9301Q..I try report the results
do you use xposed,grenify,powernap ?
DELETED
Make the explanations about kernel adiutor options plz. Ty
DELETED
Nalas no random reboots no lags and very very smoth my device thank you bro .
DELETED
DELETED
nalas said:
I'm happy to helped You bro.
What configaration You have ? at 1497MHz (pics) or 1305MHz (video) ? and what's kernel ?
It will be clarity for others.
If You can - edit Your post about above.. ? thx man.
Nice if it works in another phone
Greets
Click to expand...
Click to collapse
Device : I9301Q
Rom : Motion Rom 17.0
Kernel : Renix 3.7 zram
App : Kernel Adiutor Mod v9
Governor : Smartmax Maks 1305 Mhz,Multi core power saver disable wake up boost and hotplug boost disable
Hotplug : Msm hotplug not use Lazy hotplug
Gpu : Conservative and disable simple gpu,Adreno idler
Battery : Fast usb charge enable
I/o : İnternal fiops and 256 kb..External tripndroid 2048 kb
Ksm : Enable
Virtual Memory : Enable, Zram 100 mb
İnit d : Enable 99zram
Not use greenify,powernap..Damaging the system..Continuously restarts system
I have a I9301I and use Motion ROM 17.0 with eMotion kernel. Motion ROM 'as is' gave me frequent random reboots, so I tried Renix63 kernel. V2.0 fixed the random reboots, but LED lights stopped working. Later versions fixed this but introduced the problem of the phone freezing when responding to notifications and occasionally switched off the phone completely. I then tried eMotion ROM from sev3n1985. LEDs work, no random reboots, no freezes, no switch offs. It just works. nalas's second post in this thread has 20 screenshots of recommended tweaks to the Renix63 kernel. I prefer something that works out of the box.
nalas said:
4. CPU freq at 1593MHz may desabilized your phone - heating problem and sometimes random reboots.
5. If You want to OC CPU - have to turn off MPDecision Hotplug and select another one or nothing (MPD may do CPU freq not stable - is always good for only stock frequencis so from 300 to 1401MHz).
Heating and random reboots problem
This dependent of frequensic CPU and if is it so CPU max freq probably is set at 1593MHz.
If we to much OC our CPU's then our phones may have some lags and freezes or reboots (after call or in camera app).
So if you have this symptoms then you have to set CPU OC max to 1401MHz or 1497MHz.
From my experience with OC CPU and use different kernels (in stock and CM series ROMs) the stable max freq CPU is at 1497MHz.
If You want better battery life select max CPU at 1401MHz or even 1300MHz - 1344MHz.
Click to expand...
Click to collapse
With all due respect to nalas and Renix63 I don't understand the logic of producing a kernel that's overclocked to 1593MHz which then has to be reduced to 1401/1497 via Kernel Adiutor in order to prevent freezes or reboots.
Other users have had different experiences, so there there may be other factors to consider - variances in hardware, apps etc. - this is just my experience.
Apart from that - huge props to the devs here. If it were not for them I'd still be running TW 4.4.2.
Corbynista
DELETED
DELETED
I tested Ciro's rom but It was buggy for me (dialer does not appear but the phone call was running)
WiFi not working
SIM not working
I will try Motion Rom.
Cheers