[REFERENCE] ELS - exynos-linux-stable (4.9.193)

farovitus

Senior Member
Apr 30, 2011
1,058
4,818
0
Beirut
Project: Exynos-Linux-Stable​
- Exynos-Linux-Stable is an organisation on GitLab & GitHub containing upstreamed linux for some of the latest flagship handset from SAMSUNG like the S7, S7E, S8, S8+, Note 8, S9, S9+, Note 9 kernel upstreamed to be inline with respective linux branches.

What does this bring?
- All of the devices mentioned above uses Long Term Support (LTS) releases, they are like old softwares.
- LTS releases are supported through their specified support duration by security updates, bug fixes, backports, and new device drivers, just like a regular release.
So updating or up-streaming your device's kernel brings many improvements talking security, performance wise etc...

How do I use?

If you are a developer, the reference tree is located in the exynos-linux-stable organization: https://github.com/exynos-linux-stable

This can either be merged into your existing kernel tree if you have one or be used as a fresh base. You do not need my permission to use it nor do you need to give me credit (although it would be appreciated).

If you are a user, ask your kernel developer KINDLY to use this source for his kernel that has all the changes added in!


Getting notified about updates

There are a few ways to get notified of linux-stable updates:
The exynos-linux-stable Telegram channel: https://t.me/exynos_linux_stable
Subscribe to this thread

XDA:DevDB Information
ELS - exynos-linux-stable, Kernel for the Samsung Galaxy Note 9

Contributors
farovitus
Source Code: https://github.com/exynos-linux-stable/crownlte

Kernel Special Features:

Version Information
Status: Stable
Stable Release Date: 2019-05-18

Created 2018-08-24
Last Updated 2019-09-17
 
Last edited by a moderator:

Phoenix09

Senior Member
Dec 1, 2009
888
535
113
Equestria
This source appears to be broken (apparently now differently to when I tried a few days ago):
Code:
~$ mkdir note-9
~$ cd note-9
~/note-9$ git clone https://bitbucket.org/UBERTC/aarch64-linux-android-4.9-kernel
~/note-9$ git clone https://github.com/exynos-linux-stable/crownlte
~/note-9$ cd crownlte
~/note-9/crownlte$ export ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- PATH=$PWD/aarch64-linux-android-4.9-kernel/bin:$PATH
~/note-9/crownlte$ make exynos9810-crownlte_defconfig
~/note-9/crownlte$ make -j1
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      init/version.o
  LD      init/mounts.o
  AS      init/_uh.o
init/_uh.S: Assembler messages:
init/_uh.S:40: Error: file not found: init/uh.8g.elf
scripts/Makefile.build:393: recipe for target 'init/_uh.o' failed
make[1]: *** [init/_uh.o] Error 1
Makefile:1036: recipe for target 'init' failed
make: *** [init] Error 2
stock source builds in the same environment.
 
Last edited:

Phoenix09

Senior Member
Dec 1, 2009
888
535
113
Equestria
Last edited:

Phoenix09

Senior Member
Dec 1, 2009
888
535
113
Equestria
4.9.140 has been merged.
that now builds for me.. in the exact same environment, Ubuntu 14.04 in vagrant with a script:
Code:
#!/bin/sh
set -e

sudo apt-get update
sudo apt-get install -y git build-essential bc

cd $HOME

[ -d aarch64-linux-android-4.9-kernel ] || git clone --depth=1 https://bitbucket.org/UBERTC/aarch64-linux-android-4.9-kernel
[ -d crownlte ] || git clone --depth=1 https://github.com/exynos-linux-stable/crownlte

export ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- PATH=$HOME/aarch64-linux-android-4.9-kernel/bin:$PATH

cd crownlte
make exynos9810-crownlte_defconfig
make -j8
 
  • Like
Reactions: farovitus

mafioso345

Senior Member
May 29, 2012
274
36
0
hi, i need a stock note 9 pie kernel (CSB3), i flashed another kernel and it wont allow me to go past my login, can you please direct me to a stock pie kernel so i can flassh and get in?
 

oNyxia

Senior Member
Dec 10, 2013
56
25
38
hi, i need a stock note 9 pie kernel (CSB3), i flashed another kernel and it wont allow me to go past my login, can you please direct me to a stock pie kernel so i can flassh and get in?

Don't ask here.. Just take a Rom like ketan and flash only kernel via aroma. Done

Ketan p06 has CSB3 base so that kernel will work no problem.
 

-W_O_L_F-

Senior Member
Jul 10, 2010
1,029
934
143
Moscow
I know it's a stupid question but how to pack kernel inside IMG? I want to get image for heimdall.
I've honestly googled but it looks like everybody just knows how to do this. And nobody discuss it :(
 

Eamo5

Recognized Developer
Apr 26, 2018
797
3,036
113
Melbourne
I know it's a stupid question but how to pack kernel inside IMG? I want to get image for heimdall.
I've honestly googled but it looks like everybody just knows how to do this. And nobody discuss it :(
You'll want to use Android Image Kitchen to unpack and repack kernels inside images. You can diff the unpacked boot.img provided in devbase with mine to see the basic ramdisk modifications to prevent forced encryption or various other issues. Or you can just unpack my image, it's relatively basic with it's modifications. Hope this helps.

EDIT: You can also look at my make9810.sh script on GitHub to see the various steps I take for repacking my images.
 
Last edited:

bandario

Senior Member
Feb 1, 2011
435
143
63
Victoria
Can someone explain what this is for? Is this purely for use with linux on DEX or are you guys flashing linux direct to your Note9 somehow? Or updating the kernel that android is running on?
 

-W_O_L_F-

Senior Member
Jul 10, 2010
1,029
934
143
Moscow
Can someone explain what this is for? Is this purely for use with linux on DEX or are you guys flashing linux direct to your Note9 somehow? Or updating the kernel that android is running on?
It's a reference kernel source with all recent patches from vanilla kernel applied to Samsung stock one. Some developers use this source as a base for their custom kernels. This is what it's for.

ELS is for Android. But I'm developing a kernel that can boot Linux (GNU/Linux) on Note9. And yes, it's based on ELS sources.