Skip to content

Allow use of external tor provider (e.g. Orbot) in Tor Browser Android

We don't currently have a supported way of doing this. The original stated problem (no way of accessing about:config) has since been rectified but that is a debug feature, not a user-facing one. Some users want to be able to skip connect-assist and use their own manually configured tor daemon.

original text:

Summary

The following change fe2aed85 is causing an infinite loop (with R.string.connection_assist_connect_to_tor_before_opening_links) when extensions.torlauncher.start_tor is set to false. Also, when network.proxy.socks is changed to 127.0.0.1 and network.proxy.socks_port is changed to 9050 (to setup an external tor service), this commit reverts back those changes to default settings when Tor Browser is restarted, preventing any connection to the external tor service.

Steps to reproduce:

How one can reproduce the issue - this is very important.

  1. Set extensions.torlauncher.start_tor to false in about:config
  2. Restart Tor Browser
  3. Unable to connect to internet and unable to go back into about:config with infinite loop messages from R.string.connection_assist_connect_to_tor_before_opening_links

What is the current bug behavior?

Stuck, unable to connect to external proxy or internal tor service and unable to access settings in about:config to change it back. Must reinstall Tor Browser or clear all data to fix Tor Browser.

What is the expected behavior?

Respect changing the settings for network.proxy.socks and network.proxy.socks_port to something other than the default. Do not overwrite them.

Environment

Android Nougat official release of tor-browser-android-aarch64-14.5a2.apk

Relevant logs and/or screenshots

Edited by morgan
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information