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

AndnixSH

Security Detective
Staff member
Modding-Team
Jun 27, 2017
506
46,633
1,193
Denmark
Old tutorial since december 2015 but edited

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!

What are the difference between unsigned APK and signed APK?
G-Bo:
"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 key. Android devices cannot handle that by default. But if you root your device and enable and LuckyPatcher 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.

For more information read: Tutorial - Why you should root + patch your device?
1553621959346.png

You can only install an unsigned APK on your rooted device because it require the signature to be disabled using Lucky Patcher. If your phone is not rooted, please search on Google about how to root your phone.

Note from Xtreme Myst:
By using the method described, consider to NOT add new files or remove existing files on the APK. 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, let say you've successfully remove XC protection and been thinking it's okay to pull the "lib/armeabi/libxigncode.so" 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.
Let's start modding.

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

1. Right click on the APK file -> Open With -Z 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

rhX5l4Y.png

6. Drag and replace the modded file in the .APK file

xVkbUdX.png

That's it. You are done

Smali and XML modding

If you were modding Smali or XML and you have recompiled it and signed it, you can do it

1. Compile the APK (Resigning an APK is optional)

2. Drag and replace a modded file from a signed APK to an original APK, and the APK will become an unsigned APK.

hUJUkts.png

3. Simply close the program, and you are done!


Replace signatures in META-INF (Second method)

You can delete the modified signatures and add the original signatures in META-INF folder but it may not work for some apps

1. Open signed APK

2. Open META-INF folder

SLUIBC6.png

3. Delete all signatures and add original signatures by game developer in META-INF folder. This will make APK into unsigned APK

Bh8zuHk.png

Credit:
AndnixSH
 

About us

  • Welcome to platinmods.com! We are proud to present you the place which let's dreams come true! Focusing on quality and trust we have spend much time to build a gaming community fitting to your wishes and needs. Actually we offer you the finest MODs and Games of the Android section and we slowly expand to the iOS section as well. But games, Android MODs & iOS MODs are not the only things we can offer you. We have tutorials, tools, a very friendly, active and solid community which will help you with any problem you have =) Your happiness is our goal. We hope you enjoy!
  • Feel free to follow us on facebook as well =)

Forum statistics

Threads
21,146
Messages
387,372
Members
518,667
Latest member
hal04