ADB Device not found, HELP !!!!!! - Moto G Q&A, Help & Troubleshooting

Hello, Today i have installed Cyanogenmod 11. But after rebooting i connected my mobile to PC and in command prompt
i gave a command " adb devices" and the list is empty. :crying: This happened after flashing CM11. HELP !!!!!
I can access internal memory as a media device.

Did you enable the ADB?

cyrus_ae said:
Did you enable the ADB?
Click to expand...
Click to collapse
As above.
You'll need ADB active on the phone.
And a new / updated version of the ADB drivers / tools on your desktop.
Also, you will get a dialog prompt on the phone to confirm a security encrypted key (to allow ADB between your desktop and your phone)
This is something Google introduced on 4.1 (I think) which, if is not set, will end in a "devices not found" when trying to use ADB

dubidu said:
As above.
You'll need ADB active on the phone.
And a new / updated version of the ADB drivers / tools on your desktop.
Also, you will get a dialog prompt on the phone to confirm a security encrypted key (to allow ADB between your desktop and your phone)
This is something Google introduced on 4.1 (I think) which, if is not set, will end in a "devices not found" when trying to use ADB
Click to expand...
Click to collapse
Thanks for replay
Actually it worked till I flash CM11 using CWM Recovery. Problem came after flashing .

srujan21 said:
Thanks for replay
Actually it worked till I flash CM11 using CWM Recovery. Problem came after flashing .
Click to expand...
Click to collapse
Revoke all USB authorisation.
Try reconnecting.
And authorize when prompted!
If it doesnt work!
Also Please post Does your device show up in device manager? IF yes by what name? Is there an ADB Interface?

deej_roamer said:
Revoke all USB authorisation.
Try reconnecting.
And authorize when prompted!
If it doesnt work!
Also Please post Does your device show up in device manager? IF yes by what name? Is there an ADB Interface?
Click to expand...
Click to collapse
Its working, Thanks

ADB Device not found
deej_roamer said:
Revoke all USB authorisation.
Try reconnecting.
And authorize when prompted!
If it doesnt work!
Also Please post Does your device show up in device manager? IF yes by what name? Is there an ADB Interface?
Click to expand...
Click to collapse
i had same problem, plz help me

vardhanram said:
i had same problem, plz help me
Click to expand...
Click to collapse
The thing you are quoting is solution my friend. It also has a question if solution doesn't work. Please answer that

Related

I get the error "device not found" in adb shell when I type a command

Hello. As the title says I get that error. I need to run adb shell to use some commands. When I type "adb devices" I don't get any device listed (the long name).
My OS is Windows 8.1 64bit.
Thanks.
KodRoute said:
Hello. As the title says I get that error. I need to run adb shell to use some commands. When I type "adb devices" I don't get any device listed (the long name).
My OS is Windows 8.1 64bit.
Thanks.
Click to expand...
Click to collapse
Whats your device?
LS.xD said:
Whats your device?
Click to expand...
Click to collapse
Nexus 5. In SDK Manager it says that Google USB Drivers are installed. I don't get it. When I use the phone to flash images in fastboot it works perfectly but ADB doesn't work.
KodRoute said:
Nexus 5. In SDK Manager it says that Google USB Drivers are installed. I don't get it. When I use the phone to flash images in fastboot it works perfectly but ADB doesn't work.
Click to expand...
Click to collapse
Try to disable/enable USB debugging again and check if the adb device is listed in your device manager.
You can also try this ADB/fastboot bundle (Includes the google drivers) and work on all folders
LS.xD said:
Try to disable/enable USB debugging again and check if the adb device is listed in your device manager.
You can also try this ADB/fastboot bundle (Includes the google drivers) and work on all folders
Click to expand...
Click to collapse
Yeah after a while I wanted to check if usb debugging was checked and it wasn't. Turns out now works.
KodRoute said:
Yeah after a while I wanted to check if usb debugging was checked and it wasn't. Turns out now works.
Click to expand...
Click to collapse
May you press "thanks" for my posts if i helped you ?!
KodRoute said:
Yeah after a while I wanted to check if usb debugging was checked and it wasn't. Turns out now works.
Click to expand...
Click to collapse
Doh! I hate when that happens. It's always the little things.

problem with adb shell

adb shell
error: device unauthorized. Please check the confirmation dialog on your device.
adb devices
List of devices attached
0466e0f6215cb6cc unauthorized
i tried may tips online but it still not work.
adb confirmation dialog not appearing on nexus 5
adb working on twrp but not showing confirmation dialog on android 6.0 nexus 5
Try revoking all authorizations on the phone and then try adb commands to see if the dialog box appears.
Can't revoke there are no voice for revoking. Anyway I did also deleted the /data/adb/adb_keys but at the end this dialog box won't appear
Debugging is enabled?
Yes it is
Did you try a different computer or operating system?
Maybe this will help: http://forum.xda-developers.com/verizon-lg-g3/help/unable-to-access-adb-t2830087
I am also getting same error but ..
only on one specific rom.
Other roms are working fine.
Tried on win8.1 , win10, ubuntu, mint.
I only use win7 so I can't comment about other operating systems.
parag60288 said:
I am also getting same error but ..
only on one specific rom.
Other roms are working fine.
Tried on win8.1 , win10, ubuntu, mint.
Click to expand...
Click to collapse
I need to test it on another computer
My ROM is marshmallow stock
spupuz said:
I need to test it on another computer
My ROM is marshmallow stock
Click to expand...
Click to collapse
I was having this issue on Pure White rom only....
parag60288 said:
I was having this issue on Pure White rom only....
Click to expand...
Click to collapse
uh it is strange
boh...
tested on another PC it seems to not work...
updated to 6.0.1 and not able to get the adb pop up in order to validate the authorization :|
whoa!! just solved i saw after update to 6.0.1 the revoke all adb permission has reappeared so i delete my /home/myuser/.android diretory on ubuntu and with an adb kill-server and adb usb was able to have the pop-up to appear and grant the permission .. so now it's working
It's strange that you didn't have the option to revoke ADB authorization before the update.
audit13 said:
It's strange that you didn't have the option to revoke ADB authorization before the update.
Click to expand...
Click to collapse
that was my situation
I have always had the option to revoke USB afaik.

Accidentally deleted backup and os installed on my opo!

Hi Guys, I just want to ask if there will be a possible solution on how I will be able to use my phone again. I accidentally deleted the OS and the backup of my OS. When I tried to connect my phone to a pc, the pc wont read my phone. Any possible solution on how will I connect it or any solutions for my problem. I also dont have the custom rom zip on my sdcard anymore.
dxlevel81 said:
Hi Guys, I just want to ask if there will be a possible solution on how I will be able to use my phone again. I accidentally deleted the OS and the backup of my OS. When I tried to connect my phone to a pc, the pc wont read my phone. Any possible solution on how will I connect it or any solutions for my problem. I also dont have the custom rom zip on my sdcard anymore.
Click to expand...
Click to collapse
Can you boot into fastboot or recovery?
Mr.Ak said:
Can you boot into fastboot or recovery?
Click to expand...
Click to collapse
yes I can boot into TWRP, but can't connect to pc.
dxlevel81 said:
yes I can boot into TWRP, but can't connect to pc.
Click to expand...
Click to collapse
Ahh..
Just boot into Twrp,connect your device to Pc and transfer any ROM and flash it.Gee,twrp supports mtp,which means you can transfer stuff.Alternatively,if mtp is not working for any reason,you can use usb otg as well.
Mr.Ak said:
Ahh..
Just boot into Twrp,connect your device to Pc and transfer any ROM and flash it.Gee,twrp supports mtp,which means you can transfer stuff.Alternatively,if mtp is not working for any reason,you can use usb otg as well.
Click to expand...
Click to collapse
The pc wont read my phone anymore, I installed adb drivers already. But I'll try to use an otg usb.
dxlevel81 said:
The pc wont read my phone anymore, I installed adb drivers already. But I'll try to use an otg usb.
Click to expand...
Click to collapse
I forgot to mention you can use adb sideload as well.
Since you've adb drivers installed,boot into twrp,go to advanced and enable adb sideload,connect to PC.Copy the ROM zip in your adb folder(where adb files are situated),press shift and simultaneously hit right button on your mouse,select open cmd here.Now write command "adb devices"(obviously without quotes), if all goes well,you'll see your device Id there,proceed and write command "adb sideload ROM name.zip" (where ROM name= exact name of file you're trying to flash).The flashing progress should start now.
Mr.Ak said:
I forgot to mention you can use adb sideload as well.
Since you've adb drivers installed,boot into twrp,go to advanced and enable adb sideload,connect to PC.Copy the ROM zip in your adb folder(where adb files are situated),press shift and simultaneously hit right button on your mouse,select open cmd here.Now write command "adb devices"(obviously without quotes), if all goes well,you'll see your device Id there,proceed and write command "adb sideload ROM name.zip" (where ROM name= exact name of file you're trying to flash).The flashing progress should start now.
Click to expand...
Click to collapse
Do you have links on working adb drivers? That is my problem now. My pc is unable to read my oneplus
dxlevel81 said:
Do you have links on working adb drivers? That is my problem now. My pc is unable to read my oneplus
Click to expand...
Click to collapse
Device doesn't get detected even after enabling adb sideload in Twrp? What does it shows in Device Manager?
https://forum.xda-developers.com/showthread.php?t=2588979
Mr.Ak said:
Device doesn't get detected even after enabling adb sideload in Twrp? What does it shows in Device Manager?
https://forum.xda-developers.com/showthread.php?t=2588979
Click to expand...
Click to collapse
It does'nt show in the device manager.

Bloatware Apps Removal via ADB

Hello Everyone,
I would like to learn how to remove bloatware Apps from my Android phone.
I have tried using "ADB commands" but for some reason my computer doesn't recognize/find my Android phone when I connect it to it.
Please help.
Thanks in advance
Download drivers for samsung and enabled adb developer option then type following "adb devices" press enter and should see serial number indicating phone connected via adb
petiolarissean said:
Download drivers for samsung and enabled adb developer option then type following "adb devices" press enter and should see serial number indicating phone connected via adb
Click to expand...
Click to collapse
Hello, and Thanks
I have done that exactly, but it still doesn't work.
And I can't figure out why is not working.
I have installed the Samsung driver, allowed the ADB function on my phone from "Developer Options" etc.
In addition to the advices by petiolarissean , check whether the driver works well, please.
In the 'Devices Manager' of your Windows, check the driver for your Android phone.
If this doesn't work yet, change an usb cable and then try again.
Only to have mentioned it:
So-called bloatware typically is housed in Android's locations /system and/or /system/priv--apps what only can get accessed by Android's root-user after successfully mounted as RW.
James_Watson said:
In addition to the advices by petiolarissean , check whether the driver works well, please.
In the 'Devices Manager' of your Windows, check the driver for your Android phone.
If this doesn't work yet, change an usb cable and then try again.
Click to expand...
Click to collapse
Thanks for your help
I think I will buy a new USB cable and give it a try, hopefully it will work.
Have a nice day
Sorry late reply.I have like 5 different phone.Hard core modder.
This question help alot
Even though you csnt get adb working
Can you still move files from your phone to pc or computer.Or nothing ay all.Your answr will tell me your problem

USB port please help

If a USB port is disabled on a device and I'm unable to adb into it, is there any file or method I can try to enable USB port? When I ADbB devices it reads unauthorized. If I try and ADB mount I get the ADB help screen.. please help
DjPlaymysong14 said:
If a USB port is disabled on a device and I'm unable to adb into it, is there any file or method I can try to enable USB port? When I ADbB devices it reads unauthorized. If I try and ADB mount I get the ADB help screen.. please help
Click to expand...
Click to collapse
How did you find out that the USB port is disabled? With the command 'adb devices' what is the output? Do you get an alphanumeric output along with "unauthorised"? If so, it doesn't mean that the USB port is disabled. It means that the prompt on your device (when you use the command) asking whether to allow the adb connection has not been approved.
If you don't get the prompt, then search for a solution for that.
TNSMANI said:
How did you find out that the USB port is disabled? With the command 'adb devices' what is the output? Do you get an alphanumeric output along with "unauthorised"? If so, it doesn't mean that the USB port is disabled. It means that the prompt on your device (when you use the command) asking whether to allow the adb connection has not been approved.
If you don't get the prompt, then search for a solution for that.
Click to expand...
Click to collapse
Ok so it's not approved, so my follow up question if I'm allowed to see that is there a way to get approved so I can delete the partitions?
DjPlaymysong14 said:
Ok so it's not approved, so my follow up question if I'm allowed to see that is there a way to get approved so I can delete the partitions?
Click to expand...
Click to collapse
Is adb the only way to do phone to phone using terminal prompts? Is there a back door into the target device if ADB don't work?
DjPlaymysong14 said:
Ok so it's not approved, so my follow up question if I'm allowed to see that is there a way to get approved so I can delete the partitions?
Click to expand...
Click to collapse
as I already said, Search is your friend.
DjPlaymysong14 said:
Is adb the only way to do phone to phone using terminal prompts? Is there a back door into the target device if ADB don't work?
Click to expand...
Click to collapse
ADB for phone to phone? I don't understand the question. ADB will work if it is authorised on your device.

Categories

Resources