OpenVPN cannot be used in Android5.0 (Lollipop) for problem analysis, openvpnlollipop

Source: Internet
Author: User

OpenVPN cannot be used in Android5.0 (Lollipop) for problem analysis, openvpnlollipop
After several days of research efforts, we finally solved the problem that OpenVPN cannot run on Android5.0. The solution and troubleshooting problems are as follows:
1. use NDK to recompile the latest ics-openvpn source code (download through the wall or go to github) 2. build libopenvpn under the libs/armeabi-v7a. so, libopvpnutil. so replacement program libs package corresponding file 3. rename the pievpn under the libs/armeabi-v7a compiled into minivpn. armeabi-v7a replacement program assets under the corresponding file 4. modify the VpnProfile under the src/de/blinkt/openvpn package. java file, comment out the 5.0 unrecognized parameter: cfg + = "redirect-private unblock-local \ n"; (if none, do not change) 5. because Pie is not supported in version 4.4, versions 5.0 and 4.4 are not compatible with each other. However, both versions can run on MTK4.22. Two versions need to be maintained. Other versions are not tested on a real machine. If you are interested in other versions, continue the test. If you find any other problems or deficiencies, Please comment and correct them.
Pie: position-independent executables)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.