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)
Tracking
(blocking-b2g:2.5+, b2g-master verified)
Tracking | Status | |
---|---|---|
b2g-master | --- | verified |
People
(Reporter: drs, Assigned: gerard-majax)
References
Details
(Whiteboard: [spark][systemsfe])
Attachments
(1 file)
No description provided.
Reporter | ||
Comment 1•10 years ago
|
||
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)
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(drs)
Comment 2•10 years ago
|
||
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)
Assignee | ||
Comment 3•10 years ago
|
||
I believe we are doing a factory reset, which is documented at https://www.codeaurora.org/cgit/quic/la/platform/bootable/recovery/tree/recovery.cpp?id=dc8da21282a0c68328d05268433d19b0f2f6a15c#n105 and implemented at https://www.codeaurora.org/cgit/quic/la/platform/bootable/recovery/tree/recovery.cpp?id=dc8da21282a0c68328d05268433d19b0f2f6a15c#n798
It explicitely destroys everything from cache partition.
Flags: needinfo?(lissyx+mozillians)
Assignee | ||
Comment 4•10 years ago
|
||
Not 100% sure but we might divert and use /mnt/idd. I'll cross check to make sure we can do this.
Comment 5•10 years ago
|
||
Alex, how hard would it be to add a /persist partition back for these devices?
Comment hidden (typo) |
Assignee | ||
Comment 7•10 years ago
|
||
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?
Reporter | ||
Updated•10 years ago
|
blocking-b2g: spark? → spark+
Flags: needinfo?(drs)
Assignee | ||
Comment 10•10 years ago
|
||
(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)
Assignee | ||
Comment 11•10 years ago
|
||
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)
Assignee | ||
Comment 12•10 years ago
|
||
Assignee: fabrice → lissyx+mozillians
Status: NEW → ASSIGNED
Attachment #8616695 -
Flags: review?(mwu)
Assignee | ||
Comment 13•10 years ago
|
||
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)
Assignee | ||
Updated•10 years ago
|
Whiteboard: [spark] → [spark][systemsfe]
Target Milestone: --- → 2.2 S14 (12june)
Comment 14•10 years ago
|
||
(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 15•10 years ago
|
||
Comment on attachment 8616695 [details] [review]
Shinano common PR
Sure.
Flags: needinfo?(mwu)
Attachment #8616695 -
Flags: review?(mwu) → review+
Assignee | ||
Comment 16•10 years ago
|
||
Thanks!
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•10 years ago
|
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Assignee | ||
Comment 17•10 years ago
|
||
https://github.com/mozilla-b2g/device-shinano-common/commit/dfcb155625d04f8c6188b49b9aeeaee9df79703d
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
blocking-b2g: spark+ → 2.5+
Updated•9 years ago
|
status-b2g-v2.5:
--- → fixed
status-b2g-master:
--- → fixed
Updated•9 years ago
|
status-b2g-v2.5:
fixed → ---
Comment 18•9 years ago
|
||
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)
Updated•9 years ago
|
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.
Description
•