The Motorola Development Community


Go Back   MotorolaFans.com Forums > Motorola EZX Phones > A1200 General Chat > A1200 Firmware
Notices

Reply

MotoFans MODR

elboby's Avatar

Join Date: Apr 2007
Posts: 219
Thanks: 38
Thanked 65 Times in 26 Posts
Location: Tegucigalpa, Honduras C.A.

Send a message via MSN to elboby
Quote  
#1
09-23-2008
Lightbulb How-To Create your own MonsterPack

I want to create my own monsterpack combining the best features of the best Monsterpack that exists...

I have downloaded a tutorial that briefly explains the use of EZXCodec and SBF Codec, but I need a more explanation of this...

Like what contains each Codegroup, what files I have to replace to combine Monsterpacks...

I hope that Amin can help us...with some of his knowledge of making MP.

Or anybody who nows about creating MP for Motorola A1200.
Reply With Quote


User Information
Current Phone: Motorola A1200r
Firmware: AMINS ELITE EXTREME
Location: Tegucigalpa, Honduras C.A.

elboby is offlineReport Post
MotoFans NWBE

Shakal's Avatar

Join Date: Jun 2008
Posts: 18
Thanks: 5
Thanked 0 Times in 0 Posts
Location: NS , Serbia

Send a message via ICQ to Shakal
Quote  
#2
09-23-2008
Default

I would like to hear/read some kind of "tutorial" for making MP...

What should I know to make MP? Which programming language I need to know to work on it? ...

@elboby
This could be very interesting thread man
Reply With Quote


User Information
Current Phone: Ming A1200E
Firmware: R541_G_11.56.11R
Location: NS , Serbia

Shakal is offlineReport Post
MotoFans MODR

Join Date: Sep 2007
Posts: 161
Thanks: 18
Thanked 20 Times in 10 Posts
Location: sampaloc, manila, philippines

Send a message via Yahoo to ming_007
Quote  
#3
09-24-2008
Default

me too i'm curiuos on how to modify a MP.. i will read your thread eventualy.. ^^
Reply With Quote


User Information
Current Phone: a1200R
Firmware: amin' remix (my own)
Location: sampaloc, manila, philippines

ming_007 is online nowReport Post
MotoFans JUNR

Dark Avenger's Avatar

Join Date: Sep 2008
Posts: 66
Thanks: 43
Thanked 20 Times in 7 Posts
Location: Colombia, Medellín

Quote  
#4
09-24-2008
Default

now we're 4 interested
Reply With Quote


User Information
Current Phone: a1200r
Firmware: Custom mixed f/w
Location: Colombia, Medellín

Dark Avenger is online nowReport Post
MotoFans NWBE

PappuDC's Avatar

Join Date: Sep 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Location: Belakoba/siliguri/westbengal/India

Send a message via MSN to PappuDC Send a message via Yahoo to PappuDC
Quote  
#5
09-24-2008
Default

Now there are 5
Reply With Quote


User Information
Current Phone: MOTOROKR E6
Firmware: Custom_Mod_11.85.06R_JAY_AHBN with EDGE & QUADBAND
Location: Belakoba/siliguri/westbengal/India

PappuDC is offlineReport Post
MotoFans MODR

elboby's Avatar

Join Date: Apr 2007
Posts: 219
Thanks: 38
Thanked 65 Times in 26 Posts
Location: Tegucigalpa, Honduras C.A.

Send a message via MSN to elboby
Quote  
#6
09-24-2008
Default

I'll post for you the tutorial but is in spanish...
It's easy to get the codegroups from the firmwares but the difficult part is to combine the features of each firmware.

We need the ones who had created MP explain us a little bit.
Attached Files
File Type: zip SBF_Tool_E2.zip (296.1 KB, 375 views)
File Type: doc TUTORIAL PARA HACER MONSTERPACK DE A1200.doc (96.5 KB, 280 views)
File Type: zip ezxcodec.zip (142.3 KB, 367 views)
Reply With Quote


User Information
Current Phone: Motorola A1200r
Firmware: AMINS ELITE EXTREME
Location: Tegucigalpa, Honduras C.A.

elboby is offlineReport Post
The Following 2 Users Say Thank You to elboby For This Useful Post:
Dark Avenger (09-24-2008), Spidey (09-25-2008)
The Procrastinator

Konig's Avatar

Join Date: May 2007
Posts: 1,671
Thanks: 91
Thanked 169 Times in 115 Posts
Location: Mumbai

Send a message via MSN to Konig
Quote  
#7
09-24-2008
Default

Hi, this is just a brief guide on how to create your own custom firmware.

The basic principle underlying the creation is very simple - Split, Replace, Pack, Flash.

So for starters, lets learn how to just replace images and ringtones.

First download EZXCodec by Rocket, its in the firmware development section.

The next step is to set up a working directory, through this program. Call it "test", without the quotes.

Next, select a firmware. Its good to have a few lying on your hard disk. I have around 1.2 GB worth of firmware for the E6 . Make sure you have at least one generic and one modded firmware.

Now, lets do the first in the list - Split.

Open ezxcodec. The very first tab is for SBF, which is the extension for a firmware. If your firmware is compressed into a zip/rar archive, now is the best time to unpack it :P
Just below is the area where you select your firmware you want to modify. Click on the three dots to bring up a box that allows you to browse your PC for the firmware. Select it and click OK. then click the Open tab in the program, and then click Extract.

Now go to the working directory you selected earlier - test
In there will be a set of 6 folders, and 5 .idx files. We will not be playing with the .idx files now.
The folders you see are as below with a line on what each contains (thanks to imahottguy):

cramfs-root-CG34 - Preloaded stuff like wallpaper, ringtones and java apps
cramfs-root-CG37 - Security certificates
cramfs-root-CG41 - Contains the LP
cramfs-root-CG42 - Contains config files
cramfs-root-CG43 - File structure, and pretty much everything important
smg - all the smgs that make up the firmware, of which it is not recommended for a n00b to mess with, with exception for the above.

Right now, we only touch this folder when we finish our modifications.

Now, for the second part - Replace:
Open up the folder called cramfs-root-CG34. In there are a bunch of other folders, all that you should explore. Go to the folder called pictures, and replace the images there with those of your own. For now, since for many this is going to be the first step, keep the name of each replaced image the same as that of the original. Do the same for the files in the ringtone folder.
Feel free to also play around with the folder called skin, thats where your themes lie. However, DO NOT mess around with the folder called icon. This folder has the default iconres.ezx, which accounts for any icon that a theme lacks.

Step 3 - Compile
After you've had your share of fun, lets pack this cg now.
Click on the CramFS tab of the ezxcodec program. Over there, the Working directory radio button should be selected. Click on the smallbox for selection of the cg, and select CG34 there. Click Open. DO NOT click extract. Now we create a new cramfs file. Click on the 3 dots again, and then use the name that the program suggests, which should be something like CG34_new.smg. Save it in the same directory as the other smgs, namely in the "smg" folder. Now click Compile. This command starts packing the contents of the cramfs-root-CG34 folder into the CG34_new.smg file. If there are any files, that were not initially present, you may see a small warning. Ignore it.

Now in explorer, go to the smg folder, and delete CG34.smg. Rename the CG34_new.smg to CG34.smg.
Go back to the program, and go to the SBF tab. In there, you have to work with the New SBF file section. Click on the 3 dots and choose the place you want to save your firmware to. Name it anything you like, with the .sbf extension. Then simply click Compile, and in a few seconds you should be ready with your brand new custom firmware!

Step 4 - Test
This one is fairly simple. Use step one to split your firmware and check if your replaced files are intact.

Step 5 - Flash.
For final confirmation and for realizing the value of your time spent. Flash the firmware onto your phone. Details on how to flash are in the stickies.

----------------------------------------------------------------------------------------------------------------
For advanced modders, lets learn how to add startup scripts.

Follow all steps above, except that we'll be working with CG43 now. Split a modded pack, and extract a file called S80autoon from /etc/rc.d/rc2.d
Now, in the generic pack that does not support startup scripts, place this files in the same directory namely, /etc/rc.d/rc2.d
Simply repack the firmware, test it by splitting after compiling, and flash your phone.

Now to test if your startup script is working, use a common mount bind command in there, something that changes your font or the multitheme hack.

This is just simple modding, for seeing what other great modders that innovate and create marvellous packs, download their packs and study them!!! This will help you understand what goes into making a good firmware.

DISCLAIMER: Use this guide only if you are truly interested in this topic. If you care for warranty and other such things, this guide is not for you.
Always back up your data, and keep it on your computer at all times, in case you need to flash again.
Motorolafans.com cannot be held responsible for any damage that occurs from following this guide.

Edit: Oops, just saw that an attachment has been posted. Hope you find both the attachment and this guide informative!!!
__________________


Last edited by Konig; 09-24-2008 at 06:08 PM.
Reply With Quote


User Information
Current Phone: Motorokr E6
Firmware: Konig's .06p
Location: Mumbai

Konig is online nowReport Post
The Following 4 Users Say Thank You to Konig For This Useful Post:
AshishKumar (19 Hours Ago), marcolnx (10-09-2008), Shakal (09-24-2008), Spidey (09-25-2008)
MotoFans NWBE

PappuDC's Avatar

Join Date: Sep 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Location: Belakoba/siliguri/westbengal/India

Send a message via MSN to PappuDC Send a message via Yahoo to PappuDC
Quote  
#8
09-24-2008
Default

Nice guide Konig
Appreciate you!
Three more ques
Most firmwares are around 73M
How big a SBF can be?
Lets take your exmple
when I split CG34 of hybrid .08p
I get files Such as Home_Wallpaper1.jpg
,..2,...3
Cause I tried to replace that folder and compiled CG34_New
with Clownfish,Black etc
t says Clownfish.jpg description not foun
Now that name Home_Wallpaper1.jpg must be registered some where
Q2 ..Where is that registry?
Q3.What file should I mod to support
mpkg apps or to make MPKG installer work?
Reply With Quote


User Information
Current Phone: MOTOROKR E6
Firmware: Custom_Mod_11.85.06R_JAY_AHBN with EDGE & QUADBAND
Location: Belakoba/siliguri/westbengal/India

PappuDC is offlineReport Post
The Procrastinator

Konig's Avatar

Join Date: May 2007
Posts: 1,671
Thanks: 91
Thanked 169 Times in 115 Posts
Location: Mumbai

Send a message via MSN to Konig
Quote  
#9
09-24-2008
Default

Q1. There is no general problem with the size of the firmware as long as the minimum files required for operating the phone are there. You can have 1 wallpaper, 2/3 ringtones and 1 skin to bring down the size of the firmware, and there will be no problem
Q2. The entry for the particular errors are in the .idx file. Open it with notepad++ and you'll see what I mean
Q3. I have limited experience with this. But in my opinion, a file called am in CG43/usr/SYSqtapp/am has to be modified.
__________________

Reply With Quote


User Information
Current Phone: Motorokr E6
Firmware: Konig's .06p
Location: Mumbai

Konig is online nowReport Post
MotoFans MODR

elboby's Avatar

Join Date: Apr 2007
Posts: 219
Thanks: 38
Thanked 65 Times in 26 Posts
Location: Tegucigalpa, Honduras C.A.

Send a message via MSN to elboby
Quote  
#10
09-24-2008
Default

Wow... great Koning...thats was what I was asking for...
Great explanation...

Q1: Where's the archive to increase the volume? Maybe:CG43 (usr\SYSqtapp\sound\ezx_volumetable.cfg)???

Thank you Koning for taking your time and answer.

Q2: Where are the files for modifiying the operator name position??
Reply With Quote


User Information
Current Phone: Motorola A1200r
Firmware: AMINS ELITE EXTREME
Location: Tegucigalpa, Honduras C.A.

elboby is offlineReport Post
Reply

Tags
create, howto, monsterpack

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone create a tutorial for create EZX application duonglan15 Development 12 03-07-2008 12:37 PM
can someone create a tutorial for create EZX application. eakrin Development 8 01-01-2008 06:44 AM
FINALLY a ROKR Z6 Monsterpack!! djdownhill ROKR Z6 10 11-04-2007 05:01 PM
Yet another ROKR Z6 Monsterpack! djdownhill ROKR Z6 1 10-09-2007 10:06 PM
How do you extract files from a monsterpack? daks E6 General Chat 6 08-24-2007 05:15 AM


All times are GMT. The time now is 01:07 PM. Search Engine Friendly URLs by vBSEO 3.2.0 Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. VBulletin Skin by ForumMonkeys.