[Kernel][4.4.3/4][CAF] CMx Kernel v0.3 - Nexus 4 Android Development

[Kernel][4.4.3/4][CAF] CMx Kernel v0.3
CMx is based on the latest CyanogenMod CAF kernel with several additions that enhance the user experience without deviating too far from CM's original code.
Additions to the stock CM experience
- faux123 sound control
- USB fast charge
- Enable ROW IO scheduler by default
Credits
CyanogenMod
anarkia1976
faux123
see github for more...
Source
https://github.com/CMx-Kernel
Download
v0.3
md5
8e94863c3813d4dca9dc90665519b451
v0.2.1
md5
a6efb7541dcee06ed8ff7227597e211a
v0.2
md5
73306120c47c298163537dc5b4ea8ae4
v0.1
md5
73306120c47c298163537dc5b4ea8ae4
XDA:DevDB Information
CMx Kernel, Kernel for the Google Nexus 4
Contributors
dshoe
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v0.3
Beta Release Date: 2014-08-26
Created 2014-08-09
Last Updated 2014-08-26

Reserved
Changelog
v0.3
- Removed many optimizations in favor of stability
- Reverted back to older style of USB fast charge
v0.2.1
- Set ROW as the default IO scheduler
- Fix random reboots
- Neon optimizations
- Sound Control: MSM8960DT/APQ8064 ONLY: Fix logic derp
v0.2
- CMx version can be viewed in “About phone”
- Krait optimizations
- Linaro optimizations
v0.1
- faux123 sound control
- USB fast charge

I'm glad to see you here[emoji6]

montbazon said:
I'm glad to see you here[emoji6]
Click to expand...
Click to collapse
Thank you! Have we met before? I just whipped up this kernel because it's something I've been wanting for a while. I have a few more changes in the works as well.
Sent from my Nexus 4 using Tapatalk

dshoe said:
Thank you! Have we met before? I just whipped up this kernel because it's something I've been wanting for a while. I have a few more changes in the works as well.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Nope, but i was a big fan of carbon rom.
For now i'm using cm though...

montbazon said:
Nope, but i was a big fan of carbon rom.
For now i'm using cm though...
Click to expand...
Click to collapse
May we 'request' some features or we we'll keep getting CM kernel with just those 2 additional features?

Konstantinos said:
May we 'request' some features or we we'll keep getting CM kernel with just those 2 additional features?
Click to expand...
Click to collapse
IMHO we can 'suggest' to him what we want. But Accept or not is up to his mind[emoji6]

Yeah, suggest. I couldn't remember the word, that's why i said 'request'. xD

Konstantinos said:
Yeah, suggest. I couldn't remember the word, that's why i said 'request'. xD
Click to expand...
Click to collapse
That's OK. I could understand. Cause I'm foreigner like you.
And This forum guys are way generous to our language fault[emoji4]

montbazon said:
That's OK. I could understand. Cause I'm foreigner like you.
And This forum guys are way generous to our language fault[emoji4]
Click to expand...
Click to collapse
Well, my English is 90% perfect. I just didn't put some thought into it and posted right away.

montbazon said:
Nope, but i was a big fan of carbon rom.
For now i'm using cm though...
Click to expand...
Click to collapse
Oh, great! Glad to see you around here.
Konstantinos said:
May we 'request' some features or we we'll keep getting CM kernel with just those 2 additional features?
Click to expand...
Click to collapse
No you may request, but I have a very tight schedule so no guarantees.
I did find a potential bug with the fast charge implementation so please do not use that as of right now. At least until I can confirm what's going on with my end.
EDIT
Everything seems to be working for me now, but I did run into a strange issue where my phone would not turn on after charging all night with fast charge turned on at 1500ma. If anyone runs into the same issue, plug your phone into the computer until it turns on again. I will be testing this thoroughly over the next couple days.

I've been testing the kernel all day and charging it with fast charge on and off, and have not had any new issues. I believe the kernel is safe to use now, if anyone has any issues please let me know. I will continue to test this thoroughly and will provide ant new information I have.
Sent from my Nexus 4 using Tapatalk

v0.2 is now in testing. I have been running this build since yesterday and it seems to be stable. If I get some positive feedback I will update the OP, and if I don't hear from anyone then I will continue to test for another day and then update the thread if there are no issues.
v0.2
- CMx version can be viewed in “About phone”
- Krait optimizations
- Linaro optimizations
Download
v0.2
md5
73306120c47c298163537dc5b4ea8ae4

v0.2.1
- Set ROW as the default IO scheduler
- Fix random reboots
- Neon optimizations
- Sound Control: MSM8960DT/APQ8064 ONLY: Fix logic derp
v0.2.1
md5
a6efb7541dcee06ed8ff7227597e211a

Gonna try this out. Thnx!

Rev4 said:
Gonna try this out. Thnx!
Click to expand...
Click to collapse
Let me know what you think, I have some more changes and fixes in the works.
Sent from my Nexus 4 using Tapatalk

v0.3 Release
I just uploaded v0.3 which is much more stable and simplified. Enjoy, there's more to come.
Changelog
v0.3
- Removed many optimizations in favor of stability
- Reverted back to older style of USB fast charge
Download
v0.3
md5
8e94863c3813d4dca9dc90665519b451

Related

[Kernel][10APR][Arc/S][CM10/10.1]Experimental-Only testers

On user demand I brought Experimental kernel to Arc/S. I know emwno's kernel has until now some of my changes merged (he asked me first) but this one will continue to test changes for "power users" to see if we can improve it even more, and after that any kernel builder can merge/cherry pick commits from my github.
I don't own an Xperia Arc so bugs that I'm not aware of may appear.
Please only experienced users should test this kernel!
After the previous changes were integrated in the main kernel I started again with some experimental changes this time. Here they are, and please remember to thank Garwedgess&FXP first
Code:
Changes
[B]Experimental#2[/B]
[COLOR="Red"]WARNING[/COLOR]: redownload and reflash modules!
-Update to new ALS configuration
-Remove some unused governors and I/O schedulers
-Add dm-cache (check [URL="http://visa.cs.fiu.edu/tiki/dm-cache"]here[/URL])
-Remove some more debug and disable frame_pointer and arm_unwind
-Mutex to use generic xchg-based implementation for ARMv6+
-new opt flags
-Binder fixes and updates (check [URL="https://github.com/paul678/semc-kernel-msm7x30/commits/experimental2"]github[/URL])
-compiled for CM10.1 also (needs testing)
-maybe more
[B]Experimental#1[/B]
-More RAM (386 total)
-Enable support for unaligned access
-Optimize LMK
-Armv7 optimizations
-Updated KGSL drivers - part of changes below:
*KGSL-change:
add tracepoints
cleaned power states
Create a separate pool for mapping kgsl allocations
Store process mem entries in a rbtree
Allocate physical pages instead of using vmalloc
disable early suspend and late resume for 2d cores.
moved some gpu registers
and many many more...to much code!
*Other
-Patch LMK to not kill the same pid over and over
-We got [FONT="Comic Sans MS"]touch boost[/FONT] on Interactive governor
-Add frandom
--Undervolted a bit and change high freq voltages, 1.6ghz may be stable now(use it carefully!)
-Changes from CM10
-remove bits of debugging
-disable KSM: better this way, was doing a lot of useless work => wasting cpu cycles
-removed useless I/O schedulers
-removed many governors->use interactive
-Hopefully increased WiFi sensibility
-Increased readahead
-backported part of framebuffer from 3.0.x
- use only non-blocking Urandom
-&some other stuff I can't recall now
Downloads
-Kernel CM10
-Kernel CM10.1(Not booting atm)
-WiFi modules
-Usb-Otg modules
Warning:
-this build contains experimental changes and reboots may appear. It's recommended to wipe caches after you flash and please return with feedback regarding anything.
-Prototype kernel to test ideas so every developer is welcomed to propose changes.
-Any kernel developer can feel free to merge/cherry-pick my commits but let me know first as some o them may not be stable
-use Lupus as a stable kernel.
-I'm not responsible for anything that can happen to your phone.
Code:
Up next:
-Working on Experimental#4 (Neo/V build)
My Github
Thanks:
Garwedgess: Base Source
Mechmetal: Help
FXP: CM10
Code Aurora: Patches
So you finally brought it over. Great job with the kenrel btw. And their shouldn't be any new bugs for arc/s users as the 2011 devices only have minor differences in source.
you forget to update op title
so this 3.0?
darkevilmagic said:
so this 3.0?
Click to expand...
Click to collapse
no still 2.6.32.9
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
I attached latest CM10.1 Kernel for arc.
om22 said:
no still 2.6.32.9
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
I attached latest CM10.1 Kernel for arc.
Click to expand...
Click to collapse
Where did you take the 10.1 kernel from?
zandm7 said:
Where did you take the 10.1 kernel from?
Click to expand...
Click to collapse
from latest build it´s included in zip: http://forum.xda-developers.com/showthread.php?t=2147958
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
My scores eith this kernel and last cm 10 with bestt addon
Sent from my Xperia Arc S using xda app-developers app
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
More
Sent from my Xperia Arc S using xda app-developers app
emwno said:
So you finally brought it over. Great job with the kenrel btw. And their shouldn't be any new bugs for arc/s users as the 2011 devices only have minor differences in source.
Click to expand...
Click to collapse
Thanks, and yes I know but I put it on first post just to be sure I don't get complaints :laugh:
om22 said:
Paul would it be a problem for you to compile this Kernel for CM10.1 or is this not possible?
After my knowledge it just needs another Ramdisk is that right?
Click to expand...
Click to collapse
Maybe I'll do it, will take a look when I have free time
n1kolaa said:
My scores eith this kernel and last cm 10 with bestt addon
Click to expand...
Click to collapse
Which bestt addon?
Also can someone turn on Pointer Location from Developer options an tell me what is the lowest recorded touch PRS(upper right corner you will see PRS and Size) but remember touch not swipe. Thanks
n1kolaa said:
My scores eith this kernel and last cm 10 with bestt addon
Sent from my Xperia Arc S using xda app-developers app
Click to expand...
Click to collapse
how about battery drain?
i really want to try paul's kernel, and finally it's here.
thanks so much! :highfive:
These modules are big as they are uploading for several hours
Re: [Kernel][31MAR][Arc/S][JB]Experimental-Only testers
Im using oc....its ok...i was used 1.2 oc now and Also 1.4 but ...i recomend 1.2
Sent from my Xperia Arc S using xda app-developers app
n1kolaa said:
Im using oc....its ok...i was used 1.2 oc now and Also 1.4 but ...i recomend 1.2
Sent from my Xperia Arc S using xda app-developers app
Click to expand...
Click to collapse
If you are running an arc S, why would you downclock the processor from 1.4 to 1.2GHz?
---------- Post added at 11:00 AM ---------- Previous post was at 11:00 AM ----------
Still waiting for the WiFi modules...
paul678 said:
Thanks, and yes I know but I put it on first post just to be sure I don't get complaints :laugh:
Maybe I'll do it, will take a look when I have free time
Which bestt addon?
Also can someone turn on Pointer Location from Developer options an tell me what is the lowest recorded touch PRS(upper right corner you will see PRS and Size) but remember touch not swipe. Thanks
Click to expand...
Click to collapse
besttt said:
replace superuser with supersu with workinkg update subinary
fix apolo and dsp apk no crash any more no fc
fm radio now plays and with out earphones just plug any cable for antena
add panorama apk
fix video hd camera quality
add adreno latest drivers
add appolo from 4.2.2
add new camera jb working style with gallery now you have ics and jb style camera
added separate atachment for mass storage fix
reboot to recovery works at english language for other language choose the third choise
works only with fusion 4.3 and 4.5 720hd version kernel and fxp kernels
does not work with lupus kernel and does not work with new fusion 4.4 kernel
link for fixes http://www.mediafire.com/?0bzjsqey02m5dq5
flash the atachment 213.zip (mass storage fix) but not at first boot flash first the rom after fixes and gapps reboot to open the phone one time,,,, then reboot again and flash the atachment to get mass storage fix,,, and after flash the atachment reboot and do this For Mass Storage mode - Go to settings/ storage/RIGHT button/ click/usb conection/press at usb conection/set mass storage and enjoy
added disabler buck light enabler buck light
Click to expand...
Click to collapse
THIS
LukynZ said:
These modules are big as they are uploading for several hours
Click to expand...
Click to collapse
When you have to go to University, make a game in c++ and work on updates on this kernel then you can make a comment like this...ever thought that maybe I didn't have time to put them on mediafire ?
(modules will be up today)
Anyway anyone on that Pointer Location thing as I want to test something for the touchscreen this night
paul678 said:
When you have to go to University, make a game in c++ and work on updates on this kernel then you can make a comment like this...ever thought that maybe I didn't have time to put them on mediafire ?
(modules will be up today)
Anyway anyone on that Pointer Location thing as I want to test something for the touchscreen this night
Click to expand...
Click to collapse
i also have to slove some problems using C on my school
im dont know it enoth like you to make games
XPro version ???
kemoba said:
XPro version ???
Click to expand...
Click to collapse
Don't know, will see about it in the future
Modules are up, sorry for delay!
On the other hand 56 downloads and 0 people answered my simple question about some touch events, I guess (if it proves to work) you don't want it on your device.
Have a great day, Paul.
paul678 said:
Don't know, will see about it in the future
Modules are up, sorry for delay!
On the other hand 56 downloads and 0 people answered my simple question about some touch events, I guess (if it proves to work) you don't want it on your device.
Have a great day, Paul.
Click to expand...
Click to collapse
prs 0.03 and size 0.05

SaberMod Franco.Kernel | AOSP & (CM testing) | r204 | 1 Apr 14 | Sched-dl | Linux 3.4.84 | GCC 4.8.3 -O3

SaberMod Franco.Kernel | AOSP & (CM testing) | r204 | 1 Apr 14 | Sched-dl | Linux 3.4.84 | GCC 4.8.3 -O3
Introduction
As you may already know, LaboDJ is no longer supporting n4 linaro franco. Therefore, I have decided to continue his work but this time with SaberMod toolchain by @sparksco.
Starting from r204, I will only release 1 build for every franco versions. I don't have time to make 3 different builds anymore.
Features:
- Franco r204 with LaboDJ's Linaro fixes and tweaks
- ofast instead of -o3
- Add faux sound support, and faux sound fixes, YES YOU CAN USE FAUX APP!
- Sched-deadline from mainline (jlelli) , taken from Harkness kernel
There is a full explanation of sched-deadline on Harkness thread.
- Sched improvement commits
- Codel net scheduler
- Prima v3.2.7.47
- F2FS support
- Added frandom driver Linux mainline random driver
- a lot more optimization!
Downloads: AOSP | CM (testing, use it at your own risk), credits to @xtrymind for the CM zip file.
Source: Github
What is sched deadline?
Originally by @Synthetic.Nightmare
Not to be confused with the iosched deadline, Sched_deadline is a scheduling class that implements a real-time CPU scheduling algorithm; EDF (Earliest Deadline First), augmented with a bandwidth isolation mechanism (called Constant Bandwidth Server, CBS) that makes it possible to isolate the behaviour of tasks between each other. SCHED_DEADLINE allows the CPU to reserve a portion of the CPU time to a specific application very accurately. A key feature is that it ensures "temporal isolation", which means that the temporal behavior of each task (i.e., its ability to meet its deadlines) is not affected by the behavior of any other task in the system. In other words, even if a task misbehaves, it is not able to exploit larger execution times than the amount it has been allocated. When a task tries to execute more than its budget, it is slowed down, by stopping it until the time instant of its next deadline. When, at that time, it is made runnable again, its budget is refilled and a new deadline is computed.
Click to expand...
Click to collapse
Credits to
@franciscofranco
@LaboDJ
@sparksco
@faux123
@ak
jlelli
@Synthetic.Nightmare
@mrg666
and many other devs listed in my git commits.
XDA:DevDB Information
SaberMod franco.Kernel, a Kernel for the Google Nexus 4
Contributors
xcstacy
Kernel Special Features: Built with SaberMod toolchain GCC 4.8.3, -O3 enabled
Version Information
Status: Testing
Created 2013-11-30
Last Updated 2014-03-31
FAQ
FAQ:
Originally Posted by franciscofranco
F.A.Q. - Read this before complaining!
1. My phone exploded, HALP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: This is one of the worse questions you can ask on my threads. This is a Nexus, it works on every rom you can possibly imagine.
3. OMG BETTARY SUCKZ, IT DEAD IN 45 MINUTAS, HALP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. Touch Control doesn't work in rXXX release, you suckas, fix plixe!
A: I don't know who you are. I don't know what you want. If you are looking for a fix, I can tell you I don't have the solution. But what I do have are a very particular set of skills; skills I have acquired over a very long career. Skills that make me a nightmare for people like you. If you leave now, that'll be the end of it. I will not look for you, I will not pursue you. But if you don't, I will look for you, I will find you, and I ignore you.
From LaboDJ:
5: Can i switch from your kernel to Franco one anytime I want?
A: Yes, you can do it without flash anything.
6: My phone boots normally then the screen goes off and it reboots
A: Known BUG in DMA, don't let the screen goes off until f.ku color are set.
7: I'm on franco Milestone/nighly #xxx how can I flash your kernel?
A: Clear f.ku app data, then flash my kernel.
8: Can I use f.ku (franco.Kernel Updater) with your Kernel?
A: Yes, you can.
Click to expand...
Click to collapse
Reserved
Reserved
Not trying to be a douche but the download links don't take me to downloads. I'm glad you made your own thread though. And thank you in advance for the kernel, and thank you for 194
ZULU2189 said:
Not trying to be a douche but the download links don't take me to downloads. I'm glad you made your own thread though. And thank you in advance for the kernel, and thank you for 194
Click to expand...
Click to collapse
Thanks for pointing that out!!
I have amended the links and the files are also available on the download tab of devdb.
Hook me up with some OC bro and I'm sold.
Sent from my Nexus 4 using xda premium
xcstacy said:
Thanks for pointing that out!!
I have amended the links and the files are also available on the download tab of devdb.
Click to expand...
Click to collapse
Thank you, just flashed it. Only kernel I really care to use, has all the features I want plus I get great battery life. Freakin' sweet
No go on crdoid v6, boots to a flickering blue screen
Sent from my Nexus 4 using xda app-developers app
dtnosk said:
No go on crdoid v6, boots to a flickering blue screen
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Crdroid is CM based, CM has CAF patches merged, this kernel does not have a CAF version.
Btw, thank you for the great kernel xcstacy.
Been using labodj's linaro franco.kernel since 4.3.. I'm glad you continue his work...
Btw just finish flashing the stock sabermod version of yours...after flashing I encounter 1 reboot...i dont know why is that...but now it works like charm.
Sent from my Nexus 4 using xda app-developers app
support for CAF cm11 rom ? before bashing starts just to let you specificperson know that 194 franco kernel messed up color screen so did faux kernel
The only difference is that everytime there is a newer linux kernel version for branch 3.4.x , LaboDJ always upstream it to the latest linux version. Is there any plans to upstream this kernel to version 3.4.71? Thanks.
Flashed test version on PXS v2 and it's working fine.
Sent from my Nexus 4 using XDA Premium 4 mobile app
fahadsul3man said:
support for CAF cm11 rom ? before bashing starts just to let you specificperson know that 194 franco kernel messed up color screen so did faux kernel
Click to expand...
Click to collapse
Ziddey has already started a thread for cm-compatible franco/faux kernel. Ziddey's thread
hulicow said:
The only difference is that everytime there is a newer linux kernel version for branch 3.4.x , LaboDJ always upstream it to the latest linux version. Is there any plans to upstream this kernel to version 3.4.71? Thanks.
Click to expand...
Click to collapse
I will probably do this later because I don't really see a point updating the kernel specifically to latest 3.4.x linux version when the kernel itself already has patches from various linux branches.
But this doesn't mean that I won't update it to latest 3.4.x, just not now
dtnosk said:
No go on crdoid v6, boots to a flickering blue screen
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I kinda new that, but OP says: it will work on any ROM imaginable. So I thought I missed some merging breakthrough
Sent from my Nexus 4 using xda app-developers app
Mirrors would be nice.. Dev-Host is not working now..
aLPaSLaN07 said:
Mirrors would be nice.. Dev-Host is not working now..
Click to expand...
Click to collapse
I have actually uploaded them on xda. If you could click the "Downloads" button on top of the thread, it will lead you to the files on xda server.
Let me know again if you can't find it.
What is the difference with the original Franco and sabermod kernel? Is faster or what it note? I'll install the PSX V2.
Flash a working great! Was missing those prima updates... Thanks man!
Sent from my Nexus 4 using XDA Premium 4 mobile app
---------- Post added at 02:11 PM ---------- Previous post was at 01:56 PM ----------
fario78 said:
What is the difference with the original Franco and sabermod kernel? Is faster or what it note? I'll install the PSX V2.
Click to expand...
Click to collapse
Extra features
Sent from my Nexus 4 using XDA Premium 4 mobile app

[Kernel][Stock][CAF][05-06] Redmi Note 3 CAF kernel source

Hi,
I recently bought the redmi note 3 and noticed the lack of kernel support, so I decided to share this with you guys:
https://github.com/daeiron/kenzo_caf_kernel
Its a fully functional buildable kernel for stock MIUI.
Changelog:
05-06-2016
- Merge LA.BR.1.3.2_rb3.28
- Fix camera for some?
28-05-2016
- Enable KSM
- Fix fingerprint on 6.5.26 (xiaomi didn't update their kernel source, so have to use fingerprint hal from 6.5.19)
- Update ramdisk
- Other small stuff
21-05-2016
- Merged to LA.BR.1.3.2_rb3.27
- Merged some patches from ido source drop
15-05-2016
- Tested with 6.5.12
- Full kcal support
- Defauls at boot to 400mhz min freq & bfq scheduler
- Fsync toggle
- State_notifier and state_helper (from neobuddy89)
- Backlight dimmer (from flar2)
- A lot of patches and fixes (see git)
04-05-2016
- Merged to LA.BR.1.3.2_rb3.26
- Upstream patched to 3.10.101
- O3 + makefile optimized
- BFQ, Fiops and SIO
- RGB color support (use custom app like kernel adiutor)
- Other patches (see git)
Limitations:
- No color/contrast/reading mode support, seems they didn't release it as part of the kernel
- In kerneladiutor gpu freq displays at 600mhz, this is just a false reading. Check 'cat /sys/class/kgsl/kgsl-3d0/devfreq/cur_freq' for the real frequency
- If you build the kernel and it won't boot try stock toolchain (https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9) with up to this commit e1a8a48e59638c0d24d2214c2a85046068158a08
To build;
- Clone the repo
- Get yourself a toolchain (I use stock google 4.9 up to commit: e1a8a48e59638c0d24d2214c2a85046068158a08)
- Edit user vars in build/build_kernel.sh
- From kernel root run: sh build/build_kernel.sh
- You end up with a flashable zip file in build/dist/
I am planning on keeping the source up to date with CAF and also sync in the latest patches from kernel.org.
Feel free to fork or use, please mention that you did though.
You can find my flashable zip builds here: https://drive.google.com/open?id=0B7XCSgymRoP0ZjJtSkxuS01kYUk
In oneplus one forum, sultanxda build a CM13.0 with CAF kernel and is pretty smooooooooth
Whoah,
Thank you, I was working on the same thing, this will save me a lot of time.
Yay more dev support, maybe in a month I'll figure out the stuff about building kernels and all that
Thanks for this
Thanks m8 great work
Flashed the kernel, feels snappy but has a big bug, system fails to detect simcard.Tested on both miui and aosp.
sanjib734 said:
Flashed the kernel, feels snappy but has a big bug, system fails to detect simcard.Tested on both miui and aosp.
Click to expand...
Click to collapse
Wich improvements have you felt with this kernel? Share your personal opinion please
EDIT: I´ve googled CAF meaning and didn´t found anything, anyone could help me?
EDIT 2: I´ve flashed and it works perfectly, no bugs, and in Antutu Benchmark got 78.000 points. Feels fast and smooth. Working on Xiaomi.eu dev 6.4.21
Migueliyo98 said:
Wich improvements have you felt with this kernel? Share your personal opinion please
EDIT: I´ve googled CAF meaning and didn´t found anything, anyone could help me?
EDIT 2: I´ve flashed and it works perfectly, no bugs, and in Antutu Benchmark got 78.000 points. Feels fast and smooth. Working on Xiaomi.eu dev 6.4.21
Click to expand...
Click to collapse
caf is Code Aurora Forum
color and contrast disable
am currently using global beta 6.4.21 can i flash this..?
Johnny199314 said:
am currently using global beta 6.4.21 can i flash this..?
Click to expand...
Click to collapse
Yes.
a2820356 said:
color and contrast disable
Click to expand...
Click to collapse
Confirmed. It seems that they didn't include this in their open source kernel.. I already created an issue for it at their git; https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/44
thomas1991_12 said:
Yes.
Click to expand...
Click to collapse
needed any modified boot image are just simply flash?
Stock aosp, sim doesn't get detected and Wi-Fi doesn't work
asdafdasdaf said:
Stock aosp, sim doesn't get detected and Wi-Fi doesn't work
Click to expand...
Click to collapse
he has clearly mentioned its for miui 6.4.21
Any possibility to maintain the kernel updated too on aosp? Someone can do it? *_*
Inviato dal mio kenzo utilizzando Tapatalk
Johnny199314 said:
he has clearly mentioned its for miui 6.4.21
Click to expand...
Click to collapse
Sorry that slipped out its 2am I should go to sleep thanks thoug
thomas1991_12 said:
Hi,
I recently bought the redmi note 3 and noticed the lack of kernel support, so I decided to share this with you guys:
https://github.com/daeiron/kenzo_caf_kernel
Its a fully functional buildable kernel for stock MIUI.
Limitations:
- No color/contrast support, seems they didn't release it as part of the kernel
To build;
- Clone the repo
- Get yourself a toolchain (I use stock google 4.9)
- Edit user vars in build/build_kernel.sh
- From kernel root run: sh build/build_kernel.sh
- You end up with a flashable zip file in build/dist/
I am planning on keeping the source up to date with CAF and also sync in the latest patches from kernel.org.
Feel free to fork or use, please mention that you did though.
You can find my flashable zip builds here (ramdisk based on 6.4.21 beta): https://drive.google.com/open?id=0B7XCSgymRoP0ZjJtSkxuS01kYUk
Click to expand...
Click to collapse
Hi! Do you think you could help me with this issue?
http://forum.xda-developers.com/redmi-note-3/help/help-developers-network-issue-t3367436
Probably a stupid question but I did read all the posts. Is this considered a modified 'cracked' boot.IMG?
Sent from my kenzo using Tapatalk
qkall said:
Probably a stupid question but I did read all the posts. Is this considered a modified 'cracked' boot.IMG?
Sent from my kenzo using Tapatalk
Click to expand...
Click to collapse
Are you in aosp?
Inviato dal mio kenzo utilizzando Tapatalk

[EOL] [KERNEL][G800F][exynos][CUSTOM KERNEL] FOR MOST CUSTOM ROMS [EOL]

Code:
***WARNING***
-READ CAREFULLY!!
YOU FLASH THIS KERNEL AT YOUR OWN RISK.I TAKE NO RESPONSIBILITY FOR ANY DAMAGE THAT MAY OCCUR DUE TO THE FLASHING OF THIS IMAGE.
I WILL NOT BE RESPONSIBLE FOR LOST DATA,BRICKED PHONE,OR ANYTHING OF THE SUCH.(PHONE EXPOLDES,OVERHEATS ETC)
THIS KERNEL IS ONLY FOR THE S5 MINI SM-G8OOF (Exynos) DO NOT FLASH THIS ON ANY OTHER DEVICE!
EOL (End of Life) ​
I will be creating a new thread for my N kernel - Stay tuned!​
UPDATED Linux kernel to 3.4.113 on 27-10-2016​UPDATED to v2.5 on 13-10-2016​
Code:
Changes in version 2.5
*Unlocked CPU frequencies 1500,300 and 200MHZ
*Switched to self built Linaro/Sabermod toolchain
*Added many more optimization flags
*Added DriveDroid support
Features
-Now supports Many different ROMS for the G800F
-Compiled with self built optimized Linaro/SaberMod toolchain ("LinaroMod")
-Unlocked CPU frequencies: 1500MHZ,200MHZ and 300MHZ
-Updated Linux kernel from 3.4.39 to the latest 3.4.113
-Added many optimizations (You can see all of the optimization flags in the makefile on the kernel source page)
-enabled graphite
-Added Drivedroid Support - http://softwarebakery.com/projects/drivedroid
-Fading LED's
-Added I/O schedulers
-zen
-sio
-fifo
-fiops
-tripndroid
-vr
-Added CPU governors
-zzmoove
-hyper
-alucard
-darkness
-nightmare
-wheatley
-smartassv2
-dancedance
-pegasusq
Click to expand...
Click to collapse
You will need Kernel Adiutor (free from the play store) or similar app capable of allowing you to switch I/O schedulers and
CPU governors in order to be able to change and set those.
I can recommend this.
http://forum.xda-developers.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
Click to expand...
Click to collapse
Known Issues
Let me know and I will try to fix them
Click to expand...
Click to collapse
Installation
I HIGHLY recommend that you do a full backup before flashing this kernel.I am not responsible if you lose any or all of your data.BACKUP!!
1.Download the "Spookcity_Kernel-MM"
2.Place the zip onto your phones storage
3.Reboot into recovery (Volume-Up + Home + Power button)
4.Select install
5.Flash the downloaded kernel
6.Go back a few times in TWRP.Select wipe -> Advanced wipe and wipe Dalvic/Art cache and the cache partition
If you do not do this you are very likely to experience strange issues.You have been warned.Do not report problems if you did not do this.
7.Reboot and hopefully enjoy.
Click to expand...
Click to collapse
Downloads
Spookcity_Kernel-MM
Click to expand...
Click to collapse
Sources
Toolchain - https://github.com/Spookcity/Android-Toolchains
Kernel - https://github.com/Spookcity/android_kernel_samsung_kminilte
Click to expand...
Click to collapse
Code:
CHANGELOG
[U]18-06-2017[/U]
-Switched to anykernel2
[U]31-10-2016[/U]
-Added zip for Bliss Rom
[U]13-10-2016[/U]
-Unlocked CPU freq 1500,200,300MHZ
-Switched to my self built toolchain
-Added many more optimization flags to the build
-Added DriveDroid support
-Added zip for Zephyr-OS
[U]24-07-2016[/U]
- Added zips to support more custom ROMS
[U]V2 - 23-07-2016[/U]
-Fixed RAMDISK to make it compatible and actually work with newer builds of CM13
-Changed SELinux from disabled to permissive to be in line with the "stock" CM kernel
-Added I/O schedulers
-fiops
-tripndroid
-vr
-Added CPU governors
-pegasusq
[U]V1 - Initial Release[/U]
Thanks to
-hennymcc and CTXz for bringing CM13 to our device! I used their kernel sources to build this.Without them I never would have been able to attemp this.
-DJ_Steve for his custom kernel.Without being able to look at his sources and cherry-pick some things I would also not have been able to do this.
-CurtisMJ Ditto same thing here.His kernel build and sources were very helpful to me.
-frap129 for his amazing toolchains!
-ArchiDroid
Anyone I may have left out sorry.I appreciate you all!
Click to expand...
Click to collapse
I hope you enjoy and please say thanks if you find this at all useful
XDA:DevDB Information
Spookcity_Kernel, Kernel for the Samsung Galaxy S5 Mini
Contributors
spookcity138
Kernel Special Features:
Version Information
Status: Beta
Created 2016-05-26
Last Updated 2017-06-18
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
zaworka said:
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
Click to expand...
Click to collapse
Thanks for trying out the kernel. That's weird about the WiFi. I have never had that happen in the bunch of times I have flashed it. I will def look into it.I'll have a look at the log, although at this point I'm also not that great at interpreting those, so it may not help. I'll see what I can do though
Sent from my SM-G800F using Tapatalk
can you tell me someone what is kernel?
br3acker said:
can you tell me someone what is kernel?
Click to expand...
Click to collapse
http://www.makeuseof.com/tag/linux-kernel-explanation-laymans-terms/
zaworka said:
Nice, finally some new development for our phone =)
I will test the kernel right away...
One thing that I would really love would be if you have the time to look into adding DT2W :angel:
Thanks for your work so far :good:
*edit*
booting went well. However WiFi doesnt work for me :/ I uploaded the logcat-output filtered for "wifi" to hastebin. If you need anything else for debugging let me know. Thanks to dual boot I will keep your custom kernel on one ROM
log
Click to expand...
Click to collapse
OK,well after looking at the log and trying to decipher it and then thinking a bit I have only come up with one possibility.Maybe somehow your wpa_supplicant.conf file located in /data/misc/wifi/wpa_supplicant.conf has the wrong permissions for some reason.If you want you could try to check and possibly change the permissions.If you decide to try this I would backup the file because you never know.
The permissions should be: Owner - wifi Group - wifi...
Owner read and write/Group read and write/ others none.
If your permissions are correct on that file the only other thing I could possibly think of to do if you wanted would be to delete that file,wpa_supplicant.conf.Only after you back it up it though because you will lose all of your passwords,and reboot.It should recreate it.Do that at your own risk though.This is all I have come up with because I have never had that problem,so it's a bit difficult.
I am sorry, I think the error was my fault and not a bug of the kernel. I think the build that I am running at the moment is one I build myself and used sabermod toolchain. I remembered that I had the same problem using DMPKernel on that build. I thought I was using one of hennymmc's builds by now - so, sorry for reporting but thanks for looking into anyways.
Unfortunately I tried both and didnt solve the issue ,the permissions were set correctly btw.
I just installed the CM13 on another partition but - unless I have a flashable zip file - I can not install your kernel on that one. Would it be possible to provide the kernel as .zip?
zaworka said:
I am sorry, I think the error was my fault and not a bug of the kernel. I think the build that I am running at the moment is one I build myself and used sabermod toolchain. I remembered that I had the same problem using DMPKernel on that build. I thought I was using one of hennymmc's builds by now - so, sorry for reporting but thanks for looking into anyways.
Unfortunately I tried both and didnt solve the issue ,the permissions were set correctly btw.
I just installed the CM13 on another partition but - unless I have a flashable zip file - I can not install your kernel on that one. Would it be possible to provide the kernel as .zip?
Click to expand...
Click to collapse
Sure thing.I updated the download section above and added a flashable zip.I think it'll work.
spookcity138 said:
Sure thing.I updated the download section above and added a flashable zip.I think it'll work.
Click to expand...
Click to collapse
Nice, that worked! Thanks for the effort :good:
Will test it over the next few days :fingers-crossed:
zaworka said:
Nice, that worked! Thanks for the effort :good:
Will test it over the next few days :fingers-crossed:
Click to expand...
Click to collapse
Good,I'm glad that worked.You thoughts and feedback are most welcomed.
Any chance this kernel hits the G800H for cm 13 too ?
I can be your tester
sasukesama said:
Any chance this kernel hits the G800H for cm 13 too ?
I can be your tester
Click to expand...
Click to collapse
Hey, I appreciate the offer. That is something I can look into at some point. No promises. In still trying to learn all of this stuff.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
Hey, I appreciate the offer. That is something I can look into at some point. No promises. In still trying to learn all of this stuff.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Sounds good
I think you can do the same (using the cm13 kernel and DJ_Steve kernel stuff) as he has a G800H version of his kernel
I use your kernel , you can repair the wifi ?
Abde77 said:
I use your kernel , you can repair the wifi ?
Click to expand...
Click to collapse
What's the problem with the WiFi exactly? I need to update this anyway. I will at some point.I've had no WiFi probs though.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
What's the problem with the WiFi exactly? I need to update this anyway. I will at some point.I've had no WiFi probs though.
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Conducted any work on the development of the kernel? About sound problems and headphones like DJ_Steve , initially had no problems, and then there., maybe it depends on kernel version? Is there a chance to make all the improvements in version 3.4.39 ? (Google translation)
Oleggluk said:
Conducted any work on the development of the kernel? About sound problems and headphones like DJ_Steve , initially had no problems, and then there., maybe it depends on kernel version? Is there a chance to make all the improvements in version 3.4.39 ? (Google translation)
Click to expand...
Click to collapse
I actually haven't touched this recently at all.I've been spending too much time on the mess that is my AOSP build [emoji2]
I give up on that for now though.It's giving me a headache.
I will try to get back to this soon,as I don't even think it works with any of my builds.I don't know.I'm not even using this right now.
I never actually had any real audio issues with this however and I did use if for awhile,so that's strange.
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I actually haven't touched this recently at all.I've been spending too much time on the mess that is my AOSP build [emoji2]
I give up on that for now though.It's giving me a headache.
I will try to get back to this soon,as I don't even think it works with any of my builds.I don't know.I'm not even using this right now.
I never actually had any real audio issues with this however and I did use if for awhile,so that's strange.
Click to expand...
Click to collapse
Also does not have wi-fi access in the new Assembly СМ13 from ayke with this kernel. I took apart your kernel and replace the ramdisk from the new build, wifi now works. (Google translation)
Oleggluk said:
Also does not have wi-fi access in the new Assembly СМ13 from ayke with this kernel. I took apart your kernel and replace the ramdisk from the new build, wifi now works. (Google translation)
Click to expand...
Click to collapse
I kinda remember this issue as well.Good to know about the ramdisk.
Its such a strange thing how only some experience the robotic voice...and you have no microphone problems with ayke's build either? Like it stops working after a phone call?
Sent from my SM-G800F using Tapatalk
spookcity138 said:
I kinda remember this issue as well.Good to know about the ramdisk.
Its such a strange thing how only some experience the robotic voice...and you have no microphone problems with ayke's build either? Like it stops working after a phone call?
Sent from my SM-G800F using Tapatalk
Click to expand...
Click to collapse
Robot voice I have never had. And mute has the same problem that error camera. If you kill the mediaserver, the microphone performance is restored. You can use the long-known app Mediaserver Killer. (Google translation)

[KERNEL][T/W8][V3.1] Noble Kernel for Grace ports

This particular kernel arose out of frustration at the lack of choices that T-Mobile and Canadian S6 users have when flashing ported roms with the GraceUX UI and it would not have been possible without the original source posted by @Greck99 .
Feature-wise, this is the same exact kernel included in Noble Experience; however, it has been built against a W8 configuration and uses a stock ramdisk that has been modified solely for the purpose of booting hybrid ports.
Yes, blue light filter works. So does AOD (no touch for now)
Pair this kernel with the call audio fix for grace ux for the complete Noble Experience (or whatever GraceUX port you desire) on T/W8
Suggestions and feedback are welcome. Feature requests may be considered if I determine them to be useful enough to include
Thanks to:
@Greck99 & @Noxxxious for this awesome source
@AlexisXDA for making killer roms and something to be envious of
@The Sickness for his continued work on our devices and for all his contributions
@arter97 for hybrid ramdisk commits
And the Nexus7420 team in general.
I am not responsible for your device, you are.
This kernel should work for both T-Mobile and Canadian devices,
though has only been tested on a G920W8.
Download Flat
Download Edge
Fix for flashlight/video playback
After flashing the kernel, flash SU of choice: Magisk or SuperSU
Changelog:
V3.1 -
- Fix video playback issue
V3 - Upstream merge
- Merge lastest N920 sources
- Update to Linux 3.10.105
- AOD drivers added
- Zen-tune added. Increased performance at the cost of some battery
- Add lz4 for zswap
- Add Smartmax, Smartmax_EPS and Yankactive governors
- Update bfq scheduler
V2.1
- Removed SU injection as it is not necessary and was not the source of boot failures.
Can be run unrooted, and with system or systemless root modules (SuperSU and MagiskSU)
V2
- SuperSU is now injected into ramdisk.
- Knox, tima, selinux stuff disabled (This fixes bootloops on Noble Experience)
- Battery enhancements
- Google play services wakelock fix
- noatime on system parition
V1
- Initial release
XDA:DevDB Information
Noble Kernel, Kernel for the T-Mobile Samsung Galaxy S6
Contributors
lizaSB, Greck99, Noxxxious
Source Code: https://github.com/lizaSB/android_kernel_samsung_universal7420
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v2.1
Stable Release Date: 2017-02-06
Created 2017-02-06
Last Updated 2017-02-14
congrats!!
just tried it with fastrom v3.1 D: got a bootloop unfortunately.. will try it again when i switch roms again!!
stephhh said:
congrats!!
just tried it with fastrom v3.1 D: got a bootloop unfortunately.. will try it again when i switch roms again!!
Click to expand...
Click to collapse
Interesting.. Did you flash SU after?
Edit: It also may be necessary to wipe dalvik if you are flashing this coming from Arter. I have flashed this on two different W8s without issue, so I'm fairly certain it works
No! So sorry! Did not think about flashing su because my rom already has it installed. I'll try again next time when I flash
lizaSB said:
Interesting.. Did you flash SU after?
Edit: It also may be necessary to wipe dalvik if you are flashing this coming from Arter. I have flashed this on two different W8s without issue, so I'm fairly certain it works
Click to expand...
Click to collapse
Great kernel! Thanks to the developers for their hard work.
One question, even though you said no AOD, would you consider it as a feature request?
rtx7 said:
Great kernel! Thanks to the developers for their hard work.
One question, even though you said no AOD, would you consider it as a feature request?
Click to expand...
Click to collapse
The main issue I have with AOD is the massive battery drain. Even with it not enabled in the kernel, the AOD app still drains battery. I actually trimmed it from my rom.
The other issue is that the only kernel I'm aware with the AOD feature is TN kernel, which the developer has chosen not to share his source.
lizaSB said:
The main issue I have with AOD is the massive battery drain. Even with it not enabled in the kernel, the AOD app still drains battery. I actually trimmed it from my rom.
The other issue is that the only kernel I'm aware with the AOD feature is TN kernel, which the developer has chosen not to share his source.
Click to expand...
Click to collapse
Yeah, you're right. My only issue is I'd love to try out AOD even it drains my battery, since tn kernel brakes call function.. So if you have a test build, I'd gladly try it out
Its nice to have more choices anyway! Thanks a lot. :victory:
Can you make an edge version
sebo.ks15 said:
Can you make an edge version
Click to expand...
Click to collapse
Did you read the OP carefully
Edge didn't work on my 925w8
sebo.ks15 said:
Edge didn't work on my 925w8
Click to expand...
Click to collapse
This was confirmed working last night. This kernel won't boot on Noble Experience without flashing SU after and is mentioned in the OP that root should be flashed after the kernel
lizaSB said:
This was confirmed working last night. This kernel won't boot on Noble Experience without flashing SU after and is mentioned in the OP that root should be flashed after the kernel
Click to expand...
Click to collapse
OK I'll try that that thanks..
What groundwork did arter97 do? We should credit Samsung for giving us the proper bootclasspath instead.
And btw AOD is working
Thanks for making this kernel available on other models. When you need help or have feedback about the kernel PM me.
Quintz said:
What groundwork did arter97 do? We should credit Samsung for giving us the proper bootclasspath instead.
And btw AOD is working
Thanks for making this kernel available on other models. When you need help or have feedback about the kernel PM me.
Click to expand...
Click to collapse
I used his commits for building the ramdisk, would've probably taken a lot more trial and error without them -- they aren't documented clearly anywhere else to my knowledge (and to be fair, not all of what he ships in the n7 kernel is required in the ramdisk for booting). Most kernel authors don't include their ramdisks in the source they post. Sure I could've decompiled the ramdisk shipped with Noble Experience and reverse engineered it, but that's not what I did. I just wanted to give credit for the path I took regardless of my opinions regarding those whose steps I followed.
I just noticed a slurry of new commits in the upstream branch which I pulled into my fork earlier today and built a test build for myself. I will be releasing it once I've had a bit of chance to test things out and make sure all is working :good: So far things are running great for me.
Thank you very much for the work you've done and for sharing your source. The blue light filter is the real cream for me here as the overlay in cf.lumen causes lag for me. It is greatly appreciated by myself and all the others with our device. I could've just taken a stock kernel and started from scratch, but this is oh-so-much better than that!
Kernel Updated to Version 3
This update is largely a merge with up upstream source. Kernel is feeling very smooth, and in addition AOD drivers have been added and most of the kinks have been worked out.
Kernel is now using a custom built dt.img for AOD support which has not been tested for edge devices (though the reboots never affected them). I see no reason why it shouldn't work, please let me know if it causes any catastrophic failures!
Edit: V3 Image for G925T/W8 has been re-uploaded as of 1:05pm PST. Fixes for call audio regarding the custom dt.img -- removed it as it's not needed.
Download Flat
Download Edge
Changelog:
V3 - Upstream merge
- Merge lastest N920 sources
- Update to Linux 3.10.105
- AOD drivers added
- Zen-tune added. Increased performance at the cost of some battery
- Add lz4 for zswap
- Add Smartmax, Smartmax_EPS and Yankactive governors
- Update bfq scheduler
@lizaSB nice work. I see now that I have some compitition lol. JK.
Glad to see some fresh blood here on the kernel side.
Works beautifully on my G920T (XAR). Thanks OP! One thing though: I would suggest highlighting the note that installing SuperSU immediately afterwards is mandatory to make it more easily seen as the device wouldn't boot without it...
The Sickness said:
@lizaSB nice work. I see now that I have some compitition lol. JK.
Glad to see some fresh blood here on the kernel side.
Click to expand...
Click to collapse
Maybe when you start developing for Grace ports there will be some competition
stevenchen1995 said:
Works beautifully on my G920T (XAR). Thanks OP! One thing though: I would suggest highlighting the note that installing SuperSU immediately afterwards is mandatory to make it more easily seen as the device wouldn't boot without it...
Click to expand...
Click to collapse
This is no longer the case as of v2.1. I flash many of my test builds without rooting them, so I am positive it still works without
3.1 online! Bug fix for video playback.
Download Flat
Download Edge
Changelog:
V3.1 -
- Fix video playback issue
lizaSB said:
Maybe when you start developing for Grace ports there will be some competition
Click to expand...
Click to collapse
No need to worry about that. I dont do ports of any kind.

Categories

Resources