Author Topic: [3MX Ultra] Opera Mini 4/5  (Read 1248 times)

FezzFest

  • Jr. Member
  • **
  • Posts: 87
[3MX Ultra] Opera Mini 4/5
« on: January 25, 2010, 07:13:55 PM »
Today tried Opera Mini on my Windows Mobile device. Even though Windows Mobile doesn't run MIDP-apps without virtualisation, it ran really hell fast. It handles most of the pages very well, and it's impressive to see it run so fast while it runs virtualised with a CPU of only 200MHz.

Isn't it possible to get Opera Mini working on 3MX or Debian ? At the moment there are a lot of smartphones with 800x480 resolution, so that's not a problem...

FezzFest

  • Jr. Member
  • **
  • Posts: 87
Re: [3MX Ultra] Opera Mini 4/5
« Reply #1 on: January 25, 2010, 07:21:32 PM »
It is possible. Just found this: http://onut.net/blog/archives/58
He uses Sun Java 6, but it has no mipsel-version. Instead I'm currently building a OpenJDK-version.

I'll keep you updated.

wicknix

  • Hero Member
  • *****
  • Posts: 630
Re: [3MX Ultra] Opera Mini 4/5
« Reply #2 on: January 25, 2010, 08:35:30 PM »
Cool. Should work with a decent JVM, maybe sablevm or jamvm? Keep us posted. :D

FezzFest

  • Jr. Member
  • **
  • Posts: 87
Re: [3MX Ultra] Opera Mini 4/5
« Reply #3 on: January 27, 2010, 12:59:23 PM »
Hmm, OpenJDK and JamVM don't work.

- OpenJDK works only with kernel 2.6.21 or higher.
- JamVM has no mipsel-variant.

So I decided to try SableVM. I made a 3MX and it seems to work, but I don't have a clue how to start Java-files with it. Should I still use MicroEmu to run the Opera Mini JAR ? Or should I launch it directly from SableVM ?

FezzFest

  • Jr. Member
  • **
  • Posts: 87
Re: [3MX Ultra] Opera Mini 4/5
« Reply #4 on: January 28, 2010, 07:08:17 PM »
After some research found out I have to use "java-sablevm -jar microemulator.jar".
After all dependencies are fixed, it says:

Quote
java.lang.Error: Graphics2D not implemented. Cairo was not found or disabled at configure time

Then it displays a list of Java elements that couldn't be loaded because of the above error.
I thought it might have to do with Libcairo2. I packed it into the 3MX, but even after using a proper ld.so.conf and ldconfig, it still shows the same error. Installing Libcairo2 seems to break some parts of the system too, all text in GTK-apps disappears...

Do you know anything I could try?

wicknix

  • Hero Member
  • *****
  • Posts: 630
Re: [3MX Ultra] Opera Mini 4/5
« Reply #5 on: January 28, 2010, 08:10:20 PM »
Cairo is already in 3MX. It's needed by GTK2. Judging from that error message it appears the debian sable-vm was built without graphics mode enabled (or fbdev/framebuffer which is the display driver used on the LLL). Looks like you'd have to compile the sable-vm source and enable that. However, i'm just guessing here and could be way off base.

Cheers.

FezzFest

  • Jr. Member
  • **
  • Posts: 87
Re: [3MX Ultra] Opera Mini 4/5
« Reply #6 on: February 16, 2010, 02:19:34 PM »
After mucking up about 8 different installs of Debian, 3MX Retro & RC4, I got it fully working :)

I used Kaffe 1.1.7 with MicroEmulator 2.0.4 and Opera Mini 4.2 stable.
The problem is that it runs so unbeleivably slow. Starting up Opera takes about 5 minutes.
And I know it is software-related. I have a smartphone from 2003 with a 200MHz MIPS-cpu running Opera Mini 4.2 as fast as hell.

It MUST be possible to run a ultra-lightweight smartphone OS on the machine. In fact, it IS a smartphone, 800x480 is commonly used in smartphones, the same for the CPU and RAM. Couldn't we port Android to this? There are people who replaced the Android kernel with a generic x86 linux one, and it works great. It MUST be possible to do that with this one too!


lanuguage edited - jay
« Last Edit: February 16, 2010, 08:20:03 PM by Jay »