Opened 10 months ago

Last modified 5 months ago

#31814 new defect

Moving Tor Browser onto SD Card breaks app on Android

Reported by: sysrqb Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-mobile
Cc: sisbell Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

We received a report that the app breaks when it is moved onto an external SD Card (or additional storage partition).

 - Einstellungen im Tor-Dienst werden aktualisiert
 - updating torrc custom configuration...
 - success.
 - checking binary version: 0.3.5.8-rc-openssl1.0.2p
 - Orbot startet ...
 - Unable to start Tor: java.io.IOException: Cannot run program
 "/mnt/sdcard/org.torproject.torbrowser-1/lib/arm64/libTor.so" (in
 directory
 "/data/user/0/org.torproject.torbrowser/app_torservice"):
 error=13, Permission denied

It seems like tor-android-service is expecting a relative path for libTor.so within the app's local storage, but it is receiving an absolute path somewhere else.

Moving Fennec onto an sdcard works, so we can see how geckoview loads libxul.

Child Tickets

Change History (2)

comment:1 Changed 5 months ago by ha_demontpellier@…

hello,

To give a little more, being one of the people who reported the problem (from the frontdesk), what I can say for my part is that it only concerns the loading of TOR. Whether it is Firefox Focus or FF Nigtly, moving the browser to the memory card does not affect its operation

Now not being a developer, I do not know how to help more in the finding of loading. Unless I have a little help concerning the tools to use.

comment:2 Changed 5 months ago by sisbell

I suspect that this problem is caused since Android platform is moving the libraries to a protected area as part of app install. In the past, we were manually copying the native libraries around from within the app.

I'll need to do a little more research.

Note: See TracTickets for help on using tickets.