You Are Here:

Community: Developer Discussion Boards

#1 Old Unhappy [moved] ensymble help - 2008-12-05, 08:03

Join Date: Apr 2008
Posts: 102
kdurga
Offline
Regular Contributor
Hi I am trying to use ensymble for replacing the uid of an exe. It sounded crazy for me but it seems its true. Can any one give help in this regard. I tried this LINK but couldnt understand how to run the python script.

PS: I am not sure if this is the correct place to post this topic.
Reply With Quote

#2 Old Re: [moved] ensymble help - 2008-12-05, 08:42

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by kdurga View Post
Hi I am trying to use ensymble for replacing the uid of an exe. It sounded crazy for me but it seems its true.
You can indeed use Ensymble to change UID of EXEs and DLLs, but the EXE or DLL must not have the UID embedded anywhere else except the header. Many (most?) Symbian C++ examples have the application UID also in the program code itself. Ensymble cannot change those parts, resulting in an EXE that does not run. In other words, you cannot change UID of an arbitrary EXE or DLL that wasn't programmed with that in mind.

You can change the UID like this:

Code:
ensymble.py altere32 --uid=0x12345678 --secureid=0x12345678 --inplace myexe.exe
Reply With Quote

#3 Old Re: [moved] ensymble help - 2008-12-05, 09:58

Join Date: Apr 2008
Posts: 102
kdurga
Offline
Regular Contributor
Quote:
Originally Posted by jethro.fn View Post
You can indeed use Ensymble to change UID of EXEs and DLLs, but the EXE or DLL must not have the UID embedded anywhere else except the header. Many (most?) Symbian C++ examples have the application UID also in the program code itself. Ensymble cannot change those parts, resulting in an EXE that does not run. In other words, you cannot change UID of an arbitrary EXE or DLL that wasn't programmed with that in mind.

You can change the UID like this:

Code:
ensymble.py altere32 --uid=0x12345678 --secureid=0x12345678 --inplace myexe.exe
I tried running the py script downloaded from the link given below. But it gives this error when i run it.
Code:
  File "E:\Mac\ensymble.py", line 5
    if imp.get_magic()!='\xb3\xf2\r\n':raise RuntimeError,s
                                                         ^
SyntaxError: invalid syntax
I m not sure if i m running the correct ensymble script.
Reply With Quote

#4 Old Re: [moved] ensymble help - 2008-12-05, 10:18

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
What version of Python you have installed on your PC?
Reply With Quote

#5 Old Re: [moved] ensymble help - 2008-12-05, 11:00

Join Date: Apr 2008
Posts: 102
kdurga
Offline
Regular Contributor
Quote:
Originally Posted by jethro.fn View Post
What version of Python you have installed on your PC?
Readme says python version is 3.0
Reply With Quote

#6 Old Re: [moved] ensymble help - 2008-12-05, 11:10

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by kdurga View Post
Readme says python version is 3.0
Python 3.0 (previously called Python 3000) is the first non-backward compatible version of Python, officially released two days ago. You need to use Python 2.6 or older to run Ensymble. I will convert Ensymble to Python 3.0 in due course, but for now it only runs with the "traditional" version of Python.
Reply With Quote

#7 Old Re: [moved] ensymble help - 2008-12-08, 06:34

Join Date: Apr 2008
Posts: 102
kdurga
Offline
Regular Contributor
Quote:
Originally Posted by jethro.fn View Post
Python 3.0 (previously called Python 3000) is the first non-backward compatible version of Python, officially released two days ago. You need to use Python 2.6 or older to run Ensymble. I will convert Ensymble to Python 3.0 in due course, but for now it only runs with the "traditional" version of Python.
Installed 2.5 python and downloaded 2.5 version of ensymble. But i get this error when i run the script. I can tell you for sure that the pass key and cert and key are valid. Do i have to download OpenSSL from somewhere?

Code:
E:\Temp\Ensemble>ensymble_python2.5-0.27.py signsis --cert=cert --privkey=key --passphrase=pass unsigned.sis
ensymble_python2.5-0.27.py: no valid OpenSSL command line tool found in PATH
Is there any help for generating sis files(replacing uid, rsc etc) using ensymble?
Reply With Quote

#8 Old Re: [moved] ensymble help - 2008-12-08, 07:23

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Installation and usage of Ensymble is explained in the README-file:

http://ensymble.googlecode.com/files/README-0.27.txt
Reply With Quote

#9 Old Re: [moved] ensymble help - 2008-12-08, 09:13

Join Date: Apr 2008
Posts: 102
kdurga
Offline
Regular Contributor
Quote:
Originally Posted by jethro.fn View Post
Installation and usage of Ensymble is explained in the README-file:

http://ensymble.googlecode.com/files/README-0.27.txt
What about the error which I am getting? OpenSSL one? Do I have to download it from some where?
Reply With Quote

#10 Old Re: [moved] ensymble help - 2008-12-08, 10:38

Join Date: Apr 2008
Posts: 102
kdurga
Offline
Regular Contributor
Hi thanks for the help..
I am able to change the UID and capabilities now.
How can I change the rsc files and the mif file?
Is there a way to generate/modify rsc files using altere32 cmd? I tried it but it gives me error. I guess it only works for exe and dlls.
Reply With Quote

#11 Old Re: [moved] ensymble help - 2008-12-08, 11:08

Join Date: May 2004
Posts: 524
Location: Tampere, Finland
jethro.fn's Avatar
jethro.fn
Offline
Forum Nokia Champion
Quote:
Originally Posted by kdurga View Post
Hi thanks for the help..
I am able to change the UID and capabilities now.
Have you tested that it works? If you're modifying software made by someone else, there's no guarantee that the original UID is not embedded inside the software, somewhere. Only change UIDs of applications you have written yourself and can be sure the UID is only present in the EXE header.


Quote:
Originally Posted by kdurga View Post
How can I change the rsc files and the mif file?
Is there a way to generate/modify rsc files using altere32 cmd? I tried it but it gives me error. I guess it only works for exe and dlls.
Ensymble does not support modifying RSC or MIF files. It has internal functions to generate new ones, but you're better off using the official SDK tools to compile RSC and MIF files.
Reply With Quote

#12 Old Re: [moved] ensymble help - 2008-12-08, 11:37

Join Date: Apr 2008
Posts: 102
kdurga
Offline
Regular Contributor
I have written my own app and tried it. I was looking for a way to change rsc and mif files as well. Anyways thanks for the help.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
[announce] Ensymble v0.27 jethro.fn Python 56 2008-10-28 21:29
[announce] Ensymble v0.26 jethro.fn Python 7 2008-03-15 17:35
[announce] Ensymble v0.25 jethro.fn Python 12 2008-01-05 20:34
Ensymble vs PyS60 v1.4 jking_ok Python 5 2007-07-16 08:17
[announce] Ensymble v0.21 jethro.fn Python 3 2007-02-01 18:37

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia