Acceder

Ver la Versión Completa : Para los desarrolladores: Open Source Code Distribution


turtle
27/06/11, 22:52:59
Indagando por ahi he visto esta pagina de LG en la que creo que se puede bajar el codigo de la rom y del kernel, en el buscador no he visto ningun post al respecto

http://www.lg.com/global/support/opensource/opensource-detail.jsp#

Son 2 archivos, LGP970_Froyo.tar.gz y LGP970_kernel.tar.gz junto con un leeme con la siguiente informacion:


How to build

1. Android build

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

(2) Overwrite modules that you want to build.
- Untar opensource packages of P970_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
- Untar using following command at the android folder:
tar xvfj P970_Kernel.tar.gz

- change directory to kernel root
cd kernel/android-2.6.32

- make configuration:
make sniper_rev_a_emmc_defconfig ARCH=arm

- make kernel zImage:
make ARCH=arm CROSS_COMPILE=../../prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- zImage

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




Espero que sirva a los cocineros del foro :ok:

alormax
28/06/11, 00:23:01
X desgracia sifgue siendo froyo, en cuanto salga ginger lo hago!

wuebas
22/07/11, 23:32:40
Lo que mas me llama la atencion de esto y he estado pensando es, podría compilarse un kernel de ubuntu para dispositivos arm y reemplazar el recovery por este, así se conseguiria un dual boot, para ello valdria con compilar el kernel con los parametros modificados para el inicio del ubuntu que indican en la propia pagina de ubuntu, con ello al acceder al recovery tendriamos un dualboot, lo demás solo seria cuenstion de instalar los drivers sgx (quizas ya esten instalados en la imagen que ofrece ubuntu) y configurar el kernel para el modulo del wifi.

nethacker
23/07/11, 11:46:30
El kernel de Ubuntu es Linux. Linux es el kernel de Android. Luego, ya tenemos el kernel de Ubuntu xD

antonio1475
23/07/11, 14:38:19
X desgracia sifgue siendo froyo, en cuanto salga ginger lo hago!

¿Ya has recuperado tu teléfono muerto?

:)