Outils pour utilisateurs

Outils du site


gnu:b2g:start

Différences

Ci-dessous, les différences entre deux révisions de la page.


gnu:b2g:start [2024/02/09 17:10] (Version actuelle) – créée - modification externe 127.0.0.1
Ligne 1: Ligne 1:
 +====== B2G / Mozilla Firefox OS ======
  
 +==== Confinguration udev rule ====
 +lsusb donne USB vendor ID avec le telephone connecté
 +  *  Google 18d1, 
 +  * Samsung 04e8, 
 +  * ZTE 19d2, 
 +  * Geeksphone/Qualcomm 05c6.
 +A mettre dans  /etc/udev/rules.d/android.rules 
 +<code>
 +SUBSYSTEM=="usb", ATTR{idVendor}=="XXXX", MODE="0666", GROUP="plugdev"
 +</code>
 +ZTE  exemple
 +<code>
 +SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", GROUP="plugdev"
 +</code>
 +<code>
 +chmod a+r /etc/udev/rules.d/android.rules
 +service udev restart
 +</code>
 +<code>
 +adb devices
 +</code>
 +répond pour le ZTE : **romaer2 device**
 +
 +==== Backup du systeme ====
 +
 +<code>
 +adb pull /system <backup target dir>/system
 +
 +adb pull /data <backup target dir>/data
 +adb pull /vendor <backup target dir>/vendor
 +</code>
 +et http://pof.eslack.org/2013/07/05/zte-open-firefoxos-phone-root-and-first-impressions/
 +==== manifeste ====
 +{{:gnu:b2g:zte-fire.xml|}}
 +
 +==== root mode ====
 +http://pof.eslack.org/2013/07/05/zte-open-firefoxos-phone-root-and-first-impressions/
 +
 +http://firefox.ztems.com/
 +
 +http://vladfilippov.com/blog/2013-09-04-firefoxos-recovery-keon-zteopen
 +==== en français ====
 +https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Building#Gaia
 +==== kernel roamer2 ====
 +https://github.com/nikitines/zte-kernel-roamer2
 +==== puces internes ====
 +  * http://www.semtech.com/images/datasheet/sx150x.pdf‎ i2C
 +  * Qualcomm Mobile Station Modem vcap , camera/video (gspca)
 +
 +
 +==== resultats divers ====
 +avec adb  ouvrir le /system en rw
 +<code>
 +busybox mount -o rw,remount -t yaffs2 /dev/block/mtdblock5 /system
 +</code>
 +
 +compile i2ctools de https://github.com/fhunleth/android_external_i2c_tools
 +<code>
 +cd external
 +git clone https://github.com/fhunleth/android_external_i2c_tools.git
 +</code>
 +<code>
 +cd /DEVEL/B2G/out/target/product/inari/obj/EXECUTABLES/i2cdetect_intermediates/
 +pull i2cdetect /system/bin
 +
 +i2cdetect -r -y 0                                     
 +      1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
 +00:          -- -- -- -- -- -- -- -- -- UU -- -- UU 
 +10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +30: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +70: -- -- -- -- -- -- -- --                         
 +shell@android:/system # i2cdetect -r -y 1                                      
 +      1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
 +00:          -- -- -- -- -- -- -- -- -- UU -- -- -- 
 +10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +20: UU -- UU -- -- -- -- -- -- -- UU -- -- -- -- -- 
 +30: -- -- -- -- -- -- -- -- -- UU -- -- -- -- UU -- 
 +40: -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- -- 
 +50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
 +70: -- -- -- -- -- -- -- --
 +</code>