yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] daveba:
Ok, in transproxy 1 (older version) i tried to use the system version of iptables, then some people reported that that didn't work, so i bundled iptables in transproxy2 and later versions of transproxy1. If you know adb commands can you do

adb pull /data/data/com.hasbox.tproxy/redirect-start.sh
adb pull /data/data/com.hasbox.tproxy/redirect-stop.sh

then edit it with vi or something but ensure it's kept in unix format and change the explicit path to iptables in the script to point to your system one and then push both of them back and change the permissions like so

adb push redirect-start.sh /data/data/com.hasbox.tproxy/redirect-start.sh
adb push redirect-stop.sh /data/data/com.hasbox.tproxy/redirect-stop.sh

adb shell chmod 700 /data/data/com.hasbox.tproxy/redirect-start.sh
adb shell chmod 700 /data/data/com.hasbox.tproxy/redirect-stop.sh

and then try again. If it works let me know and i will remove the iptables i'm bundling unecessarily.
[Desire Android Development] daveba:
I can probably get NTLM working but it seems it will need yet another binary to be bundled. It seems no one proxy out there does it all. I may need to do some merging when i get back.
[Desire Android Development] daveba:
I have the fixed one which double quotes the user/pass and will release it later this evening hopefully.
[Desire Android Development] daveba:
Quick update.

I have transparent SSL working with redsocks on my desire now. So All apps seem to work. I've yet to try out XMPP (gtalk) as i am running out of time packing, but if you have a socks server or a HTTPS server which supports CONNECT you can transparently proxy random ports. I done limited testing with Gmail and Market and they seemed to work fine.

I will fix up the GUI and release on my return.
[Desire Android Development] Dr_Death:
i got permission denied:

so i run adb shell:

when i run TransProxy2 I got this error "redirect-start.sh failed (2)"
[Desire Android Development] anryuu:
Thanks so much!!! Version 2.00 works perfectly with my motorola droid/milestone running android 2.1 and using authentication. Good job!!
[Desire Android Development] daveba:
You get permission denied because the directory on your desktop/laptop from where you ran the command is not writeable. Ensure you run the command from your home directory or a temporary writeable workspace.

You realise the iptables line you concaternated to the redirect-start.sh is incomplete ?

You should be just able to run the script from adb by just doing

./redirect-start.sh

in the /data/data/com.hasbox.tproxy directory.
[Desire Android Development] Dr_Death:
hi, i do have write permission on my pc (i am root), i got the access denid cause file redirect-start.sh owned by user "app_109" and have 700 permission, and if i run "adb pull redirect-start.sh" it will be executed by user "shell" who doesnt have read permission for redirect-start.sh

I run redirect-start.sh, and got this error message:

this error caused by the option "-p tcp"
[Desire Android Development] Dr_Death:
sorry duplicated post
[Desire Android Development] daveba:
As mentioned in my previous response, the error from redirect-start.sh is because you havent correctly put the full iptables line in. The clue is in the message "iptables v1.3.7: Couldn't find target `RE'". Look in the first post or in the original redirect-start.sh script.
[Desire Android Development] Dr_Death:
oops my bad, now i copy the complete line, and just got this error from the command line:

but from the application it self everything run fine.

update: NTLM authentication didn't work with me

thanks buddy
[Desire Android Development] harry_ss:
Some Noob questions please.

Recently got Desire and came to know about its limitation to put proxy into wifi connections, so that's made my device unusable at office. :)

Well I browsed to this thread and it seems that I can do this thing using this application as mentioned in the earlier threads.So to do this:

1. I need to root my phone with custom ROM.

2. The Install Transproxy.

3. If everything goes well, then it will work.

Please correct me if I'm wrong?

Thanks in advance
[Desire Android Development] watnuweer:
Great work!

This is a real life saver.

The only thing that is left for me dream about for something like this to work even better is a detection of the proxy being available.

Now I have to manually switch the proxy on/of if I walk into the office.
[Desire Android Development] shokwaav:
thanks for the hard work. when will it work with https?
[Desire Android Development] Veldrin:
Thanks for this this application, daveba!

Finally I can use Wifi with my HTC Desire in my dormitory (proxy with authentication is required).

Everything is working now: Browser, Market, Games, Tapatalk, Maps, Dropbox, etc.
[Desire Android Development] daveba:
Yes it should, but ensure your rooted ROM has iptables support in kernel, and you have the iptables binaries (as i will be removing them in the next release)
[Desire Android Development] daveba:
Thanks for testing. I will remove the iptables binaries and fix the explict paths in the script in the next release.

NTLM doesn't work. I explicitly stated only Basic Authentication would work in my first post. I will try and get it supported soon but no promises as i have no way to test this configuration.
[Desire Android Development] daveba:
The only way this could be possible is if i make it a plugin for 'Locale' or other location based services. Not on the todo list at the moment. Let me get this stable and then maybe i'll look into it. Remember this is done in my free time and provided for free.
[Desire Android Development] daveba:
This is harder than you think because unless you have support from the app itself you can't easily transparently proxy https connections since the app makes a direct connection to the target https server. If you are able to set a proxy in your app you can use the HTTPS CONNECT protocol to do this as a proxy, but you cannot transparently do it easily. As mentioned previously, i have found a way round this if you have a SOCKS server or an HTTPS proxy (unauthenticated) that allows arrbitrary port connections in your corp/uni environment. I had this woking nicely before i left on hols. Need to tidy it up on my return and do a prelease.
[Desire Android Development] magdap:
happy holiday and we'll wait for you til you return :-)
[Desire Android Development] imemish:
Thanks for your efforts.

I have a small - dumb - question , why does a program like the 'email' app works on the proxy whereas the 'gmail' app doesn't work. Don't both of them use authentication and hence need https?
[Desire Android Development] Ethan_Hunt:
Thanks a lot, great app, works well on my Samsung Galaxy S.

I've got a question too... I'd like to specify destination address that should not go to the proxy (for example to reach mail server in the corporate network directly), I guess there's an easy way to do this editing just the script but I don't know enough about iptables.
[Desire Android Development] daveba:
gmail uses https port whereas regular email uses pop/imap ports which clearly your network doesn't block.
[Desire Android Development] daveba:
You should just be able to use the ! operator, so to exclude host 192.168.1.123 for example you'd need to change the relevant line in the redirect-start.sh script to this

iptables -t nat -A OUTPUT -p tcp ! -d 192.168.1.123 --dport 80 -j REDIRECT --to 8123
[Desire Android Development] imemish:
Yes, that makes sense. Thanks again.
[Desire Android Development] Armo11:
At last i can turn it on. i update my rom to get it just go to the university to try it. thx daveba for the help and for your effort to make this great app.
[Desire Android Development] shokwaav:
thanks enjoy your holiday :)
[Desire Android Development] SamMackrill:
Help testing NTLM

If you need someone to test NTLM, I can help
[Desire Android Development] sharky34:
Hi,

I am trying to run proxy on my Galaxy S still in 2.1 with voodoo lagfix.

First, I got force close when trying to launh tproxy.

Now, I get the message "redirect-start.sh failed (139)"

I hope it didn't broke my "normal" wifi connection.

I am impatient to hear from anyone who has a good idea.
[Desire Android Development] Ethan_Hunt:
Works perfectly, thanks again... waiting for next version with https work around (I'm behind a proxy without authentication...)
[Desire Android Development] Webluke:
This rocks! It works better then the roms I have tried to use proxy settings on at the school I work at. This is also the first of the apps I have found that do work. Not only did web surfing work, but so did GMail and also the streaming player Cherry Rplayer worked.

For those that this doesn't work you need root on your phone.

I'm running a Nexus One with TheOfficial Nexus1 v2.11.3 rom.
[Desire Android Development] sharky34:
How did you do that ? I am on I9000 and It Does not work.

Which version of the tproxy did you install ?

Work network is wpa2 entreprise with mchapv2 auth. I connect the wifi but i am afraid that to go out the proxy is ntlm.

Anyway, first step should be to get tproxy start. Then auth.
[Desire Android Development] liang3404814:
Hi I really appreciate this app as the ban of twitter and other websites in China is more than annoying. Is there any chance that you make this app similar as the firewall app, where we can route certain application via the proxy?
[Desire Android Development] rj.2001:
Hello,

thanks for the nice apk. I'll try tomorrow if it works on my factorys wifi.

But one question:

is there a way to switch the proxy automaticly with "setting profiles full"?

Let me explain:

I have an profile (in setting profiles full), wich is activatet if I near my factory wifi. So I only need a way to switch automaticly the proxy. If I leave the location, the profile stops. After that It should be disable the proxy settings.

The question is:

How?

Thanks for helping me.

Ciao
[Desire Android Development] shokwaav:
btw why does it have to be 'transparent'?
[Desire Android Development] himynameisbunny:
You sir, are a god among men.

I can finally get on my University network with my Nexus!

Throw this up on Market and I will gladly buy or donate :D
[Desire Android Development] daveba:
NTLM is not supported (currently).
[Desire Android Development] daveba:
I like the community support for asking to donate for this, but at this point i want it to be free. There are still some bugs and auth schemes i want to support before i even consider taking a dime for it.
[Desire Android Development] daveba:
Unfortunately i dunno how 'settings profile full' works, but for sure for 'Locale' there is a plugin that can run arbitrary scripts (even as root) so all you need to do is point it to the /data/data/com.hasbox.tproxy/redirect-start.sh and redirect-stop.sh and you should be away. You should ask the author of 'settings profile' to see if there is a plugin to run linux scripts.
[Desire Android Development] daveba:
Because android doesn't give you the ability to set up proxies in applications. The browser does support it, but you need to enable it in sqlite db and there is no preference for it. CM and it's variants have exposed this setting as a preference, but it doesn't support basic authentication, ntlm, socks, etc. And it only works in the browser.

The hope is that perhaps the next (or next+1) android version will support this as a global setting then we don't need this app at all.
[Desire Android Development] daveba:
Not sure about this. If you already have an app that does this (the firewall app you mention) why do you need to use this one ?
[Tilt, TyTN II, MDA Vario III General] lildaan:
Hey everybody,

When i want to connect to internet with my kaiser, It crashes.

It Restarts and then if i try it again the same happens.

Im running Basic windows but i used hardspl.

Tnx allready

Grtz Daan
[Tilt, TyTN II, MDA Vario III General] lildaan:
I Often changed rom..

hardreset doesnt work.
[Tilt, TyTN II, MDA Vario III General] ChumleyEX:
So you do a hard reset, you've changed to another rom, have you tried the factory rom?

What rom are you on right now, what radio are you using?

Just saying I have hardspled doesn't mean much.
[Tilt, TyTN II, MDA Vario III General] lildaan:
well, i tried the factory rom also.

Also doesnt work,just every rom works.I install them and then they work perfect.Like 30 minutes later if i go on internet,it crashes. and if i dont enter my pin nothing is wrong.
[Tilt, TyTN II, MDA Vario III General] stylez:
Get a new battery, interenet = more drain strain on battery reboot.

Least i'd do that as next step. ;)
[Desire General] owziee:
I'm so sick of this... My whole music collection is screwed since it's encoded into he-aac v2. Since the 2.2 update parametric stereo isn't working and the sound quality is ****!

Google have already released a patch for it but it needs to be implemented by HTC, so please complain at the HTC community and maybe they'll read it and release a patch for us as soon as possible http://community.htc.com/na/htc-forums/android/f/97.aspx

This is a MAJOR issue and it's affecting many streaming music applications aswell!
[Desire General] gogol:
Probably not many users like AAC?

I am using MP3 :)

Good luck with asking HTC to release patch!

Probably it is better to root your device and install another ROM.
[Desire General] EddyOS:
Exactly!

MP3 ftw!!! AAC is an Apple-only file format (well, it's not but it's iTunes which I REFUSE to use)
[Desire General] tommo123:
AAC isn't an apple format. it's just the next step beyond MP3.

i use AAC exclusively now (and i hate all things apple) and they play fine on the phone
[Desire General] EddyOS:
Still think AAC is a fail (WAV is the ultimate file format!!) - suppose you'll have to complain to HTC, or go back to 320kbps MP3 (which is better IMO than AAC anyway). If it was as big an issue as you say there'd be a lot more people complaining on here...
[EVO 4G Q&A, Help & Troubleshooting] nflach:
I ran into the bootloop issues while flashing cm6 nightlys, but when others were able to flash the new ones, I could not. Then I couldn't flash the snap kernels either, kept getting bootloops. So I rerooted with toasts part 1&2 and now I'm stuck on dc 3.2.3 with netarchy-toastmod 3.7.5 kernel and the 1.34 pri. I've got the latest radio. Everytime I try to flash dc3.5 I get an error writing boot at line 396 and with fresh I get error at 434. Cm6 just gives me bootloops. Any help would be greatly appreciated. Thanks.
[EVO 4G Q&A, Help & Troubleshooting] omegasun18:
thats really weird. You may have more luck and get flamed less in the Q&A forum. Just to make sure you are wiping data/cache/davik before attempting to flashing correct?
[EVO 4G Q&A, Help & Troubleshooting] nflach:
Yeah, I've tried a bunch of times with full wipes using both clockwork and amons recoveries. Thanks for the heads up on the flaming.
[EVO 4G Q&A, Help & Troubleshooting] arozer:
Before you flash CM6 Nightly's, you should:

Flash another 2.2 Rom and then NOT do factory data/reset.
[EVO 4G Q&A, Help & Troubleshooting] MikeC84:
Use baked snack IMO the best rom here and everything works.
[EVO 4G Q&A, Help & Troubleshooting] nflach:
I'll try baked snack but my problem is that I can't flash froyo time... I get errors and the installation aborts
[EVO 4G Q&A, Help & Troubleshooting] jasonrush:
Did you try using a RUU to go back to stock and start over?
[EVO 4G Q&A, Help & Troubleshooting] nflach:
no, i haven't tried that yet but that's probably my next step. I was thinking of trying unrevoked forever and then taking the ota. maybe I'll try the 2.2 ruu since 2.2 root is out.
[Android Software/Hacking General [Developers Only]] jimbob456:
Hi, I recently changed my ADB setting to setInstallLocation 2 so I could move some large games to my SD card, this morning I changed the setting back to 0 and now my Desire will not recognise my card, in the notification bar it keeps saying 'safe to remove SD card'.

I've tried rebooting the phone and remounting but nothing is working.

Does anyone have any idea how I can sort it?

Thanks
[General Questions and Answers] jona29:
is it possible for some one to create an app to delay the time a sms message is sent ,by upto say 12 hours ?

app could be used as an alarm ,reminder etc .

maybe even possible to send mutiple sms within a minute or two of each other , like the snooze function of an alarm .

i know this is already available for windows mobile devices , but nothing for android
[Desire Q&A, Help & Troubleshooting] hallydamaster:
Hi there everyone,

I just decided yesterday to root and flash LeeDroid 1.9a, and what a nice ROM.

Then today I was about to transfer my music, and Navigon maps wich is something

like 4 GB's of DATA. But then the trouble begins, as somewhere in the process, the

device locks up, and the only thing to do is removing the battery. I am not really

secure about this, and after the second time it happened, I am getting a little scared

about trying this again. I was trying to do the job connecting the device with the

cable, and setting the device to "diskdrive mode".

The reason I thinks it locks up, is because of the App2SD+ implementation, but as

I am not very experienced with this, I really do not have any proof. :confused:

Maybe someone has another more secure method of dealing with file transfers, or

is the only option to remove the SD card and use a cardreader?

I am sorry if anyone needs clarification of anything as english is not my native

language. :o

Regards,

hallydamaster
[Desire Q&A, Help & Troubleshooting] cr1960:
usually it is best to post questions regarding problems with individual roms in the thread specific to that rom.... (a tip for the future )

BUT - usually I prefer to move large chunks of data around by removing the sd card and using a card reader or pc slot. always seems more reliable (and faster as well).

Good luck!
[Desire Q&A, Help & Troubleshooting] bharata212:
I use LeeDroid as well, often plug-in the phone in data transfer mode but never once see a problem..

Do precautions though, such as both eject usb device (on windows) and change to usb charging (on the phone), before unplugging.. I feel safer when having redundancy :)

from my Desire + XDA App
[Desire Q&A, Help & Troubleshooting] hallydamaster:
Thats also why I am wondering why it went wrong with my device.

Are you using App2SD+ as well, or is it App2SD with Modinstalllocation?

Have you tried transferring large chunks of data, lets say 3-4 GB's?

Regards,

Hallydamaster
[Galaxy S I9000 General] WoutH:
For some reason I cannot get my girlfriends phone to boot setCPU properly. Well, it does boot, but it doesn't get root access. So I've downloade SuperUser, but this doesn't do it :(.

Does anyone know how to get setCPU working>?
[Galaxy S I9000 Q&A, Help & Troubleshooting] EarlZ:
I just flashed my phone to jm6 and i noticed that my contacts are now doubled with another group from google, is there a way to prevent this in the future as i dont recall syncing with google contacts..
[Galaxy S I9000 Q&A, Help & Troubleshooting] Ancient_One:
If you used a backup program to reinstall the contacts this can be a cause. Better to just resync the contacts fresh from the source.

Same goes for calendar entries.

In my case I was getting duplicates from Outlook and gmail.

I only use gmail now and a restore of the backup can cause duplicates as the program will resync as well.

So my fix was easy let it resync never restore the contact and Calendar from a backup.
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
i'm actually sort of in the same boat, but my case is slightly different

i'm trying to UN-duplicate all my contacts

calendar was a piece of cake, but contacts is way different as i sync them across MSN, Yahoo, Google

anyone know a good app to MERGE all duplicated/triplicated contacts into 1?

then i can wipe it from my MSN/google/yahoo and then sync the consolidated one back to Google/MSN/Yahoo
[XPERIA X10 General] Jikenda:
Hey, does anyone know how to setup the X10 to stream audio and/or video from a home media server? Is there an app for this?

I thought I could do it with VLC, but I'm not quite sure how to set it up or if streaming is a capability in the first place..

Any ideas or suggestions? Thanks a lot.
[XPERIA X10 General] sasc:
Check our Subsonic on the market. Its free and it works.
[XPERIA X10 General] Jikenda:
Thanks for the response, I'll check it out. Also trying ORB app if anyone is following this thread...
[EVO 4G Q&A, Help & Troubleshooting] arausch:
Is there a way to adjust the volume when you type a number in the dialer? I've tried adjusting every volume slider and they seem to have no effect unless you go all the way to silent.
[EVO 4G Q&A, Help & Troubleshooting] fachadick:
menu -> settings -> sound -> Audible touch tones

the only options there though, are long tones, short tones, or off. Don't think it's possible to change the volume of the tones though through some sort of slider though..
[Windows Phone 7 General] dani rohn cantor:
is it possible for my acer dx900 phone to have a windows mobile 7 platform? if yes.. where can i download the windows mobile 7 installer..

:)
[Windows Phone 7 General] theomni:
Unlikely. Refer to the sticky on this forum.

Your phone doesn't meet the minimum requirements (hardware-wise) for a WP7 OS.
[Vibrant General] DarkAgent:
I have been on here a couple of times complaining about my lousy battery. Well, today I decided to see exactly how far I can take this thing before it conks out on me. Here are my results.

The phone up-time was just over 19 hours, with 14% battery left. (I took my results at 14% because I didn't want the phone turning off on me thus losing all data.) About 49% of the battery was used by the screen, which was on for a total of 3 hours and 20 minutes during this 19 hour period. The rest was split up among other activities, but the most notable/concerning area is 43 seconds of voice took up almost 2% of total battery usage.

I could probably pull out another half-hour or so usage before the phone's battery totally dies, so my final number is 4 hours of usage out of a full charge. This is total usage, i.e. the screen was on for 4 hours.

The phone was at lowest brightness all day except for 10-15 minutes where I had it on full 'cause I was using it outside. I am not using any CPU throttling apps, or such. Background is not fully black. I use one widget, rest are icons. I have Advanced Task Killer which I routinely use to kill tasks, but to be completely honest, unless there is a rouge task ATK does not increase battery life by much. Phone was on 3G primarily, although there were times during the day when I was on EDGE because of weak signal.

All in all, the battery on the Vibrant is pathetic for what it has (Super AMOLED, 45 nm, etc.) but I am glad I can at least last a day. Hopefully Samsung has addressed battery issues in Froyo.

Feel free to post your results on how long you can make your battery last below, so we can all get a better idea. Please do not post "my battery lasts XX days" - give details on your usage, like how I mentioned the battery was at 14% after 19 hours up-time, but actual usage was 3 hours and 20 minutes. Often times it seems like many people brag about how "great" their Vibrant's battery is, but really they rarely use the phone all day hence the "great" battery life.
[Vibrant General] reaton33:
I completely feel your pain. I had the same issues with my vibrant also. I personally do not believe it is the battery any more because after I applied the ryanza one click lag fix my battery life practically tripled. I kept a very close eye on my usage and settings for the first few weeks. I would get about 12 hours out of a full charge and I would barely use the phone. Frustrated me to no end because I would hear people say that 12 hours with a powerful phone like vibrant is expected. To me it was not acceptable.

I never changed any settings or installed any programs after doing the lag fix but it certainly had a drastic effect. Ill get more statistics when I get home, im at work right now.