Closed Bug 1170391 Opened 10 years ago Closed 10 years ago

"Reset and enable full DevTools" button doesn't enable developer mode

Categories

(Firefox OS Graveyard :: Gaia, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:2.5+, b2g-master verified)

VERIFIED FIXED
2.2 S14 (12june)
blocking-b2g 2.5+
Tracking Status
b2g-master --- verified

People

(Reporter: drs, Assigned: gerard-majax)

References

Details

(Whiteboard: [spark][systemsfe])

Attachments

(1 file)

60 bytes, text/x-github-pull-request
mwu
: review+
Details | Review
No description provided.
Fabrice asked for someone to verify whether or not this is a Z3C-only issue. I don't have any Flames anymore to check with. I'm needinfoing myself to check once I get some new ones, but it would be better if someone else could check since it'll probably take me longer. Justin, could you take this?
Flags: needinfo?(jdarcangelo)
Flags: needinfo?(drs)
We try to write the command file on /persist, or on /cache if the /persist partition doesn't exist. This is the case on the z3, so we should end up with a /cache/__post_reset_cmd__ file (see http://mxr.mozilla.org/mozilla-central/source/b2g/components/RecoveryService.js#101). Alex, do you know if the recovery script erases /cache ?
Flags: needinfo?(lissyx+mozillians)
Flags: needinfo?(lissyx+mozillians)
Not 100% sure but we might divert and use /mnt/idd. I'll cross check to make sure we can do this.
Alex, how hard would it be to add a /persist partition back for these devices?
Adding a partition is probably not something we can do.
[Blocking Requested - why for this release]: I found that the permissions aren't being set at all either, so the function here isn't useful unless all the end user wants to do is reset the phone.
blocking-b2g: --- → spark?
blocking-b2g: spark? → spark+
Flags: needinfo?(drs)
Alex, what can we do here?
Flags: needinfo?(lissyx+mozillians)
(In reply to Doug Sherk (:drs) (use needinfo?) from comment #9) > Alex, what can we do here? Alin should be back from his business trip on Monday and be able to help me check how we can get a /persist or something that matches our needs.
Flags: needinfo?(lissyx+mozillians)
So I got confirmation we can make safe use of apps_log partition as a persist one. I'd suggest we bind-mount apps_log as /persist, this way we don't need Gecko changes, but we need to reflash boot partition.
Flags: needinfo?(mwu)
Flags: needinfo?(fabrice)
Attached file Shinano common PR
Assignee: fabrice → lissyx+mozillians
Status: NEW → ASSIGNED
Attachment #8616695 - Flags: review?(mwu)
With the PR applied, and after making sure you have reflashed boot.img and recovery.img and that recovery works, - Make sure ADB and Devtools is enabled in Settings, Developer - Tap the "Factory Reset and Enable Full DevTools" - After confirmation, device should reboot into recovery then reboot back Now if you plug WebIDE it should show the device is in full devtools mode.
Flags: needinfo?(jdarcangelo)
Whiteboard: [spark] → [spark][systemsfe]
Target Milestone: --- → 2.2 S14 (12june)
(In reply to Alexandre LISSY :gerard-majax from comment #11) > So I got confirmation we can make safe use of apps_log partition as a > persist one. I'd suggest we bind-mount apps_log as /persist, this way we > don't need Gecko changes, but we need to reflash boot partition. fine for me.
Flags: needinfo?(fabrice)
Comment on attachment 8616695 [details] [review] Shinano common PR Sure.
Flags: needinfo?(mwu)
Attachment #8616695 - Flags: review?(mwu) → review+
Thanks!
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
blocking-b2g: spark+ → 2.5+
This issue is verified fixed on Aries. Going to Settings > Developer > toggle on 'Factory Reset and Enable Full DevTools' correctly enables full devtools and apps that require this functionality can then be utilized after factory resetting. Verified on: Device: Aries (RCA4 and OTA'ed to dogfood-latest) BuildID: 20150715180430 Gaia: b9968cdc4a1dee49848fed6159a59c378cea062d Gecko: 49683d4e9ebd Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd Version: 42.0a1 (2.5 Master) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:42.0) Gecko/42.0 Firefox/42.0
Status: RESOLVED → VERIFIED
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: