Hello everyone,
While rmbq's has gone on to focus on AOSP 4.4, I have decided to modify his kernel sources for 4.3 and add a bunch of features I really like. I also pulled fixes, etc from other similar kernels or sources. I will keep this kernel going untill there is a stable build for 4.4 Cyanogen.
For more info on rmbq's kernel go here: http://forum.xda-developers.com/showthread.php?t=2134535
I am posting this kernel with RMBQ's permission too.
My github: https://github.com/AKToronto/Canuck Goto exp3 branch for this kernel
New Features to highlight:
Some added stability (I think)
I added and enabled the most recent version of ShowP's MPDecision (which ShowP updated on Dec 4) and ThermalD control
I enabled s2w, dt2w, bln, etc to be tunable in KControl or TricksterMod
Fixed all Linaro O3 compiling issues, so now the kernel is compiled with RMBQ's latest Linaro GCC 4.8.3 2013.12 cortex-a15 toolchain WITH O3 Flags
Added the ability to tune GPU in KControl
QUESTION: Should I use KControl or TricksterMod to tune this kernel?
The short answer is that neither app has everything that you can tune with this kernel.
KControl allows you to set CPU frequencies separately as well as governors for individual cpus. You may also find it easier to tune MPDecision and ThermalD with the settings there. You can also check out some advanced GPU optimizations only available in KControl, and this includes setting OC for 3D AND 2D GPU as well as other advanced optimizations that are not available on Trickster.
However, with TricksterMod, you can enable or disable zRAM, BLN, GPU Governor (try setting it to "Simple"), and "Force Fastcharge" (which you cannot do in KControl).
I currently have both apps installed, but I let TricksterMod be the one that starts up on Boot.
USE THIS KERNEL AT YOUR OWN RISK! IF YOU DO NOT KNOW WHAT YOU ARE DOING, BACK OFF!
DOWNLOAD LATEST VERSION HERE: http://www.androidfilehost.com/?a=show&w=files&flid=11326
Install instructions:
1. Flash the file above in recovery and make sure you are S-OFF.
Thanks to: rmbq, ShowP1984, Zarboz, jrior001, faux123,
CHANGELOG:
January 23, 2014:
-Reverted a few early commits that were causing some slight instability when screen was off for a while. If you still have issues, try disabling "Single Core Screen Off" in MPDecision.
-Also added L2 cache boost
January 21, 2014:
-Update to 3.4.72 Linux supported by CM10.2
-Dynamic Fsync update
-patches for filesystem, mutex and memory allocators
January 20, 2014:
-GPU OC Added
-Minor fastcharge fix
-Added script to automatically rename mpdecision to mpdecision_backup to avoid conflict with kernel mpdecision
January 19, 2014:
-Initial build with features described in OP
-GPU OC is disabled for the moment
OTHER INFO
My Current Voltage Table (could likely be tuned lower, but be careful with unicorns):
1728mhz: 1250000 mV
1674mhz: 1200000 mV
1512mhz: 1150000 mV
1458mhz: 1150000 mV
1404mhz: 1150000 mV
1350mhz: 1150000 mV
1296mhz: 1150000 mV
1242mhz: 1150000 mV
1188mhz: 1137500 mV
1134mhz: 1125000 mV
1080mhz: 1100000 mV
1026mhz: 1087500 mV
972mhz: 1075000 mV
918mhz: 1062500 mV
864mhz: 1050000 mV
810mhz: 1037500 mV
756mhz: 1025000 mV
702mhz: 987500 mV
648mhz: 975000 mV
594mhz: 962500 mV
540mhz: 950000 mV
486mhz: 900000 mV
432mhz: 900000 mV
384mhz: 900000 mV
awesome! im happy to see another 4.3 kernel to try out. i run pac-rom and the kernel that comes with it seems to work fine but i -need- the tap to wake feature i just love it! the only problem is i seem to get random reboots while playing games. with both bubba and badass kernel, so im hoping those will go away once i try yours. thanks again!
gnome9er said:
awesome! im happy to see another 4.3 kernel to try out. i run pac-rom and the kernel that comes with it seems to work fine but i -need- the tap to wake feature i just love it! the only problem is i seem to get random reboots while playing games. with both bubba and badass kernel, so im hoping those will go away once i try yours. thanks again!
Click to expand...
Click to collapse
Give it a go. I only have one minor issue so far. It seems that if the phone is off for a while when I try to turn it on, it seems to reset. Only happens once in a while, and I have some ideas to try to make things even more stable. Will keep you up to date.
Sent from my One S using Tapatalk
AKToronto said:
Give it a go. I only have one minor issue so far. It seems that if the phone is off for a while when I try to turn it on, it seems to reset. Only happens once in a while, and I have some ideas to try to make things even more stable. Will keep you up to date.
Sent from my One S using Tapatalk
Click to expand...
Click to collapse
New version with some memory allocation patches, etc. are up as well as update to latest linux supported by CM10.2
Is there any way to flash it if I'm s-on???
Should I have to use the tool of rmbq to create the boot.Img???
Sent with HTC ONE S
dave il barbaro said:
Is there any way to flash it if I'm s-on???
Should I have to use the tool of rmbq to create the boot.Img???
Sent with HTC ONE S
Click to expand...
Click to collapse
Yes you should be able to use that tool of his to get a proper boot.img that you can flash. You may also want to read up on TWRPs HTC Dumlock feature. Google it.
Sent from my One S using Tapatalk
AKToronto said:
New version with some memory allocation patches, etc. are up as well as update to latest linux supported by CM10.2
Click to expand...
Click to collapse
New version seems very stable today and excellent on battery life. Plus let me know if you encounter any bugs etc. Also feel free to send me requests on anything else you want to see in this kernel.
Sent from my One S using Tapatalk
Should we use the kernel cleaning script before installing this?
Sent from my One S using Tapatalk
hi AKToronto! just flashed IronBorn kernel,thanks for your work. I'm on Odyssey 3.30RC / 2.15 hboot / 2.3.3.0 TWRP / s-off, and same as Bubba kernel, after boot animation, I always stuck on a half black half coloured screen without the possibility of doing anything but reboot using long press on power button. Before flashing IronBorn,I've used kernel cleaning script. I've done something wrong?
abracadabra11 said:
Should we use the kernel cleaning script before installing this?
Sent from my One S using Tapatalk
Click to expand...
Click to collapse
You can if you like, or you can flash over an existing rmbq kernel. The cleaner helps ensure there are no init.d conflicts too I think, which is good (but its possible to check that manually too).
Also remember if you want to go back to stock, you have to rename the mpdecision and thermald backup files in /system/bin/ to their original names.
qayba said:
hi AKToronto! just flashed IronBorn kernel,thanks for your work. I'm on Odyssey 3.30RC / 2.15 hboot / 2.3.3.0 TWRP / s-off, and same as Bubba kernel, after boot animation, I always stuck on a half black half coloured screen without the possibility of doing anything but reboot using long press on power button. Before flashing IronBorn,I've used kernel cleaning script. I've done something wrong?
Click to expand...
Click to collapse
Hmmm... do you know if Odyssey 3.30RC is synced with the latest "stable" CM10.2, or was it based on an earlier release candidate? Similarly, would you know what linux version is supported? Sounds to me like with "RC" that its just based on a release candidate version of CM and not the latest... This kernel is on 3.4.72 linux, and that would need to be supported by the rom... I think anything that works off of the stable Cm10.2 base should run...
Correct me if im wrong...
AKToronto said:
Hmmm... do you know if Odyssey 3.30RC is synced with the latest "stable" CM10.2, or was it based on an earlier release candidate? Similarly, would you know what linux version is supported? Sounds to me like with "RC" that its just based on a release candidate version of CM and not the latest... This kernel is on 3.4.72 linux, and that would need to be supported by the rom... I think anything that works off of the stable Cm10.2 base should run...
Correct me if im wrong...
Click to expand...
Click to collapse
So I've read the Odyssey's changelog...It would be based on 4.3 r3.1 latest sources...With Selinux file system...In bubba's changelog the support for Android 4.3 ended with 3.4.70 kernel, wich is working on Odyssey till a couple releases before the 3.30...So the latest Odyssey release isn't working with bubba, instead the older yes...can't figure out why at this point
qayba said:
So I've read the Odyssey's changelog...It would be based on 4.3 r3.1 latest sources...With Selinux file system...In bubba's changelog the support for Android 4.3 ended with 3.4.70 kernel, wich is working on Odyssey till a couple releases before the 3.30...So the latest Odyssey release isn't working with bubba, instead the older yes...can't figure out why at this point
Click to expand...
Click to collapse
the problem isn't the kernel version, last cm 10.2 will work fine with 3.4.77 based kernel and newer.
the problem are all other changes, new gpu driver (maybe) and other stuff. odyssey is too old and doesn't support last cm10.2 kernel, the ROM must evolve with the kernel
rmbq said:
the problem isn't the kernel version, last cm 10.2 will work fine with 3.4.77 based kernel and newer.
the problem are all other changes, new gpu driver (maybe) and other stuff. odyssey is too old and doesn't support last cm10.2 kernel, the ROM must evolve with the kernel
Click to expand...
Click to collapse
Ok, that's the point! Thanks for your clear explanation :thumbup:
I can't activate BLN with trickstermod
anyway, is there any possibility to active it through build.prop?
Sent with HTC ONE S
dave il barbaro said:
I can't activate BLN with trickstermod
anyway, is there any possibility to active it through build.prop?
Sent with HTC ONE S
Click to expand...
Click to collapse
It would be with an init.d script. But in any event, try my newer kernel, at http://forum.xda-developers.com/showthread.php?t=2638005
It should work with 4.3 version of Cyanogenmod (CM10.2). Its a bit more stable too.
BUT make a backup first! And BLN should stick with the aroma installer.
AKToronto said:
It would be with an init.d script. But in any event, try my newer kernel, at http://forum.xda-developers.com/showthread.php?t=2638005
It should work with 4.3 version of Cyanogenmod (CM10.2). Its a bit more stable too.
BUT make a backup first! And BLN should stick with the aroma installer.
Click to expand...
Click to collapse
With your new version wifi is broken on cm 10.2
Sent with HTC ONE S
dave il barbaro said:
With your new version wifi is broken on cm 10.2
Sent with HTC ONE S
Click to expand...
Click to collapse
Also I noticed there was still a reboot when this kernel was left idling for a while... I will post some fixes that should help though I don't know if it will help your bln issue. Bln should be enabled by default.
Sent from my One S using Tapatalk
Related
Reaper, Hyperion, and Endymion Kernels
As more people are using my kernels in their own ROMs, I'm creating this thread to keep an updated version of both kernels available for everyone.
As their names imply, these kernels are first tested extensively on my own ROMs with the same name, but I can't off course guarantee the same level of performance on other ROMs.
All kernels have all features tested and working on the desire S, namely front facing camera and stereo video recording.All kernels allow overclocking up to around 1.5GHz. This is deliberately lower than other kernels, as I won't be responsible for freezing leading to battery pull leading to 350€ beautiful bricks.
Reaper kernel as been known to work on Reaper ROM (of course ), MIUI, and CM7 derivatives.
Reaper AOSP kernel - Current version V1.3
Changelog from regular CM7 kernel:
- Forked and tweaked from latest CM7 source
- Deadline IO scheduler
- BFS task scheduler
- Added smartass cpufreq governor
- Added SavagedZen cpufreq governor
- Added Scary cpufreq governor
- Added Reaper cpufreq governor (modified smartassv2)
- Changed frequency/voltage tables to match Tiamat V1.1.5, but limited max frequency to 1.5GHz (all thanks to Canyarb)
- Exposed sysfs vdd interface: allows under/overvolt
- Frequency limits: min=184MHz, max=1516MHz
- Added SIO IO Scheduler
- Added VR IO Scheduler
- Added SmartassV2 CPU Governor
Download: http://desworks.de/android/reaper/kernel-reaper-V1.3-bfs.zip
Hyperion Sense 3.0 kernel - Current version V2.0
Changelog from V1.2:
- Back to CFS, I'm trying to merge both Endymion and Hyperion kernels
- No default undervolting. People with stable devices under Hyperion previous releases may safely apply 50mV undervolt with OC/UV beater. This way is safer for everyone.
- Some gpu tweaks
- kernel-level support for ext2 and ext3. Together with already included loop device support, should help those people trying to run ubuntu under Hyperion.
Download: http://www.multiupload.com/KSA2LZ9PXM
MD5SUM: b7cad334a2d6d3cba9851a91d748fba3
Endymion Sense 3.5 kernel - Current version V2.1
http://hulkshare.com/nxdnhbup95x7
MD5SUM: 50bb716190233275e804364629b3be86
Changelog from V2.0:
added Reaper governor, a modified smartassV2. Choose for performance.
Changelog from V1.1:
- Removed default UV: should be rock stable for everyone
- Added some gpu tweaks
Download:http://www.multiupload.com/B7QYZJXF04
MD5SUM:475ba597aa924089108435b113009401
Feel free to include the kernels in your own roms, but I put a lot of time and work on them. So if you do include them, a simple thanks and a link to the original roms they were released in would be very nice of you.
And of course, if you want to check the full potential of the kernels, give the Hyperion, Endymion and Reaper ROMs a go!
Enjoy
Thanks lowveld..
It will be helpful for all
NiruBhai said:
Thanks lowveld..
It will be helpful for all
Click to expand...
Click to collapse
good work man,
i'll use them.
thank you
Well now thread created..
no need to roam here-there, updates can be found here..
thanks
Wrong subject
skymoon_891_ said:
Wrong subject
Click to expand...
Click to collapse
wtf?
good job man!keep them up!
After flash boots till white htc screen, restars 2 times and boots in recovery. Tried to turn it off and on 3 times, same result.
Pre-rooted official rom. New hboot.
Sent from my HTC Desire S using XDA App
fallos said:
After flash boots till white htc screen, restars 2 times and boots in recovery. Tried to turn it off and on 3 times, same result.
Pre-rooted official rom. New hboot.
Sent from my HTC Desire S using XDA App
Click to expand...
Click to collapse
Please confirm you flashed the Hyperion kernel. This could be an issue with the new Hboot, as I personally don't use it so never tested it.
I know now there's a separate lib partition, so it could be a question of me not mounting it on the ramdisk.
Cheers
lowveld said:
Please confirm you flashed the Hyperion kernel. This could be an issue with the new Hboot, as I personally don't use it so never tested it.
I know now there's a separate lib partition, so it could be a question of me not mounting it on the ramdisk.
Cheers
Click to expand...
Click to collapse
Hyperion kernel used.
And Im using Revolutionary s-OFF and new Hboot for RevX 7.00.2002 downloaded from 4pda.ru.
Hboot (rename to PG88IMG.zip)
http://www.multiupload.com/TJAL6MNC1Z
Please try this:
View attachment kernel-hyperion-v1.2-new-hboot.zip
Cheers
fallos said:
Hyperion kernel used.
And Im using Revolutionary s-OFF and new Hboot for RevX 7.00.2002 downloaded from 4pda.ru.
Hboot (rename to PG88IMG.zip)
http://www.multiupload.com/TJAL6MNC1Z
Click to expand...
Click to collapse
lowveld said:
Please try this:
View attachment 764039
Cheers
Click to expand...
Click to collapse
Working! will play with that , and write back if any bugs.
Thanks!
Edit: Wifi error.
fallos said:
Working! will play with that , and write back if any bugs.
Thanks!
Edit: Wifi error.
Click to expand...
Click to collapse
That is most probably rom related. I assume you know how to use adb, so:
>adb remount
>adb shell
#ln -s /proc/calibration /system/etc/calibration
#exit
>adb reboot
lowveld said:
That is most probably rom related. I assume you know how to use adb, so:
>adb remount
>adb shell
#ln -s /proc/calibration /system/etc/calibration
#exit
>adb reboot
Click to expand...
Click to collapse
Thanks! wil try it tomorrow morning and write back.
lowveld said:
That is most probably rom related. I assume you know how to use adb, so:
>adb remount
>adb shell
#ln -s /proc/calibration /system/etc/calibration
#exit
>adb reboot
Click to expand...
Click to collapse
This is not work, still wi-fi error
kozopulo said:
This is not work, still wi-fi error
Click to expand...
Click to collapse
I got the problem, and know how to fix it. Don't have time now, I'll update this later.
Cheers
-- edit --
Try this:
View attachment kernel-hyperion-v1.2-new-hboot_rev1.zip
Note that I do not have (nor plan to have) the new hboot installed, so I can't try it myself, so little patience is needed on your side.
For those interested in knowing what was needed up to now to port the kernel to the new hboot:
- edit init.saga.rc to mount the new lib partition
- edit the install script to also mount the lib partition, or it wont flash the modules, leading to the "wifi error"
Cheers
Rev.1 still wifi error.
Thanks for trying!
fallos said:
Rev.1 still wifi error.
Thanks for trying!
Click to expand...
Click to collapse
Well, just to make sure it's not the updater script fault, can you drop the modules in the zip installer directly into /system/lib/modules on your phone and see if it works? You can use Root Explorer or something like that.
Still error
Sent from my HTC Desire S using XDA App
lowveld, does your hyperion kernal 1.2 works in Virtuous Unity ROM? Will your kernal fix the reboot problem by increasing the UV? Please help, thanks....
nodeffect said:
lowveld, does your hyperion kernal 1.2 works in Virtuous Unity ROM? Will your kernal fix the reboot problem by increasing the UV? Please help, thanks....
Click to expand...
Click to collapse
Haven't tried it, so I can't answer for sure. But from what I heard, the random reboots came with the V10 kernel, so It's a fair chance that these will work fine.
If you're talking about the Unity 3.5 beta, use the endymion kernel. For the old 2.39 use Hyperion.
Cheers
Sent from my HTC Desire S using xda premium
Fusion Ultimate Kernel for all JellyBean 4.2 AOSP-based ROMs (AOKP, CM10, etc.)
Latest Version: v4.1 (2/2/13)
Disclaimer:
Code:
#include
/*
* 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.
* 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. :P
* blah blah blah you get the point.
*/
**This kernel is now obsolete. I do not own a One S, and this blind development has dragged on too long without going anywhere. If I ever get enough money to buy a One S, I will no longer be working on or supporting these kernels. Source is, as always, available on my Github so if anyone has the time and skill and the device they can fork my project and fix it up. Thanks for all the support everyone. See ya around~ **
This kernel is from intervigil and xkonni's CM10 kernel sources. I have modified it and added many features from my Sense-based kernel. Because the interest for CM9 is low due to CM10, I have decided work on a custom CM10 kernel. This is compatible with all AOSP-based JellyBean ROMs.
Click to expand...
Click to collapse
Post #1: Release, Features, and Downloads
Post #2: Changelog
Post #3: How to compile from source
Post #4: Frequently Asked Questions
Features
For AOSP Jellybean 4.2 version (FusionUlt-AOSP-MR1):
versions 4.1 and up
compiled with latest CM10.1 kernel sources
added SIO scheduler
increased readahead buffer to 1024 (faster media scanning)
compiled with Google's arm-eabi 4.4.3 toolchain
Click to expand...
Click to collapse
For AOSP Jellybean 4.1 version (FusionUlt-AOSP):
versions 1.0 to 4.0
[*]Linux 3.0.53
[*]synced with latest CM10 sources
[*]CPU frequency control from 192Mhz to 1.89Ghz
[*]voltage control (use System Tuner Lite/Pro)
[*]SmartassV2, Interactive, Conservative, LagFree, Lionheart, BrazilianWax, InteractiveX, Intellidemand, SavagedZen, and Smartass (V1) CPU governors added
[*]Simple IO (SIO) and V(R) scheduler added
[*]capacitive LED lights dimmed to 2mA
[*]lowmemorykiller and OOM fixes
[*]enabled zRam (see FAQ for a detailed explanation of what it does)
[*]disabled fsync
[*]optimized and tweaked
[*]Sweep2Wake
[*]compiled with Linaro 4.7 toolchain
[*]XZ kernel compression
[*]overall good battery life and performance
[*]much more; check the changlog or my GitHub if you want to know the specifics
Click to expand...
Click to collapse
Downloads
Flash the zip in recovery.
All Downloads are HERE
Versions 1.0 through 4.0 are for AOSP Jellybean 4.1. Versions 4.1 and up are for AOSP Jellybean 4.2.
How to Install
For hboot 1.09 and below:
Just flash the zip in TWRP recovery. It will automatically flash the boot.img for you.
For hboot 1.13 and up:
you have two options
Option #1
Use TWRP's HTC Dumlock feature. It is a pretty neat workaround that allows you to flash boot.imgs in recovery even on a higher hboot.
Look here for instructions from TeamWin. After flash the zip package then wipe cache/dalvik cache before rebooting. If you are not comfortable with this method, then follow option #2 to manually flash in fastboot.
Option #2
In addition to flashing the zip, you will have to extract the boot.img from the package and flash it manually with fastboot. Blame HTC for the half-assed 'unlock bootloader' offering they give us. Hopefully we will get S-OFF soon...
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot reboot
Look here for a guide.
Sources
My Github
Special Thanks
intervigilium
xkonni
Zarboz
showp1984
if I forgot you...please let me know
Enjoy
Changelog
v1.0 (Initial Release 8/16/12)
re-wrote overclock code
completely re-based on the TMOUS source
init.d scripts support with Busybox run-parts
overclocked up to 1.89Ghz
added 192Mhz step
added SmartassV2 CPU governor (still finicky; needs more testing)
enabled Conservative and Interactive CPU governors
added SIO scheduler and enabled as default
increased readahead buffer
various tweaks for UI responsiveness
stable
v1.0
cleaned up CPU code (all frequency issues should be gone by now; check github for full details)
added LionHeart CPU governor
added LagFree CPU governor
reduced capacitive LED brightness to 2mA (looks better)
tuned Interactive CPU governor parameters
many optimizations; check github for more details if you want
v1.0
added voltage control capabilities (use SetCPU or similar app to UV)
cleaned up CPU code again to try to get frequencies to stick
v1.0
added V(R) IO scheduler
change to a zip package
modified init.qcom.post_boot.sh and thermald.conf
added modules in the zip so it shouldn't break WiFi on EU ROMs anymore
allowed undervolting minimum of 400mV
tweaked minfree and ADJ values for multitasking and performance; the used values were from the V6 OOM Calculator
Conservative CPU governor as default for battery life (use an app to change it if you want)
defaulted CPU frequencies to 192Mhz 1.5Ghz on boot
v1.0
enabled zRam
adjusted VM ratios
added NEON and Snapdragon optimizations
v1.0
fixed SmartassV2 for performance and battery life
available with overclock or stock CPU clock
enhanced compatibility with many ROMs
cleaned up post_boot script and many parameters now handled @ kernel
fixed CPU reverting to min 384Mhz
overall much, much cleaner implementation and settings will stay
v1.0
a universal package
disabled fsync() for I/O improvement
optimized Ondemand CPU governor settings
v2.0 (9/5/12)
added BrazilianWax, Intellidemand, SmartassV1, InteractiveX, and SavagedZen CPU governors
use XZ kernel compression instead of GZIP
enabled AC charging mode for unknown chargers
tweaked deadline iosched values for better performance
OOM: fix potential killing of thread that is disabled
sched_fair: Improve the -> group_imb logic
Lowmemorykiller fixes
v2.1 (9/28/12)
enabled zRAM (a bug was disabling it before)
adjusted PMEM configuration, so now kernel has 728MB allocated memory
v3.0 (11/29/12)
Linux 3.0.52
completely rebased to latest CM10 sources
removed some unstable features
used GZIP compression
single kernel binary - overclocked by default
focused on stability
v3.1 (11/30/12)
Linux 3.0.53
merged in latest CM10 kernel changes
latest CM10 ramdisk
added NEON and Snapdragon optimizations
added SIO scheduler
v3.2 (12/16/12)
added overclocking up to 2.1Ghz
disabled fsync
fixed a bug in voltage table code
v4.0 (1/2/13)
fixed booting
overclocking up to 2.1Ghz
added sweep2wake
compiled with Linaro 4.7 toolchain
XZ kernel compression
many fixes and other things
v4.1 (2/2/13)
restarted from scratch with Jellybean 4.2 kernel sources
added SIO scheduler
increased readahead buffer to 1024
compiled with Google's 4.4.3 arm-eabi toolchain
This is a WIP, more features will be coming VERY SOON.
Click to expand...
Click to collapse
How to build from source
How to build this kernel from source:
This is assuming you already have your Linux environment setup and installed the required packages for compiling a kernel.
1. Clone my kernel sources.
Code:
git clone git://github.com/klin1344/android_kernel_htc_msm8960.git
2. Compress your ramdisk into a gzipped archive.
Code:
find . | cpio -o -H newc | gzip > ../ramdisk.gz
3. Grab the toolchain from DoomLord's handy repo:
Code:
git clone git://github.com/DooMLoRD/android_prebuilt_toolchains.git toolchains
4. I have created an easy build script. Modify the top four lines to be applicable to your setup. Make sure CROSS_COMPILE is set to the directory of the toolchain we just downloaded earlier (there are two; not the Linaro one). And change INITRAMFS_DIR to the directory of the ramdisk.gz you created earlier.
5. Build. First navigate to the android_kernel_htc_msm8960 directory.
Code:
./build.sh ville_defconfig
for the stock option or
Code:
./build.sh ville_oc_defconfig
if you want overclocked option.
The script will detect the number of cores of your CPU and automatically make with the optimal -j#.
6. If all goes well you should end up with a boot.img in the android_kernel_htc_msm8960 directory.
FAQ.... Please read this before posting questions!!!
FAQ
Frequently asked questions. Please read all of this first, and then if it doesn't answer your question, feel free to ask in the thread. I just don't want to have to keep answering Is this kernel SENSE based? or How do I jailbreak my HTC One S??? type of questions. Lol. :silly: Thank you.
Click to expand...
Click to collapse
What ROMs is this kernel compatible with?
As stated in the OP, this kernel is compatible with all S4 devices running CM10. It is NOT compatible with Sense based ROMs. If that's what you're looking for then I have another Fusion Kernel Sense based.
What is the best governor for me to use?
It really depends on what you're looking for. If you want performance, go with Lionheart or Ondemand. If you want battery life, go with Conservative. And if you are looking for a balance between battery life and performance, then use either SmartassV2, Interactive, or LagFree. These are just my opinions. Look here for a great reference of all the CPU governors. Test them out and decide which works best for you.
Which I/O scheduler is the best?
I personally use SIO, but you can test and decide which is the best for you. Read here to find the pros and cons of each one.
How do I overclock?
The kernel should default at 192Mhz 1.5Ghz CPU clocks. To change CPU speeds, just use "Performance Settings" in the Settings. It is a handy feature that is integrated into Cyanogenmod.
How do I undervolt?
Right now, the only app that works for voltage control is System Tuner. Both the Lite and Pro versions allow you to change the voltages. Do not use SetCPU or other apps as they doesn't work.
Here is the voltage table I am currently using:
Code:
1890mhz: 1250 mV
1809mhz: 1225 mV
1728mhz: 1200 mV
1674mhz: 1175 mV
1512mhz: 1150 mV
1458mhz: 1137 mV
1404mhz: 1125 mV
1350mhz: 1125 mV
1296mhz: 1100 mV
1242mhz: 1100 mV
1188mhz: 1075 mV
1134mhz: 1075 mV
1080mhz: 1025 mV
1026mhz: 1000 mV
972mhz: 1000 mV
918mhz: 975 mV
864mhz: 975 mV
810mhz: 950 mV
756mhz: 950 mV
702mhz: 900 mV
648mhz: 900 mV
594mhz: 875 mV
540mhz: 850 mV
486mhz: 800 mV
384mhz: 725 mV
192mhz: 650 mV
Please just take these as a grain of salt; not all chips are created equal! Some devices can become an ass when it comes to undervolting, while others can starve the CPU to death and still run fine. Experiment little by little until you find your perfect voltages.
What is zRam and how does it work?
Originally Posted by faux123
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.
Click to expand...
Click to collapse
Wait....is this...is this what I think it is? Flashing this right now!
itsmikeramsay said:
Wait....is this...is this what I think it is? Flashing this right now!
Click to expand...
Click to collapse
Yup. A custom kernel for cm10. I flashed cm10 2 days ago and fell in love with it, but the only thing that was missing was a custom kernel
Sent from my HTC One S using Tapatalk 2
klin1344 said:
Yup. A custom kernel for cm10. I flashed cm10 2 days ago and fell in love with it, but the only thing that was missing was a custom kernel
Sent from my HTC One S using Tapatalk 2
Click to expand...
Click to collapse
Couldn't agree more bro. This kernel matches it perfectly. Already set up and good to go.
Thanks for the kernel. I'll use it in a day or two when I finally get around to flashing CM10
Sent from my HTC One S using Xparent Blue Tapatalk 2
AWESOME! Thanks, already got it running on my phone.
Flashed the over clocked kernel in TWRP, phone froze at lock screen on first boot. Rebooted and seemed good to go then froze again with in minutes.
Sent from my HTC One S using xda premium
Cap3737 said:
Flashed the over clocked kernel in TWRP, phone froze at lock screen on first boot. Rebooted and seemed good to go then froze again with in minutes.
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
Could you get a logcat? I haven't really tested the over clock version thoroughly because I have been using the stock version.
Sent from my HTC One S using Tapatalk 2
klin1344 said:
Could you get a logcat? I haven't really tested the over clock version thoroughly because I have been using the stock version.
Sent from my HTC One S using Tapatalk 2
Click to expand...
Click to collapse
please forgive my ignorance here but after i flash the zip in twrp and cm10 boots, it either freezes instantly at lockscreen or barely gives me enough time to bring up power menu to reboot into recovery. if you can tell me how to make a logcat outside of being in the rom itself i'd be happy to. i'm more of the wait till theres a flashable zip kinda guy so if i need to use adb to logcat you'll have to tell me what to do here.
Flashed the overclock kernel and set 1512 as max frequency with smartassv2 governor all is working great! Hope battery life will be good
klin1344 said:
Yup. A custom kernel for cm10. I flashed cm10 2 days ago and fell in love with it, but the only thing that was missing was a custom kernel
Click to expand...
Click to collapse
I don't want to change to CM10 from CM9 because it is very unfinished in my mind but with a working custom kernel I can't wait to test it
DNS007 said:
I don't want to change to CM10 from CM9 because it is very unfinished in my mind but with a working custom kernel I can't wait to test it
Click to expand...
Click to collapse
Cm10 is actually better and more polished than cm9 in my opinion.
Sent from my HTC One S using Tapatalk 2
Thanks klin1344,
working fine with my Build.
Any feedbacks about smoothness/performance and batterylife with this build and latest CM10 ?
Some screenshots/benchmarks/uptime ?
I tried with CM9 few weeks ago but the SmartAss governor was a bit buggy (staying at higher freq. for a while!), I went back to onDemand - and the freq. table was not sticked after reboots and/or randomly goes back to 384-1890 (I wanted 192-1134 with a bit undervolt ) - Some of these problems seems to be fixed now, but I wanted to know if some CM10 user(s) with that Kernel can feedback about the overall "stability" and daily use.
I love the StockStyle, but really wanna "optimize" batterylife and user experience with my phone
(I'll find some replacements for the Stock apps/widgets... Or if someone's got a shortlist of weather/notes/state-switchers widgets )
klin1344 said:
Cm10 is actually better and more polished than cm9 in my opinion.
Click to expand...
Click to collapse
I test it with cm9: WiFi works, ICQ and G-Talk --> FC, unmounted SD-card (doesn't exist in FileExplorer), other apps seems to be working fine, very snappy =)
Now I'm testing with cm10...
Download link will not work on my PC
Edit: working now
On cm10, super snappy! I use UV with -50mV for the beginning. So far I coudn't find big bugs. Nice work! Now I'm testing batterylife (with SmartAssV2) and later grater UV.
Introduction
This is a replacement kernel for CyanogenMod 10 and 10.1 evita builds. The kernel is designed to be as close as possible to the stock CyanogenMod kernel with a few improvements.
Linaro toolchain:
The kernel is compiled with the latest Linaro toolchain based on gcc 4.7 rather than the default Android toolchain. This may provide performance improvements in some situations. I have made a few patches applied to make it compatible with gcc 4.7.
Overclock:
The highest frequency now available under Settings -> Performance with these kernels is,
Code:
CPU: 1782 MHz 1.25 V
L2: 1350 MHz 1.15 V
BUS: 532 MHz
I've also included a modified thermald.conf in the flashable zip.
Refresh rate:
I've reverted the refresh rate to the original value from the sense source code (57 Hz). This works better when "Disable HW overlays" is selected.
Downloading and installing
Download the flashable zip,
cm10.1_vz-oc-linaro.4.zip MD5=7233ccffa17fa16a2dc6292ecf755fb4
mega.co.nz
ubuntuone.com
Older versions:
cm10.1_vz-oc-linaro.3.zip MD5=5e0efdfd0390f3f923090a574d142808
mega.co.nz
ubuntuone.com
cm10.1_vz-oc.2.zip MD5=cf2c4ee8ba09627e598b78dcea225d39
cm10.1_vz-oc-linaro.2.zip MD5=2931cc59515949fa461a89ea17c99328
vz-oc.1.zip MD5=2f1740d67cd1d5c02a7ac5489bafe7a0
vz-oc.2.zip MD5=4e4d444130e8eb71c27cc23fed65fc88
vz-oc-linaro.1.zip MD5=ca674641e05595e64698afda8aa02943
vz-oc-linaro.2.zip MD5=2b01472d00e069c53f934c30b49475d1
cm10.1_vz-oc.1.zip MD5=576db9e99b2289dae7fc5b548a0d61b4
cm10.1_vz-oc-linaro.1.zip MD5=1a5f3b50608e6b44da50829b2c04ec5c
If you have HBOOT earlier than 1.14 or have S-OFF, then you can just flash the zip from recovery. This will flash the kernel as well as all required modules and thermald.conf. Otherwise, HBOOT 1.14 users will need to extract the boot.img, enter bootloader mode and run
Code:
fastboot flash boot boot.img
Then you will also need to flash the zip to get modules and themald.conf.
Compatability
cm10.1_vz-oc-linaro.4 is compatible with CM10.1 UNOFFICIAL build from 16/04/2013 onwards.
cm10.1_vz-oc-linaro.3 is compatible with CM10.1 NIGHTLY build from 01/03/2013 onwards.
cm10.1_vz-oc.2 (and linaro) are compatible with CM10.1 NIGHTLY build from 19/02/2013 only.
cm10.1_vz-oc.1 (and linaro) are compatible with CM10.1 UNOFFICIAL build from 06/02/2013 only.
vz-oc.2 (and linaro) are compatible with CM10 NIGHTLY builds from 26/12/2012 to 13/01/2013.
vz-oc.1 (and linaro) are compatible with CM10 NIGHTLY builds from 28/11/2012 to 25/12/2012.
Future development
I hope to introduce GPU overclocking soon and there will be updated builds as
soon as changes come into the main CyanogenMod repo.
Building the kernel
For those who would like to build the kernel themselves, here are some basic
instructions. First you will need to acquire some tools. You can get the default
toolchain from the CM10 source code at,
Code:
system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/
Otherwise, if you want to use the Linaro toolchain, you can get it at
Linaro toolchain
You will also need a working boot image to get the ramdisk from. You can build
mkbootimg using these instructions
building mkbootimg
Finally, you can get split_bootimg_pl from William Encks site
download split_bootimg_pl
Clone the repo and change to your desired branch
Code:
git clone https://github.com/vanja-zecevic/android_kernel_htc_msm8960.git
git checkout jellybean-oc
Now export an environmental variable pointing to your desired toolchain
Code:
export CCOMPILER=$PATH_TO_TOOLCHAIN/bin/arm-eabi-
Copy the config file, run menuconfig once and start the build replacing -j12
with your desired number of threads
Code:
cp ./config-oc ./.config
make ARCH=arm SUBARCH=arm CROSS_COMPILE=$CCOMPILER menuconfig
make ARCH=arm SUBARCH=arm CROSS_COMPILE=$CCOMPILER -j12
Extract a ramdisk from a working boot image and repack with your freshly built
kernel using the following command for cm10,
Code:
./split_bootimg_pl ./boot.img
./mkbootimg --base 0x80400000 --ramdiskaddr 0x81800000 \
--cmdline 'console=ttyHSL0,115200,n8' \
--kernel arch/arm/boot/zImage --ramdisk boot.img-ramdisk.gz \
-o boot_vz-oc.img
cm10.1 will need the following cmdline
Code:
--cmdline 'console=ttyHSL0,115200,n8 androidboot.hardware=qcom'
You are ready to flash your new kernel!
Contact
I hope you enjoy using this kernel! Please also visit the github page for this project for alternative download links and for the source code.
GitHub
Cheers,
Vanja
Looks good will give it a shot next time I'm on a CM10 based ROM. Will this only work on CM10 or will it work with other AOSP builds too?
Sent from my HTC One X using Tapatalk 2
1. Could you post flash able zips for the majority of us who can flash these in recovery?
2. Very few users including myself have issues with kernels without stock voltage values. The device will just not boot, any way to have separate versions without different voltages just to rule that issue out when people ask why their device won't boot?
Sent from my One X using Tapatalk 2
superchilpil said:
1. Could you post flash able zips for the majority of us who can flash these in recovery?
2. Very few users including myself have issues with kernels without stock voltage values. The device will just not boot, any way to have separate versions without different voltages just to rule that issue out when people ask why their device won't boot?
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
+1 thank you
Straight talked from my HOX!
I like the idea of a stockish CM10 OC kernel, Me myself i underclock. I would give this a go see how it holds up. the increase in clock speed is usually a nice thing to have even if not used. Also a 2.0GHz version would be awesome too.
Nice job!
Sent from my Nexus 7
ChummyDays said:
Fastboot flash boot boot.img
Sent from my One X using Tapatalk
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
Re read my post, I know how to use fastboot
Sent from my One X using Tapatalk 2
Thanks for the feedback people!
I'm currently running HBOOT 1.14, so I will need to downgrade to 1.09 before I can make/test flashable kernel zips. I think I will get around to this in the next week.
I will also look into some other requests.
Is anyone running the kernel? Are you happy with it? Any benchmarks?
rohan32 said:
Nice job!
Click to expand...
Click to collapse
Thanks Rohan, I was inspired by your work!
Quick question: Sweep2Wake support?
I know OP stated 'as close to stock as possible,' searched thread for 'sweep' and turned up nuffin, so I'm just curious. Glad to see another kernel option (and prospective CM10 material!).
superchilpil said:
1. Could you post flash able zips for the majority of us who can flash these in recovery?
2. Very few users including myself have issues with kernels without stock voltage values. The device will just not boot, any way to have separate versions without different voltages just to rule that issue out when people ask why their device won't boot?
Sent from my One X using Tapatalk 2
Click to expand...
Click to collapse
I don't plan on maintaining them, but if newer versions come out, just rename to boot.img and swap out the file in the zips:
With Linaro toolchain
without Linaro toolchain
Vanja, if you want these gone, let me know.
hands on CM boot screen animation
running stable build cm10, and like the title says, hangs on boot screen animation. Do you have to configure the thermald.conf first?
thanks
taylor.fowler said:
I don't plan on maintaining them, but if newer versions come out, just rename to boot.img and swap out the file in the zips:
Click to expand...
Click to collapse
Thanks Taylor! I've included zips now.
nespid said:
running stable build cm10, and like the title says, hangs on boot screen animation. Do you have to configure the thermald.conf first?
thanks
Click to expand...
Click to collapse
Hi nespid, unfortunately, these kernels currently only support builds from 28/11/2012 onward. I've re-written the "Compatibility" section to make that more clear.
I will put up a build compatible with the "stable" build in a few days if you like.
vanja_z said:
Hi nespid, unfortunately, these kernels currently only support builds from 28/11/2012 onward. I've re-written the "Compatibility" section to make that more clear.
I will put up a build compatible with the "stable" build in a few days if you like.
Click to expand...
Click to collapse
That would be absolutely great!
Thank you!
Sent from my HTC One X+ using xda app-developers app
just wondering ,when and if are you goin make one for cm10.1? because the one for cm10 just flatout smokes :good! really makes your phone move!! :good:
Re: [KERNEL] vz-oc kernel: CM10 overclocking, normal & Linaro builds
Any feedback on battery life with this one? And how does it play with No Frills CPU and such?
Thanks for the hard work!
Sent from my CM10ified Beast (a.k.a. HTC One XL)
I've put up cm10.1 kernels!
ps. cm10.0 stable kernel is coming soon, I haven't forgotten, sorry for the delay
vanja_z said:
I've put up cm10.1 kernels!
ps. cm10.0 stable kernel is coming soon, I haven't forgotten, sorry for the delay
Click to expand...
Click to collapse
That's awesome, I will be testing this soon. I know it was asked before but I'm also very interested to know, any plans on implementing sweep2wake? After using it for even a little bit it spoils you, it really is an awesome feature. Otherwise thank you for your hard work, I'll leave feedback in a couple days after testing!
Thanks much, got the kernel running on CM10.1 with 1.14 hboot no problems. Modified thermald.conf and seems to allow oc to stick thus far.
great work,
dbd
UPDATE: this kernel is working wonderfully with cm10.1. +1 for linaro toolchain.
******************Sources up at https://github.com/AKToronto/Canuck ********************************
****currently working off the testing branch I created****************
Hi folks,
Im posting this kernel because there might be a number of people who want to use a custom CM10 base ROM and just want to get some better battery life. Basically its for someone who would be interested in a kernel synced with the latest CM10 sources for 4.1.2 JB and who doesn't want to go to CM10.1 ROMS yet until they become more stable.
Huge thanks goes out to Zarboz as well as ShowP1984
ShowP1984 and Zarboz are real kernel masters. I am still just a simple padawan learner, lol.
Most of the custom source code for this kernel is either cherry-picked, merged or inspired by their work.
For more information on custom kernel settings, governors, schedulers, modules, etc, please check out:
http://forum.xda-developers.com/showthread.php?t=1369817
Please let me know if anything doesn't work! ie reboots or other programs not working. Give the kernel some time to settle too before reporting.
And dont blame me if your device gets borked, lol. "Insert standard disclaimer here"
v1.0 Canuck Kernel
-CM10 JB Kernel sources synced 3.0.61 linux
-Governors included (and code cleaned up a bit) - brazilianwax, intellidemand, SavagedZen, interactiveX, smartass, smartassV2, lagfree, interactive, conservative, userspace, powersave, Lionheart, ondemand, performance (originally from klin's source)
-mpdecision using ShowP's code from Zarboz's AOZP source added
-Force MHL @720p60hz (also from Zarboz's AOZP)
-regular 4.6 eabi toolchains for now
v1.1
Synced with latest 3.0.62 linux
**GPS appears to be fixed and locking properly
v1.2
-Added Undervolting and Overclocking to 1.89gz (1.89 seems the most stable for folks) (taken from Zarboz Beastmode Bricked sources)
v1.3
-various fixes to undervolting, gpu overclock and to default on demand governor (also removed 2 phase on it for now).
v1.4
-removed some more problematic governors (that I also noticed were not compiled in Beastmode)
-enabled two phase ondemand
-added badass governor and cleaned up some of the badass code so that default phase frequency settings stick
v1.5
-thermald added to userspace (allows user to configure settings for when the device gets hot! ie lower cpu clock speed, etc)
-added lower default values to badass governor
**an experimental 2.1 ghz overclock version is also compiled, but that is experimental***
v1.6
-Wheatley governor added (likely the last governor I will add)
-enabled xz compression
-Fixed GPU OC so that settings stick (i recommend 266 for 2d and 320 or 400 for 3d)
-both 1.89 and 2.1 ghz versions added 2.1 ghz seems stable, just make sure you are undervolting correctly (dont undervolt a lot at the higher frequencies)
v2.0 ***Huge update thanks to Zarboz
-Rebuilt with Linaro 4.7 toolchains with -O3 compression flags
-Updated ThermalD and mpdecision source code (hot off the press stuff here!)
-Latest sweep 2 wake added
-various other fixes
v2.1
-Real -O3 compression this time ( on v2.0 it was really only -O compression)
-updated to latest CM10 sources and 3.0.63 linux
v2.2
-Added force mhl to ville defconfig for compile (feel free to test)
-Synced with 3.0.66 linux sources
v2.3
-Faux tweaked intellidemand
-Dynamic fsync enabled (by faux)
-Fastcharge enabled
v2.4
-Removed faux tweaked intellidemand (I didnt like the faux tweaks personally. Im just not sure that governors that try tie in to GPU clocks have
the right default settings to work well on the One S, regular intellidemand could be combined with other the other governors and not introduce instability. I had issues with tweaked plus smartass v2 for example)
-rebuilt using rmbq's cortex-a15 optimized toolchain (this seemed pretty cool, and I thought I would try it out. Seems like the device boots faster now too)
To use sweep to wake, when your screen is off, put your finger on the back button, then sweep all the way to the right in one motion. It works best when you do it fast. To turn the screen off, sweep in the opposite direction.
Compatible ROMs currently include (all CM10 base, not CM10.1):
-Latest CM10 nightlies http://goo.im/devs/cm/ville/nightly
-Latest PAC Man ROM
-Latest AOKP http://forum.xda-developers.com/showthread.php?t=2141549
-Latest Dark Jelly (I think)
-Any other CM10 AOSP ROM that is synced with the latest jellybean branch (not the old jellybean-stable branch) of https://github.com/CyanogenMod/android_kernel_htc_msm8960
Install instructions:
1. Navigate to your /system/bin folder and rename the file mpdecision to something else like mpdec_backup (IMPORTANT)
2. Navigate to your /system/bin folder and rename the file thermald to something else like therm_backup (IMPORTANT)
2. Fastboot flash the boot image from your bootloader
*step one and two is needed because the kernel uses its own mpdecision and thermald controls and the ones included in your ROM are not needed and can only cause problems.
DOWNLOAD LOCATION:
http://www.androidfilehost.com/?a=show&w=files&flid=3192
****BE CAREFUL WITH UNDERVOLTING... Just want to give a fair warning... Undervolting too much, especially below 900, etc on the low end is not recomended. Read up on undervolting before doing too much more. In fact, if you are experienceing issues, try increasing the voltages.
Also recommend using kernel tuner to tweak (found in the app store), following Zarboz's suggestion. It's a good program and let's you set governors for individual cpus, tweak governors, mpdecision, gpu overclock and thermald, and settings tend to stick well.
hello there i was just going to tell you i fastbooted the kernel and it does not go past the splash screen.
Nerd019 said:
hello there i was just going to tell you i fastbooted the kernel and it does not go past the splash screen.
Click to expand...
Click to collapse
Interesting. What ROM are you on? Seems to work just fine with latest PAC Man ROM on my HTC One S. Again, not much was edited at all from the CM10 Jelly Bean source. If stock AOSP JB doesnt boot for you, then neither would this. But it should work just fine on ROMs like JellyBam and PACMan, etc, etc... If it still doesnt work I will double check my upload and the boot.img.
Also, not sure if legacy files from other kernels are causing issues for folks switching over... Using http://forum.xda-developers.com/showthread.php?t=2121584 might help too....
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
I'm on Baked Blackbean 7.1 im actually building the rom as we speak
Sent from my HTC One S using xda app-developers app
Nerd019 said:
I'm on Baked Blackbean 7.1 im actually building the rom as we speak
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
Ahhh theres the answer (I think). I think 7 and 7.1 of your awesome baked ROM already use the CM10.1 base.
This kernel was not built off of the CM10.1 base, but just the straight up CM10 Jellybean. It should work with 4.1.2, but no guaruntees on 4.2.1. Does that make sense?
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
yes it does as well i want to thank you for a new kernel
Sent from my HTC One S using xda app-developers app
AW: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
Always nice to see some new things here in the one s forum.
Gesendet von meinem Nexus 7 mit Tapatalk 2
support mhl ?
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
Good to see a new face around man don't hesitate to reach out if you need anything
And who cares who else is building kernels ate fun
Sent from my HTC One XL using xda app-developers app
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
Very pleased to see this new development after Klin announced his fusion kernel obsolete today!
I have recently switched to a sense based ROM to satisfy my need for custom kernels, but can't wait to switch back to CM10 once you get this up and running.
I will be following this thread closely
Sent from my HTC One S using xda app-developers app
Successful boot on Jellybam 4.1.0! Govs and SIO showing up properly, going to start testing them individually.
For a first step, you've done an awesome job! I'm really looking forward to more releases from you. You have some serious potential. I'd be happy to test anything you need tested!
Edit: Still testing, so far so good. No broken governors!
Protip: Change your title up a bit. Replace "first build" with V1.0 and throw in an [AOSP] to draw attention.
awesome job got it to boot with jellybam 4.1.0.
Everything seemed fine but i couldnt get the Wifi to turn on.
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
Hmm interesting with the wifi... Did you have those issues with the stock CM10 kernel too? Wifi seems to work just fine on PACMan Rom for me and worked when I tried Jellybam too... I wonder if the kernel cleaner app would help you, if you had been flashing lots of other kernels on your Rom build?
Sent from my HTC One S using xda premium
With the latest nightly WiFi works fine. 2 days of use with out any problems . Thanks you for your work
Re: [KERNEL][JB 4.1.2][AKToronto][First build, Feb 3, 2013]
AKToronto said:
Hmm interesting with the wifi... Did you have those issues with the stock CM10 kernel too? Wifi seems to work just fine on PACMan Rom for me and worked when I tried Jellybam too... I wonder if the kernel cleaner app would help you, if you had been flashing lots of other kernels on your Rom build?
Sent from my HTC One S using xda premium
Click to expand...
Click to collapse
I actually only tried out the kernel with the jellybam ROM I had installed already.
kernel cleaner? I'm going to check that out when I have time.
and i did do a couple of flashes before trying out your kernel.
I'm going to try it out on a clean install of jellybam and PAC man and I'll let you know what works for me. thanks for the response
No wifi problems here, it's likely caused by legacy kernel files. Try out the solution in Post #3 before you wipe everything. If that doesn't work, post what HBOOT you're device has.
Very nice. Thanks.
Is there a chance of getting s2w?
Kernel updated. Main update was some cleanup of some code around the governors and adding of kernel based mpdecision. This is mainly off of Zarboz's work and of course ShowP and his awesome mpdecision coding.
I know folks will want sweep to wake and a few other settings too im sure. Those things will come in time. Any other governors that people find useful? I have heard badass can be pretty good too...
Re: [KERNEL][JB 4.1.2][AOSP][Canuck][v1.0][3.0.61 linux]
can i use it on baked rom?
Sent from my HTC One S using xda app-developers app
Nerd019 said:
can i use it on baked rom?
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
depends on what version of baked. If your already at CM10.1 or v 4.2.1 of Android then no. You should go for one of the other two new kernels floating around for CM10.1 They look promising.
IronBorn2 Kernel Mandatory Info
Source: IronBorn2 -sense2 branch
Compiler: CodefireX Toolchain
Kernel Linux Version: 3.4.10
defconfig: ville_defconfig
Hello everyone,
I am releasing a new SENSE kernel for SENSE 4.2.2 ROMS like Maximus, Viper, etc. It should install for either One S hboot.
I started with anoane's evita port then added a lot of excellent commitsfrom MikeC84's jewel kernel. HUGE THANKS TO BOTH OF THEM!!!
This kernel should seriously help with battery life on 4.2.2 SENSE ROMS. But make sure you have also frozen apps that cause serious wakelocks too (ie: google bookmark sync on viper rom)
My github: https://github.com/AKToronto/IronBorn2 Goto sense2 branch for this kernel
Github for MikeC84's jewel kernel: https://bitbucket.org/MikeC84/android_kernel_jewel/commits/all
CodefireX toolchain: https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-eabi-4.8/tree/kk-devel
Features to highlight:
AROMA installer
In kernel MPDecision (seriously helps battery life)
In kernel three-phase thermald management
Voltage Control (for undervolting, again to help battery life)
Sound Control
Simple GPU Governor with tunables selactable
Added latest intellidemand and intelliactive governors
Added BFQ, FIOPS, ROW and SIO schedulers (FIOPS default)
Krait version export
Dynamic fsync added and enabled
Built with CodefireX toolchain, compile errors fixed for gcc4.8 and linaro -O flags
Optimized AES, SHA1 routines, RWSEM algo, etc
Led notification duration timeout mod
Enable KControl advanced GPU control
Custom ramdisk option in AROMA
MORE INFO ON MPDECISION AND THERMALD can be found at: ShowP's Bricked Kernel for One S
MORE INFO ON CPU KRAIT VERSION EXPORT
Type in the following code in a terminal window on your phone:
Code:
su
cat /sys/kernel/debug/krait_variant
This will let you see what chip version you have... The slower it is the harder it will be to undervolt
MORE INFO ON NOTIFICATION LED DURATION TIMEOUT
Use sysfs interface to change behaviour :
* /sys/kernel/notification_leds/off_timer_multiplier (rw)
*
* 0 - Notification LED will blink forever until cleared by user
* 1 - Notification LED will blink as requested by app or until cleared by user (default)
* 2 to 255 - Notification LED will blink as requested by app multiplied by value or until cleared by user
Click to expand...
Click to collapse
MORE INFO ON CUSTOM RAMDISK
If you want to play around and customize your ramdisk, complete your edits then save a file in the zip package as /kernel/custom.boot.img-ramdisk.gz
Then select the option in AROMA
USE THIS KERNEL AT YOUR OWN RISK! IF YOU DO NOT KNOW WHAT YOU ARE DOING, BACK OFF!
MAKE A BACKUP BEFORE INSTALLING!!!!!!!!!!!!!!!!
DOWNLOAD LATEST VERSION HERE:
LATEST IRONBORN2 KERNEL
Install instructions:
1. Flash the file above in recovery and make sure you are S-OFF.
IF YOU WANT TO UNINSTALL THIS KERNEL
1. Make sure to rename mpdecision_backup and thermald_backup in /system/bin/ folder to their original names before flashing a stock kernel!!! These files are not needed by this kernel because all the work is done in the kernel and not in the ROM.
2. Consider reinstalling default kernel/ROM's kernel modules as well
Thanks to: MikeC84, anoane, ShowP1984, faux123, yank555-lu
DONATIONS NOW ACCEPTED: HERE
Changelog
June 3, 2014
-Initial import from anoane evita 4.2.2 kernel
-Initial import of commits from MikeC84's MAC kernel for jewel
-Added in-kernel MPDecision
-Added in-kernel three-phase thermald management
-Added voltage control
-Added sound control
-Added simple GPU governor
-Added BFQ,FIOPS,ROW,and SIO schedulers
-Added krait version export
-Added dynamic fsync
-Fix compilation errors to build w/ gcc4.8 and linaro
-Optimized AES, SHA1 routines, RWSEM algo, etc
-Added latest intellidemand and intelliactive governors
-Enabled KControl Advanced GPU Control
-Added notification led duration timeout mod
-Built with codefirex toolchain, linaro -O flag optimized
-Custom ramdisk option in AROMA
reserved
reserved as well
Please note this is an initial release so pls backup your ROM and DATA and it wont hurt to copy your SDCARD partition as well just in case.
AKToronto said:
Please note this is an initial release so pls backup your ROM and DATA and it wont hurt to copy your SDCARD partition as well just in case.
Click to expand...
Click to collapse
please say me this kernel fixed the issue call quality
Thanks for your work
The kernel is very smooth but I had 1 random reboot since using it
Gesendet von meinem HTC One S mit Tapatalk
Hai96 said:
Thanks for your work
The kernel is very smooth but I had 1 random reboot since using it
Gesendet von meinem HTC One S mit Tapatalk
Click to expand...
Click to collapse
Undervolt?
Sent from my HTC One S using Tapatalk
AKToronto said:
Undervolt?
Sent from my HTC One S using Tapatalk
Click to expand...
Click to collapse
No I used stock voltages
Gesendet von meinem One S mit Tapatalk
Hai96 said:
No I used stock voltages
Gesendet von meinem One S mit Tapatalk
Click to expand...
Click to collapse
Governor? Last_kmsg?
Sent from my HTC One S using Tapatalk
Will you implement s2w and dt2w?
Spakainz said:
Will you implement s2w and d2w?
Click to expand...
Click to collapse
Eventually. Hope to implement most features from my aosp kernel in time.
Sent from my HTC One S using Tapatalk
How are people finding the kernel so far? I haven't encountered any major bugs or reboots on Viper Rom with 2.16 hboot. Any other early reactions?
Sent from my HTC One S using Tapatalk
Performance is very good but i got 2 reboots on viper 3.1.3 (hboot 2.16) so far.
Sent from my HTC One S using XDA Free mobile app
i got 2 reboots on viper with onedemand govenor, but i have no last_ksmg. I changed it to intellidemand and now i have no more reboots and battery live is better
Hai96 said:
i got 2 reboots on viper with onedemand govenor, but i have no last_ksmg. I changed it to intellidemand and now i have no more reboots and battery live is better
Click to expand...
Click to collapse
That's interesting. I've got no reboots yet but I have also been using intellidemand. I can take a look at updating the onedemand governor. It is stock code at this point but may be worth an update.
Sent from my HTC One S using Tapatalk
nguyenquyhoc said:
please say me this kernel fixed the issue call quality
Click to expand...
Click to collapse
If he pulls that off then he's the hero of the year.
CazeW said:
If he pulls that off then he's the hero of the year.
Click to expand...
Click to collapse
Has anyone been able to narrow down the issue? I know it's not the baseband bc it works on aosp roms. I will take a look at some speaker related changes on the kernel side to see if it can be narrowed down now that I am using viper a bit more. So the Ota from Maximus didn't fix it either eh?
Sent from my HTC One S using Tapatalk
AKToronto said:
Has anyone been able to narrow down the issue? I know it's not the baseband bc it works on aosp roms. I will take a look at some speaker related changes on the kernel side to see if it can be narrowed down now that I am using viper a bit more. So the Ota from Maximus didn't fix it either eh?
Sent from my HTC One S using Tapatalk
Click to expand...
Click to collapse
Nope, the OTA made no difference. I know pirlano took a look at it but afaik, he wasn't able to find the cause. You could check with him for tips where to start looking. Cyanogen and the latest official version (as far as I remember) doesn't seem to have this problem so a good place to start would probably be comparing the speaker/phone/modem/etc. changes. That's a lot to go through though.
I've written this somewhere else before but my personal suspicion is that there is somewhere a threshold value which controls how much noise is filtered from the other side. My guess then is that this value has been set too high, so when a person is speaking quietly the phone thinks that it's just noise so it filters it to lower the noise floor. At which stage this filtering would be done is hard to say, but this would probably be HTCs own implementation which would explain why the problem doesn't exist on AOSP and Cyanogen.
But anyway, that is just my guess. The real cause could end up being something completely different.
If you do manage to fix it, that would be THE killer feature to make this kernel a must have for everyone using a Sense 5 ROM.
CazeW said:
Nope, the OTA made no difference. I know pirlano took a look at it but afaik, he wasn't able to find the cause. You could check with him for tips where to start looking. Cyanogen and the latest official version (as far as I remember) doesn't seem to have this problem so a good place to start would probably be comparing the speaker/phone/modem/etc. changes. That's a lot to go through though.
I've written this somewhere else before but my personal suspicion is that there is somewhere a threshold value which controls how much noise is filtered from the other side. My guess then is that this value has been set too high, so when a person is speaking quietly the phone thinks that it's just noise so it filters it to lower the noise floor. At which stage this filtering would be done is hard to say, but this would probably be HTCs own implementation which would explain why the problem doesn't exist on AOSP and Cyanogen.
But anyway, that is just my guess. The real cause could end up being something completely different.
If you do manage to fix it, that would be THE killer feature to make this kernel a must have for everyone using a Sense 5 ROM.
Click to expand...
Click to collapse
I've tried some basic stuff but nothing yet... i think I may just go at it more aggressively and replace all sound stuff with the cyanogen versions. I won't have time for a week or so though but I will put my attention to it before doing other updates
Sent from my KFAPWI using Tapatalk
Had random reboot. Intellidemand.