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)