I am running Ubuntu on my computer and I plugged in my tablet to flash TWRP to it. I enter adb devices and here is the output:  juniorRubyist@juniorRubyist-iMac:~$ adb devices List of devices attached  ????????????    no permissions  ...   Why is it doing this. I have a Kindle Fire 1st Generation, it says that it will ask to authorize ADB, but it will not. It has ADB enabled (I think) and everything.
121092
I just got my shiny new Wileyfox Swift – and before putting it to use I want to oem unlock and root it (as I usually do with new devices ;) Trouble is, though  is enabled on the device, and a corresponding line in /etc/udev/rules.d/51-android.rules exists, the device is not seen by adb devices.  I know there are several answers scattered around this site, but they are either hard to find, just cover a specific device, or don't cover all steps I finally needed. So I take this as a chance for a canonical, device-independent question and give it a detailed answer below:  How can I get my Android device seen and used by adb on Linux?
22875
I'm trying to protect whole flash from reading through ISP. It has bootloader, able to self program application section.   Setting lock byte to:   LB1/LB2 will not let user to use bootloader to upload new firmware.   BLB12/BLB11 and BLB01&amp;BLB02 will not prevent reading flash through ISP, if I am not mistaken.   So there is no way to let user update firmware by custom bootloader and protect flash from reading at the same time?
83097
How can I view a list of devices that are connected to my Apple laptop via Internet Sharing (when it's enabled)? If a list doesn't exist, does Internet Sharing log DHCP requests and if so, where? Thanks.
4801
On the iPod Touch/iPhone, since it is tied to your iTunes account, I am quite sure you can have your bought apps on multiple devices you own (can't test though, iPod Touch was stolen).  However, now I have the Motorola Droid, and am waiting for a tablet, and am considering getting a Nook and rooting it to run my own apps.  Question is, if you buy an app on the marketplace, how is the security done:   Is it tied to your Gmail account so you can share it between devices you own? Is it tied to the device? (Don't break/replace your phone!) As long as it's installed, you're OK? (If you uninstall, or wipe your device, it's gone).   I assume 3 is highly unlikely, though a possibility, so leaving it here as a potential answer to my question.
25406
Some Android devices can act as a USB host, so that you can use other USB devices attached to them. For instance, browse or import the photos stored on a camera from your phone, or copy files onto a USB memory stick attached to your tablet, plug a full-size USB keyboard or mouse into a tablet, or use an external GPS or wifi device.  How can I tell if my device can do this?
72537
What permissions should a udev rule have for a USB device? 644? 755?  For example on Ubuntu I'm looking at this file: /etc/udev/rules.d/99-lpcscrypt.rules
32864
When I go to , my tablet is listed, but not my phone. I had signed up just as soon as ADM was available, and at that time both devices were listed. Now, for the last several days, I can only see my tablet. (For what it's worth, both devices appear in the "My Devices" section of the Google Play Store.)  I have done the following while troubleshooting:   Ensured that the Android Device Manager settings in Google Settings are both on. I have even toggled them off and back on again Ensured that Location Services are on Ensured that all sync services for my account are toggled on and work Have connected to the Play Store several different times Ensured Google Play Services is at the latest version Made sure I'm using the right account. (In fact, I removed the other secondary accounts from the phone) Power-cycled the phone several different times   I could understand if ADM couldn't find the phone due to it being off, out of range, poor signal, etc., but ADM would at least display the phone and tell me it couldn't find it.  So, any suggestions to get my phone to show up on Android Device Manager?  I would like this to be working before something happens to the phone. ( and all that.)  Although it shouldn't make any difference:   Tablet: Nexus 7 (2012) with Android 4.3 Phone: Verizon Galaxy Nexus with Android 4.2.2   Addendum:  There's apparently some (relatively new) advice on the :   Open  Google Settings from your device's apps menu. Touch Android Device Manager. Uncheck Allow remote factory reset. Go to your device's main Settings menu, then touch Apps > All > Google Play services. Touch Clear Data. Note that this action doesn't remove personal data. Go back to Google Settings and select Allow remote factory reset. Restart your device.   I have followed these steps, but it doesn't appear to have worked.
32929
My surface tablet is shared with a friend. She uses a separate account, with admin rights.  Being an admin, she is able to gain access to all my files. Even my OneDrive files.   I guess I could follow  to prevent this (it basically states that you'll need to disable access for the targeted administrator), but the same scenario would be present if I were to create another administrator account.  You could say "don't make her administrator", but I don't want to mess with her personal files as well.  Somehow this feels as a security flaw... or am I mistaken?  Is there any way to protect private files from "administrator eyes" by default?
61346
I'm using Ubuntu 12.10 and I have installed Android SDK, set it's path in my user .bashrc and it works.  The problem is that my phone requires adb to be ran by root for permissions, but running adb with sudo I get the following error:  sudo: adb: command not found  I tried to simply use sudo -E adb start-server, but it doesn't work. Tried to add the export path line to /root/.bashrc and (after realizing it didn't help) to /etc/bash.bashrc.  I remember I could set it on my Arch Linux, but I guess my problem now is connected to Ubuntu root account not behaving like I expect it.    What I don't understand is the following:  These don't work:  martin@alyx:~$ sudo adb devices sudo: adb: command not found   This does (typing the full path):  martin@alyx:~$ sudo /opt/android-sdk-linux/platform-tools/adb devices * daemon not running. starting it now on port 5037 * * daemon started successfully * List of devices attached  CM7-Blade   device   This doesn't work (using -E with sudo):  martin@alyx:~$ sudo -E adb devices sudo: adb: command not found   This works (as root):  martin@alyx:~$ sudo su root@alyx:/home/martin# adb devices List of devices attached  CM7-Blade   device   I'm totally confused now and I'd appreciate some clarifying on how to set a path for sudo or how else I could solve my problem.  (And please, don't say adb shouldn't be ran as root.)  Thanks in advance!  Edit: By requiring root permissions I mean that I need them because otherwise I get:  $ adb devices  List of devices attached  ????????????    no permissions   which doesn't occur as superuser. Sorry if it was misunderstanding.
75717
I wanted to access the developer options to enable adb access on Android 4.2 but cannot find it.  How can I enable that?  Once I've activated the menu, how can I hide it again?
120628
i want to write a device driver but not able to find the header file can someone please help me find them?Also if someone can point out some important site links that would be really appreciated
55575
I have the Xiaomi Mi A3 and I'm currently on both phone and PC latest stock update. I am using Windows 10 20H2 and I have tried everything – but still don't get it. I tried another Mi A3 and it got attached normally. I've tried installing all kind of drivers and different ports, nothing. When suddenly it worked and I installed the stock ROM – but because the stock ROM is kinda laggy and ugly I want to change it. But I can't because I am also on stock recovery and I can't install another recovery because my device isn't recognized in fastboot mode. My device is recognized in adb mode and in edl mode as well, only not in fastboot.
89529
I would like to connect a USB Mouse, Keyboard or Storage Device to my Nexus 4. So far I know, for this USB OTG must be supported. Unfortunately I can not find any actual information about this.  Does anybody know whether USB OTG is supported by Ubuntu-Touch? If yes, does anybody know if it would work with a Nexus 4 device?
96214
I am learning about linux security and struggling to understand why a USB stick with a character device on it is potentially dangerous.  If I have a USB stick with a bash executable that has setuid root on it, the danger is obvious: Anybody with such a USB stick can gain root privileges on my computer if I have an entry like   /dev/sdb1 /media/usbstick auto defaults 0 0   in my /etc/fstab because defaults includes suid.  But what about character devices? How can I use a character device to gain root privileges or break stuff if a USB stick with a character device on it gets mounted with dev or defaults?
123657
Is there a way to use adb directly via bluetooth instead of always via usb?  --  Thanks for the adb wireless solutions below, but I am looking for something that works well on hotel or public wifi. Bluetooth short-range might be the only way to go about it.
79878
I will have a few Android phones that I will have to let go.   I would like to make a proper clean wipe of the data, without no one being able to retrieve them, and do a factory reset.  I have read about the , encrypting the device before doing a factory reset, doing both, etc.  Since I am not an Android/adb guru, I would like to know if some of you would have some idea on how to achieve this with certainty.  I know "certainty" is a big word when it comes to proper data erasure on flash memory but still.  I have found some answers here and somewhere else, saying that encrypting and doing a factory reset on your Android device is enough, but I could not find a reliable source.  Just a few information that could be useful:   I'm running Linux as my OS and, therefore, I'm not looking for a Windows-based solution My devices are non-rooted and (almost) identical (Samsung A510F + 1 A510FD)
37842
For hardware reasons (My menu key doesn't work) I can not add an APN via settings. I read  about using sqlite and  about using code. But I need a more convenient way to do it. I need to do it using adb.