Skip to main content

Posts

Showing posts with the label USB

How to set up and use ADB over Wi-Fi

Android Debug Bridge (ADB) is a versatile tool that allows developers to communicate with Android devices for debugging and other tasks. Traditionally, ADB connections require a USB cable, but it's possible to establish a connection over Wi-Fi, offering greater flexibility. This guide provides step-by-step instructions to set up ADB over Wi-Fi and outlines common issues you might encounter. Prerequisites Android Device : Ensure your device is running Android 11 or later. Toxigon Computer : A PC with ADB installed. You can download the latest version of the Android SDK Platform Tools from the official Android developer website . USB Cable : Required for the initial setup. Wi-Fi Network : Both your Android device and computer must be connected to the same Wi-Fi network. Steps to set up ADB over Wi-Fi Enable Developer Options on Your Android Device : Navigate to Settings > About phone . Tap on Build number seven times until you see a message confirming that Developer Options are e...

How to disable USB ports on Mac OS X Mavericks, Yosemite or El Capitan ?

We might wonder how to disable the USB ports on Mac to prevent data copy to external USB mass storage devices. The USB kext on os x is loaded at the time of start of the system, this can be loaded / unloaded using kextload or kextunload command. To disable USB port on Mac , follow below steps: On Macs running  Mountain Lion, Mavericks  and Yosemite : Unmount any connected USB devices to the system by running below command                  $ diskutil unmount /Volumes/USBDISK. Now unload the USB related kernel extensions in the following order using kextunload command.             sudo kextunload -b com.apple.driver.AppleUSBCardReader             sudo kextunload -b com.apple.driver.AppleUSBODD             sudo kextunload -b com.apple.iokit.IOUSBMassStorageClass        This wil...