为什么高手不发出怎么做出补丁的教程呢?

ufaly

普通会员
2005-06-27
56
0
0
小弟是很爱学这种东西的人,但这里就是没有怎么做出这些补丁的教程,论坛不是为了大家互相交流&促进的地方么?为什么高手们藏着知识不肯放出来交流呢?是不是怕长江后浪推前浪呢?如果那样想的话,只能使心爱小D发展的速度更慢!大家说说是不是呢?
支持的人顶,希望高手前辈们放出他们的心血!
[s:12] [s:12]



DIY的精神大家一起发扬
 

bownk

普通会员
2006-04-02
72
0
0
正在整理,整理后放出。我自己也搞不懂自己记下的是什么了!!!? [s:15]
 

jhlzy

普通会员
2006-03-06
679
0
0
下面是引用bownk于2006-04-12 16:46发表的:
正在整理,整理后放出。我自己也搞不懂自己记下的是什么了!!!? [s:15]
期待中...............
 

kangpeier

普通会员
2006-02-10
183
0
0
下面是引用ufaly于2006-04-11 23:04发表的为什么高手不发出怎么做出补丁的教程呢?:
小弟是很爱学这种东西的人,但这里就是没有怎么做出这些补丁的教程,论坛不是为了大家互相交流&促进的地方么?为什么高手们藏着知识不肯放出来交流呢?是不是怕长江后浪推前浪呢?如果那样想的话,只能使心爱小D发展的速度更慢!大家说说是不是呢?
支持的人顶,希望高手前辈们放出他们的心血!
[s:12] [s:12]



.......


希望楼主可以参考下,D6其实也是一样的道理....看多了就会明白些了.....


怎样进行bin铃声替换教程:


http://bbs.blueshow.net/read.php?tid=147321&fpage=1&toread=1


D608同理,像D608短信铃声替换补丁,拍照快门声无声补丁,低电量无声补丁,全字符补丁.....都可以通过以上道理得以实现.......




[s:12] [s:12] [s:12]
 

bownk

普通会员
2006-04-02
72
0
0
恩,不错,再给你看个DIF格式说明,主要是先从人家的补丁是怎么改的学起。。。
当然,如果不是相关专业的还是不要进来了,很费力的。。。
Format of the SPF DIF file (last updated in v0.60):

0000h 0020h Header
0020h ???? Block data (plain for SPFD, ZLib-compressed for SPFZ)

Header:

0000h 0004h 'SPFD' or 'SPFZ' signature
0004h 0004h ASCII Phone ID
0008h 0010h ASCIIZ (00h) right-padded software ID
0018h 0004h Reserved
001Ch 0004h Number of blocks in block data area

Block:

0000h 000Ch Block header
000Ch ???? Data

Block header:

0000h 0004h 'FBLK' signature
0004h 0004h Block type
0008h 0004h Block size

Common dIFC type block data:
0000h ???? RTF comment

SGHA class NORD/nOrR type block data:

0000h 0004h Starting address in NOR flash
0004h ???? NOR data

SGHA class TFSF type block data:

0000h 0004h Filename length
0004h ???? Full TFS filename
???? ???? TFS file data

Comments:

1. Phone ID is phone class ID. If SGHFD (or other software) does not know
how to process phone class specified, it must display an error and stop
processing. You can not intermix multiple phone classes in one DIF file.

Phone classes currently known by SGHFD:
'SGHA': Samsung SGH series phones

2. Software ID must be right-padded by zeros up to 16 bytes length.
It is given just for informational purposes and is not processed
by SGHFD in any way.

Examples:
'X100XEDG1', 0, 0, 0, 0, 0, 0, 0.
'AUTODIFF TOOL', 0, 0, 0

3. Block naming conventions:

First block name letter defines 'mandatory' block if it is capital and
'optional' block if it is small. If the first letter is capital and
SGHFD (or other software) does not know how to parse that block, it
must stop parsing here and display an error message. If the first
letter is small and software does not know how to parse it, it must
skip and ignore that block.

Second block name letter defines 'author' block if it is capital and
'third-party' block if it is small. 'Author' blocks are blocks defined
by the author of SGHFD. If you want to make your own private block
extension to DIF, you must keep second letter small to ensure it will
not conflict with future SGHFD versions.

Third block name letter defines 'safe to copy' block if it is capital
and 'unsafe to copy' block if it is small. When processing DIF file
to include it into other DIF file, or when modifying DIF file someway,
blocks marked with small third letter ('unsafe to copy' blocks) which
are not known by the processing software must not be processed, and must
be thrown out.

Common blocks currently known by SGHFD:
'dIFC' - DIF comment in RTF (Rich Text Format), multiple dIFC
blocks are joined by SGHFD into single comment

Blocks known by SGHFD for 'SGHA' class phones:
'NORD' - NOR flash data
'nOrR' - NOR reversal (undo) data
'TFSF' - TFS file

4. Starting address in the is the linear address in phone flash.

5. For 'SGHA' class phones, internal NOR flash blocks have 10000h
bytes granularity (not all the blocks, really, but the flasher emulates
10000h granularity where needed). If the NOR block being written is not
granular on start/end, remaining granularity unit data will be read from
the phone itself at the flashing stage. This makes patching a few bytes
pretty easy.

6. 'SPFZ' files are generic SPF DIF files where the block data itself is
compressed with ZLib as a single datastream.