2013-03-08から1日間の記事一覧
$ adb shell b2g-ps * daemon not running. starting it now on port 5037 * * daemon started successfully * APPLICATION USER PID PPID VSIZE RSS WCHAN PC NAME b2g root 1472 1 226084 100056 ffffffff 40044140 S /system/b2g/b2g Usage app_1591 1591…
B2G/run-gdb.sh B2G GitHub #!/bin/bash SCRIPT_NAME=$(basename $0) basename ファイル名からディレクトリや末尾の文字列を削除したものを返す . load-config.sh #!/bin/bash if [[ ! -n "$B2G_DIR" ]]; then B2G_DIR=$(cd `dirname $0`; pwd) fi . "$B2G_D…
adb shell setprop net.dns1 10.0.2.3 こちらでもつながる。 adb shell setprop net.dns1 8.8.8.8 adb shell setprop net.dns1 10.0.2.3
$ adb -e shell root@android:/ # ll drwxr-xr-x root root 2013-03-08 15:34 acct drwxrwx--- system cache 2013-03-08 15:34 cache dr-x------ root root 2013-03-08 15:34 config lrwxrwxrwx root root 2013-03-08 15:34 d -> /sys/kernel/debug drwxrwx-…
起動時のlogcat
emulator: can't connect to ADB server: Connection refused adbのサーバーを再起動してから、起動する。 $adb kill-server $adb start-server $./run-emulator.sh
$ ./run-emulator.sh emulator: autoconfig: -system /home/B2G/out/target/product/generic//system.img emulator: autoconfig: -ramdisk /home/B2G/out/target/product/generic//ramdisk.img emulator: autoconfig: -datadir /home/B2G/out/target/product…
B2G/run-emulator.sh GitHub #!/bin/bash # Get full path from where the script was executed, full path is needed to run emulator succesfully B2G_HOME=$(cd $(dirname $BASH_SOURCE); pwd) . $B2G_HOME/load-config.sh DEVICE=${DEVICE:-generic} TOO…
B2G_emuのフォルダでコマンドを入力しているのに、B2G_genのフォルダのoutを実行しようとしている。 ~/B2G_emu/B2G$ ./run-emulator.sh Creating sdcard image file with size: 512M ... emulator: found Android build root: /home/B2G_gen emulator: found…
公式のカスタマイズ用ファイル(.userconfig)は、以下のとおりです。 GECKO_PATH=/home/work/B2G-profiler/mozilla-inbound echo "GECKO_PATH = ${GECKO_PATH}" export B2G_DEBUG=1 echo "B2G_DEBUG = ${B2G_DEBUG}" GECKO_OBJDIR=${GECKO_PATH}/objdir-gon…