Help! Trouble Installing LGL Mod Menu on Android 14 - Seeking Solutions

elementgear

Platinian
Original poster
Nov 7, 2023
21
9
3
I recently encountered an issue while trying to install the LGL mod menu on my Android 14 device. Every time I attempt to install it, I'm greeted with the frustrating message: "App not installed as the app isn't compatible with your phone." This has left me scratching my head, as the mod menu works perfectly fine on other devices.
I've have the internet for solutions but haven't found anything yet. Has anyone else experienced this problem? If so, were you able to find a workaround?
Here are a few things I've tried so far:
  1. Tried changing the compileSdk & targetSdkVersion to 34
  2. Tried changing build.gradle to 8.1.0 ( when i set it to latest version the app won't compile )
Unfortunately, none of these methods have worked for me. I'm starting to wonder if there's a compatibility issue specifically with Android 14.
If anyone has any suggestions or has encountered a similar issue, I would greatly appreciate your input.

Thanks in advance for your help.
 

libModz

Awesome Active Platinian
Jun 2, 2022
173
30
28
UK
It's likely you have a device which chip supports 64bit only (like the Snapdragon 8 Gen 3) meaning you can only install 64bit apk's.

The solution would be to change your lgl project to arm64-v8a
 

elementgear

Platinian
Original poster
Nov 7, 2023
21
9
3
It's likely you have a device which chip supports 64bit only (like the Snapdragon 8 Gen 3) meaning you can only install 64bit apk's.

The solution would be to change your lgl project to arm64-v8a
I checked and confirmed that the Lgl mod menu already includes arm64-v8a in its build.gradle. However, despite this inclusion, it's still not functioning correctly.
 

libModz

Awesome Active Platinian
Jun 2, 2022
173
30
28
UK
What about your offsets etc? Are they dumped from the 64bit version of the game you're modding, is your lib.so file in a folder called arm64-v8a or armeabi-v7a?

In your main.cpp, make sure your code/offsets are under this line...

C++:
  #if defined(__aarch64__) //To compile this code for arm64 lib only.
 

libModz

Awesome Active Platinian
Jun 2, 2022
173
30
28
UK
Check in "Application.mk" as well...

APP_ABI := arm64-v8a

If it has armeabi-v7a there as well, remove it.
 

elementgear

Platinian
Original poster
Nov 7, 2023
21
9
3
What about your offsets etc? Are they dumped from the 64bit version of the game you're modding, is your lib.so file in a folder called arm64-v8a or armeabi-v7a?

In your main.cpp, make sure your code/offsets are under this line...

C++:
  #if defined(__aarch64__) //To compile this code for arm64 lib only.
is there any tutorial how to do this?
 

elementgear

Platinian
Original poster
Nov 7, 2023
21
9
3
Check in "Application.mk" as well...

APP_ABI := arm64-v8a

If it has armeabi-v7a there as well, remove it.
i did this but still it didn't work

C++:
#if defined(__aarch64__) //To compile this code for arm64 lib only.
i tried adding code like this after #if defined(__aarch64__)

Code:
#if defined(__aarch64__)

switch (featNum) {
case 1:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;

case 10:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;

case 15:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;
Even after adding the code, I still encounter errors when compiling in Android Studio. Could you please provide me with a tutorial? I'm still learning and would appreciate the assistance.
 

libModz

Awesome Active Platinian
Jun 2, 2022
173
30
28
UK
Sorry I use Aide not Android Studio so not sure about tutorial. You can try searching on here, as for the error you're getting I'm not sure what else to suggest. "App is not compatible with your phone" error is usually due to architecture compatibility.
 

xyzhunter

PMT Modder
Staff member
Modding-Team
Oct 28, 2020
2,121
112,156
1,213
Indonesia
i did this but still it didn't work



i tried adding code like this after #if defined(__aarch64__)

Code:
#if defined(__aarch64__)

switch (featNum) {
case 1:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;

case 10:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;

case 15:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;
Even after adding the code, I still encounter errors when compiling in Android Studio. Could you please provide me with a tutorial? I'm still learning and would appreciate the assistance.
 

GamerAadil

Rookie
Oct 10, 2020
3
0
48
Nepal
i did this but still it didn't work



i tried adding code like this after #if defined(__aarch64__)

Code:
#if defined(__aarch64__)

switch (featNum) {
case 1:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;

case 10:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;

case 15:
PATCH_LIB_SWITCH("libil2cpp.so", "0x200000", "00 00 A0 E3 1E FF 2F E1", boolean);
break;
Even after adding the code, I still encounter errors when compiling in Android Studio. Could you please provide me with a tutorial? I'm still learning and would appreciate the assistance.
Resign mod menu using MT Manager. It might work.