[Q] upgrading the kernel to the latest stable - Samsung Galaxy J7 Prime / J7 On NXT (Exynos7870)

is it possible to run Android using the latest stable linux kernel instead of sticking with the LTS version ? I mean instead of using 3.18.x, use 5.1.15, latest stable as of today according to the git releases https://www.kernel.org/
If so, is there a guide on how to do so, I mean:
* Which options are critical to enable in the interactive menuconfig
* if its needed to compile modules for this version or only the kernel image is enough ?
I've manually built many linux kernels for optimizing linux distros but never did so for an Android device, so something may be different, specially the stuff related to kernel modules

Related

[Q] Kernel version 3 or version 2.6.32.9?

What is the advantage of using a version 3 linux based kernel over the solid 2.6.32.9? Of course the obvious will be that is the most recently... but what does the new version kernel, specially because is a Linux port, improve the already existent 2.6.32
I appreciate any help on this.
Thanks!

Unified kernel for msm8974 devices

Unified kernel for msm8974 devices
hi all
we are cooking 1 kernel for all msm8974 devices for all custom roms
Source
https://github.com/sonyxperiadev/kernel
in this moment Z1 (honami) and Z2 (sirius) are tested
feel free to fork, joyn and push back
XDA:DevDB Information
Unified , Kernel for the Sony Xperia Z2
Contributors
jerpelea, Kali-, tilal6991, cdesai
Kernel Special Features:
Version Information
Status: Testing
Created 2014-10-07
Last Updated 2014-10-13
By "custom" you mean based on stock roms or AOSP-derived?
adwinp said:
By "custom" you mean based on stock roms or AOSP-derived?
Click to expand...
Click to collapse
both
depending on what an developer wants to build
What will the impact of this project be on areas that have been problems for aosp projects such as hardware drivers ?
furrypotato said:
What will the impact of this project be on areas that have been problems for aosp projects such as hardware drivers ?
Click to expand...
Click to collapse
1 kernel to rule them all means that 1 hal fixed in 1 device works on all devices
1 patch merged in kernel to fix something fixes same problem on all devices
jerpelea said:
1 kernel to rule them all means that 1 hal fixed in 1 device works on all devices
1 patch merged in kernel to fix something fixes same problem on all devices
Click to expand...
Click to collapse
I hope I'm not presumptuous or wrong: will it come with CWM and/or TWRP recovery versions?
Many thanks.
bonderbond said:
I hope I'm not presumptuous or wrong: will it come with CWM and/or TWRP recovery versions?
Many thanks.
Click to expand...
Click to collapse
this is just source code so depends on developers on what android fork is used
jerpelea said:
both
depending on what an developer wants to build
Click to expand...
Click to collapse
Unless I'm mistaken, the sony source doesn't work with pure AOSP. All AOSP or derivatives roms use the CM android_kernel_sony_msm8974pro or forks of it.
My question is thus the following: is this kernel source compatible with AOSP or like "kernel-copyleft", only with stock rom derivatives?
My custom kernel works on the latter, but I need to use the "msm8974pro" trees for pure AOSP.
Unless I'm missing something?
adwinp said:
Unless I'm mistaken, the sony source doesn't work with pure AOSP. All AOSP or derivatives roms use the CM android_kernel_sony_msm8974pro or forks of it.
My question is thus the following: is this kernel source compatible with AOSP or like "kernel-copyleft", only with stock rom derivatives?
My custom kernel works on the latter, but I need to use the "msm8974pro" trees for pure AOSP.
Unless I'm missing something?
Click to expand...
Click to collapse
it works perfectly on aosp and derivates
new guides published
http://developer.sonymobile.com/knowledge-base/open-source/open-devices/
kernel is rebased
z3 platform (shinano) added to kernel
https://github.com/sonyxperiadev/kernel/commits/aosp/LNX.LA.3.5.1-01110-8x74.0
status
z1 - bringup in progress
z2 - boots
z3 - boots
feel free to push fixes
broadcom wifi is now merged in kernel
crash has been fixed
broadcom wifi crash fixed
Can't boot
@jerpelea I've compiled AOSP Lollipop and it boots fine. I've compiled the kernel from 3.5.2.2 branch of the unified kernel source and successfully made zImage. I've combined the zImage with the resulting dtb and the ramdisk from the AOSP build. I can't get the device to boot for some reason. It's stuck at the Sony boot logo. Did I miss a step ? I've searched online but couldn't get enough help about this.
Tried the same with Kitkat too but same result. Doesn't go past the sony boot logo.
UPDATE
Got it to work The command line argument in the guide provided has android boot device as qcom whereas the one compiled during AOSP has it as "shinano" Took me 1 build to understand this Back to work again
hi All
Busy weeks ....months ...
Progress so far
- unified 3.4 kernel is stable for daily use and community tweaking
As some of you have already seen we have started work on comunity 3.10 unified kernel
This kernel is not finished and not stable but is an invitation for developers to joyn, test and improve a kernel built "by community for community"
Br
J
build guide has been updated for easy reading
http://developer.sonymobile.com/kno...evices/how-to-build-and-flash-a-linux-kernel/
hi all
kernel 3.10 is progressing nice
it can soon be used on SONY AOSP Project
master branch on devices uses 3.10 kernel
l-mr0 branch uses 3.4 kernel
br
J
hi all
3.10 is progressing nice
at this point can be used for L MR1 and shows good battery savings
more enhancements and bugfixes will come soon
br
J
Hi @jerpelea, which of the branches should be used for the 3.10 kernel?
I ll be appreciated that the unified kernel can support d6563.

FakeModStockOS [LT30P]

Stock Based Full Custom ROM for LT30P Based on [Stock 9.2.A.1.205] and Community Suggestions
[[whys it called FakeMod?]]
Becuase its not a true Mod/Custom Rom Merely a combination of allthings moddable on our LT30P
-------------------------------------------------------------------------------------------------------------------
Lets revitalize the LT30P for all users that still own the device im building a stock Kernel compatible Rom using the latest still compatible Binaries i can find for Android 4.3 certain trade offs will have to be made for compatability with SEMC's systemui and framework but we could still replace a large part of that with our own versions using the right tools..
Multistage project
---------
stage 1#
Research into latest or most stable ***STOCK*** Compatible Kernels for LT30P UK/EUROPEAN Devices
[this also includes *any* kernel that loads without errors on the LT30P **Locked Bootloader Only**] [SBL Hacks/KEXEC mod bypasses also acceptable]
stage 2#
Base system building using known working Binaries compatible with Android 4.3 Jellybean
(this includes all WiFi firmware and GPU Libraries [Non-free included in Update.Zip to fit with GPL if necessary?]
stage 3# Basic system Apps Voting [SEMC Apps possible (included as separate aroma Addon Update.zip ONLY)]
stage 4# Addon apps [including launchers and Minimal GAPPS]
Stage 5# Alpha Testing/Release Stage [Adding final apps and stability testing all round]
During all stages i would appreciate all input even if your telling me you hate the current rom design
to be honest theres not much to go on for our specific device at the moment but so much available for JellyBean 4.3
show me what you've found for 4.3 or even what systemui/framework App you've found useful for our LT30P
Apps/Themes or even General Fix/Patches to make the device work better its up to you this will be a community effort among the few people that still use this device lets show them what this device is truly capable of just because we cant easily unlock bootloader for many people doesn't have to be obsolete
requirements:
All modifications MUST be Compatible with Kernel [9.2.A.1.205 Stock]
Workarounds Are Acceptable as long as they are reliable and don't cause issues with the ROM (minor issues can be patched if possible)
main aim of project is to provide as many new features as possible while keeping the ROM Stock Kernel Bootable this is just a test project to push our device to the limits
XDA:DevDB Information
LT30P FakeModStockOS, ROM for the Sony Xperia T
Contributors
xxsm0k3xx
ROM OS Version: 4.3.x Jellybean
ROM Firmware Required: Stock LT30p_9.2.A.1.205
Based On: 9.2.A.1.205[Stock]
Version Information
Status: Testing
Created 2016-12-24
Last Updated 2016-12-23

How to build custom kernel for Lenovo p1ma40, to support MagiskHide?

Lenovo p1ma40 runs on Android 5.1. And I want to use MagiskHide but am unable to do so, as , "Pre 6.0 kernels are very likely to have no mount ns procfs support, which is required for MagiskHide to work properly. This Linux kernel feature is only required to be added in Android 6.0."
So, as stated at xda forums, we need to rebuild the kernel with the required patch (https://lore.kernel.org/patchwork/patch/217023/). And set
CONFIG_NAMESPACES=y. My question is : 1) How do I patch the kernel source code(pls give exact steps)? 2)How do I flash the modified kernel? 3) do I need to unlock bootloader to do so?
Thanks in advance.....
Link: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/amp/

anyone use kernel 4.14 here?

hi! does anyone here using android 10 with 4.14 kernel here? i'm stuck on 4.9. i really want to try out 4.14 because 4.9 kernel is problematic on aosp 10. i tried to follow sony's guidelines to build aosp 10 kernel 4.14 based but i got errors at the end.
thanks

Categories

Resources