|
.ISO
|
 |
« Reply #20 on: March 22, 2009, 01:01:43 PM » |
|
Planning to release it soon?
|
|
|
|
|
Logged
|
you wish gigaturd, as if you even know how to tell the difference between a disassembler and your vagina
Gigabite: A fool who think he is always right, and talk about how useless others are when he is really addressing to himself. Gigabite agreeing with the statement: p.s nice comment in your sig
|
|
|
|
ddl
|
 |
« Reply #21 on: March 22, 2009, 03:01:52 PM » |
|
Planning to release it soon?
Yes. Just want to do some code cleanup and add some comments etc first. Though I could release some beta binaries first if someone is interested in trying.
|
|
|
|
|
Logged
|
|
|
|
|
itsfakemon
|
 |
« Reply #22 on: March 22, 2009, 04:01:42 PM » |
|
maybe we can then flash drives using linux on 360?
|
|
|
|
|
Logged
|
excuse me, I'm French...
|
|
|
|
n00bpwner360
|
 |
« Reply #23 on: March 22, 2009, 07:07:54 PM » |
|
Well that would be pointless because you need the drive flashed before you can launch Linux on the 360.
|
|
|
|
|
Logged
|
yeah lowering the default reading speed from 12x to let's say 5x, would really let GTA4 (or any of your games) benefit from way less popups and loading times.
|
|
|
|
.ISO
|
 |
« Reply #24 on: March 22, 2009, 07:38:15 PM » |
|
But hey, another points goes to functionality under Linux for the Xbox 360 
|
|
|
|
|
Logged
|
you wish gigaturd, as if you even know how to tell the difference between a disassembler and your vagina
Gigabite: A fool who think he is always right, and talk about how useless others are when he is really addressing to himself. Gigabite agreeing with the statement: p.s nice comment in your sig
|
|
|
|
ddl
|
 |
« Reply #25 on: March 23, 2009, 05:48:35 PM » |
|
I made a release build today. I still want to do some more work on the code before I release it. Anyway... Feel free to try it out! If you try it I would be glad if you could leave me some feedback. Thanks! Statically linked 32-bit version: http://www.sendspace.com/file/0w7nmrStatically linked 64-bit version: http://www.sendspace.com/file/bpca23Quoted from the README in the archives:
DISCLAIMER: THESE PROGRAMS ARE RELEASED AS IS. USING THESE TOOLS MAY DAMAGE YOUR COMPUTER AND/OR XBOX 360 DRIVE. I TAKE NO RESPONSIBILITY WHATSOEVER.
Steps needed to flash your Xbox 360 Liteon drive:
1) Connect the Liteon drive to your computer and power it up using your 360 or a connectivity kit.
2) Extract the drive key.
You might have to eject your drive tray and leave it half way out for this to work on drives with original firmware.
host:~>./liteon_keyext -h liteon_keyext v1.0 by ddl. Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).
Usage: ./liteon_keyext [options] <ATA command base> <serial device> [output dir]
Options: -h Displays this text. -n <times> Times to extract the key. (default: 6)
This program needs to be run as root since we are going to do port I/O with outb(), outw(), inb() and inw().
BE SURE TO ENTER THE CORRECT ATA COMMAND BASE FOR YOUR DRIVE!
host:~>sudo ./liteon_keyext 170 /dev/ttyUSB0 drive1 liteon_keyext v1.0 by ddl. Key extractor for the Xbox 360 LiteOn drive (PLDS DG-16D2S).
Using ATA command base: 0x0170 Using serial device: /dev/ttyUSB0
Attempting to extract the key 6 times...
Attempt 1: EE B6 XX XX XX XX XX XX XX XX XX XX XX XX C6 C6 Attempt 2: EE B6 XX XX XX XX XX XX XX XX XX XX XX XX C6 C6 Attempt 3: EE B6 XX XX XX XX XX XX XX XX XX XX XX XX C6 C6 Attempt 4: EE B6 XX XX XX XX XX XX XX XX XX XX XX XX C6 C6 Attempt 5: EE B6 XX XX XX XX XX XX XX XX XX XX XX XX C6 C6 Attempt 6: EE B6 XX XX XX XX XX XX XX XX XX XX XX XX C6 C6
Sending identify request to drive... Sending inquiry request to drive... Extracting serial information from drive...
DVD Label: D60XXXXXXXXXXXXA1 OPT Label: 8F2XXXXXXXXXX4XX PCB Label: S4P8XXXXXXXXXXXX82 HW Ver : A0A1
Wrote file: drive1/key.bin Wrote file: drive1/identify.bin Wrote file: drive1/inquiry.bin Wrote file: drive1/dummy.bin
host:~>
3) Patch iXtreme firmware.
host:~>./ixfw_patch ixfw_patch v0.1b by ddl. iXtreme (LiteOn) firmware patcher.
WARNING!! THIS PROGRAM DOES NOT PERFORM ANY VALIDITY CHECKS AND HAS ONLY BEEN TESTED WITH IXTREME 1.51 LITEON FIRMWARE.
Usage: ./ixfw_patch <dummy file> <ixtreme file> <output file>
host:~>./ixfw_patch drive1/dummy.bin fw/ix151-liteon.bin drive1/patched_ix151.bin ixfw_patch v0.1b by ddl. iXtreme (LiteOn) firmware patcher.
WARNING!! THIS PROGRAM DOES NOT PERFORM ANY VALIDITY CHECKS AND HAS ONLY BEEN TESTED WITH IXTREME 1.51 LITEON FIRMWARE.
Writing patched firmware: drive1/patched_ix151.bin Success!
host:~>
4) Erase drive firmware.
BEFORE YOU DO THIS YOU HAVE TO BE SURE YOU HAVE YOUR DRIVE KEY SAVED SOMEWHERE.
host:~>./liteon_erase -h Usage: ./liteon_erase [options] <ATA command base>
Options: -h Displays this text.
host:~>
host:~>sudo ./liteon_erase 170 liteon_erase v1.0 by ddl. Firmware eraser for the Xbox 360 LiteOn drive (PLDS DG-16D2S).
Status: 0xD0
host:~>
You should be okay if you get status 0xD0, 0x72, 0x80, 0xD1 or 0xF2.
No matter what status you get you should power cycle your drive and try to flash it. If mtflash fails to enter vendor mode you should repeat the the erase procedure.
5) Flash the patched firmware.
host:~>./mtflash -h mtflash v0.1b by ddl. Firmware flasher for drives with MT13x9 chips.
Usage: ./mtflash [options] <r|R> <ATA command base> <output file> ./mtflash [options] <w|W> <ATA command base> <input file> ./mtflash [options] <e|E> <ATA command base>
Options: -h Displays this text. -p <0|1> Drive position. 0 for master, 1 for slave. (default: 0) -d <usec> Delay (usec) before each status reg read. (default: 50) -l List supported flash chip types.
host:~>
Currently only writing is implemented!
host:~>./mtflash -l
Name Vendor ID Device ID Size Type -------------------------------------------------------------------------------- MXIC/Macronix(MX25L2005) 0xC2 0x11 262144 Serial Winbond/NEX(W25P20/W25X20/NX25P20) 0xEF 0x11 262144 Serial
host:~>
These are the two flash chips found in the PLDS DG-16D2S drive.
host:~>sudo ./mtflash w 170 drive1/patched_ix151.bin mtflash v0.1b by ddl. Firmware flasher for drives with MT13x9 chips.
Sending MTK vendor intro... OK! Reading flash vendor and device ID... OK!
Name: MXIC/Macronix(MX25L2005) Vendor ID: 0xC2 Device ID: 0x11 Size: 4 banks (262144 bytes) Type: Serial
Writing bank 0 ................ OK! Writing bank 1 ................ OK! Writing bank 2 ................ OK! Writing bank 3 ................ OK!
Flash read-back checksum (datasum): 0xEAD4
Flash write successful!
Sending MTK vendor outro... OK!
host:~>
mtflash will verify that all bytes has been written correctly. This is done in the writing procedure.
If mtflash fails to enter vendor mode you should try to erase the drive again and power cycle it. If flashing fails during writing you could try adjusting the delay before status register reads (-d option).
What about other drives?
BenQ ---- mtflash could probably be adapted to support the Xbox 360 BenQ drive quite easily since it also has an embedded SPI flash chip. Though, I would need a BenQ drive to do that...
Samsung ------- Implementing support for the Samsung drive would require some more time since it has an embedded Parallel flash chip instead of a serial flash. Anyway... Nothing is impossible...
Hitachi ------- The Hitachi drives would require completely different methods. I think SeventhSon has done some work in this area...
Feel free to contact me if you have any questions, comments or a spare drive laying around that you would like to donate to science 
--
mail: REMOVED FROM FORUM POST irc: #xbox360tools @ efnet
|
|
|
|
|
Logged
|
|
|
|
|
.ISO
|
 |
« Reply #26 on: March 23, 2009, 06:23:13 PM » |
|
OH I love you
|
|
|
|
|
Logged
|
you wish gigaturd, as if you even know how to tell the difference between a disassembler and your vagina
Gigabite: A fool who think he is always right, and talk about how useless others are when he is really addressing to himself. Gigabite agreeing with the statement: p.s nice comment in your sig
|
|
|
|
modrobert
|
 |
« Reply #27 on: March 25, 2009, 11:29:11 AM » |
|
Cool! BTW: I thought you wanted to clean the code up a bit before release?  Anyway, see you in #xbox360tools. EDIT: How silly of me, I realize now you meant the source code release.
|
|
|
|
« Last Edit: March 25, 2009, 12:58:07 PM by modrobert »
|
Logged
|
|
|
|
|
d05register
|
 |
« Reply #28 on: March 26, 2009, 08:36:44 PM » |
|
Great work!!!
Will you release the source code too???
|
|
|
|
|
Logged
|
|
|
|
|
GhaleonX
|
 |
« Reply #29 on: March 26, 2009, 09:14:45 PM » |
|
I wonder how easily this could be ported to OSX, since it's got so much unix stuff already. Any plans?
|
|
|
|
|
Logged
|
|
|
|
|
k0mpresd
|
 |
« Reply #30 on: March 26, 2009, 11:07:11 PM » |
|
32 bit doesnt work on my phone. terminal emulator complains of a syntax error.  edit: wait, i know why it doesnt work. ...
|
|
|
|
« Last Edit: March 27, 2009, 01:59:18 AM by k0mpresd »
|
Logged
|
|
|
|
|
ddl
|
 |
« Reply #31 on: March 27, 2009, 01:56:46 PM » |
|
Hi all, I realize an important part was left out since I previously only released binaries... The credits and respect to all of those who made these tools possible. Currently they are only stated as comments in the code and they are not visible in the binary-only release. As most of you probably understand I did not come up with all these methods myself. My work is based on the following programs and their authors deserve a lot of respect. I'm sorry that I forgot to add their names to the README file before I built and released the binaries. DVDKey32 v0.8.1: Geremia, C4eva, Podger, Seventhson Firmtool v1.3.1: Caster420 DosFlash v1.7: Geremia, Modfreakz, Kai Schtrom JungleFlasher v0.0.43b: Team Jungle Drive Serial Dummy.Bin Fixer: GiampyXBS, Oggy
... and anyone I might have forgot.
|
|
|
|
|
Logged
|
|
|
|
|
duggyuk
|
 |
« Reply #32 on: March 27, 2009, 06:49:27 PM » |
|
thank you VERY much for the linux tool. Sick of windows and now I dont have to use it!  Any distro is fine, as long as you use KDE (instead of gnome) 
|
|
|
|
|
Logged
|
|
|
|
shagnasty
Newbie

Posts: 2
|
 |
« Reply #33 on: March 29, 2009, 07:51:51 PM » |
|
Thanks ddl for making this. I was wondering if you guys can help me though. I am a total linux noob. I have ubuntu dual booted with my vista 64, I have the 64 static build and I got ubuntu running. What do I do now. I can open the readme file but I cant open the other files.
|
|
|
|
|
Logged
|
|
|
|
|
ddl
|
 |
« Reply #34 on: April 01, 2009, 03:49:53 PM » |
|
Thanks ddl for making this. I was wondering if you guys can help me though. I am a total linux noob. I have ubuntu dual booted with my vista 64, I have the 64 static build and I got ubuntu running. What do I do now. I can open the readme file but I cant open the other files.
Hi, What do you mean by opening the other files? Are you trying to execute them? What kind of error messages are you getting?
|
|
|
|
|
Logged
|
|
|
|
|
ddl
|
 |
« Reply #35 on: April 05, 2009, 05:28:45 AM » |
|
Hi all, I fixed some stuff in mtflash and the README file. This release will probably help you if you have had problems flashing with mtflash. Quoted from ReleaseNotes.txt in the archives: ------------------------------------------------------------------------------- build_20090405 -------------------------------------------------------------------------------
Included programs:
liteon_keyext 1.0 ixfw_patch 0.1b liteon_erase 1.0 mtflash 0.2b
* mtflash: Removed delay dependency during flash write. Flash status register is now used to determine when to proceed. * README: Updated mtflash version. * README: Added information on how to find your ATA cmd base.
Statically linked 32-bit version: http://www.sendspace.com/file/3o9cz4Statically linked 64-bit version: http://www.sendspace.com/file/53fu5r
|
|
|
|
|
Logged
|
|
|
|
w4feh
Newbie

Posts: 2
|
 |
« Reply #36 on: April 05, 2009, 11:20:06 AM » |
|
thank you for this beautiful tool ! i patched my drive from 1.5 to 1.51 successful. w4feh@w4feh-desktop:~/Desktop/xbox360tools_linux_x86_32_static_build_20090405$ ./ixfw_patch key/dummy.bin ix151-liteon.bin patched_ix151.bin ixfw_patch v0.1b by ddl. iXtreme (LiteOn) firmware patcher.
WARNING!! THIS PROGRAM DOES NOT PERFORM ANY VALIDITY CHECKS AND HAS ONLY BEEN TESTED WITH IXTREME 1.51 LITEON FIRMWARE.
Writing patched firmware: patched_ix151.bin Success!
w4feh@w4feh-desktop:~/Desktop/xbox360tools_linux_x86_32_static_build_20090405$ sudo ./liteon_erase d800 [sudo] password for w4feh: liteon_erase v1.0 by ddl. Firmware eraser for the Xbox 360 LiteOn drive (PLDS DG-16D2S).
Status: 0x80
w4feh@w4feh-desktop:~/Desktop/xbox360tools_linux_x86_32_static_build_20090405$ sudo ./mtflash w d800 patched_ix151.bin mtflash v0.2b by ddl. Firmware flasher for drives with a MT13x9 chip.
Sending MTK vendor intro... OK! Reading flash vendor and device ID... OK!
Name: Winbond/NEX(W25P20/W25X20/NX25P20) Vendor ID: 0xEF Device ID: 0x11 Size: 4 banks (262144 bytes) Type: Serial
Writing bank 0 ................ OK! Writing bank 1 ................ OK! Writing bank 2 ................ OK! Writing bank 3 ................ OK!
Flash read-back checksum (datasum): 0x058E
Flash write successful!
Sending MTK vendor outro... OK! when you publish the source?
|
|
|
|
« Last Edit: April 05, 2009, 12:34:11 PM by w4feh »
|
Logged
|
|
|
|
|
ddl
|
 |
« Reply #37 on: April 05, 2009, 11:43:10 AM » |
|
No need to quote
I'm glad to see that it works for you I still have some more stuff I would like to fix in the code before I release it.
|
|
|
|
« Last Edit: May 01, 2009, 12:51:24 PM by Redline99 »
|
Logged
|
|
|
|
alexinfurs
Newbie

Posts: 2
|
 |
« Reply #38 on: April 18, 2009, 07:45:30 PM » |
|
It works for me! thank you! But... it works for me just on Ubuntu.. On Arch Linux, i have a "freeze" just after get the key (don't get inquiry, identify and the other stuffs and, of course, no file has created) I have tested on the home partition (ext4) and on the ubuntu partition (ext3) with or without X.. I think it's just a libs error  ehm... another question, do you release a source code?? Great Work! Bye alexinfurs
|
|
|
|
|
Logged
|
|
|
|
w4feh
Newbie

Posts: 2
|
 |
« Reply #39 on: May 01, 2009, 12:48:00 PM » |
|
Any update in progress ?
|
|
|
|
|
Logged
|
|
|
|
|