How to create an unsigned APK file for rooted devices

Sbenny.com is trusted by 1,334,325 happy users since 2014.
Register

AndnixSH

Savage Lv6️⃣
SB Mod Squad ⭐
Member for 8 years
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.




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



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



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



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



5. The program will open



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



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.



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



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



Credit:
iAndroHacker
 

Raxx

Veteran Lv7️⃣
eBook Releaser
Member for 8 years
Re: Tutorial How to create an unsigned APK file

Nice job! Mind if I tweak your grammar a little bit? I don't mean to sound rude or anything.

(and then I'll delete the post)
 

AndnixSH

Savage Lv6️⃣
SB Mod Squad ⭐
Member for 8 years
Re: Tutorial How to create an unsigned APK file

Raxx said:
Nice job! Mind if I tweak your grammar a little bit? I don't mean to sound rude or anything.

(and then I'll delete the post)
Yes sure you can and let me know the changes, because english is not my native language.

Thanks very much
 

Raxx

Veteran Lv7️⃣
eBook Releaser
Member for 8 years
Re: How to create an unsigned APK file

I went ahead and took a video of all the changes I made.
Youtube

I also deleted my topic about creating an unsigned apk file.
Keep up the good work, I look forward to seeing more from you! :)
 

Lucifer

☠ Dark Lord ☠
Member for 8 years
Re: How to create an unsigned APK file

Kepp up the Good work iandrohacker :D
Nice topic ;)
 

AndnixSH

Savage Lv6️⃣
SB Mod Squad ⭐
Member for 8 years
Re: How to create an unsigned APK file

Raxx said:
I went ahead and took a video of all the changes I made.
Youtube

I also deleted my topic about creating an unsigned apk file.
Keep up the good work, I look forward to seeing more from you! :)
Thanks!
 
Top