Gerätekompatibilitätscheck für Gameloft-Spiele deaktivieren

  • 0 Antworten
  • Letztes Antwortdatum
W

wasabi8912

Fortgeschrittenes Mitglied
2
Hallo hab das hier gefunden funktioniert soweit gut auch mit anderen spielen !!!

Disable Gameloft's Device Compatibility Check w/o a build.prop edit This walk-through can be used to get around that device compatibility check, by hard coding the game you purchased to see your Device as a Nexus S (or what ever device you would like). Please be aware that just because the game now runs on your device doesn't mean it's actually compatible, you may still receive errors.

This patch/hack/whatever doesn't disable the DRM licensing, so it's useless unless you bought the game. I won't be working on something to disable the license check, so don't ask. I will not be distributing the fully patched games, so don't ask. If you have any questions about the patch, do ask.

Steps;
1. Decompile the Gameloft apk of your choice with your favorite decompiler (Apktool, etc).
2. Open up the /smali/com/gameloft/android/ANMP/GloftA6HP/installer/GameInstaller.smali in your favorite text editor and look for the following lines;


Code:
const-string v1, "?model=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0

&


Code:
const-string v1, "&device=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0
invoke-static {}, Lcom/gameloft/android/ANMP/GloftA6HP/GLUtils/SUtils;->getPhoneDevice()Ljava/lang/String;
move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0


3. Edit them as follows;


Code:


const-string v1, "?model=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0
const-string v1, "Nexus S" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0
&
Code:

const-string v1, "&device=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0
const-string v1, "samsung" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0


4. Open up the /smali/com/gameloft/android/ANMP/GloftM3HM/GLUtils/XPlayer.smali in your favorite text editor and look for the following lines;


Code:


const-string v1, "&android_build_model=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-static {}, Lcom/gameloft/android/ANMP/GloftM3HM/GLUtils/Device;->getPhoneModel()Ljava/lang/String;
move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0
&


Code:


const-string v1, "&android_build_device=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-static {}, Lcom/gameloft/android/ANMP/GloftM3HM/GLUtils/Device;->getDevice()Ljava/lang/String;
move-result-object v1 invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0

5. Edit them as follows;


Code:

const-string v1, "&android_build_model=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, "Nexus S" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0

&


Code:


const-string v1, "&android_build_device=" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, "Samsung" invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0



5. Recompile the apk and then sign the apk (autosign).
6. Enjoy a job well done.
 
Zuletzt bearbeitet:

Ähnliche Themen

W
  • wasabi8912
2
Antworten
36
Aufrufe
4.606
wasabi8912
W
V
Antworten
0
Aufrufe
1.366
vossimann
V
G
Antworten
2
Aufrufe
1.108
Gnampf
G
Zurück
Oben Unten