[Android Q&A, Help & Troubleshooting] tacocat_:
I am trying to hack a game called MilkChoco - Online FPS. I can confirm that this game uses "xigncode" to block hacking tools such as Lucky Patcher, Game Killer etc... I am so close to hacking this game by removing xigncode detection but at this very last step, I am having problems. Let me describe what I've done (the modifications) and the problem at the end.

1) I decompiled the .apk with apktool.

[IMG="decompiling apk"]https://ibb.co/iuioq8[/IMG]

2) I go to the folder with all xigncode related files.

C:\Users\Dell\Desktop\apktool\MilkChoco_1.3.4\smali\com\wellbia\xigncode

[IMG="xign files"]https://ibb.co/nr98OT[/IMG]

3) I use Notepad++ to go to the above directory and search the following

.method public initialize(Landroid/app/Activity;Ljava/lang/String;Ljava/lang/String;Lcom/wellbia/xigncode/XigncodeClientSystem$Callback

4) I double clicked on the result to directly go to that file. This is what appears.

[IMG="before mod"]https://ibb.co/joSZxo[/IMG]

5) I simple added this to the .prologue line so that it appears like this.

.prologue

const/4 v0, 0x1

return v0

[IMG="after mod"]https://ibb.co/bGUWco[/IMG]

I believe this will remove xigncode detection. This is all I did with the modification for the .apk file. If I'm wrong that this will not remove xigncode detection, please let me know.

6) I save the file and recompiled the app. However there is this error.

[IMG="recompile error"]https://ibb.co/fVS3OT[/IMG]

C:\Users\Dell\Desktop\apktool\MilkChoco_1.3.4\AndroidManifest.xml:9: error: No resource 'resizableActivity' in package 'android'

Here is the full display of the error.

[IMG="full error"]https://ibb.co/cm3hHo[/IMG]

I did some google searches for 'resizableActivity' but couldn't find anything useful. Here is the ORIGINAL AndroidManifest.xml when I decompiled the apk.

[IMG="line 9"]https://ibb.co/g9bxiT[/IMG]

As you can see in Line 9, 'resizableActivity' is mentioned. Lacking my knowledge, is there any error in the above screenshot, especially in Line 9?

I did these changes to the line. The first two doesn't work, however the error does not occur after my third change.

1) Changed "false" to "true" (at the end of the line) DOESN'T WORK

<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:resizeableActivity="true">

2) Changed "true" to "false" (near the beginning of the line) DOESN'T WORK

<application android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:resizeableActivity="false">

3) Original code is:

<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:resizeableActivity="false">

I deleted the last part of the code so it looked like this

<application android:allowBackup="true" android:icon="@mipmap/ic_launcher">

The error does not occur after this change. I can successfully recompile the apk. HOWEVER, when I tried to install the apk, it says "error parsing the package". I'm really loosing my mind over this. I would strongly appreciate it if someone could explain why the error is mentioning AndroidManifest.xml. Thank you.