Gaia/Hacking: Difference between revisions

no edit summary
No edit summary
Line 70: Line 70:


instead. In ./bin/b2g all the keyboard/mouse event will be redirect to Terminal for unknown reason.
instead. In ./bin/b2g all the keyboard/mouse event will be redirect to Terminal for unknown reason.
== Port Forwarding ==
To forward the socket on the phone to the desktop (for desktop development), you first need to get rilproxy to expose it as such, rather than exposing it to Gecko:
adb shell touch /data/local/rilproxyd
adb shell killall rilproxy
adb forward tcp:6200 localreserved:rilproxyd
The file located at /data/local/rilproxyd will be deleted once the rilproxy daemon will start again. As a consequence you have to do this manipulation every time your device restarts.
== Restarting the b2g application ==
To reload/restart b2g everything simply enter the command:
adb shell killall b2g


== Running tests ==
== Running tests ==
Confirmed users
230

edits