How to Edit E680i's CG35
posted on 21 Sep 2008 03:57 by monoguy in cg35, e680i, ubuntuThis entry was first posted on SATURDAY, 11. NOVEMBER 2006, 20:51:09 in my old blog
The position of cg35 is
/dev/tffsa
so you may copy them from your phone to your SD card by typing the following command. It is about 15 MB.
# cp /dev/tffsa /mmc/mmca1/cg35.smg
and after you finish editing it you can copy them back and restart the phone using the following command
# cp /mmc/mmca1/newcg35.smg /dev/tffsa
You will need the following
- linux or an emulator of linux system
- cramfsprogs_1.1-6_i386.deb on ubuntu 6.06/6.10
double click on it to install (on a newer system you may skip this and try to run all command below. If thing works fine, you don't need this but if there is an error while running the second command on the Howto part, you will need to find a newer version of this cramfsprogs from getdeb) - a copy of cg35.smg
How to
I recommend that you login using your root right then make a folder named 'cg35'
# mkdir cg35
# sudo mount -t cramfs -o loop cg35.smg cg35
# sudo tar -zcf cg35.tar.gz cg35
# sudo umount cg35
# sudo tar -zxvf ./cg35.tar.gz
Now you may edit your files as you wish
If you want to copy your theme into
/theme/themenamefolder/
copy this three files: iconres.ezx, name.skn and name_logo.jpg then edit themename.dhm to point all files to the following
ThemeIconDir = /usr/language/theme/themenamefolder/
ThemeLogoIcon = /usr/language/theme/themenamefolder/name.skn
ThemeSkinFile = /usr/language/theme/themenamefolder/name_logo.jpg
ThemeWallpaperFile = /usr/language/picture/name_bg_jpg
ThemePowerUpImage = /usr/language/animation/name_up.gif
ThemePowerDownImage = /usr/language/animation/name_down.gif
Notice that you may edit background, boot up image and shutdown image. Then save this file and rename from themename.dhm to themename.phm and move it to the folder
/Theme/
(not inside the theme's folder)
then pack the cg35 back with the following command
# sudo mkcramfs cg35 newcg35.smg
To install this cg35
- copy newcg35.smg to the root of your SD card
- replace this file to /dev/tffsa by
# cp /mmc/mmca1/newcg35.smg /dev/tffsa
- wait for it to finish about 4-5 minutes.
- restart your phone
- remove all existing old theme
# rm -f /ezxloca/download/appwrite/setup/*.phm
- copy new themes back
# cp -f /usr/language/theme/*.phm /ezxlocal/download/appwrite/setup
- reboot your phone again and you may apply your new theme as desired


#1 By DeepSnowzIndy on 2008-09-22 00:57