[tor-bugs] #2989 [Orbot]: ORBot install fails when installing/uncompressing tor binary

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Apr 26 13:21:21 UTC 2011


#2989: ORBot install fails when installing/uncompressing tor binary
-------------------------+--------------------------------------------------
 Reporter:  __sporkbomb  |          Owner:  n8fr8
     Type:  defect       |         Status:  new  
 Priority:  normal       |      Milestone:       
Component:  Orbot        |        Version:       
 Keywords:               |         Parent:       
   Points:               |   Actualpoints:       
-------------------------+--------------------------------------------------

Comment(by __sporkbomb):

 Works on CM-7.0.2-DesireHD.

 The fix can apparently be attributed to Android 2.3 - see
 [http://ponystyle.com/blog/2010/03/26/dealing-with-asset-compression-in-
 android-apps/ this blog post] for details (particularly the lower part,
 which also links to
 [http://android.git.kernel.org/?p=platform/frameworks/base.git;a=commit;h=b100cbf178e91d6652ebbad3ed36684cacb9d10e
 this AOSP commit]).

 Seems like the available choices are:
 1. Requiring Android 2.3 for ORBot, which makes adjustments unnecessary,
 but brings up the usual problems with fragmentation (though probably less
 so than for most users, as I'd guess nearly all ORBot users run custom
 ROMs and are quick upgraders),
 2. Adapting the binary to fit into the size limit (easier said than done,
 I guess) or
 3. Following the instructions in the blog post linked in this comment,
 thereby causing aapt to not compress the binary. Boils down to either
 renaming the tor binary to an extension that will not be compressed
 (slightly absurd) or passing '-0 tor' to aapt (not possible with Eclipse
 ADT).

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2989#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list