[Q] Help setting up Tor/Orbot? - EVO 4G Q&A, Help & Troubleshooting

Hi guys --
I'm running CM7 on my Evo and wanted to install Tor/Orbot. As far as I could tell from Tor's website, since Cyanogen is iptables-compatible (or whatever it's called), I just had to set Orbot up for Proxy Transparency, which I did. Orbot got to 100%, looked like it was running fine...but no programs could access the internet -- not the Gmail app, any browser, etc. As soon as I disabled Orbot, everything went back to normal.
Can anyone advise on how to properly set this up? I'd really love to anonymize my data.
Thanks!

So no one does anything to anonymize their browsing on their phone, Tor or otherwise?

I use a proxy thru my server no apps I'm oldskool so I do it manually change my proxy list ever few days when I start running low on unused proxies
We are legion, for we are many

Ya, but u don't run through you're server when ur not at home, right? so u just risk it when ur browsing on ur phone out and about?

No I proxy to my server from my phone using my aosp build
We are legion, for we are many

ah. got it. thanks for the heads up. i don't have a server, but maybe I should just look into proxy alternatives beyond tor, maybe there are simpler ways.

Related

[Q] Transitioning from Palm Pre to Evo 4G

Posted in androidcentral and went no where this seems to be a better site for this sort of thing. Transitioning from the Palm Pre Sprint to the Evo. Saw some Pre to / Evo4G threads but none have the info I need. Couple of questions hopefully someone can answer. I already rooted the EVO with the AC rom also nandroid with cm6 (the Pre basically comes already rooted just enter konami code and reboot). Hopefully these answers can help others later on too.
It allows to to make/end calls, send sms, open apps, reboot, change wallpaper, turn GPS on and off, get phone coordinates, turn leds/vibrator on. In short basically every function the phone does can be triggered remotely via ssh.
Nothing that will let you mess with people on command line if your phone is lost or stolen but lookout and prey are good apps for locating your phone.
OpenSSH server?
There is an app in the market but the lack of libraries, optware and physicial keyboard really make this a bad phone to use the command line in. Tunneling in or out is also a lost cause a vpn would be the best bet for this.
DDNS?
There is an app which is pretty nice but haven't found a good http server like the Pre so there is really no need for it.
Http server? My pre had a webserver with php. When I went to a page the Pre called its location and displayed a google maps page. I would prefer if theres no app so if I lose my phone theres nothing that can be easily uninstalled or turned off. Also good for hosting files locally.
Haven't found a replacement for this.
You can do Ubuntu chroot on the Evo but with no xserver it lags and is not a good experience.
Is there a third party app for homebrew mods like preware or cydia? Android market is more open than apple or palms so every app you can find there no alternative needed. Although sometimes you can find apks in threads for apps that are not in the market yet just put them in your sd card and browse with a file manager to install these.
Is there a way to download your sms database file like the iphone or pre ? Haven't found out where they are saved but plenty of apps to backup texts to either sd or gmail so no need to go searching for them.
I do have the script that installs optware on the Pre I tried doing the commands manually but failed. Haven't given up yet just havent had time since after midterms it will be on top of the list. Is there anyone with alot of experience with android that might also want to try this. It is a shell (.sh) script but I changed the extension to txt so I could upload it.

4G Tethering over WiFi Speed Issues?

Today, I finally tried a proxy server as part of my tethering testing and it seems to have finally unlocked the 4G tether speeds over WiFi. It's certainly not a perfect solution for all situations, but I thought I'd put something here in the general section where some Sense users would be more likely to run across it.
Could someone try this under Sense with 4G over WiFi and let me know if it improves your speeds? I went from being stuck at 0.4Mbps to getting the usual 4G speeds I normally see (anywhere from 2.2Mbps to 10Mbps)!
What you'll need to do is install filterproxy from the Android market (it's free). This will start a proxy server on your EVO. I believe the intended purpose of filterproxy is to block certain sites from your browser on your phone, but only if you browse using the proxy. filterproxy has a side effect allowing the phone to act as a proxy server for other devices that connect to it.
Once you've installed filterproxy, start tethering and connect your computer to the tether. Configure your browser's proxy settings to use your phone as a proxy. The method for changing your browser's proxy settings varies from browser to browser, but here are a few.
Internet Explorer 8:
Click on Tools -> Internet Options -> Connections tab -> LAN settings
Check the box for Use a proxy server and enter the appropriate settings
Firefox:
Tools -> Options -> Network tab -> Settings
Select Manual proxy configuration and enter the address and port in the HTTP Proxy section
Check the box for Use this proxy server for all protocols
Chrome:
Click on the Customize tool icon in the upper right of Chrome and select Options from the menu
Click Under the Hood on the left
Click Change proxy settings
Click LAN settings
Check the box for Use a proxy server and enter the appropriate settings
For the proxy address, you'll need to enter the IP address that your phone is using for its WiFi access point. In CM7 this should be 192.168.43.1. For Android Wireless Tether it can be changed, but by default it is 192.168.2.1 (I think). If you can't find it, open adb shell or terminal emulator and type 'netcfg'. At the bottom you should see something like this:
wl0.1 UP 192.168.43.1 255.255.255.0 0x00001043
The 192.168.43.1 is the address being used for the WiFi access point. The port for your proxy is the port that filterproxy is using. By default it is 8000, but you can change it within the filterproxy app.
NOTE: changing your proxy server settings may prevent your browser from connecting to the Internet whenever you're not tethering. You'll have to check or uncheck proxy boxes or try making different shortcuts like this.
Originally posted here:
http://forum.xda-developers.com/showpost.php?p=11580191&postcount=5319
hey very curious here about this...i get crap speeds when tethering my internet on 4G....like really crappy...i use wireless tether and easytether pro for wired share...i downloaded the app filter proxy...how do i work it ? i am completely confused as to how to set it up etc...if you could help me there i could help test this out...ty
edit: just to let u know ur awesome !!! i live in a 4G area but never got the speeds my phone did while tethering...using ur method i get watever 4G is putting out now...its awesome...anywhere from 3MB to 9MB down speeds...fantastic !!!!!
First off I just want to say, Dees_Troy, you are a freaking Champion! I've been looking around too long for this answer to my prayer! I tried it out your workaround and it worked immediately and it was way too easy! I'm using an Evo 4G and I'm on Fresh 3.5.0.1 (Sense Rom). My speeds were ~.5 MBPS. I just did a speed test (on my pc, not phone) and hit ~3MBPS and now I am streaming and surfing like a crazy person. Thank you so much for posting this workaround!
Tethering worked fine for me...Pretty cool but needs to be faster ha!
I'm running 2.2 on my Evo 4G and this is what i got after doing this:
Before the fix via Speedtest.net:
DL: 66.1
UL: 117.8
After the fix:
DL: 323.9
UL: 85.6
Wrong thread.
Thanked you though for your contribution.
Cool Stuff
Hey this is great to know, I don't have 4g service in my area yet but it did seem to increase my tethering speed regardless. Also learned a little something about proxy settings
any idea how to do this on a Mac? i can't get it to work.
JoshuaD80 said:
any idea how to do this on a Mac? i can't get it to work.
Click to expand...
Click to collapse
Get a PC. Easy Fix ;-)
Just messin with ya a little bit bro, but seriously.
JoshuaD80 said:
any idea how to do this on a Mac? i can't get it to work.
Click to expand...
Click to collapse
Well first go into the safari browser options/tools, then look for lan settings to start with.
Mac Safari/Preferences/Advanced/Proxies/
Can you be very specific for the non-computer/smart phone experts please? There is mention in this post and the original linked post about changing settings...I am not sure how to do that. Is it in the phone settings, the filerproxy settings or on the computer settings?
Sorry to be a newb...
Staffman412 said:
Can you be very specific for the non-computer/smart phone experts please? There is mention in this post and the original linked post about changing settings...I am not sure how to do that. Is it in the phone settings, the filerproxy settings or on the computer settings?
Sorry to be a newb...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=13653126&postcount=159 Slightly more detailed. Can elaborate more if needed.
Nice thread...makes much more sense to me. i have 1 question...item #3 states, "open up terminal emulator..." I have no idea what that means...sorry.
Also, I understand (in theory about the rooting and bricking dangers of rooting a phone, and I am not sure I should do that...due to my obvious lack of skill. It seems like this does not require rooting your phone, or does it?
Thanks for your help (and patience).
Staffman412 said:
Nice thread...makes much more sense to me. i have 1 question...item #3 states, "open up terminal emulator..." I have no idea what that means...sorry.
Also, I understand (in theory about the rooting and bricking dangers of rooting a phone, and I am not sure I should do that...due to my obvious lack of skill. It seems like this does not require rooting your phone, or does it?
Thanks for your help (and patience).
Click to expand...
Click to collapse
Yes and no....to use filterproxy you don't need to be rooted. But you need to be rooted to use terminal emulator [app with root] along with wireless tether [tether without paying the sprint 30$/mo]
If you paid the fee, then you could bypass step 3. Rooting isn't hard if you use unrevoked. I can walk you through it, the whole process takes about 5 minutes, and you can unroot if you ever had to take your phone in for servicing.
Thanks. My only concern is not understanding what I did to my phone and not being able to restore it if needed. You make is sound simple.
I guess what I need is the dummy's guide to how to get free wi-fi, with minimal risks. Is that possible?
Thanks again.
Staffman412 said:
Thanks. My only concern is not understanding what I did to my phone and not being able to restore it if needed. You make is sound simple.
I guess what I need is the dummy's guide to how to get free wi-fi, with minimal risks. Is that possible?
Thanks again.
Click to expand...
Click to collapse
Sure thing. Shoot me a pm, so as we don't bloat this thread. I'd get you rooted and all set up with minimal risks and walk you through it.
when i open up terminal emulator and type in netcfg, it gives me a permission denied error. i've never used this program before, so it's probably something really simple but not sure. i have an evo, rooted, no custom roms. thanks
DP13
dietpepsi13 said:
when i open up terminal emulator and type in netcfg, it gives me a permission denied error. i've never used this program before, so it's probably something really simple but not sure. i have an evo, rooted, no custom roms. thanks
DP13
Click to expand...
Click to collapse
Try typing su before you type netcfg.... example: su netcfg
su means sudouser in linux language
type is su first, now it gives me SU: Permission Denied. like i said im not familar with this at all or linux, but when i type in the SU NETCFG it gives it in all caps. is that the problem? it wont let me type lower case. any other suggestions? Thanks for the help.
edit: my first line when i open up emulator is
$ export PATH=/data/local/bin:$PATH
$
im uninstalling and reinstalling the proxy and emulator now just to try if that makes a difference. plus im a new member so need to wait 5 minutes between posts and edits so its a pain, lol.

[Q] TOR?

Since I run TOR on my computer I figured I'd check into it for Android and wouldn't you know, it exists. In this age of tracking and privacy going out the door, it's nice to still be able to retain a bit of anonymity.
EDIT: I figured I'd add a small explanation for anyone that's interested in this and doesn't know what TOR is.
Without getting into great detail, some of which I'd have no clue what the hell I'm talking about, it's a way to be anonymous. If you do it correctly no longer will your IP address show up as you current IP which can be used to spy, hack, trace, ad target, and so on. Your IP will show up as something else. e.g. My current location is Overland Park, KS - my IP will reflect this, my ISP also knows my exact address from that IP. With TOR my IP shows up as being located in say, Russia. Problem solved, no more tacking and other bs.
This isn't a pass to do what you want online, you're still a human so act like it. It's just a take back a little bit of privacy and anonymity.
theSpam said:
To simplify things, TOR does onion routing which involves routing your traffic through a number of hosts to final host called the exit node. Exit nodes directly communicate with other hosts on the Internet. The use of exit nodes and encryption throughout this process provides anonymity. See this for more info: http://en.wikipedia.org/wiki/Tor_(anonymity_network)
Click to expand...
Click to collapse
Thanks theSpam
UPDATE: I fixed the issue of Orbot not connecting me to the TOR network. There are more in depth methods but I'll just give the quick and dirty version. After installing Orbot make sure everything is unchecked in setting except: start on boot, transparent proxying, tor everything.
Download ProxyDroid and in setting:
proxy host: 127.0.0.1
Port: 8118
Proxy type: HTTP
Auto connect: check
Global Proxy: check
don't mess with anything else unless you know what you're doing.
Now you can check your IP or use Orbot to check if you're on the TOR network. Enjoy.
Tor? I'm curious
dont send me pm's crying about how i hurt your feelings in a thread
So you know what Tor is then?
Well I installed it and so far it's working aside from not actually connecting me to the network. My IP stays the same so I guess I have to do a few things manually, oh well. When you first boot up and it's starting it eats the processor like a fat lady eats cake but that goes away after 15-20 seconds. On the plus side it doesn't start loading until after the system has finished loading completely so boot times aren't effected.
No sir I'm not sure what TOR is. Was hoping you might shed a lil light on the subject.
dont send me pm's crying about how i hurt your feelings in a thread
OK I updated the OP for you. Hopefully I got it right. I'm not a network genius so I may be a little off.
To simplify things, TOR does onion routing which involves routing your traffic through a number of hosts to final host called the exit node. Exit nodes directly communicate with other hosts on the Internet. The use of exit nodes and encryption throughout this process provides anonymity. See this for more info: http://en.wikipedia.org/wiki/Tor_(anonymity_network)
My main concern with this app is with how TOR works. Does anyone know if Orbot will turn your phone into node used for intermediary routing? (the desktop version does this)
theSpam said:
To simplify things, TOR does onion routing which involves routing your traffic through a number of hosts to final host called the exit node. Exit nodes directly communicate with other hosts on the Internet. The use of exit nodes and encryption throughout this process provides anonymity. See this for more info: http://en.wikipedia.org/wiki/Tor_(anonymity_network)
My main concern with this app is with how TOR works. Does anyone know if Orbot will turn your phone into node used for intermediary routing? (the desktop version does this)
Click to expand...
Click to collapse
There's an option in the settings for it but it's not activated by default. I couldn't imagine switching that option on while using 4G

can someone explain to me whats going on here?

Ok i got my EVO setup how I want I got droidwall installed and everything is working great but whenever I use my browser I notice 100s of blocked packets coming from (kernel) I searched the ips it was blocking, for some reason the sites I visit try to use kernel to send packets to themselves. I visit theync site occasionally and that site tries to send 100s of packets through kernel to itself? That doesn't seem necessary. What's going on?
Also the site works perfectly with the packets blocked. That's why its bothering me. It does this on any browser I use on my EVO 4g.
When I posted here it tried to send 16 packets to Google and a few to 50.23.216.68-50.23.216.69
Maybe blocking things like ads.. google ads more specifically. Also possibly browser cookie/User agent string related.
I allowed kernal and everything seems fine. Should settings be allowed internet? I get logs every now and then with it trying to send data to burkley in California.

[Q] Clean Access Agent

I need some help. In my university FIU computers mainly PC's are required to download something called a Clean Access Agent to allow the computer to log into the wiffi network. However phones do not need to download this agent. Recently I have noticed that occasionally on certain ROMs I flash will cause my phone or tablet to be seen like a PC and thus is prompted to download the Clean Access Agent. I have experienced this on several ROMs for my HP Touchpad as well as for my GSIII. Recently I flashed MOAR ROM which I extremely like and once again encountered this issue.
I have searched for this all over! With no solution.
If anyone can help it would be much appreciated, it is crucial I connect to wiffi at my school. And I don't wanna switch to another ROM when I just settled into this one.
-DMDMD
dmdelgado said:
I need some help. In my university FIU computers mainly PC's are required to download something called a Clean Access Agent to allow the computer to log into the wiffi network. However phones do not need to download this agent. Recently I have noticed that occasionally on certain ROMs I flash will cause my phone or tablet to be seen like a PC and thus is prompted to download the Clean Access Agent. I have experienced this on several ROMs for my HP Touchpad as well as for my GSIII. Recently I flashed MOAR ROM which I extremely like and once again encountered this issue.
I have searched for this all over! With no solution.
If anyone can help it would be much appreciated, it is crucial I connect to wiffi at my school. And I don't wanna switch to another ROM when I just settled into this one.
-DMDMD
Click to expand...
Click to collapse
I believe it has to do with the browser agent that your phone is using. If the browser is set to "desktop mode" (it's somewhere in the settings for the browser), your school's network automatically prompts for the Clean Access Agent. When desktop mode is not checked, the network sees a mobile phone connecting and does not ask for the Agent to be installed.
Hope this helps!
EDIT: I just checked my phone with stock AOSP browser (see my sig for my setup), and the setting you're looking for is under Browser --> Settings --> Advanced --> User Agent --> Choose Android for the one that will not trigger the Clean Access Agent. Depending on what browser your ROM is using, the settings might be a little different, but you're basically just looking for "user agent" or a checkbox that says "Desktop mode" or something along those lines.
topherk said:
I believe it has to do with the browser agent that your phone is using. If the browser is set to "desktop mode" (it's somewhere in the settings for the browser), your school's network automatically prompts for the Clean Access Agent. When desktop mode is not checked, the network sees a mobile phone connecting and does not ask for the Agent to be installed.
Hope this helps!
EDIT: I just checked my phone with stock AOSP browser (see my sig for my setup), and the setting you're looking for is under Browser --> Settings --> Advanced --> User Agent --> Choose Android for the one that will not trigger the Clean Access Agent. Depending on what browser your ROM is using, the settings might be a little different, but you're basically just looking for "user agent" or a checkbox that says "Desktop mode" or something along those lines.
Click to expand...
Click to collapse
Thank-you so much for your response... I was checking and unfortunately I didn't see that option in my native browser as well as Google Chrome (my primary browser). I downloaded an app https://play.google.com/store/apps/details?id=com.appo2.ua&hl=en hopefully this does the job, however I cant check until tomorrow when I am back on campus. I really hope the User agent is the issue because its such as shame to have to switch ROMs just for this little issue.
On a side note, would you happen to know why this would vary from one ROM to another??
Anyways Thanks again!
-DMDMD

Categories

Resources