Upgrading linux on custom kernel

reS28raM

Senior Member
Feb 18, 2013
476
848
0
Forte dei Marmi
Hi all,

Following advices from the site I successfully compiled a custom kernel from sources, rebuilt boot.img and the ramdisk and flashed it on my S3: it works.

Now I want incrementally upgrade the Linux part using git and the sources at kernel.org, let say to patch the kernel on the disk with the linux online versions 3.0.50, 3.0.51 and so on up to the latest 3.0.100. Never used git before unfortunately :(

Can someone please point me to an example of the correct command-line to do that? From then on I'll sort the rest by myself, I promise, that would save me a lot of time and unnecessary troubles. Thank you very much.

PU
 
Last edited:

PwnCakes193

Senior Member
Apr 3, 2009
2,752
7,301
0
Somewhere, Someplace
Hi all,

Following advices from the site I successfully compiled a custom kernel from sources, rebuilt boot.img and the ramdisk and flashed it on my S3: it works.

Now I want incrementally upgrade the Linux part using git and the sources at kernel.org, let say to patch the kernel on the disk with the linux online versions 3.0.50, 3.0.51 and so on up to the latest 3.0.100. Never used git before unfortunately :(

Can someone please point me to an example of the correct command-line to do that? From then on I'll sort the rest by myself, I promise, that would save me a lot of time and unnecessary troubles. Thank you very much.

PU
Look up "git merge". Also you have to add the tree from kernel.org.

Mine looks like such.

git merge linux/linux-3.4.y
 
  • Like
Reactions: reS28raM

CNexus

Senior Member
May 17, 2012
9,009
13,993
263
~/android
Hi mate, I am using your tools to build the images, thanks for that. I'll do that

Thanks, I'll investigate both of your suggestions! Today it'll be a busy day. :D
No problem :)

You'll probably go with the suggestion after mine, git-cherry-pick is more to add one or a couple commits, rather than a whole mass of commits

Git-merge is for adding larger chunks of commits/merging branches, etc
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone