Giter VIP home page Giter VIP logo

Comments (41)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024 1
我已经解决了这个问题了,请导入以下几个文件就可以了:
libs/armeabi-v7a/libopenvpn.so
libs/armeabi-v7a/libopvpnutil.so
assets/minivpn.armeabi-v7a
assets/minivpn.armeabi
assets/minivpn.mips
assets/minivpn.x86



Original comment by [email protected] on 12 May 2013 at 3:31

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024 1
接上面,文件请在附件里面下载
Discuss with each other:[email protected]

Original comment by [email protected] on 12 May 2013 at 3:34

Attachments:

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
This issue was closed by revision 694f7c58a6bd.

Original comment by [email protected] on 10 May 2012 at 9:00

  • Changed state: Fixed

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Using either 0.5.22 or 0.5.21 I get the same error:

minivpn.armeabi-v7a
minivpn.armeabi
Error writing minivpn binary

Original comment by [email protected] on 21 Sep 2012 at 6:22

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
can you give a log of the application?

Original comment by [email protected] on 21 Sep 2012 at 6:28

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
That was the log :)

I was wondering myself, because even setting the log level to 5 (DEBUG) 
displayed just that:

Warte auf OpenVPN Status Nachricht...
Modell GT-N7000 (smdk4210) samsung, Android API 15
minivpn.armeabi-v7a
minivpn.armeabi
Error writing minivpn binary

(It's rooted btw.)

Original comment by [email protected] on 21 Sep 2012 at 7:38

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Is there an archive for older apks which would allow me to download 0.5.0 and 
counter-check?

Original comment by [email protected] on 21 Sep 2012 at 7:40

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
there are older apk  (http://plai.de/android/) but the code in question has not 
changed for the last 20 version or so.  

The android code tries to write /data/data/de.blinkt.cache/minivpn.armeabi-v7a. 
I am not sure why this can fail.

If you have working adb can you can the following?

adb shell

su

ls -l /data/data/de.blinkt.openvpn
ls -l /data/data/de.blinkt.openvpn/cache

Original comment by [email protected] on 21 Sep 2012 at 8:05

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
If you no working adb configuration. I can build a apk with more error 
reporting.

Original comment by [email protected] on 21 Sep 2012 at 8:06

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
The listings you requested:

# ls -l /
#...
drwxrwx--x system   system            2012-09-21 19:22 data
#...

# ls -l /data/data/de.blinkt.openvpn
drwxrwx--x app_20   app_20            2012-09-21 20:09 cache
drwxrwx--x app_20   app_20            2012-09-21 20:18 files
drwxr-xr-x system   system            2012-09-21 20:08 lib
drwxrwx--x app_20   app_20            2012-09-21 20:47 shared_prefs

# ls -l /data/data/de.blinkt.openvpn/cache
(empty)

Original comment by [email protected] on 22 Sep 2012 at 8:29

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Any other way I can help to track down the bug?

Original comment by [email protected] on 30 Sep 2012 at 11:41

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
sorrythat I have forgotten you. I am quite at a loss explaining what happens 
there. Have tried uninstalling and reinstalling the app?

Original comment by [email protected] on 30 Sep 2012 at 12:01

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Yes. In addition I tried several different variants of configs (all-inline, 
split, ...)

Maybe reopening the issue would be a good idea :)

Original comment by [email protected] on 30 Sep 2012 at 2:55

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I need to know if the failure is when openvpn tries to open the asset or when 
writing to the file system.

Can you try this version? http://plai.de/android/icsopenvpn0523pre3.apk

It should give  clearer error message if reading from assets fail (which should 
never happen)

Original comment by [email protected] on 30 Sep 2012 at 9:29

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Haven't seen a response on the 0.5.23pre3 apk, so thought I would report that 
it is working for me.

I didn't have a previously working version of OpenVPN installed on my phone, 
but I was experiencing the same "Error writing minivpn binary" error with 
0.5.22 (and 0.5.21) on an AT&T Galaxy S3 running ICS (currently un-rooted). But 
tried the 0.5.23pre3 version above and the error is gone.

Original comment by [email protected] on 8 Oct 2012 at 9:30

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Thanks. If the bug happens again feel to open a new bug.

Original comment by [email protected] on 8 Oct 2012 at 9:38

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Today I tried the 0.5.23pre3 too - successfully!

To ensure the app itself - as opposed to any other state of the phone - was at 
fault, I uninstalled it and went back to 0.5.22. This allowed me to reproduce 
the "Error writing minivpn binary"-error.

Note that the 0.5.22 I used was the one from fdroid-"market". (Just in case 
this one is different in any way.)

Thanks a lot for your support on the topic!

Original comment by [email protected] on 10 Oct 2012 at 1:46

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
It states: 

This version is built and signed by F-Droid, and guaranteed to correspond to 
the source tarball below.

Original comment by [email protected] on 10 Oct 2012 at 2:07

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I just tested their version of my app and it is indeed broken :(

Original comment by [email protected] on 10 Oct 2012 at 7:07

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Sorry about the bother. I wrote up the build metadata, which I got from the 
readme. Unfortunately I didn't bother to test the build. I will change the 
build to run build-native.sh instead of ndk-build.

Original comment by [email protected] on 10 Oct 2012 at 7:36

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Many thanks for the prompt reaction.

Original comment by [email protected] on 10 Oct 2012 at 8:02

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I get an error: aapt] aapt: warning: string 'vpn_types' has no default 
translation in /home/gerry/dalb8s-fdroiddata/build/de.blinkt.openvpn/res; 
found: he
     [aapt] /home/gerry/dalb8s-fdroiddata/build/de.blinkt.openvpn/res/values-ko/arrays.xml:21: error: Error parsing XML: not well-formed (invalid token)

If fetchtranslations.sh needs to be run could you provide an alternative to 
fetch as I don't think it's in any distros.?

Original comment by [email protected] on 10 Oct 2012 at 8:26

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Fortunately v0.5.24 builds (I was getting worried that I would have to figure 
out what fetch was). I'm still trying to figure out how to use it, but there 
are four small files in assets/ now, so I guess it should work. The metadata is 
here 
https://gitorious.org/f-droid/fdroiddata/commit/8ef49589bf804a7e5be2a85dfa4e3db7
e61d96ac

Original comment by [email protected] on 10 Oct 2012 at 9:11

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Thanks for fixing the version in f-droid.

fetch is the FreeBSD variant of wget. fetchtranslations.sh is a script mainly 
useful for me to get translations from crowdin.net.

Original comment by [email protected] on 11 Oct 2012 at 8:20

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Have you tested that it works? I did the build last night with -j 2 on my 
netbook and it finished rather quickly, but I can't use a vpn to test it out. 

Original comment by [email protected] on 11 Oct 2012 at 10:35

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Hm something has gone very wrong in your last build. Inspecting the last apk 
download by fdroid seem to be the libs and assets only lib/libcrypto is there.

I can give a test OpenVPN account if you like to test the apk yourself. I can 
also I find time on the weekend look into how fdroid is building the apk and 
look what is wrong.

Original comment by [email protected] on 11 Oct 2012 at 8:49

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I'll disable it again :-(

Original comment by [email protected] on 12 Oct 2012 at 8:50

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I just tried building it with fdroid build on my Mac OS X. I had to change to 
sed command to 

sed -i -e 's/ndk-build APP_API=all -j 8/ndk-build APP_API=all -j 2/g' 
build-native.sh && ./build-native.sh 

but propably this is due to GNU sed being a bit different than BSD sed. The 
produced apk looks fine:

bsdtar tvf unsigned/de.blinkt.openvpn_51.apk |egrep '(lib|asset)' 
-rwxrwxrwx  0 0      0        5144 12 Okt 23:20 assets/minivpn.armeabi
-rwxrwxrwx  0 0      0        5148 12 Okt 23:20 assets/minivpn.armeabi-v7a
-rwxrwxrwx  0 0      0        5372 12 Okt 23:20 assets/minivpn.mips
-rwxrwxrwx  0 0      0        4976 12 Okt 23:20 assets/minivpn.x86
-rwxrwxrwx  0 0      0      371152 12 Okt 23:19 lib/armeabi/libopenvpn.so
-rwxrwxrwx  0 0      0        5112 12 Okt 23:19 lib/armeabi/libopvpnutil.so
-rwxrwxrwx  0 0      0      362948 12 Okt 23:19 lib/armeabi-v7a/libopenvpn.so
-rwxrwxrwx  0 0      0        5064 12 Okt 23:19 lib/armeabi-v7a/libopvpnutil.so
-rwxrwxrwx  0 0      0      656944 12 Okt 23:19 lib/mips/libopenvpn.so
-rwxrwxrwx  0 0      0        5564 12 Okt 23:19 lib/mips/libopvpnutil.so
-rwxrwxrwx  0 0      0      559464 12 Okt 23:19 lib/x86/libopenvpn.so
-rwxrwxrwx  0 0      0        5044 12 Okt 23:19 lib/x86/libopvpnutil.so




Original comment by [email protected] on 12 Oct 2012 at 9:36

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I need to delete the obj/ prior to building , otherwise it copies what's there. 
If I delete obj it works: not sure why. Also it should be ABI, not API

Original comment by [email protected] on 12 Oct 2012 at 9:43

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
It seems to me to be an f-droid problem, or some probem with how f-droid 
handles the script

Original comment by [email protected] on 12 Oct 2012 at 10:15

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Hi, I am experiencing the same problem 0.5.25 both on ICS and JB (this one is 
rooted)

Original comment by [email protected] on 26 Nov 2012 at 9:21

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Do you a version from the google market or from f-droid or anther source?

Original comment by [email protected] on 26 Nov 2012 at 9:34

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
@[email protected] .. 0.5.23pre3 apk is working fine for me. Can you tell me 
what changes you have done in code to make it working. Or if you mail me the 
code, It will be a great help..

Original comment by [email protected] on 10 Dec 2012 at 7:04

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
The code is avaiable from the mercurial repository on this site.

Original comment by [email protected] on 10 Dec 2012 at 11:48

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
@[email protected] Not able to find mercurial repository.

Original comment by [email protected] on 10 Dec 2012 at 3:29

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
It is right under the Source tab.

Original comment by [email protected] on 10 Dec 2012 at 4:02

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
That code is giving me Error.. "Error writing minivpn binary"

Original comment by [email protected] on 10 Dec 2012 at 4:32

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
I suggest reading the readme.

Original comment by [email protected] on 11 Dec 2012 at 9:10

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Hi, i've got the same issue. I think it's a build-related issue, since I've 
never built a code with ndk. I've read the read-me, but i got some problems 
when running build-native.sh.

Which steps I have to follow to properly build and deploy the app?

Original comment by [email protected] on 28 Mar 2013 at 2:49

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
Please do no comment on already closed bugs. If you get errors when using 
build-native.sh you have to fix these errors. And without telling me which 
errors you are getting I cannot help you at all.

Original comment by [email protected] on 28 Mar 2013 at 3:03

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 29, 2024
sorry I don't understand chinese

Original comment by [email protected] on 12 May 2013 at 3:54

from ics-openvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.