Kavana WM6.1, Esmertec JBed, and Opera Mini: A Complete Solution - HTC Excalibur

Hello everybody,
I've figured a few things out regarding JBed and Opera Mini on Kavana's latest WM6.1 ROM, and I thought I'd share them with you.
Introduction
First off, a quick introduction: Opera Mini 4, a Java MIDlet web browser, is arguably the best browser available for Windows Mobile. It routes traffic through Opera servers, so it doesn't take as much data (or time) to browse the Web, and it has small-screen rendering like iPhone's. Slashdot, for example, loads in seconds under OM, as opposed to half an hour in Pocket IE. Esmertec JBed respects the system's network settings, so it works with the T-Zones $5.99 internet trick.
JBed isn't perfect, though. It has a few glaring issues: network access permissions, inability to use a MIDlet as a systemwide default browser, and ugly fonts. I haven't figured out the last one yet, but the first two are solvable, and here's how.
Network Access Permissions
Most tutorials for fixing this problem refer to the file \Windows\AppDB\Selector.utf; editing this file and replacing the text
Code:
domain=untrusted, \
with
Code:
domain=tckmax , \
fixes the problem under Cloudyfa's JBed. The version of JBed in Kavana's WM6.1 stores its data in \Application Data\JavaDB, and the selector.utf trick doesn't work. The culprit is a missing file named policy.utf, which defines tckmax. I've attached a copy of this file; just move it to your \Application Data\JavaDB directory and the selector.utf trick will work as usual.
Systemwide Default Browser
First off, you can make it easier to access Opera Mini by changing the short_IE.lnk file to open OM instead of PIE. I've attached a version of that file for your convenience; copy it to your \Windows directory and the IE (or T-Zones) button will open a usable browser for a change. This only works if OM is the first MIDlet you've installed; if you have installed other MIDlets you'll have to edit the shortcut (Notepad works nicely) to reflect the change. If OM is your second MIDlet, change s0_ to s1_; third, s2_; and so on.
Also, various MortScript scripts have been floating around that attempt to automate the process of copying a clicked link to the system clipboard, opening OM, and pasting the link into the address bar. I haven't found one that works, but a much better solution is available. The linked post contains a CAB file (which I've reposted here for convenience) that installs an actual application that works well under WM6.1. This one is hardcoded with the assumption that Opera Mini is the first MIDlet that you've installed.
One Other Thing
I recommend backing up your \Application Data\JavaDB directory once you get everything working; you can simply copy it back from your backup after a cold boot to get everything working again. I don't know how to make a CAB file myself, but if someone is up to the challenge, I'd suggest making a single file that installs Opera Mini and the Opera Mini Default Browser application, and optionally replaces the PIE button with OM. Or maybe Kavana can add this to his next ROM
Hope you find this useful!
EDIT: The application I've attached only works if Opera Mini is the first application ever installed under JBed. If you uninstall it and reinstall it, it will get a new suite number. You can look at your selector.utf file and figure out your suite number (e.g., s1_), but I would recommend clearing out your \Application Data\JavaDB folder to reset your suite numbers. Also, it may be a bad idea to edit your selector.utf file in Notepad; a hex editor should avoid corruption issues.
~truggl

awesome! thanks!

very useful, thanks!

Great Job!!

How do you tell what the s number is for the OM midlet?
When I press the short key cut key I get a "Could not find suite s0_" error message. When I dismiss the message I get the jbed midlet manager window which list Opera Mini and it's the only applet listed. I click on that and Opera Mini opens up.

Perfect, the policy.utf file did the trick. I'm not so sure that I want to replace the iexplore shortcut to OM because there are still some limits to the OM applet over PIE. OM can't launch youtube for example.
Thank you ... thank you - Tim

truggl said:
Hello everybody,
I've figured a few things out regarding JBed and Opera Mini on Kavana's latest WM6.1 ROM, and I thought I'd share them with you.
Introduction
First off, a quick introduction: Opera Mini 4, a Java MIDlet web browser, is arguably the best browser available for Windows Mobile. It routes traffic through Opera servers, so it doesn't take as much data (or time) to browse the Web, and it has small-screen rendering like iPhone's. Slashdot, for example, loads in seconds under OM, as opposed to half an hour in Pocket IE. Esmertec JBed respects the system's network settings, so it works with the T-Zones $5.99 internet trick.
JBed isn't perfect, though. It has a few glaring issues: network access permissions, inability to use a MIDlet as a systemwide default browser, and ugly fonts. I haven't figured out the last one yet, but the first two are solvable, and here's how.
Network Access Permissions
Most tutorials for fixing this problem refer to the file \Windows\AppDB\Selector.utf; editing this file and replacing the text
Code:
domain=untrusted, \
with
Code:
domain=tckmax , \
fixes the problem under Cloudyfa's JBed. The version of JBed in Kavana's WM6.1 stores its data in \Application Data\JavaDB, and the selector.utf trick doesn't work. The culprit is a missing file named policy.utf, which defines tckmax. I've attached a copy of this file; just move it to your \Application Data\JavaDB directory and the selector.utf trick will work as usual.
Systemwide Default Browser
First off, you can make it easier to access Opera Mini by changing the short_IE.lnk file to open OM instead of PIE. I've attached a version of that file for your convenience; copy it to your \Windows directory and the IE (or T-Zones) button will open a usable browser for a change. This only works if OM is the first MIDlet you've installed; if you have installed other MIDlets you'll have to edit the shortcut (Notepad works nicely) to reflect the change. If OM is your second MIDlet, change s0_ to s1_; third, s2_; and so on.
Also, various MortScript scripts have been floating around that attempt to automate the process of copying a clicked link to the system clipboard, opening OM, and pasting the link into the address bar. I haven't found one that works, but a much better solution is available. The linked post contains a CAB file (which I've reposted here for convenience) that installs an actual application that works well under WM6.1. This one is hardcoded with the assumption that Opera Mini is the first MIDlet that you've installed.
One Other Thing
I recommend backing up your \Application Data\JavaDB directory once you get everything working; you can simply copy it back from your backup after a cold boot to get everything working again. I don't know how to make a CAB file myself, but if someone is up to the challenge, I'd suggest making a single file that installs Opera Mini and the Opera Mini Default Browser application, and optionally replaces the PIE button with OM. Or maybe Kavana can add this to his next ROM
Hope you find this useful!
~truggl
Click to expand...
Click to collapse
Kinda bummed.... I cant seem to get this to work. Everytime I edit selector.utf with the new code, my opera midlet dissappears. I have policy.utf in the directory so I am at a loss. ???

Works great on my system - many thanks for this!

Poser said:
Kinda bummed.... I cant seem to get this to work. Everytime I edit selector.utf with the new code, my opera midlet dissappears. I have policy.utf in the directory so I am at a loss. ???
Click to expand...
Click to collapse
I had the same problem. I was using notepad to edit selector.utf which I guess is bad. Try using a hex editor or run this script. http://treo.discussion.treocentral.com/tcforum/showthread.php?t=152078

socal1 said:
How do you tell what the s number is for the OM midlet?
When I press the short key cut key I get a "Could not find suite s0_" error message. When I dismiss the message I get the jbed midlet manager window which list Opera Mini and it's the only applet listed. I click on that and Opera Mini opens up.
Click to expand...
Click to collapse
I think i figured this issue out. Edit the Opera Mini.lnk file from run s0_ to run s4_

pudgedaddy said:
I think i figured this issue out. Edit the Opera Mini.lnk file from run s0_ to run s4_
Click to expand...
Click to collapse
Yes, it will depend on how many java programs you installed before so that you can get an accurate count.

socal1 said:
I had the same problem. I was using notepad to edit selector.utf which I guess is bad. Try using a hex editor or run this script. http://treo.discussion.treocentral.com/tcforum/showthread.php?t=152078
Click to expand...
Click to collapse
Worked a charm , thanks much mate

removed: dbl post

DaMilky said:
Yes, it will depend on how many java programs you installed before so that you can get an accurate count.
Click to expand...
Click to collapse
Opera is the only java app that I have installed and I still get the error, however, I have installed and uninstalled a few times... so I think there may be .db remnants that force it further down the "install list" e.g. s2_
edit: just had to clean up \\application data\javaDB, works fine

Hi all,
Glad I was able to help. I added a bit of information to my original post; I recommend starting with a blank slate, so to speak, because OperaDefault.cab is programmed with that assumption. When in doubt about your suite number, and if you don't care about OperaDefault, then you can look in (or post) your selector.utf file and get it from there.
~truggl

Esmertec jbed
Can someone point me to forum where i can get esmertec jbed?
I'm looking for a couple of hours already.
Please help....

Having a very strange problem with Opera Mini 4. I'm using Ricky's Rom V5 with my Dash and Opera will not display fonts correctly. They all seem to have horizontal lines going through them and appear to be slightly stretched (that could be my imagination though). I checked the Jbed version and it appears to be the latest one (I never changed it) and I'm not sure where to go from here. Opera boots and runs fast but it's not legible at all. Any suggestions as to what I can try? I searched XDA but couldn't come up with anything. Thanks,

kasim1 said:
Can someone point me to forum where i can get esmertec jbed?
I'm looking for a couple of hours already.
Please help....
Click to expand...
Click to collapse
NM, I found Esmertec.

ItsDon said:
Having a very strange problem with Opera Mini 4. I'm using Ricky's Rom V5 with my Dash and Opera will not display fonts correctly. They all seem to have horizontal lines going through them and appear to be slightly stretched (that could be my imagination though). I checked the Jbed version and it appears to be the latest one (I never changed it) and I'm not sure where to go from here. Opera boots and runs fast but it's not legible at all. Any suggestions as to what I can try? I searched XDA but couldn't come up with anything. Thanks,
Click to expand...
Click to collapse
I am having this same problem. Does anyone know how to change the font in Opera Mini?

DaMilky said:
Yes, it will depend on how many java programs you installed before so that you can get an accurate count.
Click to expand...
Click to collapse
NOT TRUE.
I tried to use from s0_ to s4_, nothing worked....
Untill i opened my selector.utf(windows\appdb) and seen that gMail is "root=s-1_", so i've change my shortcut to point to "s-1_", this did the trick.
Thanx.

Related

JbedJava_20070622_2_1 no longer works [FIXED by Cloudyfa]

The JbedJava_20070622_2_1 (Java Midlet Manager) usually included in most WM6 ROMS (Schaps, D-Lite, TNT 2.0... etc.) no longer works starting Sept 1, 2007. Is this some kind of trial version? This is an excellent java manager which I use solely for Opera Mini Beta (Best web browser I've seen so far.. a definite iPhone killer ).
Is there a known fix for this other than resetting the date/time settings everytime I want to use it?
Thanks!
I noticed that same problem was reported here: http://forum.xda-developers.com/showthread.php?p=1480564
SOLUTION FOUND HERE:
http://forum.xda-developers.com/showpost.php?p=1483665&postcount=24
perhaps there is some way to use MortScript to automate the date changing? Even if that would work, it'd be frustrating if one needs to check the date while using Opera Mini...
I hate to hijack this thread a little but I've had trouble uninstalling an older version of the Tao IntentMM, and thus, can't install a new version. version 11.1.7.1034 allows things to be installed, but they always end up with the standard "lightbulb" icon, then whenever I try to run the app, it reads "Failed to run the MIDlet". Then when I try to uninstall it, it reads "Failed to uninstall". Is this a known issue? If so, is there a fix?
use the Tao one instead? Seems fine to me running opera min beta
DaVince said:
The JbedJava_20070622_2_1 (Java Midlet Manager) usually included in most WM6 ROMS (Schaps, D-Lite, TNT 2.0... etc.) no longer works starting Sept 1, 2007. Is this some kind of trial version? This is an excellent java manager which I use solely for Opera Mini Beta (Best web browser I've seen so far.. a definite iPhone killer ).
Is there a known fix for this other than resetting the date/time settings everytime I want to use it?
Thanks!
Click to expand...
Click to collapse
ummmmm, we've already cracked the jbed days before, and released here: http://www.kloriator.com/article.asp?id=108
we'll release the oem package anna cab file later...
bigruss said:
use the Tao one instead? Seems fine to me running opera min beta
Click to expand...
Click to collapse
Really? I tried Tao before but it freezes once in a while with Opera Mini Beta. I'll try it again and see what happens.
monkeysheva said:
ummmmm, we've already cracked the jbed days before, and released here: http://www.kloriator.com/article.asp?id=108
we'll release the oem package anna cab file later...
Click to expand...
Click to collapse
Would've been nice if it wasn't a Chinese site.. i'll just try clicking all the links then.. haha..
DaVince said:
Really? I tried Tao before but it freezes once in a while with Opera Mini Beta. I'll try it again and see what happens.
Click to expand...
Click to collapse
yeah opera now has beta 2 for the opera mini 4 and so far its alot more stable now!
The Tao Midlet manager sucks..
I prefer running Opera Mini on fullscreen, and you can't do it on Tao. Jbed does it a lot better. It works smoother too..
DaVince said:
The Tao Midlet manager sucks..
I prefer running Opera Mini on fullscreen, and you can't do it on Tao. Jbed does it a lot better. It works smoother too..
Click to expand...
Click to collapse
/signed it's really much better
hey brothers, could anyone try the attached please
(just for those have JbedJava_20070622_2_1 in the same rom)
please install it on the main memory then reset your device
[[ cab removed, check the one in next posts ]]
Unfortunately, still doesn't work.. same thing happens.. it just quits.
(It doesn't create a shortcut on the Programs menu by the way, i just clicked the exe file on the Windows directory)
I didn't notice that same problem was reported here: http://forum.xda-developers.com/showthread.php?p=1480564
DaVince said:
Unfortunately, still doesn't work.. same thing happens.. it just quits.
(It doesn't create a shortcut on the Programs menu by the way, i just clicked the exe file on the Windows directory)
I didn't notice that same problem was reported here: http://forum.xda-developers.com/showthread.php?p=1480564
Click to expand...
Click to collapse
it doesn't work for me too.
ok i will see what can i do, at the moment i will attach 20070425_1_1 version.exe file, if you totalcomand (file explorer) copy it to windows folder and try to replace
just let me try myself before
Thanks. I do hope that changing the exe file with an older version would do the trick.
[SOLVED]
just install the attached and will ask you to reset, accept restarting and wait
i tried and 100% worked
DaVince please edit the first post and the title with Fixed word, really no time
its right said:
[SOLVED]
just install the attached and will ask you to reset, accept restarting and wait
i tried and 100% worked
DaVince please edit the first post and the title with Fixed word, really no time
Click to expand...
Click to collapse
You are a lifesaver. Now I can use Opera Mini again! Yay!
Unfortunately, it's an old version and very unstable and NOT fullscreen.
EDIT: Spoke too soon.. it has too many problems.. the dragging doesn't even work. This is not really a solution.
mine still doenst work.. 8( even with the fixes.. 8(
its right just used the Joedek Build: 20070425.1.1.
It's not really a fix. It's just the older version.
DaVince said:
You are a lifesaver. Now I can use Opera Mini again! Yay!
Unfortunately, it's an old version and very unstable and NOT fullscreen.
EDIT: Spoke too soon.. it has too many problems.. the dragging doesn't even work. This is not really a solution.
Click to expand...
Click to collapse
don't worry bro, i'm a daily java user and should looking for something new
i think i found one with newer build than 22-06-2007
but let me check myself before
You're a java user too.. nice.. that's very comforting.. that means you will really find a way to make this work.
I love your ROM btw.

Opera Mini

can anyone point the way to a download for opera mini? thanks for the help
http://www.opera.com/products/mobile/products/winmobileppc/
are you that lazy? google my friend
My friend, thats not opera mini, thats normal opera which i already have. Thanks anyway for your help
goto www.operamini.com on your PPC
molesaied88 said:
My friend, thats not opera mini, thats normal opera which i already have. Thanks anyway for your help
Click to expand...
Click to collapse
seriously, you couldn't go to opera.com and figure it out your self?
I mean SERIOUSLY?
seriously, have you tried it? when you go to opera.com it says go to a site from you phone, when i do that it downloads a .jad file, which ive never heard of before, if you have please enlighten me
molesaied88 said:
seriously, have you tried it? when you go to opera.com it says go to a site from you phone, when i do that it downloads a .jad file, which ive never heard of before, if you have please enlighten me
Click to expand...
Click to collapse
You need to have java installed (Jbed or Esmertec) then the jad file will open, and install opera mini. Do that, then goto www.operamini.com in pocket IE.
thank you for the help
quick question, is Jbed free software, or do i pay for it? the reason i ask is because on my brothers wing, i rom that he download cam pre installed with opera mini, and im having a bit of trouble finding a link to download, i get things like single user liscence and what not, which i may be wrong but i dont belieave is right
Here you go. Install this, and then double click on the .jad file. It will install. Then to run opera, just click on the java icon in programs and choose "opera"
This worked for me!
http://rapidshare.com/files/91673510/Schaps_JbedJava_MIDP_0_0_20070822_1_1_WWE.CAB.html
Give the guy a break, I was confused when I went on the Opera site as well...
tora201 said:
Here you go. Install this, and then double click on the .jad file. It will install. Then to run opera, just click on the java icon in programs and choose "opera"
This worked for me!
http://rapidshare.com/files/91673510/Schaps_JbedJava_MIDP_0_0_20070822_1_1_WWE.CAB.html
Click to expand...
Click to collapse
I run it with esmertec jbed and have tweaked it to open with one click without the confirmation messages. Operamini rox....but the new NetFront is even more powerful!
FYI. Checkout this excellent thread regarding Opera Mini. If you use Mort Script, you can make Opera Mini function like the default browser, i.e. open links from emails, etc. I posed my own script (based on Menneisyys's - Thanks!), which works great on my Hermes running WM6.0 and jmm.exe (TAO).
http://forum.xda-developers.com/showthread.php?t=347689&page=6
I've never heard of NetFront. Is it freeware?
http://mini.opera.com/global/opera-mini-4.0.10222-advanced-int.jad
http://mini.opera.com/global/opera-mini-4.0.10222-advanced-int.jar
Mini Opera 4.0.10222 English International version.
Download both files to your PC, transfer to your Pocket PC, place in one folder, then tap on the JAD file. That's it.
Here you can download various languages.
doctorchan said:
I run it with esmertec jbed and have tweaked it to open with one click without the confirmation messages. Operamini rox....but the new NetFront is even more powerful!
Click to expand...
Click to collapse
I also have Esmertec Jbed. Could you please tell us how you manage to tweak it? It really bugs when it asks for connectivity permission.
Thanks in advance.
http://forum.xda-developers.com/showthread.php?t=344622

Esmertec Jbed security messages WM6.1 ?

I've installed the 6.1 Kavana ROM (GREAT JOB!!!), and now I'm trying to setup opera mini so that I can access directly and not have to answer the 2 security messages each time using directions from TalynONe at http://pdaphonehome.com/forums/ppc-...ed-includes-info-new-java-midlet-manager.html .
I've got the icon setup and that part works, though I'd like to change the icon if possible so that it doesn't appear the same as the Java icon.
But I don't seem to have the \windows\appdb\selector.utf directory path so I can't edit the file as outlined. Is this because the Jbed is part of the ROM, rather than a seperate install? Could I find and edit this somewhere else on the phone?
Also, when/if I get all of this working is it possible to change the phone to open URL's via the mini-opera by default rather than using the sluggish PIE?
Thanks,
Tim
Now that I have mini-opera setup as the default browser, I'd really like to bypass the Jbed security warnings per my post above? Any ideas? - Tim
tmcdoniel said:
Now that I have mini-opera setup as the default browser, I'd really like to bypass the Jbed security warnings per my post above? Any ideas? - Tim
Click to expand...
Click to collapse
The files are under \Application Data\JavaDB
However, even when you replace the "selector.utf" file in that directory, it still doesn't work. I even tried to install a previous version of the Jbed setup (which did create the "AppDB" directory), but that still didn't work.
I'd like to know the answer as well.
Okay, now that DaMilky helped me locate where the selector.utf file is, I tried the modifications at the link noted above, even downloaded the fix.zip file so that it could convert the file. But it doesn't work, still get the security warnings. :-( - Tim
Trugl figured it out.
http://forum.xda-developers.com/showthread.php?t=380504

Default Opera Browser

Hi Guys,
the new opera beta browser damaged my default opera browser which i liked more than the beta version.
Can you help where to download a non-trial version of the default opera browser without installing a new rom on my x1?
thx
Uninstall Opera from "Settings->System->Remove Programs"
Delete all "Opera" folders from "Application Data" folder.
(Using File Explorer, or any other file manager of your preference. You may have more then one, including but not limited to "Opera", "Opera9", "Opera 9.5 Beta".)
Delete HKLM/Software/Opera from the registry.
(There are many many registry editors out there, take your pick)
click on WM6.1_PPC_dawn_Opera_2532_signed.cab from File Explorer in "Windows" folder.
(Or from any other file manager of your preference, or executing/running/installing it with any other method of your preference. e.g. cab installers etc etc.)
Now you will have the default Opera with its' default settings like the way it first came with your Xperia.
xiongguoy said:
Uninstall Opera from "Settings->System->Remove Programs"
Delete all "Opera" folders from "Application Data" folder.
(Using File Explorer, or any other file manager of your preference. You may have more then one, including but not limited to "Opera", "Opera9", "Opera 9.5 Beta".)
Delete HKLM/Software/Opera from the registry.
(There are many many registry editors out there, take your pic)
click on WM6.1_PPC_dawn_Opera_2532_signed.cab from File Explorer in "Windows" folder.
(Or from any other file manager of your preference, or executing/running/installing it with any other method of your preference. e.g. cab installers etc etc.)
Now you will have the default Opera with its' default settings like the way it first came with your Xperia.
Click to expand...
Click to collapse
what is we using a cooked rom and its not included? is there anywhere we can download it? thanks
Yeah, I am using the WM6.5 rom and it doesn't have the opera browser in it.
Can anyone upload it so we can download?
Thank you
Guys I found it
http://forum.xda-developers.com/showthread.php?t=476386
on the third reply you have it for download!
Cheers!
beringela001 said:
Guys I found it
http://forum.xda-developers.com/showthread.php?t=476386
on the third reply you have it for download!
Cheers!
Click to expand...
Click to collapse
thanks a bunch!
edit* ok..the link in that thread is not downloadable...it directs me to a site to d/l however it then redirects me to a bunch of advertisements...anyone else getitng this?
edit** ok nevermind, all i had to do was stop the page from loading

Programs position fix for WM 6.5.x?

Does anyone know how to correct the position of programs in WM 6.5.x builds (with big bottom taskbar) ?
I've searched and I've found that is a registry tweak, but nothing sure, or more details.
Cheers!
can you share what registry need to modify?
thanks.
Hi !
As far as I know (and do), you have to use a program to fix it.
It is found and documentated here : http://forum.xda-developers.com/showpost.php?p=4492692&postcount=3494
In order for it to work you have to retrieve the program's window class' name (which can be found using, for example, FdcSoft Task Manager.
If you have a registry tweak, this could interest me anyway as this fix is a background program...
Thank you!
I've installed that program but I think it only works for some type of programs (it didn't worked for Resco Explorer beta).
Right now I'm using Christian's latest ROM. After a hard reset I've installed Resco Explorer 2010 Beta, and after one soft reset, the program displays correct now.
I don't know if Christian included that fix in the program, or if WM corrects the position if you install one program and soft reset, another one and again soft reset, and so on...
Cheers!

Categories

Resources