How to bump linux kernel subversion to latest - Android

The question is pretty much in the title. I am working with kernel trees that have been bumped to 3.4.108 and i would like to know the easiest way to update them to probably the last 3.4.x version, 3.4.112. Any help is appreciated.

Is imposible to update kernels without reinstalling a new rom.
Sent from my XT687 using xda premium

I am building my own rom. I just want an easy way to upstream my kernel sources from 3.4.108 to 3.4.112.

pchatzop said:
I am building my own rom. I just want an easy way to upstream my kernel sources from 3.4.108 to 3.4.112.
Click to expand...
Click to collapse
Im in the same situation, I try to use patches but im not sure (atm) if this will work
Gesendet von meinem Nexus 6P mit Tapatalk

I got it working by applying all incremental patches up to 3.4.112. Had some problems at first but thanks to some donor changes from the oneplus one kernel git, i got it going.

Related

[DEV][PORTING]Linux 3.4.x/3.10.x/3.12.x Kernel for I9300

Hey guys!
As you maybe know, we have the newest Android 4.4 but only a 3.0 Kernel. But we need the newer versions since Android is based of this new ones and if the gap between our version and Google's version is too big, it will take a long time to reach this. So i would say: "We need a newer kernel, let's go for it!" and i wanted to know if anybody is willing or if somebody is even able to port the 3.4 (or a newer version like 3.10 or 3.12) to our device to get better performance and to be safe to get all updates. If anybody is able and wants to help, please write it here or PM me. Also we should form a dev team to have the control over this project.
So if anybody is willing to, I will really appreciate it. I start this project on my own and you can join in to help and contribute your knowledge to this project. I will provide more info if needed. And yes, I know that it will be difficult but it is possible to reach the target.
Greets and best regards,
markey
If you want, have a look over here:Thread in development discussion section
Edit1: As i've seen in the poll, everybody (till now) wants the 3.4 kernel to be ported. So I have another question: Do you want me to port the 3.10 (or higher) Kernel also, after the 3.4 is running stable?
If yes, just write at the end of your post. Thanks. :good:
Edit2: I have decided to start porting the 3.1x+ Kernel based on dorimanx' sources first and then will try to port 3.4 cause 3.4 will have a better ability to be well integrated into Android till now and 3.10+ will take us one step further and keep us on track for the next Android versions which will be propably based on 3.8 or 3.10 Kernel.
If you have questions what this upgrade will (roughly) bring us, have a look at my last post in this thread.
This is great. It will be HARD, but, worth it. Just, maybe, this will see completion one day. I'll copy in kernel devs if I were you.
@DerTeufel1980
Sent from my Omni 4.4 Galaxy S3. Proud Googy Beta tester.
Great to see this! We need 3.4.x kernel!!
Regards :good:
Yes we can
tapatalked with my i9300
ROM: CyanogenMod 11
Kernel: Googy-Max2 (r3p2)
Googy to the rescue?!
Sent from my Omni 4.4 Galaxy S3. Proud Googy Beta tester.
It will be great!!!! Good luck, man:good:
Yes. Its gsear. Wait!!!
Sent from my GT-I9300 using XDA Premium 4 mobile app
Let the fun begin
Envoyé de mon GT-I9300 en utilisant Tapatalk
This a is a great quest ... my props to the dev !
About kernel
3.4 would be amazing
3.10/12 more than we ever could ask
Thanks for u guys doing what samsung never cared to do for us
Enviado do meu GT-I9300 através de Tapatalk
googy_anas said:
Let the fun begin
Envoyé de mon GT-I9300 en utilisant Tapatalk
Click to expand...
Click to collapse
We have lift off!
Sent from my Nexus 7 (2014) using Tapatalk. My mobile is an Omni run Galaxy S3.
Stunning idea! I just wish I already had the knowledge and the time to help, but I really hope this takes off!
edit. go for 3.10-3.12 of course, the Sky's the limit, but 3.4 is a good stopgap as it runs on similar Samsung-devices ...
Someone could try merging dorimanx smdk4210 (s2) Kernel. He has already merged most of 3.13, and our s3 kernel is also working for s2, after cm had merged some parts.
Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2
DerTeufel1980 said:
Someone could try merging dorimanx smdk4210 (s2) Kernel. He has already merged most of 3.13, and our s3 kernel is also working for s2, after cm had merged some parts.
Gesendet von meinem SAMSUNG-SGH-I317 mit Tapatalk 2
Click to expand...
Click to collapse
Thank you for that great info DerTeufel, I will see when I can start to merge it and work on it. So it would mean, we could directly start at 3.13. Isn't that great? I will search for his git, and then i will compare our actual kernels with a 3.0 s2 kernel and see what i have to change. Most difficult part will be to get it booting...rest shouldn't be a thing that big. Let's wait and see.
markey97 said:
Thank you for that great info DerTeufel, I will see when I can start to merge it and work on it. So it would mean, we could directly start at 3.13. Isn't that great? I will search for his git, and then i will compare our actual kernels with a 3.0 s2 kernel and see what i have to change. Most difficult part will be to get it booting...rest shouldn't be a thing that big. Let's wait and see.
Click to expand...
Click to collapse
Great idea! Hope it goes well.
Sent from my Nexus 7 (2014) using Tapatalk. My mobile is an Omni run Galaxy S3.
Maybe stupid question, this kernel will be used only on AOSP Roms?, or may run on sammy roms?
niikko said:
Maybe stupid question, this kernel will be used only on AOSP Roms?, or may run on sammy roms?
Click to expand...
Click to collapse
No its no stupid question, just ask if you want to know anything. You're welcome and i am here to answer questions :good:
And now to your question: For now, its meant to run on AOSP ROMs and then afterwards, I will take a deeper look and see if I can get it running good on Sammy, so just wait a bit
And I think I will add features of googy-max kernel, devil-kernel, boeffla-kernel...whatever you want, just write it then when its running fine, and i will try to add it.
I also already thought about adding dual-boot, so yes, you will most likely see Sammy support in this kernel. And afterwards, I will try to make it a kexec kernel and get multiROM or sth like this running, to have e.g. Android and Ubuntu Touch on 1 single device
dat shi cray
samisax said:
dat shi cray
Click to expand...
Click to collapse
What do you want to say with that?
Does this have any sense?
Very nice initiative. Devs in SGS Plus (i9001) also made a fully working 3.4 kernel from the scratch (CAF sources at least ) and now they can release KitKat without pains
Sent from my GT-I9300 using Tapatalk
sanefirst said:
Very nice initiative. Devs in SGS Plus (i9001) also made a fully working 3.4 kernel from the scratch (CAF sources at least ) and now they can release KitKat without pains
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
Haha I know, I own this device myself and followed all developement of the 3.4 Kernel and all other work done by ADC team. :good: They used CAF sources but we will use sources from dorimanx cause we have an exynos processor.
Erik is a good dev, isn't he? Thanks to him we also got dual boot and I think we can also get further versions of Android thanks to ADC team.
Well, we will see how good I can get this working in a short time.

[Q] why are we still using linux kernel 3.0

linux kernel 4.1 released why are we still using 3.0? I am just wondering
nhmanas said:
linux kernel 4.1 released why are we still using 3.0? I am just wondering
Click to expand...
Click to collapse
Porting a new linux kernel to a device is not simple. It brings a lot of stability issues if the kernel version is too new, and so most developers stick with a LTS release such as v3.4.104. Most s2 kernels are at kernel version 3.0.101 because it is found to be stable, and so they stick with the mentality that 'if it ain't broke, don't fix it'.
gsstudios said:
Porting a new linux kernel to a device is not simple. It brings a lot of stability issues if the kernel version is too new, and so most developers stick with a LTS release such as v3.4.104. Most s2 kernels are at kernel version 3.0.101 because it is found to be stable, and so they stick with the mentality that 'if it ain't broke, don't fix it'.
Click to expand...
Click to collapse
I really love your kernel and you are the new kernel master of i9100 now for me. Then why don't you use v3.4.104? My friend's phone is s4 mini and he is using a v3.4.x.x kernel. I think it is stable to use
nhmanas said:
I really love your kernel and you are the new kernel master of i9100 now for me. Then why don't you use v3.4.104? My friend's phone is s4 mini and he is using a v3.4.x.x kernel. I think it is stable to use
Click to expand...
Click to collapse
Honestly, I think I don't have enough developing experience to do such task chhapil is also thinking to update linux version, but is also unsure whether to upgrade to a newer version or downgrade to 3.4.104.
gsstudios said:
Honestly, I think I don't have enough developing experience to do such task chhapil is also thinking to update linux version, but is also unsure whether to upgrade to a newer version or downgrade to 3.4.104.
Click to expand...
Click to collapse
Thank you for your replies. I have 2 more questions.
1. What are the pros of upgrading 3.4.104 kernel
2. So our device is official cm12.1 now and sources are online. Will you release a lollipop kernel?
nhmanas said:
Thank you for your replies. I have 2 more questions.
1. What are the pros of upgrading 3.4.104 kernel
2. So our device is official cm12.1 now and sources are online. Will you release a lollipop kernel?
Click to expand...
Click to collapse
http://forum.xda-developers.com/galaxy-s2/development-derivatives/kernel-dorimanx-lp-5-x-x-t3145879
nhmanas said:
Thank you for your replies. I have 2 more questions.
1. What are the pros of upgrading 3.4.104 kernel
2. So our device is official cm12.1 now and sources are online. Will you release a lollipop kernel?
Click to expand...
Click to collapse
1. Some pros of updating Linux kernel could include increased speed and security (since 3.0.101 kernels are not updated anymore) .
2. I guess you didn't see my Sig? Noppy already linked my dorimanx lp kernel thread. Yes, it works perfectly with cm12.1, however doesn't work yet on other roms like paranoid android and slimlp.
gsstudios said:
1. Some pros of updating Linux kernel could include increased speed and security (since 3.0.101 kernels are not updated anymore) .
2. I guess you didn't see my Sig? Noppy already linked my dorimanx lp kernel thread. Yes, it works perfectly with cm12.1, however doesn't work yet on other roms like paranoid android and slimlp.
Click to expand...
Click to collapse
omg thats what I'm waiting for thanks for all mate

[ROM]CM-13.0 Stable [ZNH2K/ZNH5Y] [Uber Toolchains 4.9.4][Bacon]

UPDATE: BUILDING BOTH ZNH2K/ZNH5Y.This ROM is for people using CM nightlies and snapshot builds. There are no features added or removed. It is pure CM. The ROM source is from the ZNH2K/ZNH5Y stable branch. ZNH2K/ZNH5Y is behind the nightlies and ahead of snapshot source. The ZNH5Y branch is newer code than ZNH2K but both are CM stable branches. Everything just works. The kernel is synced from nightly source. I build both ROM and kernel using Uber Toolchain 4.9.4 for smoothness and its optimizations over the stock toolchains. There is nothing fancy going on here. Just a solid CM build with great battery for the OnePlus One. I build this for my personal use and thought there might be some other users that would enjoy it. I will also say I am new to this and still learning. I test every build myself before release. If someone encounters a bug I didn't find chances are it comes from CM and will be fixed when they fix it.
DO NOT DIRTY FLASH FROM ZNH5Y TO ZNH2K. DIRTY FLASH FROM ZNH2K TO ZNH5Y IS FINE.
Banks GApps: http://download.dirtyunicorns.com/files/gapps/banks_gapps/
Open GApps: http://opengapps.org/
ROM: https://www.androidfilehost.com/?w=files&flid=55707
XDA:DevDB Information
ZNH2K/ZNH5Y-Stable-Bacon, ROM for the OnePlus One
Contributors
Brian325
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Flash latest CM nightly for latest firmware
Based On: Cyanogenmod
Version Information
Status: Nightly
Stable Release Date: 2016-06-13
Created 2016-06-13
Last Updated 2016-10-09
Reserved
https://www.androidfilehost.com/?w=files&flid=55707
Reserved
I will probably post new builds on a weekly basis.
Brian325 said:
https://www.androidfilehost.com/user/?w=settings-dev-files&flid=55707
Click to expand...
Click to collapse
the link to download requires an account
edited link
pablomoreno said:
the link to download requires an account
Click to expand...
Click to collapse
Sorry about that. New link up.
looking forward for better cm from this rom! heads up
http://download.dirtyunicorns.com/files/gapps/banks_gapps/
Sent from my A0001 using Tapatalk
is this twrpable? and can i flash over a any cm13 based rom and is this clean flashable?
also does this have the mod ready apps?
dirty flashed from sultan,everything is fine. pls keep up with this nice idea. nightly kernel with stable rom base[emoji16]
Thanks for this, I'm using nightlies after trying many Roms and with the right kernel it's still the best in speed and battery. Hoping this makes it even better. Gonna try. Thx.
Oneplus One
Bradl79 said:
is this twrpable? and can i flash over a any cm13 based rom and is this clean flashable?
also does this have the mod ready apps?
Click to expand...
Click to collapse
Flash this ROM just like a CyanogenMod nightly in TWRP. I would clean flash (wipe data,system,cache)
Sent from my A0001 using Tapatalk
Using this rom now, so far is great... Thanks for sharing with us sir...
Sent from my A0001 using XDA-Developers mobile app
How's battery so far? Mainly anyone who was recently using sultan's rom. It's been awhile since I've used it.
Sent from my A0001 using Tapatalk
How to hide the supersu indicator which shows for root apps. Anyone?
IamsKs said:
How to hide the supersu indicator which shows for root apps. Anyone?
Click to expand...
Click to collapse
You can't disable it with CyanogenMod. Some roms have added the feature to disable. It always shows if you have a root app open.
Sent from my A0001 using Tapatalk
Brian325 said:
You can't disable it with CyanogenMod. Some roms have added the feature to disable. It always shows if you have a root app open.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Could you add a switch for that?
pa1281 said:
Could you add a switch for that?
Click to expand...
Click to collapse
Honestly I do like the option. I really didn't want to get away from stock CM setup mainly for stability reasons. I might look into though.
Sent from my A0001 using Tapatalk
Brian325 said:
Honestly I do like the option. I really didn't want to get away from stock CM setup mainly for stability reasons. I might look into though.
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Thanks for the consideration. I do agree with you ROM being as close to CM. But things like superuser indicator and network activity indicators force us to use xposed which makes the ROM unstable. If u could add them we can avoid xposed.
Just a suggestion, u can add useful features like disable fc, network activity indicators, disable su indicator which helps lot of users avoid using xposed.
@Brian325
Force close when trying to restrict data and WiFi usage for system apps. Nightlies don't have this . They have pushed a commit to hide these settings for system. If possible please add it.
Rest all perfect..

[Kernel] [3.4.15] [D855] WinXkernel [Alpha 0.2] [15/02/17]

After compiling roms for a couple devices and learning about the android rom, i have decided to dabble in the arts
of kernel compiling, i started with my main device the Nexus 6p, learnt a fair bit compiling kernels for it, so i decided to
come back to this device for testing purposes and trying to test and go back to ARM device which is completely different.
Now with the Nexus device i went full updated linux kernel first then gave updates, but this time ill be doing something a little
different, i will upstream some kernel updates, plus caf updates then i will give a release, or for example, the first realease i will
give you guys will be 3.4.2 kernel version, just to get things going, then next release will be a higher version.
I hope all of you like it i will be adding alot of stuff in the coming months.
All releases will keep up to date and working with latest CM roms
Here is the download link just click on the kernel and it will download
XDA:DevDB Information
WinXkernel, Kernel for the LG G3
Contributors
winxuser
Source Code: [url]https://github.com/winxdroid/android_kernel_lge_g3[/URL]
Kernel Special Features:
Version Information
Status: Testing
Created 2017-02-08
Last Updated 2017-02-15
CHANGELOG
15/02/17
updated to 3.4.15
added adreno idler
added new powersuspend
added power efficient workqueue
added voltage control
added kcal
08/02/17
Latest LineageOS kernel update
Updated to 3.4.2
it is compatible to stock rom or fulmics rom?
No it's not, this is for lineageos nougat roms
Could you please give us more info about this kernel? Thanks in advance.
Ducatuca said:
Could you please give us more info about this kernel? Thanks in advance.
Click to expand...
Click to collapse
Well at the moment it's stock lineage kernel,, I am currently upstream IMG the current 3.4.x updates, and it will also have alot of improvements
really good to see another dev on g3 , thanks for effords ! i will try as soon as possible.
Can you inform me about the kernel versions i dont quite understand what the differences are
Thanks
lintol23 said:
Can you inform me about the kernel versions i dont quite understand what the differences are
Thanks
Click to expand...
Click to collapse
Ok so stock stock kernel you get with stock rom or even custom like CyanogenMod/lineageos has a kernel version of 3.4, each incremental update after that eg 3.4.1 or even 3.4.100 has many fixes and updates within the kernel, some do nothing for our device but others can, a small code change in one file can impact the way the kernel works
karasumert98 said:
really good to see another dev on g3 , thanks for effords ! i will try as soon as possible.
Click to expand...
Click to collapse
No worries I have had this device for many years tried, got a new device and just forgot about it lol, like I said I had been working on the Nexus 6p that I have and decided to try out with this one
This kernel reboots after a short period on rr5.8...
kehne said:
This kernel reboots after a short period on rr5.8...
Click to expand...
Click to collapse
I dont know good.. But rr is lineage? This kernel is for lineage if i good understand
Sealant said:
I dont know good.. But rr is lineage? This kernel is for lineage if i good understand
Click to expand...
Click to collapse
Yep, RR based on linage. So basically it should work, but after 10-30sec the ROM reboots
I can't wait for up to 3.4.113
What devices does this kernel support? I have the vs985
Does this work on all lg g3 variants ?. Because I dont want to flash this and brick my lg g3 d852. Thanks
MaddMaxx636 said:
What devices does this kernel support? I have the vs985
Click to expand...
Click to collapse
TeamAndroid14 said:
Does this work on all lg g3 variants ?. Because I dont want to flash this and brick my lg g3 d852. Thanks
Click to expand...
Click to collapse
This kernel only supports d855 as it is the device I have
kehne said:
This kernel reboots after a short period on rr5.8...
Click to expand...
Click to collapse
Well I'm running latest lineageos and I have never had it reboot on me. Are you using any kernel manager apps at all, as I haven't been able to add and customisation to it just it. It may panic because it's reaching for something it doesn't have
No reboots here either,
Im running the latest official Lineage .
if u have kernel mod or any other kernel tuner installed try to go back to your basic settings or just delete the app and install it again after your first boot.
Really smooth kernel !
Hi... Can you had the savoca Patch to use with Wheatstone.apk? Can use my phone without it
Enviado do meu LG-D855 através de Tapatalk

PolesApart Kernel [WT88047/REDMI 2][UNOFFICIAL]

The goal here is both is to play with features which could be later be backported to official kernels, but also ones that probably shouldn't (like fast charging).
I'm basing my work on some existing kernels, but putting a little tuning here and there and making available via anykernel (3, currently) zippable installers. Currently there's only one maintaned branch, for LineageOS 17.1 and derivatives (success reports comes from LoS 15.1 to Non-LOS based roms, YMMV).
Contributors and testers are always welcome.
Due credit to karthik km for his miracledroid kernel and nicknitewolf for his kernel, rom and all his contributions in having our wt88047 devices up-to-date.
XDA:DevDB Information
PolesApart Kernel, Kernel for the Xiaomi Redmi 2
Contributors
PolesApart
Source Code for current branch: https://github.com/polesapart/android_kernel_wingtech_msm8916/commits/lineage-17.1
Downloads: https://github.com/polesapart/android_kernel_wingtech_msm8916/releases
Kernel Special Features: Anykernel 3 Installers; DT2W; KCAL; LiveDisplay; Fast Charging; Wireguard.
Version Information
Status:Gamma (17.1 branch)
Created 2018-07-23
Last Updated 2020-06-01
Reserved
For Changelog, See the github's releases page.
Reserved
Thanks
can i install this kernal on aosp based roms or only for lineage based?
Thanks for your great works
I wish the source updated with the patches that you applied into it, so it will be easier to read and track
Dan_nomad said:
can i install this kernal on aosp based roms or only for lineage based?
Click to expand...
Click to collapse
You'd have to try. If it doesn't work, then you need to flash the rom again or extract the boot.img from the rom's zip and apply via fastboot.
didhiy said:
Thanks for your great works
I wish the source updated with the patches that you applied into it, so it will be easier to read and track
Click to expand...
Click to collapse
The zram branch is up to date. The miracledroid will be when I release anything from it. I'm currently trying a build from the latter(with zram updates) , and the battery consumption when idle seems way better. If I don't catch anything wrong I'll release a build this week.
PolesApart said:
The zram branch is up to date. The miracledroid will be when I release anything from it. I'm currently trying a build from the latter(with zram updates) , and the battery consumption when idle seems way better. If I don't catch anything wrong I'll release a build this week.
Click to expand...
Click to collapse
I mean the commits here:
https://github.com/polesapart/android_kernel_wingtech_msm8916/commits/lineage-15.1
It should represent the changes that you've done into it. It's better than packed your changes as a separate patches zip.
didhiy said:
I mean the commits here:
https://github.com/polesapart/android_kernel_wingtech_msm8916/commits/lineage-15.1
It should represent the changes that you've done into it. It's better than packed your changes as a separate patches zip.
Click to expand...
Click to collapse
In my tree, lineage-15.1 branch will always be even with upstream. That helps me merging. What you're looking for is available both in:
https://github.com/polesapart/android_kernel_wingtech_msm8916/commits/lineage-15.1-polesapart-zram
and in: https://github.com/polesapart/andro.../commits/lineage-15.1-polesapart-miracledroid - but the latter is out of sync, as I tried to explain earlier.
I'll update these URLs on the OT.
PolesApart said:
The zram branch is up to date. The miracledroid will be when I release anything from it. I'm currently trying a build from the latter(with zram updates) , and the battery consumption when idle seems way better. If I don't catch anything wrong I'll release a build this week.
Click to expand...
Click to collapse
PolesApart said:
In my tree, lineage-15.1 branch will always be even with upstream. That helps me merging. What you're looking for is available both in:
https://github.com/polesapart/android_kernel_wingtech_msm8916/commits/lineage-15.1-polesapart-zram
and in: https://github.com/polesapart/andro.../commits/lineage-15.1-polesapart-miracledroid - but the latter is out of sync, as I tried to explain earlier.
I'll update these URLs on the OT.
Click to expand...
Click to collapse
Yaay... I didn't see that branch LOL thanks for your explanation :good:
The 1st build based on miracledroid is now public: https://github.com/polesapart/andro...m8916/releases/tag/20180725-miracledroid-zram
I'm testing (most of) it on my LOS 15.1 stock rom for a few days now and it's smooth.
PolesApart said:
The 1st build based on miracledroid is now public: https://github.com/polesapart/andro...m8916/releases/tag/20180725-miracledroid-zram
I'm testing (most of) it on my LOS 15.1 stock rom for a few days now and it's smooth.
Click to expand...
Click to collapse
Ohhh nooo,headphone is not with this kernal:crying:
Rbqttp said:
Ohhh nooo,headphone is not with this kernal:crying:
Click to expand...
Click to collapse
Yes, this is a heisenbug that manifests every now and then (half the time I change something and rebuild the kernel). I've uploaded another build that works for me, please try it:
https://github.com/polesapart/andro...m8916/releases/tag/20180725-miracledroid-zram
PolesApart said:
Yes, this is a heisenbug that manifests every now and then (half the time I change something and rebuild the kernel). I've uploaded another build that works for me, please try it:
https://github.com/polesapart/andro...m8916/releases/tag/20180725-miracledroid-zram
Click to expand...
Click to collapse
Headphone jack works normally... I like the features in this build, thanks for bring up a custom kernel for us :highfive:
Do you plan to include Wireguard in the kernel?
https://forum.xda-developers.com/android/development/wireguard-rom-integration-t3711635
*update* Wireguard module is available in the kernel available here https://github.com/polesapart/andro...m8916/releases/tag/20180725-miracledroid-zram
@PolesApart an aroma based installer will be nice , i knw its too early, but jst a suggestion. Keep up the gud work bro.:good:
Can i install this on offcial lineageos 15 in my 1gb model redmi 2
Vikhyat01 said:
Can i install this on offcial lineageos 15 in my 1gb model redmi 2
Click to expand...
Click to collapse
Yes , you can.:good:
Will it work on RR oreo

Categories

Resources