FORUMS
Remove All Ads from XDA

[REF] Kernel source code repository for Galaxy S III

2,296 posts
Thanks Meter: 4,123
 
By cdesai, Inactive Recognized Developer on 31st May 2012, 04:24 PM
Post Reply Email Thread
Hi everyone.

As you all know, Samsung distributes source code as tarballs which isn't the best way to redistribute kernel source code

git is the best modern way to work with Linux Kernel sources, designed by Linus himself in this purpose.

So, i made an organization on github for that.

https://github.com/sgs3

And yea, that means source code has been released, head on to http://opensource.samsung.com/

Kernel Sources :
https://github.com/sgs3/GT-I9300_Kernel

Branches :
master :- branch you should use(for developers), will contain fixes and more in the future (currently identical to stock_update4)
stock :- Kernel sources from GT-I9300_ICS_Opensource.zip, unmodified
stock_update1 :- Kernel sources from GT-I9300_ICS_Opensource_Update1.zip, unmodified
stock_update4 :- Kernel sources from GT-I9300_ICS_Opensource_Update4.zip, unmodified

If anyone wants to commit any fixes / anything else, fork and shoot a pull request

How to Build :
Get teh sauce:
Code:
git clone git://github.com/sgs3/GT-I9300_Kernel.git
cd GT-I9300_Kernel
git checkout master
Tell it to use our config:
Code:
make ARCH=arm CROSS_COMPILE=/path/to/toolchain m0_00_defconfig
Teh real build:
Code:
make CROSS_COMPILE=/path/to/toolchain
or
Code:
make -j `cat /proc/cpuinfo | grep "^processor" | wc -l` CROSS_COMPILE=/path/to/toolchain
The compiled kernel is arch/arm/boot/zImage
The Following 32 Users Say Thank You to cdesai For This Useful Post: [ View ] Gift cdesai Ad-Free
31st May 2012, 05:13 PM |#2  
AndreiLux's Avatar
Senior Member
Thanks Meter: 14,750
 
Donate to Me
More
Was about to post this

Will start compiling and have a kernel up and running soon I hope. This time in contrast to the S2, it's time for serious developing.

Here's a direct link to the S3 files: http://opensource.samsung.com/recept...Value=GT-i9300
The Following 2 Users Say Thank You to AndreiLux For This Useful Post: [ View ] Gift AndreiLux Ad-Free
31st May 2012, 06:34 PM |#4  
Chainfire's Avatar
Moderator Emeritus / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 88,123
 
Donate to Me
More
stickied

@whomever is building from source, please include the MMC driver patch that enables boot partition visibility. Maybe I'll even do it myself... this'll let TriangleAway work, so we can reset the flash counters

EDIT: this is the patch in question: http://git.kernel.org/?p=linux/kerne...305ffa1c3a58ef. Apparently Sammy took this out again in their sources (according to somebody else, I haven't had time to confirm yet, but I can see the boot partitions do *not* appear on my device), they may have bastardized it further ...
The Following 6 Users Say Thank You to Chainfire For This Useful Post: [ View ]
31st May 2012, 06:39 PM |#5  
Toss3's Avatar
Senior Member
Flag Uppsala
Thanks Meter: 707
 
More
Quote:
Originally Posted by Chainfire

stickied

@whomever is building from source, please include the MMC driver patch that enables boot partition visibility. Maybe I'll even do it myself... this'll let TriangleAway work, so we can reset the flash counters

No CF-Root Kernels for the i9300?
31st May 2012, 06:42 PM |#6  
Chainfire's Avatar
Moderator Emeritus / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 88,123
 
Donate to Me
More
Quote:
Originally Posted by Toss3

No CF-Root Kernels for the i9300?

Well it's not needed as much due to the separate recovery, but if there's demand, I'll build CF-Root's... but those are based on Samsung binaries, not source.
The Following 5 Users Say Thank You to Chainfire For This Useful Post: [ View ]
31st May 2012, 08:57 PM |#8  
pglmro's Avatar
Senior Member
Thanks Meter: 603
 
Donate to Me
More
Quote:
Originally Posted by Chainfire

Well it's not needed as much due to the separate recovery, but if there's demand, I'll build CF-Root's... but those are based on Samsung binaries, not source.

Of course I want a CF kernel
31st May 2012, 09:13 PM |#9  
Senior Member
Flag Köln
Thanks Meter: 15
 
More
Quote:
Originally Posted by pglmro

Of course I want a CF kernel

I think everyone of us want a CF-Root-Kernel
31st May 2012, 09:28 PM |#10  
9Lukas5's Avatar
Senior Member
Flag near Stuttgart
Thanks Meter: 2,020
 
Donate to Me
More
Quote:
Originally Posted by Roughnecks

I think everyone of us want a CF-Root-Kernel

I don't really see the point why we should make that. I have flashed cwm with Odin and then the SuperSu cwm flashable zip available here on xda. Then installed busybox installer from the play store. Much easier to do as letting Cainfire always compile a cf-root kernel for us.

L
31st May 2012, 09:35 PM |#11  
pitje222's Avatar
Member
Thanks Meter: 6
 
More
great seeing some a class developers here!!

thanks for opening this thread..
and good to know ya'll have a s3 aswell..

grtz!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes