[android-developers] Re: Disabling the USB port?

2010-09-14 Thread FrankG
Yes .. but the question if, whether it is allowed for hiim, that the mobile can still be seen in the devise manager ? If not then he need a special usb gadget with null mode, means, which does not enumerate .. And disable mass storage allone maybe will not help him, if his devise supports other

Re: [android-developers] Re: Disabling the USB port?

2010-09-14 Thread Mark Murphy
On Mon, Sep 13, 2010 at 11:56 PM, Tez earlencefe...@gmail.com wrote: Mark, There is a adb_enabled value in Settings.Secure. I think this is related to USB debugging. Yes, you're correct. I was hunting for USB and that one didn't catch my eye. My apologies. Hence, if you are rolling your own

[android-developers] Re: Disabling the USB port?

2010-09-13 Thread Tez
Is there any other way that can block the USB port so that no data is transferred? Where are the corresponding source files? Cheers, Earlence On Sep 13, 3:33 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Sep 13, 2010 at 3:44 AM, Tez earlencefe...@gmail.com wrote: Is it possible to

Re: [android-developers] Re: Disabling the USB port?

2010-09-13 Thread Mark Murphy
On Mon, Sep 13, 2010 at 8:59 AM, Tez earlencefe...@gmail.com wrote: Is there any other way that can block the USB port so that no data is transferred? I sure hope not. Where are the corresponding source files? I have no idea. I work at the SDK level, and I know there's nothing much in the

[android-developers] Re: Disabling the USB port?

2010-09-13 Thread Chris Stratton
Compile a kernel without usb drivers. You will need root or an engineering bootloader to install it. Or you could just leave usb debugging off and decline to mount mass storage mode. Tez wrote: Is there any other way that can block the USB port so that no data is transferred? Where are the

[android-developers] Re: Disabling the USB port?

2010-09-13 Thread Tez
If I understand you correctly, if I turn off USB debugging, Even if I connect the phone via cable, I won't be able to run commands such as adb etc. Is this correct? If so, how is USB debugging turned off? Cheers, Earlence On Sep 13, 7:47 pm, Chris Stratton cs07...@gmail.com wrote: Compile a

Re: [android-developers] Re: Disabling the USB port?

2010-09-13 Thread Mark Murphy
On Mon, Sep 13, 2010 at 12:55 PM, Tez earlencefe...@gmail.com wrote: If I understand you correctly, if I turn off USB debugging, Even if I connect the phone via cable, I won't be able to run commands such as adb etc. Is this correct? Yes. If so, how is USB debugging turned off? The user

[android-developers] Re: Disabling the USB port?

2010-09-13 Thread niko20
Tez, do you work for ATT? On Sep 13, 12:35 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Sep 13, 2010 at 12:55 PM, Tez earlencefe...@gmail.com wrote: If I understand you correctly, if I turn off USB debugging, Even if I connect the phone via cable, I won't be able to run commands

[android-developers] Re: Disabling the USB port?

2010-09-13 Thread Tez
Mark, There is a adb_enabled value in Settings.Secure. I think this is related to USB debugging. Niko20, No, I don't work for ATT -E On Sep 13, 10:43 pm, niko20 nikolatesl...@yahoo.com wrote: Tez, do you work for ATT? On Sep 13, 12:35 pm, Mark Murphy mmur...@commonsware.com wrote: On

Re: [android-developers] Re: Disabling the USB port?

2010-09-13 Thread Robert Craig
compile your own version of adbd that doesn't support said features. or just don't include adbd at all. On Mon, Sep 13, 2010 at 11:56 PM, Tez earlencefe...@gmail.com wrote: Mark, There is a adb_enabled value in Settings.Secure. I think this is related to USB debugging. Niko20, No, I