FORUMS

Analysis & Opinion

Top Forum Discussions

Files from LG's Open Source Center

30 posts
Thanks Meter: 3
 
By Just Yourshadow, Member on 22nd April 2011, 08:10 PM
Post Reply Subscribe to Thread Email Thread
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, 08:14 PM |#2  
jlevy73's Avatar
Senior Member
Los Angeles
Thanks Meter: 1,318
 
More
Nice post, thanks.
22nd April 2011, 08:27 PM |#3  
Junior Member
Flag Brooklyn
Thanks Meter: 1
 
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, 08:29 PM |#4  
Diceman4's Avatar
Senior Member
Flag St. Louis
Thanks Meter: 4
 
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, 08:30 PM |#5  
Senior Member
Flag Florida
Thanks Meter: 94
 
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, 08:33 PM |#6  
avetny's Avatar
Senior Member
Flag Private Island.
Thanks Meter: 1,620
 
More
Thumbs up
yeaaaaaaa we got Kernel Source Code!!!!!!!

know we need to call "MOrfic" !!!!!!!!!!!!!!!!!! (from nexus s developer)
22nd April 2011, 08:37 PM |#7  
Junior Member
Flag Brooklyn
Thanks Meter: 1
 
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, 08:43 PM |#8  
Senior Member
Flag Los Angeles, CA
Thanks Meter: 50
 
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, 08:49 PM |#9  
Senior Member
Thanks Meter: 25
 
More
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, 09:04 PM |#10  
Senior Member
Flag Velenzuela, Metro Manila
Thanks Meter: 68
 
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
22nd April 2011, 11:06 PM |#11  
Senior Member
Flag Tempe Arizona!
Thanks Meter: 35
 
More
Quote:
Originally Posted by joackie27

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!"

I particularly like this one too... http://twitter.com/#!/TMobile/status/60771248325664768

/jealous

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

Advanced Search
Display Modes