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

Is this guide easy or help you at any CASE ??


  • Total voters
    28
  • Poll closed .
Search This thread

thewarlord

Senior Member
Jul 18, 2013
258
151
XDA
[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]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.


uploadfromtaptalk1378403122002.jpg

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 !! :) :D


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

[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

how to use apktool.apk original forum click Here

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

[highlight]But many times you will find errors in decompiling[/highlight]

____________________________________

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

Rohan Taneja

Inactive Recognized Developer
Feb 22, 2013
740
2,564
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
 
  • Like
Reactions: blackshat

Souroking

Senior Member
May 4, 2012
1,007
254
Kolkata
Nice guide but some steps can be reduced if we use zarchiver instead of using root explorer.

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

thewarlord

Senior Member
Jul 18, 2013
258
151
XDA
Nice guide but some steps can be reduced if we use zarchiver instead of using root explorer.

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

Thanks 4 ur respond !! :)
Can u explain it via pm !!
I will add that soon with credits!!
 

mms047

Senior Member
Aug 31, 2013
428
116
Netrakona
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.
 

thewarlord

Senior Member
Jul 18, 2013
258
151
XDA
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.


Link updated in guide!! u can also download zipsigner by clicking here!!
 

thewarlord

Senior Member
Jul 18, 2013
258
151
XDA
In many cases there is no need to change updater-script !! It can only edited by notepad++ or high end text editor for android 3.0+ !!

But any one add his/her signature in updater-script then that signature will appear while flashing that zip!!

So its important to don't change it if u don't want another's signature in ur zip!!

Thanks 4 ur support !! :) :D
 

Souroking

Senior Member
May 4, 2012
1,007
254
Kolkata
Thanks 4 ur respond !! :)
Can u explain it via pm !!
I will add that soon with credits!!

Its easy zarchiever allows us to add or remove files from a zip you can just edit a flashable zip that works on your phone to add the files you want and delete the ones you dont want. And then jst sign it using your method.

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

thewarlord

Senior Member
Jul 18, 2013
258
151
XDA
Its easy zarchiever allows us to add or remove files from a zip you can just edit a flashable zip that works on your phone to add the files you want and delete the ones you dont want. And then jst sign it using your method.

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

Thanks!!






Key/mode is a option in zipsigner !!

U have to use it to sign the zip or app!!

Select auto test key for signing!!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    [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]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.


    uploadfromtaptalk1378403122002.jpg

    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 !! :) :D


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

    [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

    how to use apktool.apk original forum click Here

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

    [highlight]But many times you will find errors in decompiling[/highlight]

    ____________________________________

    [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
    2
    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!!
    1
    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
    1
    Make app. signed apk through "BytecodeEditor.apk"