Tutorial [Fake bug] How to remove flurry ads + fake crash

AndnixSH

PMT Elite Modder
Original poster
Staff member
Modding-Team
Jun 27, 2017
4,680
296,866
1,213
Modding World
Hello, today I'll teach you how to fix game crash (API key not specified) by removing Flurry Ads. The crash appear when the apk was re-signed.

I'm unsure if the game developer tried to customize Flurry ads into fake crash to make modders think their mod is not working. The API error was in the previous game for long time. I have seen the company made fake crash function inside ads that detects modded DLL file and set the timer to make touchscreen stop functioning. Don't always trust fake bugs/issues. You're been warned!

Let's get started

In this tutorial, I'll remove Flurry Ads from CSR2 as an example

First of all you need:
  • - An APK tool to decompile an APK file(I'm using APK Easy Tool)
  • - Notepad++ installed on your computer. Download Notepad++
  • - Basic smali knowledge

Steps:
Decompile the APK​
Open Windows File Explorer. Navigate to \smali\com\ and delete the "flurry" folder. If you can't find the folder, use search.​
L0Uerug.png
Navigate to \smali\com\bossalien\racer02\ and delete the following files​
* CSRFlurryAdsManager$eFlurryAdState.smali​
* CSRFlurryAdsManager.smali​
* CSRFlurryIntegration.smali​
But wait there are remaining Flurry codes left. Launch Notepad++. Click on Search -> Find in files and search "Flurry" in the entire smali folder of decompiled apk​
0ib73ts.png
The results will show below. Under CSRPlayerActivity.smali, double-click on the lines to open the file and Notepad++ will highlight text for you. Better use Search -> Find... to find text since double-click to highlight text in results is buggy​
Remove all FlurryIntegration related code lines until there are no left. (see screenshot below how I remove the code)​
vEgLsWA.png
Don't remove other flurry codes (NmgFlurry) that has nothing to do with Flurry ads.​
Compile the apk and sign the apk​
Now you can play re-signed game​
Credits:
iAndroHacker​
 

gcow

Rookie
Aug 27, 2017
1
0
3
Haven't touch .net or dnspy for a long time now lol. I guess there more thing to learn now :gif10: