Freqalto is proprietary software published through Google Play. It uses the following LGPL-licensed component, whose source code and relinking instructions are provided here.
Freqalto uses the LAME MP3 encoder (version 3.100) for MP3 export. It ships as a
separate shared library, libmp3lame.so (lib/<abi>/libmp3lame.so inside the app package), loaded
at run time by Freqalto's native audio library through LAME's standard public C API
(lame_init, lame_encode_buffer, lame_encode_flush, lame_close,
get_lame_version), so it can be replaced by a modified build.
Android.mk, Application.mk) and the license texts (lame/COPYING, lame/LICENSE).lame/hip_stub.c (encoder only),
and Android build configuration is provided by lame/config.h, lame/lame_config.h and
lame/vector/lame_intrin.h. The encoder sources themselves are those of LAME 3.100.lgpl/source (this repository) and edit LAME as you wish.ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=jni/Android.mk NDK_APPLICATION_MK=jni/Application.mkThe result is
libs/arm64-v8a/libmp3lame.so and libs/x86_64/libmp3lame.so. Keep the
-Wl,-z,max-page-size=16384 link flag (16 KB page size, required on current Android versions).apktool d on an APK, or extract the split APK from a device with adb),
replace lib/<abi>/libmp3lame.so with your build, then rebuild, zipalign -P 16 and
sign it with your own key (apksigner) and install it. Because the package will carry your signature, it installs as a
separate/updated app from your own signing identity, not as the Google Play version.You may also modify the application for your own use and reverse engineer it to the extent needed to debug such modifications, as permitted by LGPL section 6. Questions or requests for further materials: ioan.florucza@gmail.com.