MODDING PERAMINI FULL TUTORIAL!!! (s40 users)
We are gonna be Learning more about Modding, but 1st lets take a look @the subject of the matter:
'OPERAMINI'.
Sum still dont know dat modding with an s40 phone is possible; well, lets make sumtin out of our FONE n' see 4 ourselves!
Process taken, can as well be performed on an s60fone...
LISTS OF MODDING SOFTWARE/TOOLS REQUIRED
1. BlueFTP
2. MobyExplorer
3. Class Editor
4. Mar'Hex Editor
5. Class translator
5. PaintCAD
6. ProPaint Mobile
7. Calc4m
8. Exzhex Editor
9. RawFile eg. OperaMini.zip..
::::::::::TUTORIAL STARTS::::::::::
EXTRACT FILES IN ZIP ARCHIVE
Use BlueFTP to extract all the files in the zip archive.
Process=> Open BlueFTP, then locate click on d zip file (OperaMini.zip) to open. Select all files using #key or *key!
Next, Press(1) to copy selected items>>Create a new folder>>Press(3) to paste already copied items ---
EDITING THE NAME/DETAILS
Requirements:-
Class Editor or MobyExplorer...
Using Class Editor
Browse thru ur files nd locate d the NEW FOLDER u pasted the files u Unzip.. U always found a folder named 'META-INF' click enter and also found a file inside d folder called 'MAINFEST.MF.
Here u'll notice sum details worth changing/editing, like Midlet Name, Midlet description...etc.
Edit d titles/names given, to ur taste and leave d headings - but b carefull not 2 edit d wrong part. Then save!
Do the same in the case of MobyExplorer.......
TRANSLATE.CLASS FILES,
Requirement: Class Translator
Mak use of this class translator to edit other.class like:
Browser.class, HandlerU1.class, e.t.c :In here u'll find d custom server and sum relevant notes, just edit it 2 ur taste.
NOTE: This example is base on the (OperaMINI.zip) provided by VMAN..
And 2 get d main server itself; "a.class" has it, just mak use of 'CLASS EDITOR' 2 edit it!
HINTS:- Search and edit "http://server4.operamini.com:80"
Always take note of d files; cuz in sum cases after openin a file, there remains a spare of d original (.class.bak). Delete it or exclude it later wen compressing bak to.jar!
-Also u can mak use of Class Editor: All u gat 2 do is search by keyword 'http://' or ':80' or 'server4' or any other related to the server.
ICON EDITING
Requirement:- (1)BlueFTP (2)New image u which 2use as icon(vman.jpg).
To change d icon; which is either 'i.png' all u have 2 do is remove and replace with default name (i.png)!
Process=>
rename d new image to (i.png) then press>>(1) to copy and Press>>(3) to paste d copied image into that new folder u created ealier.
Den delete d default icon..
NB: After/b4 replacement of icon; take note of d name i.e(i.png), then rename ur new icon with the same name.
I.e Vman.jpg becomes i.png...
NEXT IS SPLASH SCREEN: Write this down on a sheet of paper before you proceed!
A=size of your new image(Vman2.jpg=2661b)
B=size of the original splash(705b)
C=?
Value of C=A-B
Ex. C=2661-705
C=1956
Convert 'C' to HEX value, the answer is 7A4. Take note of the answer '7A4'.
Locate and Open the v file with ClassEditor-press[0] and d screen'll be divided into two(2) windows.
Left window:Hex values
Right window:Symbols
Press(7) then input 27>>Ok and there's the beginning of the first pair of hex value. Before this hex values are four(4) zeroes (take note)
NOTE: Read and understand the various processes taken below, to know how i got all this values.
SLASH SCREEN EDITING!
Changing of Splash screen is a task that can be completed using several methods.
METHOD N1
Requirements:- Class Editor, Calc4me, image file(Vman.jpg).
ON A SHEET OF PAPER, TAKE THIS DOWN
1. Image size: which is 2661b (this is d new img 2 be used)
2. Default image size: 705b or get d value of it urself.
3. 14 addresses in the v file.
PROCESS=>
STEP1: Open ur image(png, jpg, gif,e.t.c) with Class Editor. Press Left Soft Key and look 4 d size of d image.
Eg. Size:2661b(meaning it has 2661 characters, take note of the number).
STEP2: Copy all d characters of ur image.
How: Press (*) to activate highlighting, den press(7)(which is to select a position). Input the number[2661] >>ok. Use key (6)and(4) to move cursor-Next press (5) and copy!
STEP3: Open d v file, search 4 d splash image.
How: Press(9) and enter 'PNG' in d text field>>ok. Press(#) twice 2 bring d 1st and 2nd PNG by 1st and 2nd clicks. Then start highlighting 4rm 2PNG... down to END2B'2
STEP4: Press(5), then select insert to paste the copied characters earlier on>>Next SAVE FILE!
COMPUTATION MANUALLY: Using Calc4m.
(14 address codes)
NOTE: '7A4' was our derived 'C' in HEX!
Formula:
2CDC+7A4=?
2CF8+7A4=?
2DBF+7A4=?
2EA1+7A4=?
2FC1+7A4=?
30D7+7A4=?
321B+7A4=?
3365+7A4=?
33D4+7A4=?
3444+7A4=?
34F4+7A4=?
35B9+7A4=?
3684+7A4=?
384B+7A4=?
Record your answers on a sheet of paper, like i told u earlier on.
STEP5: Open the v file with Class editor>>Press[0]>>Press(7)>>Input 27 then ok! The position of the cursor should b placed at the value 2B like this:
0000[2B]EA00002CO600002CCD0000
2DAF00002ECF00002FE50000...
Just move and place ur cursor to d specified value, then press(3) to edit on HEX value i.e replace d new 14 address codes wit d default ones.
After u'v replaced d 14 addresses wit d new ones, it den looks like dis:
000034800000349C00003563
000036450000376500003873000039BF00003B09
00003B7B00003BE800003C9E00003D5D00003E2800003FEF000...SAVE FILE!
Then compress all files to 'File_jar' with BlueFTP. Test your handwork!
Arrgh! 14 Address codes, wat a long line. Sorry fellas av it dis way:
000034800000349C0000
35630000364500003765
00003873000039BF0000
3B0900003B7B00003BE8
00003C9E00003D5D0000
3E2800003FEF000...
.....................................METHOD N2:
Requirements: (1)Class Editor, (2)Calc4me and (3)ExzHex Editor*
STEP1: Open ur image wit class editor, press left soft key and take note of d file size. Next, convert d size value to 'Hex value' (do dis later)
Ex. 2661=A65 in hex
>>Still wit Class Editor; Highlight every symbols/characters, then copy!
>>Open v file, replace d characters of default splash screen wit d characters of ur image copied earlier on; i.e highlight old splash screen, press(5) then (3) to select insert>>Then Save File!
>>Open ExzHex Editor; enter d hex value of ur image size(A65)>>Then Execute.
The given sets of numbers under each boxes, represents d 14 address codes of dat image. (Vman2.jpg)
>>Next open v file wit Class Editor>>Press[0]>>Press(7) and enter (27) in the text field>>Position or location of the first value of d old address codes.
Now replace d old 14 address codes wit d new ones>>SAVE!
After that, u'r free and gud 2 go! Then Later rename directly with your phone to .jar eg(Opera4.2handlerByMe.jar).. SEE YA HAND WORK.
For those would understand more or can manipulate Class Editor, should've realised that there is a fatal mistake about: 'highlight old splash, press(5) then press(3) to select insert'...!!..?
Pls undo the mistake, and correct to: 'press(6)'...
Just Edit 2Your Sactifactions!
NOTE: In sum Opera u found s.png, You can also edit it and it is known as The Themes inside Opera.
Process=> just copy and paste with default names!!!