How to create unsigned APK file for rooted devices + signature check disabled (fix Google & FB login)

Why unsigned APK, and why is it recommended for most games? With an unsigned APK, you can install the APK over the original. You can login with your Google+ account without signature error, and login with your Facebook account without uninstalling Facebook app. No more login not working complains!


"Unsigned" means, that you leaved the opened jacket open. You changed the APK and modified it, but you leaved the opened original Key inside, you do not sign it with the test/own signature key. Android’s security does not allow it by default. But if you root your device and disable signature via Lucky Patcher or Core Patch, you will be able to tell the device "the jacket is closed, install it". In this way you are able to update the original playstore game with a mod and will be able to login with the Google+ account. You simply lying to your device.


9abkjs1.png

Let's start modding.

First, we need to change another apps. 7zip or Winrar

1. Right click on the APK file -> Open With -> Choose Another App

XqvBZyo.png

2. Click on "More apps" and tick "Always use this app to open .APK files"

vrveThN.png

3. Click "Look for another app on this PC"

qx4DyS1.png

4. To go program files and select any program to open with APK. I'd recommended 7zip or Winrar

gQfXbNX.png

5. The program will open




6. Copy META-INF from original APK to modded APK. If you are modding re-signed APK, make sure to delete re-signed META-INF before copying original META-INF


7. Enjoy

By using the method described, consider to NOT add new files or remove existing files on the APK, it will break compatibility with Lucky Patcher. For example, along with your mod you need to add a file into the APK, let say in "assets/myfile.dat". It won't work and lead to failure during APK installation. Another example, if you deleted "lib/arm64-v8a" out of the APK. Again, it causing installation failure.

This is because all file structures in the APK was mapped and their info was stored in "META-INF/CERT. SF" file. The solution is you need to put all your mods along with expected APK file structures in the compiled APK, sign it (with any desired key), then pull the "META-INF/CERT.SF" from this newly signed APK to be used as replacement for the old one at your working APK. However, this trick will not work with new signature scheme for Lucky Patcher anyway because the developer refused to improve it, you need to use CorePatch, It is way better than Lucky Patcher and open source


Missing .RSA, .SF, or .MF?

It is because APK is using signature scheme v2 and above, don’t worry about it yet. For some reason, .RSA, .SF, or .MF are available if you download split APK/XAPK from Apkcombo or Apkpure. If Google login is not work, try copy entire contents from signed APK to original APK except META-INF

 

I want Lucky Patcher support!

Unfortunately, he never reply to me no matter how many times I asked him for fix. If you want, you can try ask him via mail [email protected] or 4pda


Credit:
iAndroHacker

Comments

Popular Posts

[Discontinued] VMOS Pro Global/CN Free Custom ROMs | Android 4.4.4, 5.1.1, 7.1.2 | ROOT | Gapps | Xposed | (NO VIP NEEDED)

[TOOL] Unity Assets Bundle Extractor