How to get Orbot running under Froyo? - Nexus One Q&A, Help & Troubleshooting

Hi everyone...
I'm going back to China for few days, as you know, China got a crazy internet censorship, I'm sure a lot of applications such as twitter/facebook/news/weather/google search won't work in China, so I used Orbot under Android 2.1 before, works very well.
I'm using Nexus one, and recently installed Froyo, and I got few problems when using Orbot.
When I install Orbot I got a problem that orbot wouldn't start, cause of "binaries are not installed", so I manually uncompressed the APK and put all files under /assets into /data/data/org.torproject.android folder in order to get orbot running.
It works~ But I'm still not able to change any settings, everytime I change settings, it freezes and I have to force stop it.
So I goto terminal, changed all files and folders ' permission under /data/data/org.torproject.android to 777.
But it still doesn't work, I still can't change any settings.
Actually I allowed it to run as root before, but in terminal I see these processes:
/data/data/org.torproject.android/tor -f /data/data/
/data/data/org.torproject.android
/data/data/org.torproject.android:remote
/data/data/org.torproject.android/privoxy /data/data
All of them are not running as root, they're running as "app_113"
I thought they must be run as root in order to transparently proxy all data.
I was using Orbot under Cyanogem 5.0.6/5.0.7 before, and didn't get this problem.
Did anyone get Orbot running under Froyo? Or Could anyone please suggest any solution to this problem?
Thanks a lot indeed!

Hey guys,
Just stumbled upon the way to get Orbot working on Froyo.
It's not too tough, just go grab the new Firefox Mobile beta...
Once you've installed it, go to the add-ons menu and get "Proxy Mobile" from ProjectGuardian.org
Restart firefox mobile, connect to tor through orbot, run a check using firefox, and voila! It works!
-Courtesy of other ppl, not sure who, but its not on this forum thats for sure.

Related

Not getting mutlitouch in maps 3.4.0

I've installed maps from both the market, and the thread in XDA dev, but although the app says it's 3.4.0, I'm not able to multitouch.
I'm on CM 4.2.14.1 with the 10meg hack.
Also, the main application I use (GeoBeagle) is now crashing with the new map. I'm wondering what I can do to make sure I've got everything installed correctly, or how to revert back to a previous version where I can at least still go geocaching.
You can either rm by going into the Terminal emulator and typing this in:
Code:
$ su
# mount -o rw,remount /dev/block/mtdblock3 /system
# cd /system/app
# rm Maps.apk
# mount -o r,remount /dev/block/mtdblock3 /system
This will remove the modified version.
afterwards go into the Market and download the newest un modified maps application.
thanks, yeah, i did that... however, when I go to market, it says that Google Maps is "installed" even though the options for "open" and "uninstall" are greyed out.
I am indeed in a pickle.
pilkro said:
thanks, yeah, i did that... however, when I go to market, it says that Google Maps is "installed" even though the options for "open" and "uninstall" are greyed out.
I am indeed in a pickle.
Click to expand...
Click to collapse
Try rebooting.
if you can download the maps from the market then hoorah
if not:
Then try to flash the modded maps back in.
if it still doesnt work after you flash it and try it again, go on the market and you should be able to download the original maps 3.4.0.
otherwise the last resort would be to wipe and re flash the rom.
sorry if this causes any inconveniences.
Yeah, I did get the 3.4.0 from Market working again, but it still does NOT perform multitouch. Is this only available in the moded version on G1?
*edit* I did get multitouch working by installing the update from market first, and then adding the modded version afterwards. Geobeagle is still crashing, however.
pilkro said:
Yeah, I did get the 3.4.0 from Market working again, but it still does NOT perform multitouch. Is this only available in the moded version on G1?
*edit* I did get multitouch working by installing the update from market first, and then adding the modded version afterwards. Geobeagle is still crashing, however.
Click to expand...
Click to collapse
Happy to hear it.
and yeah ive been seeing some posts where people have been saying that somethings have been crashing.
but it should work out fine. and maybe the dev of this app will make a modded ver that wont crash GeoBeagle
Lucky you, how about me?
pilkro said:
Yeah, I did get the 3.4.0 from Market working again, but it still does NOT perform multitouch. Is this only available in the moded version on G1?
*edit* I did get multitouch working by installing the update from market first, and then adding the modded version afterwards. Geobeagle is still crashing, however.
Click to expand...
Click to collapse
I ahve the same setup and got the same result. Which map version did you flash? What method did you use?
MLonon said:
I ahve the same setup and got the same result. Which map version did you flash? What method did you use?
Click to expand...
Click to collapse
I used option 2 from here: http://forum.xda-developers.com/showthread.php?t=627582
Okay, so now I'm wondering if i've destroyed whatever file lets applications access the maps program, because none of the geocaching apps work when I try to show the map. I had done some wildcard deletions in my desperation in trying to fix the maps.
Can anyone point me towards what I can do to fix that? As in what files might need replacing? I've already re-flashed CM 4.2.12.1, but that didn't repair any associations afaict.
pilkro said:
I used option 2 from here: http://forum.xda-developers.com/showthread.php?t=627582
Okay, so now I'm wondering if i've destroyed whatever file lets applications access the maps program, because none of the geocaching apps work when I try to show the map. I had done some wildcard deletions in my desperation in trying to fix the maps.
Can anyone point me towards what I can do to fix that? As in what files might need replacing? I've already re-flashed CM 4.2.12.1, but that didn't repair any associations afaict.
Click to expand...
Click to collapse
Depends on what you deleted.
2 Options.
1.Find out exactly what you deleted and maybe we will be able to help you out.
2.Full Wipe and Re-Flash
These are the only options I see at least.

Want to test out various ROM's, but dont want to loose my wifi tether.. help

I'm using Fresh2.0d right now, and I love it, but I want to test the waters with different ROM's until the final sprint update is released, but whats holding me back is that Fresh has Wifi tether 1.6 in his ROM. When I search the market, I don't see this one, and everyone I do see costs about 8-10 dollars. Is it possible to save the apk file from this program on the computer, and what commands would it be exactly? adb remount, push, etc...
You're not limited to searching the market for apps.
http://code.google.com/p/android-wifi-tether/
Download the 1.6 .apk from the link that funcrusher posted. Use a file manager such as Astro to install the .apk-be sure that allow applications to be installed from unknown sources is checked in application management.
Which release works the best on our hero's?
I remember hearing something about pre-8 not working as well as pre-6 or something of that sort.. But I can't find that post..

app addfree not working.

BigTinCan AdFree Android:
http://www.bigtincan.com/downloads/android.html
I've installed/reïnstalled a few times, but it isn't working anymore (it was a backup file, but I also reïnstalled from market).
It's really a must have application.
Does anyone else also have problems with this app after installing again? (maybe they are down?)
I use this app, love it, but haven't had problems.
What's not happening, that makes the app not work? Will it load? Will it check their servers? At what point does it not work for you?
Having the same problem
robuser007 said:
BigTinCan AdFree Android:
http://www.bigtincan.com/downloads/android.html
I've installed/reïnstalled a few times, but it isn't working anymore (it was a backup file, but I also reïnstalled from market).
It's really a must have application.
Does anyone else also have problems with this app after installing again? (maybe they are down?)
Click to expand...
Click to collapse
I was having a problem, it wouldn't load, so this is what I did. There is a thread here named (how to filter ads on G1), I followed the link, then copied the host list as txt. file. Then I used Android Commander, if you don't have it get it, I just clicked and dragged to system/etc directory. Then I ran the app, it worked immediately, and even took the ads off of TuneWiki, the adds wouldn't come off before. The file has a long list of host, and you can even edit it to add host that aren't there. Try it see if it works for you
It's working again.

-FIXED-[China-only] Market : "Download was unsuccessful..."

[Edit]
Turned out that the lovely chinese governement somehow got to Android
Anyhow, thanks to Marcus, we have the solution, tested & confirmed working by myself.
Please follow the instructions at that link :
hiapk.com/bbs/thread-278678-1-1.html
Then you'll be happy. If you need more detailed informations, let me know.
I haven't been trying to understand the changes I made. If you somehow feel that it's a problem for you, then leave the phone as is. Also, I guess this will be usable only for rooted phones.
Have fun! And once again, thanks to Marcus.
Romain
[End of edit]
[original post, FYI]
Hey all,
Starting yesterday, I am having this error with the market.
Any app I try to get will give me that error : download was unsuccessful, please try again blah~
Weird thing is that it really happened out of the blue, because it was working fine until yest noon. I am on CM 5.0.7.1-N1, with the radio that came with Froyo. Issue exists with Wi-Fi and 3G.
I tried : reboot (multiple times), newer CM, Nandroid restore to a point when it was working, deleted/recreated APN.
I m too lazzy to try and downgrade the radio, and haven't tried to install Froyo.
Strange thing is : gmail app won't connect, but the email app will work (well, I knew that it isn't an internet access related issue, but still...). If I try and install a ROM from scratch, the initial Google login will fail again and again.
Actually, I have one suspicion. I am in Beijing, on China Unicom. I know that China hasn t been kind on Google lately. Any other user in China experiencing this same issue? Or does this just happen sometimes?
Thanks!
I am in GuangDong, and for the past 2 days similar things just happened to me.
I didn't use the GMail app but now you mentioned it, I tried it and it didn't work. It is stuck with "No connection (Retry)" screen
Using Email and setup a GMail account works fine with me as well.
Hopefully, this is not one of the other 'stunt' of the Great China Firewall.
Argh...
I do believe that we may be f***ed, at least temporarily...
Let s see where it goes, but if you do experience the same troubles, then it might a nation-wide thingy.
Are you on China Unicom, too?
Only time will tell.... But let's hope we won't have to give up on Android in China.
Any other Android friends in China having troubles? I ll update the title of the tread, see if we can catch more people's eyes.
Re: [In China only ?] Market : suddenly, "Download was unsuccessful..."
I'm in Shanghai and can only access market apps and gmail syncing with my vpn.
-------------------------------------
Sent via the XDA Tapatalk App
same here in shanghai
i have htc dseire and now same problem happened in shanghai too .
Solved
Guys there is a fix here: hiapk.com/bbs/thread-278678-1-1.html
Good Luck
Marcus
Hey, good catch!
Will give it a shot, then report back here how it went.
Thanks
[Edit] It works! Follow Marcus link, and you ll get unstuck.
If anybody needs detailed directions, feel free to let me know.
Will edit the title and original post.
Romain
***EDIT
Gmail and the Market work on my US simcard roaming on China Unicom.
I'm in Guangdong; i've also had the same issues with Gmail and the Market at the same time. Both don't work on the network (Unicom) or WiFI connections; I'll have to give that fix a try later, thanks.
Hello!
Can somebody translate the procedure into English?
Thanks!
The procedure is to edit your host file with the information shown.
I m happy to share this, so here is the easy way to do:
1-get the file rootexplorer, which is attached here, if you don't have it.
2- install it, of course If you do not have a file explorer to get to it, then push the file.
3- open it, then find the folder /etc, open it
4- remember to touch the button "Mount R/W" to change the status of the text r/o into r/w right next to the button.
5- find the file called "hosts", and long press it. scroll all the way down to "Open in Text Editor"
6- there is already a line of stuff in there, so just skip a line and type :
209.85.135.100 clients2.google.com1
209.85.135.101 android.l.google.com
209.85.135.100 android.clients.google.com
underneath. I guess the spacing does not really matter, but they have to be each on a different line, as shown here. Also, it is a pain in the ass to type, so make sure there is no typo at first try
7- in options, save&exit (it creates a backup by itself)
8- reboot (not sure if that s necessary)
9- it works
there you go.
Does this fix works with a phone not rooted?
Yoopo said:
Does this fix works with a phone not rooted?
Click to expand...
Click to collapse
Hi, I am guessing that no, it won't, since you need to access root files. I m not sure but seems to make sense to me.
Sorry! Also, this is what is preventing me to go straight away to Samsung i9000, since it isn't rooted yet...
I didn't root my Legend yet and if i do so and the fix doesn't work, I will be stuck with the phone with no app on it.
At least now I have all my apps and only Gmail and the Market don't work.
Any idea from where this issue come from and if it will resolve itself?
It's the end of the chinese holiday... so maybe some hope...
sorry i m naive in the field of this mobile tech world .
i reached to the hosts file through your solution but i can't change read only files to write
this rooting stuff looks too complicated for htc desire .
is there any other way , without roooting my desire
Sorry, mate. I don't own a desire, so I really cannot help with this issue.
True enough, it's only those two apps which will not work, but still a little annoying to have to go and look online for the apps and to download them manually.
Ask on the Desire forum about this
4- remember to touch the button "Mount R/W" to change the status of the text r/o into r/w right next to the button.
In my htc desire i can't get this "mount r/w" is its the functionality of root explorer . because i can't see any option to change from r/o to r/w
Hey, what can i do if my phone isn't rooted?
Same problem as everyone has, apps not installing and no gmail.
I dont get it, why it happened. Stupid Great firewall.
I have froyo 2.2. how can i root it just to change hosts files? dont want any custom roms tho. tnx

Tun.Ko for Captivate

Has anyone been able to successfully re-compile a tun.ko for the captivate kernel?
Office still has old IPSEC group ID based vpn
Thanks.
[mods please move to development]
Trying my hand at building that module from the vanilla Eclair + Samsung code drop. Will let you know how it goes...
I used this tun.ko, installed openvpn with the openvpn installer from the market, and installed the VPN_Connections_v099.apk from code.google.com/p/get-a-robot-vpnc to manage the connections. I am able to connect to my cisco vpn concentrator with my captivate. Hope this helps...
where on the phone do we copy the tun.ko file?
I put mine in /system/lib/modules/ and openvpn in /system/bin/. I also installed openvpn settings from the market and enabled the "load tun kernel module" option and changed the "load module using" to insmod. For some reason it would not connect without this, I guess because the tun module is not being loaded correctly. Also you can manually load the module by typing “insmod /system/lib/modules/tun.ko” and check to see if it’s loaded by typing “lsmod” and you should see “tun 11088 0 - Live 0xbf195000”
This worked for me.
loaded it manually, not sure if it'll load automatically now or not, haven't tried it.
Can't get this working...
Do you have to start OpenVPN and manually load the tun before launching VPN Connections? Of course after all of these settings...
Still not working...
Okay, I can manually insert and load the tun.ko and installed the VPN Connections app to this version. Every time I try to connect, it INSTANTLY says 'failed to connect'. Any ideas? I have all the right things in all the right places...OpenVPN installed and configured (although I can't see how I need this with the tun.ko manually started and running). HELP! I really need VPN to work on this device or it is going back...
Great information in this thread. I have Busybox installed, Open VPN binaries installed and Open VPN settings installed as well as the Vpn_connection_99.apk file. One issue though!
HOW DO I MANUALLY DROP THE TUN.KO FILE INTO THE SYSTEM/LIB/MODULES FOLDER?
I tried to using Droidexplorer with no luck, so I copied it to the sd card and tried to copy paste it using Astro File Explorer with no luck either. How the hell do I get it into that folder? I'm rooted and running the JH7 captivate stock ROM.
I feel like once I get it in there, I can manually start the file and get this puppy up and going! I tried to put it into another folder and just point Open VPN settings to it there but it just won't work like that. It needs to be in the Modules folder!
Thanks in advance!
Ugh I've tried about everything and no luck with copying the tun.ko file into the system/lib/modules directory.
I've gained root access using adb shell and su commands and I don't receive any errors in the adb shell when I perform cp tun.ko system/lib/modules but it does not copy the file. I tried to chmod 777 the lib folder but was denied. I'm learning I may not have NAND unlocked for full root. I tried to manually start the module from my sd card but it won't work that way either.
Any suggestions?
EDIT: OK BIG IMPROVEMENT. I WAS ABLE TO WRITE THE TUN.KO FILE TO A DIFFERENT LOCATION IN XBIN AND POINT THE OPENVPN AT THIS. AFTER AN LSMOD CHECK I CONFIRMED IT'S RUNNING. CAN ANYONE HELP ME BUILD A VALID OPENVPN .OVPN FILE FOR CONNECTING TO MY VPN? IT'S A STANDARD CISCO ASA IPSEC VPN THAT HAS A GROUP NAME, GROUP KEY AND VPN ADDRESS.
Thanks!
Here is the link that got me able to install the module elsewhere for all you folks facing NAND issues and not able to install tun.ko in the system/lib/modules folder!
http://forum.xda-developers.com/showthread.php?t=793018&highlight=openvpn+config
Thread moved to Q&A.
OK. I've got true ipsec vpn working perfect on the captivate with the latest jh7 build. Cisco asa 5500 is the device being vpnd through.
Sent from my SAMSUNG-SGH-I897 using XDA App
Is anyone doing anything new and/or differently than what's been described in this thread to successfully connect to a Cisco VPN Concentrator? I know October is only two months back, but a lot can change in two months around here.
Also, there was a question on page 1 asking about whether the tun module had to be manually loaded each time or not. That was never answered. Can anyone shed some light on that, please?
Bunkaido said:
Is anyone doing anything new and/or differently than what's been described in this thread to successfully connect to a Cisco VPN Concentrator? I know October is only two months back, but a lot can change in two months around here.
Also, there was a question on page 1 asking about whether the tun module had to be manually loaded each time or not. That was never answered. Can anyone shed some light on that, please?
Click to expand...
Click to collapse
Give me til tomorrow morning. I have EXACTLY what you are looking for. Consider donating if it helps... . It does need to be loaded each time but in the video I point at 2 apps that will make loading it literally a 3-5 second process and not involve you having to use a pc to load it.
http://forum.xda-developers.com/showthread.php?t=871159
Reason for OpenVpn Settings
fixitsteve said:
Okay, I can manually insert and load the tun.ko and installed the VPN Connections app to this version. Every time I try to connect, it INSTANTLY says 'failed to connect'. Any ideas? I have all the right things in all the right places...OpenVPN installed and configured (although I can't see how I need this with the tun.ko manually started and running). HELP! I really need VPN to work on this device or it is going back...
Click to expand...
Click to collapse
The reason I use OpenVpn settings is because when you restart the phone you have to reload the tun.ko and OpenVpn settings is an easy way to do that, it also fixes the dns after you disconnect from the vpn by going to setting and fix dns. The process I use to start the vpn is (starting from a cold boot of the phone)
1. I ALWAYS leave the check box in OpenVPN settings UNCHECKED (OpenVPN off) unless I'm starting the tun.ko after a boot. After the phone boots I open OpenVPN settings and check the box next to OpenVPN and wait a few seconds, then uncheck it. This loads the tun.ko and only needs to be done after a reboot.
2. go to VPN connections and click and hold the vpn connection you made to your VPN concentrator and click connect. (you should be connected at this point)
3. after you disconnect the dns on the phone may not change back automatically from the VPN dns servers, so go to OpenVPN setting and click setting and Fix DNS. You should be able to get out to the Inet again.
Cognition 3.04
Has anyone gotten this to work on the Cognition 3.04 ROM? I keep getting:
fatal:cannot allocate TUN/TAP dev dynamically
K, I don't know what I'm missing here. There's not word one about config files or their format in this thread but, as far as I can tell, this is a fairly worthless collection of bits without one.
I've reviewed the thread 3 times and searched the forums, where can I find formats for these mysterious conf files?
Some custom roms have tun.ko built in. I use Paragon RC6, based on speedmod kernel. To activate tun.ko I rebooted into recovery mode, chose speedmod tweaks and activated tun.ko, rebooted and installed OpenVPN Installer and OpenVPN Settings from the market. Then had to adb some symbolic links (google is your friend). After d/l'ing conf files from my commercial OVPN supplier and some editing the setup works very well.
Sent from somewhere with my Cappy/ParagonROM/OpenVPN
visionlogic said:
Some custom roms have tun.ko built in. I use Paragon RC6, based on speedmod kernel. To activate tun.ko I rebooted into recovery mode, chose speedmod tweaks and activated tun.ko, rebooted and installed OpenVPN Installer and OpenVPN Settings from the market. Then had to adb some symbolic links (google is your friend). After d/l'ing conf files from my commercial OVPN supplier and some editing the setup works very well.
Sent from somewhere with my Cappy/ParagonROM/OpenVPN
Click to expand...
Click to collapse
If my ROM doesn't have tun.ko built in, is it possible to use from a different ROM?

Categories

Resources