yashsingh1/xdaforums huggingface dataset:
[8125, K-JAM, P4300, MDA Vario General] Menneisyys:
What JAR file is that? Midlet manager is only able to run non-device-specific midlets - that is, NOT Nokia/Sony-Ericsson etc. specific ones. With other stuff, it'll report about invalid JAR files.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
Its the Google Local Generic MIDP 2.0 version off www.google.com/glm.

Runs on the SDA, but refuses to load on the MDA. The VM IS running now though.... thanks.
[8125, K-JAM, P4300, MDA Vario General] Menneisyys:
OIC... the generic MIDP2 version works great on my Qtek 1.6.7.1 ROM.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
Leave it to T-Mobile to cripple the damn thing....
[8125, K-JAM, P4300, MDA Vario General] ecf:
I've also been playing around with getting java on the T-Mob US MDA. I didn't have the benefit of an SDA, but on the ftp site I found various extended roms for the Wizard. Specifically on the 'O2 Mini Asia Exteded Rom...' I found a .cab that installs the jvm/midlet manager.

The program itself runs just fine, and installs and downloads the .jar specified in any jad file I execute. The problem comes when I try to run a program from within the Midlet Manager. What I get is:

Error

Failed to run the MIDlet

This happens with google, Opera and another program I want to run. Is this the same error you are getting?

The O2 Mini is a Wizard - correct? Could there be something else in the ROM that needs to be installed?

Anyone have any ideas?
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
No, I'm getting an error trying to LOAD the GLM site from www.google.com/glm.

It appears to load, goes through all the motions, and then complains about an invalid JAR file.

I don't have any JARs handy I can load off a local SD card to see if it will work with those. I'll look around for some....
[8125, K-JAM, P4300, MDA Vario General] ecf:
So you are getting an error already when trying to download the app from Google? I don't know how familiar you are with J2ME apps, but they typically consists of 2 components. A .jad file which is a simple text file that describes some properties of the app and a link to the actual app.

The point I am at I can successfully go to the Google/glm site and select the Generic Advanced app, agree to terms and then I click to download. Once I do that PocketIE asks if I want to save or run the .jad file. I then select to run it, and it kicks off the midlet manager. Then the midlet manager will download the .jar file and it is available in the manager with icon and everything. Once I click on the Google or Opera icon to launch the J2ME app I get the error I described.

If I understood correctly it seems you haven't gotten this far yet?
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
Correct. I cannot load the application - it is transferred but the JMM application refuses to install it.

I suspect a registry difference here - and if we find it, we may have a working solution.
[8125, K-JAM, P4300, MDA Vario General] ecf:
Well, I would have thought that the .cab I got from the other extended rom would create all the appropriate registry keys to run the program. At least jmm works and downloads the jar.

I have no idea why it won't run them though. I also used LokiWiz to unlock the device, and after that I had to reinstall the jmm cab because the device complained that jmm.exe was not signed/authorized.

I see that some keys have been created in HKLM\Software\Tao\. I have attached them here.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
It may be a file association for the .JAR type....
[8125, K-JAM, P4300, MDA Vario General] ecf:
After looking around a little in the registry, I can see that there are a lot of keys created. I think it will be difficult for you to manually copy everything from the SDA. There are entries for the right extensions, but there is one more interesting one that I'd like to see what is in the SDA (or any Wizard with Java capabilities) \HKCR\CEJavaVM. On my device it is empty.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
That key is not there at all on the SDA nor on my MDA.

There are several file associations ("Jarfile" and "Jadfile") all of which look ok......
[8125, K-JAM, P4300, MDA Vario General] mavromatis:
Works on a Cingular 8125

Do it works on a Cingular 8125, however, how do you get to Midlets after you install them?

EDIT: I just need a .lnk file to the JMM.

Danny
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
We need to figure out what's missing so we can hack it back in!

Got 95% of the way there... just need the rest.
[8125, K-JAM, P4300, MDA Vario General] ecf:
Genesis3, are you using the cab file in the O2 extended rom or are you working with files moved from SDA? I have been busy with work (Java, so I don't know much about how Windows Mobile works) so I haven't really been playing around with it.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
I dropped the files in - haven't tried running the CAB itself. Hmmmm.. will give that avenue a shot. Got a link? I don't see it in the FTP area.... the only extended ROM images I see there don't have the Java VM as a CAB (at least that I can find)
[8125, K-JAM, P4300, MDA Vario General] ecf:
ftp://xda:xda@ftp.xda-developers.co...ia Extended ROM 1.12.920 WWE by Kiran1103.rar

There is a cab in this extended rom, which is the one I have used.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
Thanks - will try it.
[8125, K-JAM, P4300, MDA Vario General] ecf:
Can you check something out on the SDA? In the Windows directory there should be a folder called 'ave' which has a subfolder called 'font. In that folder there is a file called 'store.map'. Can you copy that to your pc and open it up with wordpad. What are the contents of the file, and are there any other subfolders in the 'ave' or 'font' directories?

My store.map contains:

.greylevel = 4

.gamma = 0.7

.cachemax = 1000000

.cachemin = 500000

.engine=ave/font/host/win32/

W32Tahoma

Since the host/win32 directories don't exist I was wondering if it was failing to run the midlets because it couldn't find the font. But I'm just guessing...
[8125, K-JAM, P4300, MDA Vario General] bren924:
I installed the JMM CAB file from this extended ROM, and the MIDlet manager is now on my MDA.... but I have yet to get anything to run. Is there anything else that needs to be installed with it from the ROM?

I'm trying to get the Google Mobile app to go, it launches, but then hangs up on a screen saying Downloading MIDlet... but doesn't seem to do anything.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
Loading the piece from the asia ROM doesn't work - you get an old version which will load Google Local, but refuses to execute it.

Attrempting to load the pieces OVER the Asia version results in a midlet manager that starts to come up, then dies. We're missing one or more files still from the Java version which was extracted from the Cing roms.

Alright, here's what the CAB loaded that is NOT in the hack pieces that I got the other night:

elateodwave.dll

elatedsid.dll

elatefont.dll

elateser.dll

elatesock.dll

If you got those from the Cingular 8125 (which has a working JMM) that MAY fix it.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
The ROM itself has "CAB"s in it, right?

Can it be picked apart? If so, the CAB for the Java VM should be in there, no? So....how is that done? I'd think you could pull apart the Cingular (or any other WWE) ROM and it'd be in there..... (other than T-Mobile's!) and should work, as it would be complete....
[8125, K-JAM, P4300, MDA Vario General] mmeyer4663:
I know this has been probably posted somewhere in this forum but, how do you extract the cab from the ext ROM? Been hunting and cannot find out how. :oops:
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
That's the one I tried that loads the app and then pukes when you try to start GLM.
[8125, K-JAM, P4300, MDA Vario General] ecf:
That sounds like it's not able to connect to the internet. Do you have the internet package? If you are using wap.voicestream.com as the APN it'll probably not work.

Installing that cab should at least get you to a point where you can click the link in pie and download the actual app through the midlet manager. The only problem is that once you have it downloaded, it won't actually run it...
[8125, K-JAM, P4300, MDA Vario General] bren924:
I have unlimited data plan from T-Mobile. It hangs out for a while, then I get an error message saying the file is invalid or something like that.

The midlet manager itself starts just fine... just doesn't seem to want to run anything on the MDA.

Not sure of anything else I could use as a test...
[8125, K-JAM, P4300, MDA Vario General] ecf:
Well, as far as I can see these are all the files that get installed by the cab from the o2 Asia rom:

\Windows\elate.dll

\Windows\elateaodwave.dll

\Windows\elatedsid.dll

\Windows\elatefont.dll

\Windows\elatehost.dll

\Windows\elateres.dll

\Windows\elateser.dll

\Windows\elatesock.dll

\Windows\elatezip.dll

\Windows\jmm.exe

\Windows\jmmbox.dll

\Windows\rofs_target.zip

\Windows\target.img.zip

\Windows\Help\intent Java MIDlet Manager.lnk

\Windows\intent Java MIDlet Manager.htm

And this should be the registry keys that are created:

REGEDIT4

[HKEY_CLASSES_ROOT\.jad]

@="jadfile"

"Content Type"="java/jad"

[HKEY_CLASSES_ROOT\.jar]

@="jarfile"

"Content Type"="java/jar"

[HKEY_CLASSES_ROOT\jadfile]

@="Java Jad File"

"EditFlags"=dword:00010000

"BrowserFlags"=dword:00000008

[HKEY_CLASSES_ROOT\jadfile\DefaultIcon]

@="jmm.exe,-4"

[HKEY_CLASSES_ROOT\jadfile\shell\open\command]

@="jmm.exe %1"

[HKEY_CLASSES_ROOT\jarfile]

@="Java Jar Archive"

"EditFlags"=dword:00010000

[HKEY_CLASSES_ROOT\jarfile\DefaultIcon]

@="jmm.exe,-4"

[HKEY_CLASSES_ROOT\jarfile\shell\open\command]

@="jmm.exe %1"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/vnd.sun.j2me.app-descriptor]

@="MIDlet Install File"

"Extension"=".jad"

[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\3rdversion]

"Tao Java"="10.1.2.57"

Can you compare this to your SDA?
[8125, K-JAM, P4300, MDA Vario General] ecf:
It's a normal compressed file in .rar format. You can download a trial version of winrar from here:

http://www.rarlab.com/download.htm
[8125, K-JAM, P4300, MDA Vario General] badMojo69:
any news on the java issue? And is this more so you cant run java apps or cant visit sites that use java?
[8125, K-JAM, P4300, MDA Vario General] mmeyer4663:
Based on the following link, it looks like getting everything needed to get JAVA fully operational on the MDA might be more difficult than anyone thought.

http://tao-group.com/main.php?pageid=749901.php&temptype=t1

Someone over on HF was able to get it going but had to load the Qtek ROM and the loaded T-Mobile CAB extensions to make it 'look' more like T-Mo.

Here is the link to the thread on HF:

http://www.howardforums.com/showthread.php?t=855606
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
I'm not about to try that until someone does that and then RESTORES the T-Mobile ROM - in other words, I want to know I can go back before I flash to the test ROM!
[8125, K-JAM, P4300, MDA Vario General] badMojo69:
Cool I gotta do this as soon as I get my MDA. I hope java is on the Qtek non test rom.
[8125, K-JAM, P4300, MDA Vario General] mmeyer4663:
There is an Ext rom for the HTC Blue Angel. In the Ext Rom is a TaoJava Cab file. Here is the linke to the ext ROM:

http://relaysgoldens.com/sx66/ext_r..._1.42.126B1.rar

I know, HTC Blue Angel is a WM2003SE but might be worth a try.

It actually installed on my HP2215 (I have nothing better to do) but nothing would run. I do not have 2003SE.

Maybe a less risky approach. I have not yet received my MDA or I would have tried it before posting this.
[8125, K-JAM, P4300, MDA Vario General] badMojo69:
Requested File not found. D!oh.
[8125, K-JAM, P4300, MDA Vario General] mmeyer4663:
Sorry. Try the anchor page for the link.

http://sx66-blueangel.home.comcast.net/beta.htm

Link to the rar for the ext ROM is at the bottom.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
The SDA has:

elate.dll

elatehost.dll

elateres.dll

elatezip.dll

jmm.exe

jmmbox.dll

rofs_target.zip

target.img.zip

That's it

Some of the reg keys are different.... the .JAR and .JAD keys are missing most of the above, and have what look like fairly-standard MIME definitions in there instead.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
I managed to graft in the SDA's Midlet manager (!) by lifting it from the SDA and moving it over and it runs, but won't store or start the GLM application......
[8125, K-JAM, P4300, MDA Vario General] mmeyer4663:
Anyone have any luck with the HTC Blue Angel TaoJAVA cab on the MDA?
[8125, K-JAM, P4300, MDA Vario General] badMojo69:
I wanna know too? Mine wont be here until Wednesday. If it dosent work I plan on doing these steps to get java on my phone:

1. Using Lokiwiz02b to unlock it.

2. Applying the Qtek_9100_1_6_7_ENG__OS_ONLY ROM

3. Applying TMo-US-Ext_ROM

4. And if i have to apply T-Mobile_USA_Internet_UNI_SA_V2.0 cab

Think this will work?
[8125, K-JAM, P4300, MDA Vario General] tdumaine:
TMO MDA JAVA MIDLET MANAGER WORKING -- TESTED

Ok, it takes quite a few steps, but i have my 2 day old MDA from tmobile running GLM (Google local for mobiles). The only limitation is i cant see sattelite view. It says my phone doesnt support jpegs heh.

Anyways, the how to:

1) Unlock, and Unlock CID using lokiwiz.

http://xdaforums.com/viewtopic.php?t=33796&highlight=lokiwiz

2)Grab the Qtek rom with the filename RUU_Prodigy_2080701_101_11310_Qtek_WWE_Test.exe. This is the one I used. I got it from:

ftp://xda@xda-developers.com/Upload...U_Prodigy_2080701_101_11310_Qtek_WWE_Test.exe

(direct link will probably be broken. if it lists no files, go to the window it opens, and add the "xda@" part. It will pop up a box with user xda and a blank password, type "xda" as the password.)

3) make an activesync connection with the usb cable, and run the RUU_Prodigy_2080701_101_11310_Qtek_WWE_Test.exe file that you downloaded. It should go without issue as mine did. Once it is finished with this part, it will no longer have tmobile branding in it. If you want the extra branding you will have to try to do that, i did not do it as i dont care if my phone says tmobile on screen.

4) you will have to go into the settings for the phone radio and basicaly click the button that says find network. For me, it found my tmobile signal, and registered the phone part. could make and recieve phone calls at this point. no text/sms/internet yet (thats the next step)

5) download T-Mobile_USA_Internet_UNI_SA_V2[1].0.CAB by user AlexL

wich can be found at the bottom of the first page of this thread:

http://xdaforums.com/viewtopic.php?t=41348

(must be registered here to view/download the file attached to the post)

6) use activesync to transfer the cab file to the phone. once it is on the phone, run it.

7) use these settings for internet, also provided by AlexL! (if you have the correct plan, not just tzones. Copied here for readability)

Start >> Settings >> Connections >> Connections >> Advanced >> Select Networks

In both drop down menus select My ISP then hit OK. Go back to the Tasks Tab it should read My ISP only now. Continue with Add New Conenction.

Name: T-Mobile US (Whatever you would like)

select modem: Cellular (GPRS)

Access Point: internet3.voicestram.com (if you have VPN)

internet2.voicestream.com (w/o VPN)

Username/password/domain: blank

above info from the top of page 15 int this thread: http://www.howardforums.com/showthread.php?t=848288&page=15&pp=15

Once you have this done, you should have fuctioning java. I went on the phone via wifi (for speed since i use the hack to enable .11g) to google, searched for google local for mobiles. It took me to the page wanting to know what phone. I chose generic. at the next screen choose mdip (midp? i always get it backwards) 2.0, and it'll warn it isnt trusted, and wants internet access. allow it, etc, and wala!
[8125, K-JAM, P4300, MDA Vario General] badMojo69:
Re: TMO MDA JAVA MIDLET MANAGER WORKING -- TESTED

Thanks for the info. Do I have to use a test rom? I'd rather use the stable Qtek_9100_1_6_7_ENG__OS_ONLY ROM.
[8125, K-JAM, P4300, MDA Vario General] snoslicer8:
Yes, this is the solution I posted at Howard Forums. Some people liked it, others want to wait until Java is available using the official T-Mo USA ROM.
[8125, K-JAM, P4300, MDA Vario General] badMojo69:
Anyone know why Tmob took java out in the first place?
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
Have you verified that you can go BACK to the T-Mobile ROM? Have you personally tried it?

If not, beware - if this has a newer version on the boot loader it may refuse to reload the original T-Mobile firmware!
[8125, K-JAM, P4300, MDA Vario General] badMojo69:
I dont care if i can go back. I just want java and a stable phone.
[8125, K-JAM, P4300, MDA Vario General] snoslicer8:
I ended up flashing to the custom ROM in this forum based on the fastest/most stable qtek release. It's in a thread called "New Wizard ROM (Old good parts)" in this forum.

I must say, I am PLEASED. It looks and feels just like the T-Mo USA release did last week, minus the T-Mobile name. It's actually even faster. Plus, it's got JAVA Baby!!!

I slimmed down the T-Mo extended ROM that you can download here and just put on a few things (the new connection manager, for starters), and I've got my phone just the way I want it now.

It's running very smoothly, no freezes, and ALMOST no delay when opening programs. It's MUCH faster than the qtek Test ROM that a lot of people are talking about.
[8125, K-JAM, P4300, MDA Vario General] tdumaine:
I didnt try it with the non test rom. it took me a few tries of getting the steps in the right order.

Example, flashed it, couldnt get mms to work, flashed back to tmobile, mms worked. tried again after finding alex's mms cab and the internet settings, it all works, stable and still running it.
[8125, K-JAM, P4300, MDA Vario General] tdumaine:
http://www.tomsrepair.net/downloads/mdajava.zip

27 meg video of my tmobile phone with java running :)
[8125, K-JAM, P4300, MDA Vario General] snoslicer8:
Yes, this is your t-mobile phone running Java, as is mine...but it does not have the T-Mobile USA Ship ROM on the phone, which is what people are trying to do. I've got the same thing as you going, but using qtek's RUU_Wizard_1050412_WWE_101_11210_WWE, and it's running smoother than it did with T-Mo USA's ship ROM.
[8125, K-JAM, P4300, MDA Vario General] tdumaine:
Of course it doesnt have the tmobile usa rom on it, then i wouldnt have java lol
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
I have verified that if you load RUU_Wizard_1050412_WWE_101_11210_WWE you can restore the T-Mobile ROM from an SD-card image - which I have dumped.

So - if you do this and then decide its not what you want, I have the SD image (bigger than it needs to be, as I made no attempt to trim it down from the 128mb card I dumped it to) you need to restore it back to stock.

I'm going to go ahead and try running on the above with the T-Mobile extended ROM customizations on it and see what I think.....
[8125, K-JAM, P4300, MDA Vario General] markgamber:
Very nice, that's what I wanted to see. :) First, what did you do to dump the rom to SD? I've seen a couple of utils floating about but I have no idea what works on the wizard and what does not. thanks for the info!
[8125, K-JAM, P4300, MDA Vario General] snoslicer8:
Genesis:

Would you be so kind as to upload the unmodified SD card dump of the T-Mobile ROM somewhere accessible to us? I am perfectly happy with my phone the way it is with the qtek ROM...however, should I ever need to return it to T-Mo for warranty, etc., I think it would be best to have the factory config on it. I would appreciate it tons!

P.S.: I tried restoring from the "backup" T-Mo USA Shipping ROM that was posted on these forums a few days ago, and it wasn't complete. It left the Qtek Test Rom splash screen on the bootup sequence, and it also didn't quite bring back all of the T-Mo customizations, even after running the entire T-Mo extended ROM.
[8125, K-JAM, P4300, MDA Vario General] the vincester:
Could some please post how to load the Qtek rom step by step as if you were teaching a two year old. I'm new to this and very afraid of making my new MDA into a fancy brick. Is that a valid concern?

I don't use MMS so I'm not concerned about that... or any other T-mobile settings... well, GPRS internet.

Also can this be done all from the phone or would I need a PC?

I love my new phone but would love to have java enabled. Thanks for ANY help I can get doing this and sorry for being such a newb ;)

Thanks again.
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
You need a PC.

Here's the basic deal:

1. Get the aWizard utility and CID-unlock your Wizard. This is a MUST.

2. You need a terminal program that can talk to a USB port. There is a version of Terraterm around that can do this.

3. You need a 128MB (or larger) SD card.

Ok, to proceed, do the following:

1. Enter the bootloader (tri-color screen) in the usual way (CAMERA down then power for 3 seconds, release power - you will get the tri-color)

2. Plug in the USB cable.

3. Go kill wcescomm.exe in your XP task manager (the ActiveSync comm driver)

4. Start the terminal program and connect to the USB port. Hit RETURN - you should get a command prompt.

5. Make sure the SD card is in the Wizard.

6. Type "r2sd all" and hit return.

7. The Wizard will write the ROM contents to the SD card. It will tell you what its doing while it does this. If you get a "Security" violation you didn't CID unlock - go back to the top and do that first.

What you now have is a RAW dump on the SD card. It is NOT a filesystem! You can take this off on your PC to a file but you need a utility such as "psdread" to do so. Or, if you want to keep a dedicated 128MB card around (they're cheap - under $20) for this purpose just put it away somewhere.

To RESTORE from the card, hold down CAM + VOICE and hit POWER for 3 seconds or so with the card in the socket. The Wizard will display a prompt to restore from the card. NOTE THAT THE BACKLIGHT IS OFF! You may need a flashlight to see it. You only have a few seconds before it will proceed to the tri-color screen. When the prompt is displayed, hit VOICE.

The load will take place, again, with the backlight OFF. When its complete it will tell you to press any key to continue, and once you do, you'll get the tricolor screen back.

Power off and back on and you get a cold boot with the new loaded firmware.

This SHOULD be able to get you out of a "bricked phone" situation if you have the image available...... do note though that you must be able to write it on the card in RAW format - it is NOT a FAT filesystem file!
[8125, K-JAM, P4300, MDA Vario General] the vincester:
Wow. Thanks for the detailed instructions... I would have never figured that out if I need to.

I was also asking about putting the new Qtek ROM on my MDA. Is that a similar process? Sorry for being so daft about this. I just want to get all of this right. If there is another set of detailed instructions, you can just link to it... I'm having a difficult time browsing ALL the info on my MDA.

Again, thanks for all the help!
[8125, K-JAM, P4300, MDA Vario General] Genesis3:
The ROM can just be loaded off the ActiveSync point if you have an RUU.EXE file (most are). HOWEVER, if you're thinking of the one in the "good bits" thread, beware that the outlook email app is hosed in it - I'm reloading with the stock T-Mobile firmware (even though it does not have Java!) as I can't live without a working email application.

Its screwed up bad - that's the only thing I can find that doesn't work, but its fatal from my point of view.

Just make sure you're CID unlocked before you start, or you can brick the phone (in that case the SD image may be your only way out!)
[8125, K-JAM, P4300, MDA Vario General] the vincester:
Yikes... well, the Outlook email thing is a how stopper for me as well. Hopefully a "better" solution comes out soon.

I have to say just how surprised I am that T-mobile has done this. If it's for security, they should have just turned it off by default, but allowed their customers to enable knowing any risks. Very strange.

Thanks again.