I'm trying to SFTP into Nvidia Shield TV but keep getting denied.
I have rooted the device and installed SSH Server. I do get prompted to accept the RSA Key, but then denied access.
The SSH Server app that I'm using was added to the Super User app and granted root access.
What am I doing wrong. I'm so close.....
FYI, I can use FTP but denied when using SFTP.
1) Are you rooted? Did you give SSH/SFTP root privileges?
2) Did you remember to change the default Password to something other than whatever the default was?
3) Did you remember to run the SSH/SFTP Server before trying to run it? It's NOT automatic. You have to run it Server side first!
4) Assuming you using something like Putty or WinSCP you need to login using the local IP Address of the Shield TV ex. 192.178.xxx.xxx
If you can follow most of that it shouldn't be a bother getting it to run.
Ichijoe said:
1) Are you rooted? Did you give SSH/SFTP root privileges?
2) Did you remember to change the default Password to something other than whatever the default was?
3) Did you remember to run the SSH/SFTP Server before trying to run it? It's NOT automatic. You have to run it Server side first!
4) Assuming you using something like Putty or WinSCP you need to login using the local IP Address of the Shield TV ex. 192.178.xxx.xxx
If you can follow most of that it shouldn't be a bother getting it to run.
Click to expand...
Click to collapse
1. Yes I'm rooted.
2. Yes I have a password
3. Yes, I ran SSH Server first
4. Yes I am trying to login with IP address
Give me something other then the basics here!
What about: Settings > Storage & reset > Over local network?
finsfree said:
I'm trying to SFTP into Nvidia Shield TV but keep getting denied.
I have rooted the device and installed SSH Server. I do get prompted to accept the RSA Key, but then denied access.
The SSH Server app that I'm using was added to the Super User app and granted root access.
What am I doing wrong. I'm so close.....
FYI, I can use FTP but denied when using SFTP.
Click to expand...
Click to collapse
What SSH server are you using?
Having Sideload 'Rooted SSH/SFTP Daemon. Which is listed as non Android TV compatible. I was greeted instantly with a "wtf not rooted" message. Which may be kinda the case since I never really enabled such RW permissions for SU though TWRP. Since having done so in the past kinda made OTA Updates malfunction. It's kinda the same case with Adaway as well.
But, on the Shield TV the only real tangible use of root that I have is, in being able to install Plex Channels. Which with a symlinked Folder. Works well enough.
I got it to work!
finsfree said:
I got it to work!
Click to expand...
Click to collapse
So what was the issue?
Please use the QUOTE feature when replying to me to get my attention. Thanks!
My guess would be he enabled root via TWRP. Hopefully it won't comeback to bite him in the arse. While this does make things incredibly easier, it also completely forks up any hopes of successfully installing any OTA Updates. Which may not be as much of a problem, as it was when I first got into the Shield TV last January. With the transition from Marshmallow, to Nougat.
Related
Install openvpn and then place your edited client vpn config files and certificate files on the storage of FireTV similar to the raspberry pi method in the thread below:
h**p xbmchub.com/forums/threads/24769-How-to-set-up-your-VPN-on-raspberry-pi-using-Brain-Hornsby-Openvpn-for-XBMC
Thanks for anyone that may know more than me that could maybe get this to work...
Hmm would be nice if that worked. Did u get a chance to try it?
Sent from my Nexus 5 using XDA Free mobile app
tdfsu said:
h**p xbmchub.com/forums/threads/24769-How-to-set-up-your-VPN-on-raspberry-pi-using-Brain-Hornsby-Openvpn-for-XBMC
Click to expand...
Click to collapse
I'm working on something like this just now. Here's the thing: in my logs for the simplest openvpn app to install (not straight openvpn, it turns out, as there's a windowing issue there that makes it difficult / impossible to navigate through setup, even with a keyboard and Droidmote) once I have a config, I get errors in logcat informing me
"Your image does not support the VPNService API, sorry "
There is a manually installable openvpn binary that I've looked at a bit but not yet configured. It is going to require adding a binary to /system/xbin directly, as the installer (at least on my phone) does not understand where /system/xbin really lives and issues a remount command to a nonexistent partition.
If you're running dd-wrt or similar configurable firewall, another option is to get an account with a provider who is set up to let you do a firewall to firewall connection, and then route either all of your traffic or the traffic from your firetv through that firewall-to-firewall connection.
I have a Private Internet Access vpn account.
Installed openvpn on FireTV--
http play.google.com/store/apps/details?id=de.schaeuffelhut.android.openvpn.installer&hl=en
Installed busybox on FireTV--
http play.google.com/store/apps/details?id=stericson.busybox&hl=en
I created a pass.txt file with my PIA username on the first line and password on the second line, nothing else, then saved the file as a text file (pass.txt).
Download the following to PC--
http privateinternetaccess.com/openvpn/openvpn.zip
Extracted the zip file.
Edited the location specific .ovpn file (see below), changing the 'remote', 'ca', 'crl' and 'auth' lines to the following--
client
dev tun
proto udp
remote us-florida.privateinternetaccess.com 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca /storage/sdcard0/openvpn/ca.crt
tls-client
remote-cert-tls server
auth-user-pass /storage/sdcard0/openvpn/pass.txt
comp-lzo
verb 1
reneg-sec 0
crl-verify /storage/sdcard0/openvpn/crl.pem
Then, save the USFlorida.ovpn file.
Upload ca.crt, crl.pem, pass.txt, and .ovpn file to FireTV to /storage/sdcard0/openvpn/
Open terminal on FireTV. I use jackpal's terminal app below, but you can also use adb.
http play.google.com/store/apps/details?id=jackpal.androidterm
In terminal, type the following--
su
openvpn cd /storage/sdcard0/openvpn/USFlorida.ovpn
But I get several errors. Anyway, that's where I'm at. Maybe someone else more knowledgeable than me can figure it out. Sorry about the links, my low post-count will not allow me to post url's.
Also, you can sideload the following app to verify your external ip address, and it works great with the FireTV remote--
http play.google.com/store/apps/details?id=igit.WhatIsMyIp
The approach you've taken is where I'd be headed next on the client side.
One thing you might want to try is to do the same setup a less locked-down device and confirm that the config files work as expected there.
There's also a good discussion of the hardware approach (setting up a tunnel from your edge to a VPN provider) in the other VPN thread, http://forum.xda-developers.com/showthread.php?t=2797005
also, private internet access will sell a preconfigured router for this purpose!
What's the fastest way to install KODI & Firestarter? I'm using abdfire for everything, however, the whole process takes too long.
Any ideas? Also, is there a way to bypass the Amazon login portion.
If you take the time to figure out how to connect to the device via ADB, and put the files you want to install (eg kodi.apk, starter.apk) in the same directory as adb.exe, installing both can be done in about a minute. First on the FireTV > Settings > System > Developer Options, enable ADB Debugging and Apps from Unknown Sources.
Next start a command prompt in the adb.exe directory (Shift+right-click in the directory and select "Open command window here"). Execute commands:
Code:
adb connect 192.168.1.2
adb install -r kodi.apk
adb install -r starter.apk
Skip the -r if this is a fresh install rather than a re-install or update. To get your device's local IP address, go to Settings > System > About > Network and look at the first line
I don't know whether you can bypass logging into Amazon. What happens if you boot the device without internet access?
Patrick_445 said:
If you take the time to figure out how to connect to the device via ADB, and put the files you want to install (eg kodi.apk, starter.apk) in the same directory as adb.exe, installing both can be done in about a minute. First on the FireTV > Settings > System > Developer Options, enable ADB Debugging and Apps from Unknown Sources.
Next start a command prompt in the adb.exe directory (Shift+right-click in the directory and select "Open command window here"). Execute commands:
Code:
adb connect 192.168.1.2
adb install -r kodi.apk
adb install -r starter.apk
Skip the -r if this is a fresh install rather than a re-install or update. To get your device's local IP address, go to Settings > System > About > Network and look at the first line
I don't know whether you can bypass logging into Amazon. What happens if you boot the device without internet access?
Click to expand...
Click to collapse
Awesome, thanks! If I were to drop my backup folder into the same directory as adb.exe and run
adb install backup.folder
Do you think that would work? I'm at work & cant test it myself just yet.
Also, about the logging into Amazon part, I don't think you can bypass it because you need to enable ADB Debugging and Apps from Unknown Sources.
UNLESS, you can enable it somehow without logging in or correcting to the interest...
The backup folder would have to be pushed to the correct directory
Android\data\org.xbmc.kodi\files\
Sent from my iPhone using Tapatalk
Agk fire is another good tool that you can use...
Sent from my LGLS991 using Tapatalk
The adbfire GUI does this perfectly. I've got it down to a 15 min process from stock to modified inc add-ons etc. I'd recommend hardwiring the computer you run adbfire on, and have the firestick as close to the router as possible (or hardwire if it's a FTV.) If the add-ons arnt a big deal, you can have Kodi and Firestarter done within 10mins using the GUI. Anyway, restore process that works best for me is:
-Connect Firestick to WiFi, log in, enable adb debugging and unknown apps.
-Get IP from Settings>About>Network
(The rest can be done from a PC now.)
-Load adbfire GUI, connect using IP found above.
-Install APK (select the Kodi apk.)
-Install Firestarter using the button provided.
-Click 'Restore' and select backup taken using 'Backup' from a previously modded Firestick (with all the add-ons/build you prefer.)
-This can take between 15min and 1 hour depending on your connections to router (what I mentioned above about hard wire etc) and also the size of the backup. My build is over 1GB, hardwired PC with Firestick 3 feet from the router, it takes me 13min to restore.
Personally this took my install time down from ~2 hours to 15minutes, mainly because the build I prefer is so large and takes a lot of tweaking to get going (however once I had it sorted, taking a backup means newly-restored devices are 100% ready when the backup process is done.)
I've spent more time on this than I'd like to admit but I got sick of spending 2hours and headaches each and every time!
Lol. said:
Personally this took my install time down from ~2 hours to 15minutes, mainly because the build I prefer is so large and takes a lot of tweaking to get going (however once I had it sorted, taking a backup means newly-restored devices are 100% ready when the backup process is done.)
Click to expand...
Click to collapse
Why is your build so large? do you install other apps besides Kodi? Which addons do you use?
For those with a slow connection who are trying to build a FireTV (not the Stick), it might be faster to place the kodi backup on a microSD plugged into the device and move the directory from there to the Kodi userdata directory instead of trying to move it from a computer over Wifi.
The way i did it was...
1) Installed ES File Explorer
2) Installed Firestarter using ES File Explorer
3) Installed latest stable version of Kodi from FireStarter
4) Used Fusion/Wizard to install popular Add-ons (TVMC)
extremely easy
Patrick_445 said:
Why is your build so large? do you install other apps besides Kodi? Which addons do you use?
For those with a slow connection who are trying to build a FireTV (not the Stick), it might be faster to place the kodi backup on a microSD plugged into the device and move the directory from there to the Kodi userdata directory instead of trying to move it from a computer over Wifi.
Click to expand...
Click to collapse
Andy's build v7 - it's impressive - but a pain in the ass to get working (i4atv updated last week causing major headaches.) The latter is what led me down the backup/restore route.
Lol. said:
The adbfire GUI does this perfectly. I've got it down to a 15 min process from stock to modified inc add-ons etc. I'd recommend hardwiring the computer you run adbfire on, and have the firestick as close to the router as possible (or hardwire if it's a FTV.) If the add-ons arnt a big deal, you can have Kodi and Firestarter done within 10mins using the GUI. Anyway, restore process that works best for me is:
-Connect Firestick to WiFi, log in, enable adb debugging and unknown apps.
-Get IP from Settings>About>Network
(The rest can be done from a PC now.)
-Load adbfire GUI, connect using IP found above.
-Install APK (select the Kodi apk.)
-Install Firestarter using the button provided.
-Click 'Restore' and select backup taken using 'Backup' from a previously modded Firestick (with all the add-ons/build you prefer.)
-This can take between 15min and 1 hour depending on your connections to router (what I mentioned above about hard wire etc) and also the size of the backup. My build is over 1GB, hardwired PC with Firestick 3 feet from the router, it takes me 13min to restore.
Personally this took my install time down from ~2 hours to 15minutes, mainly because the build I prefer is so large and takes a lot of tweaking to get going (however once I had it sorted, taking a backup means newly-restored devices are 100% ready when the backup process is done.)
I've spent more time on this than I'd like to admit but I got sick of spending 2hours and headaches each and every time!
Click to expand...
Click to collapse
If I start jailbreaking these and selling them on Craigslist, should I be worried about Amazon suspending my email / account for using the same IP or email too many times?
vurze said:
If I start jailbreaking these and selling them on Craigslist, should I be worried about Amazon suspending my email / account for using the same IP or email too many times?
Click to expand...
Click to collapse
Well for a start, jailbreaking is not the right term here, lets leave that to iOS
Secondly, I'm not in the best position to advise, I don't sell these, I simply have a few and didn't want to spend hours sorting them all out once an update or a different build is released. I would suggest you do NOT use your personal Amazon account if you plan to do this though, it's not worth the risk. Perhaps look into creating a different one...
vurze said:
If I start jailbreaking these and selling them on Craigslist, should I be worried about Amazon suspending my email / account for using the same IP or email too many times?
Click to expand...
Click to collapse
gee.. how did I know the OP question was for this reason....
As stated in a previous post, I avoid adb all together and use ES Explorer to download Kodi apk and FireStarter Apk and then use Fusion Config Wizard for most popular add-ons.. I can get this all done under 10 minutes a stick.. On Black Friday and Cyber Monday I purchased 100 Firesticks for $2500 ($25/piece sale) (purchased in Delaware to avoid sale tax) and have been selling them side loaded with Kodi for $80-$100. Let's just say it's going to be a good Christmas. The market is saturated with these (Craigslist, eBay) I usually sell by word of mouth and I even have a few store owners who bought 5 at a discount.
Over the last week I've been trying to get OpenVPN Installer and then OpenVPN Settings to work on my rooted Fire TV 2 (on 5.0.5_r4). I've described the steps here : http://forum.xda-developers.com/fire-tv/help/vpn-rooted-fire-tv-t3370488
Even though the VPN turns on, it appears the Fire TV 2 internet traffic is still routed through the original pathway and the IP address remains unchanged, which I've been unable to fix. Has anyone managed to get OpenVPN Settings to work on a rooted Fire TV?
However, I recently noticed OpenVPN for Android (https://plus.google.com/communities/114121831091105660092) and gave this a try on my Fire TV 2 and it worked straight out of the box (giving an updated IP address when checked). I presumed that it only worked because my Fire TV 2 was rooted with the necessary VPN binaries installed (by OpenVPN Installer). However, the author of OpenVPN for Android communicated to me that root is not needed and, as a test, I've just tried it on my unrooted Fire TV 1 (on 5.0.5) and it also works!
Will be interesting to see if others have had similar success and can confirm findings.
I gave this a go ( OpenVPN for Android ) on my rooted firetv 1,
and sure enough it works
Does anyone know if this gives accesss to different content with a German Prime membership, e.g. when routed to an US VPN-Endpoint? Or does it just stop working?
What do you need to do to install this on an unrooted Fire Stick? My only guys is to install it on my phone, grab the apk and adb it to my stick. Any better suggestion?
Sent from my VS985 4G using XDA Labs
Bramton1 said:
What do you need to do to install this on an unrooted Fire Stick? My only guys is to install it on my phone, grab the apk and adb it to my stick. Any better suggestion?
Sent from my VS985 4G using XDA Labs
Click to expand...
Click to collapse
Thats what I did but you can install it straight from phone
Petesky said:
Thats what I did but you can install it straight from phone
Click to expand...
Click to collapse
Yeah, I installed AGK Fire onto my phone last night. It seems that's probably the best way to get that app on the stick.
guys can someone help me?
My device: fire tv 2 (rooted with firmware 5.04)
i have install the files apks (openvpninstaller+openvpnsettings+busybox)
i can see in open vpn setings under prequisites it says successful
i can see 4 green lights with successful
i have download my openvpn config files from hidemyass.com
and copy the files to my sdcard.
when i open vpnsetting i have turn first open vpn tick it on
i can see the hidemyass open vpn files under vpn configruatiuons
but can not choose it (tick on dont work)
why i can not choose my config file from open vpn settings menu?
dean4k said:
guys can someone help me?
My device: fire tv 2 (rooted with firmware 5.04)
i have install the files apks (openvpninstaller+openvpnsettings+busybox)
i can see in open vpn setings under prequisites it says successful
i can see 4 green lights with successful
i have download my openvpn config files from hidemyass.com
and copy the files to my sdcard.
when i open vpnsetting i have turn first open vpn tick it on
i can see the hidemyass open vpn files under vpn configruatiuons
but can not choose it (tick on dont work)
why i can not choose my config file from open vpn settings menu?
Click to expand...
Click to collapse
Just use the app in the op
dean4k, like Petesky says, just use 'OpenVPN for Android' found in the link in the first post - it works great and the latest version is much easier to use with just the Fire TV remote (no need of a mouse pointer) once setup!
Bramtom1 you may have already seen this useful page (on AFTVnews) but I found it a great help for learning how to connect/load stuff onto Fire TV:
http://www.aftvnews.com/sideload/
Add Proxy only for Prime
Guys I live in Argentina and can change the DNS setting on my stick to receive USA prime but doing so breaks my Netflix, also have Kodi installed and that works fine with US Dns or local. Is there any way to add some code to only Proxy prime through the US DNS server.
I tried installing DNS changer app but it does not change the Firestick settings although it says changed, my stick is also rooted.
Thanks not sure what thread to post on.
null
What VPN Service works?
For those of you that got this working, what VPN service are you using? I am trying with Private Internet Access, and the app shows connected, but when I check, I see my original IP. Thanks.
Hi Mav21,
I'm using IronSocket VPN, which works fine.
Mav21 said:
For those of you that got this working, what VPN service are you using? I am trying with Private Internet Access, and the app shows connected, but when I check, I see my original IP. Thanks.
Click to expand...
Click to collapse
Not using it just now but I was using PIA as well and it does show original ip but if you use another app to check it will show that your ip has changed
Thanks, when I check on the PIA website, it returns my original IP address and says "not protected". Any other settings that I need to look at?
Petesky said:
Not using it just now but I was using PIA as well and it does show original ip but if you use another app to check it will show that your ip has changed
Click to expand...
Click to collapse
Mav21 said:
Thanks, when I check on the PIA website, it returns my original IP address and says "not protected". Any other settings that I need to look at?
Click to expand...
Click to collapse
Ever figure this out with PIA? I only see my original IP despite installing "OpenVPN for Android" and it connecting. I also have the OpenVPN binary installed manually (I'm rooted).
People need to be very wary about this. If the PIA site sees your source IP address, you are NOT protected.
I'm seeing the same issue as others, both the PIA site and any other site the returns IP addresses shows the source IP in both Firefox and Chrome.
OpenVPN appears to connect, but traffic is not being routed through it.
May it be possibile that this only works with the fire tv and not with the fire tv stick?
Has anyone of you managed to use OpenVPN on a non-rooted fire tv stick?
I tried and my stick is connected to my VPN, but the traffic is unfortunately not routed through the tunnel
I can't get it to work. Using Iron Socket and i get the error "tls-auth enabled, but no valid --auth alogorith specified". Not sure why. Fire TV 1 running 5.2.1
No luck for me either.
I have a Firestick. I sideloaded the latest OpenVPN for Android.
Imported the profiles from EZ Explorer.
After entering password/user, it attempts connecting and I See the following errors:
Code:
Failed to open the tun interface
Error: Cannot find de.blinkt.openvpn.core.OpenVPNService
ERROR: Cannot open TUN
Exiting due to fatal error
Process exited with exit value 1
MGMT: Got unrecognized command>FATAL:ERROR: Cannot Open Tun
Not entirely sure what this means. Anyone?
I updated from 51.1.6.3_516012020 to 5.2.1.1_r1 and now can no longer connect via ssh. I can adb fine. I sided loaded ssh server by ice cold from the playstore, but this only works if I set the port to something other than 22 and I have to set the home path to /sdcard/ this makes it impossible to get to the root directory. I had been using adbfire to install the ssh server but that is no longer available. What is the correct app or configuration to get ssh working on 5.2.1.1_r1?
Sudo_Kapa said:
I updated from 51.1.6.3_516012020 to 5.2.1.1_r1 and now can no longer connect via ssh. I can adb fine. I sided loaded ssh server by ice cold from the playstore, but this only works if I set the port to something other than 22 and I have to set the home path to /sdcard/ this makes it impossible to get to the root directory. I had been using adbfire to install the ssh server but that is no longer available. What is the correct app or configuration to get ssh working on 5.2.1.1_r1?
Click to expand...
Click to collapse
http://arachnoid.com/android/SSHelper/index.html
I suggest sshelper. adbfire had switched to this before Amazon shut it down.
Hi everybody!
Hi got a brand new fire tv stick with Alexa and when powering it on i'm able to select the language and to connect it with wifi but then i get an error when it check new updates. I'm able to enter the setup menu through the fire tv app on my smartphone but i can't enable adb to skip ota (i read some thread here). I see that there are no apps and i can't login with amazon account. I live in a country where it isn't still released and so amazon support said that they can't help me... I just want to connect the fire tv to internet to use some basical app like spotify or youtube... can someone help me please?
Calciovita said:
Hi everybody!
Hi got a brand new fire tv stick with Alexa and when powering it on i'm able to select the language and to connect it with wifi but then i get an error when it check new updates. I'm able to enter the setup menu through the fire tv app on my smartphone but i can't enable adb to skip ota (i read some thread here). I see that there are no apps and i can't login with amazon account. I live in a country where it isn't still released and so amazon support said that they can't help me... I just want to connect the fire tv to internet to use some basical app like spotify or youtube... can someone help me please?
Click to expand...
Click to collapse
I don't know of anyway around registration of the stick. In settings you can not enable ADB? You will have to root it to disable the OTA (firestick2 is rootable). The other option is set a VPN to let you register it. Just some ideas...
Michajin said:
I don't know of anyway around registration of the stick. In settings you can not enable ADB? You will have to root it to disable the OTA (firestick2 is rootable). The other option is set a VPN to let you register it. Just some ideas...
Click to expand...
Click to collapse
Hi thank you so much for the reply! I tried to connect it with a wifi with VPN (hotspot with rooted smartphone with vpn, i checked the ip and the position) but it still gave me error. In settings i can enable developer options but i can't find them... Can you help me to root it? What should i look for?
Calciovita said:
Hi thank you so much for the reply! I tried to connect it with a wifi with VPN (hotspot with rooted smartphone with vpn, i checked the ip and the position) but it still gave me error. In settings i can enable developer options but i can't find them... Can you help me to root it? What should i look for?
Click to expand...
Click to collapse
I don't know how to get past registration. Here is the rooting thread.
https://forum.xda-developers.com/fire-tv/development/unlock-fire-tv-stick-2nd-gen-tank-t3907002
Also, did the VPN actually do the hotspot VPN? Did you check with a 3rd device? I have done VPN hotspot and my connected devices are not in the VPN.
hi! I tried thousands times to adb my fire stick on wifi. But it never pop up the adb authorize window. Finally, I pull out the usb line from charger and plug into PC. Then adb link again, the window pop up on TV and you can select "agree" to allow the adb debug.
Michajin said:
Also, did the VPN actually do the hotspot VPN? Did you check with a 3rd device? I have done VPN hotspot and my connected devices are not in the VPN.
Click to expand...
Click to collapse
thank you for the link, i'll take a look. However yes, the connected devices to hotspot were connected in vpn.
jjccblws said:
hi! I tried thousands times to adb my fire stick on wifi. But it never pop up the adb authorize window. Finally, I pull out the usb line from charger and plug into PC. Then adb link again, the window pop up on TV and you can select "agree" to allow the adb debug.
Click to expand...
Click to collapse
Hi! Can you explain me what do you mean in ''adb link again''? I connected fire tv with my pc but then i hadn't pop-ups
Calciovita said:
thank you for the link, i'll take a look. However yes, the connected devices to hotspot were connected in vpn.
Click to expand...
Click to collapse
With rooting and unlocking you can get into ADB VIA TWRP. You might run into an issue on connecting to ADB and still having keyboard access with a powered hub to power the stick and have ADB sideloading, it can be done though. but you can also work in advanced in twrp-terminal. You also have file manager. I am still not sure how to get past the setup though. I find it weird that it wont let you register it though...
Michajin said:
With rooting and unlocking you can get into ADB VIA TWRP. You might run into an issue on connecting to ADB and still having keyboard access with a powered hub to power the stick and have ADB sideloading, it can be done though. but you can also work in advanced in twrp-terminal. You also have file manager. I am still not sure how to get past the setup though. I find it weird that it wont let you register it though...
Click to expand...
Click to collapse
Thank you! I'll try this!