Skip to content

Instantly share code, notes, and snippets.

@toriato
Last active October 11, 2024 23:09
Show Gist options
  • Save toriato/14bc2732c32be0a079c0e12d5b7a7eda to your computer and use it in GitHub Desktop.
Save toriato/14bc2732c32be0a079c0e12d5b7a7eda to your computer and use it in GitHub Desktop.
Hack the Android version of DC Inside (com.dcinside.app.android)

image

This is a simple tutorial on how to get rid of annoying protections!

  1. Remove ads, integrity checks, and signature verification with LuckyPatcher
  2. Install the latest Android SDK:
    • scoop install android-studio
    • Open Android Studio to download the latest SDK.
    • $env:Path = "${env:LocalAppdata}\Android\Sdk\build-tools\xx.x.x;" + $env:Path
  3. Pull split APKs from the device:
    • adb shell pm path com.dcinside.app.android | ForEach-Object { adb pull ($_ -replace "^package:", "") }
  4. Merge APKs with APKEditor:
    • java -jar .\APKEditor.jar m -i path-to-apks\ -o path-to-merged.apk
  5. Decompile the APK with apktool:
    • java -jar .\apktool.jar decode path-to-merged.apk
  6. Modify the network security configuration to accept a user-added CA certificate:
    • The file is located at path-to-decompiled\res\xml\network_security_config.xml.
    • Add <certificates src="user" /> inside the <trust-anchors> block.
    • For more details, see the Android Developers page.
  7. Recompile the APK and sign it with Uber Apk Signer:
    • java -jar .\apktool.jar build path-to-decompiled-folder
    • java -jar .\uber-apk-signer.jar --apks path-to-recompiled.apk

Download APK (5.0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment