Join Now
Quality Rating:
  • Currently 4.0 / 5
(4.0 / 5 - 2 votes cast)
Expertise Level:
  • Currently 4.5 / 5
(4.5 / 5 - 2 votes cast)

This page was last modified 06:09, 13 July 2008.

How to update an old Pys60 extension

From Forum Nokia Wiki


This article is a short guide for how to update an old PyS60 extension - which gives error "Expired Certificate" on installation.

One way is to recompile the extension and built a new sis file which can be signed by a self signed cert or a dev cert.

And the other choice is to use use ensymble to update the extension so that the old Pys60 extension can be updated and can be signed via Open Signed Online. And thus successfully installed.


This is what needs to be done if you don't have your own developer certificates created before Symbian Signed changed its signing model (forbidding creation of new certs).

We will need ensymble and sisinfo.

Let's update the envy module, for an example.


First, download the SIS file from SourceForge: http://sourceforge.net/project/showfiles.php?group_id=132176&package_id=252496&release_id=561695

This SIS file uses UID 0xA0001FA4 which isn't a test-range UID (0xE0000000...0xEFFFFFFF) so the SIS file can only be signed using Symbian Signed Online by the person who registered this UID.


To change the UID, we first have to extract all files from it.

sisinfo.py -f envy_3rd_1_0_4_unsigned.SIS -e envy

This creates a directory envy with the contents of the sis file. The name of this dir is important for later steps so always call it with the module name.


Now we have to build a new sis.

ensymble.py simplesis --version=1.0.4 --verbose envy envy_3rd_1_0_4_unsigned_testrange.SIS


This builds a new sis with UID automatically generated by ensymble. Ensymble uses the directory name here (envy) to generate the UID, that's why it is important to set it to the module name.


You can set more options like vendor name using additional ensymble options. For more information refer to ensymble documentation.

The resulting envy_3rd_1_0_4_unsigned_testrange.SIS can be signed using Open Signed Online.

You can select all capabilities there, if the sis doesn't require all of them, the other ones will be ignored.

Alternatively, you can use Opensignsis tool which (after configuring) will let you sign the sis by simply calling:

opensignsis.py --imei=123456789012345 envy_3rd_1_0_4_unsigned_testrange.SIS envy_3rd_1_0_4_signed_imei_{imei}.SIS

which will create a envy_3rd_1_0_4_signed_imei_123456789012345.SIS file ready to be installed on your phone. Of course you have to use your IMEI instead of the example one above.


Tools we used

Ensymble

Sisinfo

Opensignsis

Open Signed Online

Related Discussions
Thread Thread Starter Forum Replies Last Post
pyS60 and NOKIA N91 lfd Python 5 2006-06-15 15:22
Problem with Phone call Extension dialing awasthi_vivek Symbian Networking & Messaging 0 2004-03-06 09:07
Old unsigned sis and new Symbian Signed y.a.k Python 22 2008-07-22 07:44
Change default timeout on pyS60? Vazde Python 1 2008-03-29 21:54
wlantools.scan() nothing returned wangyi Python 4 2008-07-12 03:20
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZpythonQ
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX