• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [GUIDE][NO_PC]How to sign apk & make CWM flashable zip without PC

Hello, Many we need to sign apk file such as :-

1)while converting amrv7 games to amrv6.

2)after changing icon/modify any apk.

3)after editing systemui.apk or framewprk-res.apk

[size=+2]And make a flashable zip for upload on Xda !![/size]

[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]

So we can't sign apk with apksigner, apktool# or 7zip!! :(

"""""""""""""""""""""""""""""""""""
As we know

[size=+3]NECESSITY IS THE MOTHER OF INVENTION.[/size]


[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]

''''''"""""""""'''''''"""""""""'''''''""""""""

REQUIREMENTS:-

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 )[size=+1]*UPDATED(03/10/13)[/size]

""""""""""""""""""""""""""""""""""""
 
[size=+2]Process:-[/size]

[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.


ss will added soon!!

Then go to output and give address sdcard/signedapk.apk

5) choose key/mode as

Auto-testkey

6) press sign !! :)
 
Upvote 0
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, You may have to Replace the update-binary (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 !! :) :D


------------------------------
 
Upvote 0
[size=+3]CONCLUSION:-[/size]

working and installable signed apk file!! :)

&

Working and flashable zip!! ;)
____________________________________

#APKTOOL

U can also modify an apk with new APKTOOL for android

how to use apktool.apk original forum click [thread=2388135]Here[/thread]

you can download apktool for android (.apk) from HERE

But many times you will find errors in decompiling
____________________________________

[size=+3]*** CREDITS ***[/size]

(*1*) Rishik999 - for his awesome guide about flashable zip!!

(*2*) ZIPsigner app developer

(*3*)Evanlocked - for his guide about apktool !!

[size=+1](*4*) thewarlord (me)- for this guide[/size] ;) :)

-----------------------------------------

***If u will find any error in this thread PM me I will edit it!!

[size=+1]Plz rate this thread and show ur interest in added poll[/size]
-------------------------------------------

Must READ* :-

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 :(

-------------------------------------------

Will add how to edit updater-script by which you can add your signature in that flashable zip[/font][/center]
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones