PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android Development (http://forum.ppcgeeks.com/forumdisplay.php?f=163)
-   -   [PC] PPCGeeks Android APK & Zip Signer (http://forum.ppcgeeks.com/showthread.php?t=126517)

Wideawake 06-24-2010 05:35 PM

[PC] PPCGeeks Android APK & Zip Signer
 
1 Attachment(s)
Alright so, I'm working on some android development projects and this tool came as like a POC/Test application. It turned at well tho, so I decided to package it and share with other android developers that may want. The application itself is very simple and only signs APKs and Zip files for android devices. I would like to also give a big thanks to user Stericson @ XDA for the testsign.jar file used in signing APKs and Zips. From my research he is the one who created/shared this file with everyone. Hope this helps some folks with the signing process.
~Mike

Prerequisite:
1. Download and install the Java Runtime if you do not already have installed.
2. Download and install .NET Framework 2.0 if you do not already have this installed or higher version.
3. Download and install the latest PPCGeeks Android Signer application attached to this post.

Once we have finished all the above, its really simple to get started!

Instructions:
1. Run the AndroidSigner application by clicking the shortcut installed on the desktop. This will bring up the application and look like the screenshot below.
http://img532.imageshack.us/img532/2600/89346591.png

2. Drag and drop any android APK or Zip file over onto the box, then click sign. It will produce a file with "-signed" added onto the end in the folder that the original file is located as pictured below.
http://img534.imageshack.us/img534/1803/as2.png

imneveral0ne 06-25-2010 12:04 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
thanks for the app, should be useful!

Wideawake 06-25-2010 09:34 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Hope it works well for ya! :thumbleft:
~mike

spiritcrusher33 07-02-2010 05:37 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
awesome.. many thanks wideawake.. this will come in handy..

Wideawake 07-02-2010 09:48 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by spiritcrusher33 (Post 1849423)
awesome.. many thanks wideawake.. this will come in handy..

No problem! :thumbleft:
~mike

apristel 07-17-2010 07:24 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Works great. Thanks man.

stratt 07-17-2010 11:01 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Thank you for the program. However, when I drop the apk in the program and hit sign, i get an error that says it cant find the specified file. Where do I need to have the file located in order for the program to find it?

Wideawake 07-18-2010 12:12 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by stratt (Post 1871356)
Thank you for the program. However, when I drop the apk in the program and hit sign, i get an error that says it cant find the specified file. Where do I need to have the file located in order for the program to find it?

It should be able to sign it no matter where its located. That shouldn't make a difference, can you take a screenshot of the error and post here?
~mike

stratt 07-18-2010 02:03 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Thank you. Here's my screen. Just seems to be a generic error.

http://img85.imageshack.us/img85/7467/capturebn.png

Wideawake 07-18-2010 03:00 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
I'm gonna have to say its because of the apk your trying to sign, I can't be sure of this but I've used it to sign modified htc keyboard apk before. Any way you can attach it for me? Also not sure if you know but if your modifying that file, you can open with 7zip and drag replacement files over into it, and then use without having to sign it. Hope this helps. :thumbleft:
~mike

stratt 07-18-2010 05:53 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by Wideawake (Post 1872167)
I'm gonna have to say its because of the apk your trying to sign, I can't be sure of this but I've used it to sign modified htc keyboard apk before. Any way you can attach it for me? Also not sure if you know but if your modifying that file, you can open with 7zip and drag replacement files over into it, and then use without having to sign it. Hope this helps. :thumbleft:
~mike

I havent had problems modding any other apk before. I modded the images in the res drawables, like every other apk. Then drag my new res drawable folder into the original apk. But it wont install. The original file installs, but the modded wont. Even tried including it in the rom I am working on, but wont apply that way either. Here is a link to it. Thanks in advance.

http://www.4shared.com/file/DmFWqReV/HTC_IME_hi22.html

stratt 07-18-2010 06:14 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
i'm on the droid btw

Wideawake 07-19-2010 10:16 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by stratt (Post 1872401)
I havent had problems modding any other apk before. I modded the images in the res drawables, like every other apk. Then drag my new res drawable folder into the original apk. But it wont install. The original file installs, but the modded wont. Even tried including it in the rom I am working on, but wont apply that way either. Here is a link to it. Thanks in advance.

http://www.4shared.com/file/DmFWqReV/HTC_IME_hi22.html

I can't get it to work either, what I would do is open the apk in 7zip, don't extract and drag and drop your replacement files into it. This way you don't have to sign it. I'm not sure what your customizing, but check out Gimpsta's Online Keyboard Maker. Hope this helps. :thumbleft:
~mike

PS Hope you release your ROM here too. :)

stratt 07-19-2010 11:24 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by Wideawake (Post 1873262)
I can't get it to work either, what I would do is open the apk in 7zip, don't extract and drag and drop your replacement files into it. This way you don't have to sign it. I'm not sure what your customizing, but check out Gimpsta's Online Keyboard Maker. Hope this helps. :thumbleft:
~mike

PS Hope you release your ROM here too. :)

Thanks man. That is the keyboard i am trying to customize (even more). The keyboard has other green images, but i need them blue lol. here are some screens of rom so far.

http://i790.photobucket.com/albums/y...719_091156.png
http://i790.photobucket.com/albums/y...719_091152.png
http://i790.photobucket.com/albums/y...718_195454.png
http://i790.photobucket.com/albums/y...717_203053.png

This is my theme of our teams rom (Team DC). The rom is called Succulent Desire 7. My theme is called Atlantis Blue 3.0. I may just included the Gimpsta one and foget modding more.

clockcycle 07-29-2010 10:55 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
At first I was, oh cool a Singing Android.. :?

davidof 02-06-2011 12:07 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by stratt (Post 1872082)
Thank you. Here's my screen. Just seems to be a generic error.

http://img85.imageshack.us/img85/7467/capturebn.png

i have the same problem with zip moded files, help

OMJ 02-26-2011 03:15 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by davidof (Post 2051890)
i have the same problem with zip moded files, help

I'm getting the same error from my new 64bit laptop, but works just fine on the same file on XP......I'll send Wideawake a msg.


*EDIT* I tried signing again days later & it worked fine.....odd

Wideawake 02-28-2011 07:50 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by davidof (Post 2051890)
i have the same problem with zip moded files, help

This is known about theme'd files, you cannot sign them even with command line. They must be opened with 7zip as not to break the signature and edited that way, then close and flash.

Now that being said you shouldn't have any issues signing ROM files. But am working with OMJ to investigate.
~Mike

RizDroid 10-13-2011 04:40 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
I figured out the prob about the message "The System cannot find the file specified": it's because Java isn't in DOS Path.

mahanddeem 02-10-2012 10:36 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Thanks

info[]box1 02-18-2012 08:07 AM

Good to see your still at it Wideawake.

Sent from my LG-P999 using Tapatalk

ammarmalhas 02-25-2012 05:11 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
I had the same problem with file not found. Just download and install the latest Java Runtime. Thanks for the share.

12MaNy 03-04-2012 09:00 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Still no 64 bit version?

Wideawake 05-01-2012 05:37 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Huh? Works fine on my 64bit system.
~Mike

HighLimit 05-02-2012 06:46 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
This script is helpful, Many Thanks

Karl 05-02-2012 12:11 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by 12MaNy (Post 2171663)
Still no 64 bit version?

do you have framework 2.0 on your puter?

ArsesHystaspes 06-02-2012 02:38 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Hey

thanks for great job.
Several times I tried to sign a zip over than 600Mb but it couldn't.
just an empty signed.zip
Please guide me or verify me.
thanks for answering

Wideawake 06-02-2012 03:19 PM

To be honest I haven't tried to sign a file that large. I will try and find the projects source code and have a look for fixes. That's a mighty large ROM to sign, what do u use to sign it instead?
-Mike

Sent from my SPH-D710 on the PPCGeeks App

Karl 06-02-2012 07:16 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by ArsesHystaspes (Post 2180348)
Hey

thanks for great job.
Several times I tried to sign a zip over than 600Mb but it couldn't.
just an empty signed.zip
Please guide me or verify me.
thanks for answering

ive signed roms at about 400mb with the program if you want to upload the file somewhere ill try to sign it to see if its only on your end

ArsesHystaspes 06-03-2012 05:31 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Quote:

Originally Posted by Wideawake (Post 2180349)
To be honest I haven't tried to sign a file that large. I will try and find the projects source code and have a look for fixes. That's a mighty large ROM to sign, what do u use to sign it instead?
-Mike

Sent from my SPH-D710 on the PPCGeeks App

I tried to sign MWAKIOUS rom with 73 fav apps I did it but deleted some apps to provide it under 600Mb.
It sign zip just under 600Mb.
finally I flashed it but many of apps didn't work.
I do not know why??
I used 4EXT recovery.

Wideawake 06-04-2012 01:16 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Just tested it with a 900+MB file on my system and it signed just fine. See below...
http://img841.imageshack.us/img841/6571/signed.png
-Mike

mraboud 09-14-2012 08:12 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
thx man ur amazing adorable aswesome just let me download this thing

crispdust 01-02-2013 07:17 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Hi,
I'm having a few problems trying to sign a file to change my GPS settings.
I downloaded a zip file that did change the settings, which totally broke my GPS.

I tried to revert to the original files by creating a zip file with my original GPS files, Signed it and got a signature verification failed when I tried to install.

I tried modifying the original zip files with 7 zip but got failed to verify whole-file signature, and signature verification failed. when I tried to install.

Signing the zip file edited with 7zip got me back to just getting signature verification failed.
I'm using a GSII running ICS 4.0.4 from Orange.

Any help would be greatly appreciated.

Wideawake 01-02-2013 07:19 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Sounds like you're not rooted am I right? If not then you need to take official zip file open with 7zip and edit it then close. It will retain official signature and you should be able to install. Hope this helps.
-Mike

crispdust 01-03-2013 06:06 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
You are correct I'm not rooted. I tried opening the original file with 7zip, and replaced the 2 files with my original files (In win xp) then closed the archive and transferred it to my phone. When I tried to install that I got the whole file signature failed and also the signature verification failed.

I'll try again tonight.

crispdust 01-07-2013 05:34 PM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
Ok so I tried again, I took the file gps_patch_v2.zip that originally broke my GPS checked that it would update the phone in recovery and copied it onto my PC. I opened it in 7zip, copied my backed up GPS.conf and sirfgps.conf into the zip file to replace the two files that were there. I then closed 7zip and copied it back to my phone.
I get
E:failed to verify whole-file signature
E:signature verification failed

Any ideas?

crispdust 01-10-2013 08:25 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
No worries, I found a more up to date file that did work on my handset.

They don't make it easy do they.

Thanks for the help.

lennondevid 02-22-2013 01:42 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
As per the your project concern i like to say that this is very useful to provide the great information about Android APK & Zip Signer. Android users know how to install the APK files on Android.

ave94 03-23-2013 12:03 AM

Re: [PC] PPCGeeks Android APK & Zip Signer
 
thanx 4 the help..


All times are GMT -4. The time now is 03:54 PM.

Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0