Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cdesai
Old
(Last edited by cdesai; 5th August 2012 at 06:31 AM.) Reason: build instructions
#1  
cdesai's Avatar
Recognized Developer - OP
Thanks Meter 3611
Posts: 2,207
Join Date: Jan 2011
Location: IN YOUR HEAD

 
DONATE TO ME
Default [REF] Kernel source code repository for Galaxy S III

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
CyanogenMod Maintainer | SGT7 | TeamBBQ

 
BBQLinux - An Arch based Linux distribution for Android developers
Website: http://www.bbqlinux.org | Downloads: [url]http://sourceforge.net/projects/bbqlinux/files//url]
IRC: #bbqlinux on freenode
The Following 31 Users Say Thank You to cdesai For This Useful Post: [ Click to Expand ]
 
AndreiLux
Old
(Last edited by AndreiLux; 31st May 2012 at 04:16 PM.)
#2  
AndreiLux's Avatar
Recognized Developer / Contributor
Thanks Meter 9890
Posts: 2,166
Join Date: Jul 2011

 
DONATE TO ME
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: [ Click to Expand ]
 
::indie::
Old
#3  
::indie::'s Avatar
Recognized Developer
Thanks Meter 27505
Posts: 4,639
Join Date: May 2010
This is great news guys,
lets hope that we will also have a proper CWM recovery soon.
::indie's:: Omega Roms Series
Omega Files Pro app - Build and Customize your rom the way you like it!!
Samsung Galaxy S4 Samsung based I9505 - Samsung based I9500
Samsung Galaxy Note II N7100: Samsung based JB 4.1.2
Samsung Galaxy S III I9300: Samsung based: JB 4.1.2 - Omega AOKP - Android 4.2.2
Samsung Galaxy S II I9100 Android 4.1.2 - Android 4.2.2 AOKP
Samsung Galaxy Note 10.1: Samsung based JB 4.1.2
HTC HD2 + Tmous HD2 - Omega v30 - WM6.5.x Build 29022
:: User Friendly Developer ::

If you like my work please consider a donation!
Please use Omegas Threads for Support and Suggestions and don't sent me pm's!

The Following User Says Thank You to ::indie:: For This Useful Post: [ Click to Expand ]
 
Chainfire
Old
(Last edited by Chainfire; 31st May 2012 at 05:41 PM.)
#4  
Chainfire's Avatar
Senior Moderator / Elite Recognized Developer
Thanks Meter 31507
Posts: 7,991
Join Date: Oct 2007

 
DONATE TO ME
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 ...
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

Android
HTC G1, Hero
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 6 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Toss3
Old
#5  
Toss3's Avatar
Senior Member
Thanks Meter 310
Posts: 1,382
Join Date: May 2008
Location: Helsinki
Quote:
Originally Posted by Chainfire View Post
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?
 
Chainfire
Old
#6  
Chainfire's Avatar
Senior Moderator / Elite Recognized Developer
Thanks Meter 31507
Posts: 7,991
Join Date: Oct 2007

 
DONATE TO ME
Quote:
Originally Posted by Toss3 View Post
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.
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

Android
HTC G1, Hero
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 5 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Intratech
Old
#7  
Intratech's Avatar
Senior Member
Thanks Meter 4468
Posts: 5,006
Join Date: Jun 2009
Location: London

 
DONATE TO ME
Great! I'll go through this when I get the time.



Need official GT-I9100 firmwares? http://forum.xda-developers.com/show....php?t=1075278
Need official GT-I9300 firmwares? http://forum.xda-developers.com/show....php?t=1671969

I don't want to help and provide tech support by PM. Please post on the forum so everyone can learn from each other


The Following User Says Thank You to Intratech For This Useful Post: [ Click to Expand ]
 
pglmro
Old
#8  
pglmro's Avatar
Senior Member
Thanks Meter 451
Posts: 684
Join Date: Nov 2010

 
DONATE TO ME
Quote:
Originally Posted by Chainfire View Post
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
 
Roughnecks
Old
#9  
Senior Member
Thanks Meter 7
Posts: 109
Join Date: Dec 2008
Quote:
Originally Posted by pglmro View Post
Of course I want a CF kernel
I think everyone of us want a CF-Root-Kernel
 
9Lukas5
Old
#10  
9Lukas5's Avatar
Senior Member
Thanks Meter 906
Posts: 1,913
Join Date: Dec 2010
Location: near Stuttgart

 
DONATE TO ME
Quote:
Originally Posted by Roughnecks View Post
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
[HOW-TO]UNLOCK bootloader for SE XPERIA X10


Device: GT-I9300
Recovery: CWM 6.0.3.0 touch
Baseband: I9300XXDLID
Android 4.2.2
Kernel: 3.0.64-CM-gcba0718
pinky-ghost@cyanogenmod #1
Build-version: cm10.1-2013-03-21-NIGHTLY-I9300

Device: Google Nexus 7
Recovery: CWM 6.0.2.3 touch
Android 4.2.2
Kernel: 3.1.10-gb61adb8
pinky-ghost@cyanogenmod #1
Build-version: cm10.1-2013-03-07-NIGHTLY-grouper

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...