Basic Java Modding Tutorial

Continuation of my previous post about Modding Tools. [LINK]

Do you want to modify java apps by yourself using your phone? (JAVA MODDING 101 PART 2)

We will now start on the basic of modding. I will teach you how I learned this stuff. So the sharing knowledge process is Hideki’s way. 🙂 *credits goes to my mentors and other people that gave me knowledge about modding (superben (and the PMA mod team), atheniankid (and the Xscripts), thormentor, macneth, payas0, exzibit, litemint, dj123, byakuya, trilobugs, handler, and {your_name_here}. if you were supposed to be here, please email me. Thanks. they’re just many, I cant remember them right now). So let’s proceed.

1. Preparing the java file : for example we want to modify an Opera Mini 5 final, we use xplore to locate it, click it and we see a lot of files. All we had to do is to extract all files in JarBoom’s unjar folder using X-plore.

2. Editing the Manifest : Look for META-INF folder and inside you will see a MANIFEST.MF file. You can edit it with X-Plore by pressing [8]. Edit the necessary details you want to change (ie, MIDlet-Vendor, MIDlet-Version, MIDlet-Name, MIDlet-Info-URL, MIDlet-Description and MIDlet-1). Make sure when saving, the Save as unicode option is NOT

3. Editing the Class Files : Using Zntxhan, locate any .class file via Listway. We need to edit these to change the server and put a trick on it. In Opera Mini 5 final the server is located in f.class (this differs on every java apps). You can use the functions of Zntxhan to search for the string of the server in the class. After editing, save and delete the created .class_bak (which serves as backup but we do not need this)

4. Editing the Icon : Here we will use ImageDesigner, you can edit the i.png file that was extracted to any design you like, just make sure you made it small to fit in as an icon, 50×50 is enough (I guess).

5. Compiling : After we had edited what we needed to, we’re off to compiling the files back into jar file again. In this case, we will use JarBoom, choose Tools-Compile and locate the inside meta-inf folder and give name to your jar file, wait until the packing completes.

That’s it! Try your modded om. If it installs, great! You did it. This is all just for now, I hope you get a little idea about modding and we will proceed to deeper topics in future. Always note that, what I post here was based on my knowledge about this topic. We may have our own style or way. Explore and you will learn. 🙂

have a good day everyone!


10 thoughts on “Basic Java Modding Tutorial

  1. ‘nice…ang gling nito boi..try q kgad itry2 lng muna akong iba..hndi q kc mgamit ung isang app ung class editor..haha..tnx a lot pdin..usefull tlga lhat ng post mo..keep it up..

  2. ‘boi pno ung s jarboom?kc s phonememory q sya nkinstall..wla qng mktang unjar folder?g2wa lng b q?

  3. Pingback: Basic Java Modding Tutorial – H-ZoNe | Hideki Mobile Zone | Java WebDev Insider

  4. Stinger. Bakit naman? Ang liit lang nung zntxhan na yun a. Ung sa jarboom, tignan mo sa c:/python-jarboom baka andun ung unjar.
    razty. Hahah. Parang di mo pa alam to ah.XD

  5. Meron akong yahoo go v2 ung installed saka ung hindi pa naka install, paano maging handler un kuya,. Nadownload ko un sa Naka rar siya. Naextract ko na xa. Hindi ko alam kung paano magsimula. Patulong po?

  6. Pag naextract mo na mga class files, gamitin mo yung ZNTXHAN para maopen at maedit yung mga un. Hanapin ang server at lagyan ng trick. Iba iba po sa ibat ibang apps.
    Ganyan po magmod. Sa case ng yahoo go, di yata pede kase socket ang gamit neto. Tapos sa pag gawa ng handler ay napaka c0mplicated na kelangan m0 mamaster ang java language.

  7. sino makkahelp sken ung setting ng om para sa samsung corby wifi !!

    pa help namn po !! ung step by step

    para po sa globe

Comments are closed.