Wednesday, September 23, 2009

OperaMiniLargeDevice for Opera Mini 5

Last week the beta version of Opera Mini 5 has been released. Due to the drastic change in the user interface, OperaMiniLargeDevice (OMLD) for the Sun WTK 2.5.2 from this post does not work very well anymore. Therefore, I have now worked on a similar solution (new emulator device template) for the new Java Platform Micro Edition Software Development Kit 3.0 which is the successor of the WTK, offering you the same features of the previous OMLD. The main function is of course to let Opera Mini run in a big window on your desktop. Opera Mini is a mobile browser that was originally based on Java ME (J2ME). It is now also available for the iPhone, Blackberry, Windows Mobile and numerous other mobile platforms. It offers a fast browsing experience due to advanced content compression techniques.

In this first preliminary solution, OMLD for the Java ME Platform SDK 3.0 is now available in the screen resolutions of 1024x705 and 800x600 usable pixels.

To install the solution, follow the next steps:

Requirements:
  • Get the Java SE Development Kit (JDK) from here.
  • Get the Java ME Platform SDK 3.0 for Windows from here.
  • Get the "OperaMiniLargeDevice" for Java ME Platform SDK 3.0 from here.
  • Get Opera Mini 5 beta browser for Java-enabled phones from here. Be sure to download both the JAD and the JAR to the same directory.
  • Internet access on your machine
Installation (done for Win XP):
  • Install the JDK.
  • Install the Java ME Platform SDK 3.0 for Windows.
  • Unzip your downloaded version of "OperaMiniLargeDevice" (simply extract it, a directory named "DefaultFxTouchPhone" will be created automatically). Open the directory Path-to-Java_ME_platform_SDK_3.0\toolkit-lib\devices . Then rename the directory "DefaultFxTouchPhone" in there to something else. Afterwards copy the newly extracted directory "DefaultFxTouchPhone" in there. The complete path to OMLD on my machine looks as follows: "C:\Java_ME_platform_SDK_3.0\toolkit-lib\devices\DefaultFxTouchPhone".
  • Next, we are going to install Opera Mini 5 in this new emulator. This is only needed once! We are doing this by opening the command prompt and entering the following: Path-to-Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=Path-to-OMDirectory\opera-mini-5.0.15650-advanced-en.jad . On my machine the command was: "C:\Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=C:\midlets\opera-mini-5.0.15650-advanced-en.jad" . Then you will see some output like: "Installing suite from: http://127.0.0.1:2124/opera-mini-5.0.15650-advanced-en.jad The suite was succesfully installed, ID: 2" . This ID is important, as we need it to start Opera Mini in the next step. After the installation you already see the big emulator screen as shown in the next picture.

    You could start Opera Mini now. But you could close the window as well and start Opera Mini later. This is what we will do in the next step.
  • Starting Opera Mini is easy as well. Open the command prompt and enter the following: Path-to-Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:run=ID -Xdomain:maximum . On my machine the command was: "C:\Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:run=2 -Xdomain:maximum" . Then the emulator window comes up and you can start Opera Mini by clicking on the respective entry. If you start Opera Mini this way, your preferences and bookmarks inside Opera Mini will be preserved, as the Midlet's ID (here 2) is reused again.
Here is a sample picture of what the result looks like:



Remark:

The Emulator itself has an ID, shown on its window title. Usually it is 9. With this ID you can find the working directory / filesystem of this emulator, where also Opera Mini will store its settings and pages. On my machine it can be found here: "C:\Documents and Settings\user\javame-sdk\3.0\work\9\appdb\filesystem\root1\".

Navigation:

You can control Opera Mini 5 almost completely with your mouse. If you don't like the normally activated inline editing feature you can deactivate it inside Opera Mini's advanced settings.

Hope you find this solution helpful. Any tips to improve this solution are welcome.

Greetings Makube


80 comments:

Anonymous said...

I am from China .I cannot understand "Next, we are going to install Opera Mini 5 in this new emulator. This is only needed once! We are doing this by opening the command prompt and entering the following: Path-to-Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=Path-to-OMDirectory\opera-mini-5.0.15650-advanced-en.jad . On my machine the command was: "C:\Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=C:\midlets\opera-mini-5.0.15650-advanced-en.jad" . Then you will see some output like: "Installing suite from: http://127.0.0.1:2124/opera-mini-5.0.15650-advanced-en.jad The suite was succesfully installed, ID: 2" . This ID is important, as we need it to start Opera Mini in the next step. After the installation you already see the big emulator screen as shown in the next picture."

how to open the command prompt?
Should I input the command prompt like "Path-to-Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=Path-to-OMDirectory\opera-mini-5.0.15650-advanced-en.jad"or "C:\Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=C:\midlets\opera-mini-5.0.15650-advanced-en.jad"
Please reply me !

Anonymous said...

My opera directory:”C:\opera mini 5.0 beta”
My JDK directory:” D:\Program Files\Java\jdk1.6.0_16”
My Java ME Platform SDK 3.0 directory :”D:\Program Files\Java\Java_ME_platform_SDK_3.0”
How can I open the command prompt ,maybe I know the command prompt Chinese name ,but I do not know its English name,What is my command according to the two directories ?
Please reply me .I will revisit your website later

Anonymous said...

In China ,it is difficult to visit your blog ,because www.blogger.com is blocked by the great firewall of China. I know opera mini can bypass the great firewall , so I want to know how to run opera mini on PC,I find your blog by Google.It is more and more difficult to bypass the great firewall because of the update of great firewall these days

Makube said...

Hi,

under Windows XP, open the command prompt with: Start->Execute, then enter 'cmd', then you see the black command line input window in which you should enter the following command according to your mentioned directories:
"D:\Program Files\Java\Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=C:\opera mini 5.0 beta\opera-mini-5.0.15650-advanced-en.jad" AND to run Opera Mini, in case it is ID 2: "D:\Program Files\Java\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:run=2 -Xdomain:maximum"

Good luck and thank you for your interest.

Makube

Anonymous said...

I failed again according to your reply this morning.Can you tell me a method which is easy and does not need command prompt ?

Makube said...

Yes, there is another option. BUT with this other option you wont be able to persistently save your bookmarks inside Opera Mini. OK, lets assume have installed OMLD (not Opera Mini) according to my tutorial :
Start the Java_ME_platform_SDK_3.0, then select the JavaFX category in the Device Selector area, right-click on the device "DefaultFxTouchPhone1" and choose the menu entry "Run Jar or Jad...".
Then select the Opera Mini 5 jar or jad. Then it should start in a big window.

Good luck
Makube

Anonymous said...

Hi, I've got the emulator working but can't seem to save any pages. Opera mini 5 freezes but the emulator still works. I can restart opera and keep the emulator running but the same thing happens if I should try again. Did i do the installation incorrectly or is there a way to set the saved pages folder. I'm assuming it's freezing because it cannot read my HDD directories.

Makube said...

Hi, nice you have it running. I think the beta version of Opera Mini 5 still has some serious bugs in it. I also encountered the bug you described. The drastic change in the midlet from version 4 to 5 is surely a reason for this. I think we should wait for the final version.

However, thank you for using OMLD.
Best
Makube

Anonymous said...

hi sir makube!., this is great! now, I can run may operamini as my web browser.. Infact, it's fast!.. thanks alot sir! by the way, if you dont mind sir.. I know youre also great in J2me.. Can I request some sir?, can you modify opera mini 4.2 and add some functions like additional server that we can found in operamini v2.06.. email me sir at milkier27@yahoo.com we need it badly sir.. Thanks in advance!

Makube said...

Hi, thanks for your kind words. Currently, I don't have the time to modify Opera Mini. This is all hobby.
But there are Opera mini versions out there which offer your requested function. Run a Google search for "Opera Mini multimod" or "multiple server edition". That should help you.

Best
Makube

Anonymous said...

hi!
i get this error with cmd
*** ERROR ***
Failed to connect to device 9!
Reason:
Emulator 9 failed to register in time!

Can anybody help me
Thanks a lot!

Makube said...

Hmm, sometimes I get this error as well, most often when I start it for the first time after reboot. Try to run the command again, or reboot and then run the command again.

Or try the solution of the 6th comment of this post.

Best
Makube

Anonymous said...

Hi mr,
Im from philippines, my problem during installation is not detect any network, do i need to put any proxy, by the way, im using usb modem.
Hope you can help me with this

Makube said...

Hi,

I suppose you mean the configuration Opera Mini does during its first start. I had this problem once, but I cannot remember the exact circumstances under which this error occured. I believe, I reinstalled Opera Mini or rebooted the computer and started Opera Mini again. Surely, this is a Opera Mini 5 beta bug or a flaw in the new Java ME SDK 3.0.

Best
Makube

Anonymous said...

Is there any advantage of this method over using micro emulator from microemu.org ? Please explain?

Microemu is only 1.5 Mb.Whereas the files u are mentioning are ~200 Mb.
-Aamir

Makube said...

Hi Aamir,

your question is justified.
However, my WTK or Java_ME_platform_SDK_3.0 based OMLD solutions are more compatible with the newest Opera Mini versions, especially with Opera Mini 5. Another reason are the problems with the file connections API JSR-75 that many people have with the MicroEmu solution. File transfers natively work with OMLD.

Best
Makube

desibande said...

this is not gud yar ..this version not suport copy paste also..
opera mini start karna bhi kaffi mushkil he

Makube said...

Hi desibande,

OM 5 is still in beta stage and has a lot of problems. Hopefully, the final version will run smoothly.

Best
Makube

Anonymous said...

Hay man how can i use proxy and port
i connect opera 5 using ur 2nd type connection
( am not used comment promt via instalation. i just done open jar via sdk 3.0 )

Anonymous said...

Hay man r u online please help me i wand to know how enter proxy and port in sdk3.0

Makube said...

Hi, this should be very simple.
Open SDK 3.0, select menu Tools, then Options and under the General entry you find your proxy settings.

Good luck
Makube

Anonymous said...

Hai man am still stuck in proxy config

if i connect opera mini 5 then i get below error

"no network connection detected"

please note below info and give me a solution

1 internet via GPRS (required a proxy and port)

2 using win XP (using browsers IE,OPERA,FIRE FOX)

butt when i connect opera 5 via microemu then there is no prob

(but micro do not support file transfer so that's why am here)

Please give me solution thanks in advance

Makube said...

Hi,

I would wait for the final OM 5 version. Either the network detection in OM5 beta is buggy or there is a flaw in the SDK 3.0. Interestingly, the beta version of OM 5 cannot be downloaded momentarily from http://www.opera.com/mini/next/download/. This could mean a new version will arrive shortly.

Best
Makube

Anonymous said...

ooooooooookkkkk..........u r excellent man keeeeeep rocking i think most valuble thing on this blog is ur comments so keeeep in touch.................

Anonymous said...

please Sir,thanks for ur advic.please how can i scrrow down or see the rest of the current page since part is open but not in full.please what keys should i use to view the lata or buttom of the page because i can only see part of the page i have open.Thank u.

Anonymous said...

great!
it's work very fast.
i'm from indonesia sir.
i wanna try opera mini 5 mod version, but there are only have jar file.
how to install without jad file?
thanx.

PATRICK said...

explain the whole thing in more details

Makube said...

Hi,

you can scroll by clicking inside the page and moving the mouse while you keep pressing the left mouse button. To install you need the Jad, but you can start the modded Jar this way: Start the Java_ME_platform_SDK_3.0, then select the JavaFX category in the Device Selector area, right-click on the device "DefaultFxTouchPhone1" and choose the menu entry "Run Jar or Jad...".
Then select the Opera Mini 5 jar.
You could also create your own Jad for the Jar and follow the normal installation procedure.

Best
Makube

Makube said...

Hi Patrick,

I thought my explanations are quite detailed. Which part should be extended?

Best
Makube

Benvince said...

bernjiee from ghana

when i entered the first cmd prmpt this occured: A problem ocurred during deploying apllication from http://127.0.0.1:1244/opera-mini-5.0.16823-advanced-en.jad
Reason: unknown error: InvalidJadException:Reason = 2.

has anyone experienced this? is there any solution to this? if yes please i need help. thanks a lot.

coco said...
This comment has been removed by a blog administrator.
Shlomy said...

Hey Makube, great post!

I have a coule of questions. First, i've changed the properties file to adjust the resultion of the app from 1024x705 to 1025x600, but nothing changed.

Also,i cant scroll up/down with the mouse, only with up/down arrows. How can i fix that?

Thanks!

Makube said...

Hi Shlomy,

it is not enough to change the values you described, you also need a new background picture for the emulator in your mentioned size.
Put the image in the conf folder of the emulator.

To scroll with the mouse you have to point and click on the right side of a page and move the mouse up and down. It is a bit difficult with the new Opera Mini 5.

Good luck
Makube

pinkvoid said...

Hey Makube,

I've added a new PNG and changed the OMNL properties file, i even tried it with your predefined sizes, but whenever i change the properties to a different resolution either nothing changes or it crashes.

I was able to get the window to a smaller size, but not the display rendering. Can you help? I'd like to use this with my netbook which supports 1024/600.

Thanks

不管不管 said...
This comment has been removed by a blog administrator.
nipurn said...

hey makube,

when i try to install Java ME Platform SDK 3.0 which is

of 116 mb it asks for the jdk directory.i dont know

hwere to find it...
when we install the software it could nt b proceeded

further so what to do

from nipurn

Makube said...

Hi nipurn,
on my system (Windows 7) the JDK directory is C:\Program Files\Java\jdk1.6.0_18

Remember to instal the JDK before installing the Java ME SDK.

Best
Makube

Makube said...

Hi pinkvoid,

I will make new OMLD versions soon.
I'm also working on a solution that works without installing the Java ME SDK. It is almost ready ... :-)

Best
Makube

オテモヤン said...
This comment has been removed by a blog administrator.
jah11 said...

Hey Makeube;
thanks for the great opera mini lare device. i've installed it but i have a problem when running operamini: after i start opera mini with the SDK the 'installing' progress bar shows up and after a while i get this error: "resource download failed java.io.IOException"

what's the problem?

Thanks

Anonymous said...

hey makube
i want a smaller omld screen of 800*505 how could i create it ..pz..tell in detail..coz..one u gave is of very bigger size.....reply soon

腰痠 said...
This comment has been removed by a blog administrator.
Nikhil said...

Excellent post, many many thanks!!
As for the scrolling problems, they disappeared after I changed the font size to Very small instead of Small. It doesn't make much difference in actual font size, but makes things way smoother.

I would like to re-request the above, could you explain which settings need changing if screen resolution is to be fit? I did give it a try but there was no change in how things looked except one time I managed to put the bottom right corner out of clickable area.

Once again, thank you very much!

Makube said...

Ok, here you go. To change the screen size unzip the file OperaMiniLargeDevice1024x705_SDK30.zip you got from the download page.

Open the folder "DefaultFxTouchPhone".
Create a blank/white picture in png format with a screen size you wish and put it in the "conf" folder. You already find example pics in there like "mein800600.png".

Open the file "default-state.xml" in the folder "DefaultFxTouchPhone". Change the property "defaultSkin" to the filename of the pic you just created.

Open the file "ScreenGraphics.bean" in the folder "DefaultFxTouchPhone". Change the property "dimension" to the USABLE screensize. This is usually smaller than the pic you just created. You might want to experiment with it a bit.

Then you are ready to deploy your new emulator skin in the way I described in this post.

Good luck
Makube

Makube said...

A new OMLD emulator skin of 800x600 pixels is online now. This should be suitable for netbooks.

Enjoy
Makube

Anonymous said...

Hi. I am using your older instructions about opera mini 4.2 on wireless toolkit 2.5.2. I am using opera mini large device with resolution 1024*705. After I save pages on my pc, I copy the files to my Nokia N70. When I read those files from my opera mini 4.2 on the phone, all those files are in the same resolution as in the pc (1024*705). Its very difficult to read these on the phone as i have to keep scrolling left and right because of the large resolution of the pages. i want to read these saved pages on my phone easily. can you help me????

Makube said...

Hi, thank you for your interest and trying OMLD. Sadly I cannot do anything about the screensize problem you described, because the the size of the page is determined by the Opera Mini servers which only adapt the pages to the screensize of your screen you use to retrieve the page.

So, if this screen is very large like with OMLD, then the resulting obml file will be adapted to the big screensize. There is currently no way to change it, so that it might be more readable on phones.

I hope this should explain it.

Best
Makube

Anonymous said...

Hi. I did everything according your toutorial, but I still get error there's no internet connection when I star opera mini.. I've tried various versions, but no effect.. also proxy settings I put to no proxy, but stil doesn't work.. What can I do ?

azli9 said...

hi, sorry if im still not getting wit this new emu..are we should run the command for every time we want to run the operamini?

Anonymous said...

hi im form nigeria pls i will like to know where to doawnload the opera mini to i.e the folder is it to be on desktop.

Makube said...

You can put the Opera Mini MIDlet in a directory of your choice, but both the jad and the jar must be located in this dir.

You will have to run the command to start the emulator each time you want to launch Opera Mini. However, you can even try my new solution OMLDSuite, which is much easier to install.

Best
Makube

Crockpit said...

Hi Makube,
You're doing an amazing job with your blog! Keep up the
good work!
I came here looking for a way to run OM5 on my PC (I
connect to the net thru my mobile as a modem) with the
ability to copy stuff from web pages and save them as well.
I've tried out so many emulators for this
(Kemulator,SJBoy...etc) with only Microemulator &
MPowerPlayer being satisfactory. However, I cant copy from
Microemulator & I cant save pages with MPowerPlayer (unless
I copy paste the links to Firefox)!! Luckily I already had
WTK 2.5.2 from my (good Old) broadband days and it runs
fine (copy paste & save pages) with OM4 but grrrrr not with
OM5. The emulator hangs when I try to go to Fullscreen edit
mode! Sadly OM4 has lousy functionality compared to OM5
which I've got so used to! Is there any setting I can do to
run OM5 on WTK 2.5.2? SDK 3.0 is such a huge download apart
from the fact that it needs the JDK download too (huge
again)!! I'm gonna download n try out your OMLD suite, hope
that solves my problems!
P.S. For the guys struggling with the proxy setting in WTK
2.5.2, I used the Opera server as the proxy
(64.255.180.253) and port No. (1080). It works beautifully
for me. Got the setting from my firewall!

Mauricio Gracia said...

Failed to connect to device 9!
Reason:
Emulator 9 failed to register in time!
---------
i had the same problem...

check to see that you downloaded the correct on step 3

http://omlargedevice.makube.de/OperaMiniLargeDevice1024x705_SDK30.zip

http://omlargedevice.makube.de/OperaMiniLargeDevice800x600_SDK30.zip

Anonymous said...

Hi Makube. I have been using the OMLDsuite for about 2 months now. It works nicely, but the problem is, i cant open the saved obml files on my PC with the touchphone off or cant open the file on any other PC. Any software to overcome this?

Makube said...

Hi, could it be that you saved the obml files in a different screen resolution than you want to open them in again? This might not be supported in Opera Mini.

Makube

sourav said...

I run Opera mini from my PC but can anyone tell me where are my Saved Pages Stored in the Local Hard Disk?

Thanks in Advance.

Anonymous said...

Getting the following error. Pls help

C:\>C:\Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone -X
jam:install=C:\midlets\opera-mini-5.1.22296-advanced-en.jad

*** Error ***
Device "DefaultFxTouchPhone" not registered!

C:\>

Makube said...

Hi,

maybe the emulator needs some time to start and an internal installation mechanism does not wait long enough for the emulator to be fully initialized.

May I suggest that you install the new OMLDSuite from this blog which is much easier to install but offers the same functionality?

Best
Makube

Makube said...

Hi sourav,

please check this post for the paths:
http://java4me.blogspot.com/2008/05/using-opera-mini-41-features-with.html


Best
Makube

idowu said...

i cant even find operamini 5 online anymore... its all operamini 6. . . is there any new tutorial or setting for that makube?

d'9igerian

william said...

whoa!!!, you had a passion in blogging, thumbs up for your work of love.. Hehe very inspiring ideas,


anyway I'm william
mind if I put a link back to you?


(clickable) ------> alligators shoes

houssam said...

Emulator * failed to register in time!

to solve this http://zoromask.blogspot.com/2011/09/emulator-failed-to-register-in-time.html

Anonymous said...

"can not finish installation due to insufficient storage space"

i m facing this error kindly tell me the solution


Best regards
Saeed

Ilídio said...

Pls help: after inserting this into command prompt: C:\Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone -X
jam:install=C:\midlets\opera-mini-5.1.22296-advanced-en.jad i get something like: the path was not found

SEOkik said...

This blog complete my need of Opera its very useful.

cheap snapback hats said...


So much information into one single post. I really need to get a good look at this. Thanks a lot for posting.

vietnamese girls said...

Such a nice blog and thank you very much to share the blog with us. For financial sevices any one can also visit to our link.

yemek tarifleri said...

I will make new OMLD versions soon.
I'm also working on a solution that works without installing the Java ME SDK. It is almost ready ...

Timothy Lichliter NBA BLOG said...

I cannot understand "Next, we are going to install Opera Mini 5 in this new emulator. This is only needed once! We are doing this by opening the command prompt and entering the following: Path-to-Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=Path-to-OMDirectory\opera-mini-5.0.15650-advanced-en.jad . On my machine the command was: "C:\Java_ME_platform_SDK_3.0\bin\emulator.exe -Xdevice:DefaultFxTouchPhone1 -Xjam:install=C:\midlets\opera-mini-5.0.15650-advanced-en.jad" . Then you will see some output like: "Installing suite from: http://127.0.0.1:2124/opera-mini-5.0.15650-advanced-en.jad The suite was succesfully installed, ID: 2" . This ID is important, as we need it to start Opera Mini in the next step. After the installation you already see the big emulator screen as shown in the next picture."jerseys cheap

Claudio Timbers said...

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! cheap proxy

Rose Yeung said...

Your website is so cool. I’m impressed by the details that you have on this blog. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for extra articles.singles women for marriage

Lipozene said...

This article was quite interesting. I am going to read more on your blog. I do agree with everything you are saying. Lipozene

estafadores said...

is difficult to visit your blog ,because www.blogger.com is blocked by the great firewall of China

estafadores said...

is difficult to visit your blog ,because www.blogger.com is blocked by the great firewall of China

Kim S said...

Can I follow the same instructions if I am using Windows 7 Basic on a netbook? I really am eager to read and save obml files using my computer. Thanks!

Lipozene Reviews said...

Very good brief and this post helped me alot. Say thank you I searching for your facts. Thanks for sharing with us!
Lipozene Reviews

High School Diploma Program said...

Good post

get rid of cellulite said...

Outstanding blog post, I have marked your site so ideally I’ll see much more on this subject in the foreseeable future
bra tape

werkblad said...

The Blog is very fantastic really its imazing.Good concept of traslation for different language.Nice subscriber categories.

mehroz aftab said...

I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.events in phuket