Closed
Bug 1177592
Opened 11 years ago
Closed 11 years ago
[flame] spark builds cannot enable developer mode
Categories
(Firefox OS Graveyard :: Developer Tools, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: Jamie_, Unassigned)
Details
Currently when you build spark and put it on the flame there does not seem to be a way to enable developer tools, adb does not enable it with
adb shell "stop b2g"
adb shell "cd /data/b2g/mozilla/*.default/;echo 'user_pref(\"dom.apps.developer_mode\", true);' >> prefs.js;"
adb shell "start b2g"
enabling from setting does not work and neither does enabling from webIDE.
The thing is that when i inspect runtime on the webIDE it says all devtools are enabled but then when you go to use the spark apps it says you have to enable full devtools.
str:
1) flashing spark to flame device
2) try to open spark app where it says you need to enable full devtools
3)
a. when prompted enable devtools and reboot
b. go into settings and enable devtools
c. enable via the mentioned adb command
d. open webIDE and connect device and go into runtime info and click to enable full devtools
4) reboot and attempt to open spark app
actual results:
The spark app is still asking for full devtools to be enabled when they are.
expected results:
the devtools are enabled and can then access the spark applications
user impact: There is not ability to use the spark build for people that have no access to the aries devices then hindering contributors or flame users from being able to use the spark or any of these tools.
| Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(pyang)
Flags: needinfo?(pbylenga)
Flags: needinfo?(nhirata.bugzilla)
| Reporter | ||
Comment 1•11 years ago
|
||
I have a way to enable it but it is not very orthodox. You have to enable devtools on the device while on 3.0 before installing the spark build.
Comment 3•11 years ago
|
||
I was not able to reproduce the bug. Tried twice and both times enabled full devtools correctly.
What I did:
1) Flash to today's Flame 3.0 nightly user build
2) Adb root the device to gain root access
3) Flash spark gaia on top
4) After flashing, open Studio app
5) It brought me through several prompts including one that wants me to confirm 10(?) times that I want to enable full devtools mode. I went through that, and I was able to use Solarized Light theme in Studio afterwards.
Updated•11 years ago
|
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
We can't reproduce the issue. Please try using the new flame base build.
Flags: needinfo?(nhirata.bugzilla) → needinfo?(charja13)
| Reporter | ||
Comment 5•11 years ago
|
||
What are the build flags for spark Naoki? I will rebuild and try to flash the flame with it.
Flags: needinfo?(charja13) → needinfo?(nhirata.bugzilla)
| Reporter | ||
Comment 6•11 years ago
|
||
okay naoki the device is built is in gaia and it is built for spark using GAIA_DISTRIBUTION_DIR=distros/spark PRODUCTION=1 make reset-gaia
I can not flash spark and it roots and I am using the gaia repository instead of the old lightsaber repostory which i think really need to be deleted to avoid confusion. Naoki do you think that you can talk to some of the higher up and see if we can get rid of the lightsaber repository? i really think that it needs to be removed to keep people from getting confused.
| Reporter | ||
Comment 7•11 years ago
|
||
Okay I found a solution to the problem, I had to run adb root and then try to run the flash gaia again. I have the flame now on spark and developer mode enabled with all the spark apps running.
I am now going to close this as works for me since it seems to be fine for me.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(nhirata.bugzilla)
Resolution: --- → WORKSFORME
Updated•11 years ago
|
Flags: needinfo?(pyang)
You need to log in
before you can comment on or make changes to this bug.
Description
•