[GUIDE][poll-added][No-PC]How to sign an apk file & make a flashable zip without PC
Hello, Many we need to sign apk file such as :-
[highlight]1)while converting amrv7 games to amrv6.[/highlight]
[highlight]2)after changing icon/modify any apk.[/highlight]
[highlight]3)after editing systemui.apk or framewprk-res.apk[/highlight]
[size=+2]And make a flashable zip for upload on Xda !![/size]
[highlight][size=+2]But many of us don't have pc(using tapatalk or Xda app) or may be we live out (such as me) and leave pc at home!![/size][/highlight]
So we can't sign apk with apksigner, apktool# or 7zip!!
"""""""""""""""""""""""""""""""""""
As we know
[highlight][size=+3]NECESSITY IS THE MOTHER OF INVENTION.[/size][/highlight]
[size=+2]So, After some time I find a way to sign apk and make a flashable zip with our android without using pc or Mac!![/size]
''''''"""""""""'''''''"""""""""'''''''""""""""
""""""""""""""""""""""""""""""""""""
[highlight][size=+2]Process:-[/size][/highlight]
----------------------------***********------------------------
"""""'''''''''"""""""""'''"""""""'''''''""""""
[size=+3]CONCLUSION:-[/size]
working and installable signed apk file!!
&
Working and flashable zip!!
____________________________________
#[highlight]APKTOOL[/highlight]
U can also modify an apk with new [highlight]APKTOOL[/highlight] for android
____________________________________
-----------------------------------------
***If u will find any error in this thread PM me I will edit it!!
[highlight][size=+1]Plz rate this thread and show ur interest in added poll[/size][/highlight]
-------------------------------------------
-------------------------------------------
Will add how to edit updater-script by which you can add your signature in that flashable zip
[highlight]1)while converting amrv7 games to amrv6.[/highlight]
[highlight]2)after changing icon/modify any apk.[/highlight]
[highlight]3)after editing systemui.apk or framewprk-res.apk[/highlight]
[size=+2]And make a flashable zip for upload on Xda !![/size]
[highlight][size=+2]But many of us don't have pc(using tapatalk or Xda app) or may be we live out (such as me) and leave pc at home!![/size][/highlight]
So we can't sign apk with apksigner, apktool# or 7zip!!
"""""""""""""""""""""""""""""""""""
As we know
[highlight][size=+3]NECESSITY IS THE MOTHER OF INVENTION.[/size][/highlight]
[size=+2]So, After some time I find a way to sign apk and make a flashable zip with our android without using pc or Mac!![/size]
''''''"""""""""'''''''"""""""""'''''''""""""""
[highlight]REQUIREMENTS:-[/highlight]
1)Root explorer (buy it on play store or u may have)
2)ZIPsigner (free)(download it from playstore)(or u can download directly by clicking here
3)any existing flashable zip (to make a flashable zip)
(u can download flashable sample zip by clicking here )[highlight][size=+1]*UPDATED(03/10/13)[/size][/highlight]
""""""""""""""""""""""""""""""""""""
[highlight][size=+2]Process:-[/size][/highlight]
[A] Sign an apk !!
------------------
1) At first extract ur newxyz.apk by root explorer that exacted apk will be in speedsoftware > extracted > newxyz .
2) change/modify ur apk as u want!!
3) after editing that apk zip that whole newxyz folder!! This time ur folder will be in speedsoftware > zip/archives
4) Now from here u will need the help of ZIPsigner.
Open ZIPsigner > choose input > give address ur ziped apk folder.
Then go to output and give address sdcard/signedapk.apk
5) choose key/mode as
Auto-testkey
6) press sign !!
----------------------------***********------------------------
Flashable zip
-----------------
1) Download and extract the
sample.zip by root explorer.
Extracted folder (sample) will be in speedsoftware > extracted
2) Now open folder sample you should see two folders: one called "system" and one called "META-INF".
3) Let's start with the "system"
so open it:
In there, will go all files that what
you want to add or replace to the
system. So let's say for example that you want to replace the bootanimation.
4) Make a "New Floder" in sample> system > newfolder* ,name its as "media" *(make sure its aint in CAPS nor with in quotation marks)
5) now simply move the file in
their respective place:
the bootanimation.zip file should go in '/system/media' folder
**If you have more files to add, just follow the logic above; I'm sure you get the idea by now..
[size=+2]Hints[/size]
/system/app - all the system apps (SystemUI.apk etc)
/system/framework/ -framework-res.apk,android.policy.jar
/system/media - bootanimation.zip
/system/lib - libraries (*.so)
6) The other folder included in the folder sample(sample) is named "META-INF". So, [highlight]You may have to Replace the update-binary[/highlight] (if ur flashable zip is not working) inside the META-INF folder with an update-binary got from a zip that works in your phone.
7) if ur work with that folder complete then zip that folder.
8) now open ZIPsigner
-choose input
-Give address to ur zip u have created
-Give address to output where the flashable zip will be saved!!
(as explained above in SIGN APK)
9) Choose auto-testkey as key.
10) press Sign !!
"""""'''''''''"""""""""'''"""""""'''''''""""""
[size=+3]CONCLUSION:-[/size]
working and installable signed apk file!!
&
Working and flashable zip!!
____________________________________
#[highlight]APKTOOL[/highlight]
U can also modify an apk with new [highlight]APKTOOL[/highlight] for android
____________________________________
[size=+3]*** CREDITS ***[/size]
[highlight](*1*) Rishik999 - for his awesome guide about flashable zip!![/highlight]
[highlight](*2*) ZIPsigner app developer[/highlight]
[highlight](*3*)Evanlocked - for his guide about apktool !![/highlight]
[highlight][size=+1](*4*) thewarlord (me)- for this guide[/size][/highlight]
-----------------------------------------
***If u will find any error in this thread PM me I will edit it!!
[highlight][size=+1]Plz rate this thread and show ur interest in added poll[/size][/highlight]
-------------------------------------------
Must READ* :-
[highlight]I am not going to give a emotional lecture.... So plz try to control ur self before copying it on another [size=+1]ANDROID[/size] forums !! PLZ [/highlight]
-------------------------------------------
Will add how to edit updater-script by which you can add your signature in that flashable zip
Last edited: