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 🙂
- 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.