Comments (5)
The issue I saw on the early 'L' builds is that the non-PIE curl binary is rejected by the new linker version:
https://code.google.com/p/android-developer-preview/issues/detail?id=888
Current plan is to bundle the run_pie binary in a future release.
from ics-openconnect.
Actually the PIE issue is another issue. I replaced it with pie enabled curl and yes it works on l preview. But this not work anymore after I upgrade 5.0.0 release.
I tested it with a simple script: just echo a test string into sdcard, nothing happened.
from ics-openconnect.
Actually the PIE issue is another issue. I replaced it with pie enabled curl and yes it works on l preview.
I have added a workaround for this. Could you try this apk (or build the -next branch)?
https://dl.dropboxusercontent.com/u/169702767/openconnect/openconnect-1.10-beta1.apk
But this not work anymore after I upgrade 5.0.0 release.
FWIW I tested the above apk on 5.0 (Hammerhead LRX210), on ICS 4.0 in the emulator (ARM), and on a Nexus 7 (2012) running 4.2.2. I think the curl problem has been resolved, at least.
I tested it with a simple script: just echo a test string into sdcard, nothing happened.
Apps might need to go through a special API to write to /sdcard on newer Android versions, or your access may be confined to a specific directory. I haven't actually used this but it is documented here.
A more reliable test case might involve writing to /data/data/app.openconnect/files
. I've also had some success in the past killing the app, then using strace -o /data/local/tmp/log -fF -p PID
(as root) to attach to zygote and watch what happens when the app starts. The downside is that this produces a lot of data and slows everything down. You'll want to search for the execve() calls to see what happens when your script runs.
from ics-openconnect.
This build works like a charm! I must have got something wrong with my tests
from ics-openconnect.
Thanks for the feedback. I'll make a new release soon.
I replaced it with pie enabled curl
One thing that occurred to me is that you would need to build the new curl into a fresh APK (and sign it with your own key), because AssetExtractor will try to overwrite any local copies under /data/data/app.openconnect
if the CRC doesn't match the bundled version.
Or you could just use a different name like curl-pie
, and call it using that name from your script...
from ics-openconnect.
Related Issues (20)
- compile fail HOT 1
- OpenConnect Removed from play strore HOT 7
- openconnect not working android 10 HOT 3
- please help whenever I try to compile with nettle 3.4.1 and gnutls 3.6.8 HOT 1
- Can't build package missing using in Windows 10
- Update binary components with fixes for android 10 crash HOT 1
- Integration with Client
- App crash in all android version HOT 1
- import org.stoken.LibStoken not found HOT 1
- DNS!
- cannot connect to vpn server hosted by cisco vpn with error message "tls fatal alert has been received" HOT 3
- How can I get DTLSCompression and an DTLSCipher information HOT 6
- Error building make external HOT 1
- why is the project not developing? HOT 2
- library "libopenconnect.so" not found
- Openconnect APK 1119 does not work on Amazon Fire TV
- Hello This error occurs when we click on the server HOT 2
- apk download link? HOT 4
- undefined reference from libz.so and libm.so how to fix it help plz
- it does not work for android 12 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ics-openconnect.