[Custom Kernel][For Micromax A56 & A57] - Micromax A57 Ninja

custom kernel for Micromax A56 & A57​
Code:
#include /*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
This custom kernel is packed with following features:-​+ Compiled with Android NDK toolchains
+ Based on 2.6.38.6-perf
+ Overclocked to 1.26Ghz
+ Current Governors are
-> smartass v2
-> Lionheart
-> ondemandx
-> interactivex
-> badass
-> lazy
-> lulzactive
-> intellidemand
-> Savagedzen
-> lagfree
-> scary
-> interactive
-> conservative
-> ondemand
-> userspace
-> powersave
-> performance
+Current IOs are
-> noop
-> deadline
-> cfq
-> vr
-> sio
+ init.d support
+ swap support
+ enabled turbo mode for CPU
+ enabled Adaptive Voltage Scaling (AVS)
+ Some battery optimizations
+ Kernel compression was changed to LZMA & size of zImage is 2.5mb ...
+ And some minor modifications
================================================================================================
Bugs:-
For Micromax A56 -- Not found till now
For Micromax A57 -- A57 users may experience sensor issue , (working on this to fix it)
================================================================================================
Credits:-
rex_xxx - > for sharing kernel source codes
Varun Chitre -> For being our google!
Dhinesh Kumar -> Complete project execution!
Adhithya -> for made this possible
And Teamninja
================================================================================================
Downloads:-
Get it Now
Source
================================================================================================
Incase not booted upload dmesg and logcat to fix it
HOW-TO
Probably in not booted case the phone will stuck on superphone logo
For dmesg : (adb shell dmesg > dmesg)
For Logcat : (adb logcat > logcat)
Get the dmesg file from the folder where you opened cmd; and upload here
================================================================================================
How to flash this:
0. Do Nandroid backup before proceeding
1.put it on sdcard
2. Go to custom recovery and choose install zip from sdcard & install it
3.reboot & enjoy
================================================================================================

Related

Kernel scheduler tweaks (non-BFS)

First, let me say I am deeply sorry to open yet another thread on this subject. But I have made some investigations of my own and would like to make some clarifications which I think should not be buried on page 6 of some long thread....
This thread continues the discussion started by these threads:
http://forum.xda-developers.com/showthread.php?t=689829
http://forum.xda-developers.com/showthread.php?t=785988
From what I gather there about 5 different parameters which are purposed for tweaking:
- NEW_FAIR_SLEEPERS (default ON) - This is about the only parameter which I do feel some difference when disabling it (on Floyo 0.8) and for the worse. Hence currently I intend to leave it on.
- NORMALIZED_SLEEPER (default ON) - I found various recommendations to turn this off. I don't feel much difference but maybe there is a slight improvement. Currently I intend to turn it off.
- sched_latency_ns:
* Targeted preemption latency for CPU-bound tasks:
* (default: 20ms * (1 + ilog(ncpus)), units: nanoseconds)
*
* NOTE: this latency value is not the same as the concept of
* 'timeslice length' - timeslices in CFS are of variable length
* and have no persistent notion like in traditional, time-slice
* based scheduling concepts.
*
* (to see the precise effective timeslice length of your workload,
* run vmstat and monitor the context-switches (cs) field)
- sched_min_granularity_ns -
* Minimal preemption granularity for CPU-bound tasks:
* (default: 4 msec * (1 + ilog(ncpus)), units: nanoseconds)
- sched_wakeup_granularity_ns (not sure if this one was mentioned in previous threads but also related)
* SCHED_OTHER wake-up granularity.
* (default: 5 msec * (1 + ilog(ncpus)), units: nanoseconds)
*
* This option delays the preemption effects of decoupled workloads
* and reduces their over-scheduling. Synchronous workloads will still
* have immediate wakeup/sleep latencies.
Note the descriptions are from the kernel sources and default values are a bit different and also dependent on the init.rc in the ramdisk which is dependent on the ROM.
I tryed to play with the last 3 parameters in a very wide range and did not feel much difference. Based on my experience and searches over these forums and such I currently have these values:
sched_latency_ns 5000000
sched_wakeup_granularity_ns 1000000
sched_min_granularity_ns 1000000
They are somewhat arbitrary and if someone can bring up a scenario where the difference is noticeable I will happy to hear it.
Some technical notes:
- I have seen this "numerical" tweak in multiple places:
kernel.sched_features = 24188
This is not smart using a numerical value, as there are some new backports which I would like to incorporate into my kernel and they actually change the "correct" numerical value here.
The preferred way to tweak these settings was brought by androcheck here. Just a reminder:
Code:
# Step 1: Mount debugfs (which is a virtual filesystem like /proc/ or /sys/)
mount -t debugfs none /sys/kernel/debug
# Step 2 (optional): Display the current scheduler flags
cat /sys/kernel/debug/sched_features
# Step 3: Set the flag NO_NEW_FAIR_SLEEPERS
echo "NO_NEW_FAIR_SLEEPERS" > /sys/kernel/debug/sched_features
# Step 4: Unmount debugfs again
umount /sys/kernel/debug
I would actually skip the unmounting step since it doesn't bother to have it there and then you can play with the different parameters at /sys/kernel/debug directly.
I would like to emphasize my point about the kernel features tweaking, using an example with my current settings (only NORMALIZED_SLEEPER disabled):
Code:
# mount -t debugfs none /sys/kernel/debug
# echo NO_NORMALIZED_SLEEPER > /sys/kernel/debug/sched_features
# cat /sys/kernel/debug/sched_features | sed "s/ /\n/g"
NEW_FAIR_SLEEPERS
NO_NORMALIZED_SLEEPER
WAKEUP_PREEMPT
START_DEBIT
AFFINE_WAKEUPS
CACHE_HOT_BUDDY
SYNC_WAKEUPS
NO_HRTICK
NO_DOUBLE_TICK
ASYM_GRAN
LB_BIAS
LB_WAKEUP_UPDATE
ASYM_EFF_LOAD
NO_WAKEUP_OVERLAP
LAST_BUDDY
# cat /proc/sys/kernel/sched_features
24189
So I would highly recommend tweaking the sched_features only through the /sys/kernel/debug/sched_features where you actually know what you are doing.
Then to make it permanent you can grab the numerical value from /proc/sys/kernel/sched_features and write it, for example, to the sysctl.conf.
- One final technical note: f_padia in his post here detailed nicely how to make the changes permanent using sysctl.conf.
I find sysctl also very useful for temporary tweaking of the values, for example:
Code:
sysctl -w kernel.sched_latency_ns=5000000
sysctl -w kernel.sched_min_granularity_ns=1000000
sysctl -w kernel.sched_wakeup_granularity_ns=1000000
Alternatively you could also write them to the appropriate "file" at /proc/sys/kernel. Both these methods do not require the mount of the debug_fs but neither gives you the literal interface to the kernel features (which the debug_fs does - see above).
Removed the part about the OWNER_SPIN, apparently was using an experimental version of my kernel which has an additional OWNER_SPIN sched_feature which makes the numerical value of 24188 incorrect.
Most likely you have no idea what I am talking this was just one epic fail on my side - you can ignore it. Just read the first post it is now updated.
looks nice.. will give it a go
Thanks for your research and additional information to this topic!
this IS excellent work.. on my 2.1 dext these hacks, included in one .sh in init.d then chmod +x, improved a lot speed and I can even think there's a faster boot
you all rule man!

[KERNEL][14 OCT] [P93x|SU640][OC/UV][3.0.100] Wind Kernel [ICS|JB]

original xda post
move to this for better mangement
bbs.gfan.com
DISCLAIMER
Code:
*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
DEVICE SUPPORT
SU640 (i_skt)
P930 (i_atnt)
FEATURES
Based on LG Stock ICS Kernel Source(ICS VERSION)
Based on latest CM10.1 Kernel Source(JB VERSION)
Latest Linux Kernel 3.0.y source
CPU [email protected] MAX CLOCK 1.83Ghz
GPU [email protected]_320Mhz 2D 266Mhz
Undervolting Support(700mV-1400mV)
L2 Performace Boost
Smooth as Butter :]
Some tweaks, fixes
and something I missed (discover it ! )
Stable Version
ICS - v3.5
CM10.1 - v2.5
KNOWN BUG
CM10.1 BUGS
INSTALLATION INSTRUCTION
Copy *.zip to External SD card
Boot into Recovery Mode
Flash *.zip
Reboot and Enjoy it!
OPTIONAL
NANDROID BACKUP before flash
Wipe Cache/DalvikCache,Fix Permission after flash
DEFAULT SETTING
CPU 384Mhz-1512Mhz
Stock GPU FREQ [email protected] /[email protected]
Ondemand + ROW
MSM8x60 DEFAULT VOLTAGE
Code:
192000 800000
310500 825000
384000 825000
432000 850000
486000 850000
540000 875000
594000 875000
648000 900000
702000 900000
756000 925000
810000 975000
864000 975000
918000 1000000
972000 1025000
1026000 1025000
1080000 1050000
1134000 1075000
1188000 1100000
1242000 1125000
1296000 1150000
1350000 1150000
1404000 1175000
1458000 1200000
1512000 1225000
WIND KERNEL DEFAULT VOLTAGE
Code:
192000 775000
310500 775000
384000 775000
432000 775000
486000 775000
540000 787500
594000 800000
648000 825000
702000 837500
756000 850000
810000 862500
864000 887500
918000 900000
972000 925000
1026000 937500
1080000 962500
1134000 987500
1188000 1000000
1242000 1025000
1296000 1050000
1350000 1062500
1404000 1087500
1458000 1112500
1512000 1150000
1566000 1175000
1620000 1212500
1674000 1250000
1728000 1275000
1782000 1300000
1836000 1325000
PERFORMANCE SETTING
Rom Settings -> Developer Options -> Windows Animation Scale,Transition Animation Scale -> 0.5x
Nova Launcher Settings -> Look and Feel -> Scroll Speed,Animation Speed -> Faster than light
use any system tools on Playstore ,set by your preference.
Example: To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
Example: To increase maximum GPU frequency in 2D mode to 266 MHz:
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
Available frequencies:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000
Click to expand...
Click to collapse
Monitor MSM_MPDECISION
adb shell
su
cat /proc/kmsg | grep 'MPDEC'
CHANGELOG
CM 10.1 - v2.6 (14 OCT)
Ondemand and dynamic hotplug patches by stratosk
More RAM(790-791MB) (Experimental)
Remove some governors and IO schedulers (lean kernel)
Disable some debugging functions (lean kernel)
Linux 3.0.100
JB - v2.5 (27 JUL)
remove mpdecision
backport stratosk 's nexus 4 ondemand and dynamic hotplug
ondemand: touch_load increased to 1134Mhz for 1.3sec duration
ondemand: touch_load is applied only to CPUs the load is above 35%. So, CPUs with low load (and most probably unused) are not boosted.
These ondemand governor parameters are tunable in TricksterMod
Few patches to improve video overlay
Linux 3.0.87
JB - v2.4 (26 JUN)
"simple" GPU governor by faux123 + patch by franco
"simple" GPU governor set by default ( Currently only fauxclock shows/supports the correct option of simple governor )
Backport ondemand from CAF 3.4 kernel
Set SIO IO Scheduler by default (I did some benchmark tests and found out this is the fastest)
Update latest CM10.1 kernel source
Linux 3.0.83
ICS - v3.7 (15 JUN)
Smoothing voltage table (+12.5/25.0mV if get reboots)
Proper ROW for 3.0.y Linux
Intelliplug by faux123 (experimental) to replace mpdecision
Linux 3.0.82
JB - v2.3 (13 JUN)
Smoothing voltage table (+12.5/25.0mV if get reboots)
Proper ROW for 3.0.y Linux
Intelliplug by faux123 (experimental) to replace mpdecision
some patches,check github for detail
Linux 3.0.81
ICS - v3.6 (30 MAY)
tune some values(e.g. LCD voltage 3V->2.8V) according to leak 4.1 sourcecode
lower the max overclock freq to 1.83ghz
Set tweaked ROW from franco.kernel by default
Logger driver update by stratosk
turn on KSM by default
Linux 3.0.80
many misc changes, check github for detail
JB - v2.2 (30 MAY)
update latest CM10.1 kernel source
Linux 3.0.80
JB - v2.1 (20 MAY)
tune some values(e.g. LCD voltage 3V->2.8V) according to leak 4.1 sourcecode
lower the max overclock freq to 1.83ghz
use original fix of stopping the bootanimation
Linux 3.0.79
Some patches & fixes ,check GITHUB for detail
JB - v2.0RC1 (9 MAY)
update latest CM10.1 kernel source
fix bluetooth wakelock [dczz]
update latest mpdecision [showp-1984]
Add max screen off freq to userspace - echo "702000" > /sys/module/cpufreq/parameters/suspend_freq
update mach-msm/cpufreq.c from CAF
Linux 3.0.77
JB - v1.91 (29 APR)
Fix bluesleep.c
Alternative boot animation hack (now should get rid of screening off issue, try to turn on boot animation)
both provided by my friend dczz
JB - v1.9 (28 APR)
Limit MAX screen off freq = 702Mhz
Disable msm_mpdecision and use Auto Hotplug by _thalamus
Kernel -O2 optimization (thats why file size larger)
Set tweaked ROW from franco.kernel by default
Logger driver update by stratosk
some misc backport,fixes
Linux 3.0.75
JB - v1.8 (15 APR)
BSODs from v1.7,v1.71 should be fixed
- Sorry for previous instable release and late coming v1.8
IO Scheduler: Add ROW
- As requested
CPU Governor: Set Ondemand(tweaked 2phase) as default
- By my observation, onedemand,badass seem to be more battery friendly due to shorter time in max freq.
Remove UKSM
- Cons>Pros
- if needed, Check stock KSM in Option - > Performance - > Memory Management
Revert CM screen off fix
- It seems disturbing wifi fix
- If you have screen off issue, reboot can fix temporarily. Or disable boot animation for permanently fix
Backported CAF Linux 3.4 patches
Linux 3.0.72
Misc fixes,tunes
JB - v1.71 (4 APR)
Repack boot.img using new CM Ramdisk which fixed screen off issue
ICS - v3.5 (2 APR)
Remove UKSM
USB Force Fast Charging
Tune mpdecision
CPU 384Mhz-1512Mhz
Linux 3.0.71
JB - v1.7 (30 MAR)
improve WIFI idle drain - creditsss to tdmcode
Latest In-kernel CPU hotplug management aka msm_mpdecision (show-p1984)
Backport mach-msm/cpuidle,mach-msm/pm-8x60,mach-msm/hotplug etc (mrg666)
TCP congestion control : westwood
minor fixes
Linux 3.0.71
CPU Default Freq. = 192Mhz to 1512Mhz
JB - v1.6 (25 MAR)
Latest(24 MAR) CM10.1 kernel
Linux 3.0.70
CPU Default Freq. = 384Mhz to 1512Mhz
ICS - v3.4 (17 MAR)
Clean up some previous updates
Fixed SU640 NFC
Merged latest SU640 20f sourcecode
Add ROW I/O Scheduler by Qualcomm
Removed security error
Minor fixes
ICS - v3.3 (13 MAR)
update governor : interactive from francisco franco galaxy nexus kernel
fix cpufreq.c ( intellidemand works better )
lowmemorykiller updates from faux123
revert some v3.1-3.2 changes which potentially caused lag feedback
Linux 3.0.67
JB - v1.5 (4 MAR)
revert : mpdecision: advanced scroff freq (default 486Mhz)
revert : previous mm: writeback commit
Two commits potentially caused delay of wakeup or BSODs.
ICS - v3.2 (3 MAR)
use i_bell ramdisk (no Optimus LTE bootscreen now )
driver/thermal: create kernel MSM thermal management [faux123] (show correct CPU temp. now)
mpdecision: modify idle_freq decision points to improve efficiency
mpdecision: settings to be battery friendly
mpdecision: advanced scroff freq (default 486Mhz)
mm: uksm: tweak cpu usage
Linux 3.0.66
JB - v1.4 (1 MAR)
Latest(28 FEB) CM10.1 kernel
governer : badass
mpdecision: advanced scroff freq (default 486Mhz)
Linux 3.0.66
JB - v1.3 (23 FEB)
Latest CM10.1 kernel
driver/thermal: create kernel MSM thermal management [faux123] (show correct CPU temp. now)
mpdecision: modify idle_freq decision points to improve efficiency
mpdecision: settings to be battery friendly
mm: uksm: tweak cpu usage
add Wifi Screen-Off Power Management from franco.Kernel (refer to #2 post for setting)
a bit wireless driver changes aimed for battery improve
JB - v1.2 (17 FEB)
tweak p930 wireless driver (P930 only)
bcm4329: allow low-wifi-signals to be seen ( showp1984) (P930 only)
Linaro GCC 4.6 -> Google GCC 4.6 Compiled ( improve stability )
Linux 3.0.64
minor tweaks
JB - v1.1 (12 FEB)
Linaro GCC 4.6 Compiled
USB Force Fast Charging
Improve touchscreen response
Latest CM10.1 kernel
Entropy tweaks
Frandom (http://billauer.co.il/frandom.html)
Adjusted wifi aligned scan time
some lowmemorykiller commits
minor patches,tweaks
JB - v1.0 ( 6 FEB)
patches, tweaks, governers, io schedulers from wind ics kernel
OC/UV etc
ICS - v3.1 (17 FEB)
Linux 3.0.64
Improve touchscreen response (faux123)
Entropy tweaks
Frandom (http://billauer.co.il/frandom.html)
tweak p930 wireless driver (P930 only)
bcm4329: allow low-wifi-signals to be seen ( showp1984) (P930 only)
More or less the same tweaks as CM10.1 kernel
SOURCE
MY GITHUB
CREDITS
tdmcode (great works on our device)
rmcc (bring us CyanogenMod)
faux123 (msm8x60 kernel works, intellidemand etc.)
show-p1984 (kernel based decision, badass etc.)
edoko ( source inspiring me to start dev kernel)
altvolt74 ( introducing the kernel to xda )
Countless developers ( providing their awesome source codes)
ALL tester and developers contributing source
Re: [KERNEL][27 JAN] [P93x|SU640] Wind_Kernel-v3.0 for STOCK/MIUI ICS
I created script to oc gpu, put it in etc/init.d & set right permission but it didn't auto run at startup, the max_gpuclk files still unchanged untill I run the script manually
Sent from my LG-P930 using xda premium
tuilalnvinh said:
I created script to oc gpu, put it in etc/init.d & set right permission but it didn't auto run at startup, the max_gpuclk files still unchanged untill I run the script manually
Sent from my LG-P930 using xda premium
Click to expand...
Click to collapse
Honestly, I dunno how init.d scripts execute automatically.
But you may use Smanager, select the script, click the "su" and "boot" and then "run"
Hi lyfkevin!
Have some question. What utils do you using for repack boot.img?
I tried different mkbootimg, unpackbootimg, mkbootfs, split_bootimg.pl but it not working. Using stock cmdline and base 0x40200000 but it not loading. I never have this problem before on my old phone. P930 have some specific?
miroslav_mm said:
Hi lyfkevin!
Have some question. What utils do you using for repack boot.img?
I tried different mkbootimg, unpackbootimg, mkbootfs, split_bootimg.pl but it not working. Using stock cmdline and base 0x40200000 but it not loading. I never have this problem before on my old phone. P930 have some specific?
Click to expand...
Click to collapse
I forgot where did i get this mkbootimg pack.
I followed this thread from HO!NO!
http://forum.xda-developers.com/showthread.php?t=1566202
And I use command to make boot.img
Code:
./mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.gz --cmdline "vmalloc=450M,console=ttyDCC0,115200,n8 androidboot.hardware=i_skt" --base 0x40200000 --pagesize 2048 --ramdiskaddr 0x41a00000 -o testboot.img
lyfkevin said:
I forgot where did i get this mkbootimg pack.
I followed this thread from HO!NO!
http://forum.xda-developers.com/showthread.php?t=1566202
And I use command to make boot.img
Code:
./mkbootimg --kernel zImage --ramdisk boot.img-ramdisk.gz --cmdline "vmalloc=450M,console=ttyDCC0,115200,n8 androidboot.hardware=i_skt" --base 0x40200000 --pagesize 2048 --ramdiskaddr 0x41a00000 -o testboot.img
Click to expand...
Click to collapse
Oh! Thanks! I never before not using --ramdiskaddr 0x41a00000
Made stuff for easy life. :fingers-crossed:
Just use extract.bat for extract and pack.bat for packing. Everything working automatic. If need change cmdline, edit make_boot
After installing it on last Miui 3.2.1 i have only 768 Mb RAM, why?
Thanks, I'm testing it now
cm10.1 wind kernel v1.0 released
not compatible to cm10, dun mess up
Currently CPU1 status is a bit weird, but defintely wont affect daily use. IT CAUSES LESS BATTERY DRAIN
I guess there is interference between kernel based mutlicore decision(msm_mpdecision) by show-p1984 and governor Intellidemand by faux123.
Test required.
My approaches:
1. switching cpu0 cpu1 governor
2. disable msm_mpdecision by "echo 0 > /sys/kernel/msm_mpdecision/conf/enabled"
3. try different mpdecision/intellidemand configurations by kernel tunner
4. terminal "su" "start mpdecision"
PLX dun hestitate to report ur feedback as it helps me to improve the kernel
REFER:
WHAT IS MSM_MPDECISION
WHAT IS INTELLIDEMAND
Re: [KERNEL][6 FEB] [P93x|SU640][OC/UV][3.0.62] Wind_Kernel [ICS|JB]
Man this is awesome 10.1 is crazy fast with this kernel. Will be testing over the next week. Thanks for all your work and contributions to our device.
Sent from my LG-P930 using xda app-developers app
tried it on my su640. so far so good. I just can't seem to clock it to 1900. oh well its the hardware 1836mhz it more than enough. thanks for kernel. keep up the good work
---------- Post added at 01:43 PM ---------- Previous post was at 01:29 PM ----------
question. Noob here. I have no idea how to OC my gpu. Any link to a guide?
Re: [KERNEL][6 FEB] [P93x|SU640][OC/UV][3.0.62] Wind_Kernel [ICS|JB]
EpicGtab said:
tried it on my su640. so far so good. I just can't seem to clock it to 1900. oh well its the hardware 1836mhz it more than enough. thanks for kernel. keep up the good work
---------- Post added at 01:43 PM ---------- Previous post was at 01:29 PM ----------
question. Noob here. I have no idea how to OC my gpu. Any link to a guide?
Click to expand...
Click to collapse
Check second post :]
U may use faux123 's kernel tool to OC 3D clock
---------------------------------
Anyway, the kernel still under test and far from perfect. give me some time to improve(as I learnt linux and kernel compile in late DEC christmas)
Sent from my LG-SU640 using xda app-developers app
hmm, i don't know if it bug or not, but i stay my phone on idle on night, and after 8 hour i have 31 percent of battery. i hope it's not bug
kkruglov said:
hmm, i don't know if it bug or not, but i stay my phone on idle on night, and after 8 hour i have 31 percent of battery. i hope it's not bug
Click to expand...
Click to collapse
Sounds like classic CM10.x
I want to say that after 8 hours as it remained 31 percent.
classic cm 10.x? (i don't understand)
kkruglov said:
I want to say that after 8 hours as it remained 31 percent.
classic cm 10.x? (i don't understand)
Click to expand...
Click to collapse
I assumed you said it drained to 31% after 8 hours idle... if that's the case, classic battery hogging CM10.
If you meant it stayed at or near 31% after being idle for 8 hours, then Wow... That's pretty impressive.
yes, i mean it stayed at 31 for 8 hours (just idle, without wifi or internet connection).

[KERNEL][LU6200][OC/UV][3.0.79] Wind Kernel [CM10.1]

Wind Kernel for P930/SU640 (http://forum.xda-developers.com/showthread.php?t=2119976)
I am trying to make LU6200 support though I do not have LU6200.
Thanks tdmcode for the lu6200 initial cm kernel
BACKUP FIRST
USE AT YOUR OWN RISK
DISCLAIMER
Code:
*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
DEVICE SUPPORT
LU6200(i_lgu)
FEATURES
Based on latest CM10.1 Kernel Source
Latest Linux Kernel 3.0.y source
CPU [email protected] MAX CLOCK 1.83Ghz
GPU [email protected]_320Mhz 2D 266Mhz
Undervolting Support(700mV-1400mV)
L2 Performace Boost
Smooth as Butter :]
Some tweaks, fixes
and something I missed (discover it ! )
Stable Version
CM10.1 - N/A
INSTALLATION INSTRUCTION
Copy *.zip to External SD card
Boot into Recovery Mode
Flash *.zip
Reboot and Enjoy it!
OPTIONAL
NANDROID BACKUP before flash
Wipe Cache/DalvikCache,Fix Permission after flash
DEFAULT SETTING
CPU 384Mhz-1512Mhz
Stock GPU FREQ [email protected] /[email protected]
Intellidemand + SIO
WIND KERNEL DEFAULT VOLTAGE
Code:
192000 775000
310500 775000
384000 775000
432000 800000
486000 800000
540000 825000
594000 825000
648000 850000
702000 850000
756000 875000
810000 875000
864000 900000
918000 900000
972000 900000
1026000 925000
1080000 950000
1134000 950000
1188000 975000
1242000 1000000
1296000 1025000
1350000 1050000
1404000 1075000
1458000 1075000
1512000 1100000
1566000 1125000
1620000 1150000
1674000 1175000
1728000 1200000
1782000 1225000
1836000 1275000
1890000 1325000
1944000 1350000
PERFORMANCE SETTING
Rom Settings -> Developer Options -> Windows Animation Scale,Transition Animation Scale -> 0.5x
Nova Launcher Settings -> Look and Feel -> Scroll Speed,Animation Speed -> Faster than light
use any system tools on Playstore ,set by your preference.
Example: To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
Example: To increase maximum GPU frequency in 2D mode to 266 MHz:
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
Available frequencies:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000
Click to expand...
Click to collapse
Monitor MSM_MPDECISION
adb shell
su
cat /proc/kmsg | grep 'MPDEC'
CHANGELOG
JB - v2.1 (20 MAY)
tune some values(e.g. LCD voltage 3V->2.8V) according to leak 4.1 sourcecode
lower the max overclock freq to 1.83ghz
use original fix of stopping the bootanimation
Linux 3.0.79
Some patches & fixes ,check GITHUB for detail
JB - v1.9 (28 APR)
Screen off freq = 702Mhz
Disable msm_mpdecision and use Auto Hotplug by _thalamus
Kernel -O2 optimization (thats why file size larger)
Set tweaked ROW from franco.kernel by default
Logger driver update by stratosk
some misc backport,fixes
Linux 3.0.75
JB - v1.8 (15 APR)
Initial relealse - try1
Sync to su640,p930 wind kernel
For detail:
http://forum.xda-developers.com/showpost.php?p=37236229&postcount=3
BUG
CM10.1 BUGS
SOURCE
MY GITHUB
CREDITS
tdmcode (great works on our device)
rmcc (bring us CyanogenMod)
faux123 (msm8x60 kernel works, intellidemand etc.)
show-p1984 (kernel based decision, badass etc.)
edoko ( source inspiring me to start dev kernel)
altvolt74 ( introducing the kernel to xda )
Countless developers ( providing their awesome source codes)
ALL tester and developers contributing source
wao, thank you!
I'll test and give you feed back soon!
I'm ready
CM so good
Sent from my LG-LU6200 using xda premium
Thanks you vinamilk
Gửi từ LG-LU6200 của tôi bằng cách sử dụng Tapatalk 2
For try1, check
1. it can boot or not
2. if it can boot, will it force reboot when screen off
lyfkevin said:
For try1, check
1. it can boot or not
2. if it can boot, will it force reboot when screen off
Click to expand...
Click to collapse
1. Boot ok, OC 1836Mhz ok
Testing.......
Sent from my LG-LU6200 using xda premium
Chum.zuizui said:
1. Boot ok, OC 1836Mhz ok
Testing.......
Sent from my LG-LU6200 using xda premium
Click to expand...
Click to collapse
How is screen off.
Will it reboot everytimes screening off
Voltage table for overclocking is depending on device chip.
You may have to tune it by any systools or editing init.qcom.post_boot.sh (simply +25mV for each step)
hey.well,kernel worked
antutu benchmark check = 6400 .i don't know
oxiubx said:
antutu benchmark check = 6400 .i don't know
Click to expand...
Click to collapse
governor and cpu hotplug policy tweaked for battery and performace balance
Under default setting, cpu might not fullload during benchmark
if you want to benchmark, set governor: performance
lyfkevin said:
governor and cpu hotplug policy tweaked for battery and performace balance
Under default setting, cpu might not fullload during benchmark
if you want to benchmark, set governor: performance
Click to expand...
Click to collapse
Again with cpu 1k8
Hi, @lyfkevin!
how can i OC GPU? Can you give me some detail?
I notice that GPU performance is not good as ICS stock rom
hungnguyen490 said:
Hi, @lyfkevin!
how can i OC GPU? Can you give me some detail?
I notice that GPU performance is not good as ICS stock rom
Click to expand...
Click to collapse
check #2 post
also u can use
fauxclock, kernel tuner etc.
thank you!
if i want to oc gpu frequency in 3d, i have to do some steps like:
adb shell
su
cat /proc/kmsg | grep 'echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk'
Right?
hungnguyen490 said:
thank you!
if i want to oc gpu frequency in 3d, i have to do some steps like:
adb shell
su
cat /proc/kmsg | grep 'echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk'
Right?
Click to expand...
Click to collapse
adb shell
su
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
or
put
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
at the end of system/etc/init.qcom.post_boot.sh
thank you very much
lyfkevin said:
adb shell
su
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
or
put
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
at the end of system/etc/init.qcom.post_boot.sh
Click to expand...
Click to collapse
is it normal?
It is laggy in my end. Do I need to change something for it to fully work or what? I am new to using different kernels for phone so I am sorry.
It rebooted 1 time when downloading kernel tuner in playstore
Kernel works well and I am using it with tdmcode's aokp rom. It rebooted at 1st just after lockscreen appears but never again. I don' have any issues, its smooth.

[Kernel] 4.4.2 [Stock ROM] JassyKernel Release 1 [5 April 2014]

D801 for now only!
Features
Code:
* Fully customizable MPDecision
* MPDecision TouchBoost
* 3-phase thermal throttle
* Westwood+ TCP congestion control default
* 2.8Ghz OC
* UV capable
* Wheatley added
* ROW/FIOPS/SIO/VR/ZEN/Deadline/Noop/CFQ
* Dynamic File Sync
* Asynchronous Fsync
* Power Suspend
* Color Control
* F2FS Support (Planning to see about at least making a recovery to format /data partition with this)
* Debug code reduced
* -O2
* 4.6 Google Toolchain
* Optimized
* Other stuff I probably forgot
Here's a kernel I've been working on. You might know me from the Moto Cliq, HTC Sensation, Nexus 4, or Nexus 7 FHD and like always this kernel is just something I throw together from other devs work. I don't know how to code... at all. But I do like certain features from some devs and some from others and I like to make one that has those.
As it stands the kernel is very usable without modifying anything, but I am playing around to see what works best. Wheatley with 4 cores min seems to be doing pretty well. Give your suggestions to see what will become default.
FauxClock, TricksterMOD, and Kcontrol all work with this kernel. You may want to use FauxClock + one of the other two to take advantage of all the features.
Downloads
https://mega.co.nz/#!QRRWBSaC!CgnrXVBHyikQICjYCglr4-Bhgv6Dz0Jcjy9HQbAjI8c
It asks for a login but just hit cancel. Trying to figure this out, I've never run a server before.
SOURCE
Release 1
Code:
* 2f59497 (Paul Reioux) : fs/Kconfig: fix warning related to AYSNC_FSYNC patch
* b803126 (Paul Reioux) : OVERCLOCK: add ultimate overclock to 2.8 GHz
* f246915 (Paul Reioux) : f2fs: data: AIO optimization compatibility fixup
* 723f678 (Paul Reioux) : drivers/Makefile: add exFat support
* fd4441c (Paul Reioux) : drivers/exfat: add Samsung's open source exFat module version 1.2.4
* faa56ee (faux123) : scripts: remove localversion "+" from kernel version strings
* 1561c3f (Jose Salgado) : Release 1
* b8bdb8c (Jose Salgado) : Revert "fastcharge: initial Nexus 5 adaptation"
* e00a8f2 (Paul Reioux) : init/Kconfig: decouple DEBUG_KERNEL from EXPERT settings
* a865b5c (Jose Salgado) : revert a61aafc
* dbdddf8 (dr87) : Overclocking: if -> ifdef
* a61aafc (Paul Reioux) : sched/fair: improve fairness efficiency
* 2cee7d6 (dr87) : Overclocking: Enforce stock freq on boot rather than table limit
* cbb5a5a (Paul Reioux) : CPU OVERCLOCKING: initial CPU Overclocking for Snapdragon 800 Socs
* c28e477 (dr87) : cpufreq: Remove CPUBoost
* 772b0e0 (Paul Reioux) : Asynchronous Fsync: initial extraction of Async Fsync from HTC
* 612a6c8 (Paul Reioux) : msm: kgsl: show current power level for 8974 SOCs.
* 5aab668 (Paul Reioux) : fs/dyn_sync_cntrl: dynamic sync control
* bc3e94b (Paul Reioux) : fastcharge: initial Nexus 5 adaptation
* 8fcbf8c (Girish Mahadevan) : ARM: dts: msm: Allow L2 to be in GDHS during Standalone PC for msm8974
* 39ed978 (Paul Reioux) : msm8974-regulator.dtsi: further reduce CPU retention voltage
* eaed48b (Paul Reioux) : msm8974-regulator.dtsi: adjust GFX regulator parameters
* 68a18c0 (flar2) : Update ARM topology and add cpu_power driver
* b4828f1 (morfic) : remove tracing, fix piggy, tune build
* 9426ce0 (dr87) : machmsm: fix up rq stats
* 405c2c0 (Dennis Rassmann) : kbuild: drop cpuinit/cpuexit checks in modpost
* da4cae5 (Jose Salgado) : Revert "random: bringup"
* c502d32 (dennes544) : FS: import F2FS
* 60d3af0 (dr87) : bricked: Add kconfig and makefile
* 78f55e7 (dr87) : Revert "cpufreq: enable sibling cpu policy sharing"
* 15b1119 (dr87) : Revert "drivers/cpufreq/cpufreq.c: re-enable cpu policy restore"
* 657a382 (Paul Reioux) : drivers/cpufreq/cpufreq.c: re-enable cpu policy restore
* 691de92 (Paul Reioux) : cpufreq: enable sibling cpu policy sharing
* 25284d4 (franciscofranco) : sched: set sched_mc_power_savings to 2, which is the highest power saving possible value for this tunable
* 586bbc6 (Paul Reioux) : drivers/cpufreq/cpufreq.c: re-enable cpu policy restore
* d79f17e (Pranav Vashi) : msm: cpufreq: Prevent going above max freq when adding new device
* 0657604 (dr87) : lge: update board files
* 1946f87 (dr87) : bricked: add thermal_qcom
* efa211a (dr87) : bricked: update thermal
* ceed881 (Paul Reioux) : kernel/power/powersuspend: default to userspace for now
* 4e1dff6 (yank555-lu) : kernel/power/powersuspend: add back userpace control w/ default kernel control
* 4b2d961 (yank555-lu) : kernel/power/powersuspend: remove userspace dependency from powersuspend
* 3ae0cb6 (Paul Reioux) : powersuspend: new PM kernel driver for Android w/o early_suspend
* 9001717 (dr87) : bricked: add mpd_qcom
* b60fcf9 (dr87) : bricked: fix up mpdecision
* 4958d9b (dr87) : Port Bricked mpd in one commit
* f99197b (Jose Salgado) : just getting rid of it real quick
* c09c4d5 (Jose Salgado) : add .gitignore
* b84f632 (Dennis Rassmann) : kernel/sysctl: fix: 'warning: 'kbuf' may be used uninitialized in this function'
* eefb404 (showp1984) : Makefile: Optimizing build-options for linaro
* c2e5c62 (showp1984) : Makefile: Added Snapdragon optimizations
* 12b6430 (showp1984) : Makefile: adding config variable for Os/O2/O3 compilation
* 23e5630 (xcstacy) : Add /dev/frandom
* 1b38317 (Ezekeel) : Added CPUfreq governor 'wheatley'
* dd042dd (morfic) : Tune deadline, readahead, ondemand, interactive.
* c834f9e (savoca) : Add BFQ/SIO/FIOPS/ZEN/VR IO Schedulers
* e51f133 (houst0nn) : random: bringup
* c8d665d (Ricardo Cerqueira) : kcal_ctrl: Remove the lower limits from the RGB values
* 94bf2c6 (franciscofranco) : Enable pipe flag.
* a45e550 (imoseyon) : cpufreq: force cpuN policy to match cpu0 when changing freq or gov
* 9f38330 (Viresh Kumar) : cpufreq: Manage only online cpus
* 42b0f79 (faux123) : lib/string: use glibc version
* f750383 (faux123) : lib/memcopy: use glibc version
* 124f788 (Francisco Franco) : audit: kiss goodbye you stupid piece of crap logging messages.
* 305a3aa (WhatHub) : use of swp{b} is deprecated for ARMv6 and ARMv7
* 55c7b59 (Paul Reioux) : arch/arm/mach-msm/cpufreq.c: reduce dmesg log spam
* b2bcbf0 (Francisco Franco) : msm: krait: add CPU Voltage control.
* a8267bc (dr87) : scripts: add dtb tool
* 7e4dcc5 (dr87) : Make no external modules, build them into the kernel
* affd673 (Jackpot Clavin) : Add bull**** device tree stubs.
* 6b3b755 (Jose Salgado) : Initial commit
One more for me
Very good, waiting for d802 release
Sent from my LG-D805 using XDA Premium 4 mobile app
Sweet d801 on it
Sent from my LG-D801 using XDA Premium 4 mobile app
waiting for d802
No access for me.
Sent from my LG-D801 using XDA Premium 4 mobile app
razrlover said:
No access for me.
Sent from my LG-D801 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Just his cancel and then you should be able to download. Works for me when I downloaded from my phone
Sent from my LG-D801 using xda app-developers app
razrlover said:
No access for me.
Sent from my LG-D801 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
pluginre said:
Just his cancel and then you should be able to download. Works for me when I downloaded from my phone
Sent from my LG-D801 using xda app-developers app
Click to expand...
Click to collapse
like plug said.
Sorry, trying to fix that. It's also causing issues when adding FauxClock Download support.
Working on other variants also. Will keep you guys posted.
Will this work for cloudy pro 2 based rom?
Sent from my LG-D801 using Tapatalk
jeyd02 said:
Will this work for cloudy pro 2 based rom?
Sent from my LG-D801 using Tapatalk
Click to expand...
Click to collapse
That's what I'm currently using.
jassycliq said:
That's what I'm currently using.
Click to expand...
Click to collapse
Great sorry to Annoy lol but how is this one different from simple kernel 2?
Sent from my LG-D801 using Tapatalk
@dr87 seems to be using a lot of @franciscofranco's work with that kernel. It's also suppose to be leaner with less features and less "garbage".
It's a good route but I prefer to use @show-p1984's hotplug and thermal, it allows users full control over hotplugging. I've also added "wheatley" because I wanted to see how it would do running 4 cores always on; have yet to tune it so its not completely smooth. (The gov Wheatley is not smooth IMO, the kernel with its defaults is IMO)
A lot of it is in the changelog. dynamic fsync, RGB control, etc. etc.
Thanks a lot I'll certainly give it a try
Sent from my LG-D801 using Tapatalk
F2FS! I'd really like to have this file format on my G2 storage (but on an AOSP ROM)
 @jassycliq Could You maybe try to make resizing partitions possible? /system partition is waaay too big. (Almost 2GB is wasted on AOSP rom)
reas0n said:
F2FS! I'd really like to have this file format on my G2 storage (but on an AOSP ROM)
@jassycliq Could You maybe try to make resizing partitions possible? /system partition is waaay too big. (Almost 2GB is wasted on AOSP rom)
Click to expand...
Click to collapse
Resizing partitions = brick
I can use toolbox pro for cpu tunings?
Sent from my LG-D801 using Tapatalk
jeyd02 said:
I can use toolbox pro for cpu tunings?
Sent from my LG-D801 using Tapatalk
Click to expand...
Click to collapse
Pretty sure you can, I don't use it though so I can't promise anything. Some things require FauxClock seeing that it's the only app that supports those features. I believe that its only intelli-ksm, power suspend and dynamic filesync though.
As far as mpdecision and 3phase thermal, it requires trickstermod, kcontrol, or anyother app that has support for it (don't know all those out there)
Awwee Ok. Why requiring various apps. It's okay for it to running all those app at background.?
Sent from my LG-D801 using Tapatalk
jeyd02 said:
Awwee Ok. Why requiring various apps. It's okay for it to running all those app at background.?
Sent from my LG-D801 using Tapatalk
Click to expand...
Click to collapse
I don't require any apps at all.
The defaults ran great for me, but if you want to take more control I was recommending one of those.
They tend to run fine, AFAIK they don't usually continue running and applying settings over and over (only time i experienced that was with Mako and it would only apply rgb values on screen on) Most of the times these apps write to a file and that's it. Other ones just read it and modify as needed.

[KERNEL] [ROOT] [SM-G920F Exynos 7420] [17 Dec] SkyHigh TW 5.1.1 Kernel [v2.9]

[KERNEL] [ROOT] [SM-G920F Exynos 7420] [17 December] SkyHigh TW 5.1.1 Kernel [ v2.9 ] [Synapse ++]
WARNING
Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://forum.xda-developers.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD),
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]
FEATURES
Code:
* Based on official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n920"]Samsung OSRC[/URL]
* ramdisk source:
[INDENT][COLOR="red"]N920F[/COLOR]XXU3QOLF[/INDENT]
* Compiled with Linaro gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
* Linux 3.10.94
* [COLOR="red"]AUTO-ROOT binary v2.52[/COLOR] & Install busybox v1.24.1-Dorimanx
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly)
* adb insecure
* stock dt.img
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* [COLOR="red"]DEEP SLEEP FIX[/COLOR]
* [COLOR="red"]IN-CALL REBOOT BUG "FIX"[/COLOR]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on reboots)
* RAM management tweaks
* GearVR reported working
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)
SYNAPSE FEATURES
ABOUT
PayPal Donation link
SkyHigh kernel thread link
Up time
Total
Sleep
Awake​
A57 CPU
CPU temperature
A57 big Cores Frequency Scaling
live frequency
MAX: 2400 MHz (stock 2100 MHz is default)
MIN: 500 MHz (stock 800 MHz is default)​
CPU governors
interactive (default)
on-demand
conservative
userspace
performance​
CPU governor tunables
A57 VOLT
HPM voltage control
A57 big Cores voltage control
A53 CPU
A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1600 MHz (stock 1500 MHz is default)
MIN: 200 MHz (stock 400 MHz is default)​
CPU governors
interactive (default)
on-demand
conservative
userspace
performance​
CPU governor tunables
A53 VOLT
HPM voltage control
A53 LITTLE Cores voltage control
CPU MULTICORE
Power Aware Scheduling control
HMP LITTLE Packing
Exynos Core Control Interface (choose 1 > 8 cores online)
PEWQ (Power-efficient Workqueues) control
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state​
GPU power policy control
coarse_demand (default)
demand
always_on​
GPU frequency scaling
Max freq control to 852 MHz (700 MHz is default)
Min freq control to 100 MHz (stock 266 MHz is default)​
GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)​
GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay​
GPU VOLT
HPM voltage control
GPU voltage control
THERMAL
CPU thermal control
normal temp
critical temp​
GPU thermal control
temp levels 1 > 5
throttling freq levels​
Memory thermal control
normal temp
critical temp​
ISP (Image Signal Processor) thermal control
temp levels 1 > 5​
BUS
Memory Bus HPM voltage control
Memory Bus voltage control
Internal Bus voltage control
ISP (Image Signal Processor) voltage control
IO
I/O Schedulers
BFQ (tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ = default (tweaked for SSD)
NOOP
ROW (tweaked)​
Storage read-ahead (256 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity
NR requests​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (default)
Aggressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Samsung SPCM Service control (Enabled = default/stock)
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption​
Dynamic FSYNC control (enabled)
Dynamic dirty page writeback control (enabled)
Dirty writeback active
Dirty writeback suspend​
Virtual Memory
Adaptive Dirty Background Ratio on suspend / resume
Adaptive Dirty Ratio on suspend / resume
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive vfs_cache_pressure on suspend / resume​
ADVANCED
Entropy (max 4096)
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
randomize_va_space control
POWER SUSPEND
Modes:
Autosleep
Userspace
Display Panel
Hybrid (Autosleep + Display Panel) = default​
PowerSuspend State (enable only with Userspace mode set)
Version push button
AUDIO
(Sound Control by AndreiLux)
Jack media volume control
L/R channel volume
mono mixer​
Speaker volume control
Earpiece volume​
Main Equalizer
Advanced Stereo Equalizer
SCREEN
sweep2sleep control
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)
WiFi DTIM Interval While Screen-On/Off​
RX wakelock timeout control
TCP/IP network security
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
GPS time-zone
Original
Asia
Europe
Oceania
North America
South America
Africa​
IPV6 optimistic detection
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Live status​
BATTERY
Battery info
Charging controls
HV power supplies
A/C Mains
A/C Mains (screen-on)
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charging adapter
MHL power
Wireless power​
Battery SCALING calibration (fuel gauge reset)
LED
LED disable control
LED Fade-in/out Time Period
LED Fade control
Fade-in
Fade-out​
Test notification push button
Stop notification push button
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
Scrolling cache control
Optimise Databases (SQLite3)
FSTrim lagfix
Wipe options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot​
Clean up
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​
USB
USB status
USB mode selection
MTP
PTP
CD_ROM (drivedroid support)
USB_Keyboard-Mouse​
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
LOGS
Android Logger control (enabled)
LogCat​
Kernel Logger control (enabled)
dmesg
last_kmsg​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Reduced logging
exFAT FS support
NTFS R/W support with app
CIFS support (not tested)
ISO 9660 CDROM & UDF FS support
Frandom
mount partitions NOATIME and NODIRATIME by default
Entropy tweaks
Increased boot frequency
Power-efficient workqueue (PEWQ) efficiency patches
CLEANCACHE & ZCACHE
Microsoft X-BOX gamepad controller in-built module
Slub tweaked
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfire - root & SuperSU / @Manh_IT - auto-root method
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
@halaszk88 - patches and Synapse code I adapted to many of my kernels
@dorimanx - BusyBox and various ramdisk tweaks/ideas
@apb_axel - I adapted and used many of the Synapse controls to suit my kernels
XDA
Samsung OSRC
and many others!
check github source credits
IF I'VE FORGOTTON ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Galaxy S6 Exynos 7420 Kernel, Kernel for the Samsung Galaxy S6
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N920
Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: Testing
Created 2015-12-17
Last Updated 2015-12-17
Warning - ChangeLog - Requirements - Installation - Download - Source
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
Code:
[COLOR="Red"]* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !![/COLOR]
CHANGE-LOG
[v2.9] - 14 December 2015
variant:
Korean variant support discontinued unless sources become compatible with all SkyHigh variants. v2.8 is the last for now
source:
BUILD: fix invalid binary created for .tar.md5 archive
Revert " Source: merge N920SKSU2AOK5"
Cause of boot and stability issues with T variants​
config: remove MPTCP from reverted N920SKSU2AOK5 source
[v2.8] - 13 December 2015
ramdisk:
Synapse: update sweep2sleep description
Ensure PowerSuspend State is DISABLED​
su: update BINARY to BETA-SuperSU-v2.52 (latest stable beta)
1. Unroot (SuperSU APP > settings > "full unroot")
2. Reboot
3. Install SuperSU app from Play Store
4. NOTHING else to do !!​
init.rc: prevent override of dirty_background_ratio
Synapse: change dirty ratios default description & clean up
Synapse: adjust for adaptive dirty_background_ratio & adaptive dirty_ratio
Synapse: disable drop_caches on boot
improved UI performance as cache does not have to rebuild on every boot. optional in Synapse​
source:
Revert duplicate code from my mistake
Revert "cpufreq: Remember last policy min/max on cluster restart"​
Linux 3.10.93 > 3.10.94
Source: merge N9200ZHU2AOKA
Source: merge N920SKSU2AOK5
ARM: 8429/1: disable GCC SRA optimization
Support for GCC 6.0 toolchain
mm: Increase Dirty Ratios (battery)
mm: Adaptive Dirty Background Ratio & Dirty Ratio for suspend/resume (battery) my own
dirty_background_ratio 20-resume / 60-suspend (fixed)
dirty_ratio 40-resume / 95-suspend (fixed)​
config: enable ADAPTIVE_DIRTY_BACKGROUND_RATIO & ADAPTIVE_VM_DIRTY_RATIO
mm: Dynamic Page Writeback: fix compile if not enabled in config
[v2.7] - 09th December 2015
variant:
add SM-G9287C support with G9287CDXU2AOK1 ramdisk base​
ramdisk:
Synapse: NETWORK: add IPV6 Optimistic Detection controls & enable
Synapse: NETWORK: modify layout of WiFi DTIM Interval description
Synapse: NETWORK: add GPS Time Zone for faster GPS lock
Synapse: SCREEN: fix up sweep2leep description
Synapse: USB: tidy up USB live status
Synapse: USB: add live DNS address
Synapse: USB: add title to live DNS address
Synapse: IO: add NR Requests control
Synapse: A57/A53: show live freq for all A57 & A53 cores
Synapse: A57/A53: make default CPU frequencies static so they are not overridden
Synapse: A57/A53: move A57, A53 & GPU voltage controls to separate tab
Synapse: A57/A53: use the new renamed ren_max_freq (you need to use Synapse to control CPU MAX values - and any other SkyHigh features !!)
Synapse: A57: correct core display for temp sensors
Synapse: MEMORY: Adaptive vfs_cache_pressure on Suspend / Resume
Synapse: MULTICORE: remove HMP threshold controls. They are dynamic
N9200 ramdisk: update to N9200ZHU2AOKA
N920K ramdisk: add SkyHigh version
source:
BUILD: small fixes to build scripts
BUILD: fix up ramdisk_fix_permissions.sh
BUILD: add separate SM-N920K support
dts: N920S/K/L update from N920SKSU2AOK5 source
cpufreq: rename scaling_max_freq to ren_max_freq (fix by @arter97 to prevent DVFS override set CPU MAX freq)
fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume (100% screen on & 20% static screen off)
fs: make ADAPTIVE_VFS_CACHE_PRESSURE compile optional
Revert various Nvidia power efficiency patches (Testing to resolve random System UI restart to lock screen)
config: enable ADAPTIVE_VFS_CACHE_PRESSURE
A53: allow max to 1600 MHz (default/stock 1500 MHz)
A53: increase boot frequency to 1500 MHz
[v2.6] - 05 December 2015
variant:
add SM-G928T/W8 variant support
ramdisk:
Synapse: SCREEN: add sweep2sleep control
Synapse: USB: add USB storage controls
MTP
PTP
CD ROM iso image (drivedroid support)
USB Keyboard / Mouse​
Synapse: clean up
source:
net/neighbour: queue work on power efficient wq
sched/fair: Implement fast idling of CPUs when the system is partially loaded
arm64: Improve power efficiency through load/store exclusive usage (Nvidia power efficiency patch set)
thread_info: Remove usage of relaxed calls in sched header
hrtimer: Replace usages of hrtimer_callback_running with relaxed version
aio: Skip timer for io_getevents if timeout=0
touchscreen: add sweep2sleep
sweep2sleep: adjust for 1440 x 2560 display
usb: gadget: check for accessory device before disconnecting HIDs
drivers: usb: Use Android device as USB keyboard/mouse
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
[v2.5] - 03 December 2015
variant:
add SM-G928C/F/I/G, SM-N920P, SM-N920S/K/L & SM-N9200 variant support
ramdisk:
BUILD: auto build archives for each variant selection
ramdisk bases:
SM-N920S/K/L N920SKSU2AOK5
SM-N9200 N9200ZHU2AOJ9
SM-N920P N920PVPU2AOI6​
Synapse: fix up generate
Synapse: fix up fuel-gauge reset
source:
various power efficient workqueue patches
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
mm: pass readahead info down to the i/o scheduler
mm: fix aio performance regression for database caused by THP
fixup! mm: fix aio performance regression for database caused by THP
fts_ts: fix a stupid typo by Samsung
CHROMIUM: cpufreq: interactive: calculate load before freq change
block_dev: implement readpages() to optimize sequential read
[v2.4] - 30th November 2015
variant:
add SM-N920G variant support
ramdisk:
update SM-N920-I/G ramdisk N920GDDU2AOJ5
/sbin/SkyHigh.sh: Enable Main Equalizer by default (Fixes bug where no audio from earphones whilst in-call)
Synapse: MEMORY: change KSM > UKSM controls
source:
UKSM: 0.1.2.3-for-v3.10.ge.46
UKSM: fix compile errors
UKSM: disable by default
config: enable UKSM
toolchain: gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
Makefile: add optimizations
dts: N9200_HK update from N9200ZHU2AOJ9 source
cpufreq: Mod perms so they are settable in apps
[v2.3] - 29th November 2015
source:
Fix in-call reboot
Revert "toolchain: change to Linaro GCC 5.2.1 20151005". (Back to Linaro 4.9.3 20141031)
Revert "ufs: fix compilation warnings"​
power: process: drecrease time to enter sleep
futexes: Increase hash table size for better performance
cpufreq: Optimize cpufreq_frequency_table_verify()
[v2.2] - 28th November 2015
ramdisk:
Update N920C/CD/8 to N920CXXU2AOK7
Synapse: NETWORK: add WiFi Power Mode & DTIM Interval controls for screen ON/OFF
Synapse: NETWORK: add Wireless wakelock timeout control
default.prop: re-enable Samsung SPCM Service (removed entry)
Synapse: MEMORY: add Samsung SPCM Service control (Enabled = default/stock)
source:
Source: SM-N920T_NA_LL_Opensource N920TUVU2COJ5
drivers/video/exynos/Makefile: Fix compile warnings for non-supported drivers
config: enable LCD_HMT
Linux 3.10.90 > 3.10.93
Fix compile errors with GCC 5
crypto: pcomp - Constify (de)compression parameters
crypto: testmgr - Wrap the LHS in expressions of the form !x == y
ufs: fix compilation warnings​
toolchain: change to Linaro GCC 5.2.1 20151005
bcmdhd4359: WIFI PM support
config: enable BCMDHD_WIFI_PM
tcp: enable sockets to use MSG_FASTOPEN by default
bcmdhd: reduce rx wakelock timeout via sysfs node
net: wireless: bcmdhd4359: reduce kernel logging
Drivers: sensorhub: reduce wakelock time
[v2.1] - 17th October 2015
boot.img:
repack with stock dt.img (flash over v2.0 if you have audio issues)
[v2.0] - 17th October 2015
ramdisk:
Synapse: add BACKUP RESTORE section for save/restore profiles & boot.img to /sdcard/SkyHigh folder (from my older SkyHigh kernels on other devices, modified and adapted to suit from apb_axel and neobuddy89)
Synapse: FS: add FSTrim push button
/sbin: replace fstrim with (PIE) binary (from arter97 git)
[v1.9] - add SM-N9208_SEA variant support 16th October 2015
[v1.9] - 15th October 2015
ramdisk:
boot.img: disable boot time security check "KERNEL IS NOT SEANDROID ENFORCING" (kernel is still permissive)
Synapse: disable CortexBrain as not needed for in-call reboot bug "work-around" any more. It's fixed !! Intend to add other options here in future.
source:
config: disable unused FS support
build scripts: clear ccache instead of clean
FIX IN-CALL REBOOT BUG: toolchain: change to gcc-linaro-4.9-2014.11-x86_64_aarch64-elf
The recommend Google ARM Toolchain GCC aarch64-linux-android-4.9 causes general stability and in-call reboot issues​
[v1.8b] - 13th October 2015
ramdisk:
Synapse: MEMORY: add Dynamic management of dirty page writebacks control (screen on/off)
Synapse: CPU MULTICORE: add Power Aware Scheduling control - enabling gives better battery (default = disabled for performance)
Synapse: minor adjustments to layout and descriptions.
default.prop: add some experimental RAM management tweaks (thanks to @mikeyinid for the suggestions)
source:
sched: HMP: set Power Aware Scheduling off by default (previously enabled by default in patch)
GPU: set max freq to 700 MHz as default (stock)
cpufreq: Break out early if freq equals to target_freq
PM / sleep: unregister wakeup source when disabling device wakeup
tick: don't update idle time if cpu offline
slub: fix kmem_cache_shrink return value
mm: slub: fix format mismatches in slab_err() callers
a bunch of SELinux patches
mm: Dynamic management of dirty page writebacks
kernel.h: fix error when compiling N9208_SEA
[v1.7b] - 12th October 2015
ramdisk:
Synapse: MEMORY: add Dynamic FSYNC control
Synapse: LOGS: add Android logger control (enabled for logcat)
/sbin/cortexbrain-tune.sh: some adjustments to watchdog control
source:
xz: tweaking kernel compression (not used)
AIO: Don't plug the I/O queue
fs/dyn_sync_cntrl: dynamic Fsync control v1.5
fs/dyn_sync_cntrl: on by default
logger: Add sys fs kernel interface to configure Android logger & modify for Synapse
writeback: fix race that cause writeback hung
timer: optimize apply_slack()
writeback: Fix occasional slow sync(1)
writeback: fix writeback cache thrashing
CHROMIUM: mm: Fix calculation of dirtyable memory
mm: Optimized SLUB memory allocator
arm64: dcache: select DCACHE_WORD_ACCESS for little-endian CPUs
Linux 3.10.61 > 3.10.90 (took a lot of time)
Revert "powersuspend: add screen on/off hooks" from hotplug
decon: add powersuspend hooks
fips: fix whitespaces
arm64: crypto: increase AES interleave to 4x
cpufreq: Remember last policy min/max on cluster restart
mm: vmscan: If kswapd has been running too long, allow it to sleep
[v1.6b] - 9th October 2015
boot.img:
re-pack with custom generated dt.img
ramdisk:
Synapse: HMP: rename to CPU MULTICORE
Synapse: CPU MULTICORE: add PEWQ (Power Efficient Work-queues) for better battery at slight cost of performance.
Synapse: POWER SUSPEND: add PowerSuspend controls
Synapse: MEMORY: add vfs_cache_pressure control
default.prop: insecure adb again
init.rc: remove more code to prevent IO scheduler override
source:
config: add variants and sync to v1.5b
Remove obsolete build script and add build script / tools to build custom dt.img
config: N920C dtb exynos7420-noblelte_eur_open_09
config: N920I dtb exynos7420-noblelte_eur_open_09
sched/fair: Fix small race where child->se.parent,cfs_rq might point to invalid ones
cpufreq: Introduce new relation for freq selection Introduce CPUFREQ_RELATION_C
cpufreq: interactive: use new CPUFREQ_RELATION_C
int_sqrt.c: Correction square root algo with naming
int_sqrt: Improve 3x faster integer sqrt.
workqueue: Fix permission for power_efficient workqueue
a bunch of workqueue patches
jiffies conversions: Use compile time constants when possible
sched/completion: Add lock-free checking of the blocking case
sched: Remove one division operation in find_busiest_queue()
sched/fair: Optimize find_busiest_queue()
kthread_work: wake up worker only when the worker is idle
sync: don't block the flusher thread waiting on IO
mm: Clear page active before releasing pages
makefile: Add SoC-specific compile target
sensorhub: fix compile warning for SM-N9208
workqueue: disable PEWQ by default
config: enable WQ_POWER_EFFICIENT_DEFAULT
PowerSuspend: patch powersuspend driver up to v1.7 & modify to suit
powersuspend: call screen on/off hooks with hotplug (panel hooks)
powersuspend: add power_suspended boolean for global access
config: enable POWERSUSPEND
config: enable TIMA_LKMAUTH and also missing TIMA for SM-N920S
[v1.5b] - 6th October 2015
ramdisk:
Synapse: CORTEX: add CortexBrain to control screen on/off functions. Enabling this FIXES in-call reboot bug (actually a solution - not a "fix"). Thanks to Dorimanx & halaszk88 for the orignial scripts which I chopped to pieces into my SM-N915S kernel .
/sbin: add CortexBrain script
/sbin/SkyHigh.sh: start CortexBrain on boot
source:
Block: add FIOPS I/O scheduler
FIOPS: forward port for use on 3.10 Linux
config: enable IOSCHED_FIOPS
block: sysfs: allow non superusers to change I/O scheduler
block: Reserve only one queue tag for sync IO if only 3 tags are available
blk-throttle: check stats_cpu before reading it from sysfs
cfq-iosched: fix the setting of IOPS mode on SSDs
Block: add BFQ-v7r8-I-O-sched-for-3.10.8+
config: enable IOSCHED_BFQ
block: bfq-iosched: tuning for SSD
a lot of block commits to support ROW IO scheduler
Block: add ROW I/O scheduler
block: row: add magic values
config: enable IOSCHED_ROW
sched/cputime: Do not scale when utime == 0
[v1.4b] - 5th October 2015
ramdisk:
Synapse: THERMAL: add CPU, GPU, MIF & ISP thermal controls
Synapse: BATTERY: add charge controls (adapted from AndreiLux)
source:
GPU: allow min freq to 100 / 160 MHz
GPU: allow max freq to 772 / 852 MHz
GPU: increase throttling levels for better performance
GPU: increase max allowable voltage
GPU-MALI-T760: Added GPU THERMAL control interface
ARM: Mali-T760: disabled min/max lock. TouchWiz use this, so we can use normal DVFS with this patch
drivers/cpufreq: fix Samsung typos
exynos7420_tmu: add configurable interface
config: increase kernel log size so it is not overwritten
DEBUG: capture beginning of the crash in last_kmsg
config: enable building of dtb
[v1.3b] - 4th October 2015
updater-script:
create basic flashable zip for custom recovery
ramdisk:
Update N920T to N920TUVU2COI5
Synapse: SCREEN: remove mDNIe colour controls
init.rc: ensure IO schedulers are not overridden
source:
remove video: exynos: Decon: Add mDNIe colour control (causing display colour issues. Maybe take a look another time)
[v1.2b] - 3rd October 2015
ramdisk:
Update N920C to N920CXXU1AOI1
Synapse: LED: add LED fade-in/out controls
Synapse: SCREEN: add mDNIe colour controls (AndreiLux)
Synapse: HMP: add HMP LITTLE Packing control (Power savings at a slight cost to performance)
Synapse: HMP: add Exynos Core Control Interface (choose 1 > 8 cores online)
init.rc: set randomize_va_space to 0 (disabled) for improved GUI responsiveness
init.rc: fix Samsung syntax error: setprop sys.sysctl.compact_memory 0
disable some unnecessary security stuffs (arter97)
default.prop: (trying to fix errors and panic)
remove FHA for now whilst testing for reboot
various security additions/removal testing for reboot​
source:
Source: merge in SM-N920C_SEA_LL N920CXXU1AOI1
Trying to fix some some errors and panic
sysrq: Emergency Remount R/O in reverse order
Revert "security: SELinux: Avoid enabling enforcing by conventional flag
Revert "security: SELinux: revert Samsung hard enforcing
selinux: loose everything
config: more TIMA adjustments​
video: exynos: Decon: Add mDNIe colour control
video: exynos: Silence mDNIe control hook
cpufreq: Silence dm_hotplug debug
config: compile SCHED_HMP_LITTLE_PACKING
HMP: disable HMP LITTLE packing (default)
LED: add LED fade-in/out control
Dynamic CPU Hotplug: exynos-interface from Universal5410
dm_cpu_hotplug.c: fix compile error
[v1.1] - 30th August 2015
ramdisk:
Synapse: INFO: added asv_summary
Synapse: GPU: added GPU freq scaling MIN/MAX controls
init.rc: added some boot defaults (ensure stock CPU & GPU freqs)
source:
A57: allow max 2400 MHz & min 500 MHz
A53: allow min to 200 MHz
cpufreq: Add kt files and build it
cpufreq: Set global var screen_is_on when screen goes on and off
gpu: Add code to allow user to control min and max GPU Mhz - @ktoonsez
[v1.0] Initial Release - 29th August 2015
A lot of credit (as always) goes to @AndreiLux for various source commits, Synapse app and UCI support and more !
REQUIREMENTS
Variant support for:
SM-G920F​
FOR BUG REPORTING: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (this means no Xposed or tweaks etc)
Custom recovery i.e.. TWRP
INSTALLATION
Uninstall any CPU control apps, tweaks and init.d scripts etc.
Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed)
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Device Settings:
Enable Developer Options > OEM UNLOCK
If flashing from any custom kernel with Synapse app > Device settings > Applications > Synapse > Force Stop > clear data​
If not installed > Install SuperSU from Google Play:
Boot into custom recovery and flash SkyHigh_kernel____.zip FOR YOUR DEVICE and reboot
After boot:
a) wait at least 120 secs to stabilize
b) Open Synapse
c) Tap "Understood"
d) DO this step so some defaults are set !!
1. tap the square menu button top right hand corner
2. tap the three dots button
3. "select all globally"
4. tap the back button next to it
5. apply​
DOWNLOADS
SM-G920F [ v2.9 ] READ THIS >>>>> FIRST [ v3.0 ] RELEASE IS TOMORROW
________________________________________________________________________
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
Help and FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
I MIGHT NOT HAVE YOUR DEVICE variant and or able to reproduce your "issue". With this in mind, without providing as much information as possible, and resetting your device to a stable unmodified baseline, any potential troubleshooting or logs could be meaningless. So please follow the guidelines set out below. Thanks
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:
Code:
1. DEVICE MODEL ?
2. ROM and firmware version (build number, boot-loader etc) ?
3. EXACT steps taken to reproduce YOUR issue
4. Screen-shots (if applicable)
5. Did you read Posts #1-3 completely?
6. Did you search the thread, XDA or GOOGLE?
7. Did you follow the install instructions EXACTLY?
8. What was your previous kernel?
9. Do you have any other known kernel tweaking apps, scripts or mods? ([B]remove them[/B]). [COLOR="Red"]This includes Xposed etc[/COLOR]
10. Try older kernel (if available)
11. Factory reset ?
12. Try latest stock [B]UNMODIFIED[/B] firmware (without custom ROM - if you have installed) and factory reset
13. Delete your ROM BusyBox (kernel uses it's own in /sbin)
ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:
Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.
ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!
THANK YOU :good:
CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?
I will not build for any device that I can not compile using SAME source, personally test method or debug. Some device variants can compile with same source.
If you have any of the following, please post your LATEST stock boot.img along with the firmware version you extracted it from.
N920R4​
Download the full firmware package from either sammobile.com or samsung updates.com (1.5+ GB )
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue
Three choices:
Device > settings > applications > Synapse > force close & wipe data and REBOOT
OR
Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
OR
Try install a different busybox
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
CM SUPPORT
Read Post #12
"Unauthorized actions have been detected, reboot to undo changes"
As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
[Q] How to disable
[A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
BATTERY TIPS
Try enable some of the CPU MULTICORE features in Synapse (slight performance cost):
Power Aware Scheduling
HMP LITTLE Packing
PEWQ (power-efficient workqueue)
Increase the HMP Up threshold a little
PERFORMANCE TIPS
LATER
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use a stock UNMODIFIED ROM for your device variant
No tweaks, Xposed or other CPU control apps installed
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
http://forum.xda-developers.com/showpost.php?p=61579949&postcount=202
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable any CPU MULTICORE options in Synapse
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
CHROMECAST - STREAMING PROBLEMS
* Thanks to @AtLmd Post
Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
Synapse > Network > DTIM (both screen ON & OFF) = 1
Synapse > Network > WIFI Power Mode (screen OFF) = FAST
.
UpInTheAir said:
There is no link yet. You didn't bother to read the link right next to it ?
Click to expand...
Click to collapse
Placeholder threads aren't allowed on XDA. Please let me know when you have a link to post for download. Until then, thread closed.
Thread Closed
Razvan
Forum Moderator

Categories

Resources