#About Android Client

16 messages · Page 1 of 1 (latest)

plucky lynx
#

i tried to connect server use 3.2 official client,but occur 4214 code. i want to know how to patch ua.dll for android client like pc. has anyone can help me,thank you.

errant sentinel
#

Found in YuukiPS

#

Maybe this help

plucky lynx
bright thorn
#

For android need patch lib/libil2cpp.so inside apk or download pre-patched apk

plucky lynx
plucky lynx
bright thorn
bright thorn
plucky lynx
bright thorn
# plucky lynx thank you

How to patch apk (only apk, not libil2cpp.so):

  1. Download official apk
  2. Download ApkTool, using ApkTool extract apk to some folder and go inside, edit AndroidManifest.xml, set new package name package="HERE_NEW_PACKAGE_NAME" (name using in /Android/data/com.m**** data folder)
  3. Replace lib/arm64-v8a/libil2cpp.so to patched libil2cpp.so (you can find it from others already patched.apk by using ApkTool too and pull already patched libil2cpp.so)
  4. Build apk again by ApkTolol (drag and drop extracted folder to .bat script) (apk still unsigned). New apk in extracted-folder/dist
  5. Install NodeJS and run npm install -g apk-mitm
  6. From PC (not android) Run apk-mitm <path-to-apk> where <path-to-apk> is your-app.apk to patch certificates (you need patch a new builded apk in extracted-folder/dist) or try https://github.com/Score-Inc/PatchGenshinAPK if you dont want use apk-mitm
  7. Upload new patched.apk to your phone, install it
  8. Copy/Rename original data folder /Android/data/com.m***** to your folder with your name (which you set on step 2)
  9. Use https://github.com/Score-Inc/GCAndroid to raise Grasscutter on your phone
  10. Use https://github.com/Score-Inc/AnimeGamePatch to raise mitmproxy and set proxy in wifi settings (or use root mode proxy from AnimeGamePatch settings to enable "proxy all" and you can use it even on 4G, 5G networks)
  11. Run app and play
plucky lynx
plucky lynx