Patching the apk
These steps aren't needed unless you want to host your server somewhere other than the same device, so either on a seperate server/computer.
Prerequisites:
- apktool
- libhonoka
- zipalign (part of the android sdk)
- apksigner (part of the android sdk)
- A keystore. For your convinience you can download this keystore with the password 123456
.
- Download the modified lovelive sif apk (jp)
- Run
apktool d lovelive-community.apk
to decompile the apk. - Unzip
config/server_info.json
fromassets/AppAssets.zip
. - Use libhonoka to decrypt
server_info.json
. (honoka2 server_info.json
) - Edit the json file to point to your server.
- Re-encrypt the json file by running
honoka2 -e -j server_info.json
. - Replace the
assets/AppAssets.zip/config/server_info.json
file with the new one you patched. - Get the md5sum of
AppAssets.zip
and replaceassets/version
with the new md5sum. - Run
apktool b lovelive-community
to re-build the apk. - Run
zipalign -f 4 lovelive-community/dist/<apk name> LLSIF_patched.apk
. - Sign the apk by running
apksigner sign -ks sifkey.keystore LLSIF_patched.apk
.
Assuming you did it correctly, your newly signed apk is ready to install and run.