Cocina para Android Subforo exclusivo para Cocina para Android

Respuesta
 
Herramientas
  #1  
Viejo 30/06/11, 13:18:18
Array

[xs_avatar]
alormax alormax no está en línea
Miembro del foro
 
Fecha de registro: nov 2009
Mensajes: 235
Modelo de smartphone: Nexus 5
Tu operador: Pepephone
ROM para el LG Optimus Black

Buenos dias!

Hace pocos dias LG liberó el codigo de la black y estoy intentando hacer la rom, la misma que nos da LG para a partir de aqui empexar a tocar...

El codigo está aqui y el manual que trae es este:

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

Me he atascado en el paso en negrita, alguna idea?


Ordenador con linux ubuntu 64 bit!
Responder Con Cita
Gracias de parte de:


  #2  
Viejo 17/07/11, 23:52:28
Array

[xs_avatar]
wuebas wuebas no está en línea
Miembro del foro
· Votos compra/venta: (-1)
 
Fecha de registro: jun 2011
Mensajes: 481
Tu operador: Movistar

parece ser que necesita una suite de compilacion para arm, vamos dicho de otro modo un sdk con gcc para arm, busca por la web poniendo toolchain gcc arm
Responder Con Cita
Respuesta

Estás aquí
Regresar   Portal | Indice > La Cocina de ROMs > Cocina para Android



Hora actual: 22:16:41 (GMT +2)



User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.

Contactar por correo / Contact by mail / 邮件联系 /