[APP] MPKG - Faster/cleaner pkg installer based on yan0
Dear All,
find an updated version of yan0 pkg installation script that allows installation of non signed application on ezx platforms. What I did is to clean up a little the script and make it faster by avoiding the unnecessary testing of the pkg file format (i.e. tar.gz or .tar) through the use of its magic. I added my ezxpopup touch for a popup notification of the start of the install and completion.
Please find both versions for A1200 (R532 firmwares and R541/R532L4).
For the installation just remove (and backup!?) on your (micro)sd card the .system directory and in place untar the attached file.
Enjoy!
UPDATE: new version v1_2 of the installer implementing the following changes:
- fix automatic kill of am (application manager) at the end of the installation so that you do not need to restart the phone to see the icon (thanks clovis to spot out the error)
Attached also is the new mpkg.lin script that should replace the /mmc/mmca1/.system/QTDownLoad/mpkg/mpkg.lin one if you want to avoid reinstallation of all your apps!
Note on uninstall: it seems that the latest firmware do not offer the possibility to uninstall the pkg: it appears not related to yan0 script or my adaptation.
R541 is for the a1200 edge version
R532L4 is for the a1200 latam
R532 is for the vanilla a1200 old version
Anyway install one if it doesn't work install the other one
hi bragon., I'm interest in your ezxpopup. can you make it display an ok button like a ezxdialog in E680i/A780. this will make A1200 script programming more interactive.
and another request is make ezxpopup display a UTF-8 text for ppl that are not good at english.
earkin, I have been inspired by ezxdialog in terms of behavior thus I use ZMessageBox::timerMessage or ZMessageBox::information depending on the delay introduced in the argv[3]. If it is null then the argv[4] is used in place of the default "Ok" message for the button.
Bottom line you can use that program for other scripts directly.
A last thing for tonight:
Concerning the lack of uninstall I think that it is related to the Attribute of the application as declared into the /mmc/mmca1/.system/java/CardRegistry file and has nothing to do with yan0 script. Before for A1200 R532 vanilla firmware the value declared was 2 now it is 4. Reverting to 2 or other values (5 enabling uninstall but not execution) doesn't help. So we will have to bare with this lack of uninstall I am afraid...