[KERNEL] Linux Kernel Version 4.9 - Moto G5 ROMs, Kernels, Recoveries, & Other Develop

Linux Kernel 4.9 for Moto G5​
As you guys already know, our Moto G5 has an ancient linux kernel (3.18.x) which is now EOL (end of life) from support from actual Linux Foundation. It's pretty much stuck there with no probable updates to it (can use the android 3.18 for updates, but I think that's pretty much soon to be deprecated).
I have been working on this kernel since the past one year and finally managed to boot it on our Cedric!​
WARNING: THIS KERNEL IS STILL ALPHA AND MOST OF THE BUGS HAVE STILL NOT BEEN FIXED​.
I just wanted to share this kernel with the community!
What works:
Boots
Display
Touch
Storage
Charger
Battery Indication
Bugs:
Pretty much every basic thing
RIL (Calls, mobile data, etc.)
Vibrations (Weird and too strong)
Camera
Flashlight
Only Oreo boots so far.
Want to try for yourself?
Click Here to download link LineageOS 15.1 with Linux Kernel 4.9
Huge Thanks to @wiktorek140 for helping me out with bugs and congratulations to him for booting 4.9 on Montana
Leave a thanks if you like my work!
Buy me a Cup of Coffee or Beer here​
XDA:DevDB Information
Linux Kernel 4.9, Kernel for the Moto G5
Contributors
m_vaisakh, wiktorek140
Source Code: [url]https://github.com/mvaisakh/msm-4.9[/URL]
Kernel Special Features: Linux Kernel 4.9.x
Version Information
Status: Alpha
Created 2020-03-30
Last Updated 2020-03-30

Reserved
You can find screenshots here:
https://m.imgur.com/a/OWEhM3b
NOTE: The screenshots are from 2 different builds and hence the difference in kernel version.
Cheers!

Update:
I've been working to fix display and audio on for us.
You can check the progress in my kernel repository. I hope to fix it soon!

Nice! Simply nice. This will hopefully get more attention :good:

Update:
Indian variant finally boots now!!
Thanks to Neosight from Mido community for the fix!
It was because of the bootloader not accept the arm IOMMU of cedric (atleast in indian variant). Instead the kernel sent a full aarch64 (or arm64) iommu tz cb, which wasn't getting a secure pass from bootloader through qseecom interface, which apparently states that motorola still uses older (nougat) bootloader in XT1677 (or the Indian variant).

m_vaisakh said:
Update:
Indian variant finally boots now!!
Thanks to Neosight from Mido community for the fix!
It was because of the bootloader not accept the arm IOMMU of cedric (atleast in indian variant). Instead the kernel sent a full aarch64 (or arm64) iommu tz cb, which wasn't getting a secure pass from bootloader through qseecom interface, which apparently states that motorola still uses older (nougat) bootloader in XT1677 (or the Indian variant).
Click to expand...
Click to collapse
Ig edit the op then :angel:

nift4 said:
Ig edit the op then :angel:
Click to expand...
Click to collapse
Updated OP.

m_vaisakh said:
Updated OP.
Click to expand...
Click to collapse
bro how did u update from v3.18 to v4.9 ? Pls I wanna know where can I study about this?

devvikram said:
bro how did u update from v3.18 to v4.9 ? Pls I wanna know where can I study about this?
Click to expand...
Click to collapse
CAF had added support for msm8937 for 4.9 with Android Oreo, I just used their base and added moto g5 specific changes. It may sound easy, but it's not.

m_vaisakh said:
CAF had added support for msm8937 for 4.9 with Android Oreo, I just used their base and added moto g5 specific changes. It may sound easy, but it's not.
Click to expand...
Click to collapse
where to study on this??I want to do with my Snapdragon 625 . It's v3.18 which I have to upgrade to v 4.9

devvikram said:
where to study on this??I want to do with my Snapdragon 625 . It's v3.18 which I have to upgrade to v 4.9
Click to expand...
Click to collapse
There's no specific documentation for this. It was all trial and error. Have you read the OP? I've clearly stated it took me 1 year to get it to work.
To start, you should know your way around linux kernel and for reference you can use my source and well there are many other devices that were 3.18 and now run 4.9

m_vaisakh said:
There's no specific documentation for this. It was all trial and error. Have you read the OP? I've clearly stated it took me 1 year to get it to work.
To start, you should know your way around linux kernel and for reference you can use my source and well there are many other devices that were 3.18 and now run 4.9
Click to expand...
Click to collapse
thanks alot

I overtook the development and got a few quite nice results. Current bug list:
Boots -
Bt -
Wifi -
Camera -
Vibration -
Gps -
Audio -
Ril - (no call audio)
Fp -
Light Sensors -
Accelerometer -
Proximity -
Gyro -
Mic -
Usb Tethering -
MTP & ADB -
Headphones -
Offline Charging -
Flashlight -
SD Card -
FM Radio -
Issues:
Rebooting to recovery boots to system.
Random reboots.
(that is on Android 10)
my source is at https://github.com/n4experiments/
and thanks to wiktorek140 and his 4.9 montana port because without him I would never be able to get so far

Related

[KERNEL][OOS][PIE][4.4.172][GCC 8.2.1] π-Kernel v4 [27-01-2019]

​
Introduction
Hello everyone, this is my personal kernel for the OnePlus 5/5T.
This kernel is made with a focus on performance, battery life and stability.
Please flash it only on OOS Pie!
Hopefully you will enjoy it!
Telegram Chat
Important thread information!
If you got issues please provide a log.
If you got feature requests, just ask.
OT is allowed.
Flash instruction
On OOS stock kernel:
- Flash kernel zip
On custom kernel:
- Dirty flash stock rom
- Flash kernel zip
Features
Major features
- Up to date with OOS Pie (Stable and Beta)
- Up to date with the latest stable Linux version
- Up to date with the latest CAF tag
- Mainline CFQ scheduler improvements
- Disables dm-verity
- CPU Boost improvements
- Interactive Gov. improvements
- Touchboost
- Wake Gestures
- Sweep2Sleep
- Backlight Dimmer
- Sound Control
- Wakelock Blocker
- USB Fast Charge
- Several subsystems converted to use power efficient workqueues
- Latest WireGuard snapshot
- Westwood as the default TCP algorithm
- Built with a self compiled GCC 8.2.1 toolchain
- ...
Downloads
Primary
Sources:
Kernel: https://github.com/crian/kernel_oneplus5
AnyKernel: https://github.com/crian/AnyKernel2
Credits and Thanks:
- @nathanchance for upstreaming
- @osm0sis for AnyKernel2
- @Sultanxda for being a Dev
- @franciscofranco for having some nice stuff
- and all the other amazing Devs out there
If you like my work and want to support me, buy me a coffee or two: Donate
XDA:DevDB Information
[KERNEL][OOS][PIE][GCC] Pi-Kernel, Kernel for the OnePlus 5T
Contributors
crian
Source Code: https://github.com/crian/kernel_oneplus5/tree/9.0_Beta
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v5
Stable Release Date: 2019-01-27
Created 2019-01-05
Last Updated 2019-01-28
Reserved
Been using this kernel for awhile, and though we have many good options out there (RZ, blu, and the countless custom kernels in the roms we flash daily), I find that π has the best handle on boosting the smaller cores. I also think the input / touch response time is noticeably smoother on this kernel.
TBH it's not the one I'm running right now, but I'll probably be back to π when the next release is posted.
Go to the telegram channel if you need immediate support. I've only tested on stable 9.0.1.
This is the best kernel for the op5
Do not plan to do for custom firmware
Welcome.
[email protected] said:
Do not plan to do for custom firmware
Click to expand...
Click to collapse
Not at the moment.
So you got new op5t?
wOMPZA said:
So you got new op5t?
Click to expand...
Click to collapse
Got one of a friend who bought the OP6.
So yes!
Thanks a lot for sharing your personal kernel for our OP5 9.0.1 PIE .. thank you !!
Please, in the next update give support to "Spectrum".
Wonderful kernel
TioFalopa said:
Please, in the next update give support to "Spectrum".
Wonderful kernel
Click to expand...
Click to collapse
I don't think so...
Update to v2
Changelog
- Merged Linux 4.4.170
- Upstreamed cpufreq times
- Upstreamed sdcardfs
- Bluetooth improvements
- arm64 optimizations
- Switched to HZ 300
- Reduced kernel size
- Boot time improvement
- Fixed issues with Google Camera
AnyKernel2 changes:
- Adjusted read-ahead values
- Added some file permissions
Download
Direct
Commits: https://github.com/crian/kernel_oneplus5/commits/9.0_Beta
Please add support for custom firmware
[email protected] said:
Please add support for custom firmware
Click to expand...
Click to collapse
Currently not planned.
crian said:
Currently not planned.
Click to expand...
Click to collapse
It is regrettable
crian said:
Currently not planned.
Click to expand...
Click to collapse
Hey this kernel has grown tremendously since I started testing it on TG. I used to think this was a "good", not "great", but I wasn't letting it settle. It seriously takes about a good 15 minutes for things to just feel right. If you gave up on this kernel before, try it again, you will not be disappointed in it's reliability.
preference said:
Hey this kernel has grown tremendously since I started testing it on TG. I used to think this was a "good", not "great", but I wasn't letting it settle. It seriously takes about a good 15 minutes for things to just feel right. If you gave up on this kernel before, try it again, you will not be disappointed in it's reliability.
Click to expand...
Click to collapse
Thanks and good advice!
crian said:
Thanks and good advice!
Click to expand...
Click to collapse
OP San, it might be placebo but when I turn on enable_prediction to 1 in the country governor options, I seem to get better performance. This seems to only benefit the little cores, when I enabled it on the big cores I started to suffer a lot of stuttering.
Why is this setting netting me performance? Is it off by default for a major reason?
I think as long as I'm on oos, I can't leave π kernel for now. To my use, this is the best one I can find right now. Huge thanks to the Dev for bringing this kernel to 5T.

[NOV 15][Kernel] HTML5 Kernel

HTML5 KERNEL​
"Low overhead, light and the way of the future" - sultanxda
(he wasn't referring to this but whatever)​
This Kernel aims to be as simple as possible with only useful added features, you may request for features and we will consider them.
Features:
Compiled with GCC (cuz clang sucks)
Removed unnecessary bloat
Reduced power consumption
Improved zRAM and memory management
Upstreamed to the latest Linux 4.9 stable (based off ALS)
First kernel with touchscreen in TWRP fixed
Some cool patches
A lot of less cool patches
Magisk support
Westwood+ is now the default tcp algorithm
Brickported Backported patches from Sony, CAF and others
refer to the source for the rest I am lazy
TLDR:
It's better than stock and the best custom kernel out there (arguable)
Links:
Downloads
Telegram group
note: the zip is a flashable anykernel zip.
XDA:DevDB Information
HTML5 Kernel, Kernel for the Google Pixel 3
Contributors
ab123321, _LLJY
Source Code: https://github.com/bluecross-dev/kernel_msm-4.9
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 210
Stable Release Date: 2019-11-15
Created 2019-05-17
Last Updated 2019-11-15
HTML5 kernel v137
TL;DR: Download
Join our Telegram group if you want more frequent kernel updates
Yet another stable update! (that I did not even test)
This build is the final release supporting Android 9.0 Pie, next versions are going to support Android Q exclusively.
Brief changelog:
Merged Q beta 4 tag (also supposedly fixes rare live photo crash)
Updated to Linux 4.9.181
Various scheduler and cpuidle updates
Further vmalloc enhancements
Other minor changes
does this work on the Q beta?
Agree, this is the best kennel
Still no luck in running this kernel on stock Android 10 (blueline-qp1a.191005.007-factory-c36610c6). Version HTML5_137 brings bootloop (fastboot tells "error boot prepare" message).
NEW MAJOR UPDATE: v210
Now, with Android 10 support! A lot of work has been done since the last update, ehehh... yes, we still exist
I suck at coming up with huge placebo changelogs, so just believe me at that statement
Follow the link and flash dis new build right away (if you still haven't lost your patience): Download
Will this work on havoc os 3.0?
crankiro97 said:
Will this work on havoc os 3.0?
Click to expand...
Click to collapse
It should if it is Android 10
ab123321 said:
It should if it is Android 10
Click to expand...
Click to collapse
Ok, since TWRP is not working in A10, how do you install it?
crankiro97 said:
Ok, since TWRP is not working in A10, how do you install it?
Click to expand...
Click to collapse
Flash through FKM or EXKM.
xFirefly93 said:
Flash through FKM or EXKM.
Click to expand...
Click to collapse
Thanks, that worked. Flashed it with FKM.

[KERNEL][EAS][9.0] EAS Eva Kernel - ProjektEva

ProjektEva presents Eva Kernel​
Code:
**DISCLAIMER**
Flash this kernel at your own risk. Do not blame me if you did something
wrong whilst flashing this kernel. I will not accept any blame for MODs
that may have caused any instability to your device.
Its only bringup of m_vaisakh ProjektEve EAS kernel for Montana. Every credits please send to m_vaisakh.
Features of the kernel:
1. EAS:
Code:
* Energy Aware Scheduling
* Ainur DTS Eagle Sound Engine
* SchedUtil Governor by default
* Latest Motorola 3.18 Changes
* recalculated msm8937 sched energy costs
* Better GCam Focus
* KCAL MDSS Color Configuration
2. Non-EAS:
Code:
* Ainur DTS Eagle Sound Engine
* Latest Motorola 3.18 Changes
* Zen I/O Scheduler
* Better GCam Focus
* KCAL MDSS color configuration
Flash it on any Pie.
NOTE:This kernel will not work with Stock rom (Because it is 64bit), It will work with treble and nontreble roms.
Downloads:​
All Downloads will be available on the m_vaisakh github releases on the kernel Source or montana official sourceforge project.
DOWNLOAD flashable zip here.
Install:​-Choose treble or nontreble version. If you don't know which one use, ask on ROM thread or test both and check which one boot. Remember to make backup!
-Flash zip or .img file using twrp recovery or for example FrankoKernelManager.
Supported roms:
- LineageOS 16.0 (treble)
- DirtyUnicorn (nontreble)
- PixelExperience (nontreble)
- Ressurection Remix (non treble)
- any GSI (treble)
- <wait for testers to check on other roms>
XDA:DevDB Information
[KERNEL][EAS][Android PIE] Eva Kernel | ProjektEva, Kernel for the Moto G5S
Contributors
wiktorek140, m_vaisakh, SohamLad7
Source Code: https://github.com/mvaisakh/eva_kernel
Kernel Special Features: Energy Aware Scheduling + Non-Energy Aware Scheduling
Version Information
Status: Stable
Current Stable Version: 3.0+EAS
Stable Release Date: 2020-04-12
Created 2020-04-12
Last Updated 2020-04-12
Eva EAS+ 2.0 Release
Changelog:
>Major CAF upstream (Over 400+ commits merged)
>MDSS upstream
>Tsens upstream (Better thermals)
>Some specific backports from android kernel common
Eva EAS+ 3.0 Release
Changelog:
>Optimised a lot of code
>Better LMK
>Scheduling improvements
>Enabled Ultra Low Power Mode for all panels.
>Realtime scheduling when hotplugging.
Just installed it, it is working so far.
But there is an odd message just after boot saying there's a problem with the phone (one of Jarlpenguin build's had the same issue for a moment).
Dan Mornill said:
Just installed it, it is working so far.
But there is an odd message just after boot saying there's a problem with the phone (one of Jarlpenguin build's had the same issue for a moment).
Click to expand...
Click to collapse
Its not that high cost of better performance. Will take care of it when i have time
I noticed a better battery life and a possibility to dim screen on kernel settings, which is nice. Thanks for your working on it.
Updated thread description.
Added proper download link.
Added support to non-treble roms.
wiktorek140 said:
Updated thread description.
Added proper download link.
Added support to non-treble roms.
Click to expand...
Click to collapse
Thanx!
FYI the nontreble version sends my device in a bootloop on your lineage 16 build. The previous boot.img worked, so I assume that was build for treble.. (I was under the impression that development for treble had ceased)
Ænimal said:
Thanx!
FYI the nontreble version sends my device in a bootloop on your lineage 16 build. The previous boot.img worked, so I assume that was build for treble.. (I was under the impression that development for treble had ceased)
Click to expand...
Click to collapse
The current lineage 16 builds are treble, everything else isn't (Gsi images installed on top of Lineage 16 also count as treble)
Post updated. Added new compatibile rom and GSI to list
I installed lineageos 16.0 (jarl version) with the treble kernel and everything is working perfectly, however an error message appears whenever you turn on or restart the device:
"There is an internal problem with your device. Please contact the manufacturer for more details."
Thanks
samuelrafo said:
I installed lineageos 16.0 (jarl version) with the treble kernel and everything is working perfectly, however an error message appears whenever you turn on or restart the device:
"There is an internal problem with your device. Please contact the manufacturer for more details."
Thanks
Click to expand...
Click to collapse
Duplicate, im aware of that. Will be fixed in future
After a few days of use, I can tell there is a very nice improvement on battery life ??
wiktorek140 said:
ProjektEva presents Eva Kernel​
Version Information
Status: Stable
Current Stable Version: 3.0+EAS
Stable Release Date: 2020-04-12
Created 2020-04-12
Last Updated 2020-04-12
Click to expand...
Click to collapse
Installed this with nontreble version on Havoc-os 2.9 + microg. + magisk with no issues that I've noticed.
Does it works with Lineage 15 build too?
newinnov said:
Does it works with Lineage 15 build too?
Click to expand...
Click to collapse
Nope, Android P only
newinnov said:
Does it works with Lineage 15 build too?
Click to expand...
Click to collapse
If you know how, you can always test it itself. Just make backup before and write result if u try
wiktorek140 said:
If you know how, you can always test it itself. Just make backup before and write result if u try
Click to expand...
Click to collapse
Lineage 8.1 works fine with non-treble version.
Also, Version 3.0 has some random reboot bugs, so original developer has reverted this kernel to "EvaEAS+-1.2+-cedric.hotfix.zip" Release: 2020-05-07
Zero reboot with this kernel on my XT1794 and latest lineage build
New update to EVA kernel!
Avaiable to download from link in main post. Build with date 20200510 at end.
Available for treble and nontreble build. Should support rom mentioned in main post.
Changelog:
- tweaks in vidc
- compiled using GCC 9.3
- added preset cpu efficiency
- fixed Internal Error message on boot
New UPDATE.
Link available in main post.
Download version with 20200511 date at end of file name.
Changelog:
- minor nfc fixes
- fixed front flash

[KERNEL][lmi][AOSP] Quantic Kernel [29/11/20]

Welcome to Quantic a Kernel built specially for Redmi k30 PRO/ POCO F2 Pro codename: lmi
One of the most used kernel on Custom ROMS on Cepheus chosen by developers and one of the most battery friendly on Redmi k20 Pro community​
/* I'm not responsable for any damage on your device, for X or Y reason, also I'm not responsable if you loose your alarm and got fired and also the thermonuclear war, anything like that, installing this kernel you renounce to make me responsable of any unwanted behavior of your device */
/*Compatible ONLY with Android 10*/
Hi everyone, I want to introduce you my new kernel named Quantic-Kernel, this is my personal build kernel with my prefered features. Hope everyone enjoy it and I'll be maintaining it so people can used it with their preferred AOSP ROM(See details below)
FEATURES
Upstreamed CAF to: LA.UM.8.12.r1-10600-sm8250.0
Fixed Camera not working on AOSP ROMs
Reduced logging events
Performance Improvements on scheduler
Enabled ZRAM up to 2GB with lz4 compressor
Upstreamed lz4 compressor
readahead optimizations
Android Binder tweaks
Optimized memory allocations
Reduced kernel weight
Deactivated CAF CPU Boost following MIUI stock kernel parameters
FIX CPU Capacity issues
INSTALLATION PROCEDURE
Make a TWRP backup of BOOT and DTBO partitions
Flash Quantic-Kernel_rX.zip
Reboot to system
Enjoy it
BUGS:
Hostpot may be broken
Works only on ROMS with firmware 12.0.4.0 (check details on Github release)
DOWNLOAD HERE
https://github.com/KONA-DEVS/kernel_xiaomi_sm8250/releases/tag/r2
TELEGRAM CONTACT
https://t.me/Ayrton990 <-- Personal TG
https://t.me/aicplmi <-- Discussion group for support
Thanks List
To kdrag0n
To Kerneltoast
To alk3pInjection
ATTENTION: This KERNEL is NOT based on HiiraKernel, is in construction since early October when I bought the device
SCREENSHOTS ATTACHED BELOW
XDA:DevDB Information
Quantic Kernel, Kernel for the Redmi K30 Pro
Contributors
Ayrton990
Source Code: Github KONA-DEVS
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: r2
Beta Release Date: 2020-11-29
Created 2020-11-22
Last Updated 2020-11-29
Reserved
Another reserved
Hostpot may be broken => I'm waiting when it finish !!!
svzodiac said:
Hostpot may be broken => I'm waiting when it finish !!!
Click to expand...
Click to collapse
what do you mean with that?
Ayrton990 said:
what do you mean with that?
Click to expand...
Click to collapse
BUGS:
Hostpot may be broken => I'm waiting for the stable version
PE Plus - stuck on POCO Logo. Still better this than crashing after boot ;D
Edit: Also if some apps stopped working (showing content) for ya just clear data of Android System WebView
Deleted
@Ayrton990: Awesome! Could you add Wireguard support, please?
Finally a kernel for this device, thanks for this man. I hope we get more kernels and MIUI/Android 11 support.
svzodiac said:
BUGS:
Hostpot may be broken => I'm waiting for the stable version
Click to expand...
Click to collapse
Yeah but the way you wrote it seems to be little rude
grt67DFqyu said:
@Ayrton990: Awesome! Could you add Wireguard support, please?
Click to expand...
Click to collapse
Yes it will be added next update
Thank you for your work!!!Will you consider supporting lineageos?
will you add kcal support & fsync toggle?
Camera does not work in c.droid after kernel
Derepinar said:
Camera does not work in c.droid after kernel
Click to expand...
Click to collapse
Crdroid use 12.03......this kernel work on 12.04 base.
This should work for Paranoid Quartz right?
nvm: aospa is based on 12.03
Awesome work! Thanks!
Thank you very much ? i am waiting miui12 and android 11 weakly support. And i am waiting mostly screen oc. Congratulations for fix xiaomi sources ?
how do I know on which version of ROM am I ? I forgot what was my stock ROM was when I was flashing first Xiaomi.eu rom then oneOS rom..

[ROM] [UNOFFICIAL] [12.1] LineageOS 19.1

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
Click to expand...
Click to collapse
LineageOS is a free, community built, aftermarket firmware distribution of Android 12 (S), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Based on the Exynos7420 source code.
What's working:
Audio
Bluetooth
Telephony (Calls, SMS, Mobile Data)
WiFi/Hotspot
NFC
Camera
Fingerprint
HWC
GPS
What's not working:
VoLTE and other proprietary Samsung stuff
SELinux Permissive
You tell me
Download Link:
LineageOS Releases on my GitHub
Source Code:
https://github.com/samsungexynos7420/local_manifests/tree/lineage-19.1https://github.com/samsungexynos7420/android_kernel_samsung_universal7420/tree/lineage-19.1
ROM OS Version: 12.x S
ROM Kernel: Linux 3.10.108
Based On: LineageOS
Version Information:
Beta/Testing
ROM creation date: 23/08/2022
Last release: 07/05/2023
If you would like to support me, visit my donation page.
Thanks to:
TALU - various kernel patches used
html6405 and rinando - various lineageos patches used
enesuzun2002 - original exynos7420 source code, without him and his work, none of this would really be possible
Exynos7420/universal7420 contributors
Armash - help with fingerprint issues
Supported Devices:
G920F
G925F
FAQ:
I have echo in phone calls!
Echoing in calls has been a problem for Samsung devices for a long time. Not aware of a fix, but using some old mixer_paths tweaks, the problem can be mitigated somewhat
My banking/other apps arent working!
You need Magisk modules to pass safetynet. Some apps dont like to work if safetynet fails.
My camera wont flash properly when taking a picture
The native AOSP camera app does not properly sync the flash on a lot of Samsung devices. However, you can use third party camera applications, which do not exhibit this behaviour. GCam Go has been reported to work fine.
I have a problem not on this list!
Describe your problem in detail and steps to reproduce it. Take a logcat, kmesg, dmsg using syslog or other method and post here, or preferably an issue on GitHub. If you were able to fix the problem, please post how you were able to resolve it.
Changelog
Spoiler: Click for Changelog
07.05.2023
Synced with LineageOS sources (May '23 security patch)
Swapped to linaro BSP for some HWC components
Provides updated code for our device (better UI/performance)
Update precompiled OMX blobs (linaro ones dont work currently), modified to work in vendor/
Move most stuff to /vendor (finally)
Set minimum clock speed in non-power saver mode to 400MHz for A53 cores
GPU now looks for hi-speed load
Other misc kernel improvements
Update seccomp policies
Memfd legacy patches added (as we arent on kernel 3.18 or newer)
LPM kanged from 8890q
Misc changes to props
12.04.2023
You must perform a clean flash. Backup your data using your preferred method, or else you wont be able to unlock your device.​Synced with LineageOS source (April 2023 security)
Reworked the HWC implementation - noticeable improvement to smoothness
All 7 layers are now working
More HWC components built from BSP source + extra flags
Using A810F Gatekeeper blobs - MDFPP implementation from software
Less random errors in logcat
Build fingerprints overridden to latest stock nougat ones
L3 widevine DRM support, some DRM content should work now
Zswap no longer built in the kernel. We don't need it.
In kernel low memory killer is no longer built
Fixed FIPS compilation
Default voltage offset of -37.5mV on the CPU
Upped sustained clock speeds hint in powerhints.json
22.02.2023
Synced with LineageOS sources (March 2023 security updates)
Fixed regression where bluetooth audio crackles when screen is off (core hotplugging is disabled for now)
Fixed VP9 video decoding in apps. We now have more quality options on YouTube. Our hardware can't do 4K60, so only 4K30
ZRAM settings kanged from exynos 7580 (75% of RAM is ZRAM now). This should be better for general usability
Thanks to enesuzun2002 releasing the BSP, we can now build HWC components from source. Shouldn't change too much for now, but its nice
25.02.2023
GPS works now
Fixed regression where mobile data wouldn't work (need different patches for netd/bpf for some reason)
HRM/SPO2 works semi-properly now due to a missing SPO2 permission (taken from universal5433).
ZRAM reduced to 800mb for now
15.02.2023
Synced with LineageOS sources (Feb 2023 security update)
Back on Nougat kernel for now
So edge models should be able to disable hw buttons without issue
Added FB notifier for touchscreen and touchkey - touchkeys no longer vibrate when screen is off
Added CPU/GPU voltage control. Use hkTweaks to undervolt. (at your own risk)
Added BFQ i/o scheduler
Added Dynamic F-Sync (from anans cronos kernel)
Wireguard VPN support
Battery store_mode support
Hwbinder for sensors, memtrack, renderscript, GNSS
uprev BT audio hal to 2.1
Fixed headphone jack being too loud
AdvancedDisplay added
Logs no longer spammed with errors about CPUs being online. Moved to a less jank way of disabling cores on power saver. You can control amount of cores online by editing the value in /sys/power/cpucore_max_num_limit (8 = all cores online, 4 = all big cores disabled etc)
Misc changes:
Source code moved to samsungexynos7420. Please build from there.
7420_patches cleaned up, a lot werent needed.
Using protobuf 2.6 now instead of 2.4 - precompiled and included in vendor
Newer aptX from crosshatch
secril blobs from latest official nougat
ZRAM settings changed a bit, nothing big
12.12.2022
Synced with lineage sources - android december security update
Removed AudioFX as a test
22.11.2022
Synced with LineageOS sources, we have novemeber security updates
UI performance dramatically improved due to prebuilt HWC components
Bluetooth audio fixed, we were building 64bit HAL for some reason
ZRAM values tweaked
Added experimental aptX
Added experimental freeform windows
Core hotplugging disabled, causes issue with BT audio when screen is off
Swapped to LE video codecs for now
New power saver mode - 4 small cores, 2 big cores, tweaked frequencies (jank implementation lol)
OpenCL fixed
Fixed GPS rollover bug
08.10.2022
Fixed S6 Edge not booting (weird kernel glitch)
Modified powerhints.json
07.10.2022
Synced with LineageOS sources
Swapped to EQ1 kernel based on S6 Nougat firmware. However due to last minute issues, only necessary features were added.
Added and enabled ZRAM with lz4, improves general usability
Graphics should be slightly smoother
AOD now has acceptable brightness, better implementation later
Added Heart Rate Monitor permission
Switched to new Pixel Power HAL from hw/samsung
Fingerprint reader fixed (ty @ArmashOnXDA for the help)
Added basic vibration intensity control
Overall system responsiveness improved
G925F touch key disabler should work properly now
USB tethering fixed
28.08.2022
Initial G925F release
AOD enabled
Keydisabler is working, meaning on-screen buttons and gestural navigation can be selected
Reduced default display density to compensate for A12's new UI
23.08.2022
Initial Release for flat models
wow great work!!! Will try it soon, my S6 is not with me yet. Wish I can try it now :cheers:. Also thanks for bringing this old phone up to-date.
WOAHHHHHHHH :OOOOOOOOOOOOOOOO
Will it be available for the S6 Edge soon? zeroltexx/SM-G925
ArmashWasTaken said:
:OOOOOOOOOOOOOOOO
Will it be available for the S6 Edge soon? (G925F/I)
Click to expand...
Click to collapse
yes. but for now while its a bit buggy, focusing on 1 device
Good news, I just have a bootloop on my S6 so I did a factory reset so there's nothing on my phone right now (Nothing to worry because I backed up all my data into laptop already). Might try it in tommorow. This phone is my main phone currently so I'll test on it
mine is G920F so hoping that everything is fine
fakemanoan said:
LineageOS is a free, community built, aftermarket firmware distribution of Android 12 (S), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
After a long wait, here is Android 12L for the Samsung Galaxy S6! Though it is a beta with some issues, I figure I release it.
Based on the Exynos7420 source code.
What's working:
Bluetooth
Telephony (Calls, SMS, Mobile Data)
WiFi/Hotspot
NFC
GPS
Camera
HWC
What's not working:
VoLTE and other proprietary Samsung stuff
Fingerprint
You tell me
Download Link:
LineageOS Releases on my GitHub
Source Code:
GitHub - fakemanoan/local_manifests
Contribute to fakemanoan/local_manifests development by creating an account on GitHub.
github.com
GitHub - fakemanoan/android_kernel_samsung_universal7420
Contribute to fakemanoan/android_kernel_samsung_universal7420 development by creating an account on GitHub.
github.com
ROM OS Version: 12.x S
ROM Kernel: Linux 3.10.x
Based On: LineageOS
Version Information:
Beta/Testing
ROM creation date: 23/08/2022
Last release: 23/08/2022
Thanks to:
Talu(atgithub) - various patches used
html6405 and rinando - various lineageos patches used
enezusun2002 - original exynos7420 source code, without him and his work, none of this would really be possible
All Exynos7420/universal7420 contributors
Click to expand...
Click to collapse
Congratulations !1 You are the man !
fakemanoan said:
Will the Edge models be supported? (G925)
Yes, but for the moment just flat models whilst everything gets sorted.
I have echo in phone calls!
Echoing in calls has been a problem for Samsung devices for a long time. Not aware of a fix as of yet.
I have a problem!
Post relevant problem and debugging information (ie logcat, last_kmesg etc) here or on github
If you want to see the project improve , help by contributing code!
Changelog:
23.08.2022
Initial Release for flat models
Click to expand...
Click to collapse
Paypal link?
Concept48 said:
Congratulations !1 You are the man !
Click to expand...
Click to collapse
I,m installing now /sucess/ Reboot /after 18 cycles booted up / setting up /and I,m inn . waw I waited sooo long for this to happen .
You don't wanna know how happy we are ,,The S6 is making it's comeback - THANK YOU !!
Concept48 said:
I,m installing now /sucess/ Reboot /after 18 cycles booted up / setting up /and I,m inn . waw I waited sooo long for this to happen .
You don't wanna know how happy we are ,,The S6 is making it's comeback - THANK YOU !!
Click to expand...
Click to collapse
Glad to hear it works for you. I'll be working on some other releases soon (tm), probably crdroid, pixel experience and others (any suggestions?).
Concept48 said:
Paypal link?
Click to expand...
Click to collapse
Check the OP
fakemanoan said:
Glad to hear it works for you. I'll be working on some other releases soon (tm), probably crdroid, pixel experience and others (any suggestions?).
One suggestion , don't leave us and stay !
Click to expand...
Click to collapse
thanks lot for your time and work man ♥
please will you update this room later ?
Just installed it 20 mins ago, everything until now is smooth and no over heat. Good work!!
adelbouzi said:
thanks lot for your time and work man ♥
please will you update this room later ?
Click to expand...
Click to collapse
He just started and said in chat he will do allot more
Concept48 said:
He just started and said in chat he will do allot more
Click to expand...
Click to collapse
When are you making the review of the ROM?
ArmashWasTaken said:
When are you making the review of the ROM?
Click to expand...
Click to collapse
I was so tired when I came home so I Shot the video , fell a sleep while making it , but just posted it , it's up my friend I must just finish some text and links !! So Right Now !
ROM works like a charm for now uptime 12 hrs Plus no RR (random Reboots) etc here a promotional video
Damnnnnnnnnn that's so coolllll!!!! I can't wait for S6 edge (zeroltexx) to get the update. Any estimate as to when will G925 get the update?
Concept48 said:
ROM works like a charm for now uptime 12 hrs Plus no RR (random Reboots) etc here a promotional video
Click to expand...
Click to collapse
appreciate the support!
ArmashWasTaken said:
Damnnnnnnnnn that's so coolllll!!!! I can't wait for S6 edge (zeroltexx) to get the update. Any estimate as to when will G925 get the update?
Click to expand...
Click to collapse
dont hold me to this, but (hopefully) i plan to have all s6 variants with an A12L release by the end of the week, including W8 variants.
I still can't get the fingerprint sensor working properly. I don't want to keep the releases back if that doesn't work though, as everything else appears to work fine.
After I release the new builds, i'll try get SELinux to enforcing, DT2W and the new pixel power HAL working. We'll see how that goes lol

Categories

Resources