作者cheweichang (夏天就是要游泳 CheWei)
看板Modchip
标题[X360] Xbox360 JTAG 流呈及重点提示
时间Wed Jun 1 13:54:23 2011
[JTAG 流呈]
[0][请先阅读本文件] =>
https://docs.google.com/View?id=dnfmv5h_30dw33vpf4
这份教学为以上文件的中文重点提示,请详细先阅读上方这个文件 。
[1][确认Xbox360主机板型号及系统版本号码]
观察主机後方出厂日期、电源端子、有无HDMI来确认主机版型号。
检查系统版本 的 步骤
1.方向杆向右推到底 => 系统设定 => 按a
图片网址:
http://ppt.cc/m6P9
2.主机设定 => 按a
图片网址:
http://ppt.cc/lxMT
3.方向杆向下推到底 => 系统资讯
图片网址:
http://ppt.cc/l6s2
4.(红匡处的 D: 及 K:表示系统版本号码)
图片网址:
http://ppt.cc/Lp-M
如果你的系统版本不是D:7371则无法JTAG
[2][拆机焊NAND焊点] =>
http://tinyurl.com/3vgtdwz
请先「不要」焊JTAG跳线, 建议在7个接点使用杜邦针脚,使用杜帮线和你的LPT
或USB SPI 连接。(方便未来维护)
建议使用USB SPI Flasher 速度比LPT快好几倍(16MB LPT:45分 vs USB:4分 )
USB SPI Flasher 可以用 PIC18F2455 制作(无用的PS3电子狗可回收再利用)
详细制作过程请参考以下网页
http://dev360.wikia.com/wiki/USB_Nand_SPI_Flasher#What.27s_this_.3F
[3][Dump完整NAND检查CD、CB版本]
请一定要始用 nandpro20b 这个版本 (nandpro20e有些参数写法改变了)
多Dump几次(至少三次)使用以下指令来比对档案
Windows : fc nand1.bin nand2.bin /b
Linux : diff nand1.bin nand.bin -c
当nand1.bin nand2.bin 有相异时请重新Dump
Dump出完整NAND後,用360 Flash Tool来检查CD CB版本
版本不符合请直接跳至[8]
[4][焊JTAG跳线]
Xenon =>
http://i.imgur.com/U93J1.jpg
其他机种 =>
http://www.boxxdr.com/boxxdrjtag.html
注意:Zephyr 没有 DB1F1 alternate 接点
(请用 正面DB1F1 或背面 FT1U2)
[5][将XeLLous image 加入 KV 後写入NAND]
nandpro nand1.bin: -r16 kv.bin 1 1
nandpro Zephyr.xellous.smc.bin: -w16 kv.bin 1 1
nandpro usb: -w16 Zephyr.xellous.smc.bin 0
[6][开机取得CPUKEY DVDKEY]
做完[5]後一定要拔掉电源至少等一分钟後再开机。
用相机照张相或用网路连进去记下你的CPU KEY 等等会用到!
[7][freeBOOT_ToolBox_Maker制作Freeboot image并写入NAND]
****这一步很重要,尤其是对非Xenon机种
用smc_io patch smc.bin
Windows:smc_io Zephyr.smc.bin smc.bin CC 28 C0 03
Linux:./smc_io Zephyr.smc.bin smc.bin CC 28 C0 03
注意请一定要使用符合自己机种的smc.bin( ____.smc.bin _____表示你的机型 )
执行freeBOOT_ToolBox_Maker 填入 CPU KEY
选择机型
Creating a custom freeBoot 打勾
按下Generate freeBOOT後选择一开始原始DUMP的nand1.bin
进度条跑到88%时会有一个Messagebox弹出,****先「别按」确定。
此时会有一个档案总管跳出
将fix过的smc.bin 放入 Temp\freeBOOT\data\ 资料夹内 取代原本的smc.bin
按确定
这样你就制作好 freeBOOT.bin
用nandpro usb: -w16 freeboot.bin 写入 NAND
PS.你也可以开进Linux写入NAND,或用XeLLous写入。
拔掉电源至少等一分钟後再开机。
[8][装机]
都没问题的话就装机了。
开机测试。
[9][FAQ及故障排除]
[1]FreeBoot 和 Xbreboot有什麽不同?
a. 二者都是rebooter,freeboot可刷再第二个NAND(使用xD卡)
xbreboot不支援第二个NAND。
b. freeboot需要有CPU key才能安装,xbrboot只要有raw kv dump 和 raw config dump
就能安装。
c. xbreboot目前已不再维护(也就是不会再出新版啦!),freeboot一直都有出新版。
d. xbreboot的安装步骤比freeboot简单
[2]Xell / XeLLous是什麽?
他们是一种Linux Loader,可以用来启动Linux和取得CPU key。
[3]NAND被我刷坏了怎麽办?(萤幕没画面亮一红灯)
且我的LPT/USB SPI 一直无法读取和写入
(我真的有刷坏,好佳在救回来了)
我发现了三种方法,我用第(3)个成功的
(1)
先变压器拔插头
将NAND Flash 的 pin 44~47 短路 (可以用眼钟用的一字起子按住不放)
变压器插回去
NAND Flash pin 44~47 通路 (放开一字起子)
将NAND刷回( 执行 nandpro usb: -w16 nand1.bin )
请见下图
http://www.team-xecuter.com/forums/showthread.php?t=52213
(2)
先变压器拔插头
变压器插回去、马上执行 nandpro usb: -w16 nand1.bin
(要再一秒内完成,及乎是同时在做)
(3)
正常开机 => 亮一红灯
执行 nandpro usb: -r16 test1.bin
马上按Ctrl + C 中断程式
正常关机 执行 nandpro usb: -w16 nand1.bin
[4]什麽情况会刷坏NAND且萤幕无画面?
a. 刷了不相容的xbrboot(如主机板是Jasper 你刷Zephyr)
b. 没有把Xell/XeLLous 包入 raw kv dump 就直接刷
[5]软体介绍
nandpro 用来读取/写入NAND的程式
360 Flash Tool 分析NAND dump的工具(可看主机板版本、CB,CD版本)
Build_XeLLous XeLLous NAND制作工具
Jtag tool 刷机整合工具(从DUMP NAND、制作Xell、刷Freeboot一支搞定)
freeBoot ToolBox (freeBoot制作工具)
SMC I/O Config Utility SMC patch工具(Xenon之後的机器都要打这个patch)
[6]E79是?
E79: Dashboard Error (系统轫体错误)
仔细检查JTAG电路,有无焊错、短路。(拿放大镜看、或用数位相机的近拍)
如果你的JTAG电路都接对的话还发生E79,表示你的smc没有patch!
请重新patch过smc.bin重新制作freeBoot.bin後写入NAND
*Xenon不用patch smc.bin,Xenon用的JTAG电路走法与其他机种不一样
(详见[JTAG 流呈]第[7]步)
[7]JTAG线路与SMC的关系
The System Management Controller (SMC) is a 8051 core inside the
Southbridge. It manages the power sequencing, and is always active when the
Xbox 360 has (standby or full) power applied. It controls the frontpanel
buttons, has a Realtime clock, decodes IR, controls temperatures and fans
and the DVDROM tray. It talks with the frontpanel board to set the LEDs.
When the system is running, the kernel can communicate with the SMC, for
example to query the realtime clock, open the dvd-tray etc. This happens
over a bidirectional FIFO (at ea001080 / ea001090). See the XeLL SMC code
for details.
The SMC can read the NAND, because it requires access to a special NAND page
which contains a SMC config block. This block contains calibration
information for the thermal diodes, and the thermal targets etc. The 8051
core has access to NAND registers, which are mapped into the 8051 SFRs. It
uses the same protocol as the kernel uses, so it writes an address, does a
"READ" command, and then reads the data out of the "DATA" registers.
It could also do a "READ (DMA)"-command. So by hacking the SMC, we could
make the box do the exploit, without any shader - the SMC can access the NAND
controller all the time, even when the kernel is running (though it will
likely interfere with the kernel). So, we just trigger the DMA read
when the kernel has been loaded, and everything is fine.
jtag电路基本上有三种
1. Xenon 专用电路 (Xell 无需SMC patch)
2. 其他机种用电路 (Xell 可SMC patch 看个人)
3. Blackaddr 改良电路 (Xell 需配合SMC patch )
所以,始用SMC I/O Config Utility可以调整要透过哪个接点去触发 exploit 载入
custom firmware(如xbreboot,XeLLous,freeBOOT)。
我一开就就犯了这个错 ,smc.bin 没 patched 无法进入 XeLLous 此时画面会显示E79
[JTAG懒人包]
http://www.xun6.com/file/0bee8cda2/xbox360_jtag_pack.zip.html
http://www.zshare.net/download/90861644e4a62a63/
nandpro20b/ NandPro20b
nandPro_xflasher_driver/ USB SPI Flasher 驱动程式
port95nt/ LPT控制软体
smc_io/ SMC I/O Config Utility
XeLLous SMC Pathced/ XeLLous image 及 _____.smc.bin
PicXFlash_V3/ USB SPI Flasher 编译过的.hex .bin
360 Flash Tool.exe 360 Flash Dump Tool
freeBOOT_ToolBox_Maker26.exe freeBOOT_ToolBox_Maker
usb_spi1.png USB SPI Flasher 电路图
usb_spi2.jpg USB SPI Flasher 电路图
[参考网站]
https://docs.google.com/View?id=dnfmv5h_30dw33vpf4
http://bbs.a9vg.com/thread-1421973-1-1.html
http://www.xboxhacker.org/index.php?topic=15254.0;wap2
http://ep-comps.com/free60/
http://www.se7ensins.com/forums/topic/473527-falcon-aud-clamp-jtag-issues/
http://www.free60.org/
-
改完後,我主机刚好就三红了(这台是二手的XD)
请版友用站内信推荐北部不错的维修店家(有BGA reball 设备的那种)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.120.179.172
※ 编辑: cheweichang 来自: 59.120.179.172 (06/01 14:02)
1F:推 cassine:钜细靡遗哪,可惜现在市面上的机器不适用 140.120.31.137 06/01 14:49
2F:→ cheweichang:其实可以Jtag的二手机不难找 59.120.179.172 06/01 14:56
3F:→ cheweichang:很多人都只玩过一、二片游戏就沾灰尘 59.120.179.172 06/01 14:57
4F:推 cassine:..╮(﹋﹏﹌)╭.. PS3是我唯一一台游戏机 140.120.31.137 06/01 15:05
※ 编辑: cheweichang 来自: 59.120.179.172 (06/01 15:51)
5F:推 seanwu422:推,算是很进阶的介绍,厉害202.154.218.253 06/01 15:52
※ 编辑: cheweichang 来自: 59.120.179.172 (06/01 16:45)
6F:推 fuj:收下~可惜机器FW版本不适用... 114.39.108.173 06/01 18:53
7F:推 ilwu:只能推了~..超专业... 59.126.208.147 06/01 20:13
※ 编辑: cheweichang 来自: 59.120.179.172 (06/01 21:16)
8F:→ cheweichang:请站内信推荐北部不错的维修店家y 59.120.179.172 06/01 21:16
9F:推 yeardoss:修三红比改这个简单吧@@ 拆X支架 重上散122.116.170.221 06/01 22:28
10F:→ yeardoss:热膏就好了,水管有完整影片教学122.116.170.221 06/01 22:29
11F:→ cheweichang:我的是bga脱焊了 59.120.179.172 06/01 22:31
12F:→ angusyu:感觉XBOX 360比 PS3 的安全性还要高?是吗? 124.11.244.178 06/24 10:06