Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9247223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:40:31+00:00 2026-06-18T09:40:31+00:00

I know this topic has been opened multiple times and I learnt a lot

  • 0

I know this topic has been opened multiple times and I learnt a lot but I stumbled across a problem I really need advice on.

I’m using LVL with Obfuscation. I changed the default LVL ALOT so that anti-LVL does not break it. However, Lucky Patcher with one click breaks it! I tried to see the new broken APK. Yes it simply called my “allow method”.

My question is if someone can recommend a way to prevent Lucky Patcher from breaking it? I know I can’t make it bullet-proof, but I want it at least to be not so easy for one-click software.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T09:40:32+00:00Added an answer on June 18, 2026 at 9:40 am

    Code to check your certificate:

    public void checkSignature(final Context context) {
        try {
            Signature[] signatures = context.getPackageManager().getPackageInfo(context.getPackageName(), PackageManager.GET_SIGNATURES).signatures;
    
            if (signatures[0].toCharsString() != <YOUR CERTIFICATE STRING GOES HERE>) {
                // Kill the process without warning. If someone changed the certificate
                // is better not to give a hint about why the app stopped working
                android.os.Process.killProcess(android.os.Process.myPid());
            }
        } 
        catch (NameNotFoundException ex) {
            // Must never fail, so if it does, means someone played with the apk, so kill the process
            android.os.Process.killProcess(android.os.Process.myPid());
        }
    }
    

    Next how to find which one is your certificate. You must produce an APK, in release mode, as the debug certificate is different from the release one. Output your certificate into your Logcat:

    signatures[0].toCharsString();
    

    Remember that when you are back to debug mode, the certificate is different again. To avoid debug issues use next line to skip the verification:

    if ((context.getApplicationContext().getApplicationInfo().flags &= ApplicationInfo.FLAG_DEBUGGABLE) != 0)
        return;
    

    Next the lucky patcher checker.
    I decompiled all versions of Lucky Patcher, and I’ve found that its creator used 2 package names between all realeases. So you only need to keep track of new versions and keep adding future package names.

    private boolean checkLuckyPatcher() {
        if (packageExists("com.dimonvideo.luckypatcher"))
            return true;
    
        if (packageExists("com.chelpus.lackypatch"))
            return true;
    
        if (packageExists("com.android.vending.billing.InAppBillingService.LACK"))
            return true;
    
        return false;
    }
    
    private boolean packageExists(final String packageName) {
        try {
             ApplicationInfo info = this.getPackageManager().getApplicationInfo(packageName, 0);
    
            if (info == null) {
                // No need really to test for null, if the package does not
                // exist it will really rise an exception. but in case Google
                // changes the API in the future lets be safe and test it
                return false;
            }
    
            return true;
        }
        catch (Exception ex) {
            // If we get here only means the Package does not exist
        }
    
        return false;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this topic has been beat to death but a lot of the
I know this topic has been approached several times before in various ways, but
I know this topic has been beaten into the ground, but I'm really stumped.
I know that this topic has been asked several times before but none of
ok, I know that this topic has been addressed several times on here, but
I know this topic has been addressed several times here, however my problem is
I know this topic has been discussed a lot , but I have a
I know this topic has been discussed but I think it has some differences.
I know this topic has been discussed and killed over and over again, but
I know this topic has been discussed to death, but there is one thing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.