Closed Bug 1034941 Opened 10 years ago Closed 10 years ago

[Flatfish][TCP] Default USB Debugging to "ADB and DevTools"

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: caspy77, Unassigned)

References

Details

(Whiteboard: [Flatfish][TCP])

Every time I flash a new build to my flatfish tablet, the USB Debugging setting gets reset to "ADB only".  This is frustrating as I've been testing a variety of builds and don't always think to change it.

Given that currently all users of the device are testers, this setting should default to "ADB and DevTools".

Also, there a problem with being unable to exit the FTU tutorial in current 2.1 builds.  We might better be able to troubleshoot the issue with DevTools access.
Status: UNCONFIRMED → NEW
Ever confirmed: true
+1
Summary: [Flatfish] Default USB Debugging to "ADB and DevTools" → [Flatfish][TCP] Default USB Debugging to "ADB and DevTools"
Whiteboard: [Flatfish] → [Flatfish][TCP]
Maybe you can try |DEVICE_DEBUG=1 make|. This option enable debugging with adb and devtools by default.
Since the problem of unable to exit FTU is fixed in bug 1033564, and we have build options available to turn on adb and devtools by default in comment 2, I think this works for tablet contributors?
Flags: needinfo?(caspy77)
I am not yet building gaia, but someone built it with this flag and said that the setting indeed was "ADB and DevTools".

What is the next step to build with this flag?
Flags: needinfo?(caspy77)
(In reply to Caspy7 from comment #4)
> I am not yet building gaia, but someone built it with this flag and said
> that the setting indeed was "ADB and DevTools".
> 
> What is the next step to build with this flag?

DEVICE_DEBUG=1 make

See also the make reference[1].

[1]: https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/make_options_reference#Device_debug_make
Sorry, I meant the automated builds from the vendor.

Iean or Jeff? Is this your domain?
Flags: needinfo?(jeff.cy.chuang)
Flags: needinfo?(iean.lin)
Iean is on vacation until 7/29. I will try to find how to add DEVICE_DEBUG=1 to the build script of automated build.
Flags: needinfo?(jeff.cy.chuang)
The flag DEVICE_DEBUG=1 has been added to automated build script. Verfied with the new system.img and userdata.img, the default debug settings is "ADB and DevTools".
Check with latest image from https://www.dropbox.com/sh/b2py1btcwstqldl/AABblbq_csa1IHQwdvLdfptTa, 
default debugging is set to "ADB and DevTools".
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Flags: needinfo?(iean.lin)
See Also: → 1046509
You need to log in before you can comment on or make changes to this bug.