Jump to content

How to create an unsigned APK file for rooted devices (Google & FB login fix)


5 posts in this topic

Recommended Posts

Updated (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?
Unsigned APK is an APK that was been modded but the modders kept the original signature by developer to make Google login working. SIgned APK is an APK which was been re-signed by modders with APKtool's signature, dated 29-02-2008. Google or other social medias may not work due to signature that was been changed.

9abkjs1.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 saerch 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

Updated by AndnixSH
  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines