Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,784,161 Members 41,493 Now Online
XDA Developers Android and Mobile Development Forum

Files from LG's Open Source Center

Tip us?
 
Just Yourshadow
Old
#1  
Just Yourshadow's Avatar
Member - OP
Thanks Meter 3
Posts: 30
Join Date: Jun 2010
Location: Fox River Grove, IL
Exclamation Files from LG's Open Source Center

I figured that a shortcut to these on here is best.

First is the file which seems to contain the proprietary data for Froyo

Froyo Data

Next we have the Kernel source code

Kernel Source Code


Last but not least here is the text from the readme file.

Quote:
How to build

1. Android build

(1) Get the android base source code.
- Download the original android source code (Android 2.2.2 Froyo) from http://source.android.com

(2) Overwrite modules that you want to build.
- Untar opensource packages of star_lgp999_froyo.tar.gz into downloaded android source directory
- And, merge the source into the android source code(froyo)

(3) Run the build scripts.
- You have to add google original prebuilt source(toolchain) before running build scripts.
- Run the following scripts to build android
a) . ./build/envsetup.sh
b) choosecombo 1 1 generic 1
c) make -j4
into the android folder
- If the android is built sucessfully, you will find the outputs in this directory,
"out/target/product/generic".


2. Kernel Build

(1) Untar using following command at the android folder
- tar xvfz star_lgp999_kernel.tar.gz

(2) Execute make.
- Set the compile environment
- gcc 4.4.3
- Ubuntu 10.04.1
- cd kernel
- make star_android_defconfig ARCH=arm
- make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi-
- make ARCH=arm CROSS_COMPILE=../prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- zImage
- If the kernel is built sucessfully, you will find the build images in this directory,
"arch/arm/boot"


How to use dosfsck

1. NAME
dosfsck - check and repair MS-DOS file systems

2. build
- build with your host PC compiler, eg. arm-gcc
- dosfsck needs header files from dosfs.9 (or later) to compile.

3. install
- simply just copy output(dosfsck) at your target device
- and execute dosfsck with some options

4. usage: dosfsck [-aAflrtvVwy] [-d path -d ...] [-u path -u ...]
device
-a automatically repair the file system
-A toggle Atari file system format
-d path drop that file
-f salvage unused chains to files
-l list path names
-n no-op, check non-interactively without changing
-p same as -a, for compat with other *fsck
-r interactively repair the file system
-t test for bad clusters
-u path try to undelete that (non-directory) file
-v verbose mode
-V perform a verification pass
-w write changes to disk immediately
-y same as -a, for compat with other *fsck

-example
#/system/bin/dosfsck -v -w -p /dev/block/mmcblk1p1

you can get more information with man page.
#man dosfsck
Just take life (and roms) as it comes...

Twitter: @JustYourshadow
The Following 2 Users Say Thank You to Just Yourshadow For This Useful Post: [ Click to Expand ]
 
jlevy73
Old
#2  
jlevy73's Avatar
Senior Member
Thanks Meter 1,283
Posts: 9,204
Join Date: Nov 2009
Location: Los Angeles
Nice post, thanks.
 
DataJunkie
Old
#3  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Apr 2011
Location: Brooklyn
Is it normal for a company to release code this easily? I come from the Samsung Vibrant forums and it was a running joke as to how long it would take for them to release new code.
 
Diceman4
Old
#4  
Diceman4's Avatar
Senior Member
Thanks Meter 4
Posts: 426
Join Date: Jun 2009
Location: St. Louis
Quote:
Originally Posted by DataJunkie View Post
Is it normal for a company to release code this easily? I come from the Samsung Vibrant forums and it was a running joke as to how long it would take for them to release new code.
No, but it IS pretty damn awesome.
-Dice
=================
Phone: Nexus One
ROM: CyanogenMod

Retired: G1
 
death1246
Old
#5  
Senior Member
Thanks Meter 94
Posts: 628
Join Date: Jan 2010
Location: Florida

 
DONATE TO ME
Quote:
Originally Posted by DataJunkie View Post
Is it normal for a company to release code this easily? I come from the Samsung Vibrant forums and it was a running joke as to how long it would take for them to release new code.
LG is supporting cyanogenmod thats the thing. They are releasing the source for us
Device: T-Mobile GS3
Old Device's: Blackberry Pearl8100(Left on Bus then Stolen)|G1(Returned)|Blackberry Curve 8900(Sold)|Blackberry Bold 9700(Sold)|MyTouch(Sold)|Nexus One(Traded)|G2/Vision(Sold)|LG G2x(Trade)|HTC Sensation 4g(SOLD)|T-Mobile GS2(Fell Cracked Sold)|Galaxy S3(SOLD)|Galaxy S 4(T-Mobile Current :3)




HTC Sense Wallpaper:
HTC Sense LiveWallpaper For Froyo/Gingerbread roms
 
avetny
Old
#6  
avetny's Avatar
Senior Member
Thanks Meter 1,592
Posts: 4,969
Join Date: Jul 2010
Location: Private Island.
yeaaaaaaa we got Kernel Source Code!!!!!!!

know we need to call "MOrfic" !!!!!!!!!!!!!!!!!! (from nexus s developer)
 
DataJunkie
Old
#7  
Junior Member
Thanks Meter 1
Posts: 9
Join Date: Apr 2011
Location: Brooklyn
Quote:
Originally Posted by death1246 View Post
LG is supporting cyanogenmod thats the thing. They are releasing the source for us
Seriously? I did hear rumors about T-Mobile being in touch with the developer of CM.
 
joackie27
Old
#8  
Senior Member
Thanks Meter 32
Posts: 485
Join Date: May 2010
Location: Los Angeles, CA
Quote:
Originally Posted by DataJunkie View Post
Seriously? I did hear rumors about T-Mobile being in touch with the developer of CM.
T-Mobile is the most dev friendly among the carriers.

http://twitter.com/#!/TMobile/status/60111542494048256
"We're looking forward to seeing what @cyanogen does with the G2x. CM7 is great!"
“Intellectuals solve problems, geniuses prevent them.” - Albert Einstein
 
tgerbracht
Old
#9  
Senior Member
Thanks Meter 17
Posts: 562
Join Date: Jan 2008
I knew the g2x was superior to the Pyramid/Sensation because of the pure Google experience. This is ridiculously open source considering I too came from the Vibrant and Samsung waited months and months to release any source code.
 
peacekeeper05
Old
#10  
Senior Member
Thanks Meter 68
Posts: 830
Join Date: Dec 2010
Location: Velenzuela, Metro Manila
Quote:
Originally Posted by DataJunkie View Post
Seriously? I did hear rumors about T-Mobile being in touch with the developer of CM.
Yeah. The official T-MO twitter account had a conversation with cyanogen. T-mo tweeted cyanogen how excited they are too see cyanogen's work for g2x. T-mo actually tweeted too that they will give cyanogen a free g-slate so that cyan can play with it too. Wish every carrier would be as supportive as t-mo

Edit: the link to t-mo's tweet is posted above
Smartphones:

Nokia N82>>LG Optimus One>>LG Optimus 2x>>LG optimus 3D>>HTC Desire HD>>Google Nexus S>>Apple Iphone 4>>SE Xperia Arc>>HTC Sensation (current)>>Galaxy Nexus>>Galaxy Note 2(still active)>>HTC One (retired)>>Samsung Galaxy S5 (blue)

Tablet:

Samsung Galaxy Tab>>Asus EePad Transformer TF101

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Prevent Apps from Locking Screen Orientation with HaveOwnOrientation

Most applications on Android play nicely with both landscape and … more

Create Your Own Launcher with HTMLauncher

There are hundreds of launcher replacement applications available for Android. Most of them are … more

First ROMs Appear for the Nvidia Shield Tablet

TheNvidia Shield Tablethas only been available for a little over a month. In that short time, … more

How to Root the LG G Watch – XDA Developer TV

In this episode, XDA Developer TV Producer RootJunky Tom shows you how to root and unlock … more