Opened 4 years ago

Closed 4 years ago

#15330 closed defect (fixed)

Orbot broken in Android 5.1 SDK 22

Reported by: tompod Owned by:
Priority: Immediate Milestone:
Component: - Select a component Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Orbot does not start on Android 5.1 SDK version 22. Test device is a Nexus 5. Using Orbot-latest.apk from sep 14 avail here: https://guardianproject.info/releases/orbot-latest.apk

After initial setup process (tutorial), the power-button flashes when pressed and nothing is shown in log.

logcat | grep Orbot gives:

I/ActivityManager( 761): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.torproject.android/.Orbot bnds=[12,871][276,1167] (has extras)} from uid 10024 on display 0
V/WindowManager( 761): addAppToken: AppWindowToken{23990342 token=Token{3485858d ActivityRecord{1fa2c624 u0 org.torproject.android/.Orbot t9}}} to stack=1 task=9 at 0
I/ActivityManager( 761): Start proc 8250:org.torproject.android/u0a84 for activity org.torproject.android/.Orbot
D/Orbot ( 8089): checking binary version: 0.2.5.7-openssl1.0.1i
D/Orbot ( 8089): updating torrc custom configuration...
D/Orbot ( 8089): torrc.custom=ControlPortWriteToFile /data/data/org.torproject.android/app_bin/control.txt
D/Orbot ( 8089): RunAsDaemon 1
D/Orbot ( 8089): AvoidDiskWrites 1
D/Orbot ( 8089): SOCKSPort auto
D/Orbot ( 8089): SafeSocks 0
D/Orbot ( 8089): TestSocks 0
D/Orbot ( 8089): WarnUnsafeSocks 1
D/Orbot ( 8089): TransPort auto
D/Orbot ( 8089): DNSPort auto
D/Orbot ( 8089): VirtualAddrNetwork 10.192.0.0/10
D/Orbot ( 8089): AutomapHostsOnResolve 1
D/Orbot ( 8089): success.
I/Orbot ( 8089): debug logging:true
D/Orbot ( 8089): Background service is bound. Status=0
D/Orbot ( 8089): Control Port config file does not yet exist (waiting for tor): /data/data/org.torproject.android/app_bin/control.txt
D/Orbot ( 8089): waiting...
V/WindowManager( 761): Adding window Window{267a0497 u0 org.torproject.android/org.torproject.android.Orbot} at 3 of 10 (before Window{20b8c466 u0 Starting org.torproject.android})
V/WindowManager( 761): Adding window Window{1838ce6d u0 org.torproject.android/org.torproject.android.Orbot} at 3 of 11 (before Window{267a0497 u0 org.torproject.android/org.torproject.android.Orbot})
I/ActivityManager( 761): Displayed org.torproject.android/.Orbot: +698ms
D/Orbot ( 8089): Control Port config file does not yet exist (waiting for tor): /data/data/org.torproject.android/app_bin/control.txt
D/Orbot ( 8089): waiting...
D/Orbot ( 8089): Control Port config file does not yet exist (waiting for tor): /data/data/org.torproject.android/app_bin/control.txt
D/Orbot ( 8089): waiting...
D/Orbot ( 8089): tor: PRE: Is binary exec? true
D/Orbot ( 8089): polipo: PRE: Is binary exec? true
D/Orbot ( 8089): obfsclient: PRE: Is binary exec? true
D/Orbot ( 8089): xtables: PRE: Is binary exec? true
I/Orbot ( 8089): debug logging:true
D/Orbot ( 8089): Orbot is starting…
D/Orbot ( 8089): updating torrc custom configuration...
D/Orbot ( 8089): torrc.custom=ControlPortWriteToFile /data/data/org.torproject.android/app_bin/control.txt
D/Orbot ( 8089): RunAsDaemon 1
D/Orbot ( 8089): AvoidDiskWrites 1
D/Orbot ( 8089): SOCKSPort auto
D/Orbot ( 8089): SafeSocks 0
D/Orbot ( 8089): TestSocks 0
D/Orbot ( 8089): WarnUnsafeSocks 1
D/Orbot ( 8089): TransPort auto
D/Orbot ( 8089): DNSPort auto
D/Orbot ( 8089): VirtualAddrNetwork 10.192.0.0/10
D/Orbot ( 8089): AutomapHostsOnResolve 1
D/Orbot ( 8089): success.
D/Orbot ( 8089): /data/data/org.torproject.android/app_bin/tor DataDirectory /data/data/org.torproject.android/app_data --defaults-torrc /data/data/org.torproject.android/app_bin/torrc -f /data/data/org.torproject.android/app_bin/torrc.custom
D/Orbot ( 8089): Tor (1): error: only position independent executables (PIE) are supported.
E/Orbot ( 8089): Unable to start Tor: java.lang.Exception: Torrc config did not verify
E/Orbot ( 8089): java.lang.Exception: Torrc config did not verify
E/Orbot ( 8089): at org.torproject.android.service.TorService.a(Unknown Source)
E/Orbot ( 8089): at org.torproject.android.service.g.run(Unknown Source)
E/Orbot ( 8089): at java.lang.Thread.run(Thread.java:818)

Child Tickets

Change History (2)

comment:1 Changed 4 years ago by tompod

Latest alpha (Orbot-v15.0.0-ALPHA-4) works fine. Issue can be closed.

comment:2 Changed 4 years ago by rl1987

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.