Adding Java applications to Qualcomm Samsung phones

This is intended to be a step-by-step guide on how to put your own content on the Samsung SGH-A707.

Sprint phones store downloadable content in a folder called "ams", where everything is separated into their respective subfolders.

= Prerequisites =

A computer running Windows 7 or above

A data cable for the phone you are trying to patch

A way to create JAD files (e.g. JADMaker)

Bitpim or RevSkills

Setup
Make sure you've changed your phone's USB configuration from Samsung to Qualcomm.

Here is how, type in *#0523#

keep hitting # till you get to

[1] Debug Screen [2] Version Information [3] RF Test [4] UMTS rf nv [5] Read gsm rf nv [6] Write gsm rf nv [7] Band Base [8] Audio [9] Common

press 9

you should see

[1] Batt, Temp [2] FTM NV read [3] FTM NV set [4] FTM NV unset [5] Version Info [6] USB Configuration [7] DIAG Configuration [8] Power on info [9] Camera Tuning

press 6

you should see

[1] Samsung USB [] [2] Qualcom USB [] [3] PictBridge USB []

press 2

leave the phone exactly as it is- don't press anything else.

Open Bitpim, go to View, and enable both "View protocol logging" and "View filesystem".

Once that's done, go to Edit, Settings, and then put in the COM port of your phone. For this example, "COM5" would be typed into the "Com Port" text box. Since the phone has no official Bitpim support in the "Phone type" menu, select Samsung SPH-A740 as it seems to work with that. After that, click OK.

Once you've found the proper port, click next and then Finish. Don't bother with the detect phone button that's displayed, it won't work.

Click the "Filesystem" icon, and then click the + next to the blue folder icon. It will say "Retrieving..." for a bit, but if all goes well, it will show files and folders from your phone's EFS.

Next go to Exe then to Java - that is were all the demo games are - you can delete them if you want to.

Then browse to the following directory on your phone: "/Media/Games"

Create a new directory for each game. in "/Media/Games"

Copy your *.jar and *.jad files into that newly created directory, Repeat for as many games as you want.

Then, delete the file called "phonedb.00".

After you deleted the file "phonedb.00", disconnect the phone from your computer and restart it.

If you see the game you added on the phone, that means it worked!