[KERNEL]Droid DNA Cubed Kernel v3.1.3[02.13.13]Up to 3.4.30 and a few minor fixes. - HTC Droid DNA

Okay folks, no fancy graphics or information here. Searching this site will tell you any of the generic information you may be interested in. I am not going to clutter up things any more than I normally do. Which is already enough.
I need to make something very clear here. I'm sure it's just me, but I feel like I need to say it out loud, rather than just leaving it in my source. At least 90% of what I give you is other peoples original work, modified by me to run on whatever device I have. I don't do it to look smart, or be important, I do it 9 times out of 10 because there isn't something already out there. The vast majority of the options I give you are from amazing coders like show-p1948 and faux123. There are random snippets from others too. This time Zarboz contributed a lot in the beginning. I just wanted to make that clear. If you ever wanna know exactly who did something I put into a kernel, go look at the source. If I cannot get the original commit, with them as author, they are listed in the comment. If nobody is there but me, I actually did it.
So, here you go:
Droid DNA Cubed Kernel 3.1.3
Installation:
1. Unzip the file you downloaded.
2. Copy the Modules zip to the SDCard.
3. adb reboot bootloader
4. fastboot flash boot <file> (This will depend on where you unzipped to.)
5. Use menu on phone to go to recovery.
6. Flash Modules file in recovery.
7. Reboot
8. Profitt!
Please Note: This kernel removes some stock files you will need to use other kernels. Please flash this file before flashing anything else to return everything to stock.
Change Log:
12.01.12: Initial release, 1.0.1
SIO I/O Scheduler
Linaro 4.7 GCC Toolchain
-O3 Build
Force Fast Charge from Chad0989 - This is on by default. I will create a zip to turn it off and post later tonight.
Swap enabled
Charging from unknown sources enabled
12.02.12: Increase version to 1.0.2
Added SLQB
Added Sweep2Wake
Added SYSFS to thermald
Added GPU OC
12.03.12: Increase version to 1.0.3
Fixed S2W in call touchscreen issue - Zarboz
12.05.12: Increase version to 1.2.3
Various code patches and updates
Dynamic FSync
OC to 1.89Ghz
Re-did GPU OC
Disabled Perflock
Added VDD
12.09.12: Increased version to 1.2.5
Fixed freqs sticking
Fixed hsci wakelock
Added Intellidemand Gov
Tweaked thermal settings
12.12.12: Increased version to 1.4.3
Various fixes/updates
Added FIOPS IO Sched
Added ROW IO Sched
Added Smartass V2 Governor
Added Interactive Governor
Added Lionheart Governor
Added Badass Governor
Added SavagedZen Governor
12.13.12: Increased version to 1.4.9
Updated Intellidemand, thanks Faux123
Added AssWax Governor
Added BrazilianWax Givernor
Various tweaks/fixes
12.22.12: Increased version to 2.2.1
Added CIFS
Added NTFS
Various fixes/tweaks
Updated thermal - showp
Added kernel based mpdecision - showp
Added InteractiveX V2 Governor
Enabled Conservative Governor
Added SuperBad Governor
Added Virtuous Governor
12.23.12: Increased version to 2.2.3
Added BFQ I/O Scheduler
Enabled write to system partition
12.26.12: Increased version to 2.3.1
Added "Faster" PVCS bin
Fix for thermal
Fixes for Intellidemand
Fixes for Ondemand
Fixes for sched
Fixes for lockups/reboots
Fixes for Interactive
12.27.12: Increased version to 2.3.2
Removed sched fix
12.28.12: Increased version to 2.3.3
Restored sched fix
Tweaked FASTER table
12.29.12: Increased version to 2.3.5
Raised max bus speed to 600
Various fixes/tweaks
12.30.12: Increased version to 2.3.9
Updates to Intellidemand - Faux
USB fixes
HSIC Wakelock patch
Remove my changes for HSIC Wakelock
12.31.12: Increased version to 2.4.0
Removed a few of the patches added in 2.3.9
01.01.13: Increased version to 2.4.1
Removed the rest of the USB patches
01.02.12: Increased version to 2.4.2
Put back all the USB fixes
Removed Intellidemand update
Few other fixes.
01.31.13: Increased version to 2.5.1
Removed BFQ
Removed SLQB
Removed a few other tweaks
Tweaked thermal settings
Tweaked freq tables
02.01.13: Increased version to 2.5.2
Tweaked thermal
02.04.13: Increased version to 2.5.4
Completed -O3 compliance
Tweaked GPU to fix low scores
02.07.13: Increased version to 3.1.1
Patched up to Linux 3.4.29
02.13.13: Increased version to 3.1.3
Fixes to Linaro
Fixes to BadAss
Various tweaks
Downloads:
Droid DNA Cubed Kernel 3.1.3
MD5: f4ffcf4d75bf50f2c8458b10e6f6d2a9
Droid DNA Cubed Kernel 3.1.1
MD5: b1cfca9364d652b32827abe348f7bcb3
Droid DNA Cubed Kernel 2.5.4
MD5: f5bedb1d659e7d968e5c44c562cc8425
Enjoy!
D
.
My Git
​

Excited for the dev scene here on DNA I'm gonna flash this asap, will it work fine on an unlocked, rooted, stock odex rom??
Oh and does chad have a DNA??
Sent from my HTC6435LVW using xda premium

x70xchallengerx said:
Excited for the dev scene here on DNA I'm gonna flash this asap, will it work fine on an unlocked, rooted, stock odex rom??
Oh and does chad have a DNA??
Sent from my HTC6435LVW using xda premium
Click to expand...
Click to collapse
Will work fine.
I have no idea what Chad has. I just ported the code.
D
.

dsb9938 said:
Will work fine.
I have no idea what Chad has. I just ported the code.
D
.
Click to expand...
Click to collapse
Sorry for the noob question, what is charging from unknown sources mean ?
From my DROID DNA

So far so good... Thanks again!

dsb9938 said:
Okay folks, no fancy graphics or information here. Searching this site will tell you any of the generic information you may be interested in. I am not going to clutter up things any more than I normally do. Which is already enough.
So, here you go:
Droid DNA Cubed Kernel 1.0.1
Okay, it's still very basic. I've been watching/talking to Zarboz as he has been making his. I will be catching up a lot of his mods here in the next few days.
Installation:
1. Unzip the file you downloaded.
2. Copy the Modules zip to the SDCard.
3. adb reboot bootloader
4. fastboot flash boot <file> (This will depend on where you unzipped to.)
5. Use menu on phone to go to recovery.
6. Flash Modules file in recovery.
7. Reboot
8. Profitt!
Change Log:
12.01.12: Initial release, 1.0.1
SIO I/O Scheduler
Linaro 4.7 GCC Toolchain
-O3 Build
Force Fast Charge from Chad0989 - This is on by default. I will create a zip to turn it off and post later tonight.
Swap enabled
Charging from unknown sources enabled
Downloads:
Droid DNA Cubed Kernel 1.0.1
MD5: 3726b1673cea267e10e91bca8ead36cb
Enjoy!
D
.
​
Click to expand...
Click to collapse
Source code, please.

Rammstein1313 said:
Sorry for the noob question, what is charging from unknown sources mean ?
From my DROID DNA
Click to expand...
Click to collapse
The stereo in my car, a ufo....one time I tried to use a wall charger with the same port but from a different manufacturer and it wouldnt do it. doesnt happen so much anymore tho thanks to this..

adrynalyne said:
Source code, please.
Click to expand...
Click to collapse
LOL, added.
D
.

Rammstein1313 said:
Sorry for the noob question, what is charging from unknown sources mean ?
From my DROID DNA
Click to expand...
Click to collapse
It means that instead of assuming an unrecognized device is USB, it will assume AC, thus charging faster.
D
.

dsb9938 said:
It means that instead of assuming an unrecognized device is USB, it will assume AC, thus charging faster.
D
.
Click to expand...
Click to collapse
Lol, thought it meant I could use my power mat without the cords
From my DROID DNA

hows this kernel wats the highest cpu can u set it to and is it better or on par w/the stock kernel?

holla420 said:
hows this kernel wats the highest cpu can u set it to and is it better or on par w/the stock kernel?
Click to expand...
Click to collapse
just using linaro and -O3 optimization will make this above stock kernel even if the OC hasn't been added yet
Good stuff DSB can't wait to see what you come up with i always loved your rezound work

its been a while since I had to flash in Fastboot... need to clean out the spiderwebs in my ADB closet... flashed great.. thanks allot... any plans on a senseless cubed rom?

Added a few things, see the change log.
D
.

It all works for me thank you.
Just for the heck of it I threw up a benchmark I don't know what to think about antutu tho....
Sent from my HTC6435LVW using xda premium

Thanks again DSB! V2 Up and running great...

I dont care about overclock. This stock speeds when default? Like the sweep function...
Sent from my HTC6435LVW using Tapatalk 2

i flashed this kernel and now my wifi doesnt shows up did i do something wrong?

holla420 said:
i flashed this kernel and now my wifi doesnt shows up did i do something wrong?
Click to expand...
Click to collapse
Did you flash the modules zip?

BotsOne said:
Did you flash the modules zip?
Click to expand...
Click to collapse
yea i extracted the zip and flash that

Related

[KERNEL][JB] fulmix.Kernel #12 [17/10/2013]

fulmix.Kernel #12
Only for Jelly Bean Sense ROMs
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. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
I am not a kernel developer, I made this kernel for my own use and for what I need, so don't expect much from me
This is Jelly Bean 3.4.0 Kernel built from htcdev.com source.
Features
Based on official hTC EU source code
Compiled with Linaro 4.6.2 toolchain
/system write protection Disabled & Init.d support
zRam Enabled
Swap Enabled
Perflock disabled
KSM Support
Snapdragon optimizations
Highest optimization level (-O3)
Google Snappy Compression
Use AC mode for unknown chargers
Optimized AES and SHA1 routines
Android Low Memory Killer from HTC One
Updated ION & Binder from HTC One GE
Governors
BadAss
Lionhearth
SmartassV2 (default)
Intellidemand
Conservative
Interactive
Ondemand (updated from HTC One GE kernel)
Performance
Schedulers
NOOP
CFQ
Deadline
FIOPS (default)
Qualcomm ROW
Credits
prototype-u without him this kernel was never released!
neXus Prime for Fast Charge
jmz for some commits
SebastianFM for some commits
dominos_liberty for some commits
flar2 for some commits
show-p1984 for some commits
sakindia123 for some commits
Zarboz for help
If you use it and you like it please hit "Thanks" button or make a little donation to support me and keep development up!
DOWNLOAD #12
DOWNLOAD #8
DOWNLOAD #7
DOWNLOAD #5
DOWNLOAD #3
DOWNLOAD #2
DOWNLOAD #1
SOURCES
Instructions
Go into adb/fastboot directory
Put the fulmix.Kernel#xx.img in that directory
Open CMD and type: "fastboot flash boot fulmix.Kernel#xx.img"
Reboot
Click to expand...
Click to collapse
Changelog
#12 - 17/10/2013
- Fixed black screen after reboot [xpirt]
- Enabled zRam [xpirt]
- LZO compression mode [xpirt]
- More cleanups [xpirt]
#8 - 16/10/2013
- Added intellidemand governor [xpirt]
- Added Snapdragon + ARM optimizations [show-p1984]
- Updated with highest optimization level (-O3) [show-p1984]
- Updated ondemand governor from HTC One GE kernel [SebastianFM]
- Fully removed perflock support [sakindia123]
- Enabled basic NTFS support [show-p1984]
- Enabled sync framework [dominos_liberty]
- Cleaned code and Improved performance [xpirt]
#7 - 15/10/2013
- FIOPS scheduler as default [xpirt]
- SmartassV2 governor as default [xpirt]
- Added optimized AES and SHA1 routines [flar2]
- Added /dev/frandom [flar2]
- Added Android Android Low Memory Killer from HTC One GE kernel [dominos_liberty]
- Updated Android Binder from HTC One GE kernel [dominos_liberty]
- Updated ION driver from HTC One GE kernel [dominos_liberty]
#5 - 14/10/2013
- Added smartassv2 governor [xpirt]
- Google Snappy Compression [xpirt]
- Added Fast Charge [neXus Prime] - Info
- Inscreased Readahead values [jmz]
- More optimizations [xpirt]
#3 - 09/10/2013
- Compiled using Linaro 4.6.2 toolchain [xpirt]
- Recompiled from scratch from official EU code [xpirt]
- Kernel version 3.4.0 [xpirt]
- Governors: Lionheart, BadAss, SmartassV2, Userspace, Ondemand & Performance [xpirt]
- I/O Schedulers: Qualcomm ROW, FIOPS, Noop, Deadline & CFQ [xpirt]
- Use AC Charging for unknown USB Cables [jmz]
#2 - 01/09/2013
- KSM Enabled [xpirt]
- CPU Freq Stats Enabled [xpirt]
- CPU Spy Fixed [xpirt]
- CIFS Support [xpirt]
#1 - 29/08/2013
- Initial Release
Click to expand...
Click to collapse
F.A.Q.
Q- How I can manually enable KSM?
A- Go here.
Click to expand...
Click to collapse
You are doing an awesome job! Hotplug looks interesting!
Woow! Thats the spirit!
Can't wait to get home from work and try it out! Keep up the good work man!
Sent from my precious!! HTC DX
Good Job!
xpirt,
Which base did you use to compile this new kernel? EU 2.20.401.5 or another one?
Thank you very much! I'll flash it ASAP!
Have a great day!
Enviado desde mi HTC Desire X usando Tapatalk 4
Please control if all govs are there because I think I did something wrong.. xD
xpirt
gbueno6 said:
xpirt,
Which base did you use to compile this new kernel? EU 2.20.401.5 or another one?
Thank you very much! I'll flash it ASAP!
Have a great day!
Enviado desde mi HTC Desire X usando Tapatalk 4
Click to expand...
Click to collapse
I don't remember which version is from htcdev.com but it works on all JB roms.
xpirt
Gonna test this right now
GtrCraft said:
Gonna test this right now
Click to expand...
Click to collapse
Thank you and please tell bugs you find.
xpirt
xpirt said:
Thank you and please tell bugs you find.
xpirt
Click to expand...
Click to collapse
Already found 2, I can only choose the stock governors and cpu spy doesn't work
GtrCraft said:
Already found 2, I can only choose the stock governors and cpu spy doesn't work
Click to expand...
Click to collapse
Good I knew.. xD
Editing OP. A #2 will come soon with expected features for #1.
xpirt
After sleeping for 10 min it wakes up faster then Prototype U's kernel (power button is more responsive too) and no lag :good:
GtrCraft said:
After sleeping for 10 min it wakes up faster then Prototype U's kernel and no lag :good:
Click to expand...
Click to collapse
Yeah but it's better to have new govs and see prototype-u's last screenshot he has built it to #34 and it has also a freq table.
Btw I am not a kernel dev and I'm still learning, a lot I learned from prototype-u, so don't expect much from me
xpirt
xpirt said:
Yeah but it's better to have new govs and see prototype-u's last screenshot he has built it to #34 and it has also a freq table.
Btw I am not a kernel dev and I'm still learning, a lot I learned from prototype-u, so don't expect much from me
xpirt
Click to expand...
Click to collapse
Still, this is a perfect custom stock kernel with only write protection disabled, init.d support and some new I/O shedulers.
The rest is the same as stock and that is perfect for everyone who doesn't need all the custom governors etc.
GtrCraft said:
Still, this is a perfect custom stock kernel with only write protection disabled, init.d support and some new I/O shedulers.
The rest is the same as stock and that is perfect for everyone who doesn't all the custom governors etc.
Click to expand...
Click to collapse
xD My idea was to add some govs too and some new features.
But first builds are never perfect.
xpirt
Btw hopefully tomorrow the #2 build will come with govs mentioned.
xpirt
xpirt said:
Yeah but it's better to have new govs and see prototype-u's last screenshot he has built it to #34 and it has also a freq table.
Btw I am not a kernel dev and I'm still learning, a lot I learned from prototype-u, so don't expect much from me
xpirt
Click to expand...
Click to collapse
U have all my support. I am also trying to learn all that i can about kernels and ROMs so i can help in developement and maybe someday making my own stuff.
Sent from my precious!! HTC DX
xpirt, dude, i was gonna start my kernel thread with Stock + govs and scheds. When my test was finished, i was uploading and saw your thread..........
Maybe it will be overkill if i release one too. Plus, its not gonna be much different so wont matter, Anyways good luck:good::good:. If i manage to add something significant, maybe then i'll think abt release.
Regards
Yasir
neXus PRIME said:
xpirt, dude, i was gonna start my kernel thread with Stock + govs and scheds. When my test was finished, i was uploading and saw your thread..........
Maybe it will be overkill if i release one too. Plus, its not gonna be much different so wont matter, Anyways good luck:good::good:. If i manage to add something significant, maybe then i'll think abt release.
Regards
Yasir
Click to expand...
Click to collapse
Can you still upload yours? I want to test the difference between the 3

[KERNEL] MiRaGe - for Nexus 4 stock ROM 10/25/15

MiRaGe is a lean and efficient kernel for the stock Nexus 4 ROM with the optimizations and updates that are not included in Google's stock kernel. MiRaGe kernel fits squarely in the stock Nexus 4 ROM; all of the modules are integrated in the kernel just like the stock kernel and it should work with all AOSP ROMs that work with the stock kernel and boot image. However, only the current stock ROM is tested. If you decide to use MiRaGe, just flash and forget it since I have avoided adding more sysfs parameters. It is not my goal to enable all possible tweaking options and add every possible feature to the kernel such as multitude of governors, io schedulers, sweep2wake, fastcharge, etc. This kernel is not intended as a tweaker's kernel. You can, of course, tweak it as much as you want since that is your phone and kernel. But please try removing your tweaks before posting any problems. I always test the latest builds with the current stock ROM before posting here.
I am sharing exactly what I have developed for myself and posting here so that I can return at least a small part of what I have received from the open source community. I thought the amount of time I have spent for MiRaGe could be useful for others as well. In short, take it if you want it, leave it if you don't. But comments, suggestions are always welcome when they make sense.
Source Code:
Source code is based on Google's msm kernel source (currently android-msm-mako-3.4-lollipop-mr1.1) and a summary of my changes are below. You can find the full details of my changes and the complete source code in my repo.
Changes:
- synced with mainline Linux 3.4.110
- cleaned up kernel configuration and removed many unnecessary options
- removed kernel debugging options
- built with the Linaro toolchain (gcc 4.9.4 - 15.06) using standard krait and -O2 optimization
- removed AOUT and OABI support
- disabled both user-space msm_mpdecision and kernel-space msm_mpdecision
- removed msm_run_queue_stats, dcvs, and stock msm_mpdecision in the kernel
- added autosmp, a simple and efficient (by me) multi-core cpu hotplug driver
- disabled the user-space thermald and switched to kernel-based msm_thermal
- replaced CFQ with the latest BFQ as the default IO scheduler
- backported random and prandom updates from Linux 3.13 (no entropy depletion anymore)
- backported workqueue from Linux 3.8 to include many important improvements
- backported rwsem from Linux 3.11 to include lock stealing improvements
- backported mutex and rcu locking from Linux 3.10 and 3.8, respectively
- backported slub memory allocator updates from Linux 3.8
- backported cpufreq driver, ondemand, and conservative governors from Linux 3.12
- updated interactive CPU governor from AOSP and CAF
- disabled userspace CPU governor,
- enabled callback-free CPUs (RCU_NOCB_CPU)
- backported TCP Small Queues and CODEL net scheduler from Linux mainline and set as default
- updated kernel scheduler, msm-hotplug, msm-idle, msm-pm code from CAF and Linux mainline
- applied patch [v4] binfmt_elf.c: use get_random_int() to help with entropy depleting
- enabled autogroup scheduler and applied patch per-uid task group for Android
- added optimized ARM RWSEM algorithm
- added optimized ARM SHA1/AES routines
- enabled CPU-supported unaligned accesses
- disabled gentle fair sleepers in scheduler
- updated Qualcomm HW RNG driver from CAF
- enabled BPF JIT compiler for packet filters
- applied glibc patch to improve the performance of memcpy and memmove
- applied word-at-a-time ARM API patches
- enabled CPU overclocking up to 1.728 GHz with user-space vdd control
- optimized vdd curves, L2 and bus speeds for better performance and efficiency
- removed unneeded a2xx and a4xx components from kgsl driver
- modified the prima wifi driver to disable debug code
- removed PMEM completely, MiRaGe is pure ION
- add support for kernel mode NEON and NEON acceleration
- add NEON optimized SHA1, SHA256, and SHA512 crypto code
- add LoUIS API for cache maintenance ops to improve cpu hotplug latency
- added and enabled power_efficient workqueue
- added and enabled msm memutils
- added screen gamma, user space cpu voltage control, and dt2w
- backported devfreq driver from CAF and switched kgsl 3d governor to simple_ondemand
- backported many other fixes/updates/optimizations from CAF and Linux mainline, see the repo for details
- init.d supported if /etc/init.d and busybox are available
- a diff file of changes to ramdisk is here
Downloads:
Boot image for stock ROM:
LMY standard kernel Built: 10/25/15 MD5sum: a315cc446499d60cb4b3a61ea7bfa8f8
LMY overclock kernel Built: 10/25/15 MD5sum: 7c72a66830f511b025968db2bb743429
Anykernel updater for custom ROM:
Revert back to stock kernel to restore the original ramdisk and flash anykernel package of MiRaGe after that. This is not needed in the next anykernel update.
LMY standard kernel Built: 10/25/15 MD5sum: 85b4136ac0ada793da7b80763193095a
LMY overclock kernel Built: 10/25/15 MD5sum: 2924fb6a963b40087c296a7b1abfc1d3
KTU standard kernel Built: 10/31/14 MD5sum: dca7d06933eb43c8da3ba7941bb6ac88
KTU overclock kernel Built: 10/31/14 MD5sum: dca7d06933eb43c8da3ba7941bb6ac88
The only difference between the standard and overclock builds is the ~100mV undervolt in the overclock build. Both kernels have maximum CPU_freq = 1.728 GHz, default CPU_freq = 1.512 GHz, overclocking, and user space cpu voltage control enabled. Since the CPU gets hot quickly in Nexus 4, I only recommend overclocking with the overclock build that has built-in undervolt. If the phone doesn't boot with overclock kernel, it means that your CPU is not able to handle the undervolt settings. In that case, you can just reboot into recovery and flash the standard kernel. No-frills CPU Control is recommended to set the max overclock frequency. Each CPU has different overclock/undervolt ability. Don't get disappointed if the OC build doesn't work for you.
Installation:
You can do one of the followings
- Flash the zip files in recovery, there is no need to wipe cache or dalvik-cache
- Flash the boot image in the zip file using either Flash Image GUI or fastboot
- Here is the original boot image for LMY48I build, in case needed for going back to stock. Either flash in the recovery or open the zip file to extract the boot image.
Credits:
- Special thanks to Linux, Google, CAF, Linaro developers in general.
- @tvall, @bedalus, @xboxfanj, @ihancioglu, @xenyz for collaboration
- @stratosk for the screen gamma interface and dt2w
- @defconoi for collaboration (see Unleashed Kernel Series)
- @mathkid95 for the any-kernel updater package
- @joeykrim for FlashImageGUI
- @Christopher83 for the optimized Linaro toolchain builds
- Other credits are given in the repo for each commit
Recommendations:
I am frequently receiving requests to add sound patches in the kernel. I agree that the sound is not very good but there are solutions. I am using the Viper4AndroidFX as a replacement sound processor. I recommend giving it a try. You need to go to the sound options and select ViPER4AndroidFX to use this sound processor or freeze MusicFX (I use Link2SD for this). There is plenty of information at the above link. With this available, I am not planning to add any sound patches.
Another frequent question is about choosing CPU governor and IO scheduler. In the earlier builds, interactive governor had the best balance of performance and battery life among other CPU governors and it is still available. In the latest builds, ondemand governor was backported from Linux 3.12 and replaced interactive as the default. The latest patches in the mainline Linux, especially stratosk's patch that optimized the load calculations made the new ondemand governor the better option regarding both power and performance. Regarding IO scheduler, BFQ scheduler has the best overall real-use performance and it is actively maintained/improved. You can use Nofrills CPU Control to change the governor and scheduler. But I would leave the defaults as BFQ scheduler and ondemand governor.
Since all of the cpu power control functions are contained in the kernel with MiRaGe, the userspace PowerHAL library will be giving the following messages in the logcat.
Code:
E/PowerHAL( 511): touch_boost: failed to send: No such file or directory
E/PowerHAL( 511): touch_boost: failed to send: No such file or directory
E/PowerHAL( 511): touch_boost: failed to send: No such file or directory
These are harmless but if you want to eliminate them, just make a backup and delete/rename /system/lib/hw/power.msm8960.so and power.mako.so. The single purpose of touch_boost is to enhance the system response to the user interaction. But using a service in the user space to send a touch boost signal to the kernel via slow sysfs file system is the wrong way of trying to achieve lower latency. In addition, every touch input doesn't need a CPU frequency boost which wastes battery power. The best way of achieving the low-latency system response to user interaction is improving the efficiency of existing CPU governor which raises the CPU frequency and hotplug driver which enables off-line cpu cores when needed. In MiRaGe, CPU freq is only controlled by the CPU governor based solely on the CPU load and the latency is low since efficiency is improved by reducing such unnecessary bloat. Additionally, highly-efficient autosmp hotplug driver works in-sync with the CPU governor to enable off-line cpu cores when the the CPU frequency reaches a high threshold and still more compute power is needed. Therefore, touch boost bloat is removed.
With some of the custom ROMs, root is lost after flashing MiRaGe because of using the init scripts in the ramdisk for starting the su daemon. SuperSU is the recommended solution. I might switch to any-kernel-updater to address this problem but as written in the OP, MiRaGe is primarily for the stock ROM. Also, having the full boot image in the zip file is more reliable than expanding/processing/repacking the boot image.
MiRaGe supports init.d if it is setup. To setup init.d do the followings either within ES File Explorer or terminal .
- install busybox (I use busybox on rails)
- create /system/etc/init.d and chmod to 755 (rwxr-xr-x)
- create your init scripts in the /system/etc/init.d directory. Name them 01yourscriptname (e.g. 01mysettings) and chmod 755. Make sure they are UNIX format (not in DOS/Windows).
example:
Code:
#!/system/bin/sh
echo 1 > /sys/devices/virtual/input/lge_touch/dt_wake_enabled
- reboot
Here is how to add multiROM support
How to build:
If you are going to distribute your builds, please don't build your binaries with the same name (i.e. MiRaGe) and distribute in this thread. I would recommend you to start an alternative thread. Otherwise the problem reports will be too confusing for everyone.
First requirement is an ARM toolchain for cross compiling, i.e. using an X86 computer to generate ARM binary. I use Linaro tool chain for cross compiling like many others since Linaro specifically develops tool chains that produce optimized binary for ARM architecture.
Linaro toolchains can be downloaded from Linaro binary page. Christopher83 has built the latest Linaro-14.08 toolchain based on gcc-4.8.4 which is stable/reliable and I recommend starting the development with this toolchain.
The binary Linaro toolchain for Linux package needs to be expanded in a certain directory, probably inside the home directory. The source code for kernel is available in my Github repo, You can either download the kernel source as a compressed package or you can git-clone it with the following command (you will need git installed in your Linux computer)
Code:
git clone https://github.com/mrg666/android_kernel_mako.git
The kernel source can again be in a specific home directory.
After the source and toolchain are prepared, copy the configuration file for shooter, arch/arm/configs/mako_config, as .config to the root of the kernel source and use the following command to build the kernel
Code:
make ARCH=arm CROSS_COMPILE=~/untarred-toolchain-dir/bin/arm-linux-gnueabihf- zImage -j8
Replace j8 in the above command according to the number of cpus you have on your computer.
Also set CROSS_COMPILE based on the directory you have expanded the binary toolchain package in your home directory.
I always use the latest version of Xubuntu x64 (with custom built kernel) on my Linux workstation that has a AMD FX-8320 (overclocked to 4.2 GHz), 8 GB RAM, 500 GB HD. The compile time is about 2 minutes for me using all 8 cores. I have been using Ubuntu since version 10.04 to build Gingerbread, Jellybean, and Linux kernel and updated the OS to each and every new version, all of them worked just fine. There is no magic version of Ubuntu. The build problems arise from the package requirements not the OS version.
The flash package is easy. Just use any-kernel updater package in the OP as a template and replace zImage in /kernel directory with your build. If you want to create a boot image, see this post
Now that you have source and can build the kernel, you can add all the features you want to your own kernel
Woww greatt, thanks mirage
many thanks Mirage!
Does JSS come with caf video driver or it can be flashed on non-cm roms without problems?
Inviato dal mio Nexus 4 con Tapatalk
Good to see new kernel which goal is simplicity, not many of them are here. ill try it when clean instal comes to repertoar. just one question, you didnt mention -O3 and gcc 4.8.2, so i asume you didnt use them? Thanks.
Poslano sa mog Nexus 4 koristeći Tapatalk
I haven't updated the video driver from CAF ... yet. I will do after the 4.4 update if Google hasn't done yet.
Kernel is compiled with gcc 4.7.4 using -O2 optimization. gcc 4.8 was not giving me reliable builds yet. I will switch when 4.8 becomes stable. I have tried O3 optimization in the past and I didn't see any benefit of it. Plus, O3 optimization caused reliability issues especially with the latest gcc compilers.
MiRaGe should be compatible all AOSP-based ROMs, as long as the same user-space libraries are used with the stock 4.3 ROM. I can't claim universal compatibility since even stock JSS and JWR builds need different kernels.
Would you consider making a ZIP?
I found your kernel to be quite interesting, but I don't really like flashing via IMG file.
C.T.Richter said:
Would you consider making a ZIP?
I found your kernel to be quite interesting, but I don't really like flashing via IMG file.
Click to expand...
Click to collapse
you can download one of 1000 kernels around here and replace the kernel.img ... and wholà you have a zip version.
anarkia1976 said:
you can download one of 1000 kernels around here and replace the kernel.img ... and wholà you have a zip version.
Click to expand...
Click to collapse
Can't agree with you more but the problem with so many people on xda is that they rarely even open up a zip file to see how it operates. Guarantee most of the people will shy away simply because of the lack of a zip. Again I agree its not that hard to do but lets be honest here most have problems searching so taking a boot.img and putting it in a zip probably aint happening
I have just uploaded the alternative flashable zip files. I will remove the image files since they are in the zip files now.
Just flashed on slim and lost root... Just a heads up
Sent from my Nexus 4 using XDA Premium 4 mobile app
anarkia1976 said:
you can download one of 1000 kernels around here
Click to expand...
Click to collapse
LOL that's right!
QUIETLYloud said:
Just flashed on slim and lost root... Just a heads up
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
That can't happen due to flashing the zip files in the OP since there is nothing in the zip file that touches /system, it is not even mounted.
Gonna give it a go on Vanir. I'll report back of my root gets effected. Happened a lot with 4.3 when it first came out
Sent from my Nexus 4 using Tapatalk
DontPushButtons said:
Gonna give it a go on Vanir. I'll report back of my root gets effected. Happened a lot with 4.3 when it first came out
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I am using CWM 6.0.4.4. It is constantly suggesting to restore my root although it is not lost. If this is what is mentioned here, just ignore it; root is not lost. SuperSU, su keep working. Actually, I am losing my patience with CWMT lately. Maybe it is time to switch to TWRP.
mrg666 said:
I am using CWM 6.0.4.4. It is constantly suggesting to restore my root although it is not lost. If this is what is mentioned here, just ignore it. Root is not lost. SuperSU, su keeps working. Actually, I am loosing my patience with CWMT lately. Maybe it is time to switch to TWRP.
Click to expand...
Click to collapse
I'd say it's long overdue to switch to twrp lol. Ever since I switched to twrp back on my rezound, I have NEVER looked back to cwm. Not to say cwm isnt/wasn't great.. But you know how it is lol.
Sent from my Nexus 4 using Tapatalk
DontPushButtons said:
I'd say it's long overdue to switch to twrp lol. Ever since I switched to twrp back on my rezound, I have NEVER looked back to cwm. Not to say cwm isnt/wasn't great.. But you know how it is lol.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I just don't like the "overdesigned" interface of TWRP. It is too fancy for my taste. But as long as it works when needed, it would be fine with me. I don't boot into recovery so frequently anyway since I flash the kernel in fastboot or Flash Image GUI.
Oddly enough, I lost root. I'm currently running the latest version of Paranoid Saberdroid.
C.T.Richter said:
Oddly enough, I lost root. I'm currently running the latest version of Paranoid Saberdroid.
Click to expand...
Click to collapse
Is it just what the recovery says? I use the stock JWR ROM and root is preserved when I flash although CWMT falsely complains about it.
Edit: I just tested with TWRP as well. Root is still preserved.
mrg666 said:
Is it just what the recovery says? I use the stock JWR ROM and root is preserved when I flash although CWMT falsely complains about it.
Edit: I just tested with TWRP as well. Root is still preserved.
Click to expand...
Click to collapse
Using TWRP there is no error message, it just says it was installed successfully.
I just tried it on a clean install, and the same thing happened.

[KERNEL][Jet][AOSP][4.4][26Jul] Bubba Kernel

Disclaimer:
#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.
* blah blah blah you get the point.
*/​
1# post: Disclamer - special thanks
2# post: Current release & source
3# post: FAQ - bugs - future features
Donator List: (huge thanks for support)
here
Suggested kernel control app: trickstermod
I don't know if it works because i don't own the device but i have got ville which is pretty similar
[GUIDE]How to compile a kernel
Credits and Thanks:
dsixda, showp1984, ngtools, faux123, Christopher83, franciscofranco, msm8960 team, jrior001
XDA:DevDB Information
AOSP Bubba Kernel, Kernel for the Sprint HTC EVO 4G LTE
Contributors
rmbq
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2014-07-26
Current Beta Version: 24 Apr
Beta Release Date: 2014-04-24
Created 2014-04-23
Last Updated 2014-07-26
Reserved
Features:
Based on linux 3.4.99
Compiled with linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
Linaro -O3 optimization
avaiable CPU governors: interactive, ondemand, performance, powersave, intellimand, intelliactive
avaiable GPU governors: ondemand, performance, simple
avaiable schedulers: row, deadline, noop, cfq, bfqv7r4, fiops, sio
Sleepy Plug
NTFS read & write support
exfat support
UTF8
Voltage control
Sweep2Wake
Double tap 2 wake
Pocket detection
Intelli-thermal
zRam with LZ4 compression
zCache with LZ4 compression
CPU OC to 1.7 GHz
GPU OC to 512MHz (3D) and 320MHZ (2D)
Faux sound control v. 3
Improved alghorithm: SHA1, AES, SQRT, lib/string (glibc version), lib/memcopy (glibc version), XOR (neon)
dynamic fsync by faux123
fastcharge
powersuspend driver (replace earlysuspend)
KCAL control (RGB)
heavly patched memory allocators, RWSEM and mutex (take a look at my github, too many changes to make a list here)
Changelog:
Code:
[JUL 26 2014]
Revert "prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID."
Revert "prctl: adds PR_SET_TIMERSLACK_PID for setting timer slack of"
add qseecom support
some defconfig changes
cpufreq: revert CAF's cpu policy save code
sched/cpuidle: reduce IPI storm. Backport upstream 3.16
mm, hugetlb: improve page-fault scalability
mm: per-thread vma caching
update compiler to linaro toolchain 4.9.1 2014.07 optimized for cortex-a15
update to 3.4.99
added KCAL control by faux and fixed by me
add F2FS support
Revert "msm: htc: update mem mapping"
[JUL 17 2014]
update to 3.4.98
sync with cm
sync with codeaurora/kk_2.7-stable
update sleepy_plug
bfq: BFQ-v7r5
bugfix from google (see github)
[JUN 29 2014]
Remove JustArchi GCC flags cos they are unstable
update to 3.4.95
sync with CM
sync with codeaurora/kk_2.7-stable
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
[JUN 19 2014]
update compiler to linaro toolchain 4.9.1 2014.06 optimized for cortex-a15
update to 3.4.94
remove -fdata-sections GCC flag (cause of reboot issue)
sync with CM
sync with codeaurora/kk_2.7-stable
updated sleepy_plug
[JUN 09 2014]
sync with codeaurora/kk_2.7-stable
memset patch to fix bootloops
[JUN 08 2014]
3.4.92
reverted some KGSL CAF patches
removed -ftrace flag
sync with CM
improved int_sqrt algorithm
update bfq to v7-r4
[MAY 28 2014]
sync with codeaurora/kk_2.7-stable
update sleepy_plug
cpufreq: ondemand: Calculate load_at_max_freq based on current policy->max
sched: add do_avg_nr_running to fix avg_nr_running
increase base address
revert 24 May changes
[MAY 24 2014]
Increase ramdisk_offset
[MAY 19 2014]
update to 3.4.91
merge codeaurora/kk_2.7_rb1.38
update bfq to v7-r3
sleepy_plug now supports quadcore CPUs
fix headset support (CM)
new GCC flags
update compiler
[MAY 03 2014]
block: support volname for HTC devices with proc/emmc support
[MAY 02 2014]
compiled with Linaro GCC 4.9.1 optimized for cortex-a15
sync with CM
update devices_htc from Jet jb 4.3 kernel
update headset driver from Jet jb 4.3 kernel
update memory mapping (more RAM avaiable)
update pn544 driver
update bma250 driver
[APR 29 2014]
update to 3.4.88
sync with codeaurora/kk_2.7-stable
some other CAF patches
[APR 25 2014]
fix s2w
[APR 24 2014]
added s2w and dt2w with pocket detection (from torched sources)
enable BLN
[APR 23 2014]
first release
If you like my work please consider making a donation, I spend almost all my free time on making this kernel the best
i'll buy another phone to continue to support the android development!
Download:
androidfilehost folder: http://www.androidfilehost.com/?w=files&flid=14092
normalToQV: http://www.androidfilehost.com/?fid=23501681358544069
(if you don't see the new version just wait some minutes, it's uploading)
Kernel Source: Github
Reserved
Q: What is QV version?
A: QV means "qualcomm voltages". qualcomm made a patch and stuck all voltages to 1150mv to improve stability. QV version has got all 1150 mv for each freq (like older 3.4 kernels).​Q: I plugged in my pen drive but i can't found it
A: look in /mnt/usbdisk folder.​Q: What's and how i enable/disable fastcharge?
A: with fast charge an USB charger will recognized as AC charger. it won't charge your phone faster with an AC charger. it may not charge your phone faster with an USB charger.
with the usb cable UNPLUGGED edit /sys/kernel/fast_charge/force_fast_charge:
0 -> disable
1 -> enable
than plug in the cable​Q: i've got random reboots, what do you need?
A: first read here
write this info:
kernel version
ROM
governor
scheduler
undervolted? if yes don't undervolt
QV version? if no use it
last_kmsg
Q: what's BLN and how i enable/disable it?
with BLN on when you received a notify the soft key will blink.
to enable/disable edit /sys/class/leds/button-backlight/blink_buttons:
0 -> disable
1 -> enable​Q: what's s2w and how i enable/disable it?
Sweep2wake allows you to wake up your device by swiping your finger across the capacitive buttons from left to right. Swiping from right to left will put it back to sleep (sweep2sleep).
to enable/disable edit /sys/android_touch/sweep2wake:
0 -> disable
1 -> enable​Q: what's dt2w and how i enable/disable it?
DoubleTap2Wake (DT2W) allows you to wake the device by double tapping the capacitive buttons.
to enable/disable edit /sys/android_touch/doubletap2wake:
0 -> disable
1 -> enable​What's sleepy_plug and how can i activate/deactivate it?
sleepy plug it's an hotplug driver (it decide when turn on the second core) i wrote. it's an experimental driver and it may have got performance problem. if you notice some decrease in performance report it.
to enable/disable edit /sys/module/sleepy_plug/parameters/sleepy_plug_active:
0 -> disable
1 -> enable​Install instruction:​S-OFF:
- flash the zip in recovery
- wipe caches (optional)​S-ON:
Windows & Linux:
flash kernel zip.
stay in recovery after flashing the zip
from command prompt (ot terminal) on PC:
Code:
adb pull /tmp/newboot.img
adb reboot-bootloader
fastboot flash boot newboot.img
fastboot reboot
OLD S-ON INSTRUCTION:
Linux:
- flash awesome kernel cleaning script: http://d-h.st/HDi (optional)
- flash the zip in recovery (obsolete, for older kernels with modules outside built outside)
- use zImage switcher to make a new boot.img
-
Code:
fastboot flash boot newBoot.img
Windows: (don't ask me how it works or everything else, i don't know and they have got tutorials on their site)
- repack your ROM boot.img with mine zImage using Virtuous Ten Studio http://www.virtuous-ten-studio.com/index.php/downloads
-
Code:
fastboot flash boot newBoot.img
Bugs 3.4:
None
If you want to use my kernel for your ROM just use it and cit me in credits
This is pretty sick gonna give it a whirl as soon as I'm free, but I had thought that HTC hasn't released our kernel to the devs so this will probably brick our devices since it's a port right ??
the kernel
Sent from my EVO using xda app-developers app
ultimatelegend1 said:
This is pretty sick gonna give it a whirl as soon as I'm free, but I had thought that HTC hasn't released our kernel to the devs so this will probably brick our devices since it's a port right ??
the kernel
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
i don't know what you are saying!
you have got official CM support (idd you have got, for example, this ROM http://forum.xda-developers.com/showthread.php?t=2633324 that is AOSP). this kernel is for aosp so, what's the problem?
Nice work MBQ! thanks a lot for this I'm going to be using it tonight
Sent from my EVO using Tapatalk
U see after the sense 5 4.3 update our phones received the partition layout changed and with it came an updated kernel but since HTC hasn't released the new kernel this could possibly brick phones on the new layout but it might work with phones on the old layout, listen I'm no expert if anyone here on the new partition flashes this plz do report back so that we can now if this is compatible
Sent from my EVO using xda app-developers app
ultimatelegend1 said:
U see after the sense 5 4.3 update our phones received the partition layout changed and with it came an updated kernel but since HTC hasn't released the new kernel this could possibly brick phones on the new layout but it might work with phones on the old layout, listen I'm no expert if anyone here on the new partition flashes this plz do report back so that we can now if this is compatible
Sent from my EVO using xda app-developers app
Click to expand...
Click to collapse
this kernel doesn't change the partition layout
P.S. you can't brick the phone flashing a kernel
I didn't say that it would change the layout , and thanks for the new info I thought that flashing an incompatible kernel could possibly brick a device
Sent from my EVO using xda app-developers app
Will definitely give this a go tomorrow and report back with results.
Sent from my SPH-L720 using Tapatalk
I couldn't wait until tomorrow. I first gave this a run using a nandroid of an OmniRom build, and I noticed that there are a few things that work or don't work well/at all. I tried again on a clean flash, and achieved the same results.
Working
USB Fast charge (yay)
Overclock
Not working
Sweep2whatever
Doubletap2wake
Custom governors not available
Custom schedulers not available
Not Working Well
I noticed that it is causing screen tearing during the transitions.
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.
Sent from my HP Pavilion g6 Notebook PC using Tapatalk
new version is up! with s2w dt2w and BLN
knock knock and s2w aren't working for me
rmbq said:
new version is up! with s2w dt2w and BLN
Click to expand...
Click to collapse
About to test right now.
aarsyl said:
I couldn't wait until tomorrow. I first gave this a run using a nandroid of an OmniRom build, and I noticed that there are a few things that work or don't work well/at all. I tried again on a clean flash, and achieved the same results.
Working
USB Fast charge (yay)
Overclock
Not working
Sweep2whatever
Doubletap2wake
Custom governors not available
Custom schedulers not available
Not Working Well
I noticed that it is causing screen tearing during the transitions.
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.
Sent from my HP Pavilion g6 Notebook PC using Tapatalk
Click to expand...
Click to collapse
about Sweep2whatever Doubletap2wake new version should fix them.
Custom governors not available & Custom schedulers not available: strange, which app are you using?
I noticed that it is causing screen tearing during the transitions.: could be try to use interactive governor
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.: on ville it's working so i don't think it's kernel related (same chip)
rmbq said:
about Sweep2whatever Doubletap2wake new version should fix them.
Custom governors not available & Custom schedulers not available: strange, which app are you using?
I noticed that it is causing screen tearing during the transitions.: could be try to use interactive governor
I experienced trouble connecting to my car bluetooth, but I'm not sure if that's rom related.: on ville it's working so i don't think it's kernel related (same chip)
Click to expand...
Click to collapse
Ok....update.
I flashed today's build (QV version), and here are the changes.
- The different governors now show up.
- Sweep/Doubletap options don't show up in TricksterMOD.
- I tried to force sweep2wake to work through Kernel Tuner, but the phone froze after I applied the new settings.
- I didn't notice your post soon enough to try the interactive governor. I will post an update soon.
aarsyl said:
Ok....update.
I flashed today's build (QV version), and here are the changes.
- The different governors now show up.
- Sweep/Doubletap options don't show up in TricksterMOD.
- I tried to force sweep2wake to work through Kernel Tuner, but the phone froze after I applied the new settings.
- I didn't notice your post soon enough to try the interactive governor. I will post an update soon.
Click to expand...
Click to collapse
have you got these files?
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
rmbq said:
have you got these files?
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
Click to expand...
Click to collapse
I'm a little busy right now, and I have already restored my Sense nandroid, so I can't check. I'm quite a busy bee when it comes to roms, so I will get back to you soon.
rmbq said:
have you got these files?
/sys/android_touch/sweep2wake
/sys/android_touch/doubletap2wake
Click to expand...
Click to collapse
Yes those two files are there.
when setting either of them to 1, when trying to us it my phone reboots.
Also no changes made after reboot seem to stick
Sent from my EVO using Tapatalk
shadowxaero said:
Yes those two files are there.
when setting either of them to 1, when trying to us it my phone reboots.
Also no changes made after reboot seem to stick
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
can you give me a last_kmsg?

[SM-T320][ROM][KERNEL][4.4.4][-Ofast][SaberMod]CM11 [OC UV][20/04]

Build compiled from our CM branch sources with various optimizations / kernel features
Final build for 4.4.4 released (20th April 2015)
Many of the new features can be configured by kernel tools like Synapse. Install synapse app from market and UKM zip from downloads section.
We have moved on to Lollipop thread.
V7 [Changelog]
KERNEL:
- New hotplugs - ALUCARD, MSM
- MSM_limiter
- Fix synapse stuff - GPU etc..
- Governor tweaks
ROM
- Latest CM 11 sources.
- Fix chrome issues
- Fix button lighting-up when screen is off
Recommeded: Alucard governor with Alucard hotplug.
This is my synapse profile: http://goo.gl/3EbMUS
Note: For V6 and above (and specially for governors like zzmoove / alucard) , using Trickster/Synapse:
1. Disable MP-Decision
2. Enable intelli-plug
3. Enable intelli-thermal
4. And set to restore kernel settings on boot.
Old changelogs
V6 [Changelog]
- ROM sources updated to 20th November.
- Switch from O3 to Ofast [Even more compiler optimizations] and Re-enable Justarchi compiler optimizations [We have given up on exfat]
- GPU should now idle to 27MHz [instead of earlier 200Mhz]
- GPU overclocked to 535Mhz [earlier 500Mhz]
- CPU should now idle to 268Mhz (instead of earlier 300Mhz)
- Port few of my favorite governors from Oneplus one kernel these days - zzmoove and alucard: Both have been awesome for me (credits go to Oneplus one kernel developers - @Lord Boeffla, @ZaneZam, @alucard_24) - I will eventually start removing some of the older CPU governors. Looks like we have lots of them now.
- Various kernel patches - arch power, cpu boost, gentle fair sleepers, software crc is off
- Upgrade BFQ scheduler to BFQ-v7r6
V5.1 [Changelog]
- Newer sources from 20141107
- fsync is now disabled (Defers file writes but risk of data loss with crashes etc. Can be enabled in trickster)
- tweak intelliactive (hispeed freq was 2457, calm it down to 1985)
- voltage tweaks for speed 1 pvs 2
- default IO schd BFQ
- Frequency throttle limit increased slightly (Thermal policies can now be controlled through Trickster)
V5 [Changelog]
- Newer sources from 20141102 and use SaberMOD Toolchain, GCC 4.8.2 for kernel as well as entire build.
- Add a new hotplug engine - IntelliPlug (developed and used in famous Franco's Kernel) - I recommend to use this one, and switch off MP-Decision. (Enable in Trickster)
- Add a new thermal engine - Intellithermal (again from Franco) - Recommend to use this one. (Enable in Trickster)
- Add USB Fast charge (Enable in Trickster)
- Add another performance centric governor - SmartMAX (Combines features of OnDemand and SmartASSv2), Use it as gaming driver.
- Tweak intelliactive - Recommend to use this as default (Interactive is battery friendly but a bit laggy)
- Add powersuspend
- Reduce VM Swappiness to 10 (We have enough RAM)
- Some GPU tweaks
Other features
- CPU Overclocks of upto - 2457Mhz
- GPU overclocks of upto - 500Mhz
- Voltage control (UV)
- Additional CPU governors - Intelliactive, Intellidemand, InteractiveX
- Additional IO Schedulers - SIO, FIOPS, ZEN, VR
- Tweaked thermal policies (aggressive by default)
- Lower GPU clocks by default
- Reduced logging
- Net tweaks - Lock initial TCP window size to 64k
- FS tweaks disable atime and diratime
- Some mixer_paths patches (for higher audio) and button light fixes (to not glow on screen touch)
- Compiler optimizations
Branches(Github):
GCC4.8/Linaro/O3 related fixes/tweaks:
https://github.com/vikrant82/android_build
https://github.com/vikrant82/android_external_valgrind
https://github.com/vikrant82/android_external_fuse
https://github.com/vikrant82/android_external_exfat
https://github.com/vikrant82/android_art
Device tweaks
https://github.com/vikrant82/android_device_samsung_mondrianwifi
Kernel
https://github.com/vikrant82/android_kernel_samsung_mondrianwifi
Buttons Fix
https://github.com/vikrant82/android_frameworks_base
Downloads
Final release for 4.4.4
V444Final-20150419-SM482-Ofast-mondrianwifi.zip
UKM zip - UKM 3.6.1
Old releases
V6 ROM - V6-ROM-20141120-SM482-Ofast-mondrianwifi.zip
V6 Kernel - V6-Kernel-20141120-SM482-Ofast-mondrianwifi.zip
V5.1 ROM - V5.1-cm-11-20141107-SaberMOD-mondrianwifi.zip
V5.1 Kernel - V5.1-Kernel-20141107-Kernel-SaberMOD-mondrianwifi.zip
V5 ROM - V5-cm-11-20141102-SaberMOD-mondrianwifi.zip
V5 Kernel - V5-Kernel-20141102-Kernel-SaberMOD-mondrianwifi.zip
V4.1 (CPU 2457Mhz, GPU 500Mhz) - V4.1-cm-11-20140803-Linaro-O3-OC-mondrianwifi.zip
V4.1 Kernel (CPU 2457Mhz, GPU 500Mhz) - V4.1-cm-11-20140803-Kernel-Linaro-O3-OC-mondrianwifi.zip
V4.2 (CPU 2457Mhz, GPU 500Mhz) - V4.2-cm-11-20140809-Linaro-O3-OC-mondrianwifi.zip
V4.2 Kernel (CPU 2457Mhz, GPU 500Mhz) - V4.2-cm-11-20140809-Kernel-Linaro-O3-OC-mondrianwifi.zip
V4.3 (CPU 2457Mhz, GPU 500Mhz) - V4.3-cm-11-20140829-Linaro-O3-OC-mondrianwifi.zip
V4.3 Kernel (CPU 2457Mhz, GPU 500Mhz) - V4.3-cm-11-20140829-Kernel-Linaro-O3-OC-mondrianwifi.zip
Thanks @crpalmer @franciscofranco
XDA:DevDB Information
[SM-T320][ROM][KERNEL][4.4.4][-Ofast][SaberMod]CM11 [OC UV], ROM for the Samsung Galaxy Tab Pro 12.2, 10.1, 8.4
Contributors
vikrant82
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.4.x
Based On: CyanogenMod
Version Information
Status: Testing
Created 2014-07-17
Last Updated 2015-04-19
excellent!
I'll try it later.
I always flash PurePerformances™X mod after every nightlie and it feels somewhat faster after it. I did flashed it on all my devices.
Maybe you can insert it in your future builds.
Keep them coming !
LE: mod link fixed
Thanks for this... Will give it a shot!
For anyone wanting to try this.. So far so good here. Hasn't been running long enough to make any major comparisons yet. Clean flashed, so not sure about dirty flashing.
I installed it over nightly and it runs pretty well but the playstore icons bug is pretty bad.
For now I moved on to the next nightly but if you can fix that bug I will surely flash it again.
csjneek said:
I installed it over nightly and it runs pretty well but the playstore icons bug is pretty bad.
For now I moved on to the next nightly but if you can fix that bug I will surely flash it again.
Click to expand...
Click to collapse
Should be fixed with Linaro 4.9 (thats next). Trying out a few more optimizations for next build (expect to post one on weekend).
vikrant82 said:
Should be fixed with Linaro 4.9 (thats next). Trying out a few more optimizations for next build (expect to post one on weekend). Target is to beat benchmark scores from stock.
Click to expand...
Click to collapse
Don't pay attention to benchmarks....
If you want to meet or beat stock, just turn off thermal throttling, enable all 4 cores and set performance as the governor. Make it a fair comparison...
Finally a linaro build!! Keep up the great work! Could you modify the kernel too? Overclock cpu and gpu would be awesome...
Gesendet von meinem SM-T320 mit Tapatalk
crpalmer said:
Don't pay attention to benchmarks....
If you want to meet or beat stock, just turn off thermal throttling, enable all 4 cores and set performance as the governor. Make it a fair comparison...
Click to expand...
Click to collapse
@crpalmer
I suppose we are talking about /etc/thermal-engine-8974.conf, /etc/thermal-engine.conf (symlinked to thermal-engine-8960.conf) and /etc/thermald.conf (symlinked to thermal-8960.conf) on cm builds. They seem to be using different set of values from stock.
Can't we not use these values/files directly-from/similar-to stock builds ? As the thermal engine libs and binaries we are directly picking from stocks ?
Is stock too aggressive or CM too defensive ?
Also noticed that these linked files are broken as well. (no thermal-engine-8960.conf and thermal-8960.conf). Some build script issues ?
vikrant82 said:
@crpalmer
I suppose we are talking about /etc/thermal-engine-8974.conf, /etc/thermal-engine.conf (symlinked to thermal-engine-8960.conf) and /etc/thermald.conf (symlinked to thermal-8960.conf) on cm builds. They seem to be using different set of values from stock.
Can't we not using these values/files directly-from/similar-to stock builds ? As the thermal engine libs and binaries we are directly picking from stocks ?
Is stock too aggressive or CM too defensive ?
Click to expand...
Click to collapse
I wasn't suggesting that you turn that off permanently, that's just what the stock ROM is most likely (automatically) doing when you run a benchmark. That's how you get a higher score, not how you have a better ROM...
My point being, don't worry about whether or not the scores are better, worry about the whole experience being better (which is very much is). On a phone of mine, CM was way more performant even though it scored less than half of stock's Quadrant score.
vikrant82 said:
@crpalmer
I suppose we are talking about /etc/thermal-engine-8974.conf, /etc/thermal-engine.conf (symlinked to thermal-engine-8960.conf) and /etc/thermald.conf (symlinked to thermal-8960.conf) on cm builds. They seem to be using different set of values from stock.
Can't we not using these values/files directly-from/similar-to stock builds ? As the thermal engine libs and binaries we are directly picking from stocks ?
Is stock too aggressive or CM too defensive ?
Also noticed that these linked files are broken as well. (no thermal-engine-8960.conf and thermal-8960.conf). Some build script issues ?
Click to expand...
Click to collapse
How is the new build? Linaro 4.9?
Gesendet von meinem SM-T320 mit Tapatalk
crpalmer said:
I wasn't suggesting that you turn that off permanently, that's just what the stock ROM is most likely (automatically) doing when you run a benchmark. That's how you get a higher score, not how you have a better ROM...
My point being, don't worry about whether or not the scores are better, worry about the whole experience being better (which is very much is). On a phone of mine, CM was way more performant even though it scored less than half of stock's Quadrant score.
Click to expand...
Click to collapse
I agree benchmarks are just academic (and just nice-to-have). I was just suggesting that we could use same thermal configuration files as found in stock builds. Are these even the files that would affect benchmarks (thermal-engine*.conf and thermald*.conf) ? Are you suggesting that stock build just shuts off any kind of throttling as soon as it detects benchmark tests ? I thought only some devices did that and they got caught.
I am building with linaro 4.9 and have swapped out those conf files from stock. Lets see how it goes.
vikrant82 said:
I agree benchmarks are just academic (and just nice-to-have). I was just suggesting that we could use same thermal configuration files as found in stock builds. Are these even the files that would affect benchmarks ?
I am building with linaro 4.9 and have swapped out those conf files from stock. Lets see how it goes.
Click to expand...
Click to collapse
Are the messed up icons fixed in play store?
iamnotkurtcobain said:
Are the messed up icons fixed in play store?
Click to expand...
Click to collapse
Expecting them to get fixed with this build. Lets see.
vikrant82 said:
Expecting them to get fixed with this build. Lets see.
Click to expand...
Click to collapse
I'll test as soon as it is available
iamnotkurtcobain said:
I'll test as soon as it is available
Click to expand...
Click to collapse
Unfortunately, Linaro 4.9 is breaking stuff. Getting into a bootloop n all. Need more time.
vikrant82 said:
Unfortunately, Linaro 4.9 is breaking stuff. Getting into a bootlock n all. Need more time.
Click to expand...
Click to collapse
Hope you can fix it!
iamnotkurtcobain said:
Hope you can fix it!
Click to expand...
Click to collapse
Been struggling with some adreno crashes on boot when using 4.9 toolchain. Earlier I thought it's the compiler optimizations not playing well with 4.9. But I run into same without any customizations -
Here's the logcat if anyone wants to take a look.
http://pastebin.com/eS0eHvzL
If I can't get around these in a day or two, we'll come back to 4.8 and carry on with other optimizations. I read somewhere the gibberish icons are fixed on newer play store.
vikrant82 said:
Been struggling with some adreno crashes on boot when using 4.9 toolchain. Earlier I thought it's the compiler optimizations not playing well with 4.9. But I run into same without any customizations -
Here's the logcat if anyone wants to take a look.
http://pastebin.com/eS0eHvzL
If I can't get around these in a day or two, we'll come back to 4.8 and carry on with other optimizations. I read somewhere the gibberish icons are fixed on newer play store.
Click to expand...
Click to collapse
Its probably the adreno libs built using older tool chains.
vikrant82 said:
Its probably the adreno libs built using older tool chains.
Click to expand...
Click to collapse
Just posted another build with today's sources with both CPU and GPU overclocks. Had to go back to older 4.8 toolchain. The overclocks are running surprisingly stable on device.
The playstore icons issue is still not resolved. Its being discussed here. However, I am not too worried by it.

[KERNEL][ALL VARIANTS][AnyKernel][v3.0] G3X-Ultimate Kernel for CM and AOSP ROM's

Introduction:
Welcome! I've developed ArtxKernel, with the aim to make a great and clean kernels for CM and AOSP ROM's, but this one is for those that don't want to mess with a lot of features, like a Flash and Use Kernel! Battery life its very impressive and this Kernel is the most clean that I've made, so, enjoy it
Click to expand...
Click to collapse
Features:
- CPU Input Boost
- Gov's: Interactive, OnDemand, Conservative, Powersave, Perfomance, Userspace, pegasusq, zzmoove, Alucard and IntelliMM
- Multicore power saving
- Alucard and Bricked hotplugs
- 27Mhz GPU
- Adreno Idler
- FastCharge Support (Updated, faster than ArtxKernel)
- PowerSuspend Mode
- Kcal color control
- Faux sound control
- Fifo, fiops, sio and zen schedulers
- Frandom support
- Async I/O, 37% more perfomance
- Fsync control
- init.d support
- Selinux permissive
- Fixed simple_ondemand GPU Gov
- 2-Way Stereo Call recording Patch
- PVS Level via sysfs
- Boosted min and max screen Brightness (It's safe)
- RAM, GPU and Battery optimizations
- Some Artx Optimizations
SmoothUnlocker:
If you want an extra boost flash it, check MEGA link, but take in consideration that it will make your Battery drain faster in exchange of perfomance and pure Smoothness
Downloads:
----------
MEGA
----------
Spectrum:
Wanna use it with Spectrum App? Then follow this simple steps:
• Download Spectrum Injector HERE (3rd post) Thanks to @frap129
• Flash the Kernel and then Spectrum Injector
• Put my Profile files in spectrum/profiles folder in your internal memory after boot
------
Profiles
------
• You're done, remember that you can change those configs with a text editor
Bugs:
If you see a bug, let me know and I'll be glad to help you and fix it
Social:
Wanna join a Telegram group of this Kernel? If you have any question or you need help, get in!
(let me know if the link is broken )
----------
Telegram Group
----------
Compatible with:
(Thanks to @marcdw and @jlb1959.01)
- Nougat ROM's
- Marshmallow ROM's
- Lollipop ROM's (Not confimed yet)
Thanks to:
cesarandres_8911, savoca, faux123, LineageOS Team, osm0sis, Feinzer
LG, matthewdalex, Andrei F, yarpiin and me
If anyone is missing here PM me
If you like the kernel and want to do a small donation it for sure gonna help me a lot and keep me motivated! :laugh:
Thank you and enjoy it!
​
XDA:DevDB Information
G3X-Ultimate, Kernel for the LG G3
Contributors
Stayn
Source Code: https://github.com/Artx-II/G3X_Kernel_lge_g3
Kernel Special Features: See above
Version Information
Status: Stable
Current Stable Version: 3.0
Stable Release Date: 2017-07-05
Created 2017-06-28
Last Updated 2017-08-19
Changelog!
Code:
[B]* v3.0[/B]
- Source updated
- Boosted min and max screen brightness (It's safe)
- Added 2-Way Stereo Call Recording Patch
- Added Governors: Alucard & IntelliMM
- PVS Level via SysFs
- RAM, GPU and Battery optimizations
- Some optimizations from Artx Kernel
- Cleaned a lot of code
[B]* v2.0[/B]
- Source updated
- Added Dualsim support
- Added Pegasusq Gov
- Added zzmoove Gov
- Added Alucard and Bricked hotplug
- 27Mhz GPU
- Adreno Idler
- Sound control (Replaces Faux)
- Power Suspend Mode
- Added fifo, fiops, sio and zen schedulers
- Added Frandom
- Kernel Selinux permissive
- Fsync control
- Compiled with updated UberTC
- General optimizations
- Battery improvements
[B]* v1.0[/B]
- Initial release
Smooth as butter, and charging so fast it's almost scary
Thank you
You need a banner for your OP which is called "KernelBae"
Anyway thanks for awesome job and new kernel.
Sent from my LG-D855 using Tapatalk
Stayn said:
Reserved
Click to expand...
Click to collapse
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
mohammadtalha93 said:
sorry to say but i still cant understand why this kernel when there are ARTX and Light kernels??
and is there any chance that it would work on stock rom ?
Click to expand...
Click to collapse
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
mohammadtalha93 said:
COOL.....but after trying every single custom rom MM or N......i went back to modded Stock rom because of stability and Camera Quality.... and literally i have tried EVERY SINGLE ROM out there.
Click to expand...
Click to collapse
I cannot use stock based ROMs, it's too much lag for me
Stayn said:
This kernel is more faster than artx and light kernels, I am of those who cannot see a little lag because that bothers me and this kernel keeps my device smooth...
I didn't tested it on stock and I don't think that it will work, anyway, I can try to build custom stock kernel but I think that it's too late now for build to marshmallow
Click to expand...
Click to collapse
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
francois amon said:
Nice too See a New kernel again.. But... You sad its fast er then the other kernel of yours. I'm using the latest LightKernel, so this Ultimate kernel is faster and i want to now if this kernel is better in battery life ?
Click to expand...
Click to collapse
Light and normal kernel has better battery life that depends on how you configure it
Stayn said:
Light and normal kernel has better battery life that depends on how you configure it
Click to expand...
Click to collapse
Allright then You. I will stay with the latest Light Version.
THX for reply
Iv been on this kernel all this morning and so far its great!
PS: Is it possible to add bioshock to this kernel?
Downloaded twice fot f400, both zip corrupted.
khnoizer said:
Downloaded twice fot f400, both zip corrupted.
Click to expand...
Click to collapse
Sorry dude, I re-uploaded it
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
khnoizer said:
So, default cpu governor is performance? I hope it doesn't drains battery so much, since I usually prefer to just use the default setting because I believe OP have the best balanced settings there.
Click to expand...
Click to collapse
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
Keep your time. You don't have to push an update all days. Let the users use it for a while and then report. One day with this kernel and report it is nothing. The system need time to get one with the kernel settings
G3X is pretty much beta. ArtX is not beta (IMO). If you want a more stable kernel use ArtX until this one gets all the kinks worked out.
Stayn said:
I don't know why your default gov is perfomance, change ir to interactive, I'll update this kernel soon... I'm a little busy for now on other things
Click to expand...
Click to collapse
I think I should also mention that I'm using RR 5.8.3 rom for F400 variant by oadam11, which is also have performance governor by default on its default kernel. Maybe there are something related.
Anyway, take your time, and thank you for your hard work.
EDIT: However, I've tried artxlight 2.1 but its governor wasn't set to performance by default. It was zzmoove.
Hi I have a little problem. When I flash through TWRP I get unsupported device and error 1. My device is d852.

Categories

Resources