PDA

View Full Version : Unable to load test sig file on the phone


nickd
09-04-2002, 10:05 PM
When I am trying to load test sig file on the phone I am getting:
"module signature file is not valid for connected device's ESN".
When generating sig file I am using ESN found on the phone in HEX form ( which is different from the one in DEC form). What gives?
Could it be the Qualcomm flashed my phone with the wrong ESN?

charliex
09-10-2002, 02:55 PM
depending on the phone you ought to be able to see a menu with the ESN in it.

nickd
09-10-2002, 02:58 PM
Yes, I can see ESN. That does not help me though :)
I've sent the phone to Qualcomm. Hopefully they can fix it.

uprightelbow
10-31-2002, 11:58 PM
you may want to try using the older version of the AppLoader available from the Tools Archive section of the Developer's Extranet.

Murray Bonner
11-01-2002, 01:52 PM
Let me guess. You're using v2.0 of app loader with the Sharp Z800. If this is the case, then uprightelbow is definitely correct -- you need to use AppLoader v1.0.3.1 to load a sig file onto the Z800. I just had exactly the same problem and Bryan in tech. support set me straight.

My hex ESN also represents a different number than my dec ESN. I'd always just assumed they were equal. That sure is counter-intuitive.

mickey
07-05-2003, 09:53 PM
hi,

i'm having difficulties making the examples on the sdk 1.1 run properly on the phone,

it either gives out "application digital signature failure 1028) or it simply restarts my samsung a530.

what is ESN, how do i exactly get it?

many thanks.

ruben
07-06-2003, 07:26 AM
Usually, in the battery pack compartment of the phone ESN number is present.

Please refer to the following link for more information
http://www.qualcomm.com/brew/developer/resources/ds/kb/49.html

ruben

mickey
07-06-2003, 07:57 AM
hi,

okay great, i'm progressing a bit,

now i get the "application digital signature failure 1028" error,

according to step 5 on your link: "Make sure the phone is test-enabled", must this be the reason for that error?

there is no way for me to send my phone to a QIS Phone Center, since i live in the Philippines.

i hope there is another way around this.

thanks.

charliex
07-07-2003, 07:14 PM
not sure if they have local office to you, if the phone is not test enabled you are out of luck, you will have to send it to them

mickey
07-07-2003, 07:28 PM
hello charliex,

*ugh* are you sure about that? is there no other way around? how do i verify if my phone is test enabled?

thanks.

tyndal
07-07-2003, 07:48 PM
go to the app screen and press
###2

if the phone has the debug flag set, it will draw the text "Debug Net" underlined at the top of the screen

if it isnt set, nothing will happen.

(see the attached screenshot)

If you (or someone else) hasn't sent the phone to qualcomm since purchasing it, it isnt test enabled.

-Tyndal

mickey
07-07-2003, 08:23 PM
hello,

debug net shows on the main menu of 'get it now' screen,

any other ideas why the error: "Application digital signature failure"?

basically, if i placed my app's class id on the ESN number, my phone restarts when i executed the app, but if i use the hex code on the back of my phone, underneath the phone's battery for the ESN field, that error shows.

thanks for all your help.

Vexxed
07-07-2003, 08:37 PM
Signatures expire after some amount of time (new sigs die in 30 days). If your sig file is old, that could be the problem. Beyond that, you need to verify that the sig file was made with the correct ESN. A simple typo somewhere along the line will break it.

Also, on the T720 you can get it through the settings on the phone itself, and there might be something similar on the A530 ... It might be that the number on the back of the phone is wrong.

Tom

tyndal
07-07-2003, 08:49 PM
Vexxed,

Have you actually had a signature expire?

I have been using the same .sig on for over 6 months, and it has not expired on me.

I am wondering if it is because i have no coverage (developing overseas), or because the sig doesnt actually expire.

Mickey,

what is the error code with "Application digital signature failure"? checking the error code in AEEError.h will give you a better idea of what the problem is (ex. 1024 = 0x400 = SIG_ERROR_BASE, so 1028 = 0x404 = SIG_EXPIRED)

-Tyndal

mickey
07-07-2003, 11:04 PM
sig expired?

but why? i just generated it yesterday?

like you tyndal, i live here in the Philippines and i am just under contract so i need to finish this app or else... :(

charliex
07-08-2003, 12:28 AM
i had a test sig run out on me the the other day, before the 30 days, probably the phone though, also the ###2 doesn't work on it either and it is test enabled.

Vexxed
07-08-2003, 12:12 PM
Yes, I've had sigs expire after 30 days. I've heard of people using the same sig for ages, and others expiring in 30 days. I don't know what the story is with how they're generated and what the expected expiration dates should be, and I doubt we'll get any details from Qualcomm.

You said you were getting a 1028 error, which means the phone thinks the sig is expired. I guess I'd check the date/time on the PC making the sig (I think this is done over the web so this might not matter, but I'd check anyway), then make a new sig. Then I'd double check the date/time on the phone before copying the app and sig over.

Tom

Kevin
07-08-2003, 05:35 PM
Sig files should expire after 90 days. Some sig files were generated by QC employees or from sources which can also generate non expiring sigs. All extranet generated sigs should expire after 90 days.

mickey
07-08-2003, 08:02 PM
guys, please, i just generated my sig file 2 days ago, how can it expired? what is the reason?

thanks.

Vexxed
07-08-2003, 08:06 PM
Kevin - Either you're wrong about the 90 days, or there's a bug in the sig expiration code. I've had sigs expire after much less than 90 days (I haven't even had the phone for 90 days yet). I'm not the only one who is having expirations significantly shorter than 90 days.

mickey - If the other things I've posted haven't helped, then I have no idea.

Tom

mickey
07-08-2003, 08:34 PM
hi guys,

i emailed my problem to qualcomm tech support, and somewhere in their reply, they mentioned this:

" the phone may be unable to get the correct time from a CDMA network"

okay.... does that mean i need a CDMA network? i live in the Philippines and we only have GSM networks here...

thanks.

tyndal
07-08-2003, 09:42 PM
Can someone from qualcomm or otherwise "in the know" explain the reason for 90 day (or any length) limited signature files? To be able to use the signatures your the phone has to be "test enabled" by sending it to qualcomm (or the device manufacturer?), so they can keep track of this, also to produce .sig files, you have to have a verisign cert ($400), so they can keep track of who creates sigs as well, so why the extra 90-day limitation? what does this provide other than headaches for the developers? Afraid of developers selling their phones after testing? Please give me some reason, or do the agreements with OEMs/Carriers bar you from doing so?

-Tyndal

Louie
07-09-2003, 05:49 PM
mickey,

Bad news - QC are correct. If there is <b>NO</b> CDMA network available (you should not need a service) then the phone can not get the time hence the the sig can not be verified.

(I have tested this with only one handset here and got the same error)

Not sure what you can do about this. If you had some rather expensive radio gear then you could emulate a CDMA network, but I assume this is not an option.

Maybe a weekend in cheap hotel in Korea, China, Japan, Australia, Thailand etc (who all have CDMA networks)?

Maybe Qualcomm have some suggestions??.

Louie
07-09-2003, 06:32 PM
Good news - on at least one handset here I was able to set the date/time through the handset UI and then test apps would run.

Not sure if the handset you have has the ability to set this date time, but it is an option.

mickey
07-09-2003, 08:12 PM
guys!!!

i have made it work!!! yes, the cdma network is an option. but the other option is directly changing your phone's date.

well, i just didn't realize that the phone given to me have it's date set to 1981! argh!

anyway, thanks for all the tips and suggestions!!!