ROMs y desarrollo Xperia U ROMs y desarrollo Xperia U

Respuesta
 
Herramientas
  #1  
Viejo 13/05/14, 14:05:29
Array

[xs_avatar]
AlvaroOrduna AlvaroOrduna no está en línea
Nuevo cocinero
· Votos compra/venta: (1)
 
Fecha de registro: jun 2012
Localización: Pamplona
Mensajes: 1,822
Modelo de smartphone: Nexus 6 | Nexus 4 | Nexus 7 (2012)
Tu operador: ONO
Paranoia Xperia U [AOSPA 4][DEV]

Paranoia ROM - Xperia U


Hola a todos!!
Por no andarme por las ramas y terminar contandoos toda mi vida voy a ir directamente al grano:
Me gustaría compilar una ROM que estoy desarrollando para el Nexus 4, pero no se como. Se que puede parecer contradictorio, pero siempre he trabajado con dispositivos Nexus y nunca con los llamados "legacy" y estoy teniendo dificultades para compilarla para el Xperia U. La ROM la desarrollo para mi Nexus 4, pero como mi novia tiene un Xperia U me quería animar a compilarla para ver si reinde mejor este cacharro.

Características:
  • Basada en el código fuente de AOSPA 4
  • Trebuchet Launcher (CM)
  • FileManager (CM)
  • LockClock (CM)
  • Perfiles (CM)
  • TeloRadio (telo46)
  • OTAUpdater (ota-updater-center)
  • Tamaño del Patrón de bloqueo varibale (CM)
  • Nombre Host personalizable (CM)
  • Y más que se irán añadiendo...

¿Qué falta por desarrollar?
  • Device tree: no se como traducirlo correctamente, pero básicamente es el conjunto de archivos para poder decirle al compilador qué y como tiene que compilar para poder hacer funcionar la ROM en un Xperia U.
  • Bugs: una vez consigamos compilar la ROM surgirán algunos bugs (ojalá que no) que habrá que solucionar

¿Cómo lo hacemos?
  • Simple:
    • El que quiera colaborar, que comente en este hilo.
    • Al que le parezca una buena idea, que comente en este hilo.
    • El que no quiera colaborar o le parezca un mal projecto, que no comente

Responder Con Cita
Gracias de parte de:


  #2  
Viejo 13/05/14, 15:27:59
Array

[xs_avatar]
Garcia98 Garcia98 no está en línea
Usuario muy activo
 
Fecha de registro: mar 2013
Localización: Salamanca
Mensajes: 807
Modelo de smartphone: Xperia Z1 Compact D5503
Tu operador: Movistar
Puedes usar este device tree que es el que usamos para CM11
https://github.com/XperiaSTE/android...e_sony_kumquat

Aquí puedes encontrar otros repositorios:
https://github.com/XperiaSTE

Responder Con Cita
Gracias de parte de:
  #3  
Viejo 13/05/14, 15:29:41
Array

[xs_avatar]
AlvaroOrduna AlvaroOrduna no está en línea
Nuevo cocinero
· Votos compra/venta: (1)
 
Fecha de registro: jun 2012
Localización: Pamplona
Mensajes: 1,822
Modelo de smartphone: Nexus 6 | Nexus 4 | Nexus 7 (2012)
Tu operador: ONO
 Cita: Originalmente Escrito por Garcia98 Ver Mensaje
Puedes usar este device tree que es el que usamos para CM11
https://github.com/XperiaSTE/android...e_sony_kumquat

Aquí puedes encontrar otros repositorios:
https://github.com/XperiaSTE

Joder... No sabia que estuvieras por HTCMania.
Te he mirado en XDA las ROMs basadas en Android 4.4.2 pero no he podido/sabido hacerlo bien. Le echare otro vistazo a ver...
Responder Con Cita
  #4  
Viejo 13/05/14, 16:26:32
Array

[xs_avatar]
Garcia98 Garcia98 no está en línea
Usuario muy activo
 
Fecha de registro: mar 2013
Localización: Salamanca
Mensajes: 807
Modelo de smartphone: Xperia Z1 Compact D5503
Tu operador: Movistar
 Cita: Originalmente Escrito por AlvaroOrduna Ver Mensaje
Joder... No sabia que estuvieras por HTCMania.
Te he mirado en XDA las ROMs basadas en Android 4.4.2 pero no he podido/sabido hacerlo bien. Le echare otro vistazo a ver...
Si tienes alguna duda aquí estoy
Responder Con Cita
  #5  
Viejo 13/05/14, 18:54:02
Array

[xs_avatar]
AlvaroOrduna AlvaroOrduna no está en línea
Nuevo cocinero
· Votos compra/venta: (1)
 
Fecha de registro: jun 2012
Localización: Pamplona
Mensajes: 1,822
Modelo de smartphone: Nexus 6 | Nexus 4 | Nexus 7 (2012)
Tu operador: ONO
 Cita: Originalmente Escrito por Garcia98 Ver Mensaje
Si tienes alguna duda aquí estoy
Pues veamos, me da este error:

Código:
external/bluetooth/bluez/android/bluetoothd-snoop.c: In function 'open_monitor':
external/bluetooth/bluez/android/bluetoothd-snoop.c:154:30: error: 'SOCK_CLOEXEC' undeclared (first use in this function)
external/bluetooth/bluez/android/bluetoothd-snoop.c:154:30: note: each undeclared identifier is reported only once for each function it appears in
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/EXECUTABLES/bluetoothd-snoop_intermediates/bluez/android/bluetoothd-snoop.o] Error 1
El projecto external/bluetooth/bluez es el vuestro, el de XperiaSTE...
Responder Con Cita
  #6  
Viejo 13/05/14, 19:32:05
Array

[xs_avatar]
Garcia98 Garcia98 no está en línea
Usuario muy activo
 
Fecha de registro: mar 2013
Localización: Salamanca
Mensajes: 807
Modelo de smartphone: Xperia Z1 Compact D5503
Tu operador: Movistar
 Cita: Originalmente Escrito por AlvaroOrduna Ver Mensaje
Pues veamos, me da este error:

Código:
external/bluetooth/bluez/android/bluetoothd-snoop.c: In function 'open_monitor':
external/bluetooth/bluez/android/bluetoothd-snoop.c:154:30: error: 'SOCK_CLOEXEC' undeclared (first use in this function)
external/bluetooth/bluez/android/bluetoothd-snoop.c:154:30: note: each undeclared identifier is reported only once for each function it appears in
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/EXECUTABLES/bluetoothd-snoop_intermediates/bluez/android/bluetoothd-snoop.o] Error 1
El projecto external/bluetooth/bluez es el vuestro, el de XperiaSTE...
Prueba con este commit:
https://github.com/XperiaSTE/android...9e97c6f1ee874e

De todas formas te recomiendo que para los primeros builds uses este device tree:
https://github.com/Andrewas/android_device_sony_kumquat

Y sigas las instrucciones en el README para ponerlo a punto
Responder Con Cita
Gracias de parte de:
  #7  
Viejo 13/05/14, 22:16:04
Array

[xs_avatar]
AlvaroOrduna AlvaroOrduna no está en línea
Nuevo cocinero
· Votos compra/venta: (1)
 
Fecha de registro: jun 2012
Localización: Pamplona
Mensajes: 1,822
Modelo de smartphone: Nexus 6 | Nexus 4 | Nexus 7 (2012)
Tu operador: ONO
Pues creo que ya he solucionado ese error, pero ahora me sale este:
Código:
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c: In function 'get_format_bpp':
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1245:14: error: 'HAL_PIXEL_FORMAT_RGBA_5551' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1245:14: note: each undeclared identifier is reported only once for each function it appears in
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1246:14: error: 'HAL_PIXEL_FORMAT_RGBA_4444' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1248:14: error: 'HAL_PIXEL_FORMAT_YCbCr_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1250:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_422_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1251:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_SP' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1252:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1256:14: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1257:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1258:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1259:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1260:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_420_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1262:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c: In function 'is_non_planar_and_independent_pixel_format':
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1285:14: error: 'HAL_PIXEL_FORMAT_RGBA_5551' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1286:14: error: 'HAL_PIXEL_FORMAT_RGBA_4444' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c: In function 'get_format_width_and_height_alignment':
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1315:14: error: 'HAL_PIXEL_FORMAT_YCbCr_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1317:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_422_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1318:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_SP' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1319:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1324:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1325:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1326:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1327:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1328:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_SP_TILED' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1330:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1331:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_420_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1337:14: error: 'HAL_PIXEL_FORMAT_RGBA_5551' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1338:14: error: 'HAL_PIXEL_FORMAT_RGBA_4444' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1356:14: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/SHARED_LIBRARIES/gralloc.montblanc_intermediates/hwmem_gralloc.o] Error 1
make: *** Se espera a que terminen otras tareas....
hardware/ste-sony/display/libhwcomposer/hwcomposer.c: In function 'get_stride':
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:197:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:197:14: note: each undeclared identifier is reported only once for each function it appears in
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:198:14: error: 'HAL_PIXEL_FORMAT_YCbCr_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:199:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:201:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:202:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:203:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:206:14: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:212:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_422_I' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c: In function 'to_compdev_format':
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:241:14: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:245:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:249:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:251:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c: In function 'bufferIsYUV':
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:532:10: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:533:10: error: 'HAL_PIXEL_FORMAT_YCbCr_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:534:10: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:536:10: error: 'HAL_PIXEL_FORMAT_YCrCb_422_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:537:10: error: 'HAL_PIXEL_FORMAT_YCrCb_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:538:10: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:539:10: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:541:10: error: 'HAL_PIXEL_FORMAT_CbYCrY_422_I' undeclared (first use in this function)
hardware/ste-sony/display/liblights/lights.c:34:27: fatal error: lights-device.h: No such file or directory
compilation terminated.
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/SHARED_LIBRARIES/hwcomposer.montblanc_intermediates/hwcomposer.o] Error 1
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/SHARED_LIBRARIES/lights.montblanc_intermediates/lights.o] Error 1
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:164:36: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:322:37: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:326:25: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:427:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:25:0,
                 from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:29:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:117:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:25:0,
                 from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:29:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:229:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:231:58: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:29:0:
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:59:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:61:33: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:79:54: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:86:45: error: 'audio_input_clients' has not been declared
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyCompatClient.o] Error 1
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:164:36: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:322:37: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:326:25: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:427:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:27:0:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:117:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:27:0:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:229:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:231:58: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:30:0:
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:59:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:61:33: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/audio_policy_hal.cpp:182:39: error: 'audio_input_clients' has not been declared
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/audio_policy_hal.o] Error 1
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:25:0,
                 from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware/include/hardware/audio_policy.h:164:36: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:25:0,
                 from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware/include/hardware/audio_policy.h:322:37: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:326:25: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:25:0,
                 from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware/include/hardware/audio_policy.h:427:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28:0,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:117:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28:0,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:229:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:231:58: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:0:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:111:45: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:917:37: error: 'audio_input_clients' has not been declared
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyManagerBase.o] Error 1
Responder Con Cita
  #8  
Viejo 13/05/14, 23:15:09
Array

[xs_avatar]
Garcia98 Garcia98 no está en línea
Usuario muy activo
 
Fecha de registro: mar 2013
Localización: Salamanca
Mensajes: 807
Modelo de smartphone: Xperia Z1 Compact D5503
Tu operador: Movistar
 Cita: Originalmente Escrito por AlvaroOrduna Ver Mensaje
Pues creo que ya he solucionado ese error, pero ahora me sale este:
Código:
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c: In function 'get_format_bpp':
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1245:14: error: 'HAL_PIXEL_FORMAT_RGBA_5551' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1245:14: note: each undeclared identifier is reported only once for each function it appears in
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1246:14: error: 'HAL_PIXEL_FORMAT_RGBA_4444' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1248:14: error: 'HAL_PIXEL_FORMAT_YCbCr_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1250:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_422_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1251:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_SP' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1252:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1256:14: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1257:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1258:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1259:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1260:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_420_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1262:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c: In function 'is_non_planar_and_independent_pixel_format':
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1285:14: error: 'HAL_PIXEL_FORMAT_RGBA_5551' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1286:14: error: 'HAL_PIXEL_FORMAT_RGBA_4444' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c: In function 'get_format_width_and_height_alignment':
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1315:14: error: 'HAL_PIXEL_FORMAT_YCbCr_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1317:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_422_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1318:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_SP' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1319:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1324:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1325:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1326:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1327:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1328:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_SP_TILED' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1330:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1331:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_420_I' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1337:14: error: 'HAL_PIXEL_FORMAT_RGBA_5551' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1338:14: error: 'HAL_PIXEL_FORMAT_RGBA_4444' undeclared (first use in this function)
hardware/ste-sony/display/libgralloc/hwmem_gralloc.c:1356:14: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/SHARED_LIBRARIES/gralloc.montblanc_intermediates/hwmem_gralloc.o] Error 1
make: *** Se espera a que terminen otras tareas....
hardware/ste-sony/display/libhwcomposer/hwcomposer.c: In function 'get_stride':
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:197:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:197:14: note: each undeclared identifier is reported only once for each function it appears in
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:198:14: error: 'HAL_PIXEL_FORMAT_YCbCr_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:199:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:201:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:202:14: error: 'HAL_PIXEL_FORMAT_YCrCb_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:203:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:206:14: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:212:14: error: 'HAL_PIXEL_FORMAT_CbYCrY_422_I' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c: In function 'to_compdev_format':
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:241:14: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:245:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:249:14: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:251:14: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c: In function 'bufferIsYUV':
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:532:10: error: 'HAL_PIXEL_FORMAT_YCbCr_420_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:533:10: error: 'HAL_PIXEL_FORMAT_YCbCr_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:534:10: error: 'HAL_PIXEL_FORMAT_YCbCr_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:536:10: error: 'HAL_PIXEL_FORMAT_YCrCb_422_SP' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:537:10: error: 'HAL_PIXEL_FORMAT_YCrCb_422_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:538:10: error: 'HAL_PIXEL_FORMAT_YCrCb_420_P' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:539:10: error: 'HAL_PIXEL_FORMAT_YCBCR42XMBN' undeclared (first use in this function)
hardware/ste-sony/display/libhwcomposer/hwcomposer.c:541:10: error: 'HAL_PIXEL_FORMAT_CbYCrY_422_I' undeclared (first use in this function)
hardware/ste-sony/display/liblights/lights.c:34:27: fatal error: lights-device.h: No such file or directory
compilation terminated.
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/SHARED_LIBRARIES/hwcomposer.montblanc_intermediates/hwcomposer.o] Error 1
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/SHARED_LIBRARIES/lights.montblanc_intermediates/lights.o] Error 1
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:164:36: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:322:37: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:326:25: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:427:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:25:0,
                 from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:29:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:117:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:25:0,
                 from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:29:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:229:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:231:58: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:29:0:
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:59:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:61:33: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:79:54: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.cpp:86:45: error: 'audio_input_clients' has not been declared
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyCompatClient.o] Error 1
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:164:36: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:322:37: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:326:25: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:25:0:
hardware/libhardware/include/hardware/audio_policy.h:427:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:27:0:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:117:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:27:0:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:229:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:231:58: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/audio_policy_hal.cpp:30:0:
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:59:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyCompatClient.h:61:33: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/audio_policy_hal.cpp:182:39: error: 'audio_input_clients' has not been declared
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/audio_policy_hal.o] Error 1
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:25:0,
                 from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware/include/hardware/audio_policy.h:164:36: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:25:0,
                 from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware/include/hardware/audio_policy.h:322:37: error: 'audio_input_clients' has not been declared
hardware/libhardware/include/hardware/audio_policy.h:326:25: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:25:0,
                 from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware/include/hardware/audio_policy.h:427:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28:0,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:117:37: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:28:0,
                 from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:229:41: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyInterface.h:231:58: error: 'audio_input_clients' has not been declared
In file included from hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:37:0:
hardware/libhardware_legacy/include/hardware_legacy/AudioPolicyManagerBase.h:111:45: error: 'audio_input_clients' has not been declared
hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:917:37: error: 'audio_input_clients' has not been declared
make: *** [/home/alvaro/Paranoia/out/target/product/kumquat/obj/STATIC_LIBRARIES/libaudiopolicy_legacy_intermediates/AudioPolicyManagerBase.o] Error 1
Prueba con estos commits:
https://github.com/XperiaSTE/android...7e18db764a3a7e
https://github.com/XperiaSTE/android...5195b0b69a4177
https://github.com/XperiaSTE/android...1c37b76918db06
https://github.com/XperiaSTE/android...44f3fe1db74ed7

De todas formas, estás usando este repo ¿no?: https://github.com/XperiaSTE/android...ommits/cm-11.0
Responder Con Cita
Gracias de parte de:
  #9  
Viejo 14/05/14, 21:08:52
Array

[xs_avatar]
AlvaroOrduna AlvaroOrduna no está en línea
Nuevo cocinero
· Votos compra/venta: (1)
 
Fecha de registro: jun 2012
Localización: Pamplona
Mensajes: 1,822
Modelo de smartphone: Nexus 6 | Nexus 4 | Nexus 7 (2012)
Tu operador: ONO
Creo que lo voy a dejar para verano. Empiezo en nada los exámenes y no quiero despistarme. Cuando lo retome os aviso!!
Responder Con Cita
Gracias de parte de:
Respuesta

Estás aquí
Regresar   Portal | Indice > Foros Sony > Otros smartphones antiguos de Sony > Sony Xperia U > ROMs y desarrollo Xperia U



Hora actual: 22:13:46 (GMT +2)



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

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