[HELP] Valkyrie Crusade v5.0.0 and its quirks

OtonaPoi

Advance Member
Jun 25, 2017
176
I'll cut it short since I unadvertently closed the tab I was making the thread and it didn't save automatically.

Here's the thread of the mod: Valkyrie Crusade v5.0.0 [Mod][UPDATE]

A new game mode has been added to the game, and only the second version of the mod is working right now. I suspect they have added a sanity/security check on the code, almost completely neutralizing the mod, ending up with error 319 (which probably means "your mod got owned, nerd!").

I need someone, anyone, who knows how to fiddle with IDA Pro, hex editors, ARM code, modding in general, and to diff two different versions of the same thing.

I'll help with the quest with six files (that's all you will ever need if you know what you're doing):
[v4.7.1] libvalkyriecrusade.so (Original, Unmodded .so):
https://puu.sh/CwEsO.zip

[v4.7.1] libvalkyriecrusade.so (V1 of the mod, with all the modifications):
https://puu.sh/CwEsV.zip

[v4.7.1] libvalkyriecrusade.so (V2 of the mod, lighter/safer version):
https://puu.sh/CwEtd.zip

[v5.0.0] libvalkyriecrusade.so (Original, Unmodded .so):
https://puu.sh/CwEtp.zip

[v5.0.0] libvalkyriecrusade.so (V1 of the mod, with all the modifications):
https://puu.sh/CwEtI.zip

[v5.0.0] libvalkyriecrusade.so (V2 of the mod, lighter/safer version):
https://puu.sh/CwEtQ.zip

Tools used:
IDA Pro
Any Hex Editor
Notepad++ (not really, but it's useful for other stuff)

What I have tried so far:
Removing parts of the mod and/or only adding parts of it, with no luck, so don't waste your time doing the same. It's something else entirely, though maybe it's closer than I think.

Thanks, and Good Luck! If you need further clarification do comment and I'll try to provide more information.
 

deisuke

Member
Apr 18, 2018
10
I am not a expert myself but it sounds more of a function that triggers the signature function. The question is which function and which signature that is getting called. I suspect with catlog you might be able to see which function that triggers that block.
 

OtonaPoi

Advance Member
Jun 25, 2017
176
I am not a expert myself but it sounds more of a function that triggers the signature function. The question is which function and which signature that is getting called. I suspect with catlog you might be able to see which function that triggers that block.
I'll get to it once I change my phone's ROM (the current one has a bug that kills the logcat). Will edit this post with the results.
 

deisuke

Member
Apr 18, 2018
10
Is your phone rooted to begin with? if not either Root it or use a Android emulator from the PC and try again.
 

OtonaPoi

Advance Member
Jun 25, 2017
176
Is your phone rooted to begin with? if not either Root it or use a Android emulator from the PC and try again.
It obviously is rooted, this is not my first rodeo. Might be just a screwed up ROM update, I guess.
 

OtonaPoi

Advance Member
Jun 25, 2017
176
Okay... logcat shows nothing regarding the application itself when the error happens, so it's something else.

Here's the log in case anyone wants to take a look (there's nothing, really):
https://puu.sh/Cxij8.txt
 

Nochka2011

New User
Jan 16, 2019
1
Tell me, if I was banned after using version 1 of the mod in 5.0.0, but after 4 days I was given access again, can I download and install version 2 of the mod, or not? Maybe they track me?
 

OtonaPoi

Advance Member
Jun 25, 2017
176
Tell me, if I was banned after using version 1 of the mod in 5.0.0, but after 4 days I was given access again, can I download and install version 2 of the mod, or not? Maybe they track me?
They have a three-strike method of banning as far as I'm concerned. The first two bans are temporary, with the third being permanent. You can try using the v2 of the mod, but I can't guarantee they won't find you again and issue another ban, since it seems to happen at random when they are doing manual checks on suspects. I'm positive you're on a list now, though not actively being monitored. I'd take a few days/weeks from modding if I were you.

Also, don't ask for support in this thread. Go to the mod thread instead next time.
 

deisuke

Member
Apr 18, 2018
10
i am not a expert but their was some things that actually intrested me.

01-15 21:15:52.238 W/valkyriecrusade(10619): type=1400 audit(0.0:167): avc: denied { open } for path="/data/lp/xposed" dev="mmcblk0p50" ino=3096586 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:eek:bject_r:system_data_file:s0 tclass=file permissive=0
01-15 21:15:52.241 I/System.out(10619): Update settings xposed
01-15 21:15:52.242 W/System.err(10619): java.io.FileNotFoundException: /data/lp/xposed: open failed: EACCES (Permission denied)
 

OtonaPoi

Advance Member
Jun 25, 2017
176
i am not a expert but their was some things that actually intrested me.

01-15 21:15:52.238 W/valkyriecrusade(10619): type=1400 audit(0.0:167): avc: denied { open } for path="/data/lp/xposed" dev="mmcblk0p50" ino=3096586 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:eek:bject_r:system_data_file:s0 tclass=file permissive=0
01-15 21:15:52.241 I/System.out(10619): Update settings xposed
01-15 21:15:52.242 W/System.err(10619): java.io.FileNotFoundException: /data/lp/xposed: open failed: EACCES (Permission denied)
That's how Xposed with Lucky Patcher module works, nothing noteworthy. Also, in older versions, Valkyrie Crusade somehow kept asking for root access, so there probably was some shady stuff going on within the app. It doesn't happen anymore, so I guess they removed it.