yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] Jeffro64:
Well i'm at a complete loss LOL.... I have done both of those and I still get nothing. When I right click and hit sign this file, it tells me it is doing it and putting it into the signedfiles folder that it creates right there. I open that folder and nothing is there.:confused: Maybe it just doesn't like vista 64?

[EDIT] Nope.... not just Vista 64, I just tried it on my Windows 7 x86 and it does the same thing. Is there something else I might be overlooking?
[G1 Android Development] st0kes:
I'll add some error handling into the script and upload it here, at the moment it's not catching errors. I'll give you a shout when the improved version is up.
[G1 Android Development] st0kes:
OK it's new and improved with error handling - see below screenshot.

Link is in the original post, or you can replace the contents of your vbs with this:

http://pastebin.com/zkJzRr3r

Just change the variable on line 6 to point to your testsign.jar. Let me know what error comes back!
[G1 Android Development] Jeffro64:
Sounds good, I'm working a double shift today so I won't be able to get to it until tomorrow after work. But soon as I can I will post back and let you know what it came up with. Thanks Again!
[G1 Android Development] mccurt29:
can u make a video on how to use this ...ive been waiting on something like this
[G1 Android Development] Jeffro64:
OK, here is what it came up with...
[G1 Android Development] st0kes:
I would recommend installing java again - this is the version and package I downloaded:

https://cds.sun.com/is-bin/INTERSHO...ProductRef=jre-6u19-oth-JPR@CDS-CDS_Developer
[G1 Android Development] Jeffro64:
Hmmm, Got a different error this time. I downloaded and installed the java for x64 from your link, changed the java.exe location in the class path and in the vbs file from "program files (x86)" to "program files" and this is the error it puts up now.
[G1 Android Development] st0kes:
That means Java is now working :)

Can you paste here what you have in line 6? (Mine was TestsignJar = "C:\ben\testsign.jar")

The classpath error means it can't find that jar file.
[G1 Android Development] Jeffro64:
Is this what your looking for? I have the new .vbs that you put up.

sExe = """C:\Program Files\Java\jre6\bin\java.exe"" -classpath C:\signfile\testsign.jar testsign " & """" & Target & """" & " " & """" & SignedFilesFolder & "/" & TargetFileName & """"

Also... I know I was supposed to put the path of java.exe in the classpath, was I also supposed to add the path of the testsign.jar? [EDIT] I did try that and got the same error as above. Sorry for being such a pain LOL.
[G1 Android Development] Docavelli:
I'm also trying to learn how to theme. This script would make things easier. I'm just confused about what my sExe line is supposed to look like.

I have line 6 as

TestsignJar = "C:\Android\signfile\testsign.jar"

the path to java.exe is

C:\Program Files (x86)\Java\jre6\bin\java.exe

I'm not sure how to code my sExe line. Could someone please help?

Thank you
[G1 Android Development] fox12345:
nice work ,it save lot of steps

your are a life saver

thank you
[G1 Android Development] st0kes:
Drop me a PM with your gtalk?

Try this

sExe = "java -classpath C:\Android\signfile\testsign.jar testsign " & """" & Target & """" & " " & """" & SignedFilesFolder & "/" & TargetFileName & """"
[G1 Android Development] Chadzworld:
I have java installed and have been signing my files by command line. Tried this out and I get this error.

Windows Script Host

Script: C:\signfiles\signfile.vbs

Line: 53

Char: 1

Error: The system cannot find the file specified.

Code: 80070002

Source: (null)

Thanks.
[G1 Android Development] Artifex14:
Thank YOU VERY MUCH!!!!

It work perfectly

But, is it possible to sign the files in the place of the original update.zip?

I know, the command I use before was :

And to make it working, I've pasted the testsign in the sdk/tools and I've putted this folder to the {PATH} variable!
[G1 Android Development] Jeffro64:
Working great! Thanks for the help... This saves tons of time!:cool:
[G1 Android Development] rori~:
Thank you for this thread, was looking for that :) great!!!
[G1 Android Development] ilostchild:
i get a error when trying to sign a zip file my erre i get is

Java is not reconginzed as internal or external command

any help to get this work would be great Thanks!
[G1 Android Development] st0kes:
It means you either don't have java installed or it isn't in your PATH.

I would go to www.java.com and install whatever it says is best for your system (it usually suggests the right download). After you've installed the package try it again.
[G1 Android Development] ilostchild:
Well ty but I have and had Java installed.. I realized it was not in my environment variable... so ppl who have issue check if its in your environment variable..if its not put it in and should work great mine does now!
[G1 Android Development] cocchiararo:
Hi

if i put my files in:

h:\signfile

and change the files like this:

[HKEY_CLASSES_ROOT\*\shell\Sign this file\command]
@="wscript.exe \"H:\\signfile\\signfile.vbs\" \"%1\""

' Edit the variable below. Use double quotes if your path contains spaces. i.e. ""C:\Program Files""

TestsignJar = "H:\signfile\testsign.jar"

It works.

If i put the files where i really want them, and change the .reg and .vbs:

[HKEY_CLASSES_ROOT\*\shell\Sign this file\command]
@="wscript.exe \"D:\\My Dropbox\\Android\\Programas-Windows\\signfile\\signfile.vbs\" \"%1\""

' Edit the variable below. Use double quotes if your path contains spaces. i.e. ""C:\Program Files""

TestsignJar = "D:\My Dropbox\Android\Programas-Windows\signfile\testsign.jar"

It does not.

With double quotes on the .vbs it says there is an error in line 6 (the line with the path), something about an unexpected terminator.

With single quotes it says there was an error signing the file.

Same results with double quotes on the .reg

i can use it, but i want it stored in my dropbox XD
[G1 Android Development] ratcom:
its been driving me mad how to get this working on my windows 7 64bit machine (been using a old xp laptop just to sign roms!) but I've finally cracked it!

we 64biter are using the wrong version of java !! download this one and everything works out of the box :)

https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jre-6u18-oth-JPR@CDS-CDS_Developer
[G1 Android Development] mtw4991:
running Vista 32bit and inadvertantly double clicked it and it installed but gives me a Windows Script Host error:

Script: C:\signfile\signfile.vbs

Line: 52

Char: 31

Error: Expected statement

Code: 800A0400

Source:Microsoft VBScript compilation error

Anybody know how to fix this? Thanks a lot!:)
[G1 Android Development] furrelkt:
Just what i needed, thank you for this.

Keri
[G1 Android Development] Chuck6993:
Thanks :) Just got this working on my Windows 7 x64 machine.
[G1 Android Development] mattmanwrx:
Hi,

Firstly, sorry to resurrect an old/ dead thread!

I have just been pointed to this thread by a fellow developer on xda, who I asked how they sign their files.

I have been trying to sign files for the past week now, and this method seems to be the furthest I have got (and easiest option too).

I have many update.zips (themes for the rom I’m on) that need to be signed, I have followed the instructions on this thread, and have the "right click, Sign Files" option.

This also works, and the three "cert and other two files" go into the update.zip and all looks promising. I then go into my clockworkmod Recovery (i use 2.5.0.7 on my Desire, but have flashed 3.0.0.5 for the moment to test) to flash the newly signed update.zip, however, I still get the E:/Signature verification failed.

I'm just wondering, if it is something to do with my setup (Windows 7 x86 (32 bit - SP1 (recently come out, maybe the problem)), I’ve followed the instructions correctly, get no error message, but it just doesn't install the zip.

If anyone could help me at all, would be much appreciated.

Many thanks, Matt
[G1 Android Development] mattmanwrx:
I've done some more testing and just for information purposes I will share.

All the time, no matter what I do, i get the error "signature verification" in Clockwork Mod Recovery.

I flashed to Amon_RA V2.0.0 (for my HTC Desire) which i read was "stricter" for flashing .zips. The zips seem to go through fine on Amon_RA. This script seems to work for Amon_RA but not for clockworkmod, or something along those lines.

Just another bit of information regarding my problems.

Thanks, Matt :)
[G1 Android Development] Effdee:
sign check on clockworkmod is broken

but you can turn it off so it makes no real difference
[G1 Android Development] mattmanwrx:
Thanks, that seems like the best answer possible.. thanks a lot :)
[G1 Android Development] mdfaisal:
working like a charm... thanks dude... :cool:
[Omnia II General] daklyn:
hi all,

i ve configured my omnia for pop3, everything fine. Problem is i dont see the emails from internal sent via excahnge, so i decided to activate exchange webmail.

webmail is working fine from opera from the i8000, but i dont get it working with the normal outlook feature. It always says synchronizing error / fault.

SSL is not activated, i am pretty sure i ve entered all information correctly.

i tried several times, but always with same result.

what do i forget or is there anything special to do?

the only thing i really noticed: my webmail is

---https://webmail.xxxxx.com/exchange----

(the --- is only so its not recognized as link)

the problem: if i type this where the server adress should be, it always changes to:

---webmail.xxxxx.com---

PLS HELP ME! ;-)

tyvm

Daniel
[Hero, G2 Touch General] Ruhani:
Hi, i have brought a Htc hero from a market i took it home for 2 days it was working fine now i have found out that my hero has been lost/stolen and has been blocked, my country allows me to change my imei number and there is no law on this. i have searched the internet also and have found no luck. so could somebody please help me and give me a tutorial as i have only had the handset for 2 days and have not got very much expieriance on it what so ever thank you :)
[Hero, G2 Touch General] Ian_4614:
you have a stolen phone ???
[Hero, G2 Touch General] Ruhani:
Im not sure I payed around £120 pounds in british money as i am british and now when i put a sim in it it is blocked and i have read i have to changed the imei number so would someone please tell me how i would be able to achieve this.
[Hero, G2 Touch General] Lennyuk:
As far as I know you cannot change the IMEI number, it is hard coded into every phone as a way of tracing the phone if it is reported lost or stolen.

It sounds like this is what has happened in your case, you must have purchased a phone that has been reported lost or stolen.

The only way I have heard of getting it working again is to move to another country where they don't have the same restrictions in place i.e. USA.

Using or attempting to use stolen goods when you reasonably believe them to be stolen is a crime in the UK.

And changing IMEI number is also a crime.
[Hero, G2 Touch General] ddotpatel:
This is definately not the case in the UK. See Mobile Telephones (Re-Programming) Act 2002
[Hero, G2 Touch General] gowzel:
It might be my phone, mine was stolen and I would like to think that when I requested it be blocked (and made totally useless to the theiving scumbags and anyone else who bought it cheap) that it was blocked by them.

If you did buy it genuinly go and report it to the police that the dealer is selling stolen goods, you might not get your money back, but someone may get their phone back that they paid good money for.
[Hero, G2 Touch General] Lennyuk:
I have to agree here, the phone is pretty much useless to you now anyway so just hand it back to the police and report the dealer that sold it to you.
[Hero, G2 Touch General] Ruhani:
Thank you for the replys i have reported the dealer the police who in turn took the phone off me :(
[Hero, G2 Touch General] Lennyuk:
yeah there is always a chance you will get some money back, but you did the right thing.

If you paid on credit card you can claim it back from your card operator.

If you paid cash your less likely to get anything back.
[Hero, G2 Touch General] SherlockHolmz:
On the upside, you might get some moneys from the insurance company, this is customary in Norway. Since they dont have to pay out the insurance now, you saved em money. If the guy who got his phone stolen had insurance that is.
[Hero, G2 Touch General] Ruhani:
Well in the light of all this i did pay from credit card and youl be thankful to know that my money is getting processed back to me via credit card (im a student thankgod :D) and the phone has been returned to its owner who in turn rang me and thanked me and also will be sending me a reward by post. so doing the better thing is right and it pays too :P
[Hero, G2 Touch General] Danltn:
Awesome stuff, this is how the world should be!
[Hero, G2 Touch General] ddotpatel:
Good on you Ruhani,... Karma comes back around,... Well done.

Sent from my HTC Hero using the XDA mobile application powered by Tapatalk
[Touch Pro2, Tilt 2 Windows Mobile General] ukmouse:
Could you tell me anywhere reliable I can purchase a battery cover + Digitizer + Housing. As I recently dropped my phone and it skidded across the road and even more recenlty I scratched the digitizer.
[Touch Pro2, Tilt 2 Windows Mobile General] ukmouse:
I take it no one else has had this problem??
[Touch Pro2, Tilt 2 Windows Mobile General] sirphunkee:
There's already been a bunch of threads on the subject of where to get replacement digitizers, batteries and covers, etc... You'll need to look over in the Accessories sub-forum, just search there and you'll find a number of options for each of those
[Touch Pro2, Tilt 2 Windows Mobile General] ukmouse:
Thanks for the advice. Will look in there now
[Omnia II Themes and Apps] adnanomnia2:
hello everyone...i have a small(or big problem)with my omnia2.i have customize it like i want it to be and it is all working great...spb ms and all that stuff...i have garmin navi working great with adria rout 3.0 becouse im in east europe...everything is so great....but when i by phone 1st time i try to play video its like stopin every couple seconds for not more then a blink of eye(i hope u understand what i want to say).no one did not see it accept me becouse i use it all time off course...and that happens when i play video and when i rec. video...i hope ther is some one who can help me with this...thank you

windows mobile 6.5 CE OS 5.2.21856 build 21856.5.0.65
[Omnia II Themes and Apps] bkouts8464:
I have the same problem on my Omnia Gt b7610.

Any answers?
[Omnia II Themes and Apps] neato4u:
i suggest that both of you flash a new ROM from the ROM section thread. That is one of the easiest and best solution to your issue. Remember to backup your apps, contacts, calendar, and sms. Use PPCPimBackup or SPB Backup to do that and read how to flash carefully or you will just waste more time fixing your bricked phone. All the best!
[Desire General] eliasuk98:
if i accidently brick my phone some how, can it be repaired? would HTC know for sure what went wrong then void the warrenty? would they just reflash it?

trying to judge the risks of rooting a phone (once available of course) over keeping it standard and not messing with factory setup

cheers guys
[Desire General] lambrospower:
hey guys, i have my contact list in people NOT to show the contacts on my sim card cause they are already into the phone with all the info and more. but when i search people or type the receiver into the TO box in messages etc they all appear again. is there a way to disable them completely?????

WITHOUT DELETING THEM cause i might use the sim card into another phone!!!
[Desire General] Jaa-Yoo:
i would like to know this as well. they also show in the contact list under the phone dialer.
[myTouch 3G, Magic Apps and Games] ekie84:
what is the best twitter for magic??thanks for sharing :D
[myTouch 3G, Magic Apps and Games] skinnyveganboy:
Rumor has it twitter will be looking to buy out whichever twitter app is the most popular, and THEY are looking at "twidroid". personally I really like it, or tweetcaster. Both are very nice.
[myTouch 3G, Magic Apps and Games] jasnmb:
I prefer Twicca over the other free twitter apps.
[myTouch 3G, Magic Apps and Games] ryanolson7:
My favorite is swift or seesmic.. there are a lot of good twitter apps out there :)
[myTouch 3G, Magic Apps and Games] crypysmoker:
Twicca is still in beta but I prefer its widget and setup much more then Twidroid. And even in beta it has more setting and customization.
[myTouch 3G, Magic Apps and Games] uptownwing:
Tweetrides Is A Nice Simple On That Doesnt Take Up Memory And Still Looks Great.

I Stuck With This Over Twidroid Seesmic And Swift.

Twitdriod-Free Version Is To Limited

Swift-Didnt Keep Up With My Tweets Well

Seesmic-Just Got Boring TO Look At
[myTouch 3G, Magic Apps and Games] jasnmb:
i switched from twicca to Touiteur. I just like the look better.
[Desire General] WESBAR:
Can anyone confirm if the Orange HTC Desire supplied direct from Orange is unlocked? THanks.
[Desire General] SamE:
No it's locked to Orange just like all Orange phones
[Desire General] pympster:
It seems possible to unlock for €25 though...
[Touch Pro2, Tilt 2 Windows Mobile General] DOC767:
Okay I have a Sprint Touch pro 2 I want to flash it to cricket, I have already ran the Hard SPL unlocker which then enabled me to flash various different ROMs onto the phone. The problem is that I cannot get the SPC to be all 0s so that I can get *228 to work on cricket. I already called Cricket and they have switched the phone over. I have also already installed a cricket carrier cab. I attempted to run the same protocol in Ryan mogul's thread using the BAF MSL Grabber but it wont work. Can someone please tell me what I am missing here. I have searched everywhere and nothing has proven helpful.
[Desire General] jackstuard:
I just notice that multi touch support is stopping to work after some time. If I restart the phone it works again.

Is someone facing the same problem?

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] SamE:
I get this problem when I switch my keyboard to Swype

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] jackstuard:
Aha! I'm using swype too!

Weird why this happens..

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] Aitese:
It's weird that a pre-release piece of software that the developers have repeatedly ask for people not to distribute or use unless you're part of the closed beta group is affecting your handset in an adverse way?

Colour me stumped.
[Nexus One Themes and Apps] die-hard:
Hi all,

is possible to set verbose boot animation on N1?

10x in advanced
[Hero, G2 Touch General] deech:
Ok might be being a bit think here, but how can (or is it possible) to set the WiFi identity of the phone?

When I look at my router the laptops all are listed with "name" and MAC and then IP number apart from the Hero, which just has a blank space where the "name" should be.

So can this be fixed?:confused:
[Hero, G2 Touch General] cauli:
A bit of background which you might already know. DHCP is used to initialise the network interface & involves a conversation between the router running a dhcp server & your device, the client. On Android, the dhcp client is dhcpcd.

You want to set the hostname used by your wifi interface prior to dhcpcd doing its stuff. This can either be done from an init script via the hostname <name> command (which by default is probably using the name localhost) or by passing the -h <name> command line option to the invocation of dhcpcd.

By default dhcpcd will use the hostname (though if it's blank or localhost, it is obviously ignored, probably by dhcpcd rather than by the dhcp server), but the -h option will override this.

This name is passed to the dhcp server early on in the conversation.

Incidentally, the same protocol allows the dhcp server to tell the device what name to use. You might be able to configure your router to assign a name based on mac address. Usually if the dhcp server does this, dhcpcd will ignore it, the exception being if the existing hostname is localhost or blank, which does seem to be the case here.

So, how to configure this? Afraid it depends on your ROM. You need to look through /init.rc & any associated initialisation configuration. See if you can find where/if hostname is defined & where dhcpcd's commandline is specified. I don't like editing files in the boot partition directly, so personally I'd see if I can find some init script onto which I could tack an overriding hostname command. Of course this relies on it being invoked after any existing hostname command & before dhcpcd is started. You might need to experiment a bit.
[Hero, G2 Touch General] deech:
Oh bugger :( there was me hoping it was as easy as "naming the computer" like you do in Windoze, I know I know that lots of complicated thing happen for you in the background but I dont fancy hacking around in anywhere to fix/sort this, it's not that important anyway :):D
[Hero, G2 Touch General] cauli:
Lol, I know what you mean. Sometimes I start to look into something which I think will probably have a simple solution & then an hour later with twenty new tabs open in my browser I find myself thinking maybe I'll let someone else have a go at this ;)

In this case, the best place to address it would be in kitchen of the ROM builder. You could ask whoever's responsible for the ROM you use to make it easier to configure the hostname. Failing that, they might at least be able to give you the location of an existing file which you can change. If you give it a shot, do post back. Someone else with the same question is bound to stumble into this thread eventually.
[HD2 Windows Mobile 6.5 Themes and Apps] trooperbill:
Hi,

how do i change the default location of "my music" folder to my sd card as i want to use the sense music player to play my library which wont fit onto internal memory.
[HD2 Windows Mobile 6.5 Themes and Apps] iky10:
just store your music on storage card, and sense will pick it up or you can create a folder called My Music and put your music inside there all to be done on storage card..
[General Questions and Answers] wixda:
i can't find a501 6.1rom .but i need it!!!
[Desire General] landwomble:
Guys, is it normal that the browser on 2.1/Desire limits you to a max of 4 open windows/tabs? I get an error message about maximum number of windows reached, and if I have 4 open I no longer get the "open in new window" option...
[Desire General] riz157:
yes it is normal.
[Desire General] landwomble:
ffs

Really? That's woeful. What have I just bought on 2 year contract?

Any way around this? Stock android can do 8 can't it?
[Desire General] Karolis:
Just get a different browser: steel, dolphin, opera - take a pick.

Don't really see why you would need more that 4 anyway. It's a phone, not a netbook :)
[Desire General] kman3d:
I really can't see why limit it to only 4... and I easily open more then 4 windows when I normally brows... even the iPhone isn't limited to only 4... :-)

Sent from my HTC Desire using the XDA mobile application powered by Tapatalk
[Desire General] OnlinePredator:
Yea have to admit that I often have many many many tabs open, and often get restricted by the tab limit. Although I love the browser too much to get annoyed by it.
[Desire General] vectorfox:
the limit is annoying. especially when viewing wikipedia that could have many links i want to check