yashsingh1/xdaforums huggingface dataset:
[Streak 5 Q&A, Help & Troubleshooting] themasterhook2000:
I got my Dell Streak as a replacement when my first one went out, it came with the 2.2 update. Everything was working fine and then one day during a call my Dell Streak rebooted and it stayed stuck on the Dell Logo, so I did a factory reset and now it hasnt worked ever since. I decided to try and install clockwork recovery to see if I can try to flash a new rom but it wont even load up when I select the option to Update from SD card, it just gives me a black screen, what can I do? I looked on the forum and I couldn't find anyone with a similar problem, thank you.
[Streak 5 Q&A, Help & Troubleshooting] marvin02:
Use StreakMod Recovery (the recovery-v0.3.2.7-DoctorWFix.zip version) and read this:

Radimus’s Universal Guide to Flashing a ROM
[Streak 5 Q&A, Help & Troubleshooting] cdzo72:
And you can't say you didn't look all over the forum and not find the problem because at least once a day a newbie posts with the same problem withouth doing a search
[Android Software Development] Andy:
pySignare

"-to sign"

v1.0​

Version 1.0

Complete re-write into python.

Prerequisites

Windows (for now)

Java

Get Java here --> https://www.java.com/en/download/

Python 3.x

Get 3.3.4 here --> http://www.python.org/download/releases/3.3.4/

Instructions

Download

Extract

Copy Unsigned APKs Into "UnsignedApks"

Run "pySignare.py"

Follow On-Screen Prompts

Thats It

Future Development

Make X-Platform - (Shouldn't be too hard)

Minor code tidy up

Currently its bundled with TestExample.apk (just an empty renamed zip) so it can be tested straight away.

DOWNLOAD HERE (Download ZIP - Right hand side)

Please post your experience, and if you encounter any errors, let me know and I'll attempt to fix.
[Android Software Development] Andy:
FAQ

Q. I get the error - 'java' is not recognized as an internal or external command, operable program or batch file.

A. You either, do not have the Java installed or have not added java to your PATH in Environment Variables. Either install Java or add Java to your PATH.
[Android Software Development] vissili:
Thanks dude.
[Android Software Development] Andy:
Any feedback, problems or suggestions?
[Android Software Development] _Sparks:
wow it works! Easy to use! thanks!
[Android Software Development] Andy:
Thank you.

Are there any Linux wizards out there who can help me port this?
[Android Software Development] Andy:
New version 0.3 available.
[Android Software Development] leith51:
tried it all i get is cannot find specified path

edit: forget that i fixed it had to modify the it as im using jdk 1.7.0
[Android Software Development] Andy:
I don't know why I changed it, but in v0.3 it assumes you have installed the Java Development Kit (JDK) on a 64bit system (it mirrors my system rather than a universal approach).

If you have java added to your windows PATH, try using these files, just extract these to the same directory and run these instead.
[Android Software Development] b00sted:
works great! small suggestion is for the batch file to ask for the location of your jdk.

also have error checking as the batch said it worked but didnt at first (due to the location of the jdk)
[Android Software Development] leith51:
I am using a 64 bit system I have jdk on both program files 64 bit and (x86) and the path in the test keys ran to jdk 1.6.0_25(x86) so I used notepad ++ edit it to 1.7.0(x86) tried again it signed and zipalinged no problem
[Android Software Development] Andy:
Your right, I wrote this quickly to fulfil my needs on my system.

I will update to v0.4 with error checking & JDK checking soon.

Thanks for the suggestion.

EDIT: Seems you beat me to the reply leith. If your JDK is added to your windows path then it shouldnt matter whether its 32 or 64 bit. When I updated from v0.2 to v0.3 I used my personal build rather than the universal "java" approach. I can see that as explicit paths are specified in the .bat. v0.4 will add error checking and will most probably include a stripped out java package.
[Android Software Development] b00sted:
awesome! keep up the good work dude :)
[Android Software Development] p107r0:
unable to dl now: Fatal error: Method ExceptionDisplay::__toString() must not throw an exception in /home/aharney/public_html/index.php on line 644

?
[Android Software Development] Andy:
Try using a different browser, that error is quite rare and unique to certain localised versions of windows + firefox.
[Android Software Development] Andy:
Version 0.4 now out.
[Android Software Development] samuel2706:
Flawless victory :) brilliant Andy

im no stranger to signing apks

both of us know this tool is the best

better than any other signtool

never gonna give this up

not gonna desert this tool...
[Android Software Development] Andy:
I saw what you did there. Version 0.5 will replace icon.png in every apk with a png of his face.
[Android Software Development] Eneco:
I can't download the file
[Android Software Development] Andy:
Yeah, I had to take the site down again. Been hit with 2 DDoS attacks in the last 3 days. I don't know why.

I will have it back up at some point tonight. I will PM you when its back up.
[Android Software Development] dAii7:
What am I doing wrong???

What am I doing wrong??????????????

I believe that I added Java to my path in Environment Variables. I am running Windows 7 64 bit and I've installed the latest JDK which is JDK 7. I added this path location to the environmental variables under System Variables then I clicked on Edit in PATH and added this C:\Program Files\Java\jdk1.7.0\bin

but I keep getting this error:

Error: opening registry key 'Software\JavaSoft\Java Runtime Environment'

Error: could not find java.dll

Error: Could not find Java SE Runtime Environment.

Done, It's as simple as peas.

please help me when you get the opportunity, I would appreciate a lot!
[Android Software Development] DROCSID:
Thanks for the tool!!
[Android Software Development] :
Why do I use Ubuntu...
[Android Software Development] bboyle:
I get an Error 404 from Dropbox when I try to download. Tried Firefox and IE.
[Android Software Development] Andy:
My bad, now fixed.
[Android Software Development] bboyle:
Any recomendations to correct this? See screen shot.

I am running XP in a virtual with the latest Java. I did add the java path to the environment path variable.
[Android Software Development] fernandezhjr:
Works as advertised. Thank you so much, just what I was looking for.
[Android Software Development] kantbstopped519:
So i'm trying to upload my first app, well it's just a theme, to the market, so i used this to create a personal key & sign it. But when I try to upload it, it says "The server could not process your apk. Try again." I thought maybe it was an issue on my browser's end, so I tried both chrome & firefox but still didn't work. I'm not really sure what the issue is since I'm new to this, but will posting the Android Manifest xml help me any? Maybe there's something wrong that I just don't know about..
[Android Software Development] Andy:
Sure, post it and I will take a look.
[Android Software Development] kantbstopped519:
thanks for the quick reply, here it is..
[Android Software Development] Andy:
Your manifest looks ok. It contains all the required elements.

The key validity is set at 10,000 days and you only need to have a valid key for another 8,078 days so there isn't a problem there.

Could you check your apk signed correctly with

jarsigner -verify <your app>.apk

You may need to navigate to Java\jdkx.x.x\bin folder if its not added to your path.
[Android Software Development] kantbstopped519:
I feel like an idiot but i don't really know how to test it. Is this done in the android sdk?
[Android Software Development] Andy:
Have you added the JDK\bin directory to your system path?

If not try running this from an Elevated Command Prompt

"C:\Program Files\Java\jdk1.7.0\bin\jarsigner.exe" -verify <location of your apk>.apk

e.g

"C:\Program Files\Java\jdk1.7.0\bin\jarsigner.exe" -verify C:\YourApp.apk
[Android Software Development] kantbstopped519:
okay so i added the jdk/bin path to the system variables list, then did the verify thing you said in command prompt & it said "invalid SHA1 signature file digest for assets/default_value/conversation_list.xml"

& here's the xml it was referring to..
[Android Software Development] Andy:
It would appear that the file it references has been modified since it was signed, resulting in a invalid signature.

What I would do is resign the apk with your private key. Then re-run the verification.
[Android Software Development] kantbstopped519:
okay so i'm using apk manager to compile/test sign, & have been using the unsigned apk with your signer, so i just signed it with apk manager then used it with yours, verified, & now it says something different.

it said "jar verified" (which i assume is a good thing) then underneath it says:

"warning: this jar contains entries whose certificate chain is not validated.

re-run with the -verbose and -certs options for more details."

I'm guessing it's telling me this because this is my first app?
[Android Software Development] kantbstopped519:
i just attempted to upload it to the market & it worked. thank you sooo much lol, btw I plan on selling the theme for a buck or 2, but if you use Go SMS Pro then I'll gladly send you my apk lol
[Android Software Development] Andy:
I'm now just as unsure as you are at this stage.

If you re-run the validation with the -certs flag it should read your key. If so, you are good to publish. If not back to square 1.
[Android Software Development] Andy:
I forgot to add an Apple Inc like disclaimer into the script.

It should say,

- I joke, I joke.

Seriously, I'm glad you got it working.

I'm thinking of re-writing the script to use the keygen included with the JDK rather than using openssl. But that will be time dependant.
[Android Software Development] kantbstopped519:
haha thanks man, i really appreciate the help.
[Android Software Development] Andy:
Version 1.1 Released - Massive Improvement Over v0.4
[Android Software Development] ted77usa:
Any idea....:confused: get same errors massage every time.....:(
[Android Software Development] leith51:
Do you have java installed?

And the apk what is it never heard of it
[Android Software Development] xXCorleoneXx:
Thank you for this great tool.

But have a problem.

I've edited the framework-res has also worked fine.

have taken the output file from the folder.

I then edited the framework-res inserted into the system/framewor, after the restart forceclosed all and then bootlop and again.

Can you help me?
[Android Software Development] Andy:
Once you sign an apk you cannot edit it again without having to resign it.

If after resigning it and it still doesn't work. The problem is with the edits you made and not the signing process.

Posting a logcat to Pastebin of it bootlooping, then link to it here. I may be able to see where the problem is.
[Android Software Development] leith51:
I read somewhere that your not suppose to sign the framework-res it can cause bootloops
[Android Software Development] xXCorleoneXx:
I have the framework-res open with winrar and the processed images added back into the framework-res.

Edit the file was previously with uot kitchen.

sry, but I do not know how I do it with the log?

've already done a restore again.

So I need to edit the file before I resign?

I also only 4-6 pictures exchanged.

sry for my bad english.
[Android Software Development] leith51:
That's not how you open the apk please go learn how to do it right before posting its obvious you do not know what your doing.

Read the guides on apktool and apk manager before messing around you could mess your phone up with your lack of knowledge I have been learning this stuff for the past year and still I don't know enough

I have built my own roms but I read alot before attempting to do so

There is nothing wrong with this tool the error is yours mate you need to understand what your doing before you do it if you need help then ask
[Android Software Development] AndroidGraphix:
I'm not using this tool yet but manually signing with JDK 7 gave me the same issues. Downgrading to jdk1.6.0_26 will fix your problem. From the sounds of it, since this program has JDK 7 built into it, you'll probably need to sign it manually. You can read my thread on how to do that.

http://xdaforums.com/showthread.php?t=1231561

BTW. Great tool. I look forward to using it.
[Android Software Development] leith51:
Why you quote my post??? I'm not having a problem signing apks. This tool does not have jdk7 built in only a path to it you have to install jdk first plus it does work fine with jdk7 all apks I've done work great
[Android Software Development] bretth18:
So, i used this tool to sign my CM7 Themes for a market release, they were uploaded to the market, but come up with a sign error when they install on the device
[Android Software Development] Andy:
Sorry for the delay in getting back to you.

I've used my tool a few times to sign apk's for a few people. And I've never got a sign error when installing.

Sometime's I do get "Failed to parse signature" when downloading apps from the Market, it's usually a failed or corrupt download, hence a broken signature that causes this. Re-downloading will usually solve it.

Have you tried to install your apk locally after signing, i.e. before you upload to the Market?

adb install [B]<your apk>[/B]

Again if there was a broken sig, It would fail to install there too.
[Android Software Development] Barry://:
so i can flash it via recovery
[Android Software Development] Andy:
No, you can't flash it via recovery. I think you've misunderstood what this tool is for Barry. This tool is for signing android apk's.
[Android Software Development] bretth18:
i tried all of this... nothing has worked. Could it be that your application does not work with CM7 themes?
[Android Software Development] Andy:
Could you verify the status of your apk after signing.

jarsigner -verify [B]<your app>.apk[/B]

You may need to add your java\bin location to your System PATH, if it isn't already added.

I thought any & all android apk's needed to have a valid signature to run. CM7 Themes packed as apk's, I'm not 100% percent sure on to be honest.
[Android Software Development] AndroidGraphix:
I'd like to use this tool but JDK 7 gave me major problems. There's an entire thread on it for people experiencing problems with signing their APK's. I switched back to the older one I stated. What if JDK 7 is giving us problems, can we have an option to use another JDK version?

I'm definitely willing to give JDK 7 another shot. How do I go about placing it in my System path? I have JDK 7 installed but Signer isn't recognizing it and I'm guessing that why.
[Android Software Development] loanerdave:
I've tried everything just as you laid it out but I'm getting the following message. Just trying to sign my SystemUI.apk after changing the carrier name to a custom logo.

Please help!
[Android Software Development] B-boy™:
I get the same error that it says I don't have it installed either.. When I manually sign with jarsigner it -generates and signs but when i -verify My.apk it says jar verified and then warning that it contains entries whose certificate chain is not validated.. a previous post had the same error but said it uploaded to the market fine and never popped back in with issues but I tried to install it prior to uploading and it fails to install regardles...
[Android Software Development] Andy:
Sorry guys for the complete lack of support.

@raider3bravo - Have you tried JDK 7 & Signare together? Or both separately. My testing setup was Win 7 32 & 64bit with both JDK 32 & 64bit. Signare "should" detect what version of JDK 7 architecture your using and add that to your system PATH.

Signare will work with other JDK versions, however you need to add that installation to your system PATH. Signare "should" tell you that JDK 7 was not found. in that instance ensure that your JDK installation is added to your system PATH.

@loanerdave - Have you got java installed? either the JDK or the JRE? If so, was that a custom installation location?

@B-boy™ - Again is your JDK installed to the default location? Also which JDK do you have installed?
[Android Software Development] loanerdave:
I did get it. I had an older version of Java that didn't completely uninstall. Thanks!
[Android Software Development] dully79:
Thanks for your time and effort so far.

For me to get this working on 32bit windows xp i had to copy over the following existing files from my system into the "Signare/Files/"

1-keytool.exe

2-jli.dll

3- msvcr100.dll

4-jarsigner.exe

Hope this helps someone out who gets stuck.:)

Thanks again.
[Android Software Development] kellinwood:
Missing file?

When I click the download link in the OP I get Error 404 (file not found) from the dropbox server.

Ken
[Android Software Development] Andy:
My bad, I changed a few things around. I'll sort that out.
[Android Software Development] Andy:
Fixed.
[Android Software Development] rawrv42:
OK so I've tried numerous times, I made sure I had jdk 7, signare said jdk 7 was detected and then I made sure I had the proper files in the "files" folder and I put my app into input as instructed. I created a private key, it was successfully created and then put the .apk into the input folder. ran the program using the private key and public key options and both times a file would appear in the output folder, but when I tried testing it on my phone, it asks to install, loads for a bit and says "application not installed" and the only option is to tap "done". :confused:

What am I doing wrong/missing?

Any ideas would be nice,

Please and Thank you,

~Vrawr

I'm running windows 7 and yes I ran the program as administrator.

[edit] Nevermind, I ended up getting an app off the market to sign, it just got too complicated on my computer to work with it any longer.
[Android Software Development] L1LK1LLERZ:
OMG! Thank you guys! Works like charm!!!!!
[Android Software Development] b33zu:
Need assistance please??

Hi guys I have the same issue as another here. I have everything installed correctly. Once installed on my phone though it says "application not installed" can someone lend a hand thanks. :)
[Android Software Development] Andy:
Does it say that after you have re-signed your apps? Do the original's work?

Also what apps are you signing? Are they system apps?

Hopefully I can help with a bit more info.
[Android Software Development] b33zu:
This happens after I go through the motions to sign the apk. Also this isn't a system apk its a regular apk. Yes the originals do work before I sign the apk.
[Android Software Development] Andy:
Do you get any error messages when signing & zip-aligning?
[Android Software Development] b33zu:
No I don't get any errors. Everything is smooth as far as that goes. It just won't install after signing.
[Android Software Development] Andy:
So, just to clarify. You can install the app, but then the app doesn't work. Or the app simply won't install?
[Android Software Development] b33zu:
The app simply won't install
[Android Software Development] Andy:
Try installing through ADB, and it will give you a better reason for not installing.

Such as a mis-matched/invalid signature or an issue with the app itself.

Plug in your handset and open CMD.

Ensure you enable UDB debugging in settings.
[Android Software Development] b33zu:
I'll give that a try when I get home and I'll provide feedback. Thanks :)
[Android Software Development] Andy:
No problem. You can hit me up on GTalk/G+ if you'd find it easier or quicker.
[Android Software Development] b33zu:
Cool what's your email for gtalk
[Android Software Development] b33zu:
Ok so I ran the Signare and everything went perfect. After that I adb pushed installed the apk to my phone. The screenshot below is the error I got.
[Android Software Development] Andy:
You need to add the apk name too.

E.g app1.apk
[Android Software Development] b33zu:
When I adb pushed it without using Signare it worked perfectly

---------- Post added at 03:53 PM ---------- Previous post was at 03:53 PM ----------

I did it's forfun.apk

---------- Post added at 04:00 PM ---------- Previous post was at 03:53 PM ----------

Lets do a checklist to make this easy.

1 - apk is signed and zip-aligned with Signare "also the key was generated with Signare perfectly"

2 - CMD path is correct to ADB push the apk to the phone

3 - The screenshot I gave above is what I get everytime and is also the reason I link of why it wont install when I try to install the apk to the phone

---------- Post added at 04:08 PM ---------- Previous post was at 04:00 PM ----------

Any I hope to get this resolved so I can publish my apk. thanks

---------- Post added at 04:49 PM ---------- Previous post was at 04:08 PM ----------

any luck gents??
[Android Software Development] Andy:
Its a problem with the signature. Is this a signature you've created yourself?
[Android Software Development] b33zu:
Yes it was a signature I created but is there a way to remove it and use the new one I created in your program?
[Android Software Development] Pancakes_Gio:
Thank you, this helped me alot!!

Inviato dal mio GT-S5660 con XDA PREMIUM
[Android Software Development] kapocszoltan:
It is working and I was trying to do it with jarsigner and keytool...

Thank you, you saved my life and an other 10 hour!
[Android Software Development] intelligencexan:
+1same issue....

i have no problems if i push it through APK manager with a test signature. but when i use signare with a private key (which i also created with signare, it doesnt work). gives me an error, APPLICATION NOT INSTALLED.

really want to know what the roblem is....
[Android Software Development] Sebianoti:
I clicked on the ApkSigner_PERSONAL_KEYS_v0.3-java_.bat did what it told me, it said it was done, but i didn't see a Signed folder, so i created one and still, every time i do it nothing ends up in it?
[Android Software Development] Andy:
Sorry for the lack of response. Just not had the time.

I think I know where the issue is and will attempt a fix this weekend if I get the time.
[Android Software Development] Sebianoti:
does that include my issue?
[Android Software Development] Andy:
Yes
[Android Software Development] G3-SCORPIO:
andyharney Could not, not say personally, thank you very much for your work!
[Android Software Development] the1dynasty:
not really sure how to use this... i have apks that work perfectly fine... but now that i've decided to add them to the play store, i get this signing error... any help is MUCH appreciated!
[Android Software Development] Andy:
You need to sign your own apps with your own private key. Google will not accept apps signed with the generic test keys that many IDE's use for debugging.

What part of the tool you need help with?
[Android Software Development] the1dynasty:
now i'm getting the error...

---------- Post added at 12:41 PM ---------- Previous post was at 12:29 PM ----------

ok... i think i figured out my issue... i had signed it previously when making it... then i tried to sign it again with this tool and got that error... i rebuilt it w/o signing it and then signed with this tool and it was accepted on the market!! thanks!!
[Android Software Development] the1dynasty:
ok... i got it on the market but after i download and try to install it, i get the error

thanks for your replies!!
[Android Software Development] Arcanium:
you get a parsing error right?

thats what i get, first with old Meta_Inf i wouldnt be able to upload to google play but wouldinstall on my phone, after deleting meta_inf folder, generating a key and applying private key , it does indeed upload to market, but does not install
[Android Software Development] the1dynasty:
I figured it out... but I sign it manually now and not with this tool.
[Android Software Development] Darkfunnyguy:
Help please.

I have the same problem I tried the signare.exe and the manual way which I successfully did with no errors but when I tried to install it it will not install.

I created my own private key.

So what am I doing wrong please?

:(:(:(:(