Reverse Engineering - BlackBerry extract cod files java files

I want to know if we can extract the files .java Blackberry since the .cod files? Is this possible?

In the affirmative. How and what are the steps?

And if not? Why? Because that would mean the violation of the security of the device blackberry app?

I can't give a definitive answer to this.
It is / was a decompiler of cod, but I don't know anyone who used it successfully to decompile a complex program.
I gave a few hours test and never managed.

even if you would be able to decompile a program, you would be a good step away from stealing stuff, but if you are concerned you can use of darkening additional layers or whatever.

personally, I doubt that everyone would gain something by using the approach of decompilation and my experience shows that some decompiler exists does not work properly.

Tags: BlackBerry Developers

Similar Questions

  • Security for the COD file question: is it possible to extract the BlackBerry devices .cod file?

    Is it possible to extract the BlackBerry devices .cod file?

    We want to ship the BlackBerry device with our application installed.

    I was wondering if need to add additional security.

    Installing drivers USB BlackBerry Desktop Manager, connect the BlackBerry to the PC via USB/Bluetooth and «save the JavaLoader.exe u your_module_here»

    PS JavaLoader.exe comes with the BlackBerry development Java (JDE) environment.

  • ODI - Reverse Engineering of a txt file

    Hello everyone, I am working with ODI and I need to create a model in a txt file-based ODI.

    In this file, each record is limited by the size, I mean that each record is 200 characters. This file has ONE line because its format said that each record is limited by the length (200 characters per record).

    I tried to create the model of this file, but I couldn't. I was able to recreate the file columns (each column has the same size as I used for this option "set" for the file format option), but I couldn't separate each record as the only available options are:

    1 return BACK
    2 Unix carriage return

    Hi Jose,

    Have you tried to leave blank?

  • Error: the file is not a valid Java code file

    Hello

    IM new in the development of BB, so bad to describe my problem step by step:

    -First of all, had installed jdk-1_5_0_14-win, BlackBerry_JDE_4.6.0, j2sdk-1_4_2_18-win, Desktop manager 4.6

    -Open BB JDE, create a new workspace

    -Add a project HelloWorldDemo.jdp file (located in the sample folder)

    -Debug the application in the Simulator (9000-JDE) without any error

    -Construction of the project and generate the .axl and .cod files

    -Try to install this app (HelloWorldDemo.cod) in my device with error

    C:\Archivos programa\Research in Motion\BlackBerry JDE 4.6.0\samples\com\rim\samples\device\helloworlddemo>javaloader u load HelloWorldDemo.cod
    Charger Pocket RIM Wireless Java
    Copyright 2001 - 2007 Research In Motion Limited
    Connected
    HelloWorldDemo load error: the file is not a valid Java code file
    7832 bytes sent to ~ 15664 bps
    Disconnected

    -Also try to install the application with Desktop Manager and the .axl file, but show this message "a fatal error has occurred while updating your software to devices." Please try again ".

    My device is a Blackberry 8700

    Software: v4.1.0.351

    Help, please!

    Thank you!

    Thank you!! Problem solved.

  • Downloading app: several files were COD files were extracted single file of COD.

    Hello

    Right now I'm in the process of downloading my first request on the BB App world. In step 6, after you download COD I have following message

    Your upload from a zip file has completed, see the files in your package. 5 COD files have been extracted.

    Five Code files! Is there something wrong? How is it possible to have FIVE COD files that I downloaded a?

    concerning

    Mukesh

    Hello

    Generated by the JDE COD files can be extracted with WINRAR. I did and found 5 different files of COD suffixed as "-1.cod" to "-4.cod". This is how to get the list

    . COD

    -1.cod

    -2.cod

    -3.cod

    -4.cod

    I extract the first file and loaded on the device. He gave me a few missing module error. And their module is - 1.cod. If all of the .cod files are interrelated and represents the different module. But I do not know which file represents the module in which and how the module is created during execution.

    ANY OTHER COMMENT ON IT IS MORE THAN WELCOME!

    concerning

    Mukesh

  • cod file installed on the BlackBerry smartphone by OTA, error when starting Application

    Hi all

    I have devloped Balckberry app using Sybase Unwired Platfourm 2.0.

    I install all the required files depend on cod three (CommonClient, sup_client_rim, UltraLiteJ) with my main Application using the JAD file.

    Apllication is installed successfully with the three modules, but when I run Application, it gives the following error.

    Error starting of RR: Module "UltraliteJ-3' attempts to access the API blocked.»

    ((when I install all dependent files (CommonClient, sup_client_rim, UltraLiteJ) COD using Desktop Manager, Application works very well.))

    I had signed all the cod files installed on the device.

    Here is my jad file.

    MIDlet-name: RR
    MIDlet-Version: 1.0.0
    MIDlet-vendor: BlackBerry Developer
    MIDlet-Jar-URL: RR.jar
    MIDlet-Jar-Size: 226631
    Microedition-profile: MIDP-2. 0
    Microedition-Configuration: CLDC-1. 1
    MIDlet-1: RR, images.jpg.
    RIM-MIDlet-flags-1: 0
    Manifest-Version: 1.0
    RIM-COD-URL: RR.cod
    RIM-COD-size: 67308
    RIM-COD-creation-Time: 1322626069
    RIM-COD-Module-name: RR
    RIM-COD-Module-dependencies: net_rim_cldc, sup_client_rim, UltraLiteJ
    RIM-COD-SHA1: ee 06 5 c 50 6f 4 c 1 3 a 0 b 68 53 12 6th b1 70 a1 a7 df e4 f9
    RIM-COD-URL-1: RR - 1.cod
    RIM-COD-size-1: 26984
    RIM-COD-SHA1-1: 8 b 98 42 9f 44 0c 98 31 57 6 c 18 a0 d4 28 47 bf 92 cc 2 c 6B

    RIM-COD-SHA1-2: ba e1 89 79 00 39 5a1 has 49 6 49 55 94 eb 7f 2 c 0f 99 c4 a2
    RIM-COD-URL-2: UltraLiteJ.cod
    RIM-COD-URL-3: UltraLiteJ - 1.cod
    RIM-COD-SHA1-3: 5th 6 7f 60 82 68 15 07 fb fe bf 4-6 c fd 8 88 c a 7, 4 b f0 c6

    RIM-COD-Module-dependencies-1: net_rim_cldc, net_rim_os
    RIM-COD-URL-7: UltraLiteJ - 5.cod
    RIM-COD-SHA1-7: 2d 81 8A cd d4 4B 3f be 20 6B ad 01 f 30 d6 ba c1 e5 59 4 b
    RIM-COD-URL-6: UltraLiteJ - 4.cod
    RIM-COD-SHA1-6: 07 e5 0e fa 47 80 bd ad 12 93 32 87 05 e7 c5 70 83 9f 14 a0
    RIM-COD-URL-5: UltraLiteJ - 3.cod
    RIM-COD-SHA1-5: 5 ch a0 bc 59 70 0f 9 b 53 23 44 ae eb d9 f3 d3 2nd ec 09 c3
    RIM-COD-URL-4: UltraLiteJ - 2.cod
    RIM-COD-SHA1-4: this c6 d6 70 18 df f6 29 9 b 91 e4 d3 fb 5f ea be 13 35 61 06

    RIM-COD-URL-8: sup_client_rim.cod
    RIM-COD-SHA1-8: b9 b2 98 79 9f 2f 4 d 6 b 3f c2 d5 13 57 47 42 7 b f4 70 a0

    RIM-COD-URL-9: sup_client_rim - 1.cod
    RIM-COD-SHA1-9: 51 8 b 23 f1 ff 61 64 16 49 23 4th c6 89 63 4 ad d c2 29 d0 bd

    RIM-COD-Module-dependencies-2: net_rim_cldc, UltraLiteJ, net_rim_os, net_rim_satsa, CommonClient
    RIM-COD-URL-10: sup_client_rim - 2.cod
    RIM-COD-SHA1-10: 59 27 3rd d5 33 83 70 f8 c4 d8 92 7B e5 51 37 09 70 56 c2 bf

    RIM-COD-Module-name-3: CommonClient

    RIM-COD-Module-dependencies-3: net_rim_cldc, net_rim_crypto_1, net_rim_crypto_3, net_rim_crypto_2

    RIM-COD-URL-11: CommonClient.cod

    RIM-COD-SHA1-11: ef 7 has da 29 08 66 f5 22 63 ef 63 9 b 46 5f 3 a 3 b 84 d1 ae 6 b

    I got extect all files in jar files.

    PLS, someone has a clue what the problem. ?

    Thaks and regards.

    Hi @hmorzariya,

    I see two options:

    1. the 'UltraLiteJ - 3.cod' the file has not been signed with success.

    2. the "RIM-COD-SHA1-5' does not match."

    3. the size of the cod is missing.

    Signed the file on your own?

    I think you might need to update the JAD after that you sign the COD file...

    E.

  • How update you an application installed with the Blackberry Storm update .cod files?

    Hello

    I was sent to some application software for my Blackberry Storm 9500. I managed to install the basic software using the BB Desktop Manager normal software, however, there are four files as sitting there, that look they are there to install, update the software - records are different on different BlackBerry names "4.2.1", "4.3", "4.5" and "4.6" - my knowledge limited, I think that this refers to operating systems...

    I guess I would need to install the file 4.6 .cod file, however, I just can't handle it all. The Director of the office, I can only try to update o/s handset, but I can't actually update individual applications that I see!

    Can someone tell how to do this, because he's completely beat me? Be nice... I'm new!

    the alx file is only a link to the file of the Cod. DM load the alx file, search for information on the cod and load the cod on the device.
    In cod, it has compiled software.

    Installation of OTA is similar. The jad file contains settings and links to the cod file.

    The javaloader.exe (comes with the JDE) you can install cod files directly.

    There is also an activeX plugin (which uses javaloader) to load the cod files on a device.

  • How to explicitly sign .cod file and jad file available in the blackberry phonegap application OTAInstall folder.

    Hi all
    I developed a blackberry software, phonegap will OTAInstall folder that contains unsigned .cod and jad files, I want to give to this folder to the client so that it can make the .cod signature of the OTAInstall folder and install it in their device.

    Note- Customer don't want .cod signature on my side and I can't share my code for the client, I can only share files .cod unsigned file OTAInstall to them.

    Thank you all

    Hi there, when you build with the SDK WebWorks, if you omit the parameter g then the application must be created without his signature.

    Once you share the unsigned cod, the customer must have their own WebWorks SDK installed, as well as of the signature code may operate the SignatureTool.jar in the folder bin to sign actually unsigned cod files and keys.

  • How to download the app and extract the brother .cod files that it contained by program

    Hello

    I want to download and install a new version of my application programmatically.  I read the messages where all the .cod files application including .sibling .cod files are downloaded separately.  Is it possible to simply download the application file, for example Main.cod and extract all the brother .cod files contained (hand - 1.cod, hand - 2.cod)?

    Thank you

    Not sure that understand this issue.  Given that you have already unpacked all the brothers and sisters, then you know how at the server level and can provide information, your application can query.  Your application can read the jad file, or as the naming convention is well known, your application could try to get cod files with a suffix growing until it breaks.  Is that what you were asking?

  • The OTA installation and large. COD files

    Hi, I'm new to the Blackberry development. I am developing a small image editing app for Blackberry and planning to distribute them using my site (OTA). The problem is that my .cod file size is about 500 KB. I've searched the forums and some suggested to break large cod in several smaller files of the Cod. But exactly how do I do this? Thank you

    All you need to do is open the COD file in a program like WinZip archive and extract the files.  It's just a zip of the rest of your COD files.  Note that the cod inside firstsibling file will have the same name as the parent COD file, so make sure that extract you it in a different directory.  If you use the BlackBerry Java plug-in for Eclipse, all you need to do is deploy the files in the directory JAD.

    You can read a bit more info on that here: the limit file size of wireless downloads

  • Why multiple COD files?

    Hello world

    I have compiled a little test app for WebWorks 7.0 and I noticed that there are 6 COD and a JAD file in the OTAInstall. Why are there so many COD file? Should what files I try to install on my device 9900 7.1?

    Kind regards

    Alon

    Hello Alon,

    This has to do with the maximum file size of COD:

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/the-maximum-size-of-a-BlackBerry-smart...

    Specifically, one COD file is limited to 64 KB of source code and 64 k of resources; These two pools of space cannot be shared (i.e. space unused resources not be used as the source code.)

    When one of these limits are exceeded, a new COD file is created to contain the content remaining, to a maximum of 127 files brother COD.

    If you look at the standard install COD file, you can actually open this COD file with an editor of the archive (WinRAR, WinZip, etc.) and you will actually find the same files from brother COD contained in the larger cod file. In reality, this large COD file is actually just a renamed ZIP file containing all the COD files.

    So, why do this?

    Well, when the biggest (archive) is installed via USB, Desktop Manager and command line tools know to provide each COD file in the sequence of the archive, and each is installed correctly.

    However, when installing OTA, while some web servers know how to make this communication, often they do not, and if the full (archive) COD is attempted to be installed OTA, it will fail. Even in cases where the server is smart enough to perform this communication, he sends actually archive ENTIRE for each sibling. Meaning:

    • Brother of queries Device #1.
    • The server sends archive entire and device extracts / installs sibling #1.
    • Device queries brother #2.
    • The server sends archive entire and device extracts / installs sibling #2.
    • etc.

    You can see that, to a very large archive with cod of brother a lot, this can cause a LOT of unnecessary traffic. Therefore, if you are hosting OTA, the recommendation is to host the ALX file and all brother COD files that are located in the OTAInstall folder.

    Alternatively, you can DECOMPRESS the ARCHIVE COD and use these cod of brother (as well as the ALX file) as well, but you may NOT host the whole cod of online ARCHIVE.

    All that being said, if you use JavaLoader to deploy, you can actually invoke the command on the JAD file to perform the installation:

    JavaLoader u install myapp.jad

    Similar to OTA, JAD file operation is just a descriptor of all the COD files required for the application text and JavaLoader can use this information to install each file as required.

    There is some information up there, so please let me know if something makes no sense.

  • installed in BB10 *.jar or *.cod file?

    Hey it's cool today.

    I want to install my jad file... (developed 7.1 OS) to BB10.

    Install BB10 is supported to the jad (or cod) file?

    or after renovation to install?

    I was expecting to hear good news...

    Thnaks.

    Sorry, not good news today. Of legacy devices BBOS have been programmed in Java. BlackBerry 10 can applications can be developed in several languages (C++, JavaScript, QML, HTML5, etc.) but NOT Java, since there is no BB10 Java virtual machine. There is no way to run an app built for Legacy BBOS on BB10.

  • What is the SDK required to generate. COD files

    Hello world

    Hello

    BlackBerry 10 platform does not use the .cod files, it uses the .bar files. If the WebWorks 10 BlackBerry SDK builds those. If you want to generate for the Platform Java BBOS .cod files, you will need from old tools. If you go to the site of the BlackBerry developers, you will see a series of icons of the platform along the bottom of the black banner. The BlackBerry OS it will take you to another selection where you can choose to HTML5, Java or Theme Studio. I'm including this description because there is documentation and other resources specific to these platforms there as well. You'll want to know how to get there.

    You can download the tools for BBOS here: https://developer.blackberry.com/bbos/html5/download/

  • [SDK WebWorks for Mac] Could not load the COD file to the device

    I downloaded the latest version of the SDK of BlackBerry WebWorks for Smartphones (Mac version) to my laptop. I am able to zip/compilation/sign my application in a COD file. However, when I try to load the app on my BB device using javaloader, I get the following error: "error: file is not a valid Java code file.

    The version of WebWorks package manager: bbwp version 2.2.0.15
    The device is a BB Curve 9330 running version 6.0 (v6.0.0.524, platform 4.4.0.438)

    If this combination will allow me to deploy on the device? This combo generates a BB 7.0 application?

    A test, we tried to load a COD file created on a PC, using bbwp version 2.0.0.18, and we were able to load with this version of the SDK.

    Thank you

    Scott

    So certainly not customized API used here.

    Can you maybe run a test with one of our sample applications by microsite or our repo samples ?

  • Cod files does not not in the Simulator!

    First of all, I must say that development of BlackBerry is probably the most frustrating form of development that I met.

    I can't get my HelloWorld application to run on the Simulator.

    I have successfully built the cod file using eclipse and one build.xml.

    I copied all the output files (including cod file) in the Simulator installation directory manually.  It did not work.

    So I tried to load the java program directly using the Simulator via file > load Java program...

    None of these methods work.  There is no icon in the downloads folder.  My request is not listed in the list of the Application Simulator, BUT he is listed in the list of the Module.

    operating system: Vista

    JDE version: 4.6.0

    IDE: eclipse

    It's maybe a stupid question, but still: your application has an enty point?

Maybe you are looking for