Author Topic: Como editar los archivos img  (Read 2392 times)

Offline jaumesv

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
  • Karma: 0
    • View Profile
    • M2S
Como editar los archivos img
« on: October 11, 2013, 12:01:44 PM »
Hola, es que quiero editar la apariencia de firefox os cambiando un poco el css y poniendo nuevas funciones. He probado haciendo esto: https://forum.geeksphone.com/index.php?topic=5350.0 y todo bien hasta que voy a flashear el telefono y en la consola me dice esto 'FAILED (remote: Unknown chunk type)' y cuando termina la instalacion es como si no la hubiera hecho.
« Last Edit: October 12, 2013, 03:48:57 AM by jaumesv »

Offline luis.cuervo

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 64
  • Posts: 816
  • Karma: 114
    • View Profile
Re: Como editar los archivos img
« Reply #1 on: October 14, 2013, 12:32:23 AM »
Sinceramente yo lo haria al reves... compilaria firefox os. Hay varias guias por ahi, y nosotros tenemos compartidos todas las fuentes para que podais hacerlo.

Es sencillo y solo hay que ejecutar como 5 comandos una vez que tienes todo instalado. Tarda un rato, eso si :D

Offline jaumesv

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
  • Karma: 0
    • View Profile
    • M2S
Re: Como editar los archivos img
« Reply #2 on: October 14, 2013, 09:26:02 AM »
He encontrado este articulo en que me lo explica, pero a partir de editar las aplicaciones ya me pierdo, porque cuando executo el comando
Code: [Select]
B2G_SYSTEM_APPS=1 make install-gaia me dice "Read-only file system" y luego me toca restaurar el telefono porque borra todo gaia pero no la modifica. Que hago?
« Last Edit: October 14, 2013, 11:58:34 AM by jaumesv »

Offline luis.cuervo

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 64
  • Posts: 816
  • Karma: 114
    • View Profile
Re: Como editar los archivos img
« Reply #3 on: October 14, 2013, 11:47:22 PM »
Pon un link al articulo, para que vea que es lo que dice

Offline jaumesv

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
  • Karma: 0
    • View Profile
    • M2S

Offline luis.cuervo

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 64
  • Posts: 816
  • Karma: 114
    • View Profile
Re: Como editar los archivos img
« Reply #5 on: October 16, 2013, 12:12:58 AM »
Antes del
Code: [Select]
B2G_SYSTEM_APPS=1 make install-gaiaejecuta
Code: [Select]
adb remount
Asi no tendras el problema del read only fs.

Si te surgen otros, comentalo y te intento ayudar

Offline jaumesv

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
  • Karma: 0
    • View Profile
    • M2S
Re: Como editar los archivos img
« Reply #6 on: October 16, 2013, 06:53:28 AM »
Me dice esto:
Code: [Select]
test -d profile || mkdir -p profile
run-js-command  applications-data
Looking for packaged app: /Users/JaumeSegarra/gaia/external-apps/marketplace.firefox.com/update.webapp
run-js-command  preferences

make[1]: Nothing to be done for `concatenated_scripts'.
make[1]: Nothing to be done for `concatenated_scripts'.
Finished: bootstrapping test proxies/sandboxes
Finished: test ui config file: ./test_apps/test-agent/config.json
run-js-command  webapp-manifests
run-js-command  webapp-optimize
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/communications/contacts/index.html: [l10n] ##type_l10n_id# is undefined.
/apps/system/camera/index.html: [l10n] /shared/locales/date.ini not found.
rm: apps/system/camera/index.html: Permission denied
rm: apps/system/camera/js/camera.js: Permission denied
rm: apps/system/camera/js/config.js: Permission denied
rm: apps/system/camera/js/confirm.js: Permission denied
rm: apps/system/camera/js/filmstrip.js: Permission denied
rm: apps/system/camera/js/panzoom.js: Permission denied
rm: apps/system/camera/js: Permission denied
rm: apps/system/camera/locales/camera.en-US.properties: Permission denied
rm: apps/system/camera/locales/camera.fr.properties: Permission denied
rm: apps/system/camera/locales/camera.zh-TW.properties: Permission denied
rm: apps/system/camera/locales/locales.ini: Permission denied
rm: apps/system/camera/locales: Permission denied
rm: apps/system/camera/locales-obj/ar.json: Permission denied
rm: apps/system/camera/locales-obj/en-US.json: Permission denied
rm: apps/system/camera/locales-obj/fr.json: Permission denied
rm: apps/system/camera/locales-obj/zh-TW.json: Permission denied
rm: apps/system/camera/locales-obj: Permission denied
rm: apps/system/camera/resources/sounds/shutter.ogg: Permission denied
rm: apps/system/camera/resources/sounds: Permission denied
rm: apps/system/camera/resources: Permission denied
rm: apps/system/camera/style/camera.css: Permission denied
rm: apps/system/camera/style/confirm.css: Permission denied
rm: apps/system/camera/style/filmstrip.css: Permission denied
rm: apps/system/camera/style/icons/60/Camera.png: Permission denied
rm: apps/system/camera/style/icons/60/Camera@1.5x.png: Permission denied
rm: apps/system/camera/style/icons/60: Permission denied
rm: apps/system/camera/style/icons/Camera.png: Permission denied
rm: apps/system/camera/style/icons/Camera@1.5x.png: Permission denied
rm: apps/system/camera/style/icons: Permission denied
rm: apps/system/camera/style/images/actionicon_cancel.png: Permission denied
rm: apps/system/camera/style/images/actionicon_cancel@1.5x.png: Permission denied
rm: apps/system/camera/style/images/camera.png: Permission denied
rm: apps/system/camera/style/images/camera@1.5x.png: Permission denied
rm: apps/system/camera/style/images/delete.png: Permission denied
rm: apps/system/camera/style/images/delete@1.5x.png: Permission denied
rm: apps/system/camera/style/images/flash_auto.png: Permission denied
rm: apps/system/camera/style/images/flash_auto@1.5x.png: Permission denied
rm: apps/system/camera/style/images/flash_off.png: Permission denied
rm: apps/system/camera/style/images/flash_off@1.5x.png: Permission denied
rm: apps/system/camera/style/images/flash_on.png: Permission denied
rm: apps/system/camera/style/images/flash_on@1.5x.png: Permission denied
rm: apps/system/camera/style/images/flash_torch.png: Permission denied
rm: apps/system/camera/style/images/flash_torch@1.5x.png: Permission denied
rm: apps/system/camera/style/images/grid.png: Permission denied
rm: apps/system/camera/style/images/grid@1.5x.png: Permission denied
rm: apps/system/camera/style/images/hud_button_underlay.png: Permission denied
rm: apps/system/camera/style/images/hud_button_underlay@1.5x.png: Permission denied
rm: apps/system/camera/style/images/hud_button_underlay_focus.png: Permission denied
rm: apps/system/camera/style/images/hud_button_underlay_focus@1.5x.png: Permission denied
rm: apps/system/camera/style/images/play_overlay.png: Permission denied
rm: apps/system/camera/style/images/play_overlay@1.5x.png: Permission denied
rm: apps/system/camera/style/images/share.png: Permission denied
rm: apps/system/camera/style/images/share@1.5x.png: Permission denied
rm: apps/system/camera/style/images/stop.png: Permission denied
rm: apps/system/camera/style/images/stop@1.5x.png: Permission denied
rm: apps/system/camera/style/images/toggle_back.png: Permission denied
rm: apps/system/camera/style/images/toggle_back@1.5x.png: Permission denied
rm: apps/system/camera/style/images/toggle_front.png: Permission denied
rm: apps/system/camera/style/images/toggle_front@1.5x.png: Permission denied
rm: apps/system/camera/style/images/ui/gradient.png: Permission denied
rm: apps/system/camera/style/images/ui/gradient@1.5x.png: Permission denied
rm: apps/system/camera/style/images/ui/pattern.png: Permission denied
rm: apps/system/camera/style/images/ui/pattern@1.5x.png: Permission denied
rm: apps/system/camera/style/images/ui: Permission denied
rm: apps/system/camera/style/images/video.png: Permission denied
rm: apps/system/camera/style/images/video@1.5x.png: Permission denied
rm: apps/system/camera/style/images/video_pause_button.png: Permission denied
rm: apps/system/camera/style/images/video_pause_button@1.5x.png: Permission denied
rm: apps/system/camera/style/images/video_play_button.png: Permission denied
rm: apps/system/camera/style/images/video_play_button@1.5x.png: Permission denied
rm: apps/system/camera/style/images/video_play_focus.png: Permission denied
rm: apps/system/camera/style/images/video_play_focus@1.5x.png: Permission denied
rm: apps/system/camera/style/images/video_play_normal.png: Permission denied
rm: apps/system/camera/style/images/video_play_normal@1.5x.png: Permission denied
rm: apps/system/camera/style/images: Permission denied
rm: apps/system/camera/style/VideoPlayer.css: Permission denied
rm: apps/system/camera/style: Permission denied
rm: apps/system/camera/test/integration: Permission denied
rm: apps/system/camera/test/unit/_proxy.html: Permission denied
rm: apps/system/camera/test/unit/_sandbox.html: Permission denied
rm: apps/system/camera/test/unit: Permission denied
rm: apps/system/camera/test: Permission denied
rm: apps/system/camera: Directory not empty
make: *** [webapp-zip] Error 1
y eso que he hecho lo que me has dicho tu...

Offline luis.cuervo

  • Administrator
  • Top Member
  • *****
  • Thank You
  • -Given: 11
  • -Receive: 64
  • Posts: 816
  • Karma: 114
    • View Profile
Re: Como editar los archivos img
« Reply #7 on: October 16, 2013, 08:24:51 AM »
Yo es que compilo imagenes completas, asi que no te estoy respondiendo basandome en la experiencia :)

Puedes probar haciendo adb remount y despues adb shell e ir a ese directorio y borrarlo entero.

De todas formas yo ya tiraria por hacer una imagen (en el MDN de Mozilla encontraras mas informacion) y a partir de ahi ir modificando solo gaia