爱技术

 找回密码
 注册会员

QQ登录

只需一步,快速开始

微信登录

微信扫一扫,快速登录

搜索
楼主: coollang
收起左侧

【专题文章】西门子Flash修改入门

[复制链接]
发表于 2005-8-9 00:20:00 | 显示全部楼层
呵呵,本来是“橄榄树男朋友”的,后来怕犯众怒,只好加了了几个字,以示立场!
狼大见笑了!!呵呵!要不改成“狼大的手下”!或跟班???
发表于 2005-8-9 00:21:00 | 显示全部楼层
天书。。。。。。。。。。。。。。
发表于 2005-8-9 00:22:00 | 显示全部楼层
好,太好了!
发表于 2005-8-9 00:23:00 | 显示全部楼层
如何寻找西门子菜单的入口地址

此为RizaPN宗师所写,为英文,我不想翻译了,因为想作PATCH修改的人应该懂得E文。希望对大家有所帮助。

Siemens Entry Point (for Menu Items)   

I want to share this with all of you, who really like to read the Siemens full flash file. It is about to check the entry point for each menu items. Of course this is not the only or the best way, it just based on my experience, hope it is usefull for others.

1) Create your own language pack with its own index the beginning of each string. Refer to SkyLord software output (lgp file), modify all String xxx, "teks" to become String xxx, "xxx.teks". Use this as your menu language. Using this package, you will see, each menu items with their string index. Most of text-display function inside the flash use index as their parameter.

2) Take a look for a single menu. For example, Organiser menu (I use SL45v56 as an example). The sequence of their items index are : 014.Addressbook, 23B.SIM Location, 159.Calendar, 29C.Appointments ... 128. Help. These index are saved in the flash file in this format :
w00 w01 wIdx02 wIdx03 w04 w05 w06 w07 w08
w10 w11 wIdx12 wIdx13 w14 w15 w16 w17 w18

w00..w08 is data (word format, lo-byte,hi-byte) for the 1st menu item, w10..w18 for 2nd item ...

wIdx02 is the string index of menu item, 0014 (saved as 14 00 in the flash) for Addressbook, 023B for SIM Location, etc.

wIdx03 is the string index of menu item in Big Letter mode, 0013 for Addressbook, 080D for SIM Location, etc.

3) Search inside the flash file, the sequence of one wIdx2 and wIdx3 (index of menu item in normal mode and Big Letter mode). For example, search for 14 00 13 00 to find Addressbook menu item string index location.

4) The location of w00 of the 1st menu item (for ex. Addressbook in the Organiser menu), is saved in the flash together with the address of their function entry-point and the number of menu items.

For example, 14 00 13 00 for Addressbook is found at address 0x1A07E4 and the other format is match (wIdx12 wIdx13 are values 3B 02 0D 08 ...), it means the w00 address for Organiser menu is : 0x1A07E4 - 4 = 0x1A07E0

0x1A07E0 in the file is equal with the address 0xBA07E0 in the flash (base address for SL4x is 0xA00000), and recognized with this format : 02E8:07E0 ... 2E8 is BA07E0 div 4000 and 07E0 is BA07E0 mod 4000.

Search for that address (02E8:07E0 => E0 07 E8 02) in the location near the address of w00. The following 4 bytes (after those address bytes) are subroutines/functions address, and the word after that is the number of menu items.

Let's assume that we found : 94 08 E8 02 0A 00 as the bytes after those (E0 07 E8 02) bytes, then we know that : 02E8:0894 is the location of each subroutine, and 000A is the number of menu items.

5) Check the subroutine location, and we should found this format :
B03 B02 B01 B00 B13 B12 B11 B10 ...

B03..B00 is the address of the 1st menu item function/subroutine.
If it is : 3C EF DB 00 => then the entry point of that menu item is 00DBEF3C.

====================

6) Almost all string are called by their index. Sometimes, also usefull if we search their location in the flash by this byte sequence :

E6 F? ib2 ib1 ... => mov r?, ib1ib2

for example : E6 FC 14 00 for mov r12, 0014

7) Some of string are called indirectly. Their index is saved in the flash, and the function use that location as their parameter. Some of them use this format :

ib2 ib1 FF 7F

to save index ib1ib2 in the flash.

Allaaahu Akbar,
RizaPN
发表于 2005-8-9 00:24:00 | 显示全部楼层
我收藏了!谢谢狼大!
发表于 2005-8-9 00:25:00 | 显示全部楼层
写的真好,基本可以看懂。

不过,如果自己写的代码,会不会影响手机本身的中断的产生?例如,有电话进来或者有短消息进来,如果这些事件的中断被屏蔽了,那就麻烦大了。

要是能够把自带的几个游戏删除了,多余的空间可以做很多事情了,至少可以打上不少补丁而不会相互冲突了。
发表于 2005-8-9 00:26:00 | 显示全部楼层
好,太好了!
发表于 2005-8-9 00:27:00 | 显示全部楼层
上面的软件怎么不汇总啊
发表于 2005-8-9 00:28:00 | 显示全部楼层
以下是引用JunXlee在2004-1-8 15:00:42的发言:
上面的软件怎么不汇总啊

6688的软件汇总里也有啊
新手上路的置顶铁子里有软件帖子入口!
发表于 2005-8-9 00:29:00 | 显示全部楼层
好好学习!
发表于 2005-8-9 00:30:00 | 显示全部楼层
感谢前辈们,我的毕设资料找基本全了,就差一款西门子手机的电路图了,哪个大哥大姐给个真正好用的a55或2128电路图?拜托了!!!
发表于 2005-8-9 00:31:00 | 显示全部楼层
谢谢。正苦于没事做呢
正好可以好好研究一下,把我大一大二落下的课程都在这个期间补上。
发表于 2005-8-9 00:32:00 | 显示全部楼层
准备打印出来,放在枕头边!!
发表于 2005-8-9 00:33:00 | 显示全部楼层
我看这些资料越看月兴奋
发表于 2005-8-9 00:34:00 | 显示全部楼层
快快收藏
发表于 2005-8-9 00:35:00 | 显示全部楼层
不少有研究技术欲望的机友可是多么盼望着这样一篇文章呀。
发表于 2005-8-9 00:36:00 | 显示全部楼层

支持coollang无私的奉献

我是业余编程者,钦佩酷狼的风范。
[glow=255,red,3]只有理论的深入,才有坛上patch及flash的热力和光芒![em11]
发表于 2005-8-9 00:37:00 | 显示全部楼层
[glow=255,red,2]只有理论的深入,才有坛上patch及flash的热力和光芒!
发表于 2005-8-9 00:38:00 | 显示全部楼层
这些文件怎么都下不来啊,哪位有心发送到mauf@163.com啊?谢谢了,都是一条战壕地兄弟啊
发表于 2005-8-9 00:39:00 | 显示全部楼层
看了两个钟头,有点感觉,还没下软件呢,下去。
您需要登录后才可以回帖 登录 | 注册会员 微信登录

本版积分规则

小黑屋|Archiver|手机版|爱技术 ( 沪ICP备08115260号-3 )

GMT+8, 2024-5-30 18:49

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表