View Poll Results: Is this guide easy or help you at any CASE ??
YES!! 26 89.66%
NO!! :-\ 4 13.79%
Multiple Choice Poll. Voters: 29. You may not vote on this poll

Post Reply

[GUIDE][poll-added][No-PC]How to sign an apk file & make a flashable zip without PC

OP thewarlord

5th September 2013, 06:46 PM   |  #1  
thewarlord's Avatar
OP Senior Member
Flag XDA
Thanks Meter: 148
 
253 posts
Join Date:Joined: Jul 2013
More
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

And make a flashable zip for upload on Xda !!

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!!

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

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

NECESSITY IS THE MOTHER OF INVENTION.


So, After some time I find a way to sign apk and make a flashable zip with our android without using pc or Mac!!

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

Quote:

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 )*UPDATED(03/10/13)

""""""""""""""""""""""""""""""""""""

Process:-

Quote:

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


Click image for larger version

Name:	uploadfromtaptalk1378403122002.jpg
Views:	1233
Size:	19.9 KB
ID:	2237363

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

5) choose key/mode as

Auto-testkey

6) press sign !!

----------------------------***********------------------------

Quote:

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



Hints

/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 !!

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

CONCLUSION:-

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 Here

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

But many times you will find errors in decompiling

____________________________________

Quote:

*** CREDITS ***

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

(*2*) ZIPsigner app developer

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

(*4*) thewarlord (me)- for this guide

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

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

Plz rate this thread and show ur interest in added poll
-------------------------------------------

Quote:

Must READ* :-

I am not going to give a emotional lecture.... So plz try to control ur self before copying it on another ANDROID forums !! PLZ

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

Will add how to edit updater-script by which you can add your signature in that flashable zip
Last edited by thewarlord; 4th October 2013 at 02:43 PM.
The Following 36 Users Say Thank You to thewarlord For This Useful Post: [ View ]
5th September 2013, 07:00 PM   |  #2  
aniket.lamba's Avatar
Senior Member
Flag New Delhi
Thanks Meter: 1,337
 
2,292 posts
Join Date:Joined: Jul 2012
Donate to Me
More
Nice guide
5th September 2013, 10:12 PM   |  #3  
thewarlord's Avatar
OP Senior Member
Flag XDA
Thanks Meter: 148
 
253 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by aniket.lamba

Nice guide

Thanks!!
The Following 3 Users Say Thank You to thewarlord For This Useful Post: [ View ]
6th September 2013, 05:49 AM   |  #4  
A N D Y's Avatar
Recognized Contributor
Flag Heaven
Thanks Meter: 848
 
357 posts
Join Date:Joined: Feb 2013
More
Bro! But that's an old trick... I think we already have one guide present on our forums....

Sent from my GT-I9505 using Tapatalk 4
The Following User Says Thank You to A N D Y For This Useful Post: [ View ]
6th September 2013, 06:43 AM   |  #5  
thewarlord's Avatar
OP Senior Member
Flag XDA
Thanks Meter: 148
 
253 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by A N D Y

Bro! But that's an old trick... I think we already have one guide present on our forums....

Sent from my GT-I9505 using Tapatalk 4

O!! But I don't found that !!
So I make a new guide!!
The Following 2 Users Say Thank You to thewarlord For This Useful Post: [ View ]
8th September 2013, 12:58 PM   |  #6  
blackshat's Avatar
Junior Member
Thanks Meter: 1
 
12 posts
Join Date:Joined: Jul 2013
Thanks. Its really simple.
9th September 2013, 05:38 PM   |  #7  
Souroking's Avatar
Senior Member
Flag Kolkata
Thanks Meter: 193
 
777 posts
Join Date:Joined: May 2012
More
Nice guide but some steps can be reduced if we use zarchiver instead of using root explorer.

||""Playing Asphalt™ 8 Airborne on my sgy. LoLz.
Joke of the year. Gameloft devs will die if they hear this. ""||
9th September 2013, 06:28 PM   |  #8  
thewarlord's Avatar
OP Senior Member
Flag XDA
Thanks Meter: 148
 
253 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by Souroking

Nice guide but some steps can be reduced if we use zarchiver instead of using root explorer.

||""Playing Asphalt™ 8 Airborne on my sgy. LoLz.
Joke of the year. Gameloft devs will die if they hear this. ""||

Thanks 4 ur respond !!
Can u explain it via pm !!
I will add that soon with credits!!
18th September 2013, 07:10 PM   |  #9  
thewarlord's Avatar
OP Senior Member
Flag XDA
Thanks Meter: 148
 
253 posts
Join Date:Joined: Jul 2013
More
Apktool added!!
18th September 2013, 08:25 PM   |  #10  
mms047's Avatar
Senior Member
Flag Netrakona
Thanks Meter: 90
 
233 posts
Join Date:Joined: Aug 2013
More
Thank you bro... Its really easy.... I was looking for something like this....

can you provide the zipsigner apk link without playstore?

---------- Post added at 01:25 AM ---------- Previous post was at 12:46 AM ----------

You said about "update-binary"
but what about "updater-script"?
Do I need to replace it too???

Sent from my Galaxy Young GT-S5360 using xda-developers app from Bangladesh.

Post Reply Subscribe to Thread

Tags
android, guide, how to, sign apk, without pc
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy Y GT-S5360 General by ThreadRank