ADB Devices Empty - But can ADB Connect To Fire TV? - Fire TV Q&A, Help & Troubleshooting

Not sure why.......but ADB Devices is empty. I can do ADB connect IP addy and it works fine..but nothing on the device list. Tried restarting the Fire TV...replugging the ethernet cable....renabling/enabling Debugging...can anyone please assist?

It could be that it's connecting but then being disconnected by an app you have installed, like FireStarter. Try manually force quitting all your apps, then toggle ADB Debugging off and on a few times in the Fire TV settings, then connect ADB from your PC and see if it sticks.

Related

[Q] "Unable to connect" using ADB -- so no sideloading

My Amazon Fire TV seems to work fine. I can access the ADB Debugging option via: System>Developer>Options>Debugging. I can select "ON," and it changes to a blue highlight.
I also know the IP Address both via the Fire TV and via my router (running Tomato), where I assigned a static IP address to the Fire TV. I've tried to acces it via terminal both on my Android phone and on my Linux machine (with ADB installed).
But when I do the sequence outlined here:
adb kill-server
adb start-server
adb connect <ipaddress>​
I get this error: "unable to connect to <ipaddress>"
Anyone have any idea why? The Fire TV is connected via wifi, but I'm not sure why that would matter.
I've seen a number of random posts around the web with the same question, but no solution. So help is definitely needed!
mbwd said:
My Amazon Fire TV seems to work fine. I can access the ADB Debugging option via: System>Developer>Options>Debugging. I can select "ON," and it changes to a blue highlight.
I also know the IP Address both via the Fire TV and via my router (running Tomato), where I assigned a static IP address to the Fire TV. I've tried to acces it via terminal both on my Android phone and on my Linux machine (with ADB installed).
But when I do the sequence outlined here:
adb kill-server
adb start-server
adb connect <ipaddress>​
I get this error: "unable to connect to <ipaddress>"
Anyone have any idea why? The Fire TV is connected via wifi, but I'm not sure why that would matter.
I've seen a number of random posts around the web with the same question, but no solution. So help is definitely needed!
Click to expand...
Click to collapse
Few suggestions. First, it could be an issue with your router, firewall, wifi, etc. Also, make sure your computer or android device is using the same router when you try to connect. I have two in my house, and almost went crazy when I could not connect to the 3rd FTV I tried to program until I realized my phone was on the other one.
These devices are easy to sideload, so IMO it is probably your router and id check that first. If you have another router, id try that too. Wired up on ethernet.
Have you tried pinging the FTV from your PC to make sure your PC can actually "see" the FTV on your network?
try adding :5555 to the end of the IP.
Thanks everyone! Byrdcfmma was right: It appears that not only must the FireTV be on the same network, but also on the same exact router. I have multiple routers on the same network, and it would only work if I am on the same exact router.
I solved this by ensuring my android device was on the WiFi network of the router that I then connected, via ethernet, to the FireTV.
byrdcfmma said:
Few suggestions. First, it could be an issue with your router, firewall, wifi, etc. Also, make sure your computer or android device is using the same router when you try to connect. I have two in my house, and almost went crazy when I could not connect to the 3rd FTV I tried to program until I realized my phone was on the other one.
These devices are easy to sideload, so IMO it is probably your router and id check that first. If you have another router, id try that too. Wired up on ethernet.
Click to expand...
Click to collapse
"adb stopped"
I am new to fire sticks, Kodi and ADB and am having trouble connecting to my stick using ADB fire. I have installed everything as per all the you tube videos and online guides tell me and can connect to my fire stick using cmd prompts (which it tells me is successful). Yet when i open up ADB Fire, i have added my stick and the correct ip address but it say "ADB Stopped" in the bottom right hand corner. In all the guides ive seen it always says connecting and i cant find a solution (5 hours in and counting!!). I am using an EE fibre router and need some help pls. I cannot find a site anywhere online that covers this and i know its something super simple i am missing! Below is the log:
adbFire 1.31
100915231703
Windows
------------
getting database record
SELECT Id FROM device WHERE description="Fire TV Stick Lounge"
SELECT daddr FROM device WHERE description="Fire TV Stick Lounge"
start-server failed!
"./adb.exe" start-server
starting server
connect
connection attempt
"./adb.exe" connect 192.168.1.112:5555
process time duration: 0 seconds
connect
connection attempt
"./adb.exe" connect 192.168.1.112:5555
process time duration: 0 seconds
MLGAC123 said:
I cannot find a site anywhere online that covers this
Click to expand...
Click to collapse
Where did you download adbFire from?
How to debug my app installed on fire tv stick using chrome://inspect ?

[Q] Trying to install XBMC on Fire Tv .. ... cannot get pc to connect to Fire TV

Hi nooby here.. hope you can help...
Going mad trying to get pc to connect to Fire TV to allow me to side load XBMC ... have downloaded various utilities which do not allow me to connect to Fire TV and even tried just using adb from command line as follows :
adb connect < ip address of fire> which just hangs and I have set adb options on through settings on Fire Tv.
even why I type adb devices in command line I get nothing coming back from list of devices attached ?
Coul it be my firewall(s) ... I am just using windows firewall on pc and trying to connect via sky sagecom router
made sure that Fire Tv is on same network and I can ping fire tv no problems from cmd on PC ?
An y help would be appreciated - thanks
sauzee21 said:
Hi nooby here.. hope you can help...
Going mad trying to get pc to connect to Fire TV to allow me to side load XBMC ... have downloaded various utilities which do not allow me to connect to Fire TV and even tried just using adb from command line as follows :
adb connect < ip address of fire> which just hangs and I have set adb options on through settings on Fire Tv.
even why I type adb devices in command line I get nothing coming back from list of devices attached ?
Coul it be my firewall(s) ... I am just using windows firewall on pc and trying to connect via sky sagecom router
made sure that Fire Tv is on same network and I can ping fire tv no problems from cmd on PC ?
An y help would be appreciated - thanks
Click to expand...
Click to collapse
Did you activate ADB on your AFTV?
Well, this may sound like a dumb question, but it's usually the small things that will give you issues.
So, do you have ADB turned on the Fire TV?
Also, is your AFTV connected wired or wireless?
Have you tried setting a static IP on your AFTV?
And this will not solve your issue, but if you have a Android tablet or phone you can install Terminal Emulator and ADB into the AFTV using it (ADB is apart of Android so you don't have to do anything but install and run Terminal Emulator then run adb commands).
adb connect your.ip.address:5555

cant connect to device via PC in CMD or ADB fire

i already installed kodi via the non PC es explorer method
im now trying to connect fire stick to PC
it shows up on device manager
in CMD adb devices lists the stick but adb connect then IP says it can not connect
In ADB fire device shows up as device, but when i try LLama options it says device not connect.
i have kodi set up with all the streams but need llama to get a shortcut on the home page and i cant connect
thanks for any help
Anyone any ideas ,says I have latest Google.USB driver installed
Can a mod lock this please ,all sorted

Amazon Fire TV Stick: Turned off Internet and Diabled Bluetooth

My Fire TV Stick has disconnected form the Internet and Bluetooth has been disabled. This means my Fire TV Remote does not work because it needs Bluetooth and i can not connect using the Fire TV Remote App or any other remote app because it needs the internet.
How did this happen?
I sideloaded an app called ES Task Manger it needed an update so i updated it the newly updated version needed a mouse so i used an app that allows me to use a mouse on the app. The newly updated version of this app has changed a lot so i was looking to see what has changed because the app had changed a lot i did know what some things did. I saw a little button at the bottom of the screen i pressed it thinking it would tell me what it is but instead it was a button for optimization and it turned off the internet connection and turned of Bluetooth.
adb is enabled on the Fire TV Stick but I have no Internet Connection.
How am i going to communicate to the device so i can connect it to the internet or enable Bluetooth.
b25439612 said:
My Fire TV Stick has disconnected form the Internet and Bluetooth has been disabled. This means my Fire TV Remote does not work because it needs Bluetooth and i can not connect using the Fire TV Remote App or any other remote app because it needs the internet.
How did this happen?
I sideloaded an app called ES Task Manger it needed an update so i updated it the newly updated version needed a mouse so i used an app that allows me to use a mouse on the app. The newly updated version of this app has changed a lot so i was looking to see what has changed because the app had changed a lot i did know what some things did. I saw a little button at the bottom of the screen i pressed it thinking it would tell me what it is but instead it was a button for optimization and it turned off the internet connection and turned of Bluetooth.
adb is enabled on the Fire TV Stick but I have no Internet Connection.
How am i going to communicate to the device so i can connect it to the internet or enable Bluetooth.
Click to expand...
Click to collapse
Try this.
You should e able to navigate the menus and re-enable bluetooth to get the remote working again
Or the bt should re-enable when you restart.
Dude360 said:
You should e able to navigate the menus and re-enable bluetooth to get the remote working again
Click to expand...
Click to collapse
How can i use adb without an internet connection?
ldeveraux said:
Or the bt should re-enable when you restart.
Click to expand...
Click to collapse
I have restarted the Fire TV Stick by plugging it out of the socket and plugging it back in.
When it start it says Loading Home... and in the background it does not warn me that there is no internet connection. Firestarter then starts and then the screen saver of images starts.
Are you rooted?
If you are try connecting to adb through USB and
Code:
su
svc wifi enable
or
Code:
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
update secure set value=1 where name='wifi_on';
(You might have to ls and cd around to make sure that that path is correct)
If not rooted try:
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb shell input keyevent xx & adb shell input keyevent xx...
And change the xx to the keyevents for the button presses to access the wifi enable button, my stick is packed away at the minute so can't jot them down.
Once you've got wifi going, adb in and do the button presses to turn bluetooth back on.
Dude360 said:
Are you rooted?
If you are try connecting to adb through USB and
Code:
su
svc wifi enable
or
Code:
adb shell
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
update secure set value=1 where name='wifi_on';
(You might have to ls and cd around to make sure that that path is correct)
If not rooted try:
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb shell input keyevent xx & adb shell input keyevent xx...
And change the xx to the keyevents for the button presses to access the wifi enable button, my stick is packed away at the minute so can't jot them down.
Once you've got wifi going, adb in and do the button presses to turn bluetooth back on.
Click to expand...
Click to collapse
My device is not rooted.
I pasted the command : adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
it says error: device not found
what do you mean by If you are try connecting to adb through USB
b25439612 said:
My device is not rooted.
I pasted the command : adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
it says error: device not found
what do you mean by If you are try connecting to adb through USB
Click to expand...
Click to collapse
https://developer.amazon.com/public/solutions/devices/fire-tv/docs/connecting-adb-over-usb
Dude360 said:
https://developer.amazon.com/public/solutions/devices/fire-tv/docs/connecting-adb-over-usb
Click to expand...
Click to collapse
I ran the following commands:
adb kill-server
adb start-server
adb devices
For the devices command it says "List of devices attached" and nothing else.
for set number 1
1. Connect your Fire TV device to the USB port on your development computer.
i cannot connect my device to the USB port of my laptop.
This is what my Fire TV Stick looks like.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
b25439612 said:
I ran the following commands:
adb kill-server
adb start-server
adb devices
For the devices command it says "List of devices attached" and nothing else.
for set number 1
1. Connect your Fire TV device to the USB port on your development computer.
i cannot connect my device to the USB port of my laptop.
This is what my Fire TV Stick looks like.
Click to expand...
Click to collapse
you need one of these
http://www.aftvnews.com/how-to-conn...-to-a-rooted-fire-tv-stick-with-an-otg-cable/
mezdev said:
you need one of these
http://www.aftvnews.com/how-to-conn...-to-a-rooted-fire-tv-stick-with-an-otg-cable/
Click to expand...
Click to collapse
This would definitely help...
You also can do it using the USB cable that came with the fire stick. This is the USB cable that you also use to power it.
Unplug Stick from TV.
Plug in USB Cable to Stick
Plug in other end of USB cable into Laptop
Install Fire TV Drivers and ensure they are installed correctly (google it)
Open CMD
Run adb devices, if drivers are installed correctly continue from a couple of posts up.
listen to Dude360 he defininitly knows more than me
I plugged the Fire TV Stick into the laptop but it said AFTM driver not found.
Thank you so much i have manage to fix the internet and Bluetooth connection. My device is now back to normal after a fer hours messing around. I thought this problem would of not been fixable i was wrong. I really appreciate the help. Now i have learnt how to use my laptop with my Fire TV Stick with a USB port it will be much easier to install app. Am i able to root my device by using any software? if not what can i do to my Fire TV Stick whilst using a USB port?
b25439612 said:
Thank you so much i have manage to fix the internet and Bluetooth connection. My device is now back to normal after a fer hours messing around. I thought this problem would of not been fixable i was wrong. I really appreciate the help. Now i have learnt how to use my laptop with my Fire TV Stick with a USB port it will be much easier to install app. Am i able to root my device by using any software? if not what can i do to my Fire TV Stick whilst using a USB port?
Click to expand...
Click to collapse
What precisely fixed your issue? It was a bit obscure, so it would help in the future to know!
ldeveraux said:
What precisely fixed your issue? It was a bit obscure, so it would help in the future to know!
Click to expand...
Click to collapse
I did what Dude360 said
1. Unplug Stick from TV.
2. Plug in USB Cable to Stick
3. Plug in other end of USB cable into Laptop
4. Install Fire TV Drivers and ensure they are installed correctly (google it)
5. Open CMD
6. Run adb devices, if drivers are installed correctly continue from a couple of posts up.
but at number 4 when i plugged the device into the laptop windows said it could not find any driver to install so i found a program that installs the drivers as well as a manager for the device. The program name is Mobomarket.
When the program had finished installing it showed me all the apps i had install so i knew that the device is now connected to the laptop correctly.
I then ran the commands that Dude360 provided me with
Code:
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb shell input keyevent xx & adb shell input keyevent xx...
but when I entered the command into the adb through cmd it gave me an error, so I used the other command instead
Code:
svc wifi enable
my device is not rooted but I gave it a try and when I entered it in it then said something like Svc wifi enable on/off so I typed in svc wifi enable on. WIFI was now enabled, but to use the remote I need Bluetooth to be on. So I search for some commands to enable Bluetooth, but they did not work, but then I remembered that I had Wukong TV Remote install onto the Fire TV Stick and on my phone so I then used the mouse to go back into the ES Task Manager and enabled Bluetooth again but if i had the setting.apk app install i probably could of enabled Bluetooth from there as well. If you do not have the Wukong TV Remote install you could just install it with MoboMarket or you can use try to use adb shell input keyevent xx to enable Bluetooth or WIFI .
b25439612 said:
I did what Dude360 said
1. Unplug Stick from TV.
2. Plug in USB Cable to Stick
3. Plug in other end of USB cable into Laptop
4. Install Fire TV Drivers and ensure they are installed correctly (google it)
5. Open CMD
6. Run adb devices, if drivers are installed correctly continue from a couple of posts up.
but at number 4 when i plugged the device into the laptop windows said it could not find any driver to install so i found a program that installs the drivers as well as a manager for the device. The program name is Mobomarket.
When the program had finished installing it showed me all the apps i had install so i knew that the device is now connected to the laptop correctly.
I then ran the commands that Dude360 provided me with
Code:
adb shell am start -a android.intent.action.MAIN -n com.android.settings/.wifi.WifiSettings
adb shell input keyevent xx & adb shell input keyevent xx...
but when I entered the command into the adb through cmd it gave me an error, so I used the other command instead
Code:
svc wifi enable
my device is not rooted but I gave it a try and when I entered it in it then said something like Svc wifi enable on/off so I typed in svc wifi enable on. WIFI was now enabled, but to use the remote I need Bluetooth to be on. So I search for some commands to enable Bluetooth, but they did not work, but then I remembered that I had Wukong TV Remote install onto the Fire TV Stick and on my phone so I then used the mouse to go back into the ES Task Manager and enabled Bluetooth again but if i had the setting.apk app install i probably could of enabled Bluetooth from there as well. If you do not have the Wukong TV Remote install you could just install it with MoboMarket or you can use try to use adb shell input keyevent xx to enable Bluetooth or WIFI .
Click to expand...
Click to collapse
This is really good reference, thanks for writing!
b25439612 said:
Thank you so much i have manage to fix the internet and Bluetooth connection. My device is now back to normal after a fer hours messing around. I thought this problem would of not been fixable i was wrong. I really appreciate the help. Now i have learnt how to use my laptop with my Fire TV Stick with a USB port it will be much easier to install app. Am i able to root my device by using any software? if not what can i do to my Fire TV Stick whilst using a USB port?
Click to expand...
Click to collapse
Glad you got it sorted
ADB etc is a pain when first starting out but definitely something everyone needs to learn when playing with any Android based device, it can be a life saver.
As for rooting etc, check the dev forum, theres all the tuts in there. Basically you just install Kingroot and click root.
In terms of what else you can do with adb USB, well, its mainly for development so....
Exact same issue, help please!
Hi
I have the same issue as the op had after installing the es task app. Firestick goes on and then home screen goes blank and not able to remotely control the stick through WiFi or bluetooth as they both must have been turned off .
I have adblink and the Firestick connected to it through usb. What do I do code wise? Bit of a novice though with this and any help would be much appreciated.
Dear Dude360, I have the same problem of b25439612 and I did connect the Fire TV to my laptop using the USB cable, installed Mobomarket and all needed drivers, and CMD is up and running and it listing my device correctly but non of the commands for rooted and not-rooted devices are running correctly. Can I have your advice and instructions please>

How to properly close adb wifi connections.

Hi,
I noticed that the adb wifi daemon gets blocked by the first app that connects to it and another app can not connect to it until I toggle ADB Wifi manualy under fire tv 4k's device settings.
What is programaticaly the correct way of disconnecting from the adb daemon and free it up for other apps to connect?
adb disconnect doesn't seem to work.
Spamm00r said:
Hi,
I noticed that the adb wifi daemon gets blocked by the first app that connects to it and another app can not connect to it until I toggle ADB Wifi manualy under fire tv 4k's device settings.
What is programaticaly the correct way of disconnecting from the adb daemon and free it up for other apps to connect?
adb disconnect doesn't seem to work.
Click to expand...
Click to collapse
"adb disconnect" will not work for you because you are not using adb you are using its shell.
Type "exit" and your shell connection will die freeing it for other apps.
It doesn't work on Fire TV 4K. I have tried several tools, local ADB shell, remote adb shell, Tasker and "exit" command does not properly disconnect the adb session. I have to manually toggle adb access to free the adb shell for another application. It does not matter what application first starts the adb connection exit does not free the session. Only toggling the adb manually in Fire TV Device settings frees it up. Otherwise the adb session will remain active only for the tool that first established a adb session.
Its a huge problem, if the adb shell can only be used by one application and gets blocked by it all the time.
Why is exit not working on fire TV 4k?
So you are saying its a problem with Firestick 4k aka mantis. It is not, i know shell connection does not free itself and it has to be implemented in the app.
Try using any one of my app, Launcher Manager, Debloat Toolbox, Update Blocker (make sure you use the latest) they all leave the shell after getting the work done, and you can still use other apps. I think you might also have used "Mouse Toggle", which also leaves the shell after starting its services. So its not the devices problem, its how the shell is handled by the app.

Categories

Resources