Sunday, July 5, 2009

ALLOW FILE ACCESS FOR APPS ON VIEWTY

For sometime now I have had an LG Viewty, but it was only recently that I have used it primarily as I have opted to have my SE K800i as my everyday phone. I bought the Viewty second hand and the former owner got it on a plan with 3 Australia and therefore had shortcuts with the network's services. I managed to find tutorials on how to get rid of those shortcuts immediately after I got the phone, but the only thing I didn't bother myself with was to allow third-party apps like Opera Mini to access the file system. This has been mostly the case for LG phones and it's not because this phone was locked before to 3 Australia.

Since ditching my K800i as my primary phone, I have been concerned though on how I can better make use of apps like Opera Mini by allowing access to files on botht the phone and the memory card. I've tried searching on the internet for the solution and found something not very specific to my problem. It simply entails changing the policy for the certificates on the phone by using a program called Bitpim.

However, the tutorial is only applicable to unlocked Viewtys, in which you have an access to the file system using Bitpim. My phone used to be locked with 3 and the system file folders are locked as well. The good thing about Bitpim though is that you'll be able to overwrite the file, so it should be only a matter of finding an exact copy of the policy file and editing it using notepad, and then overwriting the original file on the phone. Using a simple hack on Google, I found an unprotected back-up of the file stored on a website, however of a different LG model. I risked my neck and did overwrite the original file on the phone using Bitpim. After restarting the phone, I deleted the apps needing file and network access and reinstalled them. It worked fine with just a minor bad effect-- the battery somehow gets drained if you turn the phone off for sometime, which of course is solved by not turning your phone off for more than several hours or so.

It maybe rare that somebody may need to do the same thing, but anyway let me give the tutorial on how to do it here.

  1. Download Bitpim from http://www.bitpim.org/ and install it on your machine. If you don't have it already installed, also look for the Viewty USB driver on Google (I found mine on Rapidshare and also there was some versions available on 4Shared).
  2. Copy the text on this link to a notepad and edit the last eight (8) lines to look something like below, and then save it as "h3g.pol" (be sure to select save as all type, otherwise it will be saved as a txt file).
domain: untrusted
allow: network_access
allow: application_auto_invocation
allow: messaging
allow: local_connectivity
allow: multimedia_recording
allow: file_connection
allow: phone_call

3. Open Bitpim and connect the phone (be sure to have the USB setting on the phone set as "data" and not "memory" or "file"), go to settings on Bitpim and select the model. Bitpim works only for CDMA phones so for this you have to select LG VX9400. After Bitpim found the phone, click on read file system on the right side of the window and allow it to read the files on the system folder. Just got to LG>Media>Java>Cert and look for the file "h3g.pol". Right click on it and just select overwrite. Bitpim opens up the file explorer and just select the file that you have previously saved and let the program overwrite the original file.

4. Disconnect the Bitpim from the phone and then also disconnect the phone from the computer. Restart the phone and reinstall the applications you want to have access to the network and files with. You should be good to go.

No comments: