If you have a Samsung BlackJack I that is updated to Windows Mobile 6, you can use the built-in JBlend application for java apps rather than installing IBM J9. Any apps you install will have access to the Internet, but you have to give permission each time. In order to fix this, you will need a hex editor and probably have to have your phone "application unlocked" (you can find instructions for this with Google).
Connect your phone to your computer with ActiveSync. Explore to the /Windows/Java folder. You should find various files that are a number and the extensions will be like .jar, .jdx, .mss, etc. Each number represents a java application that you have installed.
To find the application you want to unlock, copy the .jdx file(s) to your computer. Use your hex editor to view the .jdx file. In the ASCII view, you should see the name of the original .jad file. You can use this information to identify which program the numbered .jar file is for.
In my case, I only have the gMail application installed, so my 0.jdx file mentions gMail, the google website, etc. Since I now know that all the 0.* files are for gMail, I copy the permissions file, which is 0.mss, to my computer.
Using the hex editor, change the byte at address 0x0A to 0x04. Save the file. Copy it back to your device, replacing the original 0.mss file.
Start Java on the BlackJack. Highlight the gMail app. Press Menu, Application, Permissions. You will now have options under all categories for "Blanket" and "Session." Blanket means it will always allow without asking. Session means it will ask the first time only.
Enjoy!
P.S. If you simply want to enable all your applications, I suggest that you just edit one .mss file, and then copy it over all the .mss files that are there. Also, you could find out which application 0.mss is for using the procedures above. Edit 0.mss and copy it back to your device. Then set the permissions the way you want on your device. Copy the updated 0.mss file over any other .mss files you have to give the same permissions to the other apps.
UPDATE: I have zipped up an already editted .mss file that you can copy over your existing .mss files. It will turn on the other selections, but still default to OneShot (for security). Once copied, you can change the permissions manually for each application. Get the zip file here.
Subscribe to:
Post Comments (Atom)

9 comments:
Any suggestions for the Blackjack II?
I don't have a BlackJack II, so I'm not sure, but if it uses the same Java software, this should work for it, too. If the built-in Java does not connect to the Internet at all, then this won't work. My BlackJack I with WM5 did not connect at all. The WM6 update is what made it work.
Nice, thanks for the post worked like a charm on my BlackJack I trying to run Opera Mini.
I don't understand your directions.
"change the byte at address 0x0A to 0x04."
Do you mean copy the byte at address 0x0A to 0x04? Or, change the byte that's at 0x0A to what's at 0x04? Or, something completely different?
Either way, the values on my .mss files at both those address are the same so it doesn't matter how I interpret your directions.
If you could clarify, that would be nice.
Though it looks like it might work on a Black Jack II running 6.1, which uses a version of JBlend with the same file names and structure, the #.mss files themselves seem to be different. Doing this edit disables permissions entirely.
I now have a Samsung Epix with WM 6.1. Haven't looked into hacking it's java yet...
Dude! Thanks so much... Now i dont have those stupid options any more for every click...
U the man!
Vijay
@CD Huertas: Thanx for the help above. Now I don't have to give permissions everytime for using internet......
BUT.... I can't download files or save pages from java versions of UC browser and operamini. I use Blackjack. It says "Failed! Suggest to modify permissions of file."
Its like not allowing to access the mobile through the file manager of browser and so we cant download a file...
pleaseee help...:)))
Thanxxx..... ^_^
@abhishek: Unfortunately, I no longer have this phone, so I cannot help you. Sorry.
Post a Comment