Hi, simple problem here. I need to make an Android app that reads a file on PC (picture or movie) and displays it on the screen. WiFi is not an option so it MUST work via USB. It must work on MAC (LINUX acceptable, NOT WINDOWS). Looking around there are 3 ways to do this:
1) reverse tethering. If I manage to have all internet traffic on USB then I can access files on my machine via web server. Looks a bit over complicated though. I looked all over the net and couldn't find out how to do on my WiFi tablet (Galaxy tab7 plus Wifi, Android 3.2, no 3G). Some solutions require enabling the "USB tethering" option on the tables, which is not there for WiFi only. I couldn't get to work the method that "netcfg usb0 dhcp" either.
(Note: WIN users seem to be happy with this UsbPortForwarding.aspx but I need something that runs on Mac or Linux)
2) Direct USB access. Do we have a method to allow an Android app to read a file on the computer? As far as I what I read, the answer is no.
3) USB to ethernet adapters. That would be great but again I still have to find an adapter that will work with Honeycomb
Any hints? pls help, looks like such a simple thing to do but it's really hard without WiFi!
cheers!
http://www.xda-developers.com/android/reverse-tethering-keeping-your-android-device-online/
There's the reverse tethering article from the portal last month. Not sure if that's exactly what you need because I've never used the app. Give it a go. Hopefully it works.
thanks, I've seen that, it's the WIN-Only solutions which I mentioned. Seems to work very well but unfortunately I need a unix based machine.
Quite shocking that there is only a Win version, looks like a problem that would be very easy to solve in unix (IF one knew what to do..
Any unix-gurus opinions on this?
.
Thread moved to Q&A due to it being a question. Would advise you to read forum rules and post in correct section.
Failure to comply with forum rules will result in an infraction and/or ban depending on severity of rule break.
Related
-- SOLVED --> For those who care...
Initial issue/goal: Ports open or blocked over 3G/4g? Getting a reverse VNC connection working on an android phone.
Resolution: Ultra VNC SC basically allows someone behind a firewall or router to, without any configuration required, share their desktop with someone (you) for technical support or any other means. I use it for friends and family and such, and it works great, but the real question and purpose of this thread was about open ports on a 3G/4G connection and what VNC apps allow listening. This is what worked for me: Remote VNC Pro from the market (~$6), DynDNS from the market (free), a dynamic DNS account that is supported by the DynDNS application (like no-ip, dyndns, etc), and a personalized/configured version of Ultra VNC SC (linked below). Port 5900 works, as well as a few others, but 80, 8080, and 443 won't.
VNC Application: Remote VNC Pro (for the phone)
VNC Application: Ultra VNC SC (for the client)
Dynamic DNS: DynDNS (update agent)
Mods/Admins feel free to move this thread and/or lock delete if I am breaking any rules (like advertising?) or something.
Re: [HELP] Reverse VNC Connection
I know with 4G you definitely get a publicly accessible IP without any proxy in the middle. I imagine 3G would be the same so it should be fine in that regards.
As for open ports, any app worth its chops should let you choose which port it listens on so that shouldn't be an issue.
Why don't you just buy one of the apps and give it a try? If it doesn't work you can always return it within 24 hours for a full refund.
Trial and Error
---- ORIGINAL FIRST POST ----
Not sure if this should go here or not, but I'm trying to see if I can get a Reverse VNC Application going. Looking at existing VNC applications for Android, the only one that allows listen mode is Remote VNC Pro v1.7.7 and above. Unfortunately, since it is not free, I cannot test the listening capabilities. Listening aside, I suppose my biggest issue will be open ports. Given 3G/4G addresses (NAT, I assume?) are out of our control, does anyone know what ports are open and what ports are not?
Has anyone else tried? Interested? Suggestions? Here's what I have so far:
VNC Application: Looking at Remote VNC Pro (for the phone)
VNC Application: Ultra VNC SC (for the client)
Dynamic DNS: DynDNS (update agent)
---- END FIRST POST ----
rdude said:
Why don't you just buy one of the apps and give it a try? If it doesn't work you can always return it within 24 hours for a full refund.
Click to expand...
Click to collapse
Well the idea was to see if anyone had already tried this and/or had the application to save me time troubleshooting. Since there has been no response, save yours, I went ahead and purchased it.
rdude said:
As for open ports, any app worth its chops should let you choose which port it listens on so that shouldn't be an issue.
Click to expand...
Click to collapse
Oh, it has the option to specify ports, but which ports are open over a 3G/4G connection is what I wanted to know. I tried 443 and 80, and both gave me permission errors. Surprisingly 1723 (PPTP) works, but VNC Pro on the phone just sits on the 'please wait while listening on <ip address>' screen forever. The computer running the Single Click VNC server says that the connection was successfully acquired, but the icon never changes colors (suggesting I am completely connected). The interesting thing is that when I cancel or close the connection on the computer, VNC Pro on my EVO closes the 'listening' window and gives me a java exception error.
*sigh* any ideas? I'm guessing the connection is going through but other traffic is getting blocked or something. Not sure what other ports to try, but I will fiddle around with it in the mean time.
Edit: I tried the standard ports on a local WiFi connection. I gave the phone a static IP, port forwarded everything appropriately, and then received the same results. I'm going to take a few screenshots and send and e-mail to the developer for now.
Edit: It appears to be an issue with Ultra VNC SC. Ultra VNC and Real VNC both worked by manually adding the viewer client from the installed server while using port 5900. Sort of defeats the purpose for me, but the developer said he would try it out and (hopefully) get it working.
Edit: The dev got back to me really quickly and we figured out the issues and fixed it over the weekend. He pushed out a new version of the application on Sunday. First post has been updated for those who care.
Bumping the thread for those who are interested in what worked for me, now that everything is fixed.
Nice, been interested in this. How is the refresh rate when your phone is on WiFi and also how is it on 3G?
I tried Screencast (http://code.google.com/p/androidscreencast/), but it only runs at 3-5 FPS, so it was pretty unusable.
I've only had it working for a day, and nobody has really needed my help, so my testing of the application has only been to confirm it works. The best thing I can say, for now, is that the reviews all brag about the performance and pinch-zoom, that the developer is pretty cool and was willing to return the application well beyond the 24 hour limit, should the application not meet my needs, and finally that he fixed the issue I was having in less than 48 hours from the time I reported it to him. Overall, as far as the application is concerned, I am pretty satisfied. For example, I wrote (and edited) this post while using it over 3G from my phone. I saw all the text as I was typing, so I would say the frame rate is satisfactory.
Edit: Wait, after following your link, I think you might be misunderstanding the purpose of this application. This allows you to control a PC from your Android, not the other way around. The purpose is to supply people with a pre-configured portable application that allows you to connect to the computer without any port forwarding or security changes on their machine. The application (uVNC SC) also "uninstalls" itself from their computer after the connection is closed. To reiterate, the primary benefit is to allow you (the admin) to connect to someone else (the user) without them having to do anything but double-click on your connection.
You're right. I misunderstood, didn't know what "reverse vnc" really meant.
Sorry, I knew people confused the two, so I could have been more clear. On that note, I am also interested in a... remote connection to my Android phone. Recording, in particular, would be great for demo's and setup instructions, given so many people have android devices now-days. But yeah, this is not the setup for that. =/
brennen.exe said:
Bumping the thread for those who are interested in what worked for me, now that everything is fixed.
Click to expand...
Click to collapse
Glad to hear you got it working! I'll try installing it this week and see how it goes.
Looks to me that I want to do exactly the same. Sorry to bump the thread but seems the best thing to do.
I want to support people OTA, since I don't need high framerates, just a view at some PC settings.
I have Remote VNC Pro and it allows the phone to Listen for incoming VNC connections. But it listens on a 10.20.xxx adress, instead of my WAN 3G/4G ip-adress.
I want to use GITSO (awesome little program) for the http://code.google.com/p/gitso/ support issues.
It works flawless pc-to-pc where I have my own portforward setup, saves tons of hassle with the people I want to support.
I use a p500 lg and I asked for help to learn how to create a bluetooth connection here
But now the question becomes more about linux and it seemed right to change topic, although I have not found a more appropriate section of this.
My PC can communicate with the smartphone bluetooth but I can not pull up a internet connection.
I'm trying with the program Blueman, if you knowing another good method... but I'm not a pro user.
To make the nicest thing I manufactured an animated gif of latest operation of last unsuccessful operation: http:/ / oi42.tinypic.com/8wa6ok.jpg (I still can not put links)
Thanks
Surfing the daily news I stumbled upon a short article about Micro Systemations XRY (Danish article), a tool meant for use by the law enforcement, military and intelligence agencies. It can pull every last detail out of the phone, by first rooting/jailbraking the device, and then bruteforce the Pin lock. After this, it should be pretty much "open" and ready to get ripped. It works on just about any type of (cell)phone you might have around, including all smartphones running one of the major operating systems - such as Android, IOS, WP7 etc...
More info:
http://www.msab.com/
http://www.forensicswiki.org/wiki/.XRY
See it in action:
v6.2 smartphone support video
In the hands of the right people/instance this is a very useful tool, but it could potentially be a threat if it gets out to the public.
And now to my question; What would be the best way to secure a device from something like this??
The first thing that comes to my mind would be to either use a pin code of 5+ numbers, as the bruteforce attack would be much longer or using the pattern lock if you are on an Android phone.
The second thing would be just as simple as keeping the device updated, so older exploits would be patched up by the manufacturer.
And how about the device encryption from Android 4.0, would it have any impact on this or would that also be circumvented by the rooting procedure?
from what i've gathered they need to get root to then find out your pin. They also mentioned that in previous videos that they used to use super1click to gain root.
I wonder how far they would get with a non-rooted,pin-enabled phone that has USB debugging turned off?
sidenote: the youtube video alludes to multiple access routes; wifi, bluetooth and USB (the desire in the video looks like it does not support bluetooth rooting though), I thought it was worth mentioning if it changes anything
nzdcoy said:
I wonder how far they would get with a non-rooted,pin-enabled phone that has USB debugging turned off?
Click to expand...
Click to collapse
Exactly, and I guess that almost all (Androids atleast) comes with USB debugging disabled by default..
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
I understand that this forum is to direct me to a relevant thread or topic to post under. Would appreciate guidance for where to post the following question...
I am looking for a remote desktop solution, like LogMeIn or TeamViewer that doesn't require me to do any detailed configuration.
The problem is that LogMeIn, for example, won't treat my Note 3 phone as a tablet, so I can't use the mouse like a normal mouse. (The settings for mouse are "move mouse" and "move screen", but there is no direct mode available for phones to use a mouse like a regular mouse.)
My device is an Android 4.4 KitKat Samsung Note 3 phone (unfortunately rooting is not an option for me), and I am using it with the Note 2 dock with an external monitor and wireless usb keyboard/mouse. Everything works great except I can't find a good remote desktop solution that will allow me to work "normally" in terms of the mouse.
I also have Win 8 Home version and do not want to configure port forwarding and a fixed ip to solve rotating external IP address assignments. (Please excuse me if I didn't say that correctly, but I really don't want to deal with those kinds of complexities.) Yes, I realize that I may have too many constraints - no configuration challenges (which I think rules out VNC or standard RDP), and also no rooting of the phone. But I am willing to pay a small monthly subscription, e.g. I looked at PocketCloud with $5/month, but that doesn't seem to support my requirement either from a quick look at the manual.
Is there anyone who can suggest a good solution for my situation?
Hi,
The info that you provided is great, however the Note 3 is divided up on XDA by carrier, so:
If you will type Note 3 in the box above (type to find your device) , select your carrier version, go to that forum's Q & A to post your question, you should be good to go !!
Regards.
Pony Express said:
Hi,
The info that you provided is great, however the Note 3 is divided up on XDA by carrier, so:
If you will type Note 3 in the box above (type to find your device) , select your carrier version, go to that forum's Q & A to post your question, you should be good to go !!
Regards.
Click to expand...
Click to collapse
Thanks! XDA Assist is a great idea. First time I've ever seen that in a forum.
And I really like your tag line...
To the world you are someone. To someone you are the world.
Hello geniuses, ( and I mean that literally, you guys are amazing) I have Direct TV and just got my hands on there Cinema connection kit witch allows me to connect to an internet source wireless-ly. Anywho, the error I am getting is asking for my default gateway, and my DNS, and that is way over my head. Can anyone assist? I am running a rooted Turbo. Thanks in advance!
Special~k said:
Hello geniuses, ( and I mean that literally, you guys are amazing) I have Direct TV and just got my hands on there Cinema connection kit witch allows me to connect to an internet source wireless-ly. Anywho, the error I am getting is asking for my default gateway, and my DNS, and that is way over my head. Can anyone assist? I am running a rooted Turbo. Thanks in advance!
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
It's unclear what Android-related specific problem you have but if by "Turbo" you mean a Verizon Motorola Droid Turbo, there is a forum specifically for questions about that device at http://forum.xda-developers.com/droid-turbo/help where you may want to ask Turbo-related questions.
That said, if the Direct TV device simply needs information about your internet connection, you would need to know the address of your WIFI router (it'll be something like "192.168.0.1") and your default DNS server (maybe "8.8.8.8" for Google DNS?), something whoever installed your internet connection should be able to provide.
If all else fails, try posting with all relevant details in the general forum at http://forum.xda-developers.com/general/general where someone might be familiar with your specific situation.
Good luck!
I appreciate your reply... and yes I was referring to the droid trubo. The internet service I am referring to, however, is my Turbos hotspot. I figured anyone running 4.4 or 5.1, no matter the device could possibly help. I know its possible, and I came very close last night to getting my Direct TV to connect to my phones hotspot. Everything else in my house is connected to my phone, not sure why this won't. I am certain its an address issue, and the default gateway and DNS is the culprit.
Special~k said:
I appreciate your reply... and yes I was referring to the droid trubo. The internet service I am referring to, however, is my Turbos hotspot. I figured anyone running 4.4 or 5.1, no matter the device could possibly help. I know its possible, and I came very close last night to getting my Direct TV to connect to my phones hotspot. Everything else in my house is connected to my phone, not sure why this won't. I am certain its an address issue, and the default gateway and DNS is the culprit.
Click to expand...
Click to collapse
Hello again.
If you are connecting though your phone's hotspot feature, then you have to use its address. That information depends on your phone, ROM and which and how many other devices are on the local network you establish, among other factors, but it's probably in the "198.162.?.?" range mentioned earlier and you can probably set "8.8.8.8" (Google) as your DNS provider. One simple way to determine your default gateway's address is to use whatever other phone, tablet, or computer you connect to that hotspot and execute a "traceroute" command. The first entry will be the gateway. I'm afraid I can't tell you how to do that specifically for your device/OS but most all operating systems have a similar command.
We cannot provide technical support nor can other members reply to your posts here on XDA Assist but, as suggested earlier, asking in the Turbos' Q&A thread at http://forum.xda-developers.com/droid-turbo/help would be the best way to get help
This thread is now closed.
Once again, good luck!