Related
Hi,
I've rooted my phone and using jv1.5 adp firmware, during the rooting telnet was working fine without problems, but yesterday i flashed the boot images using information from these forums, and also installed a theme.
but later my phone showed telnet had just been installed, and now won't connect to phone, but standard terminal works, but had to tell it to allow me to use SU.
has anyone else had issues using telnet in the last 2 days on the phone...
thanks
Why are you using telnet? and how are you starting telnet?
I think you are a bit confused on what telnet is and why you needed it originally.
under the original instructions it tells you to use telnet to access the device
- Copy recovery_testkeys.img onto the Micro SD Card.
- Turn the phone on (if not already)
- Type enter telnetd enter to start telnet
- Telnet into the phone with telnet (telnet ipaddress) OR use the telnet application from the market and connect to localhost
- Run the following as root (in telnet)
Click to expand...
Click to collapse
but noticed today that telnet even though previously installed, states it just been installed after applying a theme and different boot up image
also not confused as to what telnet is, as you it on a daily basis at work under windows
If your phone is already rooted (I assume it is since you are applying themes) you do not need telnet anymore.
As long as you are using a custom firmware it should have root enabled in the shell so using the terminal will work just fine, no need for telnet.
yeh, using the terminal emulator, but couldn't work out why during the rooting process the telnet application worked and could connect to localhost, but now the connection is always refused
It is because you haven't started the telnet server.
Again I think you are a bit confused on what telnet is, how it works, and why you needed it to root in the first place. (and just because you "you it on a daily basis at work under windows" doesn't mean you aren't confused on what it is)
neoobs said:
It is because you haven't started the telnet server.
Again I think you are a bit confused on what telnet is, how it works, and why you needed it to root in the first place. (and just because you "you it on a daily basis at work under windows" doesn't mean you aren't confused on what it is)
Click to expand...
Click to collapse
no I am not confused as to what telnet is
i should still be able to use telnet on the phone and enter instructions (similar to how you would with most routers)
if doing enter, telnetd, enter and running telnet still refuses connection, and this has only happened since it advertised it has installed itself a day after already installing to firmware the phone
telnetd shouldn't advertise it has been installed.
Telnet is a protocol, technically it isn't a program, however telnetd is the server program (the kind that probably runs on your routers at boot) but you have to start it from a terminal in linux environments (like the G1)
The program you are trying to install would be a terminal prompt (the client side) this would allow you to connect to any terminal server you have network access to.
As said above you don't know what telnet is, you just think you do. The problem is you are trying to use the security hole (typing commands on the phone to run them as root) that has already been fixed. If you read a little more on how we have root you will find out that you can't just type telnetd anywhere you want. It has to be in a command prompt now because the security hole has been fixed.
this thread has gone off topic, and nothing to do with the original query
on my phone I have Superuser Permissions, Terminal Emulator and Telnet application
I use TE to access the phone to enter the commands via a prompt, but what I was saying was the telnet application you download to phone when doing the process of rooting allowed me to connect to localhost on port 23, which allowed me to enter commands as though I was using TE.
But after rooting, installing JV1.5 ADP, modifying bootimage and installing a theme, the phone reported it had downloaded and installed Telnet again, which I hadn't told it too, and if you then attempt to use it to connect to localhost it always refuses it.
So my question about anyone else having similar issues with telnet application still stands, ie has it reported it downloaded and installed itself again? after completing the rooting would it then prevent the telnet application from telneting to phone on port 23, meaning you can now only use terminal emulator? and can I easily remove the application without affecting terminal emulator?
thanks
It shouldn't download and install it self again without you helping or the rom you using having it built in.
I told you above and again you have to start the telnet server before you can use the telnet client. It isn't that hard to understand and if you really can't understand it then maybe you need to start looking into something else.
Telnet is not needed for terminal emulator.
Again I said it above you don't know what telnet really is. You don't understand server/client or protocols. Please google telnet and look for the wikipedia page and read about the protocol, the servers, and the clients.
neoobs said:
It shouldn't download and install it self again without you helping or the rom you using having it built in.
I told you above and again you have to start the telnet server before you can use the telnet client. It isn't that hard to understand and if you really can't understand it then maybe you need to start looking into something else.
Telnet is not needed for terminal emulator.
Again I said it above you don't know what telnet really is. You don't understand server/client or protocols. Please google telnet and look for the wikipedia page and read about the protocol, the servers, and the clients.
Click to expand...
Click to collapse
I know it shouldn't download and install again, this is my point for some reason it did and i'm not sure why and this is why I asked the question.
There is no need for you to constantly go on and flaming me by stating that I know nothing about telnet, this, that or the other. You don't know me from adam and I don't know you.
I do know what telnet is, it allows communication between 2 devices via CLI, and allows remote configuration of systems.
All I wanted to know was if this had happened to others, a simple answer of yes or know would have sufficed...
Wow, this got off topic quickly. I don't see why you'd need to assume he doesn't know what telnet is, neoobs. Just sounded like he had a problem and asked if anyone else is experiencing the same occurance. Personally, I prefer using telnet over the TE, for the simple fact, that I don't like looking at the bright blue screen.
In response to the original question, I haven't had anything download and install itself again. I have had the connection refused after starting the telnet daemon on several occasions, but that was due to either the Google servers syncing in the bg, or the browser or Market doing something.
Why don't you just uninstall and reinstall telnet?
Developers, do NOT get EasyTether! EasyTether allows your 3G connection to be shared to your computer via the USB Cable.
HOWEVER, when you install the computer-side client of EasyTether, it saves a file that tells the computer to automatically mount the phone as a network spot when it is plugged in. This means adb won't find it (since it's not mounted as a device), and this means DDMS and "Eclipse Run on Device" won't work either. EasyTether is a great app, but developers shouldn't get it if you test apps on your device.
P.S. I learned this the hard way. It involved deleting system files and logging in as root on my Mac, as well as a few terminal commands.
Does anyone now how I can access the internal storage of my transformer through Ubuntu? I have the transformer connected via USB but it does not auto-mount or appear to be recognised as a storage disk
thanks for any help
I'm using SSHDroid and usb tethering when tablet is connected, find out the tablet ip, then you can use the ubuntu built-in "Connect To Server" via ssh.
readonlycn said:
I'm using SSHDroid and usb tethering when tablet is connected, find out the tablet ip, then you can use the ubuntu built-in "Connect To Server" via ssh.
Click to expand...
Click to collapse
Would you be able to explain the method you use a bit more thoroughly? I too am having frustrating problems getting my transformer mounted under Linux, and am sick of transferring everything via SD card
I tried over SSH, but Android automatically refuses connection. And why do we need to have it tethered via usb to SSH?
The transformer acts as an MTP device. I had some issues with it appearing properly in Ubuntu 10.04, but I believe is because I did something wrong. I have it all working now and mounted as /media/transformer - but I am also running 11.04 now.
This has been asked on the forum before and this answer assisted me in solving it[Full thread].
You also have some links in a different thread here.
poltak11 said:
I tried over SSH, but Android automatically refuses connection. And why do we need to have it tethered via usb to SSH?
Click to expand...
Click to collapse
What's your SSHD application? I recommend sshdroid, you search it in the market.
You needn't tethering if pc and android are in one lan (connected to same wifi for example). Getting android ip is the only purpose of tethering, you can run 'route' command in ubuntu to find out the gateway of usb0, which is the ip of android.
I use a combination of swiftp and droidsshd to access device from ubuntu. Works well. You might need to get the programs from code.google.com, as they are not in the market.
People... they aren't looking for an SSH application, they are looking to MOUNT THE DEVICE OVER USB.
You need to install either libmtp or mtpfs. On Arch Linux, libmtp is in the repos, while mtpfs is in AUR. I use mtpfs.
After getting mtpfs, all you need to do is: sudo mkdir /media/tf && mtpfs -o allow_other /media/tf.
I do it with ADB. adb push and and pull does the job easily, unless you've a ton of different files you want to place in different places.
Using gnomad2 from repo @ Fedora 15 Gnome3
since there is no flashy mtpfs for my distro :/
(to lazy to compile)
How to connect my Android device via file manager (personally I use FileMaster) to my Windows laptop? It requires a login and password that I haven't. Thanks.
beautifulsun said:
How to connect my Android device via file manager (personally I use FileMaster) to my Windows laptop? It requires a login and password that I haven't. Thanks.
Click to expand...
Click to collapse
You could see if ES File Explorer will do it, or you could set up a FTP server on your computer (FileZilla).
MrObvious said:
You could see if ES File Explorer will do it, or you could set up a FTP server on your computer (FileZilla).
Click to expand...
Click to collapse
OK, it works too in FileMaster, now I can access to my laptop, but a pass is mandatory? It can't be a no pass free login?
MrObvious said:
You could see if ES File Explorer will do it, or you could set up a FTP server on your computer (FileZilla).
Click to expand...
Click to collapse
No idea. Are you trying computername\username or just username? Windows likes to have a domain, even if it is just the local hostname of the computer. I work in an IT department so I see this kind of stuff a lot with *nix computers and Windows. Android is a version of Linux custom really.
Sent from my Nexus 5 using xda app-developers app
Tried this?
Open the app, turn on the switch, go to computer, download filezilla, type IP and port, connect and voila!
In Ubuntu is so much easier!
Go to: support.microsoft.com/kb/147706
Use the highest level that works. For user and password it depends on if the computer is a domain member. You can use a local account if you are able to add permissions to the ACL. Don't forget to do it on the share as well as the share root (& subsequent lower level directories as needed, etc.)
If an XP or older which uses "share level" instead of "user level", use the username "guest" and for password use whatever password you put on the workgroup share when you set it up.
To clarify, are you trying to access files on your android device from your windows PC via network share/samba, or access a share on your PC via the phone?
Hi,
I just had the problem of being behind a Http/Https proxy and there is currently no option available to set this on the fire TV Stick.
Android offers this option at least since version 4 by default but they must have deactivatetd this feature intenionaly (region rights and such things).
But it is still possible.
1. Setup your AFTVS on a normal Wifi with internet connection ( if not already done)
2. Activate Apps from unkown sources and ADB
Settings --> System --> Developersoptions
3. Make sure your are connected to the same network as your pc.
4. Sideload following app:
Code:
AndroidProxySetter:
github.com/jpkrause/AndroidProxySetter/releases
How To sideload:
aftvnews.com/sideload/#more-7959
5. Start the App over adb on your pc:
Code:
//connect to device
adb connect 192.168.1.184:5555
//check the connection
adb -s 192.168.1.184:5555 get-state
//start app
adb -s 192.168.1.184:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host 192.168.56.1 -e port 8080 -e ssid PrivateWifi -e key Passw0rd
Where u would replace the device ip, host, port, ssid and key with the settings of your network.
Please mind that ur on a linux based system and everything is case sensitiv.
For more options look here:
Code:
github.com/jpkrause/AndroidProxySetter
5. Now, if everything is fine some little popups will be displayed and at last it should say connected.
6. Going back to the home screen and Done.
Known issues: After some major updates you will need to set the proxy again, so just repeat step 4
It should also run on the normal AFTV but i got none so i can't test it.
All Credit goes to JPKrause who wrote that little app, I just happend to find it
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.
best regards N4b0
how to setting up proxy using pac file?
N4b0 said:
Update 21.06.2016:
With Fire Os 5.2.1.0 it seems like you cant start adb on the device itself so you have to start the proxysetter over adb on your pc.
This "new" way doesnt require to install the terminal emulator anymore and its actually more comfortable.
best regards N4b0
Click to expand...
Click to collapse
how to setting up proxy using pac file?
zcrself said:
how to setting up proxy using pac file?
Click to expand...
Click to collapse
Hi,
well I guess the AndroidProxySetter doesn't cover any way to use PAC files.
But you can actually open your pac file with an editor of your choise and extract your proxy settings from the containing functions.
bg N4b0
Hello, I have this working on a Fire Stick, I ran the commands on a Fire TV and is not working. Anyone has this working on a AFT (no stick)?
Any help is appreciated.
Thanks.
edit: it not working anymore on my fire tv stick, I see the connection going to the proxy but in the screen it says invalid_geo_ip, somehow they manage to get my original ip. My gf is american, and we are abroad, this was the only way to watch amazon content. Sad. I'll try to get a vpn instead, but this proxy setting was easy configuration.
Hi mastodonian,
in my case it still works like a charm on the AFTVS. I just tried it over a vpn that my home server provides, but the tv stick then says something about geo restriction even though its a german vpn. I suppose they are doing some kind of deep packet inspection or they got an ip blacklist.
Can't say but eventually the proxy you are tring to connect uses internally a vpn or is on a blacklist.
Cheers n4b0
can someone help me with this one im a bit slow on following instructions especially codes like these
gjhech said:
can someone help me with this one im a bit slow on following instructions especially codes like these
Click to expand...
Click to collapse
its pretty simple just do the following
Download adblock plus and install it on your firestick - use the power of google or an app store on your fire stick to get it
Download this app to your pc - https://github.com/jpkrause/Android...d/v0.1.3-alpha/proxy-setter-release-0.1.3.apk
Adb this app to your firestick by (assuming you have adb installed if not google howto)
enable adb on the fire stick in dev options if not already done so
adb connect 192.168.1.1 (change the ip address to your firesticks)
adb devices (you should see a list of devices connected if adb is working with your firestick ip address and port number)
adb install (then drag and drop the apk file into the command window - This will auto complete the path of the apk to save you entering it manually)
once the apk is installed
Code:
adb -s 192.168.1.1:5555 shell am start -n tk.elevenk.proxysetter/.MainActivity -e host localhost -e port 2020 -e ssid MyWifiName -e key MyWifiKey
Starting: Intent { cmp=tk.elevenk.proxysetter/.MainActivity (has extras) }
Change the ip address in the above code to your firestick ip address - the numbers after the : is the port address - it should match what you saw when you typed adb devices
Change the ssid to your wifi name and key to your wifi password
you will get some pop up windows on the firestick telling you if it has succeeded or you have errors
next open adblock plus and enable adblocking
restart the firestick
open adblock plus again and you shouldnt see the warning about it cannot manually set the proxy at the top of the screen
load up an adblock test website to test its working
Thank you for making this method clear and easy. However, even though I get the successful messages and the proxy chnages to localhost and the Port to 2020, Ad Block Plus still shows the "please configure manually" message after reboot.
Testing on some apps, the ads are most definitely not blocked!
Any suggestions?
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
It works perfect
I bought FireStick today and it wouldn't let me connect to Amazon as my ISP has made mandatory to use HTTP proxy.
I followed your step wise instructions and it worked. Thanks a ton
Hello,
Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.
Any assistance would be greatly appreciated!
pdesai91 said:
Hello,
Thank you for this! One issue: I'm unable to disable to proxy via adb... is there a specific way to do this? I've attempted to uninstall the apk file and clear data, but it still remains connected to the host.
Any assistance would be greatly appreciated!
Click to expand...
Click to collapse
Hi,
I actually had to do this myslef recently so what i did was just remove the network via the GUI and add the network again.
If you have to do this over ADB you should try to remove the network and add it without proxy flag
Cheers N4b0
xbarsasy said:
Thanks for malking this app , I just have a problem , netflix connects directly and not through the proxy , any idea how to force connecting through proxy ,
Click to expand...
Click to collapse
Well I have to clarify i did not make this app i just found it and put it to good use
On the issue i cant really say how to force him using the proxy. This method just configures the android intigrated Wifi network stack that supports proxys since 2.X is suppose. If an app like Netflix detects this, then u need an other method.
For windows i got an app called Proxifier, but until now i didnt find anything similar for android.
Only alternativ solution for your problem I can think of would be to configure your Accesspoint with a VPN on a second virtual network (well that's how i would do it).
Cheers N4b0
Hi All,
-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-
After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
Poareq said:
Hi All,
-I posted as a guest but didnt see my message, so posting again. sorry if it will be duplicate-
After Fire OS 6.2.1.3 upgrade, this wonderful proxysetter app doesn't seem to work anymore. I tried both 0.1.3 and 0.2 versions and it can not set the proxy.
Click to expand...
Click to collapse
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Not working for me too
uj812 said:
Facing the same issue, unable to connect to Amazon after October update.
Any workaround available?
Click to expand...
Click to collapse
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Solved... I think
phildani7 said:
I recently bought a fire tv stick. But unfortunately unable to make http proxy work. Kindly advice.
Click to expand...
Click to collapse
Not sure if anybody is still interested in this, but I recently uninstalled the apk and was unable to install it again getting the following error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
The solution is simple! The latest version of the FIreTV OS includes a proxy setting!
Just follow Step 1. in the instructions here: Blocked
The original instructions are posted on the Amazon appstore -> Appstore Blogs -> Viewing Secure (SSL/HTTPS) Traffic From Your App on Fire TVs Running Fire OS 6 on November 02, 2018
Since I've been blocked from posting a URL, here are the slightly modified instructions:
Setting a proxy on Fire TV
Bring up the Developer Tools Menu by one of the following two ways:
Remote: 1) Press and hold the Select and Down buttons for five seconds release and then 2) Press the menu button
ADB: adb shell am start -n com.amazon.ssm/.ControlPanel
Select Network Proxy
Select Manual
Enter your proxy IP address
Enter your proxy port
Click Save
Enjoy!
Hi All,
These proxy setting were working for me until the last update on OS 6.x and OS 7.x. The Developer setting app crashes on selecting save on the Network settings and the IP/port info is not saved.
Is someone else facing same issue.. Any work arounds?
Try this. It worked for me.
Use this .apk AndroidProxySetter. Install and follow the commands. It will route Network traffic to Charles proxy.
https://github.com/manadream/AndroidProxySetter