Related
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
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
- STUFF YOU SHOULD READ -
- I'm not responsible if anything goes horribly wrong but I take measure to reduce the risk of this happening.
- Most, if not all, builds are tested by me personally before they are released.
- This kernel is aiming for peak single-core performance and efficiency while maintaining fair multi-core speeds.
- This isn't just some other kernel in my eyes, it might be to you, but I put a lot of interesting changes in the kernel for benefit analysis.
- I'm still quite young in the development field but I try to learn more and to improve my pieces of work.
- I always use the latest kernel on my personal device to be able to find bugs and it makes it easier to fix issues.
- Have fun, compatible with both the Pixel and Pixel XL. (sailfish and marlin respectively)
- FEATURES -
- Up-streamed to Linux 3.18.71 (CAF AOSP branch)
- Sound control (speaker, headphones, mic)
- Dynamic file sync control 2.0 (@LordBoeffla)
- BFQ I/O scheduling
- Westwood+ TCP congestion algorithm
- Removed most CPU governors
- Wakelock blocker (@FranciscoFranco)
- Adreno idler
- ElementalX sleep/wake gestures
Built with love using Linaro 6.4.1
- TELEGRAM GROUP -
Link: NiKernel Testing/Discussion
- DOWNLOADS -
Link: Google Drive
XDA:DevDB Information
NiKernel, Kernel for the Google Pixel
Contributors
Nick80835
Source Code: https://github.com/Nick80835/NiKernel_marlin
Kernel Special Features: It boots. It doesn't not boot.
Version Information
Status: Beta
Current Beta Version: 2017-10-01:12
Created 2017-09-21
Last Updated 2017-10-01
Reserved
Nick80835 said:
Will add more info later, empty for now.
Click to expand...
Click to collapse
So would you say that this is basically a stock kernel built from source at this point or have you added things to it? No need to list.
uodii said:
So would you say that this is basically a stock kernel built from source at this point or have you added things to it? No need to list.
Click to expand...
Click to collapse
It's not stock, I've been testing things for about a week, it has KCAL, dynamic fsync, backlight dimming, high brightness mode, passes safetynet with SuperSU without SUhide, still working on it and trying to improve some aspects of it.
Edit: Oh, it's also using Linux 3.18.71.
Sent from my Pixel using XDA Labs
I've been running it for almost a day and it's smooth. Battery seems good. Will update as time progresses.
Is there certain steps we need to do for flashing this?
quinejh said:
Is there certain steps we need to do for flashing this?
Click to expand...
Click to collapse
Just like any other kernel
What SuperSu version are you using? I can get the kernel to install, but when I try to install SuperSu version SR3-SuperSu-v2.82-SR3-20170813133244, it goes back to the stock kernel.
redwolves said:
What SuperSu version are you using? I can get the kernel to install, but when I try to install SuperSu version SR3-SuperSu-v2.82-SR3-20170813133244, it goes back to the stock kernel.
Click to expand...
Click to collapse
SuperSU 2.82 SR4, also I recommend reflashing the stock boot image before installing the kernel, then installing SuperSU. It's confusing but it's a quirk SuperSU has.
Sent from my Pixel using XDA Labs
Nick80835 said:
SuperSU 2.82 SR4, also I recommend reflashing the stock boot image before installing the kernel, then installing SuperSU. It's confusing but it's a quirk SuperSU has.
Click to expand...
Click to collapse
I have SR3.....
Edit: With no issues so far any way
S8ntsHaz3 said:
I have SR3.....
Edit: With no issues so far any way
Click to expand...
Click to collapse
It's not really a bug but when you flash SuperSU it creates a backup of the stock boot image. When you flash a kernel and reflash SuperSU, it restores the stock image first basically wiping the custom kernel. The only fix is flashing the stock boot.img for your device in fastboot or TWRP, then installing the kernel and SuperSU.
Sent from my Pixel using XDA Labs
Ok well I guess I'll get sr4 for when I flash the new release tonight??
Nick80835 said:
SuperSU 2.82 SR4, also I recommend reflashing the stock boot image before installing the kernel, then installing SuperSU. It's confusing but it's a quirk SuperSU has.
Sent from my Pixel using XDA Labs
Click to expand...
Click to collapse
That did the trick.
Thanks.
Unfortunately, if I mess around with speaker settings and mic gain settings it restarts after some time and goes to stock recovery asking me to "try again or factory reset"
Glad you posted it
Good work
rohitece06 said:
Unfortunately, if I mess around with speaker settings and mic gain settings it restarts after some time and goes to stock recovery asking me to "try again or factory reset"
Click to expand...
Click to collapse
Hmmm..will look..
Sent from my Pixel using XDA Labs
Same happened with ElementalX kernel but when I installed elementalX with SR4 supersu, things are fine. So it may not be your kernel. I may try your kernel over the weekend with SR4 kernel next week.
Version 2017-09-23:18 is up with several improvements overall to the GPU, battery, CPU, and audio.
Link: https://drive.google.com/file/d/0B9YVqhP7dzbrUEhIaHBubERJOFU/view?usp=drivesdk
Sent from my Pixel using XDA Labs
I wasn't aware that flash fire works so well on are pixel devices I just flash the sr4 update and it worked perfect can I use Flashfire to flash this kernel as well?
quinejh said:
I wasn't aware that flash fire works so well on are pixel devices I just flash the sr4 update and it worked perfect can I use Flashfire to flash this kernel as well?
Click to expand...
Click to collapse
It should be possible, I'm not so sure how SuperSU would react. :silly:
Sent from my Pixel using XDA Labs
I don't like large threads. My old espresso needs an up, so where we go.
It's based on latest omap4 common by unlegancy-android with these changes:
Compiled with custom Linaro GCC by @Christopher83.
CPU underclocked to 200MHz and overclocked up to 1400MHz.
GPU overclocked up to 512MHz. (384 default)
Custom voltages based on user experience.
Touch boost from franco kernel. (default boost set to 1200MHz)
Mini-FAQ:
Q: It works on all ROMs? Nougat?
R: It should work on any recent ROM who use omap4 common by unlegancy-android.
Q: All variants?
R: Due compatibility issues it could be not work on some devices/combinations, test it.
If won't work, please provide the variant, ROM, TWRP and last_kmsg if possible.
Click to expand...
Click to collapse
Q: Is safe 1400MHz on espresso?
R: Yes, passed my stability tests without problems.
Q: Works with ramdisk mods? (Magisk)
R: Yes, by AnyKernel2.
Code:
Change CPU max clock:
# echo 'x' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
x = 1080000, 1200000, 1300000, 1400000
Change GPU max clock:
# echo 'x' > /sys/devices/platform/omap/pvrsrvkm.0/sgxfreq/frequency_limit
x = 153600000, 384000000, 512000000
Make boot and system backup before installation, download.
XDA:DevDB Information
s1mple espresso, Kernel for the Samsung Galaxy Tab 2
Contributors
dcastro172, Android-Andi, Ziyan, Sam Nakamura
Source Code: https://github.com/dcastro172/android_kernel_ti_omap4
Kernel Special Features:
Version Information
Status: Testing
Created 2018-04-23
Last Updated 2018-05-05
NICE.....Test It Soon
Didn't work for me
Tried to install it over AICP and just boot looped.
Then I installed ResurectionRemix and installed the kernel and had the same results.
Used TWRP 3.2.0.0
Thanks for trying to give us something new for our old Tab2
Skarni said:
Tried to install it over AICP and just boot looped.
Then I installed ResurectionRemix and installed the kernel and had the same results.
Used TWRP 3.2.0.0
Thanks for trying to give us something new for our old Tab2
Click to expand...
Click to collapse
I checked these ROMs and they use omap4 common, should have worked, maybe a ramdisk issue, to be fair I just tested it with recent OmniROM MM and it's working fine, I will try these.
THANK YOUUU FINALLY A NEW KERNEL HERE...does it work on nougat Roms?
Skarni said:
Tried to install it over AICP and just boot looped.
Then I installed ResurectionRemix and installed the kernel and had the same results.
Used TWRP 3.2.0.0
Thanks for trying to give us something new for our old Tab2
Click to expand...
Click to collapse
I tested today with ResurectionRemix by @smart-t78 and works well, the first boot without s1mple taken so much time, then I switch off and powered on, it booted.
Enrico03 said:
THANK YOUUU FINALLY A NEW KERNEL HERE...does it work on nougat Roms?
Click to expand...
Click to collapse
Yeah, tested with latest Lineage 14.1, however, I found an issue about frequency scaling, it boots with max frequency of 300MHz :laugh:
But you can change it using adb/terminal later.
New build up :fingers-crossed:
Now it's compiled with custom Linaro GCC by @Christopher83
Added touch boost from franco kernel :highfive: (interactive governor only, configurable)
Removed 200MHz in attempt to fix frequency scaling issues
OP updated.
Installed latest OmniRom 6 booted and then installed S1mple kernel. Left it to boot for 1 hour and it never booted. turned off and tried again, not luck.
re-installed my AICP backup.
Might try it with Slim6 when I have some time, but would prefer an unrooted rom since I use netflix.
Skarni said:
Installed latest OmniRom 6 booted and then installed S1mple kernel. Left it to boot for 1 hour and it never booted. turned off and tried again, not luck.
re-installed my AICP backup.
Might try it with Slim6 when I have some time, but would prefer an unrooted rom since I use netflix.
Click to expand...
Click to collapse
Doesn't magisk hide solve the Netflix problem? It should actually...
(sorry for the OT)
-------------------------------
Thanks @dcastro172 a new custom kernel sounds like fun, would be very cool to have something more or less stable with this significant OC added, I'll need to check this out when I'm near to my p5110 soon.. :good:
Sent from my Nexus 7 using XDA Labs
Skarni said:
Installed latest OmniRom 6 booted and then installed S1mple kernel. Left it to boot for 1 hour and it never booted. turned off and tried again, not luck.
re-installed my AICP backup.
Might try it with Slim6 when I have some time, but would prefer an unrooted rom since I use netflix.
Click to expand...
Click to collapse
Did you try with Andi's builds or from official Omni website? espresso3g or wifi? It will only work with recent Andi's builds, I'm running it and works well.
Doesn't boot on latest lineageOS and needs restoring boot & system to get back a working device, here's a demsg.log....
https://drive.google.com/file/d/1cJFmLO-e4lKODHTDYCRNDJ7RfGZK50G0/view?usp=drivesdk
dcastro172 said:
Did you try with Andi's builds or from official Omni website? espresso3g or wifi? It will only work with recent Andi's builds, I'm running it and works well.
Click to expand...
Click to collapse
Yep! Used Andi's unofficlal: omni_espressowifi-6.0.1-20180414-2301.zip
---------- Post added at 01:50 PM ---------- Previous post was at 01:45 PM ----------
Sam Nakamura said:
Doesn't magisk hide solve the Netflix problem? It should actually...
(sorry for the OT)
Click to expand...
Click to collapse
"OT response to close": Only been able to get netflix to work by sideloading on ROM that is unrooted no gapps .
Magisk 16 has been problematic for me. 14 was okay. I would use magisk 14 to root to enable OC on s1mple kernel.
Sam Nakamura said:
Doesn't boot on latest lineageOS and needs restoring boot & system to get back a working device, here's a demsg.log....
https://drive.google.com/file/d/1cJFmLO-e4lKODHTDYCRNDJ7RfGZK50G0/view?usp=drivesdk
Click to expand...
Click to collapse
Skarni said:
Yep! Used Andi's unofficlal: omni_espressowifi-6.0.1-20180414-2301.zip
Click to expand...
Click to collapse
There's something very important which I'm missing, probably a very stupid issue since it works on my P5110, I read the dmesg and didn't see much useful logs, tomorrow I will investigate more. Thanks guys.
dcastro172 said:
There's something very important which I'm missing, probably a very stupid issue since it works on my P5110, I read the dmesg and didn't see much useful logs, tomorrow I will investigate more. Thanks guys.
Click to expand...
Click to collapse
FYI, I have a P3113,
The newer (maybe 2018) are default libion and it is said not to flash any custom kernels as they are not compatible.... So is this the reason some people have some trouble?
Excellent! Finally a overclockable kernel for our devices! Thank you very much Mr. dcastro172! Will test and report here ASAP!
drunkbum said:
The newer (maybe 2018) are default libion and it is said not to flash any custom kernels as they are not compatible.... So is this the reason some people have some trouble?
Click to expand...
Click to collapse
Well, recent ROMs with updated repos from unlegancy/lineageos builds with standard libion by default, my fork will only work with standard libion, some outdated ROMs use TI's libion and will not work, I think it's not the issue since @Skarni tried with latest OmniROM from @Android-Andi (which use standard libion) and won't worked for his P3113 while my P5110 woks perfectly.
And the dmesg from @Sam Nakamura is not much useful why it's from his reboot after the bootloop, I thought it has a SELinux issue but it's not, however I looked at second line and it looks like an old official build:
Code:
<5>[ 0.000000] Linux version 3.0.101-gbb24628 ([email protected]) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Sat Dec 9 09:46:13 UTC 2017
I'm trying figure it by looking at unlegancy/lineageos commits if I'm missing something but no luck yet.
galoneta said:
Excellent! Finally a overclockable kernel for our devices! Thank you very much Mr. dcastro172! Will test and report here ASAP!
Click to expand...
Click to collapse
Make sure do a backup why people are running in boot issues, if you run in boot issue please take a "cat /proc/last_kmsg > /sdcard/kmsg.txt" in TWRP terminal.
dcastro172 said:
And the dmesg from @Sam Nakamura is not much useful why it's from his reboot after the bootloop, I thought it has a SELinux issue but it's not, however I looked at second line and it looks like an old official build:
Click to expand...
Click to collapse
Not sure why the log referenced this old build, as said before I'm actually on the latest official lineageOS build from 11th February 2018 as seen on the screenshot.
I gladly provide more logs if you tell me exactly what could be of use for you...
Edit: the referenced kernel version is the one included in TWRP, check the build dates from official twrp.me and the log reference....
https://dl.twrp.me/espressowifi/
Sent from my OnePlus 3T using XDA Labs
Sam Nakamura said:
Not sure why the log referenced this old build, as said before I'm actually on the latest official lineageOS build from 11th February 2018 as seen on the screenshot.
I gladly provide more logs if you tell me exactly what could be of use for you...
Edit: the referenced kernel version is the one included in TWRP, check the build dates from official twrp.me and the log reference....
https://dl.twrp.me/espressowifi/
Sent from my OnePlus 3T using XDA Labs
Click to expand...
Click to collapse
Oh, this should explain, but you was using a different kernel when you flashed it?
Hello!
I want to introduce my first custom kernel for the Essential PH-1. This is based of several sources, I cherry-picked commits to make improvements to the stock LOS kernel. I'm not a developer, but i really like to port stuff over .
Kernel is suitable for AOSP based ROMS such as RR/AICP/CARBON/LOS etc... If you want to request for specific features, let me know and i'll do my best to bring them over.
Special Features:
Updated to lastest LOS Stock Kernel
Added a few governors like: cultivation / impulse
added a few IO Schedulers: Maple
Kcal Color Control driver
USB Fast Charge - pending will be added in R2
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
a little Overclock - will be added in R2
Motorola Quickwake - Will be added in R2
and manny other small fixes (you can check the commits in the sources)
Download
Disclaimer: I am not responsible if you use this and brick your device or if your device blows up, implodes, flames start shooting from it or it kills your neighbor's dog. Flash at your own risk. I am not responsible.... It was the other guy... I swear....
Latest Release: SMF-Kernel R2
Known issues:
05.17.2018 - CPU Freq don't always stick, known issue caused by other drivers. Phone will eventually set your frequencies, dont' panic.
Installation:
Obviouly you have a Unlocked Bootloader since you're running a custom rom (make sure to never lock your bootloader in this state)
Boot into Bootloader (adb reboot Bootloader)
If you want to root flash the "Magisk" version of the kernel, it's been prerooted with the latest Magisk Beta available.
Code:
fastboot flash boot SMF-Kernel-R1-Magisk.img
reboot
If you want to manually root, first flash twrp, then from twrp flash the 'non magisk' version and after that flash the magisk zip.
Special Thanks to:
jcadduono
franciscofranco
bedalus
lord_boeffla
flar2
sultanxda
...and many others from whom i cherry pick commits... Sorry if I forgot to mention anyone!
XDA:DevDB Information
SMF-KERNEL, Kernel for the Essential Phone
Contributors
jimbo77
Source Code: https://github.com/Jimbo77/android_kernel_essential_msm8998
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R1
Stable Release Date: 2018-05-17
Created 2018-05-17
Last Updated 2018-05-17
Changelog 05.23.2018
Enabled Motorola QuickWake Driver - This will enable system to do checks or syncs without fully resuming the device, main objective is battery life.
Enabled Dynamic Sync Control by default
OverClock
USB Fast Charge to up 900ma (Original is 500ma)
Disabled Gentle Fair Sleepers
Enabled Boefla Wakelocks - Check the ammount of wakelocks you can block now!
Enabled Wireguard
Enabled several TCP Options - "Westwood" is enabled by default
Min/Max Brightness options is now configurable as well, to avoid the screen go too dim or to bright.
Somehow camera has been fixed! haha
Changelogs 05.17.218
Updated to lastest LOS Stock Kernel
Added a few governors like: cultivation / impulse
added a few IO Schedulers: Maple
Kcal Color Control driver
SafetyNet Patch (Bypass bootloader unlocked check)
Dynamic Fsync control
and manny other small fixes (you can check the commits in the sources)
Reserved
Looks awesome! I'll give it a try soon!
(For anyone wondering about overclocking the CPU, he committed some changes to the github that would apply this and it should appear in the next revision of the kernel.)
Just installed and so far it's buttery smooth.
WARpig5 said:
Just installed and so far it's buttery smooth.
Click to expand...
Click to collapse
I'm glad is running fine for you!
Good stuff, thanks for this! Could you tell me a little more about cultivation? I can't seem to find much information online about it
Also a request, if possible vibration level control would be super appreciated
pantherking said:
Good stuff, thanks for this! Could you tell me a little more about cultivation? I can't seem to find much information online about it
Also a request, if possible vibration level control would be super appreciated
Click to expand...
Click to collapse
I found Cultivation to be really great in terms of perfornance. It's a little bit agressive with the CPU so you get buttery smooth experience with Screen On but it may cost a few % on battery at the end of the day. The good thing is that it has specific tunables and you can set a low cpu freq for when the screen is off.
Specific details from its developer:
-based off of caf 4.4 commits
-uses per-pcu timers
-use state_notifier for screen off timer
option to set different timer rate when screen off
-improrted fastlane with threshold from blu_active
In regards of vibration control. It should be there. I'm using EX Kernel Manager and i can see the vibration option under "Miscellaneous"
jimbo77 said:
I'm glad is running fine for you!
Click to expand...
Click to collapse
Thanks for this. It's running amazing so far. Performance has been great and I'll see how battery life is, but so far it's great.
I can't wait for further updates. I really wanna see what Moto quickwake is haha
jimbo77 said:
In regards of vibration control. It should be there. I'm using EX Kernel Manager and i can see the vibration option under "Miscellaneous"
Click to expand...
Click to collapse
Thanks for the info on cultivation, I don't mind trading some battery life for butter so I'm using it now
For the vibration control, it doesn't actually work/stick. I've tried kernel auditor and EX Kernel Manager. To be fair, so far it has only worked on LOS and I think invisiblek may have rewritten the stock controller or something so no worries if it isn't a high priority haha
pantherking said:
Thanks for the info on cultivation, I don't mind trading some battery life for butter so I'm using it now
For the vibration control, it doesn't actually work/stick. I've tried kernel auditor and EX Kernel Manager. To be fair, so far it has only worked on LOS and I think invisiblek may have rewritten the stock controller or something so no worries if it isn't a high priority haha
Click to expand...
Click to collapse
I'll take a look at the latest commits but I've used the latest los kernel base so I'm not sure why is not sticking maybe it needs rom support too (not sure honestly) hahaha
I've been testing R2 since yesterday. Will update after y he weekend!
Just out of curiosity, was anything involving the camera done to this kernel? I am now able to record videos without the bug, on any of the affected ROMs, with this kernel.
stompysan said:
Just out of curiosity, was anything involving the camera done to this kernel? I am now able to record videos without the bug, on any of the affected ROMs, with this kernel.
Click to expand...
Click to collapse
Nothing related to camera. Are you sure it works with no issues?
What roms have you tested?
jimbo77 said:
Nothing related to camera. Are you sure it works with no issues?
What roms have you tested?
Click to expand...
Click to collapse
So far, AICP and LOS, both with Essential camera app and GCAM port, HD and 4K, 30 and 60 fps where applicable. Issues presented before flashing very consistently, and so far I have been unable to replicate after flashing this kernel.
stompysan said:
So far, AICP and LOS, both with Essential camera app and GCAM port, HD and 4K, 30 and 60 fps where applicable. Issues presented before flashing very consistently, and so far I have been unable to replicate after flashing this kernel.
Click to expand...
Click to collapse
Sp you were right. Honestly don't know what happened but I installed the latest RR (clean install) put R2 on top of it and bam recording works as you mentioned lol..
I guess it was a lucky strike!
after flashing the kernel with magisk, stuck on "AICP is starting"
is this normal?
update: the phone works but no magisk (pre root) after flashing the kernel.....
sinkoo1979 said:
after flashing the kernel with magisk, stuck on "AICP is starting"
is this normal?
update: the phone works but no magisk (pre root) after flashing the kernel.....
Click to expand...
Click to collapse
Hey!
Have you booted once and setup everything before flashing the prerooted image?
I've had that error but having all set and then flashing the image will get me rooted. Try to see if you can find magisk manager in the apps list from the settings if you do, reboot and there will be magisk
Double post... Sorry
jimbo77 said:
Hey!
Have you booted once and setup everything before flashing the prerooted image?
I've had that error but having all set and then flashing the image will get me rooted. Try to see if you can find magisk manager in the apps list from the settings if you do, reboot and there will be magisk
Click to expand...
Click to collapse
Thank you for the reply.
the phone was running AICP and I wanted root so I flash the kernel. I can't find the magisk manager or in the settings about magisk. I guess you have to clean install from the beginning to get the root. Thank you for the Kernel
sinkoo1979 said:
Thank you for the reply.
the phone was running AICP and I wanted root so I flash the kernel. I can't find the magisk manager or in the settings about magisk. I guess you have to clean install from the beginning to get the root. Thank you for the Kernel
Click to expand...
Click to collapse
Shouldn't. If you flashed the prerooted magisk image try downloading the magisk manager app manually from xda and see if magisk works