Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

startup error: tor.so not found #150

Closed
pgerber opened this issue May 12, 2018 · 18 comments
Closed

startup error: tor.so not found #150

pgerber opened this issue May 12, 2018 · 18 comments

Comments

@pgerber
Copy link
Contributor

pgerber commented May 12, 2018

Orbot fails to start after update to Orbot 16.0.2-BETA-1 with Tor 0.3.3.5-RC. I tried both, the universal APK and the APK for armabi.

OS: Android 6.0.1

signal-attachment-2018-05-12-142408

@rjmalagon
Copy link

Me too.
Inspecting app and data folders, I found that obfs4proxy.so and pndsd.so are missing too.
I extracted them from the base.apk and put in the lib folder (not an option for non rooted systems). It somewhat works, but vpn mode blows.
This happens with arm and universal flavors of the apk.

@n8fr8
Copy link
Member

n8fr8 commented May 14, 2018

Can you both tell me more about your devices?

Are they rooted? which roms/OS version?

Is Orbot installed internally or externally (sd card)? Thanks!

@pgerber
Copy link
Contributor Author

pgerber commented May 14, 2018

Mine is a Blackphone 2 with Silent OS 3.0.22 (Android 6.0.1) and Orbot is installed on internal storage and the device isn't rooted.

@rjmalagon
Copy link

rjmalagon commented May 14, 2018

My device is a Moto G3 (Osprey, 1GB Ram variant) with Lineage 14.1 (Android 7.1.2). Orbot is installed on internal storage, the device is rooted but disable by default.

I tested it on external storage too.

When installed, only libtun2socks.so appears on the lib folder.

You are welcome, and thanks for this wonderful tool.

@n8fr8
Copy link
Member

n8fr8 commented May 14, 2018

Thank you both for the quick feedback. We are trying a new binary installation method that will make the APKs smaller and more efficient, so please bear with us!

@pgerber
Copy link
Contributor Author

pgerber commented May 14, 2018

Just tested it with a Samsung Galaxy S4 running LineageOS 7.1.2, same issue.

Here is the logcat output for for the universal and armeabi APKs covering the installation and first run:

log_armabi.txt
log_universal.txt

@pgerber
Copy link
Contributor Author

pgerber commented May 14, 2018

I enabled root access for ADB, this is how the file system looks like:

kccat6:/ # ls -lhR /data/app/org.torproject.android-1/                                                                                    
/data/app/org.torproject.android-1/:
total 6.5M
-rw-r--r-- 1 system system   13M 2018-05-14 16:14 base.apk
drwxr-xr-x 3 system system  4.0K 2018-05-14 16:14 lib
drwxrwx--x 3 system install 4.0K 2018-05-14 16:14 oat

/data/app/org.torproject.android-1/lib:
total 2.0K
drwxr-xr-x 2 system system 4.0K 2018-05-14 16:14 arm

/data/app/org.torproject.android-1/lib/arm:
total 66K
-rwxr-xr-x 1 system system 130K 1979-11-30 00:00 libtun2socks.so

/data/app/org.torproject.android-1/oat:
total 2.0K
drwxrwx--x 2 system install 4.0K 2018-05-14 16:14 arm

/data/app/org.torproject.android-1/oat/arm:
total 1.0M
-rw-r--r-- 1 system u0_a29999 2.1M 2018-05-14 16:14 base.odex

@n8fr8
Copy link
Member

n8fr8 commented May 14, 2018

@pgerber
Copy link
Contributor Author

pgerber commented May 14, 2018

Tor functionality is working now. However, Orbot crashes when VPN mode is enabled.

logcat.txt

@n8fr8
Copy link
Member

n8fr8 commented May 14, 2018

@pgerber is the crash on the "Samsung Galaxy S4 running LineageOS 7.1.2" or another device?

@pgerber
Copy link
Contributor Author

pgerber commented May 14, 2018

The logcat output is from the Samsung Galaxy but it crashes on the Blackphone 2 too.

@Le1b1
Copy link

Le1b1 commented May 14, 2018

Same here on a Google Pixel 2 running latest stock OS.
Could provide a logcat output if helpful.

@pgerber
Copy link
Contributor Author

pgerber commented May 14, 2018

Just in case, here is the crash from the Blackphone 2 device:

blackphone2.txt

@n8fr8
Copy link
Member

n8fr8 commented May 14, 2018

Okay, another build, with some regenerated native code, and less binary size optimization!

https://github.com/n8fr8/orbot/releases/tag/16.0.2-BETA-3

Thanks, all for the continued help.

@pgerber
Copy link
Contributor Author

pgerber commented May 14, 2018

Working for me and hoping that's the case for @Le1b1 and @rjmalagon too.

Thanks, all for the continued help.

No, thank you. You're the one doing all the work.

Yeah, v3 onion services support is here :)

@Le1b1
Copy link

Le1b1 commented May 14, 2018

Yes, it's fine now!
Thanks @n8fr8

@rjmalagon
Copy link

It works for me. WOW, you made it @n8fr8, under 10MB size APK and got 3.2+ TOR node. Awesome!

@pgerber
Copy link
Contributor Author

pgerber commented May 14, 2018

Closing now that we have confirmation that it has been fixed all three of us. Thanks again @n8fr8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants