If you disable the lock screen, then the adb session won't be dropped. 

You can also enable USB Mass Storage, and while the USB Mass Storage session is 
active, then the adb session also won't be dropped. 

It probably makes sense to alter the behaviour so that as long as a pin code 
isn't required, then it shouldn't drop the adb session (since, as you 
suggested, anybody can unlock the phone in this case). If a passcode is 
required to unlock, then I would argue that it should behave like it does 
today. 

If you have root access to your phone, I can tell you how to modify your phone 
to enable adb all the time. 

Dave Hylands 

----- Original Message -----

> From: "Naoki Hirata" <[email protected]>
> To: "vampirefo" <[email protected]>
> Cc: [email protected]
> Sent: Friday, June 13, 2014 4:19:28 PM
> Subject: Re: [b2g] How to stop firefox from dropping adb? when screen is off.

> If you have built your device based on :
> http://bluishcoder.co.nz/2014/06/11/dual-booting-android-and-firefox-os.html
> Then it's just a matter of not using the Production=1 flag and using the
> VARIANT=eng flag instead.

> VARIANT=eng MOZILLA_OFFICIAL=1 ./build.sh

> That will build the engineering version. According to the website you would
> still have to follow the remainder of the steps to create a ROM.

> On Jun 13, 2014, at 4:10 PM, vampirefo <[email protected]> wrote:

> > On Friday, June 13, 2014 6:57:33 PM UTC-4, Naoki Hirata wrote:
> >> Thanks for your input. It may be an inconvenience to you, to which I
> >> apologize that it is inconvenient. As stated before, you have the option
> >> of flashing the engineering gecko in which you will no longer be
> >> inconvenienced.
> >>
> >>
> >>
> >> Having stated that, end users that value their private data will most
> >> likely lock their phones with pass codes. There are people that do
> >> benefit from this feature ( bug 810092 ).
> >>
> >>
> >>
> >> On Jun 13, 2014, at 3:44 PM, vampirefo <[email protected]> wrote:
> >>
> >>
> >>
> >>> On Friday, June 13, 2014 6:07:03 PM UTC-4, vampirefo wrote:
> >>
> >>>> My ZTE Open C firefox drops adb when screen is off, How to stop firefox
> >>>> from dropping adb connection?
> >>
> >>>
> >>
> >>> This is not security, it's just an inconvenience, if someone has access
> >>> to my phone and knows how to use adb, then common sense says they know
> >>> how to turn the screen on, please stop crippling the phone for useless
> >>> security issues.
> >>
> >>> _______________________________________________
> >>
> >>> dev-b2g mailing list
> >>
> >>> [email protected]
> >>
> >>> https://lists.mozilla.org/listinfo/dev-b2g
> >
> > I have no ideal what engineering gecko is, nor where to find it, nor do I
> > know how to flash it, I am sure it's going to be a pain, for now reason,
> > when all firefox has to do is stop, this false security stuff.
> >
> > So where is this engineering gecko and how do I flash it? most likely will
> > completely lose all my settings, hours try to figuring out how to install
> > another OSjust to have usb working as it should.
> >
> > Firefox sounds more like windows, making users do unnecessary stuff just
> > cause someone's false belief of a security issue.
> > _______________________________________________
> > dev-b2g mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-b2g

> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to