adb not working - Samsung Galaxy Tab S4 Questions & Answers

Any help with ADB? tried everything adb kill-server and then adb start-server... change back and forth file transfer... turn on and off usb debug...
The think is tablet is connected can see phone memory and sd card and transfer files, but never see the fingerprint window asking me to allow usb debug

wallyhenderson said:
Any help with ADB? tried everything adb kill-server and then adb start-server... change back and forth file transfer... turn on and off usb debug...
The think is tablet is connected can see phone memory and sd card and transfer files, but never see the fingerprint window asking me to allow usb debug
Click to expand...
Click to collapse
Have you enabled USB debugging in Developer Options?

waterdaan said:
... turn on and off usb debug...
Click to expand...
Click to collapse
as i have said... many times

wallyhenderson said:
as i have said... many times
Click to expand...
Click to collapse
Sorry I missed the
... turn on and off usb debug...
Anyway, the problem is not the Tab S4, your adb server isn't starting
it should look something like
Code:
adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully
yours says adb server is out of date

waterdaan said:
Have you enabled USB debugging in Developer Options?
Click to expand...
Click to collapse
waterdaan said:
Sorry I missed the
... turn on and off usb debug...
Anyway, the problem is not the Tab S4, your adb server isn't starting
it should look something like
Code:
adb start-server
* daemon not running; starting now at tcp:5037
* daemon started successfully
yours says adb server is out of date
Click to expand...
Click to collapse
but when i plug the usb cable it does not show the fingerprint message to accept usb debug... that should be because adb on pc?

wallyhenderson said:
but when i plug the usb cable it does not show the fingerprint message to accept usb debug... that should be because adb on pc?
Click to expand...
Click to collapse
You've probably chosen always trust this computer
You could revoke USB debugging authorizations in Developer Options
---------- Post added at 16:03 ---------- Previous post was at 15:59 ----------
@wallyhenderson
I would download the adb from this link and try to use that
https://wiki.lineageos.org/adb_fastboot_guide.html

waterdaan said:
You've probably chosen always trust this computer
You could revoke USB debugging authorizations in Developer Options
---------- Post added at 16:03 ---------- Previous post was at 15:59 ----------
@wallyhenderson
I would download the adb from this link and try to use that
https://wiki.lineageos.org/adb_fastboot_guide.html
Click to expand...
Click to collapse
its crazy... revoked authorizations and same... it does not ask for the fingerprint... downloaded your adb and same...

wallyhenderson said:
its crazy... revoked authorizations and same... it does not ask for the fingerprint... downloaded your adb and same...
Click to expand...
Click to collapse
Strange....
Just to check if adb is working,
Type only adb and hit enter
That should give you a help screen
If you do 'adb devices' and the adb server isn't running, it will start the adb service
Example without device connected to the computer
Code:
adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
Have you added adb as an Environment Variable in Windows?
Maybe in a previous install?
Check if it works with your phone in stead of the tablet

Related

[TUT] ADB no device found -- Getting ADB to work

The easiest way of getting ADB to work:
Turn your phone OFF (Yes, off)
Connect it to your pc and wait for windows to finish "installing the drivers"
Try ADBing by going to ure fastboot folder (assuming it has the ADB executable inside the folder as well).
You could check if your device was recognized by firing
Code:
adb devices
If it doesn't show anything then do the following:
Grab the appropriate pc drivers from here: http://www.android-advice.com/2012/how-to-root-the-htc-one-x-and-htc-one-s/
Extract the drivers
Now go to Start menu and right click on my computer and then click manage.
Now go to device manager and there you should see your connected One X listed as being without a driver.
Right click on that entry and select 'update driver'
Now tell it that you have the driver on local disk and then browse to the folder you extracted.
Update your driver.
Disconnect and reconnect the device and try ADBing again.
Should work.
If your phone is off then Windows won't see it. Just install HTC Sync (so you get the drivers - you can uninstall HTC Sync afterwards if you're not going to use it) then plug the phone in when booted into Android. Repeat process when in FASTBOOT to get Windows to see the phone in FASTBOOT mode as well
Simples!
EddyOS said:
If your phone is off then Windows won't see it. Just install HTC Sync (so you get the drivers - you can uninstall HTC Sync afterwards if you're not going to use it) then plug the phone in when booted into Android. Repeat process when in FASTBOOT to get Windows to see the phone in FASTBOOT mode as well
Simples!
Click to expand...
Click to collapse
That is the thing -- IT DOES SEE IT! Try it yourself.
I didn't think it would but Jotha told me that it would. I tried it and it worked. I was surprised.
Yes device is seen through adb when off.
This is because as soon as you plug the USB cable, offmode comes up with charging and ADB support
Offmode is embeded in the recovery partition
PS: This needs latest clockworkmod recovery to work...
Latest ADB?
Hi!
When i was restoring my Sensation to S-ON i noticed that ADB was complaining about version out of date something....
Where can i get the latest version of ADB for using with my One X when i've decided if i should wait or use hTC bootunlocker...
Is there a way for Linux?
D0GuKaN said:
Is there a way for Linux?
Click to expand...
Click to collapse
Android SDK straight from Google should take care of that.
Also, use HTC USB cables, sometimes using non-standard USB cables can make searching for devices impossible.
DoeBoi said:
Also, use HTC USB cables, sometimes using non-standard USB cables can make searching for devices impossible.
Click to expand...
Click to collapse
No. As long as the cable is properly USB 2.0 compliant, it WILL work, otherwise HTC CANNOT certify against USB 2.0. Tried with proper Nokia, Sony Ericsson, Samsung and Google cables.
that doesn't work for me.
I tried everything, adb only recognizes my phone when its ON.
tashunke said:
that doesn't work for me.
I tried everything, adb only recognizes my phone when its ON.
Click to expand...
Click to collapse
See here a few posts back:
You have to have the latest clockworkmod recovery.
Can you help/guide me on how to install it ?
Sorry for being a dummy.
Is there any way with an adb command that we can tell what bootmode the phone is in?
I.E: hotboot or fastboot mode?
Using adb get-state they both return "unknown"?
Cheers...
RaVe-N said:
Is there any way with an adb command that we can tell what bootmode the phone is in?
I.E: hotboot or fastboot mode?
Using adb get-state they both return "unknown"?
Cheers...
Click to expand...
Click to collapse
Huh? It's OFF. My guess would be that it's not in any BOOT mode.
rilorolo said:
Huh? It's OFF. My guess would be that it's not in any BOOT mode.
Click to expand...
Click to collapse
Never mind... I found the androidlib.DLL (I think that's wrong, but its a .net DLL available here on xda) and that manages to return fast boot so I can tell programatically what state it's in...
Thanks
Thats Work
.
Please - anyone have any advice as to what could be stopping me from using adb ( from my phone to my PC ) ?
I been working on this for a couple days now, and gotten nowhere. Any thoughts at all ???
Thanks
============================
.
I have been trying to get adb working on my Win10 machine for a long time and just can not figure out what is wrong.
I have adb installed in c:\adb and my USB drivers are working. I can browse the phone from the PC.
But no matter what I try when I try to adb, I get this:
.
C:\adb>adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
** daemon still not running
error: cannot connect to daemon: No error
error: cannot connect to daemon: No error
C:\adb>
Click to expand...
Click to collapse
(Yes I do have USB debugging ON and OEM ON)
It is weird because it says daemon is nOT running then it tries to start
it and says daemon started Successfully ... then it says daemon still
nOT running. That makes no sense to me ?
Please any thoughts on this ???
Thanks
.
.
Thibor69 said:
.
Please - anyone have any advice as to what could be stopping me from using adb ( from my phone to my PC ) ?
I been working on this for a couple days now, and gotten nowhere. Any thoughts at all ???
Thanks
============================
.
I have been trying to get adb working on my Win10 machine for a long time and just can not figure out what is wrong.
I have adb installed in c:\adb and my USB drivers are working. I can browse the phone from the PC.
But no matter what I try when I try to adb, I get this:
.
(Yes I do have USB debugging ON and OEM ON)
It is weird because it says daemon is nOT running then it tries to start
it and says daemon started Successfully ... then it says daemon still
nOT running. That makes no sense to me ?
Please any thoughts on this ???
Thanks
.
.
Click to expand...
Click to collapse
I can understand the difficulty. This problem is pretty common because there are no official drivers for Win10. These drivers work best on XP. I also could not get the adb to work on my Win10 so I installed Ubuntu and rooting/installing ROM's from ubuntu is a breeze.. srry for not hvng a solution for this.

Z1C power button is broken, need to turn on the phone

Hello,
My Z1C's power button have stpped working and currently my phone is off. I'm not sure if debuggin is enabled (and can't find proper guide how to turn it on using debugging)
Can anybody help me please!
my power button is also broken and here is how I boot the phone when it turns off
* debugging should be turned on and ADB drivers installed on the PC
while pressing the vol up button connect the usb cable to the phone (other end already connected to the PC)
the notification light should turn blue
start the ADB prompt on PC
run command adb reboot
karamancho said:
my power button is also broken and here is how I boot the phone when it turns off
* debugging should be turned on and ADB drivers installed on the PC
while pressing the vol up button connect the usb cable to the phone (other end already connected to the PC)
the notification light should turn blue
start the ADB prompt on PC
run command adb reboot
Click to expand...
Click to collapse
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: no devices/emulators found
It get's blue light, I make a location adress to platform-tools, then adb reboot and get this message
I got this message. Can it be it doesn't recognise my phone?
i've used file transfer quite a lot, it should have autoinstalled drivers of my phone
TasKitas said:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: no devices/emulators found
It get's blue light, I make a location adress to platform-tools, then adb reboot and get this message
I got this message. Can it be it doesn't recognise my phone?
i've used file transfer quite a lot, it should have autoinstalled drivers of my phone
Click to expand...
Click to collapse
Maybe it's because you didn't enable debuging in the dev options but thats another problem.
Try googling the error message, maybe you'll find a solution
karamancho said:
Maybe it's because you didn't enable debuging in the dev options but thats another problem.
Try googling the error message, maybe you'll find a solution
Click to expand...
Click to collapse
Probably it's off, thanks for suggestion
TasKitas said:
Probably it's off, thanks for suggestion
Click to expand...
Click to collapse
you should also try the fastboot reboot command

HELP! - Remote Control needed on OP3. *Broken screen

Hi all,
My OP3 screen is broken. I need remote control to access my Google Authention code, and WhatsApp backup.
I have TWRP, phone is also rooted.
In my Windows 10 PC, I installed ADB and I can access my files, only I need remote controll.
ADB says when I typ "adb devices" in cmd.
I see some numbers but device is offline or unauthorized.
What can I do?
EDIT: I always had USB debugger on. I only need to activate it AGAIN (So disable/enable again, stupid).
Advise you to install TWRP 3.1.1 then connect to of and mount storage .. Then copy your files off.. That's if you haven't already tried this
dmilz said:
Advise you to install TWRP 3.1.1 then connect to of and mount storage .. Then copy your files off.. That's if you haven't already tried this
Click to expand...
Click to collapse
I know that, and that's working copy data.
But I need REMOTE access to it.

			
				
If your screen turn on you have to buy an USB mouse with USB to USB-C adapter and connect it to your phone. But if even the Amoled panel is dead I have no solution for you.
You cannot install TWRP ?
YourTheBest said:
Hi all,
My OP3 screen is broken. I need remote control to access my Google Authention code, and WhatsApp backup.
I have TWRP, phone is also rooted.
In my Windows 10 PC, I installed ADB and I can access my files, only I need remote controll.
ADB says when I typ "adb devices" in cmd.
I see some numbers but device is offline or unauthorized.
What can I do?
EDIT: I always had USB debugger on. I only need to activate it AGAIN (So disable/enable again, stupid).
Click to expand...
Click to collapse
Long time ago... i´m here again
Enable the USB debugging
Code:
adb shell
echo "persist.service.adb.enable=1" >>/system/build.prop
echo "persist.service.debuggable=1" >>/system/build.prop
echo "persist.sys.usb.config=mass_storage,adb" >>/system/build.prop"
reboot
---------- Post added at 03:11 PM ---------- Previous post was at 03:09 PM ----------
Bryandu13 said:
If your screen turn on you have to buy an USB mouse with USB to USB-C adapter and connect it to your phone. But if even the Amoled panel is dead I have no solution for you.
You cannot install TWRP ?
Click to expand...
Click to collapse
Never say never :good:
Viper The Ripper said:
Long time ago... i´m here again
Enable the USB debugging
Code:
adb shell
echo "persist.service.adb.enable=1" >>/system/build.prop
echo "persist.service.debuggable=1" >>/system/build.prop
echo "persist.sys.usb.config=mass_storage,adb" >>/system/build.prop"
reboot
Click to expand...
Click to collapse
Hi,
I need your help on that part, because my the box says "No devices/emulator found...
I'm on stock official Rom, Usb debuging was not activated, and havent unlocked the bootloader.
Any advice ?
Thanks

android tv detected as adb device by pc

Hello
my android tv box is detected as android device by my pc, and it cause me problem with adb command
I've disabled usb debugging and close developpement settings but it still connected by adb via wifi
F:\platform-tools>adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
192.168.100.7:5555 device
Click to expand...
Click to collapse
can you help me please to resolve this problem please ?
Go to dev option and click on revoke.

How To Guide [FAQ] ADB use issues for OnePlus 11

1. ADB doesn't see/detect your phone
- Make sure you're using the latest version of ADB. Download links are posted here.
- The phone is finicky in terms of USB cables. Try the one which came with the phone or a brand new good one.
2. You get a permission error trying to run adb grant com.developer.app android.permission.PERMISSION commands, e.g.
Code:
adb -d shell pm grant com.gsamlabs.bbm android.permission.BATTERY_STATS
Exception occurred while executing 'grant':
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
at android.app.ContextImpl.enforce(ContextImpl.java:2253)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:2281)
at com.android.server.pm.permission.PermissionManagerServiceImpl.grantRuntimePermissionInternal(PermissionManagerServiceImpl.java:1364)
at com.android.server.pm.permission.PermissionManagerServiceImpl.grantRuntimePermission(PermissionManagerServiceImpl.java:1346)
at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:553)
at android.permission.PermissionManager.grantRuntimePermission(PermissionManager.java:597)
at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:2591)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:302)
at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
at android.os.ShellCommand.exec(ShellCommand.java:38)
at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onShellCommand(PackageManagerService.java:6351)
at android.os.Binder.shellCommand(Binder.java:1073)
at android.os.Binder.onTransact(Binder.java:901)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4313)
at com.android.server.pm.PackageManagerService$IPackageManagerImpl.onTransact(PackageManagerService.java:6335)
at android.os.Binder.execTransactInternal(Binder.java:1331)
at android.os.Binder.execTransact(Binder.java:1268)
What you need to do is:
Go to development settings and enable "Disable Permission Monitoring". You'll have to reboot your device afterwards.
3. BetterBatteryStats complains about a lack of access to PrivateAPI
Run this:
Code:
adb -d shell settings put global hidden_api_policy 1
Unfortunately it enables Hidden APIs globally for all apps which could be considered a security risk, so after using BBS you could revert it by:
Code:
adb -d shell settings delete global hidden_api_policy
I still cannot connect with ADB after updating drivers, ADB and using the factory cable.
biggiesmalls657 said:
I still cannot connect with ADB after updating drivers, ADB and using the factory cable.
Click to expand...
Click to collapse
Try rebooting. If it still doesn't help, try to change USB mode: e.g. switch from charging to "File transfer".
birdie said:
Try rebooting. If it still doesn't help, try to change USB mode: e.g. switch from charging to "File transfer".
Click to expand...
Click to collapse
Yes I tried that multiple times and every time I do it says USB malfunction like Windows can't understand it
biggiesmalls657 said:
Yes I tried that multiple times and every time I do it says USB malfunction like Windows can't understand it
Click to expand...
Click to collapse
Share a pic of device manager when device is connected.
biggiesmalls657 said:
Yes I tried that multiple times and every time I do it says USB malfunction like Windows can't understand it
Click to expand...
Click to collapse
That usually indicates you've got a bad cable or/and broken usb port on either of devices (your PC/smartphone).
birdie said:
That usually indicates you've got a bad cable or/and broken usb port on either of devices (your PC/smartphone).
Click to expand...
Click to collapse
Well it does it on all ports on my PC, I've used multiple cables
biggiesmalls657 said:
Well it does it on all ports on my PC, I've used multiple cables
Click to expand...
Click to collapse
Try a different PC, if it's still happening your phone USB port could be faulty.
birdie said:
Try a different PC, if it's still happening your phone USB port could be faulty.
Click to expand...
Click to collapse
I couldn't even get wireless ADB to work but it used to work on my Pixel

Categories

Resources