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:¶
Steps:¶
- 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
uber-apk-signer -a lovelive-community/dist/<apk name>.apk LLSIF_patched.apk
.
uber-apk-signer will sign the APK with a debug keystore. You should sign with your own keystore if you are planning to distribute this!
Assuming you did it correctly, your newly signed apk is ready to install and run.
Web based patcher¶
I compiled libhonoka to WebAssembly and made it an easy GUI to use: https://ethanaobrien.github.io/sif-patcher/ You will still need to follow step 10 from above.