Tutorial Mod menu without overlay permission (Demo)

TheLGL

Awesome Active Platinian
Original poster
Skilled
Feb 19, 2020
156
4,144
193
UK
Introduction
This is a concept of floating mod menu without overlay permission. This menu will help you get around some basic anti-cheat. It will only work if the menu has been called from Activity, not Application context. Otherwise you would get an error
Code:
java.lang.ClassCastException: ____ cannot be cast to android.app.Activity
Sorry to disappoint you, but this is not a full menu project, just like a demo project and I have not implemented a fallback yet. You could try implement yourself, and make it ask for overlay permission and run service, if it fails. Don't cry if I don't want to spoonfeed

Thanks to DarkSide for his idea and sent me his project, but I have improved the project quite a bit

Preview:

2f2f692e696d6775722e636f6d2f61766f4e5658552e676966.gif


Download
Click on Code - Download ZIP


How to add menu
For those who knew how to add menu to the game, it's the same way as the regular LGL menu, but without adding overlay permission and services

Decompile APK, both game and menu app

Copy menu smali file to the game. Doesn't matter what classes folder you are copying on

Find main activity from AndroidManifest.xml and open the main smali file

Now, this is important. Pay attention to the class name on the first line. Is it an activity? or is it an application?

We can easly determite that this is an activity

2f2f692e696d6775722e636f6d2f695851443648362e706e67.png


But what about this? It's an application context. Menu will not work with it

2f2f692e696d6775722e636f6d2f41505a7974584e2e706e67.png


But if you are unsure, just give it a try. Otherwise, find another smali that has OnCreate method

And add menu call below OnCreate method:

Code:
invoke-static {p0}, Lcom/mod/Main;->Start(Landroid/content/Context;)V
2f2f692e696d6775722e636f6d2f46315873796e782e706e67.png


Compile

That is simple

If you didn't know my mod menu project, please check this out: GitHub - LGLTeam/Android-Mod-Menu: Floating mod menu for Android
 

honykey

1/3 Games Approved
Jan 29, 2022
60
569
53
24
USA
nice leeching bro, creator this menu Nikka you leeched code by nikka. hahaha
 

TheLGL

Awesome Active Platinian
Original poster
Skilled
Feb 19, 2020
156
4,144
193
UK
nice leeching bro, creator this menu Nikka you leeched code by nikka. hahaha
I don't leech and I don't even know Nikka LOL.
DarkSide sent me this project and told me to publish. You should talk to him
 

TheLGL

Awesome Active Platinian
Original poster
Skilled
Feb 19, 2020
156
4,144
193
UK
Send Message on telegram :/ @NikkaGames else @Bluepoison (idk pm nikka, check in channel, message on price apk)
Well, I'm not going to bother them.
However, this is the original project by Darkside. I just fixed his project to make it work on AS
 

TheLGL

Awesome Active Platinian
Original poster
Skilled
Feb 19, 2020
156
4,144
193
UK
I've done recompile it my mod, but get crash/force stop when opened it
What just happen? Where my problem?
Read readme, check logs

dude do you still have the menu for コンパス ? Saw some cool work there and just wanna know if your still at it
Why do i have to do with that game? i don't mod games anymore
 

NikaGames0

Rookie
Oct 8, 2020
1
0
1
22
Georgia
I don't leech and I don't even know Nikka LOL.
DarkSide sent me this project and told me to publish. You should talk to him
just say that you depend on that Russian leecher, by this way you also equal to leecher.
menu icon is leeched from norka
menu without overlay permission code & idea is leeched from me
menu design is also leeched from me

just, lol
idk what to say anymore...
 

DaRealPanDa

Co-Administrator
Staff member
Supporting-Team
Global Moderator
Social Media
Mar 12, 2018
6,665
15,467
2,120
27
Skyrim
Guys, don't call anyone a leecher without real proofs.
You can and you WILL ruin someones rep in this scene with it.
As long as you have 100% proof that someone leeched something WITH THE INTEND to leech it, then please contact @G-Bo ッ or me inside a private conversation here on platinmods and we will try to handle the situation, atleast here.
When you have proof that you came up first with something and people try to make something out of your project without your permission, then we will surely remove everything related to it.

There is no need to get into a "fight" when there are other ways to handle these situations.