Moto Hell - The Motorola Modding Community
November 22, 2024, 02:34:37 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The forum is no longer active and registration is disabled; however you can still fetch everything as guest.
 
   Home   Help Facebook Search Calendar Login Register  
Pages: [1] 2   Go Down
  Print  
Author Topic: How to make/edit/decompile/compile MP & CG  (Read 17666 times)
TaZ
Guest
« on: August 23, 2007, 02:18:39 pm »

i wanna make my own monster pack based on existing fw's.
Could you tell me how do you make .SBF an SHX files? are you using a getOS mpkg to download FW? then how do you compile it to flashable format Huh?
how can i edit CG files?

many questions, many doubts... just help me, explain please :Smiley
Logged
Exploited
Administrator
Ultimate modder
*****

Karma: 109
Offline Offline

Posts: 5153



View Profile WWW
« Reply #1 on: August 23, 2007, 09:57:39 pm »

here is how: http://www.e2mod.com/content/view/71/29/
Logged

TaZ
Guest
« Reply #2 on: August 24, 2007, 05:34:42 am »


i can't understand where i must put a checksum? which file?sbf Huh?
Logged
zjole
Guest
« Reply #3 on: August 24, 2007, 09:23:21 pm »


i can't understand where i must put a checksum? which file?sbf Huh?
Use sbf codec instead.It's much more convinient.
http://www.e2mod.com/content/view/93/27/

BTW:the tutorial is a little out of date now.
Logged
TaZ
Guest
« Reply #4 on: August 25, 2007, 03:39:47 am »

i'm using sbf codec Tongue
I have ubuntu but i can't do it on my ubuntu Undecided
Quote
Beside cg39.smg, the other cg34 cg37 cg41 cg42 cg43 are cramfs file systems, you can mount -o -loop the smg in linux(root)

# tar zcvf xxx.tar.gz mountedsmgfolder
# tar zxvf xxx.tar.gz -C targeteditfolder

so you can mod the files in target edit folder then

# mkfs.cramfs targeteditfolder/xxx cg##.smg

@zjole
Do you have another tutorial?
Logged
zjole
Guest
« Reply #5 on: August 25, 2007, 08:44:18 am »

i'm using sbf codec Tongue
I have ubuntu but i can't do it on my ubuntu Undecided
Quote
Beside cg39.smg, the other cg34 cg37 cg41 cg42 cg43 are cramfs file systems, you can mount -o -loop the smg in linux(root)

# tar zcvf xxx.tar.gz mountedsmgfolder
# tar zxvf xxx.tar.gz -C targeteditfolder

so you can mod the files in target edit folder then

# mkfs.cramfs targeteditfolder/xxx cg##.smg

@zjole
Do you have another tutorial?
Then forget about checksum.sbf codec will do it for you Wink

For cg34,cg41,cg42
Code:
mount -t cramfs cgxx.smg -o loop [mountpoint]
For cg37 and cg43
Code:
mount -t cramfs cgxx.smg -o loop,offset=4096 [mountpoint]
That's it!

ilove3d has written a more detailed tutorial.But unluckily it's in Chinese.
Logged
TaZ
Guest
« Reply #6 on: August 25, 2007, 09:11:56 am »

@zjole
thanks man, i'll try it tomorrow because i don't have enough time Undecided

Quote
ilove3d has written a more detailed tutorial.But unluckily it's in Chinese.
could you give me a link? Could anybody whose know chinese translate it? Grin
« Last Edit: August 25, 2007, 09:14:55 am by TaZ » Logged
zjole
Guest
« Reply #7 on: August 25, 2007, 09:56:07 am »

here:http://moto.it168.com/viewthread.php?tid=124115&extra=page%3D1

Very detailed one,contains lots of screenshots.It almost covers every aspect of hacking and modding that is known.
Logged
TaZ
Guest
« Reply #8 on: August 26, 2007, 08:21:30 am »

here:http://moto.it168.com/viewthread.php?tid=124115&extra=page%3D1

Very detailed one,contains lots of screenshots.It almost covers every aspect of hacking and modding that is known.

 Shocked
i would like to understand it... Undecided
Logged
TaZ
Guest
« Reply #9 on: August 26, 2007, 02:21:24 pm »

i can mount g34,cg41,cg42 Smiley

but if i want mount cg37 and cg43 it shows:
Quote
root@blaszak:/home/taz# mount -t cramfs /home/taz/Desktop/cg43.smg -o loop,offse t=4096 /home/taz/Desktop/43
mount: wrong fs type, bad option, bad superblock on /dev/loop3,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
Logged
zjole
Guest
« Reply #10 on: August 26, 2007, 08:05:51 pm »

i can mount g34,cg41,cg42 Smiley

but if i want mount cg37 and cg43 it shows:
Quote
root@blaszak:/home/taz# mount -t cramfs /home/taz/Desktop/cg43.smg -o loop,offse t=4096 /home/taz/Desktop/43
mount: wrong fs type, bad option, bad superblock on /dev/loop3,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
Did you delete the 0x1000 header like the tutorial said?If so then just mount cg37 and cg43 as other cgs.Otherwise you should add ",offset=4096"
Logged
TaZ
Guest
« Reply #11 on: August 31, 2007, 11:04:46 am »

i did everything by ilove3d's tutorial: i copied all files from smg_tools into /bin
i can edit all of CG's excpet CG43. When i'm typing cutsmg look what i get:
Quote
taz@blaszak:~/Desktop/rokr_e2$ sudo cutsmg cg43.smg
Password:
6652+0 records in
6652+0 records out
/bin/cutsmg: line 3: 12916 Segmentation fault      dd if="${1}~" of="$1" bs=4096 skip=1
taz@blaszak:~/Desktop/rokr_e2$

what is wrong Huh?
« Last Edit: August 31, 2007, 11:06:19 am by TaZ » Logged
zjole
Guest
« Reply #12 on: September 02, 2007, 09:31:28 pm »

You needn't cut CG43 or CG37 before mounting them.Just do as I said.
Code:
mount -t cramfs cg43.smg -o loop?offset=4096 mountpoint
Logged
Panchoo
Guest
« Reply #13 on: September 03, 2007, 09:27:59 am »

I would like 2 kno how 2 make *shx and *hs files as well as turning them into *smg. Can ne 1 help?
Logged
TaZ
Guest
« Reply #14 on: September 03, 2007, 12:01:30 pm »

I would like 2 kno how 2 make *shx and *hs files as well as turning them into *smg. Can ne 1 help?

read this: http://moto.it168.com/viewthread.php?tid=124115&extra=page%3D1
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Design By Forum Hosting
Powered by SMF 1.1.21 | SMF © 2015, Simple Machines