Mozilla Ditches Google, Makes Yahoo Default Search Engine

Mozilla and Google have had a long-standing relationship of about 10 years. Google … more

Learn More About Linux with Linux Man Pages

Linux is quite a powerful and very configurable operating system. Thanks to some user-friendly … more

Detect, Avoid IMSI-Catcher Attacks with Android IMSI-Catcher Detector

Privacy is always an important topic, as well as a delicate one to … more

Materialized LeanDroid Fights Your Poor Battery Life

Battery life has always been one of the biggest problems facing most Android devices. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Files from LG's Open Source Center

OP Just Yourshadow

22nd April 2011, 09:10 PM   |  #1  
Just Yourshadow's Avatar
OP Member
Flag Fox River Grove, IL
Thanks Meter: 3
 
30 posts
Join Date:Joined: Jun 2010
More
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

The Following 2 Users Say Thank You to Just Yourshadow For This Useful Post: [ View ]
22nd April 2011, 09:14 PM   |  #2  
jlevy73's Avatar
Senior Member
Los Angeles
Thanks Meter: 1,307
 
9,267 posts
Join Date:Joined: Nov 2009
Nice post, thanks.
22nd April 2011, 09:27 PM   |  #3  
Junior Member
Flag Brooklyn
Thanks Meter: 1
 
9 posts
Join Date:Joined: Apr 2011
More
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.
22nd April 2011, 09:29 PM   |  #4  
Diceman4's Avatar
Senior Member
Flag St. Louis
Thanks Meter: 4
 
426 posts
Join Date:Joined: Jun 2009
More
Quote:
Originally Posted by DataJunkie

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.
22nd April 2011, 09:30 PM   |  #5  
Senior Member
Flag Florida
Thanks Meter: 94
 
628 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Quote:
Originally Posted by DataJunkie

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
22nd April 2011, 09:33 PM   |  #6  
avetny's Avatar
Senior Member
Flag Private Island.
Thanks Meter: 1,595
 
4,974 posts
Join Date:Joined: Jul 2010
More
Thumbs up
yeaaaaaaa we got Kernel Source Code!!!!!!!

know we need to call "MOrfic" !!!!!!!!!!!!!!!!!! (from nexus s developer)
22nd April 2011, 09:37 PM   |  #7  
Junior Member
Flag Brooklyn
Thanks Meter: 1
 
9 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by death1246

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.
22nd April 2011, 09:43 PM   |  #8  
Senior Member
Flag Los Angeles, CA
Thanks Meter: 35
 
501 posts
Join Date:Joined: May 2010
More
Quote:
Originally Posted by DataJunkie

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!"
22nd April 2011, 09:49 PM   |  #9  
Senior Member
Thanks Meter: 25
 
619 posts
Join Date:Joined: 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.
22nd April 2011, 10:04 PM   |  #10  
Senior Member
Flag Velenzuela, Metro Manila
Thanks Meter: 68
 
830 posts
Join Date:Joined: Dec 2010
More
Quote:
Originally Posted by DataJunkie

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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes