-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Compile scripts for libs #46
Conversation
@Gedsh would be nice if you reveal me how you compile the localy :) PS: you have write access to my fork if you accept the infitation (just in case it is usefull ...) |
You can build Golang binaries (dnscrypt, obfs4proxy, snowflake) for android as shown below. Go compiler and Android NDK required. I am using dnscrypt as an example. #armv7a: $env:GOPATH=c:\Go\bin\go.exe #arm64: $env:GOPATH=c:\Go\bin\go.exe #common: cd C:\Go\My\dnscrypt-proxy-2.0.44\dnscrypt-proxy |
To build Purple I2P Android NDK is required. I use android-ndk-r14b for this. Change the path to libraries in this file https://github.com/PurpleI2P/i2pd/blob/openssl/android_binary_only/jni/Application.mk cd C:\Users\Alexander\AppData\Local\Android\Sdk\ndk\android-ndk-r14b |
Thank you. But unfortunately I have no experience with compile scripts. |
ok now https://github.com/PurpleI2P/i2pd and https://github.com/guardianproject/gpmaven/tree/master/org/torproject/tor-android-binary are missing only ... go libs can now be compiled automaticaly by this scritp :) wip ... |
Tor for Android https://github.com/guardianproject/tor-android
Cool! |
Added a script for building Tor for Android from source using Gitlab CI / CD https://github.com/Gedsh/Tor-Android-build-script |
thanks will add it :) |
Added script for building Purple I2P from source using Gitlab CI / CD https://github.com/Gedsh/Purple-I2P-Android-build-script |
Based on your great work, I manage to build it with f-droid's gitlab CI but there are some problems. I'm not a dev and have little knowledge about Android. Could you please take a look? @6543 Are you still working on this? Would you please take some time to complete this pr? Or I can make another one based on this. @Gedsh I have some questions. Due to my poor knowledge maybe they are stupid. Could you please help me?
Thanks! |
@linsui feel free to use this pull to finish the work, I have no time to finish it at the moment. So If you like tho have it soon you should pick this up and finish it ;) |
@linsui I have invited you to my fork: https://github.com/6543-forks/InviZible/invitations so feel free to push to this branch or create a new one based on that from your side ... |
@6543 Thanks! |
Thank you! Cool job!
Great!
I thought the beta would be used for f-droid. But with @IzzySoft we decided to use the stable version. I will change the icon.
It just uses the latest changes. You can use for example:
The difference is in the processor instruction set. Usually modern processors can use armeabi and armeabi-v7a without any problem.
I think it is better to include the armv7a version as it works on both armv7a and arm64 devices.
If you want to. But I will continue to use my own builds as I like using the Tor beta versions in InviZible. |
Thanks!
I would prefer to specify a version when build it or it will produce different resultes on every build.
I got it!
I don't know how the update checker works. @IzzySoft @licaon-kter Could you please help? I got |
@linsui not my speciality, but: what is the name of your
|
@IzzySoft Thanks for your tips! I'll test it. The package name does present in the gradle file. InviZible/tordnscrypt/build.gradle Line 13 in 9b81113
|
🤷♂️ Maybe it complains because there is no |
9ef6881
to
9214a58
Compare
9214a58
to
ff56010
Compare
This pr is ready for review. Here is the apk for test. Thanks! |
big thanks to @linsui :) !!! |
Thank you for the great job! |
just some idears/thoughts for #45 and #5