Motorola Development Community

Member Login

Quick Search




Reply
  #1  
Old 09-23-2008
elboby's Avatar
MotoFans MODR
 
Join Date: Apr 2007
Location: Tegucigalpa, Honduras C.A.
Posts: 229
Thanks: 38
Thanked 69 Times in 28 Posts
Send a message via MSN to elboby
Arrow 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
The Following User Says Thank You to elboby For This Useful Post:
pashaa (01-13-2009)
  #2  
Old 09-23-2008
Shakal's Avatar
MotoFans JUNR
 
Join Date: Jun 2008
Location: Serbia
Posts: 27
Thanks: 5
Thanked 0 Times in 0 Posts
Send a message via ICQ to Shakal
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
  #3  
Old 09-23-2008
MotoFans XPRT
 
Join Date: Sep 2007
Location: sampaloc, manila, philippines
Posts: 265
Thanks: 19
Thanked 24 Times in 13 Posts
Send a message via Yahoo to ming_007
Default

me too i'm curiuos on how to modify a MP.. i will read your thread eventualy.. ^^
Reply With Quote
  #4  
Old 09-24-2008
Dark Avenger's Avatar
MotoFans XPRT
 
Join Date: Sep 2008
Location: Colombia, MedellĂ­n
Posts: 276
Thanks: 64
Thanked 29 Times in 11 Posts
Send a message via MSN to Dark Avenger
Default

now we're 4 interested
Reply With Quote
  #5  
Old 09-24-2008
PappuDC's Avatar
MotoFans JUNR
 
Join Date: Sep 2008
Location: Belakoba/siliguri/westbengal/India
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to PappuDC Send a message via Yahoo to PappuDC
Default

Now there are 5
Reply With Quote
  #6  
Old 09-24-2008
elboby's Avatar
MotoFans MODR
 
Join Date: Apr 2007
Location: Tegucigalpa, Honduras C.A.
Posts: 229
Thanks: 38
Thanked 69 Times in 28 Posts
Send a message via MSN to elboby
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, 1029 views)
File Type: doc TUTORIAL PARA HACER MONSTERPACK DE A1200.doc (96.5 KB, 1190 views)
File Type: zip ezxcodec.zip (142.3 KB, 868 views)
Reply With Quote
The Following 2 Users Say Thank You to elboby For This Useful Post:
Dark Avenger (09-24-2008), Spidey (09-25-2008)
  #7  
Old 09-24-2008
Konig's Avatar
The Procrastinator
 
Join Date: May 2007
Location: Mumbai
Posts: 2,944
Thanks: 130
Thanked 240 Times in 175 Posts
Send a message via MSN to Konig
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!!!
__________________


We're watching you. Be afraid. Be very afraid.

Last edited by Konig; 09-24-2008 at 05:08 PM.
Reply With Quote
The Following 4 Users Say Thank You to Konig For This Useful Post:
AshishKumar (01-07-2009), marcolnx (10-09-2008), Shakal (09-24-2008), Spidey (09-25-2008)
  #8  
Old 09-24-2008
PappuDC's Avatar
MotoFans JUNR
 
Join Date: Sep 2008
Location: Belakoba/siliguri/westbengal/India
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to PappuDC Send a message via Yahoo to PappuDC
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
  #9  
Old 09-24-2008
Konig's Avatar
The Procrastinator
 
Join Date: May 2007
Location: Mumbai
Posts: 2,944
Thanks: 130
Thanked 240 Times in 175 Posts
Send a message via MSN to Konig
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.
__________________


We're watching you. Be afraid. Be very afraid.
Reply With Quote
  #10  
Old 09-24-2008
elboby's Avatar
MotoFans MODR
 
Join Date: Apr 2007
Location: Tegucigalpa, Honduras C.A.
Posts: 229
Thanks: 38
Thanked 69 Times in 28 Posts
Send a message via MSN to elboby
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
 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How-To Create your own MonsterPack elboby E6 Firmware 336 2 Minutes Ago 07:42 PM
MonsterPack vishrut_n_shah E6 General Chat 3 12-02-2009 09:04 AM
Can someone create a tutorial for create EZX application duonglan15 Development 12 03-07-2008 11:37 AM
can someone create a tutorial for create EZX application. eakrin Development 8 01-01-2008 05:44 AM
Yet another ROKR Z6 Monsterpack! djdownhill ROKR Z6 1 10-09-2007 09:06 PM

 
Advertisement

Partner Links