[android-developers] Re: Disabling the USB port?
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 usb modi as well. But seems this kind of questions are more related to android platform ? Good luck ! Frank On 13 Sep., 16:47, Chris Stratton cs07...@gmail.com wrote: 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 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 disable the USB port? You could fill it with glue... Even if the device is physically connected to a host computer via USB cable, no logical connection should be established. What are the sources/programmatic way of doing this? You would need to modify the firmware. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training- Zitierten Text ausblenden - - Zitierten Text anzeigen - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Disabling the USB port?
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 firmware, or work for a device manufacturer and can sign your apps with the system signing key, you can stop ADB. And you can stop USB mass storage. You cannot stop anything else that the manufacturer might have added, though (e.g., external keyboard support), short of modifying the firmware itself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disabling the USB port?
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 disable the USB port? You could fill it with glue... Even if the device is physically connected to a host computer via USB cable, no logical connection should be established. What are the sources/programmatic way of doing this? You would need to modify the firmware. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Disabling the USB port?
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 SDK related to USB. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disabling the USB port?
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 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 disable the USB port? You could fill it with glue... Even if the device is physically connected to a host computer via USB cable, no logical connection should be established. What are the sources/programmatic way of doing this? You would need to modify the firmware. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disabling the USB port?
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 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 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 disable the USB port? You could fill it with glue... Even if the device is physically connected to a host computer via USB cable, no logical connection should be established. What are the sources/programmatic way of doing this? You would need to modify the firmware. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Disabling the USB port?
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 turns it off via the appropriate settings screen. I don't see where it is exposed via Settings.System, or even Settings.Secure. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disabling the USB port?
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 such as adb etc. Is this correct? Yes. If so, how is USB debugging turned off? The user turns it off via the appropriate settings screen. I don't see where it is exposed via Settings.System, or even Settings.Secure. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Disabling the USB port?
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 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 turns it off via the appropriate settings screen. I don't see where it is exposed via Settings.System, or even Settings.Secure. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Disabling the USB port?
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 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 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 turns it off via the appropriate settings screen. I don't see where it is exposed via Settings.System, or even Settings.Secure. -- Mark Murphy (a Commons Guy)http://commonsware.com| http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android Training...At Your Office:http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en