Related
Although some parts can be considered as original, all are based on inspirations, examples and other people's code.
I have no claim to be original. I am only trying to make my (and probably other's) SGS2 experience better and fun.
I do this for fun. so, if you just want to argue with me please don't. use the energy coming from your youth in something useful.
SiyahKernel v2.6.14
FEATURES
Can be flashed on Samsung ROMs and AOSP Based ROMS. Currently all Samsung 2.3.4, 2.3.5, 2.3.6, 2.3.7 based ROMS, CM7 (CM9 or any other ICS based ROMs are not supported) and MIUI ROMS are supported.
Based on linux kernel 2.6.35.14 + drivers from Samsung sources
Auto-Rooting
CWM touch Recovery with gesture support
Custom boot animation support
Supports SetCPU (OC upto 1600MHz, UC downto 100MHz)
User customizable frequency steps. You can edit "freq_table" and use 25MHz as the lowest step and 1696MHz as the highest. You have 8 steps (it is fixed) but the frequencies can be set.
Supports undervolting (UV between 800 mV and 1500 mV)
Supports voltage control via SetCPU (thanks to netarchy, ninpo, hacre)
Stock voltages as default
smartassV2, lulzactiveV2 governors. and lots of other governors which are available as modules
Default governor is lulzactive (200-1200MHz)
Tweaked ondemand and conservative governors
no compiler optimization. it is just a myth.
Touchscreen fix (thanks to vitalij)
Increased touchscreen sensitivity
GPU clock (thanks to netarchy), voltage and scaling thresholds control interface.
I/O, scheduler, hotplug and vm tweaks
automatic battery calibration. (removed. thanks to Entropy512. we do not need battery calibration for SGS2)
Available I/O schedulers: noop, deadline, CFQ, BFQV3r2(default), V(R), SIO
Available CPU governors: see this thread for the list of available governors and modules (thanks to droidphile)
/system/etc/init.d startup scripts support
Automatic backup of efs partition. You will have the files in your sdcard as well as /data/.siyah directory. copy them to a safe location in case you may need them later.
BLN (thanks to creams), liblights is autoinstalled if the existing one doesn't support BLN
supports advanced touch tune driver. thanks to vitalij Link. the control app from Web, from Mobile. Thanks to tegrak for the driver patch file download
2nd core application support (thanks to tegrak)
Automounting of NTFS volumes for USB sticks (ntfs on external card is not supported). although your rom says "clear storage", just check /mnt/usb folder. ntfs drives will be automatically mounted in read-only mode.
LZOP compression for the kernel to have very fast decompression. We have a VERY BIG kernel image because we have ntfs-3g, CWMManager and lots of other things both in initramfs and payload.
Integrated new&faster sha-1, crc32 slice-by-8, crc32c, jhash and rwsem algorithms
SCHED_MC enabled to have less power consumption.
Lower brightness levels for low-light conditions to save battery.
Brightness behaviour modification via setting min_bl, min_gamma and max_gamma values. you can control the lowest and hightest levels used in autobrightness.
Native BLN support for CM7 based roms.
Three GPU stepping (160-267-300) instead of two
optimized and configurable hotplug thresholds and rates.
Thunderbolt! script integrated (thanks to pikachu01)
Voodoo louder app support (thanks to supercurio)
Current Widget support while charging the device.
ExTweaks (uci.sh) support. (Thanks to xan and AndreiLux) ( https://market.android.com/details?id=com.darekxan.extweaks.app )
CIFS, SLUB, FUSE, NTFS, cgroup_timer_slack,... and lots of other mambojambo that I forgot...
Download link: http://www.gokhanmoral.com/
FLASHING GUIDE
TO FLASH TAR:
If you already have root, use DarkyOTA app from the market ( https://market.android.com/details?id=com.ficeto.darkyromota ) .
If not, use ODIN.
TO FLASH ZIP:
Use CWM Recovery and install zip file. Wiping cache&dalvik cache is recommended for those who use BLN.
if you lose root after flashing the kernel (unlikely), flash http://goo-inside.me/superuser/su-2.3.6.3-efgh-signed.zip in CWM.
Some Example Init.d Scripts
Example CWM-flashable /system/etc/init.d/99gpuv script (thanks to AndreiLux)
Example GPU/CPU undervolting and underclocking scripts by kwerdenker
Improved version of CPU undervolting script by kwerdenker
Another couple of nice init.d scripts created by fenomeno83
flashable lionheart cpu governor and setting default i/o scheduler to deadline (remove /system/etc/init.d/01lionheart to uninstall. thanks to knzo for the tweaked conservative governor settings)
releases can be found here: http://www.gokhanmoral.com/
source code repository: http://bitbucket.org/gokhanmoral/siyahkernel
CHANGELOG
see http://www.gokhanmoral.com/ for the changelog.
TODO
more and more optimizations for less battery drain
ICS edition when samsung releases new kernel sources
stable wifi driver which doesn't cause a lot of wakelocks with proper offloading
BLN notifications without wakelocks
OTA application (just to prevent users downloading wrong kernel for their device. other than that, it will be useless for a kernel)
THANKS:
Samsung, supercurio, hardcore, Hacre, RAvenGEr, tegrak, cattleprod, codeworkx, hellcat, creams, vitalij, arighi and others I might have forgotten...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Who Should NOT Use This Kernel?
If you are going to use very low voltage settings and complain about having lockups, you SHOULD NEVER use this kernel... just run away! This kernel is just as stable as the stock kernel if you do not modify any settings. Do not blame the kernel if you change the voltage or clock settings. If you do so I will blame your stupidity. I will not remove any feature just because some dumb users select wrong settings. If you are a rookie with an uncontrollable instinct of modifying advanced settings please use speedmod or stock kernel.
This kernel generally contain some experimental code and some of them may be even undocumented. I have different release strategy. I always use the latest version and if I notice any problem I try to fix it. However, I do not use all the features of the phone. So, if you notice any problem please report it. bug reports are welcomed, whining is not.
If you judge a kernel by quadrant score, please, I beg you, don't use this kernel. I don't have enough time nor motivation to answer your questions... Some people got 8000+ quadrant (search the thread) and there is no way you can beat them anyway.. so, go away...
If you are one of those who judges a kernel while sleeping ("oh my god!! lost %1 during sleep"-guy) please use another kernel, sleep and never wake up. it will maximize your battery and minimize the tension in the thread.
If you still believe in battery calibration, discuss it in some thread else. we respect all religions but missionary acts are not welcomed in this thread.
99.9% of the code belong to others. I have some modifications and/or additions to the kernel as C code or scripts but they are so little compared to the original code base. If you think you are better developer than I am, don't waste your time (and mine) as I accept it beforehand so please just go away.
FAQ
Q: Does this kernel support Samsung's ICS leak, CM9 or any ICS edition?
A: No, it does not.
Q: Does this kernel support latest Samsung i9100 ROM?
A: Yes, it does. Unless otherwise stated, you can use this kernel on latest Samsung ROMs (official and leaks). it is tested on 2.3.4, 2.3.5, 2.3.6.
Q: Can I use this kernel on I9100G?
A: No, you cannot. Only european i9100 models are supported. Also, I compile ntt-docomo version for each release but beta versions do not support gps and digital tv on ntt-docomo devices.
Q: Does this kernel support CM7 or any other AOSP based roms?
A: Yes, but it only support cm7 or miui based roms for now. If you are using another aosp based Rom tell me and I will support it.
Q: Can I use app protectors with this kernel?
A: Yes, you can. Android logger is enabled by default.
Q: Some custom lockscreens or protectors do not work with this kernel. Can you fix it?
A: see the question above.
Q: What is smartassV2 governor?
A: It is a governor to control CPU frequency. This governor has a built-in "profile" similar to SetCPU but the profile has no upper frequency limit. It tends to stay on lower frequencies when the screen is off and scale up very slowly, so screen off will use lower clock rate thus conserve more battery, but it also has a fast wake up feature so that user interaction will not see the lag when switching from Sleep to Wake state.... (So SetCPU Profiles are sorta redundant when using this governor, you can still use SetCPU to OC to higher than default Clock frequency).
Q: What is the best UV settings?
A: There is nothing as best UV settings. You have to find the best settings for your device for yourself. Start by decreasing 25mV on each freq and decrease it every day until your device becomes unstable.
Q: What can I do to have the best battery life ever?
A: put your phone into airplane mode. if you don't like to do it read the guide below.
Q: Which roms are supported?
A: All android 2.3.4 and 2.3.5 roms are supported. Try the latest version. if you have any problems leave a post to this forum and ask for help.
Q: I get random reboots or freezes. What should I do?
A: Before reporting any problems you have to make sure that you are using stock voltage values. Some phones cannot handle undervolting. Secondly, you have to give details. When did it happen, which rom are you using, can you reproduce it, do you have any custom init scripts which changes kernel parameters such as freq voltage or anything else?
Q: do I need to recalibrate the battery?
A: You don't need to calibrate battery for SGS2. Thanks to Entropy512 to pointing out that our device uses MAX17042 which is specifically designed not to require calibration.
Q: do I need to perform any wipe?
A: no. you don't have to wipe anything. however, try wiping cache and dalvik cache if you have any force closes or any other issues before reporting the issue.
Q: Is the battery life better/worse?
A: maybe... you'll never know if you don't try... People are reporting that they are having the best battery but it may not be the case for your device.
Q: where is the interface to change GPU clock and voltage?
A: There is no GUI (graphical user interface). the interface is used via device files. you have to use init.d scripts to adjust the values. there are some examples in the first post about how to use init.d scripts and gpu voltage/clock interface.
Q: Which governor is the best? Which I/O scheduler is the best?
A: You have to try them and select the one you like. There is a very good explanation about governors and i/o schedulers here: http://forum.xda-developers.com/showthread.php?t=1242323
Q: My phone doesn't go into deep sleep mode. Why?
A: try to clear cache and dalvik cache by using CWM recovery and make sure that your phone is not connected to a charger. it does not go into deep sleep when it is charging.
Q: Which version is the best?
A: supposedly, the latest version is the best. But if the latest version is beta there may be unstable code in it. testing the beta version and reporting bugs will help me. but it's your choice... try and see... maybe this kernel is not stable for your device at all, who knows... I will not answer any "what is the best?" questions and I kindly ask you not to ask that kind of questions since there is no answer to that.
Q: How does the automatic battery calibration work?
A: Automatic battery calibration feature is removed as it was useless for SGS2.
Q: What is an init.d script?
A:init.d scripts are the scripts which are executed during the boot time. actually, they are meant to initialize and deinitialize system daemons and manage some startup/shutdown tasks. but in android world they are just "autoexec.bat"s. so, it is a mix of rc.d and init.d directories in linux distros. everything in /system/etc/init.d are executed during the booting process. since it is not standard in every android device,some developers choose to execute files starting with "S" and some execute everything. in this kernel, everything in /system/etc/init.d is executed. you can create a script to change, lets say, voltages, schedulers, apply tweaks, run overclocking daemon or run anything else you can imagine.
Q: My phone doesn't go into deep sleep. What is wrong?
A: Make sure that you have cleared cache and dalvik-cache after you install the kernel. Also, reboot once more after the flashing. the phone doesn't go into deep sleep if it is connected to a charger or to a computer. There may be an application running in the background which is preventing deep sleep. In that case you can check which app causing the problem with "BetterBatteryStats" application (search in Google).
Q: I want more info about CPU governors.
A: There is a great post about cpu governors (thanks to droidphile): http://forum.xda-developers.com/showpost.php?p=19339524&postcount=10023
If you still want more info, try them by yourself.
Q: Can I use this kernel with I9100T?
A: Yes, you can. the only difference between I9100 and I9100T is that they have different SAR values.
quick and dirty guide to have less battery drain:
- use 2G-only if you don't need 3G
- monitor programs which cause wake-lock. use betterbatterystats and either uninstall or tweak them
- do not use task killers. see the previous item and find the malicious programs instead of repeatedly killing them.
- do not activate google latitude on maps.
- if you don't need pushmail, uncheck gmail sync and use k-9 mail to pull mail, lets say, every 1 hour or so.
- go to settings / location and security. disable "use wireless networks" and "use gps satellites". enable them when you need them, other than that keep them disabled.
- disabling auto-brightness and using a low brightness level helps. do you know that you can adjust the brightness by swiping your finger across the notification bar? try it...
- using juicedefender may help, but it may also cause more drain. test it yourself.
- if you need more speed than 2.5G (i.e. edge) disable HSDPA (*#301279#, select 2 then select 1). you will have 3G instead of H(SDPA) and I think it is fast enough
- disable fast dormancy. dial *#9900# and disable.
- disable auto sign in for google talk (search for talk in appdrawer and use settings to disable automatic sign in)
- disable samsung update and don't use samsung gadgets if you are not in love with them. (this part may be taken care of the rom developers)
- try several radios. I recommend you to try KE7, KG2 and KH3 and choose the one which suits you best. KG2 seems to be the best for me. however, in terms of battery life, there is not much difference between those three.
- be aware that more you use your phone more the battery drains don't complain like "my battery drains quite fast but I did not use my phone. I only played angry birds for hours without making a single call" or don't expect to have a decent battery life if you use your phone as a computer or download torrents using your phone.
i think i will wait 4 feedback because it's based on u2 source.
But good job anyway
cheers
Just flashed this on checkrom. Lost my haptic feedback and wifi.
Sent from my GT-I9100 using Tapatalk
sileshn said:
Just flashed this on checkrom. Lost my haptic feedback and wifi.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
I've just noticed that I haven't uploaded the version that I am using. sorry for that. I will recompile and upload again.
gokhanmoral said:
I've just noticed that I haven't uploaded the version that I am using. sorry for that. I will recompile and upload again.
Click to expand...
Click to collapse
Take your time and post the sources as well, else this thread will get locked pretty quick.
Sent from my GT-I9100 using Tapatalk
Tebrikler dostum.. Great work..
sileshn said:
Take your time and post the sources as well, else this thread will get locked pretty quick.
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
yes, I know that is why I have asked for patience in OP. If the moderators were a bit more patient maybe I would be using some other kernel and wouldn't bother to compile my own
I've uploaded the recompiled kernel. enjoy.
Salam!
Any benchmarks results sir?
Sent from my GT-I9100 using Tapatalk
sileshn said:
sileshn
Click to expand...
Click to collapse
Thank you sir
Sent from my GT-I9100 using Tapatalk
So~ Any battery life improvement using this kernel sileshn?
Desperate for battery saving stuff for my lovely S2~
03188lee said:
So~ Any battery life improvement using this kernel sileshn?
Desperate for battery saving stuff for my lovely S2~
Click to expand...
Click to collapse
you have to try.
smartassv2 governor with 200-1200mhz setting is very satisfying and the battery lasts at least as long as speedmod-v27 for me.
bfq scheduler maybe
..........will u add it in the next release?
CFQ scheduler really drain too much power.....
Sick Enough To Die said:
bfq scheduler maybe
..........will u add it in the next release?
CFQ scheduler really drain too much power.....
Click to expand...
Click to collapse
I have already added. testing now..
power drain change is not noticable though.
Did you get better battery life than REGEmod-U1?
gokhanmoral said:
you have to try.
smartassv2 governor with 200-1200mhz setting is very satisfying and the battery lasts at least as long as speedmod-v27 for me.
Click to expand...
Click to collapse
chonshon said:
Did you get better battery life than REGEmod-U1?
Click to expand...
Click to collapse
I haven't tested it, but theoretically smartassv2 governor that I am using in the kernel should give better battery life than ondemand with a little (not even noticable) sacrifice of performance. you don't need to use any setcpu profiles with smartass governors.
test it. it may or may not give better battery life for you.
I will. Thank you.
gokhanmoral said:
I haven't tested it, but theoretically smartassv2 governor that I am using in the kernel should give better battery life than ondemand with a little (not even noticable) sacrifice of performance. you don't need to use any setcpu profiles with smartass governors.
test it. it may or may not give better battery life for you.
Click to expand...
Click to collapse
great work
TerraSilent 1.3.5
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After a lot of testing I can release it
Well sorry for the /data partition, I don't know why, but it's stuck at RFS. I format it, I tried everything, everytime you relaunch the recovery and try to mount the partition, it mount it as RFS and wipe it out.
I advice you to let it as RFS or, change it to ext4 when you are sure you won't need to do further change in it from the recovery.
Click to expand...
Click to collapse
THIS IS ONLY FOR THE INTL AND USA VERSION OF THE GALAXY PLAYER 4.0 (YP-G1).
The kernel is based on the R3 version of Klin1344.
Current features :
All features of R3 of Klin Kernel (see below)
Battery life improvement using the patch of Entropy512
Jhash3
Optimized CFS (process scheduler)
A lot of memory tweak
TinyRCU
New Governor created for the kernel (based on smartassV2) : TerraSilent (I recommend you to use it)
CleanCache (using zCache) (see below for explanation)
zRam (see below for explanation)
Updated crc32 algorithm (that is quite used everywhere in the kernel)
Using optimized Sha1 algorithm
Lzma compressed initramfs
Swap enabled
New Boot logo (same image (but bigger) as the one in the begin of the Thread)
Feature Coming from based kernel :
V(R), BFQ, SIO Scheduler
OC to 1.2GHz
ClockWorkMod (recovery)
interactiveX, smartassV2, ondemandX, and the default governors.
Netarchy/coolbho3ks SoD patch from Entropy512's source (allows you to use screen off profiles of under 800Mhz)
Ext4 support
Voodoo Sound
etc ... see http://forum.xda-developers.com/showthread.php?t=1601773
Changelog
Version 1.3.5
[RECOVERY] Optimization of the recovery with better use of the busybox
[RECOVERY] Can save the /dbdata partition in nandroid
[USA] Added VOODOO FM
Version 1.3
[CHANGE] Zram built-in not a module anymore
[BUSYBOX] Updated busybox to last version 1.20.1 meaning any init.d script will be launched with that version.
Version 1.2
[MAJOR BUG FIX]Corrected a bug with the recovery that wasn't able to mount correctly the /data partition, it was leading to a complete wipe of data when applying ZIP that needed that partition to be mounted
[OPTIMIZATION]Using LZO Compression for ZRam also, after some test, I discover that Snappy compression is not really optimized on our device.
Feature Explanation :
faux123 said:
CleanCache (via ZCache backend)
ZCACHE is a new technology I introduced to Sensation Kernel. ZCACHE is a compressed cache similar to ZRAM but the similarity ends there. ZCache is meant to provide as many "cleancache" pages (non-dirty or untouched "virgin" memory) to apps that request for new memory. CleanCache is very easy to allocate and no additional penalty are required to hand them out, so having more CleanCache pages will improve performance. Under heavy memory pressure, often times the kernel will NOT have enough CleanCache pages, so the kernel has to do EXTRA work to reclaim dirty cache pages and clean them for the new apps that's requesting for them. The described process creates a performance hit for the kernel and the app, so the idea is to use compression to create more CleanCache pages available for use. Of course there's a penalty to pay for using compression, but the trade-off between compression penalty and the penalty for reclaiming dirty cache pages and allocating them after cleaning is smaller for compression, so in the end, CleanCache should add more performance.
Source : http://forum.xda-developers.com/showthread.php?t=1359951
Click to expand...
Click to collapse
faux123 said:
ZRAM (aka CompCache aka RAMZSwap)
ZRAM is an updated version formally known as CompCache and RAMZSwap. It was originally designed for 2.6.38.xx kernels, I have backported to our 2.6.35.xx kernel. ZRAM allows real-time compression of memory objects in RAM thus reducing memory pressure for the Linux kernel and can keep more apps in memory longer (more apps in RAM == better performance, less fetching from slower MMC or SDCard). Compression, however, is not Free. Some CPU cycles are required to do the compress/decompression, so there's a slight penalty for it. The original CompCache / RAMZSwap required a user space binary to control its behavior which adds additional penalty to performance, but the new version ZRAM eliminated the need for a separate dedicated daemon, thus reducing the overhead and increased performance from the old CompCache by 20%. Therefore, with the newer implementation of ZRAM interface, the performance penalty is almost negligible.
Source : http://forum.xda-developers.com/showthread.php?t=1359951
Click to expand...
Click to collapse
Dark_Balor said:
TerraSilent Governor
TerraSilent is completely based on the SmartAssV2 kernel with some improvement for the battery. When you are putting your device on sleeping/suspend, it's changing the frequency to 100Mz (if you set a minimum higher then that, it will be used instead) to avoid using too much battery when not needed, you can still listen to music without any lag. (if you experience some lag just change the minimum to 200Mhz).
It also less aggressive on ramp up the frequency, instead of always trying to reach the ideal frequency (400Mhz by default, I'll explain for tweaker all they can change if they want) it will try under frequency first (200Mhz if you were at 100Mhz before). Meaning using less battery.
By default when the load >= 85%, it will ramp up the frequency and if its lower than 35, ramp down it to an new frequency calculated using the current load.
Click to expand...
Click to collapse
How to tweak/activate special features
By default zCache and zRam are disabled because they can be unstable depending on the device.
By example, I don't have problem with zCache but with zRam yes, and Klin the exact opposite. The better is to try for your device and then choose which one you want, the 2 or none.
zCache :
To activate zCache, you only need to put a script in your init.d directory (in etc) or using ScriptManager to launch that line on boot :
Code:
insmod /lib/modules/zcache.ko
zRam:
To activate zRam, you only need to put a script in your init.d directory (in etc) or using ScriptManager to launch theses lines on boot :
Code:
mkswap /dev/block/zram0
swapon /dev/block/zram0
Changing by script the governator to TerraSilent
if you don't want to use (but I recommend noFrill Cpu to do that) an application to change the governator, you just need to do :
Code:
echo terrasilent > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Tweaking TerraSilent
in /sys/devices/system/cpu/cpufreq/terrasilent you'll find these files :
Code:
debug_mask --> for debug (possible value 0(disabled),1,2,4)
up_rate_us --> µs to wait before ramp up
down_rate_us --> µs to wait before ramp down
sleep_ideal_freq --> Freq used when sleeping/suspend
sleep_wakeup_freq --> Freq use when waking up
awake_ideal_freq --> Freq ideal for daily usage
sample_rate_jiffies --> DON'T TOUCH UNLESS YOU KNOW WHAT YOU ARE DOING
ramp_up_step --> step used when ramp up in Hz (to calcule the new frequency) (0 = maximum freq will be used when ramp up)
ramp_down_step --> step used when ramp down in Hz (to calcule the new frequency) (0 = using heuristic to found the best new lowered freq)
max_cpu_load --> max load that trigger the freq change for ramp up
min_cpu_load --> min load that trigger the freq change for ramp down
Where you can put your own values. (You have to do that after every boot, the best is to create a script that change the governor to TerraSilent, and set the wanted values)
FAQ
How to create a script
With ScriptManager it's easy, just push the menu button -> New -> Script
Put the script lines you want
Menu -> save
That's done
Manually : create a file name my-script.sh
put as first line :
Code:
#! /system/bin/sh
and then what you want your script to do.
Don't forget to do a
Code:
chmod +x my-script.sh
to make it executable.
Download (ODIN PACKAGES) :
http://www.mediafire.com/?cf9aw48dnmiqi
Source Code
Kernel : https://github.com/Belphemur/Galaxy-Player-4.0-Kernel
Initramfs : https://github.com/Belphemur/initramfs_yp-g1
If you love my work, don't hesitate to click the thanks button
Thanks to
Steve for the first modded kernel of our device
Klin1344 for continuing, improving the work of Steves and testing my kernel for the USA version.
Entropy512 for the battery patch, and a lot of other tweak
Faux123 for all the patch he have backported to the 2.6.35 kernel (zCache, zRam, etc ...)
THanks for your hard work in this kernel. You certainly know more about linux kernels than me.
But for some reason now enabling zram causes crashing and reboots but zcache does not. Oh well, at least one of them works!
klin1344 said:
THanks for your hard work in this kernel. You certainly know more about linux kernels than me.
But for some reason now enabling zram causes crashing and reboots but zcache does not. Oh well, at least one of them works!
Click to expand...
Click to collapse
I'm a Computer Sciences Student, and I already compile some kernel for my server, my computer ^^
It just my first kernel for an ARM device.
Thanks for your work the Kernel fixed the error i had with R2 and R3 ( the CPU speed was at 800MHz while the screen is off and music is on. SetCPU Profile dosent works too)
Sry for my bad english
Sent from my Nexus S using XDA
ChaosChris said:
Thanks for your work the Kernel fixed the error i had with R2 and R3 ( the CPU speed was at 800MHz while the screen is off and music is on. SetCPU Profile dosent works too)
Sry for my bad english
Sent from my Nexus S using XDA
Click to expand...
Click to collapse
I just flashed, but it still runs at 800mhz constantly while playing music with the stock player!
I am using the terraslilent governor.
Sent using Tapatalk
ChaosChris said:
Thanks for your work the Kernel fixed the error i had with R2 and R3 ( the CPU speed was at 800MHz while the screen is off and music is on. SetCPU Profile dosent works too)
Sry for my bad english
Sent from my Nexus S using XDA
Click to expand...
Click to collapse
I'm sure this is a stupid question, but I don't know the answer and the only way to learn is to ask, but how do you tell what the CPU is running at with music playing and screen off?
CPU spy (search for it on the market).
My theory is that the music player is programed to run at the max CPU speed available, which is 100mhz (I think) with the stock kernal. So, when you up the Max frequency to 800mhz, than the music player runs at that. What I still don't get, though, is 1; why doesn't your terrasilent governor solve the problem for me like it did for others, and 2; why does flashing the stock kernal not solve the issue?
Anyway, I'm not entirely sure that it really is running at 800mhz, as I let it play music overnight for 8 1/2 hours, and it only drained 30% battery from 70% to 40%. That makes about 4% per hour, which seems alot lower than I would expect a device running at 800mhz constantly would get. What do you guys think?
Sent using Tapatalk
iJimaniac said:
CPU spy (search for it on the market).
My theory is that the music player is programed to run at the max CPU speed available, which is 100mhz (I think) with the stock kernal. So, when you up the Max frequency to 800mhz, than the music player runs at that. What I still don't get, though, is 1; why doesn't your terrasilent governor solve the problem for me like it did for others, and 2; why does flashing the stock kernal not solve the issue?
Anyway, I'm not entirely sure that it really is running at 800mhz, as I let it play music overnight for 8 1/2 hours, and it only drained 30% battery from 70% to 40%. That makes about 4% per hour, which seems alot lower than I would expect a device running at 800mhz constantly would get. What do you guys think?
Sent using Tapatalk
Click to expand...
Click to collapse
After a lot of testing, I'm sure the application is wrong (or disabling the early suspend state).
When suspended the device have a freq of 100Mhz, you can check it with this command :
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
using adb when the device is suspended. You'll see it's 100Mhz (or the min you set if the min above 100Mhz)
The other test you can do is checking the time in state
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
You'll see that is passing more time in 100Mhz and 400Mhz then every other states.
(for the stats SetCpu or NoFrillCpu can read it for you)
Well, setcpu says the same as cpuspy: constantly 800mhz. However, I just ran it for 1 hour, from 100%, and it drained 4%. While I used to get around 2% per hour, this still seems fairly low consumption to actually be at 800mhz. I guess I will just live with it.
One more question; is there a way I could "undo" the SoD patch, or whatever would be causing this? I thought it would be as simple as flashing stock kernal, but not so. Would a flash of a stock kernal AND factoryfs.rfs do the trick?
Actually two more questions, lol; you realize that this is only happening with the stock music app; all other apps work fine. (Just not sure if I actually made that clear)
Sent using Tapatalk
got the kernel loaded up and since my primary use of my player is music playback i've used nofrills to underclock my cpu to max out at 400 mhtz, my question is can I and if so what app to use, to under volt my cpu to maximize my battery life?
daniel644 said:
got the kernel loaded up and since my primary use of my player is music playback i've used nofrills to underclock my cpu to max out at 400 mhtz, my question is can I and if so what app to use, to under volt my cpu to maximize my battery life?
Click to expand...
Click to collapse
Voltage control (free) will let you UV
iJimaniac said:
Well, setcpu says the same as cpuspy: constantly 800mhz. However, I just ran it for 1 hour, from 100%, and it drained 4%. While I used to get around 2% per hour, this still seems fairly low consumption to actually be at 800mhz. I guess I will just live with it.
One more question; is there a way I could "undo" the SoD patch, or whatever would be causing this? I thought it would be as simple as flashing stock kernal, but not so. Would a flash of a stock kernal AND factoryfs.rfs do the trick?
Actually two more questions, lol; you realize that this is only happening with the stock music app; all other apps work fine. (Just not sure if I actually made that clear)
Sent using Tapatalk
Click to expand...
Click to collapse
I have the governor set to smartassv2 and my cycles through. It was at 800 mhz for about 35% of the time. I'm using PlayerPro with the DSP pack and voodoo sound, though, and not stock.
Yeah, just something wrong with the stock player. Oh well, I'm going to buy poweramp since I just tried the trial and now the stock player seems pathetic anyway I love the lockscreen controls!
Sent using Tapatalk
iJimaniac said:
Yeah, just something wrong with the stock player. Oh well, I'm going to buy poweramp since I just tried the trial and now the stock player seems pathetic anyway I love the lockscreen controls!
Sent using Tapatalk
Click to expand...
Click to collapse
Quick off topic question... Can you get Poweramp's settings to stick? Such as to not show the rating, EQ, etc (the look and feel settings). I like Poweramp a little better (sounds about same as PlayerPro with DSP) but the settings being wonky bothers me.
Hmm, I don't remember and my trial is up. I don't think there was a problem (that I noticed).
Sent using Tapatalk
indyssee said:
Quick off topic question... Can you get Poweramp's settings to stick? Such as to not show the rating, EQ, etc (the look and feel settings). I like Poweramp a little better (sounds about same as PlayerPro with DSP) but the settings being wonky bothers me.
Click to expand...
Click to collapse
YES, under settings / Look and feel, just go in and set the things you don't want to see to Hidden.
daniel644 said:
YES, under settings / Look and feel, just go in and set the things you don't want to see to Hidden.
Click to expand...
Click to collapse
That's my point, it just ignores everything and doesn't change anything. I've tried all different ways to get them to stick. Doesn't work on my phone, either.
indyssee said:
That's my point, it just ignores everything and doesn't change anything. I've tried all different ways to get them to stick. Doesn't work on my phone, either.
Click to expand...
Click to collapse
Have you tried unistalling rebooting then reinstalling? Are you on a custom ROM?
Any suggestions for a boot loop that doesn't involve wiping data?
rozelle25 said:
Any suggestions for a boot loop that doesn't involve wiping data?
Click to expand...
Click to collapse
NOPE, bootloops are caused by conflicting files and the ONLY way to solve is to WIPE.
You could try to get into Download Mode and flash back to the ROM/Kernel you where on before your flash that caused the bootloop.
Welcome to the first custom kernel for the Samsung Galaxy Note 4.Providing instability to the masses since October 21, 2014
This kernel currently supports most North American carriers. Automatic selection is provided through the use of specialized recovery packages that will detect your device version and make appropriate adjustments.
Mereology (from the Greek μερος, ‘part’) is the theory of parthood relations: of the relations of part to whole and the relations of part to part within a whole. I do not take responsibility for anything these days, but I'll try to do my part and help.
Click to expand...
Click to collapse
Installing N910T ROMs on N910W8
Start with NJ3 stock firmware
Odin Flash CF-AutoRoot
Odin Flash TWRP
Make a full backup
Wipe system, data, cache, dalvik-cache
Install N910T Rom
Reboot System
Reboot Recovery
Install Stockish / Deported
Reboot System
Thank force70 for the guide
Known Issues:
DVFS set to ignore and secure storage disabled often resolve the lag. If you need either of these, stock / stockish are required.
Warning: I only have the T-Mobile version of the Galaxy Note 4
XDA:DevDB Information
StarKissed [ATT, CAN, TMO, USC, VZW], Kernel for the Samsung Galaxy Note 4
Contributors
twistedumbrella
Source Code: http://github.com/StarKissed/starkissed-kernel-trlte
Kernel Special Features:
Version Information
Status: Testing
Created 2014-11-07
Last Updated 2015-01-22
[Kernel] StarKissed [ATT, CAN, SPR, USC, TMO, VZW]
No mirrors please. Updates are posted 1 - 3 times per day.
Check the StarKissed website for compile info (not downloads)
Recovery Packages [Goo]
http://goo.im/devs/playground/galaxynote4/
Kernel source
http://github.com/StarKissed/starkissed-kernel-trlte
Retrieving a Kernel Log:
Code:
cat /proc/last_kmsg /sdcard/kernel_log.txt
SELinux Prerequisites:
The build.prop WILL override the kernel. It needs to be edited to match the desired settings.
Code:
(SELinux disable)
ro.build.selinux=0
(KNOX disable)
ro.config.tima=0
ro.config.knox=0
Potentially Inactive:
Potentially Unsafe:
pegasusQ
Features / Interfaces:
Linux 3.10.13 Linux 3.10.0
SELinux permissive
KNOX disabled
init.d support
Overclock to 2.8, Underclock to 268
Stereo call recording support
MNDIE Control
Motorola Memory Utils
Slimbus Overclock
Optimistic IPV6
intelli-plug (with arm64 updates)
Power Suspend
Simple GPU gov
HardLimit
intelli-thermal v1
Power Suspend Driver v1.5
Sweep2Sleep
Forced Fast Charge v1.2 (+ Wireless Charge Boost)
Advanced TCP avoidance
LZ4 compression
Dynamic FSync
add'l entropy: frandom, erandom (enabled via init.d)
add'l filesystems: NTFS, F2FS, CIFS
io: sio, fifo, zen, vr, bfq, fiops
gov: lionheart, dancedance, smartmax, pegasusQ, smartassV2, intellidemand, umbrella_core
CPU optimizations
Network optimizations
KNOX root and logging permissions
TIMA support, but disabled by default
S-View hack to use any cover
Common Interfaces
^ Borrowed from faux123 since many interfaces are MSM universal
Code:
cpu governor: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
cpufreq: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
intelliplug: /sys/module/intelli_plug/parameters/intelli_plug_active
gpu governor: /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor
gpu freq: /sys/class/kgsl/kgsl-3d0/max_gpuclk
simple GPU gov:: /sys/module/msm_kgsl_core/parameters/simple_laziness
simple GPU gov: /sys/module/msm_kgsl_core/parameters/simple_ramp_threshold
io scheduler: /sys/block/mmcblk0/queue/scheduler
io scheduler readahead: /sys/block/mmcblk0/queue/read_ahead_kb
dynamic fsync: /sys/kernel/dyn_fsync/Dyn_fsync_active
usb fastcharge: /sys/kernel/fast_charge/force_fast_charge
intellithermal: /sys/module/msm_thermal/parameters/enabled
cpu voltage: /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
Power Suspend
Code:
/sys/kernel/power_suspend/power_suspend_state
/sys/kernel/power_suspend/power_suspend_mode (0 - auto, 1 - panel, 2 - userspace, 3- hybrid)
Hardlimit
Code:
/sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_on
/sys/kernel/cpufreq_hardlimit/scaling_max_freq_screen_off
/sys/kernel/cpufreq_hardlimit/scaling_min_freq_screen_on
/sys/kernel/cpufreq_hardlimit/scaling_min_freq_screen_off
/sys/kernel/cpufreq_hardlimit/wakeup_kick_freq
/sys/kernel/cpufreq_hardlimit/wakeup_kick_delay
/sys/kernel/cpufreq_hardlimit/touchboost_lo_freq
/sys/kernel/cpufreq_hardlimit/touchboost_hi_freq
/sys/kernel/cpufreq_hardlimit/userspace_dvfs_lock (0 - allow, 1 - ignore, 2 - refuse)
MNDIE Control
Code:
/sys/class/mdnie/mdnie/mode (0 - dynamic, 1 - control, 2 - natural, 3 - movie, 4 - auto)
/sys/class/mdnie/mdnie/...
hijack
curve
copy_mode
sharpen
red_red
red_green
red_blue
cyan_red
cyan_green
cyan_blue
green_red
green_green
green_blue
magenta_red
magenta_green
magenta_blue
blue_red
blue_green
blue_blue
yellow_red
yellow_green
yellow_blue
black, 0664
black_red
black_green
black_blue
white_red
white_green
white_blue
scenario
App & Donations:
StarKissed [SKU] on Google Play allows you to configure many of the options provided by this kernel. Issues or comments about the app can be posted at the XDA StarKissed app thread
Donations are not being collected through the forum. If you would like to donate, you may do so through StarKissed [SKU] on Google Play by using the donate options located in the top right (the green dollar bill guy).
Will be nice if you can provide two different build. One without all the fancy things that some people wont have use for, such as overclocking, close to stock as possible but still provide stability, smoothness, and better battery life.
Some kernel makers just slap everything they can onto a kernel and in the long wrong, it is simply instable or provide hicups (that they will never own up to lol)
Nice job twisted keep it coming...
mgbotoe said:
Will be nice if you can provide two different build. One without all the fancy things that some people wont have use for, such as overclocking, close to stock as possible but still provide stability, smoothness, and better battery life.
Some kernel makers just slap everything they can onto a kernel and in the long wrong, it is simply instable or provide hicups (that they will never own up to lol)
Click to expand...
Click to collapse
I don't provide anything I wouldn't run on my own device. If you want it to be stock, vote for stock. If that is what wins, that is what I will build. It is enough to provide a single kernel for a bunch of devices without trying to keep track of per-device versions. I slap everything I can onto a kernel, test it, then delete or fix the broken stuff. My github is always current and anything I changed is clearly published to point the finger at whoever it needs to be pointed at.
Lol just throwing it out there , that is my vote
I vote like mgbotoe! Thank you sir!
Sent from my SM-N910T using XDA Free mobile app
Only thing I am seeking is SE Linux Permissive. Thanks for all your work!
Tried flashing the files (that are highlighted) in picture attachment using odin 3.07, got a fail. What am I doing wrong? Anyone else flash yet? How'd ya do it and did it work out ok?
Thanks Ahead.
Glen
Hardlimit by yank555 I'd like to see, along with your hotplug of choice, I like intelliplug myself, some govs, I usually stick with interactive anyways, maybe some mdnie controls etc etc. Lol I'm just tossing out what I enjoy..but, you tell me, what do you normally build in your kernels.?
re: kernels
twistedumbrella said:
I don't provide anything I wouldn't run on my own device. If you want it to be stock, vote for stock. If that is what wins, that is what I will build. It is enough to provide a single kernel for a bunch of devices without trying to keep track of per-device versions. I slap everything I can onto a kernel, test it, then delete or fix the broken stuff. My github is always current and anything I changed is clearly published to point the finger at whoever it needs to be pointed at.
Click to expand...
Click to collapse
I just hope that you have already gotten some sort of windows pc so you
won't be having all those problems you were having for the past 3-4 days
due to using a mac computer.
Good luck with your kernels.
p.s. my vote is the same as mgbotoe's
glensta said:
Tried flashing the files (that are highlighted) in picture attachment using odin 3.07, got a fail. What am I doing wrong? Anyone else flash yet? How'd ya do it and did it work out ok?
Thanks Ahead.
Glen
Click to expand...
Click to collapse
I've heard Odin doesn't like the files. I use Heimdall but I'll be looking into that.
Misterjunky said:
I just hope that you have already gotten some sort of windows pc so you
won't be having all those problems you were having for the past 3-4 days
due to using a mac computer.
Good luck with your kernels.
p.s. my vote is the same as mgbotoe's
Click to expand...
Click to collapse
You're starting to sound like the Best Buy reps when Windows 8 came out. At least before they had to start telling everyone 8.1 was coming to fix how terrible it turned out being once people started using it.
You have to run cygwin or an Ubuntu VM inside windows to build Android. You can run windows AND Ubuntu as windowed applications on Mac. Seems unnecessary when the real issue is consistency in the cm repos. The instructions say to get the Linux compiler ports, while detection identifies the platform compilers.
And fast change it you can
Sent from my SM-N910T using XDA Premium 4 mobile app
---------- Post added at 08:56 PM ---------- Previous post was at 08:56 PM ----------
jpeps said:
And fast change if you can
Sent from my SM-N910T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Sent from my SM-N910T using XDA Premium 4 mobile app
How about color/gamma controls???
jpeps said:
And fast change it you can
Sent from my SM-N910T using XDA Premium 4 mobile app
---------- Post added at 08:56 PM ---------- Previous post was at 08:56 PM ----------
Sent from my SM-N910T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I don't know how good of an idea messing with the adaptive charging would be, but I'll look into it. It depends if that functionality is tied into the USB port charging or not.
It is great that you have done this work and I (along with a bunch of others) are really grateful - it would be nice if we could flash this -
Doesn't work with Odin - not sure about the other option you mentioned, I personally have never used that method -
So - any instructions you can offer would be great - unless you feel it is not appropriate to flash this yet?
Your help - and input is greatly appreciated.
mocsab said:
It is great that you have done this work and I (along with a bunch of others) are really grateful - it would be nice if we could flash this -
Doesn't work with Odin - not sure about the other option you mentioned, I personally have never used that method -
So - any instructions you can offer would be great - unless you feel it is not appropriate to flash this yet?
Your help - and input is greatly appreciated.
Click to expand...
Click to collapse
Use flashify with the img file. Flash the boot option.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
mgbotoe said:
Will be nice if you can provide two different build. One without all the fancy things that some people wont have use for, such as overclocking, close to stock as possible but still provide stability, smoothness, and better battery life.
Some kernel makers just slap everything they can onto a kernel and in the long wrong, it is simply instable or provide hicups (that they will never own up to lol)
Click to expand...
Click to collapse
I agree with this wholeheartedly. I personally loved leanKernel on my Note 3 - all the latest fixes and improvements without 40000 things that only crazy experimenters and overclockers would use. I'd love a solid, lean, and mean daily-driver kernel.
twistedumbrella said:
https://goo.im/devs/playground/trltetmo/kernel/. So what should be included? You are welcome to cast your vote for how this kernel evolves.
Click to expand...
Click to collapse
If you could somehow throw in faux sound support that would be awesome .. I miss raising my volume just a bit for alarms...
Anyways Thanks a lot bro
siraltus said:
I agree with this wholeheartedly. I personally loved leanKernel on my Note 3 - all the latest fixes and improvements without 40000 things that only crazy experimenters and overclockers would use. I'd love a solid, lean, and mean daily-driver kernel.
Click to expand...
Click to collapse
Ironically, modifying imoseyon's kernels was how I first learned to build. I took his and added those one or two additional things I found somewhere else and wanted to use. Right now, I am working on getting intellidemand updated for this kernel, but I am only looking to get a few options that really work well so if there are better, let me know.
For the TCP congestion avoidance, it appears that enabling advanced options somehow broke selection. It appears to work just fine, but that troubles me. I don't want to force a setting for that, but if it comes down to it, I may have to limit the options.
Veno, from some documentation I've recently read, was the optimal option for mobile network performance. I believe it was reno that was best for wifi performance, but I have to go back and read up again.
I added some code for fast charge to be verified, but the layout is much different than most Samsung phones, so I won't know if it works until I attempt to blow up my phone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
-----JellyKernel-----
This is an all-in-one kernel for Jelly Bean.
Keep in mind, that this kernel is made for balanced battery life. And be advised, that phone could end up in a bootloop. Be awared of that.
DOWNLOAD SECTION IS BELOW!!!
OTG:
HTML:
Some notes:
-Stock ramdisk doesn't have appropriate lines for mounting /sys/kernel/debug, which is needed for manipulating OTG implementation on our device.
-You need to enable OTG support in the system itself. There are apps for fixing that, look up in the Play Store.
-It's still could be kind of jerky to get it to work. Feel free to ask about OTG.
Instructions for OTG support:
1. Open up your terminal and first type:
mount -t debugfs nodev /sys/kernel/debug
2. Now it's tricky:
For peripheral mode (it's default mode used when charging and etc):
Type in the terminal:
echo peripheral > /d/otg/mode
For host mode (for connecting USB devices):
echo host > /d/otg/mode
That's the current implementation atm. I'll try to do something easier later.
Features, which should be implemented later:-Gamma control (will implement that later)
-CPU VDD sysfs interface (useless)
-Higher CPU overclock (not possible yet)
Installation:
Flash this zip through CWM and you're good to go.
Please leave me THANKS if you can.
I want to say thanks to:
CrashBandicootX (for amazing kernel banner)
neutrondev (for giving me some opinions)
dazzozo (for fixing OTG)
skyinfo (for awesome commits)
DOWNLOADS:
BE AWARE, THAT DATA COULD GET CORRUPTED!!! ALWAYS MAKE NANDROID BACKUP BEFORE FLASHING MY NEWEST KERNEL BUILDS! I WON'T BE RESPONSIBLE FOR THE DAMAGE YOUR DATA GOT!!!! IT'S HIGHLY RECOMMENDED TO MAKE FULL DATA WIPE AND REFLASH SYSTEM, BECAUSE KERNEL IS ABSOLUTELY DIFFERENT FROM NOW ON!!!
Build 20150517-015 (STABLE)
HTML:
Fixed camera
Some more cpufreq driver updates
Build 20150516-012 (TESTING)
HTML:
Updated fat filesystem drivers, fixed some bugs
CPU usage dropped at idle
Heavy SLUB optimizations and fixes
Build 20150516-006
HTML:
Fixed some bugs regarding CPU access
Much better hotplug functionality (now you can leave mpdecision enabled)
CPU scaling optimizations
ext4 fix (one weird thing: after installing this kernel, startup wizard will appear - turn off wifi and go through all the procedure, otherwise you will be stuck at google login)
Fixes from LG G2 kernel
Build 20150515-001
HTML:
Tons of improvements
KGSL fixes, stability fixes, working scaling governor
Dynamic FSYNC
Made scaling drivers to work more efficiently
Lessened up chances of QDSP5 to crash in low memory situations, improved decoding
Stabilized wakeup/sleep switching
Several quirks for better interconnect between MDP and GPU
TONS of camera fixes, now it should work marginally better, provide better framerate when recording
Improved ZRAM efficiency
Introduced optimized percpu variable access, which improves performance a little bit
added optimized AES and SHA1 routines
Optimized Adreno drivers, reverted back to stock ones
AND TONS MORE OF STUFF!!!!
DOWNLOAD LINK:
https://www.mediafire.com/folder/78e7p85s3fc9p/KERNELS
Link for the source code:
GITHUB:
https://github.com/airidosas252/android_jellykernel_vee7
thanks for you work,i will definitely try this one.
This is definetly awesome news, I'd like to give a link from my rom to this kernel-can't implement it now, but I'd like to make new versions with your kernel, credits given. Great job, thank you!
Good thing I haven't posted this kernel yesterday. You would have gotten into a real mess: networking would stop working after some use of it.
It was a problem related to compilation. I've fixed it now and testing.
I will upload it to you a little bit later today. Sorry for waiting.
Sent from my LG-P710 using XDA Free mobile app
Please add swap support in next version of this kernel
Doing nandroid backup then im gonna test it,thanks. :good:
Ilyazzzz said:
Please add swap support in next version of this kernel
Click to expand...
Click to collapse
It is there.
i tested the kernel a couple of hours,maybe i made something wrong cause the phone was heating and everytime i exit an app i had redraws on the home screen,some apps just close after using them,without the warning of a FC,like testing the kernel with antutu qhen it reaches 80% the app just closes. And it made the phone slower.
When i made the backup restore i lost a few apps none of them are important,i can download them again.
I used no frills cpu with smartassH3 and vr,with the kernel in max OC and min UC values,and i did not touch the gpu frequency,because i dont know hot to do that.
So basically im not saying the kernel its bad,is that maybe i neded to use another app in order to have better perfomance
So,yes i need help or just point me into the right direction so i can search about it.
I've been using modified kernels,since xperia x10,but this its the first time i have these problems.
And thanks again for your work and effort.
As I mentioned in the thread, avoid using 500 MHz GPU clock. This is the most obvious thing, that makes phone unstable. Set it off using Trickster MOD.
Don't know, why mine is rock stable for like 3 days now (there is something wrong with deep sleep, though. I think different toolchain is responsible for such issue).
I even broke into 10000 (10420 points) mark in Antutu, so yeah... Definitely something's wrong on your phone.
With stock kernel my phone was very laggy, always redrawing no matter which launcher, stutter in almost every game (now even Hungry Shark doesn't lag anymore).
Sent from my LG-P710 using XDA Free mobile app
airidosas252 said:
As I mentioned in the thread, avoid using 500 MHz GPU clock. This is the most obvious thing, that makes phone unstable. Set it off using Trickster MOD.
Don't know, why mine is rock stable for like 3 days now (there is something wrong with deep sleep, though. I think different toolchain is responsible for such issue).
I even broke into 10000 (10420 points) mark in Antutu, so yeah... Definitely something's wrong on your phone.
With stock kernel my phone was very laggy, always redrawing no matter which launcher, stutter in almost every game (now even Hungry Shark doesn't lag anymore).
Sent from my LG-P710 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks for the response,but mate,as i mentioned ,i never touched the GPU frequencies.because i was using only no frills cpu in order to use the max oc and the min oc for the cpu.
I will check that app (trickster mod) asap, right now im at the work,also,if you can ,can you tell me your settings please?
And thanks again.
kalel29 said:
Thanks for the response,but mate,as i mentioned ,i never touched the GPU frequencies.because i was using only no frills cpu in order to use the max oc and the min oc for the cpu.
I will check that app (trickster mod) asap, right now im at the work,also,if you can ,can you tell me your settings please?
And thanks again.
Click to expand...
Click to collapse
Regarding GPU frequencies, it's the same deal as the CPU frequencies, although changing it could either improve performance or make it worse more drastically.
There's nothing so special about my settings: Using 1024 Kb of sd cache, sio i/o governor, smartassv2 cpu governor, leaving both cores online all the time (deleted mpdecision binary from /system/bin folder, because it's too poor for keeping optimal on and off switching of second CPU core). From OS side I've deleted every possible LG app (left nearly at AOSP level), disabled logcat (because I don't need such right now), using Class 10 microSD card, because it won't bottleneck the phone too much. So that's about it.
airidosas252 said:
Regarding GPU frequencies, it's the same deal as the CPU frequencies, although changing it could either improve performance or make it worse more drastically.
There's nothing so special about my settings: Using 1024 Kb of sd cache, sio i/o governor, smartassv2 cpu governor, leaving both cores online all the time (deleted mpdecision binary from /system/bin folder, because it's too poor for keeping optimal on and off switching of second CPU core). From OS side I've deleted every possible LG app (left nearly at AOSP level), disabled logcat (because I don't need such right now), using Class 10 microSD card, because it won't bottleneck the phone too much. So that's about it.
Click to expand...
Click to collapse
ok then,thanks i will try the same settings,also i have a 16gb,class 10 microsd card,and deleted all the lg apps that i dont use. :V
thanks for the reply.
Any possibility of USB OTG being implemented anytime soon?
CrashBandicootX said:
Any possibility of USB OTG being implemented anytime soon?
Click to expand...
Click to collapse
I don't know. It's in the same position as it was in Kitkat - drivers are included but it just doesn't work.
I'll try talking to other developers.
RAM
Hello! :cyclops:
Is there any form to optimize the RAM usage? Any application or something? Greenify works?
Im using v2,everything runs better,and its feels smoother,the only thing that i noticed is that i lost data in some apps,had to disable superSU,and Xposed,and open all the apps that requiere root,in order to regain access to the apps that use superSU again,and finally when im using antutu in order to see how is the perfomance it just closes when its about to finish the benchmark,always,besides that minor thing,the kernel its solid,im using no frills cpu with max freq in 1037mhz,min in 245 mhz, sioplus and smartassh3,(im not touching GPU freq),but every time i restart the phone,the values doesnt stay,y have to manually change the governor and scheduler.
Sorry dude,thanks for your effort but i think my phone doesnt like your kernel,i used trickstermod,no frills,set cpu,and the antutu one,and everytime y reboot the phone the kernel has the default settings again,min freq in 245,max freq in 1,036,and it returns also to ondemand and sio.
:/
I made a backup of my kernel,what partition do i need to restore in order to have the old kernel back?????
and again,thanks.
P.S. a friend is using same kernel in his phone,he is using stock firmware,odexed and im using a custom rom,deodexed. And its the same result in both phones.
@kalel29
To restore old kernel in CWN go to advanced restore and choose boot
sasa g said:
@kalel29
To restore old kernel in CWN go to advanced restore and choose boot
Click to expand...
Click to collapse
Yeah, now I'm encountered certain problems and I was testing backported Kitkat kernel for some time now.
That one is miles better than Jellybean's one (it is too buggy, because simply compiling breaks certain things)
Kitkat kernel, at least, puts phone to sleep state properly (now my phone stays cold throughout whole day, if I don't use it at all, while with Jelly Bean's one, it was always warm, sometimes even hot)
And yeah, sorry, who feels, that posted kernel causes some problems. It is addressed now and fixed.
I'm not an expert in C code, so some specific programming issues are unsolvable for me.
And the feedback is always welcome for me.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Welcome to Quantum, a kernel built around the idea of performance and battery life through smart optimizations. Those who have followed my work on the Galaxy S3 will know exactly what to expect. All feature requests will be considered, and all bug reports should be accompanied by a logcat and as much information as possible, this helps out everyone and gets your problem resolved as soon as humanly possible. For now this is only for Lollipop GPe, but I may branch out to Sense at some point in the future.
Downloads- GPe
1.25- 2/19/2015
v1.23- 2/11/2015
v1.15- 1/22/2015
v1.1- 1/8/2015
v1- 1/5/2015
Click to expand...
Click to collapse
Downloads- Sense
1.25- 2/19/2015
v1- 2/12/2015
Click to expand...
Click to collapse
Changelog:
1.25
Update optimization levels, spread them farther throughout the kernel
New LCD controls from savoca, use his app to adjust
Add CPU POWER driver, enhance battery life
Add native EXFAT driver for faster SD card reads using exfat FS
Fix touchscreen issues
Optimize deadline
Selinux bug fix
Hotplugging fix
Override TCP control
LZMA compression
v1.23
Intelliplug
Intelliactive
TONS of tweaks to increase overall speed and filesystem speed
Improved app-recents loading
Bit-sliced AES with NEON support
NEON accelerated block building
Hotplugging optimizations
Touchscreen power reduction
Back to stable base, rebase whole kernel on new "stable" branch
Reduce display turn on time
Disabled logging for certain features for less text dumping
NEW overclocking 268 MHz to 2.5 GHz
GPU clocking 27 Mhz to 600, included 100 clock for a further reduction of voltage needed
Simple GPU algorithm, expose to userspace configuration
Set Powersuspend to kernel mode by default, no input needed by users
Tweaked interactive for battery life
Enable KSM
Disable ZRAM
v1.15
Revert buggy code
More slimbus overclock
GPU overclock to 600 Mhz- EvolutionMod
Drop down some clocks for better battery life
Kernel mode NEON supported- faster calculations
New toolchain
All 1.1 commits rolled into a less buggy package
v1.1
HD Audio, fix HTC audio bug
New powersuspend driver, enabled by default
Removed flar2 topology and CPU power and replace with updated and specialized topology for krait
Clean up scheduler spikes
Updated to new MSM-8974 Memutils, 10-15% performance boost
GPU driver fixes for smoother perfomance
Fix issues with PE-Workqueues, expand to another queue
Fix SELinux bugs
Fully optimize with VFP4, modified 2 lines
Fix display turn-on lag
ARM updates for Cortex-A15
Tune ROW and SIO
Reduce kernel logging
Update Interactive governor
CPUfreq updates
Update LZ4 used on local PC, contains bugfix for GCC 4.9, replaced dtb img
v1
Ported features from Quantum from S3
Initial release, all features are located in main post for now
Click to expand...
Click to collapse
QuantumKernel Features
GCC 4.9.3
Multi-carrier support
User Voltage
MSM-DCVS and AVS
CPU overclock to 2.88 GHz
Switchable FSYNC
Simple GPU Governor
FRandom
FauxSound
Sweep2Sleep, D2TW- flar2
Disable magnet event
All TCP algorithms
LCD color control
Backlight dimmer options
Governors- stock for now
I/O: SIO, ZEN, SIO, 0 ms deadline, BFQ, FIOPS,
Extreme battery optimizations from Power Efficient Workqueues to ARM Topology, and numerous others
Universal screen off frequency for any governor- flar2
Increased Sound Quality through overclocking of hardware
Much, much, more...
Click to expand...
Click to collapse
Source
Thanks to-
flar2
faux123
lyapota
savoca
HolyAngel
aeppacher
imoseyon
ktoonsez
gideonx
XDA:DevDB Information
Quantum, Kernel for the HTC One (M8)
Contributors
PwnCakes193
Source Code: http://github.com/tommytarts/quantumkernelm8
Kernel Special Features:
Version Information
Status: Stable
Created 2015-01-05
Last Updated 2015-01-05
saving for future use
And again for possible branching in the future
RSVP
Thank for bringing your Dev to us and the hard work..
Edit: Was about to install CM12 and saw this. Looks like it will blend well with each other.
Edit: postpone I see it's only for the GPe variant. I'm not s-off. Smh
info[]box1 said:
RSVP
Thank for bringing your Dev to us and the hard work..
Click to expand...
Click to collapse
I see you used a BlackBerry Bold, which hybrids did you use?
Works on verizon, if anyone is wondering.
PwnCakes193 said:
I see you used a BlackBerry Bold, which hybrids did you use?
Click to expand...
Click to collapse
Can't drop a name at the moment. But over at bbhyrids and one of the main maintainer and hybrids cookers. He was making some nexus roms while back.
Edit: irtehun I believe
Pwncakes, you look vaguely familiar...were you using LG OpT, HTC I4G, SG Note, or LG OpG ? I've seen your name before
Didn't mean to clog your thread w/ useless nonsense, but was entirely to lazy to message you (anyways thank you for the contribution) Anything in the kernel that would make it incompatible w/ 4.4 roms ?
Pwn! I ran your stuff exclusively on my s3. Great to have you here!
Has anyone used this kernel yet?
PWN!! I'm so stoked to try this baby out! Will report back asap
jxcorex28 said:
Pwncakes, you look vaguely familiar...were you using LG OpT, HTC I4G, SG Note, or LG OpG ? I've seen your name before
Didn't mean to clog your thread w/ useless nonsense, but was entirely to lazy to message you (anyways thank you for the contribution) Anything in the kernel that would make it incompatible w/ 4.4 roms ?
Click to expand...
Click to collapse
None of those, only the S3! and if Lollipop kernels work on 4.4.4 then this should as well.
Bobbi lim said:
Has anyone used this kernel yet?
Click to expand...
Click to collapse
Only a few are using it, but I have been using v1 since Christmas and I've had 0 issues so far, no reboots or anything of that nature.
shiniyoyo said:
PWN!! I'm so stoked to try this baby out! Will report back asap
Click to expand...
Click to collapse
Great to see the old gang from the S3 moving over here, I still have more goodies left for everyone, I will release my interactive tunables later today. With these tunables I get around 4 hours SoT over a 2 day period, or around 10 in a 24 hour period.
info[]box1 said:
RSVP
Thank for bringing your Dev to us and the hard work..
Edit: Was about to install CM12 and saw this. Looks like it will blend well with each other.
Edit: postpone I see it's only for the GPe variant. I'm not s-off. Smh
Click to expand...
Click to collapse
If your s-off can u flash it on aosp?
JazzieBoi said:
If your s-off can u flash it on aosp?
Click to expand...
Click to collapse
The kernel will play nicely with anything as long as it's a GPe base. So Skydragon and others are compatible... this won't work on Sense ROMs and CM-based CAF ROMs yet.
downloading and flashing now. will report back later. thank you @PwnCakes193 for work and time. currently on spirit ROM , unlocked , superCID , s-off , latest FW , superSU v2.40.
nope. spirit must be cm based though OP doesnt mention. have to find another ROM.
i NEED my rabbits !!!!!!!!!!!!
"all i can really do , is stay out of my own way and let the will of heaven be done"
PwnCakes193 - nice to see you here - I've used your Quantum ROM on my S3 ( ages ago )
Sent from my HTC One_M8 using XDA Free mobile app
Thanks
Thanks so much! What app do you use to control the kernel?
Kernel working great! only bug Ive noticed is slide to sleep and slide to wake isnt working even when selected in TricksterMod.
mauserruger said:
Thanks so much! What app do you use to control the kernel?
Click to expand...
Click to collapse
trickstermod is gooood.
"all i can really do , is stay out of my own way and let the will of heaven be done"
PashaF said:
PwnCakes193 - nice to see you here - I've used your Quantum ROM on my S3 ( ages ago )
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
Awesome to see familiar faces. Hope to see you around the thread more often as well! Let me know about anything you'd like to see in the kernel.
mauserruger said:
Thanks so much! What app do you use to control the kernel?
Click to expand...
Click to collapse
Trickstermod and initd tweaking. Looking into faux clock soon.
shortyboy said:
Kernel working great! only bug Ive noticed is slide to sleep and slide to wake isnt working even when selected in TricksterMod.
Click to expand...
Click to collapse
Change it via initd, Trickstermod is wonky with it for some reason. Sorry for the inconvenience!