Step 1: What You Need
- A connection to the phone. cable or bluetooth.
- My Copyright adding program. Required VB6 runtimes. winXP and Vista come with them.
first install BitPim, then set up the bluetooth connection with windows then go look at the bluetooth devices you are connected to select your phone and click properties.
click the services tab, wait for it to load then make a note of the COM port used by 'Serial port (SPP) Bluetooth serial port' mine is COM16. open BitPim it will try to find your phone, it doesn't detect the LG490 so you goto the edit menu and down to settings.
In the Com Port text box type the COM number COM16 in my case. Click OK
Next goto the view menu and select View Filesystem.
click on filesystem on the far left column then a folder with "/" next to it will appear in the second column. expanded it to see if it will connect to the phone.
You may need to change the COM ports by reconnection the bluetooth.
Step 2: Where Everything Goes
"/brew/16452/ms" Sound recordings and midis
"/brew/16452/mdw" Animated Backgrounds
and the files the say where in the memory these files get loaded to is in:
aod.dat for ringtones
image.dat for pictures
mysound.dat for the midis and recordings
my_wallpaper.dat for Wallpapers... go figure
The way files are handled on this phone is stupid you add them to the directory but the phone will never find them, ever. Those files say where the files are and (I believe) where is the memory they are loaded. the format for most of the files are:
file number (1 byte) then a couple blank bytes then the file directory and name then 100+ blank bytes then (for the ringtones 0x01000000 then) a 4 byte code then a couple blank bytes then a 2-3 byte code followed by 2 blank bytes then the next files info
the 0x01000000 is hex 01 00 00 00 or ascii character 1 0 0 0 this is the copyright protection.
I thought for a while the 4 byte code was an offset value which I made complex programs and calculations to add files on.... and they worked!!! I added 7 files no problem... until I deleted some files, then none of my codes worked that made me sad because I was very proud I "broke the code".
the 2-3 byte code tells the phone the size the file is not for reading purposes but for display purposes.
Step 3: Adding Files
after adding the files. lets say you added a bunch of pictures.
the corresponding folder is "/brew/16452/mp" then you go to "/dload" and save image.dat then delete image.dat. you're saving it just in case then right-click in the folder tree and select reboot phone or just reboot your phone manually. the phone will build the file for you adding all the pictures. YEY!.
for ringtones though you add them the same way but it you try to use them as a ringtone the phone won't let you because there is no copyright protection on them. this is where my program comes in. save the aod.dat file from your phone and make a back-up as well. run my program its straight forward select the file and only the file it will screw up all other files by adding the 0x01000000.
after selecting the file it will take less then 1 second then announce its done. close the program.
Now back in bitpim right-click on aod.dat and select overwrite then select the file you just ran through my program. after uploading the file you have accessable ringtones.