Source code Leeco Cool1 - Coolpad Cool1 Guides, News, & Discussion

Kernel sources are taken from LeEco Le2-S2 with the addition of drivers and dtb of our device, camera sources are from "android_kernel_nubia_msm8976-lineage-16.0"
Vendor is the basis of the LeEco Le2-S2 with the addition of our blobs and settings.
Device is the basis of LeEco Le2-S2 and something from Nubia Z17 mini.
#device
Sources of the latest device 10:
lineage-Q
Pixel-Q
Arrow-Q
I took the basis for DT here:
DT
#vendor
Sources of the latest vendor 10:
Vendor-Q
#kernel
Sources of the latest kernel 11:
Kernel-11
Sources and settings from this kernel:
Settings
Sources of the latest kernel 10:
Kernel-10
We look forward to many interesting developments​
Discussion
Big Thanks:
Ampir-nn

Related

[EOL] SmartPack-Lite [Kernel] [AOSP 7.x.x] [LOS-14.1] [kltexxx]

This Project is officially dead... If you wish to stay with my work, please consider to use the original SmartPack kernel which can be found here... Thanks to all of you for the great supports...
/* Introduction */
This is a lightweight edition of my own SmartPack Kernel which is presently available for LOS and AOSP based Nougat ROMs. This version of kernel is specially designed for enhancing the battery performance. If you are looking for a highly feature rich kernel, you might be disappointed with this.
Code:
DISCLAIMER!!
I am not responsible for any damage to your device. Everything you are doing on your device is on your own risk.
I only own kltelgt (Korean variant). Hence, kernels under the category 'kltekor' are only tested by myself.
Please note that flashing any custom Kernel including mine will void your warranty.
/* Presently supported devices */
Code:
klte: SM-G900F, SM-G900V, SM-S902L
kltekor: SM-G900K/L/S
kltedv: SM-G900I
klteduos: SM-G900FD, SM-G900MD
kltespr: SM-G900P
/* likely supported devices */
Any klte variant which is presently supported by LineageOS.
/* Features */
Build from latest Lineage OS source code.
Built using Google arm-eabi 4.9_r15 toolchain.
Anykernel for compatibility with maximum devices.
Linux Kernel version is updated to 3.4.113.
Flash and Forget (if you are okay with default settings)
Kernel tweaker app recommend: Offical Kernel Auditor/Kernel Adiutor-Mod.
Added features
CPU voltage control
USB fast charge
Faux sound
FRandom
The Ultra Kernel Samepage Merging (UKSM) feature
CPU input boost
Dynamic sync control 2.0
CPU Freq Gov: NIGHTMARE (Default), INTELLIDEMAND, INTELLIACTIVE, LIONHEART, & ZZMOVE.
CPU Hotplug: Intelli_Plug
IO schedulers: FIFO (Default), FIOPS, & SIO.
TCP congestion algorithms: Westwood (Default), reno, & cubic.
Removed features
Some features that I'm considered as not necessary are (will be) removed.​
/* Special note to ROM developers */
You are allowed to include my kernel in any ROMs. Feel free to contact me, if you need any assistance from my side.
/* Downloads */
kltekor
klte
klteduos
kltedv
kltespr
Old builds
If anyone like to get Kernel Adiutor-Mod in one click, you may use this recovery flash-able zip file (all the credits to its dev).
/* How to */
Code:
1. Go to recovery (TWRP recommend)
2. Flash Kernel
3. Wipe Cache/Dalvik Cache
4. Reboot and enjoy
/* Special note to Korean S5 users */
Flashing this kernel after AOSP/LOS based nougat ROMs originally build for the klte (SM-G900F) variant will allows the use of those ROMs on SM-G900S/K/L. Tested ROMs includes Resurrection Remix, AOKP, crDroid, Mokee, CosmicOS, VanirAOSP, Zephyr OS, Beanstalk, AospExtended etc.
/* Acknowledgements */
Code:
[URL="https://forum.xda-developers.com/member.php?u=2693412"]Haggertk[/URL] for LineageOS 14.X for Galaxy S5
[URL="https://forum.xda-developers.com/member.php?u=947981"]Lord Boeffla[/URL]
[URL="https://forum.xda-developers.com/member.php?u=4527059"]CrazyGamerGR[/URL]
[URL="https://forum.xda-developers.com/member.php?u=3292224"]franciscofranco[/URL]
[URL="https://forum.xda-developers.com/member.php?u=4800121"]Sultanxda[/URL]
[URL="http://forum.xda-developers.com/member.php?u=4544860"]osm0sis[/URL] for AnyKernel project
[URL="https://forum.xda-developers.com/member.php?u=4090196"]David 617[/URL]
[URL="https://www.facebook.com/groups/440242346171392/"]Our Korean Galaxy S5 Facebook group members[/URL]
Many other XDA developers
XDA:DevDB Information
SmartPack-Lite, Kernel for the Samsung Galaxy S5
Contributors
sunilpaulmathew
Source Code: https://github.com/SmartPack
Kernel Special Features:
Version Information
Status: No Longer Updated
Stable Release Date: 2017-03-27
Created 2017-03-27
Last Updated 2017-09-03
Chang-logs
18. August 16, 2017
Stable release: v9_r1
Changes: The source is fully re-based (since LOS kernel source is re-based by the development team). Some of the commits suggested by @Saber is included...
17. August 02, 2017
Stable release: v9
Changes: All the commits in the LOS source code till date. zzmove cpufreq gov is now updated to the latest version (credits: zanezam). Some recent commits in the fastcharge feature are reverted...
16. July 19, 2017
Maintenance update: v8_r2
Changes: All the commits in the LOS kernel source till date...
15. July 13, 2017
Stable release: v8_r1
Changes: Intelli_plug is added as a replacement to Zen_Decision. Sound control (my fav values) and Fast charge features are now enabled by default. All the commits in the LOS kernel source till date...
14. July 6, 2017
Stable release: v8
Changes: Linux kernel version is updated to 3.4.113. Few more updates to sound control.
13. June 27, 2017
Stable release: v7
Changes: Source code is merged with Samsung's latest source (thanks to @haggertk and LOS team). Sound control is updated to fix some issues with speaker sound (now it seems fully working). Toolchain is switched to Google's latest arm-eabi-4.9 r15.
12. June 21, 2017
Maintenance update: v6-r1
Changes: Nothing other than the recent LOS commits till today...
11. June 14, 2017
Stable release: v6
Faux sound is replaced by sound control (credits: franciscofranco). Linux kernel version update to 3.4.113 is temporarily reverted (now its 3.4.111) due to some issues.
10. June 8, 2017
Stable release: v5
Linux Kernel version is updated to 3.4.113. All the recent commits in the LOS source code till date.
9. June 1, 2017
Stable release: v4-r3
Source is fully re-based. USB fast charge is back (replaced charge level). Recent commits on the LOS source code till date.
8. May 24, 2017
Stable release: v4-r2
Changes includes the replacement of Mako hotplug with msm zen decision as well as all the LOS commits till date.
7. May 18, 2017
Maintenance update: v4-r1
Nothing other than latest LOS commits.
6. May 10, 2017
Stable release: v4
Linux Kernel version is updated to 3.4.111. All the commits in the LOS kernel source code until now.
5. May 03, 2017
Stable release: v3
Fast charging feature is now replaced with charge level interface (credits: Lord Boeffla).
All the recent changes in the LOS source code are included.
4. April 19, 2017
Maintenance update: v2-r2
Nothing other than the latest LOS commits.
3. April 15, 2017
Maintenance update: v2-r1
Nothing other than the latest LOS commits.
Support to new devices: kltespr and kltedv
No more separate build for kltevzw since LOS officially merge kltevzw with klte.
2. March 31, 2017
Stable release: v2
Nothing changed other than the latest LOS commits
1. March 27, 2017
Stable release: v1
Can this be flashed over the original smartpack kernel?
badassadism01 said:
Can this be flashed over the original smartpack kernel?
Click to expand...
Click to collapse
Sure... It will work...
to achieve a 100 undervolt : max cpu frequency should be set to 1958mhz and low to the users prefrence , the gov set to conservative , also idont know if you can use boeffla git and permission to add the options of determing the maximum amout of cores that can go online setting it to 3 cores max is perfect and reduce power since one of them wont be used , i dont think the rest affects it but what i will say is that the gpu needs a working gov and add 27mhz frequency so that it can idle at 27mhz with screen off.
working nice on new ressurection remix build
New builds are uploaded...
Code:
[B]March 31, 2017[/B]
Stable release: v2
Nothing changed other than the latest LOS commits.
For starters. THANK YOU! I dig this kernel....Second I have a few requests
1...Could you add MSM Hotplug from myfluxi
2...Could you add Maple and Zen to the IO Schedulers
The reason I ask if because I tune Mako to have all 4 active at all times as I feel it doesn't impact battery and it feels better with these settings for me...MSM it is more customization. Also I'd like to play with those schedulers. I know that you have Zen in the other kernel but I like the less is more approach to most things in my life....so this lite version suits me.
@sunil,
Trying the Kernel now what will be the major power savings is it the kernel itself or other areas?
HaRdC0r3 said:
For starters. THANK YOU! I dig this kernel....Second I have a few requests
1...Could you add MSM Hotplug from myfluxi
2...Could you add Maple and Zen to the IO Schedulers
The reason I ask if because I tune Mako to have all 4 active at all times as I feel it doesn't impact battery and it feels better with these settings for me...MSM it is more customization. Also I'd like to play with those schedulers. I know that you have Zen in the other kernel but I like the less is more approach to most things in my life....so this lite version suits me.
Click to expand...
Click to collapse
HI. I'll try to add those features to the full version of my kernel first and eventually here (depends on the success ). Thanks for the suggestions...
thaidroid said:
@sunil,
Trying the Kernel now what will be the major power savings is it the kernel itself or other areas?
Click to expand...
Click to collapse
A lot of things (they are cool stuffs, but not necessary) were actually removed from the original LOS Kernel. Further, minimal features are only implemented to reduce the kernel size as much as possible. So, the kernel itself will be the major power saving factor (I hope).
Would you want to add arch power saving to this kernel?
badassadism01 said:
Would you want to add arch power saving to this kernel?
Click to expand...
Click to collapse
any reference (xda thread, github etc) plz?
sunilpaulmathew said:
any reference (xda thread, github etc) plz?
Click to expand...
Click to collapse
I think crazygamer dev has implemented it in his kernel, tnough it's discontinued I think. https://github.com/CrazyGamerGR/CrazySuperKernel-CM14.1-KLTE-New-rebase
@sunil,
When I try to use another ROM together with this Kernel or your "BIG" version, everything seems fine with one exception.
Skype app always crashes. Ive tried with KLTE 14.1 (You get a lot more network options on G900S with the klte rom) and also Cosmic and crDroid.
Same result in all of them. Could you test if you have some spare time?
Also when I restore after trying I still get the app crash, to fix I do a restore and then immediately install ROM and Kernel on top/wipe dalvik and cache/Reboot and all is fine
thaidroid said:
@sunil,
When I try to use another ROM together with this Kernel or your "BIG" version, everything seems fine with one exception.
Skype app always crashes. Ive tried with KLTE 14.1 (You get a lot more network options on G900S with the klte rom) and also Cosmic and crDroid.
Same result in all of them. Could you test if you have some spare time?
Also when I restore after trying I still get the app crash, to fix I do a restore and then immediately install ROM and Kernel on top/wipe dalvik and cache/Reboot and all is fine
Click to expand...
Click to collapse
How abt this issue in stock kernel or any other custom kernel? Just to check the role of kernel in this issue...
sunilpaulmathew said:
How abt this issue in stock kernel or any other custom kernel? Just to check the role of kernel in this issue...
Click to expand...
Click to collapse
Sunil I can't test those things with stock Kernel(G900S)that's the reason I'm using your excellent kernel. I have asked and looked in the threads but there are no Skype issues regarding this posted.
thaidroid said:
Sunil I can't test those things with stock Kernel(G900S)that's the reason I'm using your excellent kernel. I have asked and looked in the threads but there are no Skype issues regarding this posted.
Click to expand...
Click to collapse
Okay... I understand the issue. I'm presently using LOS (kltekor version) without no skype issue. I will later test CRDroid and CosmicOS for skpye issue...
sunilpaulmathew said:
Okay... I understand the issue. I'm presently using LOS (kltekor version) without no skype issue. I will later test CRDroid and CosmicOS for skpye issue...
Click to expand...
Click to collapse
Just dirtyflash LOS klte with your kernel and see if Skype will work (everything else should work...I think)? You can then Reflash kltekor again with your kernel to get everything back to normal.
thaidroid said:
Just dirtyflash LOS klte with your kernel and see if Skype will work (everything else should work...I think)? You can then Reflash kltekor again with your kernel to get everything back to normal.
Click to expand...
Click to collapse
Sorry to disappoint you... I tried LOS klte build as well as cRDroid klte buids. As you said, skype is crashed in the case of both ROMs after dirty flash... and works fine with kltekor build. Absolutely no idea to solve the issue. Even don't know it's a fault of my Kernel or not...
Why did you remove interactive governor?

[Kernel] Diades Kernel for custom ROMs

Hello !
Currently i'm working in Le 2 kernel and device tree. My purpose is to make meaningful changes and additions so other ROMs can implement them.
This thread is all about the kernel. Currently the kernel features
sdcardfs support
improvements to touchscreen driver, preparing support for dt2w
adj tree
low memory killer improvements
powersuspend driver
nvidia patches for energy efficiency
and other small improvements in battery and perfomance
Download: [/HTML]https://mega.nz/#!UppE0YLZ[/HTML]
Source: [/HTML]https://github.com/mthomos/android_kernel_leeco_msm8976[/HTML]
To enable sdcardfs support just add this line in build.prop
Code:
ro.sys.sdcardfs=true
To be clear from the beginning: I will not answer to any feature requests and i respond to bug reports without logs. I hope to understand this
Cheers !
XDA:DevDB Information
Diades Kernel, Kernel for the LeEco Le 2
Contributors
marios199546
Kernel Special Features:
Version Information
Status: Testing
Created 2017-09-05
Last Updated 2017-09-05
Please move this post to kernel section, and the mega link asks for decryption key!

Build Error

I was compiling AICP for Oxygen (Mi Max 2) and got an error.
Can anyone please help me?
Source
Device Tree branch arrow-9.x
Vendor Blob branch lineage-16.0
Device Common branch 9.0-4.9
Kernel Source branch pie_final

kernel for realme3pro lineage os based rom

This is initial build of kernel where it provides lasted upstream of caf kernel source 4.9.x
It also start importing the latest source kernel source files from realmeQ ( thanks for giving us realmeme )
It also provides feature see in telegram group for more info
Feature:
Compile with clang-10
Lastest Caf upstream 4.9.218
Added Camera driver from realmeQ
This is not supported for realmeui and Rui based rom users
Many more coming
Bugs:
Didn't find any
If u do report with log
Telegram Group : https://t.me/realme3pros
Contact me : @SauravDharwadkar
GitHub: https://github.com/SauravDharwadkar/android_kernel_realme_sdm710/
Download link : https://bit.ly/39zrww8
Md5sum(security) : 1a7d4e7b39afde835b675d31cf6e52f7
Well done
Great keep it under

Mi Mix (lithium) on LOS 19.1 with a newer (5.y) kernel possible?

Hi,
I am a mostly Linux person but I've never done with Android developpment.
I've had to patch the mainline Linux kernel on a few occasions and produce builds but that's about it.
I'm trying to assess the difficulty of the task of bringing LOS 19.1 to 'lithium'.
The last LOS kernel for lithium seems to be 3.18.124 but some people from postmarketOS seem to have ported the 5.18.z and 5.20.z kernels to the MSM8996pro cpu.
The first step, of course, would be to build LOS 18.1 on my own dev workstation...
Any ideas, coments, hints or prayers?
Build for lithium | LineageOS Wiki
wiki.lineageos.org
Qualcomm Snapdragon 820 Mainline / linux · GitLab
Staging area for Device Tree support and drivers for various Qualcomm Snapdragon 820/821 mobile devices
gitlab.com
Just noticed this post. I'm building android 13, I'll try with this kernel and see if it's possible. Thanks for letting me know this.
LineageOS 20 is available. Thanks to the kernel patches and more commits.

Categories

Resources