So, my Sony Ericsson K800 is now not mine… so projects for Sony Ericsson now will stop.
Instead I’m doing to by a smartphone, so I think soon here will be something for it 🙂

A few words why do you need it

As you know, for security reasons java-programs on the phones are always have restricted rights. The phone, depending on it’s model, asks confirmations to access internet, filesystem, camera, autostart etc.
Of course, this pop-ups are helping to prevent malicious software from doing bad things, but they are very annoing.
Luckily, there two methods to disable them.

1-st – patch to disable security alerts

Such patch disables popups for all programs, and I do not advise to use it. If you really need it, it can be easily founded in the internet.

2-nd – sign the program

You should sign .jar file with a certificate, which phone trusts.
An ideal solution is to use one of the preinstalled certificates, but, sadly, you can do it only for your own software and it costs money.
So, the other way is to sign .jar with own certificate and write it to the phone.
You can generate certificate yourself, or you can use Halmer certificate.

How to write certificate to the phone

You can do it with Setool 2 lite (from the_laser) or JDFlasher (from den_po).
I’ll post instructions for JDFlasher, with Setool 2 lite everything is simpler 🙂

  1. Make sure you have installed FAR Manager, JDFlasher and EPIUSB drivers.
    You can download them from:

Sometimes EPIUSB drivers do not installing authomatically and you need to install them by hand, but they 100% working 🙂

  • Download an archive with certificate and installation file and unpack it
  • Power off the phone, remove and insert battery
  • Run FAR Manager, press Alt+F1, select “just da flasher”.
  • In the first field select phone model or platform (for new models – db2020, for smartphones – pnx5230)
  • In the second field select port DCU-60 if you use USB-cable, or appropriate port, if you are using service cable or have an older phone with old connector type
  • In the third field select speed. I usually selecting 921600
  • Press “jump down into a large rabbit hole”, then hold “C” on the phone (or “2” for phones without “C” button), plug in cablem wait for connection and release the button.
  • Go into ofs folder
  • The go into tpa/preset/custom/ folder
  • Copy there files customize_upgrade.xml and halmer.cer from the archive
  • Go into root folder, when asked “are you sure?” press “yes”
  • Unplug the phone, remove and insert battery
  • Power on the phone, go to Menu-Settings-General-Security-Certificates-Java certificates, and make sure there is a line “Halmer”

Now you can install software signed with Halmer certificate. To configure permissions for a (signed!) program, find it in the programs list, press More-Permissions and set permissions as you need.


Updated SE db2020 Image Tool

Changelog:

  • fixed a rare error while replacing already replaced images (thanks timos_06)
  • added reading image names (thanks den_po and svansvan)
  • better look with some skins
  • small fixes


Download it at a project page