Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
chrisrotolo
Old
#1  
Senior Member - OP
Thanks Meter 404
Posts: 1,711
Join Date: Nov 2010
Location: Hartford, Connecticut

 
DONATE TO ME
Default source code link

P6200: https://opensource.samsung.com/recep...Value=GT-P6200

P6210: https://opensource.samsung.com/recep...Value=GT-P6210
The Following User Says Thank You to chrisrotolo For This Useful Post: [ Click to Expand ]
 
kodfish
Old
#2  
Member
Thanks Meter 11
Posts: 47
Join Date: Nov 2009
any more info? i am assuming that this cannot compile to a fully working rom? there must be missing binary blobs? perhaps this is just kernel source? anything else you can tell me would be awesome thank you!
 
shadejinx
Old
#3  
Junior Member
Thanks Meter 7
Posts: 14
Join Date: Nov 2007
SGH-T869: https://opensource.samsung.com/recep...Value=SGH-T869
 
garyd9
Old
#4  
garyd9's Avatar
Recognized Developer
Thanks Meter 1275
Posts: 1,569
Join Date: Sep 2006
Location: Pittsburgh, PA
The zip files each contain two tarballs. One for kernel source and the other for platform stuff.

The kernel stuff is semi-complete... it'll compile a proper kernel, but won't be bootable on your device unless you add an initramfs image. You'll also need to pull the proprietary loadable modules from your device and embed them in that same initramfs. There's enough there that with some know-how and tools you can create a new kernel image...

The platform stuff... well, I haven't messed with that. I honestly don't know what is in there that isn't already in the AOSP. I do know that it doesn't contain things like touchwiz...

Take care
Gary
 
kodfish
Old
#5  
Member
Thanks Meter 11
Posts: 47
Join Date: Nov 2009
this is great news! i juat recently got a good build platform put together on an old laptop so this will be fun to take a crack at!
 
Entropy512
Old
#6  
Elite Recognized Developer
Thanks Meter 20807
Posts: 11,500
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by garyd9 View Post
The zip files each contain two tarballs. One for kernel source and the other for platform stuff.

The kernel stuff is semi-complete... it'll compile a proper kernel, but won't be bootable on your device unless you add an initramfs image. You'll also need to pull the proprietary loadable modules from your device and embed them in that same initramfs. There's enough there that with some know-how and tools you can create a new kernel image...

The platform stuff... well, I haven't messed with that. I honestly don't know what is in there that isn't already in the AOSP. I do know that it doesn't contain things like touchwiz...

Take care
Gary
Are there any proprietary kernel modules? There aren't for other Exynos devices (GSII, Galaxy Note).

Original GalaxyS had some (FSR/RFS, also j4fs - j4fs is open-source on Exynos devices)
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
 
garyd9
Old
#7  
garyd9's Avatar
Recognized Developer
Thanks Meter 1275
Posts: 1,569
Join Date: Sep 2006
Location: Pittsburgh, PA
Quote:
Originally Posted by Entropy512 View Post
Are there any proprietary kernel modules? There aren't for other Exynos devices (GSII, Galaxy Note).
Well... I thought there were. I know there were modules on my 6210 /lib/modules that didn't get built from the kernel. I don't remember right now which ones, though. (I'm at work...)

Take care
Gary
 
garyd9
Old
#8  
garyd9's Avatar
Recognized Developer
Thanks Meter 1275
Posts: 1,569
Join Date: Sep 2006
Location: Pittsburgh, PA
Quote:
Originally Posted by garyd9 View Post
Well... I thought there were. I know there were modules on my 6210 /lib/modules that didn't get built from the kernel. I don't remember right now which ones, though.
Okay, you were correct. For the GTP6210, only one module from the factory recovery (and main boot) which isn't being built by the kernel build:
j4fs.ko (as you already mentioned.)

Take care
Gary
 
Entropy512
Old
#9  
Elite Recognized Developer
Thanks Meter 20807
Posts: 11,500
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by garyd9 View Post
Okay, you were correct. For the GTP6210, only one module from the factory recovery (and main boot) which isn't being built by the kernel build:
j4fs.ko (as you already mentioned.)

Take care
Gary
Odd... On Exynos devices, j4fs should be getting built...

https://github.com/Entropy512/linux_...s/samsung/j4fs

Its odd location for an FS driver (in drivers/staging/samsung) puts it in a weird location in menuconfig too.

j4fs is used to access param.lfs
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
 
garyd9
Old
(Last edited by garyd9; 16th December 2011 at 05:51 AM.)
#10  
garyd9's Avatar
Recognized Developer
Thanks Meter 1275
Posts: 1,569
Join Date: Sep 2006
Location: Pittsburgh, PA
There also seems to be missing a "ar6000" device, but it's not in /lib/modules on the factory initramfs either. Of all things, it's in /system/wifi. (and there's no source.)

if I recompile the kernel sources from samsung's website (doing everything properly, of course), it won't load that module... claims a version mismatch (and won't allow me to override.)

Here's the uname string from the factory normal boot (KL1) kernel:
Code:
Linux localhost 2.6.36-P6210UEKL1-CL583281 #3 SMP PREEMPT Fri Dec 2 21:14:23 KST 2011 armv7l GNU/Linux
The kernels I recompile have a slightly different string:
Code:
Linux localhost 2.6.36 #4 SMP PREEMPT Sat Dec 10 23:40:09 EST 2011 armv7l GNU/Linux
I guess that makes the kernel source a bit less useful. Perhaps after they drop the KL1 updated kernel sources I'll be in better shape.

Yet, I can't help but to feel like I missing something obvious... Just can't remember what. perhaps after a good night sleep it'll come to me.

edit: found a source for the ar6000 code (http://nv-tegra.nvidia.com/gitweb/?p...ty/atheros.git) I'll play with it more tomorrow or over the weekend.

Take care
Gary

 
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...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more