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.
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
Hello,
after some problems I've uninstalled opera 9.7 Beta. How can I reinstall the original Opera Version from the rom ? Any ideas ?
thanks a lot
I believe there are some tools out there to extract .cab files from rom installs. Theoretically, you could use that to extract the Opera.cab file from the original rom install and install it on your phone. Have you used any kitchens before?
http://forum.xda-developers.com/showthread.php?t=469469
Searched Opera 9.5 .cab wvga
Try it.
Hey guys im using jbed on my Dash and when i install and run unsigned java apps it always ask me to allow connect internet , read/write user data etc..
so is there any way to remove those security mess ?
btw, how to change icon of a cab file ? becoz some cab apps have so ugly icon and i want to change to my own icon
thx in adv
Yo GaBeo, what java apps are you talking about?
Opera Mini
Using version 4.2 (I think) of Opera Mini on my excalibur, i always get those messages.
uninstall opera 4.2 you already have on your phone
Go to mini.opera.com using internet explorer, then click the link "if the version fails to install..."
after that click "download opera mini (multiple certificates)"
it will install and ask about permissions, answer "always allow" for everything.
You can also start the java app and at opera click actions/security and even allow more permisions such as uploading and downloading from opera.
as for changing icons i have no clue, but it may be possible.
its Gmail Mobile from Google , i cant find an signed version for that app
im not sure about gmail, i never used it.
opera mini 4.2
hey pokejoke did u manage what u wanted? and is your opera able to download now and save pages for offline viewing? please let me know any methods u used if you managed. thanks
The Opera Mini Version for Nokia E61 works just fine and does not prompt for permissions. I use it together with the Jbed 3D mod here
I installed a beta version of Opera 9.7 and it has replaced the original version included in my ROM (stock ROM).
I have now uninstalled the 9.7 beta and no longer have any web browser on my phone - is there a way to reinstall the original "HTC" version of Opera 9.5?
Some people mentioned a CAB being in \windows but I can't see one there
Do you know what version of 9.5 was the stock one? You'll find a list of many versions here
Here is a link to v9.5.17775.
(PS! Google is an amazing tool,l you'll be surprised by what you find if you use it )
ClydeB1 said:
Do you know what version of 9.5 was the stock one? You'll find a list of many versions here
Here is a link to v9.5.17775.
(PS! Google is an amazing tool,l you'll be surprised by what you find if you use it )
Click to expand...
Click to collapse
Tried Google,and tried a few different builds from the list there.... but they don't seem to load past the splash screen, and then disappear
alltruism said:
Tried Google,and tried a few different builds from the list there.... but they don't seem to load past the splash screen, and then disappear
Click to expand...
Click to collapse
The ones you tried were they the right resolution ie wvga? The first link I have you gave a lot of official Opera cabs, mkae sure you try a wvga/vga one.
I guess if you don't know what the original version was and none of the ones you try want to work, another option (not a nice one) is always to reflash your stock rom. Use a backup tool to backup all of your data etc and then find your stock rom here
The only Opera 9.5 that I can get working is the official Opera 9.5beta2, but that doesn't integrate with TouchFlo, doh.
Is it possible to extract my HTC-specific version from my ROM somehow, or do I need to do a hard reset?
The only Opera 9.5 that I can get working is the official Opera 9.5beta2, but that doesn't integrate with TouchFlo, doh.
Is it possible to extract my HTC-specific version from my ROM somehow, or do I need to do a hard reset?
Got it fixed now, thanks for the advice!
I found an HTC build of Opera 9.5 here:
http://www.4shared.com/file/64047605/7f6ab9a5/Opera_v95_Build_2128_VGA_WWE.html
This one works great, and works properly with the Touch HD's SIP keyboards.
I set windows\htc-opera.htm as the home page for that genuine "stock ROM" feel