Related
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.
First of all, thank you VERY much to everyone who has contributed to the 6.1 ROM including Rickwyatt, Kavana, NRGZ28, etc. I cannot believe how much better my Dash is with this ROM! I am using v15 of the ROM.
I have been trying to find the .exe files for a few applications in the ROM so I can link to them using oldSAP favorites to my CApps carousel. I have set Resco Explorer to view all files, including those in ROM.
Voice Notes
Resco Registry Editor
ActiveSync
I searched all through the \Windows directory and couldn't find them. I also searched everywhere else on the device to see if I could find them. They appear in the Start Menu and they work fine, I just can't find the .exe files.
Also, is it possible to change the icon that displays on the home screen for the "My Programs" carousel? All the other icons are white outlines until selected, but on mine the icon is full color.
Any help would be appreciated! Again, thanks for all the hard work on this ROM!
..
Browse to the start menu folder with your computer, and open the shortcuts with notepad.
Thanks for the suggestion!
I did that and I see something like this:
10#:MSSYNCAPP?:syncapp
I'm assuming that if I type in :MSSYNCAPP that oldSAP Favorites will launch the app (in this case ActiveSync).
Some of the other ones were more complex such as:
1#\windows\sktstart.exe #AUTO#?\Storage Card\Program Files\SKKV Software\SKTools Standard\sktools.exe,-222
Again, I'm hoping that if I input everything starting with \windows that oldSAP will launch it.
Thanks for your help!
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
Trying to add a quick link on the browser tab of Manila 2.5 for Opera 10 beta:
My link is to an .htm file on my device, in My Documents. The link I manually entered into the address reads:
file://localhost/My%20Document/...
...but when I click on it, Opera opens and give me an error, but in the address bar, the link now reads file//localhost/My%20Document/... (without the colon after file)
I tap on the address textbox, add a colon in after 'file' and select 'GO', and it works. What can I do to make this link properly open for my from my Manila Tab?
Thanks.
Try this...
HERE is a link to a page on how to set links on TP2's Internet tab. Worked for me!
Thanks, but I don't think this is my problem. This link tells me how to set up new LINKS on the browser tab. My Browser tab lets me do this customization fine, it's just that it doesn't properly open the link for an address that is located in my file system.
I think I'm not the only one who use java apps on the phone. But accessing these apps is not user friendly. As we can see with Palringo, it is possible to start java apps by an icon instead of scrolling throuh all java apps. Can we somehow implement this for all (or for selected) java apps not just the IM? This would greatly increase the usability.
Any ideas?
BR,
Balázs
Good Question...
T-Mobile Branding uses also thier JAVA Midlet Navi in the menu and 1,2 other things...
Maybe step 1 would be. If we can replace Palringo with other Midlet.
As it is in Hidden Games folder...
At the moment I have 0 ideas how this work... as Icons are stored somewhere else.
And NOT loaded from JAVA folder...
I tried several things, but no success.
Best Regards
Well, IMO more importantly we should be able to put app shortcuts on the homescreen :\
Maybe other direction...
Apps start from JAVA menu.
Tumbling Dice is internal App.
Asphalt5 is prepared, but not activated...
Asphalt5 is for instance prepared but not activated in KJxLinkDisplayOrder.ini:
#LINK_INFO
LinkCount=2
#Link_1
link_name=Tumbling Dice
link_order=1
#Link_2
link_name=Asphalt5
link_order=2
I've added only Icon and tried to edit OapinGameList.ini...
In Firmware with Branding, there are enough examples with JAVA Midlets in menu. But still same problem, where are the Setting files?
Maybe we find for both an solution.
Best Regards
For JAVA Midlets on Main menu.
Part 1 seems to be:
KJxDispatch.ini
#Palringo
class=com.paxmodept.palringo.main.jme.JmeMain
vendor=Palringo
name=Palringo
Class we can find in *.jad
At the moment I try to replace Palringo with something else... frome T-Mobile.
Other test failed as no icon was created...
Best Regards
hey Guys! I'am from Poland and on polish forum we are trying to add java icons in menu too... My idea was to "tell" the Dolphin browser to "run" some java application. It is simple hack to do this: You have to add bookmark in Dolphin, call it, write the address to *.jar file (in my guide : file:///Mount/Mmc/Others/Opera/opera.jar) and it's IMPORTANT: activate third option, it's adding bookmark to main menu. But this idea is very imperfect - after clicking on main menu icon, you must install this midlet all the time This is because "hack" tells the browser to run NOT the application, but INSTALL file (*.jar). That's why You have to install Opera always after clicking on it. At this time we can't solve this otherwise. I give You link bo polish "bada-world" forum. At first post, there's my quick guide. Of course, you have to login, to see it. Probably You have to use Google Translator, or if someone of You knows Polish perfectly, it would be so nice
Code:
h ttp://tnij.org/bada_guide
(please remove the space after "h", I have no permissions to use outside links )
BTW, sorry for my english, but I hope You understand me Maybe with common powers, We will add java icons to menu!
Regards,
wxtester
@wxtester
re-installing opera and other apps will erase bookmarks and such things right?
If you want to use java on the desktop or the menu, it's not possible.
On the desktop you can just add flash files (and widgets).
On the menu, you can only add applis icons.
What you can do it's add the link of games and other on the main desktop to have a quick acces.
After you can add java applications.
You need to modify KJxDisplayOrder.ini file.
#DEFAULT_INFO
Count=1
#Midlet_1
name=DoodleJump
class=Doodle
fixed=1
order=1
Click to expand...
Click to collapse
lasentenza said:
If you want to use java on the desktop or the menu, it's not possible.
On the desktop you can just add flash files (and widgets).
On the menu, you can only add applis icons.
What you can do it's add the link of games and other on the main desktop to have a quick acces.
After you can add java applications.
You need to modify KJxDisplayOrder.ini file.
Click to expand...
Click to collapse
I don't undestand...where can find the file?
Wich one
majed19 said:
@wxtester
re-installing opera and other apps will erase bookmarks and such things right?
Click to expand...
Click to collapse
no, it don't. You will still have access to your favourite sites and bookmarks, it won't be deleted. It You want to be sure, please reinstall from Your jar file, not mine!
lasentenza, on your screenshot I see that U have access to internal filesystem by Windows default filemanager (explorer.exe). Is it any plugin to see it without any program like sTune?
BTW, I don't understand Your tutorial Your idea is to add icon "Games and more" to desktop (next to widgets)? Why you talk about Java application "DoodleJump"? I don't understand Can you explain it simpler?
Thanks in advance
wxtester said:
lasentenza, on your screenshot I see that U have access to internal filesystem by Windows default filemanager (explorer.exe). Is it any plugin to see it without any program like sTune?
BTW, I don't understand Your tutorial Your idea is to add icon "Games and more" to desktop (next to widgets)? Why you talk about Java application "DoodleJump"? I don't understand Can you explain it simpler?
Thanks in advance
Click to expand...
Click to collapse
same problem...
I do not have acces to filesystem, the files you see is FFS dumped files.
Perhaps I don't understand.
I thought you wanted to add java apps on the desktop?
Doodlejump is to show that we can add java apps on game and more, in a custom firmware.
lasentenza said:
I thought you wanted to add java apps on the desktop?
Click to expand...
Click to collapse
Yes, I still want to do this. On the desktop or in the menu.
Doodlejump is to show that we can add java apps on game and more, in a custom firmware.
Click to expand...
Click to collapse
Is it similar to normal installing from java file?
So, finally there's no way to add java apps to Main Menu?
@ latenza..
I want link java app on the main desktop or on menu to have a quick acces...
I think it's not possible.
The java application are only available from game and more.
The only link you can add to the menu or the desktop are widkets, applications or flash (like calendar, dualclock, email etc)... Or maybe I don't find the way
lasentenza said:
I think it's not possible.
The java application are only available from game and more.
The only link you can add to the menu or the desktop are widkets, applications or flash (like calendar, dualclock, email etc)... Or maybe I don't find the way
Click to expand...
Click to collapse
ohh...ok...so i can't...
;(
All Firmware Brandings I found where JAVA Midlets in Mainmenu.
Icons are in f... *.RC1 file.
So no replace, delete is at the moment possible... I mean the Icons.
I have no idea, how to link to Midlet folder to use Picture here as Icon...
Best Regards
adfree said:
All Firmware Brandings I found where JAVA Midlets in Mainmenu.
Icons are in f... *.RC1 file.
So no replace, delete is at the moment possible... I mean the Icons.
I have no idea, how to link to Midlet folder to use Picture here as Icon...
Best Regards
Click to expand...
Click to collapse
good news...
THanks!!