Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,780,441 Members 43,690 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: What is your opinion about the touch control feature
s2w and dt2w from showp (currently used) 89 21.60%
dt2w from stratosk 143 34.71%
neutral, I have no opinion 33 8.01%
I don't use any of the above 147 35.68%
Voters: 412. You may not vote on this poll

|*KERNEL*| *hells-Core* KitKat b47 stable<June><test b50><26Aug>[Q&A][DISCUSSION]

Tip us?
 
xanthrax
Old
(Last edited by xanthrax; 27th August 2014 at 11:15 PM.)
#1  
xanthrax's Avatar
Recognized Contributor - OP
Thanks Meter 7,239
Posts: 11,614
Join Date: Apr 2011
Location: Darkside

 
DONATE TO ME
This thread has been created
for
Questions & Answers/Troubleshooting
Specific to



Hello fellas ! This is a thread for discussions, questions and answers


DOWNLOADS
mirror BOX
Kernel sources

https://github.com/hellsgod/kernel_m...cm-10.2?page=1


please check the 2nd , 3rd and the 4th post for some more info

Starting with version b40 ( JSS, JWR and CM) the multiboot patch by Tasssadar has been applied so it can be successfully used for.

Change logs

as from b47 the kernel it is compatible ONLY with android 4.4.3/4/L
HTML Code:
(b50-test)

No problems occured, just merged some cool stuff :)
Merged backlight dimmer from stratosk
Added a ton of kgsl/adreno patches (L sources) and Franco`s interactive GPU governor
Added UIO Sharedmem (L sources)

(b49-test)

NO UNDERVLOTING ANYMORE , stock voltages by default 
Compiled with Linaro GCC-4.9.1 from Christopher83
msm_mpdecision from showp
intelliactive governor (default)
ZEN scheduler (default)
FIOPS scheduler
Many many things under the hood (check git)
Touch Wake (stratosk)
DT2W (stratosk)
and so on... ... ...

http://forum.xda-developers.com/showpost.php?p=55061297&postcount=7579

(b47-pre-release) STABLE

Merged 4.4.3
Update to Linux 3.4.93
Linaro 4.9.1 from Christopher83

IMPORTANT NOTE!!!!!
IF YOU COME FROM HELLSDOCTOR, PLEASE REFLASH YOUR ROM OR CLEAR YOUR INIT.D FOLDER!!! OTHERWAYS YOU'LL HAVE FC's LIKE HELL!

(b46 test 4)

-[URL="http://en.wikipedia.org/wiki/Out_of_memory"]OOM[/URL] Upstream to 3.14 from faux
-S2W Fixes from AK
-Linux 3.4.86

(b44-45)

-Upstream auf 3.4.84
-Linaro 4.8.3 03.2014
-Cpuidle Commit
-futex Upstream updated
-jbd2 commits optimized
-LoUIS Cache
-81mhz

(b44 test t3)

Lowest frequency 81 MHz 
Updated to linux 3.4.79
Merged CM optimizations

(b43)

-Rebase auf 4.4.1 Sourcen
-Linux 3.4.76
-S2W/dt2w Port vom N5
-faux sound 3.2
-suspend_freq auf max angehoben
-Kleine Fixes usw. siehe Git

(b40)

-Upstream from 3.4.65 auf 3.4.66
-ca. 100+ SLAB/SLUB/SL[AU]B/mm... Commits
-Module Support (for TouchControl)
-Conservative GPU: Thresholds set slightly differently ( probably a little smoother when scrolling)
-S2W Fix from fluxi
-kexec Support (MultiROM)
-3 epoll Commits from Upstream
 
(b39)

-Rebase auf CM/JSS/JWR Sources
-Compiled with  Linaro 4.8.2.09 Toolchain
-Upstream from 3.4.65
-O3 Support with Custom Build Flags
-Conservative GPU Governor
-msm_hotplug Hotplug Control (Tanks geht an fluxi)
-dynamic fsync off

-=-=-

Thank you @hellsgod !
do you want to show gratitude ? donate to hellsgod HERE
all credits to him , i`m just a twitter
-=-=-
Thank you also to these awesome guys @faux123 @franciscofranco @myfluxi @stratosk @ak @flar2 @neobuddy89 @Christopher83 @show-p1984 @mrg666
hells-Core on G+
banners
The Following 199 Users Say Thank You to xanthrax For This Useful Post: [ Click to Expand ]
 
hellsgod
Old
(Last edited by hellsgod; Today at 02:38 AM.)
#2  
hellsgod's Avatar
Senior Member
Thanks Meter 3,164
Posts: 704
Join Date: Oct 2007
Location: Earth

 
DONATE TO ME
Q&A Game

Q: My kernel app tells me my min_freq is 918mhz. Why is that?
A: Its because of input boost. Your frequency will be boosted to 918mhz as soon as you touch your screen. It will be boosted for 1 second after touch. So you have smooth animations and no scrolling stutters.

Q: My device rebooted / didn woke up from deep sleep. What can I do to help you to find the cause?
A: Install "Syslog" from the Play Store and get me the "Last Kernel Log" or do it via terminal. You'll find the command one post under this.
The Following 45 Users Say Thank You to hellsgod For This Useful Post: [ Click to Expand ]
 
xanthrax
Old
(Last edited by xanthrax; 20th August 2014 at 11:46 AM.)
#3  
xanthrax's Avatar
Recognized Contributor - OP
Thanks Meter 7,239
Posts: 11,614
Join Date: Apr 2011
Location: Darkside

 
DONATE TO ME
I will post here the most common issues , if any and a collection of tricks and tips based on all users experience , then will be easier for everyone to track them
i will keep an eye on every post



For those who wants to use the latest hellscore based on KK 4.4.2 on a ROM based on 4.4.3/4/L , here is a fix for loosing WIFI

http://forum.xda-developers.com/show...postcount=6487


-=-=-=-
and thanks to @themike10452 we have ...
Hellscore Kernel Manager
original thread here >>> http://forum.xda-developers.com/nexu...eaker-t2669442
playstore
Hellscore Kernel Manager
-=-=-=-

SCRIPT CREATOR
thanks @Maxr1998

hells-Core Init.d creator

-=-=-=-
Hells-Core kernel with OTG support for Nexus 4 KK
thanks @justvarshney

-=-=-=-
as some other kernels comes with their own ramdisk which will remain over after flashing hellsCore and an unpredictable negative impact on your phone stability may occur , i would recommend you to flash a STOCK KERNEL from below prior flashing

Nexus 4 Stock 4.4.3 KTU84L >>> http://d-h.st/qxB

Nexus 4 Stock 4.4.2 KOT49H >>> http://d-h.st/W8P

Nexus 4 Stock 4.4 KRT16S >>> http://d-h.st/HwN

Nexus 4 Stock 4.4 >>> http://d-h.st/apv

Nexus 4 Stock 4.3 >>> http://d-h.st/TRC

Nexus 4 AOSP 4.3 >>> http://d-h.st/NuC
-=-=-=-
the recommended applications to control/modify the kernel are
Trickster MOD Kernel Settings
Faux123 Kernel Enhancement

-=-=-=-
to be used only for 4.3/1 kernels
doesn`t affect kk kernels , in case of a broken wifi , just re-dirty-flash your rom and then the kk kernel
dePRIMAtor

-=-=-=-
please provide logs in case of troubles
use the command below in terminal emulator to extract the last_kmsg in case of a sudden reboot

su
cat /proc/last_kmsg > /sdcard/last_kmsg.txt

-=-=-=-
A nice collection of terminal commands to manually modify the kernel settings as per your desire made by @shengovind
thanks pal ! ... i must write a song for him now ... oh well
 
To Set CPU Governor:

Su
echo "NAME" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "NAME" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo "NAME" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo "NAME" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

NAME can be replaced by intellidemand, interactive, conservative, wheatley, ondemand, performance
Default is intellidemand. Changing NAME to conservative changes CPU governor to conservative

 


FOR SETTING GOVERNOR PARAMETERS:

First set governor then you will be able to edit these..
I do not know what each and every parameter does so these won’t help normal users’ and those who know what these mean will probably know how to edit these. But I’ve included them just because i had to …

INTELLIDEMAND :

echo "FREQUENCY" > /sys/devices/system/cpu/cpufreq/intellidemand/boostfreq

Change FREQUENCY to required value of frequency. This is the frequency cpu is boosted to when screen is touched.

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/boostpulse

not sure what this does and what the set of values are

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/boosttime

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/down_differential

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/ignore_nice_load

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/io_is_busy

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_active_load

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_active_max_freq

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_browser

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_inactive_load

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/lmf_inactive_max_freq

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/optimal_freq

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/powersave_bias

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/sampling_down_factor

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/sampling_rate

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/sampling_rate_min

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/sync_freq

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/two_phase_freq

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold_any_cpu_load

echo "??" > /sys/devices/system/cpu/cpufreq/intellidemand/up_threshold_multi_core



INTERACTIVE

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/above_high_speed_delay

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/boost

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/boostpulse

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration

AFAIK this is the time for which cpu is boosted

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/io_is_busy

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/target_loads

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/timer_rate

echo "??" > /sys/devices/system/cpu/cpufreq/interactive/timer_slack

CONSERVATIVE

echo "FREQ" > /sys/devices/system/cpu/cpufreq/conservative/boostfreq
As told above

echo "??" > /sys/devices/system/cpu/cpufreq/conservative/down_threshold

echo "??" > /sys/devices/system/cpu/cpufreq/conservative/freq_step

echo "??" > /sys/devices/system/cpu/cpufreq/conservative/ignore_nice_load

echo "??" > /sys/devices/system/cpu/cpufreq/conservative/sampling_down_factor

echo "??" > /sys/devices/system/cpu/cpufreq/conservative/sampling_rate

echo "??" > /sys/devices/system/cpu/cpufreq/conservative/up_threshold

WHEATLEY

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/allowed_misses

echo "FREQ" > /sys/devices/system/cpu/cpufreq/wheatley/boostfreq

told above

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/ignore_nice_load

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/io_is_busy

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/powersave_bias

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/sampling_down_factor

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/sampling_factor

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/sampling_rate

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/target_residency

echo "??" > /sys/devices/system/cpu/cpufreq/wheatley/up_threshold

ONDEMAND:

echo "FREQ" > /sys/devices/system/cpu/cpufreq/ondemand/boostfreq

told above

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/down_differential

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/ignore_nice_load

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load

echo "??" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core

GO HERE IF YOU WANT TO TRY AND MAKE SENSE OUT OF ALL THIS: http://forum.xda-developers.com/show....php?t=1369817




CHANGING GPU GOVERNOR

echo “GOVERNOR” > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/pwrscale/policy

Change GOVERNOR to conservative, performance, simple, or ondemand.
echo "1" > /sys/module/sync/parameters/fsync_enabled

TO ACTIVATE DOUBLE TAP TO WAKE

echo 1 > /sys/android_touch/doubletap2wake

TO DEACTIVATE DOUBLE TAP TO WAKE

echo 0 > /sys/android_touch/doubletap2wake

TO ACTIVATE S2W

echo "1" > /sys/android_touch/sweep2wake

TO DEACTIVATE S2W

echo "0" > /sys/android_touch/sweep2wake

BOOST ON TOUCH

echo "X" > /sys/module/msm_hotplug/cpus_boosted

X can be replaced by 1,2,3 or 4 . This sets number of cores to be boosted on touch,
Default is 2. Changing X to 4 boosts 4 cores on touch.


MINIMUM NUMBER OF CPUS ONLINE

echo "X" > /sys/module/msm_hotplug/min_cpus_online

X can be replaced by 1,2,3 or 4 . This sets number of cores to be online at all time,
Default is 1. Changing X to 2 makes sure 2 cores are online all the time.


MAXIMUM NUMBER OF CORES ONLINE

echo "X" > /sys/module/msm_hotplug/max_cpus_online

X can be replaced by 1,2,3 or 4 . This sets maximum number of cores that can go online,
Default is 4. Changing X to 2 makes sure your phone dual core.


MAXIMUM FREQUENCY WHEN SCREEN IS OFF

echo "X" > /sys/module/msm_hotplug/suspend_freq

X can take values 192000, 384000, 540000, 702000, 1026000, 1242000, 1350000, 1512000
Default is 702000. Changing X to 1026000 makes maximum frequency when screen is off to 1ghz




Someone tell how to set gamma manually... Thank you.
There might be a lot of mistakes, so try and correct them..

-=-=-
Color profiles scripts

by @mohitgalaxy3
0
The Following 56 Users Say Thank You to xanthrax For This Useful Post: [ Click to Expand ]
 
xanthrax
Old
(Last edited by xanthrax; 25th February 2014 at 09:54 PM.)
#4  
xanthrax's Avatar
Recognized Contributor - OP
Thanks Meter 7,239
Posts: 11,614
Join Date: Apr 2011
Location: Darkside

 
DONATE TO ME
How to take a kernel LOG after random reboot

an easy way to get the last-kmsg is by using the script below , thanks to @Maxr1998
GetLog
the log will be saved in a folder in your sdcard called Logs
run the script and the log will be there
original post http://forum.xda-developers.com/show...postcount=3234
-=-=-
Once in a while, a software bug in the kernel will cause a random reboot, so in order to help kernel developers to fix and troubleshoot the reboots, a kernel log need to be submitted to the developer for further analysis and hopefully lead to a bug fix.

Most Android Kernels have "RAM Consoles" to save the necessary kernel logs immediately after reboot in the RAM. *The users can then retrieve this RAM log on a subsequent reboot to submit to kernel developers.

[ Using ADB ]

adb shell
su
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
exit
exit
adb pull /sdcard/last_kmsg.txt
open last_kmsg.txt using text editor of your choise
then copy the content
open web browser and go to pastebin.com
paste the content to pastebin.com
then send the developer the link to pastebin.com link
then send the developer the link to pastebin.com link

[ Using android terminal app ]
su
cat /proc/last_kmsg > /sdcard/last_kmsg.txt
exit
exit
adb pull /sdcard/last_kmsg.txt
open /sdcard/last_kmsg.txt using text app of your choise
then copy the content
open web browser and go to pastebin.com
paste the content to pastebin.com
then send the developer the link to pastebin.com link

[ Using Root Explorer / ES Explorer with Root ]
go to /proc folder
then copy last_kmsg to /sdcard/
rename last_kmsg to last_kmsg.txt
open last_kmsg.txt
copy the content
open web browser and go to pastebin.com
then copy the content to pastebin.com
then send the developer the link to pastebin.com link
-=-=-
Thank you https://plus.google.com/app/basic/+P...soc-platform=1 aka... Faux
The Following 25 Users Say Thank You to xanthrax For This Useful Post: [ Click to Expand ]
 
bhanumagotra
Old
(Last edited by bhanumagotra; 23rd October 2013 at 02:48 PM.)
#5  
bhanumagotra's Avatar
Senior Member
Thanks Meter 14
Posts: 132
Join Date: Jun 2011
Location: Jammu
WOW!! .... the day I install hellscore .. a Q&A and HELP thread is created ... Thanks @xanthrax for creating the thread...

here's my issue :


I've exprienced 4 reboots since I installed b39 version this afternoon.. I have attached the kmsg log ..

I installed this kernel over semaphore N4 1.7.1 without clearing any cache/dalvik cache ( cudnt find any installation instructions) .. I am on rooted stock ..

The reboots occured when i was charging the phone ..
last_kmsg.rar
 
FalenDemon
Old
#6  
FalenDemon's Avatar
Senior Member
Thanks Meter 32
Posts: 140
Join Date: Mar 2012
Quote:
Originally Posted by bhanumagotra View Post
WOW!! .... the day I install hellscore .. a Q&A and HELP thread is created ... Thanks @xanthrax for creating the thread...

here's my issue :


I've exprienced 4 reboots since I installed b39 version this afternoon.. I have attached the kmsg log ..

I installed this kernel over semaphore N4 1.7.1 without clearing any cache/dalvik cache ( cudnt find any installation instructions) .. I am on rooted stock ..

The reboots occured when i was charging the phone ..
Attachment 2345207
Davlik and cache should be wiped when u change kernel. Try reinstall it with proper wipes.
The Following User Says Thank You to FalenDemon For This Useful Post: [ Click to Expand ]
 
xanthrax
Old
#7  
xanthrax's Avatar
Recognized Contributor - OP
Thanks Meter 7,239
Posts: 11,614
Join Date: Apr 2011
Location: Darkside

 
DONATE TO ME
Quote:
Originally Posted by bhanumagotra View Post
WOW!! .... the day I install hellscore .. a Q&A and HELP thread is created ... Thanks @xanthrax for creating the thread...

here's my issue :


I've exprienced 4 reboots since I installed b39 version this afternoon.. I have attached the kmsg log ..

I installed this kernel over semaphore N4 1.7.1 without clearing any cache/dalvik cache ( cudnt find any installation instructions) .. I am on rooted stock ..

The reboots occured when i was charging the phone ..
Attachment 2345207
tell us please which rom are you using , base and some kernel settings
 
bhanumagotra
Old
#8  
bhanumagotra's Avatar
Senior Member
Thanks Meter 14
Posts: 132
Join Date: Jun 2011
Location: Jammu
Quote:
Originally Posted by FalenDemon View Post
Davlik and cache should be wiped when u change kernel. Try reinstall it with proper wipes.

thanks ,.. I will wait for a few more hours before reflashing to see if any more reboots occur ..

---------- Post added at 07:27 PM ---------- Previous post was at 07:23 PM ----------

Quote:
Originally Posted by xanthrax View Post
tell us please which rom are you using , base and some kernel settings

ROM : Rooted Stock 4.3 JWR66Y

Kernel : hellscore b39 JWR build

Settings : CPU - 192 Mhz - 1242 Mhz
Governer : Intellidemand
GPU : 320 Mhz max
Undervolting : default settings
 
xanthrax
Old
(Last edited by xanthrax; 23rd October 2013 at 03:06 PM.)
#9  
xanthrax's Avatar
Recognized Contributor - OP
Thanks Meter 7,239
Posts: 11,614
Join Date: Apr 2011
Location: Darkside

 
DONATE TO ME
Quote:
Originally Posted by bhanumagotra View Post
ROM : Rooted Stock 4.3 JWR66Y

Kernel : hellscore b39 JWR build

Settings : CPU - 192 Mhz - 1242 Mhz
Governer : Intellidemand
GPU : 320 Mhz max
Undervolting : default settings
ok then , i would suggest you to update to the latest b40 JWR
if you`re using any tweak kernel app , uninstall it first and then flash the new kernel
-=-=-
also , a 1242 MHz freq seems to be a little bit too low if you are using the phone for games , heavy games ... 1350 would be better i guess
and lets see what hellsgod says about your last_kmsg , i`m sure he will pop up in here soon
The Following User Says Thank You to xanthrax For This Useful Post: [ Click to Expand ]
 
bhanumagotra
Old
#10  
bhanumagotra's Avatar
Senior Member
Thanks Meter 14
Posts: 132
Join Date: Jun 2011
Location: Jammu
Quote:
Originally Posted by xanthrax View Post
ok then , i would suggest you to update to the latest b40 JWR
if you`re using any tweak kernel app , uninstall it first and then flash the new kernel

what about wiping cache/dalvik cache ... and do i have to install stock kernel first??

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes