====== 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
SUBSYSTEM=="usb", ATTR{idVendor}=="XXXX", MODE="0666", GROUP="plugdev"
ZTE exemple
SUBSYSTEM=="usb", ATTR{idVendor}=="19d2", MODE="0666", GROUP="plugdev"
chmod a+r /etc/udev/rules.d/android.rules
service udev restart
adb devices
répond pour le ZTE : **romaer2 device**
==== Backup du systeme ====
adb pull /system /system
adb pull /data /data
adb pull /vendor /vendor
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
busybox mount -o rw,remount -t yaffs2 /dev/block/mtdblock5 /system
compile i2ctools de https://github.com/fhunleth/android_external_i2c_tools
cd external
git clone https://github.com/fhunleth/android_external_i2c_tools.git
cd /DEVEL/B2G/out/target/product/inari/obj/EXECUTABLES/i2cdetect_intermediates/
pull i2cdetect /system/bin
i2cdetect -r -y 0
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
0 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: -- -- -- -- -- -- -- --