Filesystem access on phones with Motorola FileAccess API support
Previous  Top  Next

     
   Unfortunatelly, only signed midlets can use filesystem access on these phones.  
 
   Author of ReadManiac does not have sertificate from Motorola and can not sign midlet.  
 
   If you install not signed midlet to phone, midlet will not work.  
 
   Fortunatelly, there is a way to grant midlet required permissions without signing.  
 
   WARNING! Following instructions include manipulations with phone's system files. Author will not be responsible for any damage, arrising during usage of this information. In any case, you always have possibility to use ReadManiac LITE, or ReadManiac FULL without filesystem access.  
 
   After overviewing midlet signing procedure, it is clearly can be seen that there is no way to fake midlet signature. System effectively resist intruders. But this system was not designed for the case when "intruder" is phone's owner.  
 
   Final decision about midlet privilegies is made by phone's firmware. Thus there are several possibilities exist to give priviliegies to midlet:  
 
·firmware fix. Unfortunatelly, Motorola has designed hardware protection against this;  
·adding fake Root certificate to validate fake certificate of midlet. Unfortunatelly, root certificates are stored in firmware;  
·fix system files, containing privilegies for installed midlets. This method was invented by Jenfa and grafmoto with a help of motofan.ru forum users.  
 
   Midlet privilegies are assigned once during midlet installation. Privilegies are stored into file with name "j2meX.dat", where X - number of installed midlets. This file can be replaced with fixed file after midlet installation.  
 
   During midlet creation for phones with Motorola FileAccess API, Wizard also saves fixed "j2meX.dat" along with JAD and JAR files.  
 
   Here is a step-by-step instruction for installing midlet:  
 
·run P2KTools and rember file names in "/a/mobile/kjava/" directory - pat files (j2me0.pat, j2me1.pat, j2me2.pat and so on, may be out of order);  
·install application using MIDway;  
·run P2KTools and look for a new pat file appeared in "/a/mobile/kjava/"directory;  
·remember its name (number) and delete it;  
·rename "j2meX.pat" into deleted file name;  
·use P2KTools to upload this file to "/a/mobile/kjava/";  
·run midlet.  
 
   With P2KTools 0.8.6 build 406 release, manual .pat file changing is not required. Please right click on application inside kjava folder, and select item "Replace pat file (FS access)" in contex menu.  
 
   While building midlet with Wizard, user should specify storage folder for files, downloaded from internet.  
 
   See also: Selecting storage directory, Motorola FileAccess API.  
 



 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Rambler's Top100