I got my geeksphone revolution last week.

Its default operating system is android, you need to use its tool to flash FirefoxOS.
From Settings->About device->Install another OS.
Then you will get a v1.3 custom geeksphone build.

I'd like to flash it into lastest gaia, but after doing make reset-gaia I found that adb doesn't work anymore even I turned on the settings.

After try & error I think it's because the settings name is changed from v1.3 to v1.5 for adb enabling.
In v1.5, the settings name to enable adb is debugger.remote-mode
http://mxr.mozilla.org/mozilla-central/source/b2g/chrome/content/settings.js#456
But in v1.3, the name is devtools.debugger.remote-enabled.
The codebase of geeksphone is updated so we cannot use adb anymore.

A workaround is adding this settings in gaia/build/config/custom-settings.json

diff --git a/build/config/common-settings.json b/build/config/common-settings.json
index bda8436..0decaa3 100644
--- a/build/config/common-settings.json
+++ b/build/config/common-settings.json
@@ -206,5 +206,6 @@
    "wifi.disabled_by_wakelock": false,
    "wifi.notification": false,
    "wifi.connect_via_settings": false,
-   "wap.push.enabled": true
+   "wap.push.enabled": true,
+   "devtools.debugger.remote-enabled": true
 }

and then do make reset-gaia you will have a build with adb enabled.

Happy hacking!
I hope I could do some dogfooding from now on to improve some more.

Useful links

Geeksphone gaia
https://github.com/gp-b2g/gp-revolution-gaia
Geeksphone gecko
https://github.com/gp-b2g/gp-revolution-gecko
Geeksphone gecko diff
https://pastebin.mozilla.org/4712755

Comments

comments powered by Disqus