XboxHacker BBS
November 20, 2009, 05:29:03 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: SMF - Just Installed
 
   Home   Help Search Login Register  
Pages: 1 2 3 »
  Print  
Author Topic: KingKong+Linux SDA loader- Single DVD bootdisk  (Read 20276 times)
Icekiller
Hacker
***
Posts: 79


View Profile
« on: January 12, 2008, 11:34:34 AM »

Well seeing as all the Linux @ xbox360 users are here... I’ll post it here first.

I was getting sick of changing the KingKong dvd with the SDA loader DISC..
So I went hunting for the possibility to have 1 single dual layer DVD to do all my bidding...
After annoying Ssmurf on IRC he said it is very well possible but the only problem was that the dvd was in 'game' mode and needed to change to regular mode.

Then I searched around and got the basic readcd codehttp://free60.cvs.sourceforge.net/free60/xell/readcd(thx Tbminc for the good notes @ code Wink).

I also got a hold of the "close tray" PPC code...

After experimenting with a few possibilities, increasing the time etc... We (ssmurf & I) found out that the disc doesn't exactly 'needs' to eject.
The Dvdrom drive just needs to get the instruction to eject. So basically the Tray stays closed (cool!).

We compiled the code at an Xbox360 itself (tutorial is on free60 http://www.free60.org/wiki/Readcd).

After this we hexed in the SDA loader @ 0x00 because the Xbox360 ignores it anyway... (Hacked drive of course..)



What you need:
Vulnerable Kernel: versions 4532 and 4548
Xbox360 Dvd drive with patched firmware.
The new shader: released in the shaderform(loadfromdvd.bin)
Xorloser tools: kkpatcher.
Kingkong Game (first 1)
winhex
XELL-Bootloader-sda2-v2.6.21.1.iso (maybe there will be another one by the time this guide is posted...)


First backup your KingKong game with XBC, we'll name it KingKong.iso

 
After that we use the kkpatcher to patch our newly formed shader into the KingKing.iso(in dos):
kkpatcher kingkong.iso loadfromdvd.bin

You will see successful or something..

Hex Editing the xell boot loader sda2:
now start winhex, make sure you have more than 7,5 gb free on your C drive (winhex makes a tempfile..)
open KingKong.iso then open XELL-bootloader-sda2-v2.6.21.1.iso.

go to XELL-bootloader-sda2-v2.6.21.1.iso, control+a (select all), then Control+c (right click:edit->copy block->Normally).
Now go to KingKong.iso !!VERY IMPORTANT DON'T CONTROL+V!! First go to address 0 (alt+G).
Now go to Edit->Clipboard Data->WRITE.
Now go to file save just to be sure..
Burn with XBC and your done..



Just to be clear I maybe went through the motions but Ssmurf did all the hard work.. for which I’m grateful no more getting up to change the disc! Wink

has been tested on a xbox360 with a Samsung & Hitachi 47DJ with older xtreme versions. But seeing as you won't go on live anymore..




download link:
http://rapidshare.com/files/83248474/DL-DVD-boot-Icekiller_smurf_Kit.rar.html
http://www.megaupload.com/?d=94S7ARWD
   
Logged
welly_59
Hacker
***
Posts: 54


View Profile
« Reply #1 on: January 12, 2008, 05:26:03 PM »

i dont post here much so bear with me...

if i do this i will be able to boot into linux with one dvd?

Logged
Icekiller
Hacker
***
Posts: 79


View Profile
« Reply #2 on: January 12, 2008, 07:01:09 PM »

yeah..
BUT you need to have Linux installed on your xbox 360..

so first use KingKong with the normal shader & the gentoo live cd install debian or ubuntu like explained here:
Install it to harddisk (optional)

Guide: http://forums.xbox-scene.com/index.php?showtopic=595543

Debian etch install Script: http://www.free60.org/wiki/Debian-etch (Recommended)

Ubuntu 7.04 install Script: http://www.free60.org/wiki/Ubuntu7.04

after you have done that,

Use kingkong with 'my' shader...
put dvd in and play start and it boots linux from your xbox360 hd...without changing discs or the tray opening at all..
Logged
atiman
Hacker
***
Posts: 89


View Profile
« Reply #3 on: January 13, 2008, 04:05:20 AM »

Very good for hdd owners! Thanks a lot!
(I will think about purchasing one now... hehe)
Logged
arnezami
Master Hacker
****
Posts: 212


View Profile
« Reply #4 on: January 13, 2008, 05:00:53 AM »

This is very nice Smiley.

If im reading it correct you added a little more waiting

Code:
/* wait a bit */
lis %r3, 0x1000
mtctr %r3
1:
bdnz 1b


retry:

/* wait a bit */
lis %r3, 0x1000
mtctr %r3
1:
bdnz 1b

And in the waitready function you added the close tray code right?

Code:
waitready:
/* code added by Ssmurf & Icekiller */
/* close tray using SMC command */
lis %r3, 0x4000
stw %r3, 0x1084(%r4) /* start command */
lis %r3, 0x8b62 /* smc command 8b62 -> close tray */
stw %r3, 0x1080(%r4)
stw %r6, 0x1080(%r4)
stw %r6, 0x1080(%r4)
stw %r6, 0x1080(%r4)
stw %r6, 0x1084(%r4) /* end command */

lbz %r3, 0x1207(%r4)
rlwinm %r3, %r3, 0, 24, 25
cmpwi %r3, 0x40
bne waitready
lbz %r3, 0x1207(%r4)
rlwinm. %r3, %r3, 0, 31, 31
bne request_sense
blr

So what you're doing is opening and closing the tray very fast. And this gets it out of game mode. Right?

Regards,

arnezami
Logged
Icekiller
Hacker
***
Posts: 79


View Profile
« Reply #5 on: January 13, 2008, 05:53:09 AM »

yip the dvd drive doesn't even have time to 'open' because it already received the close signal Wink

the extra wait code is only on retry ..
« Last Edit: January 13, 2008, 06:49:55 AM by Icekiller » Logged
jb0007
Member
**
Posts: 35


View Profile
« Reply #6 on: January 13, 2008, 12:09:06 PM »

What you need:
Vulnerable Kernel: versions 4532 and 4548
Xbox360 Dvd drive with patched firmware.


But, is possible with demo of king kong without  Dvd drive with patched firmware?
Anyone have demo taked from live?
He can try?
Logged
jz_5_3
Hacker
***
Posts: 87


View Profile
« Reply #7 on: January 13, 2008, 12:43:17 PM »

I hope the linux kernel does not have to be contained in kingkong disc. This pre-compiled kernel does not work for everybody, as least for me. I have to change xenon fb driver as my component cable has overscan problem on my lcd. also, someone might want to customized the kernel as well, which is impossible with this approach.
Logged
stonersmurf
Global Moderator
Master Hacker
*****
Posts: 163


View Profile
« Reply #8 on: January 13, 2008, 02:27:04 PM »

I hope the linux kernel does not have to be contained in kingkong disc. This pre-compiled kernel does not work for everybody, as least for me. I have to change xenon fb driver as my component cable has overscan problem on my lcd. also, someone might want to customized the kernel as well, which is impossible with this approach.
Shouldn't be a problem. Just use ultraiso and replace the kernel on the iso I created..
« Last Edit: January 13, 2008, 02:45:33 PM by stonersmurf » Logged
kwkard
Newbie
*
Posts: 2


View Profile
« Reply #9 on: January 13, 2008, 04:54:09 PM »

Awesome work! Grin Works perfectly here. Although my dvd tray does eject and gets about half way out before closing. Tested using a Hitachi drive.
Logged
Icekiller
Hacker
***
Posts: 79


View Profile
« Reply #10 on: January 14, 2008, 04:27:20 AM »

I setuped my box with auto boot game if it is in the dvd drive
 
0secs   poweron
29secs to boot to 'start' game
34secs to be able to press start (before the USB control is detected, should be faster with an xbox 360 remote control)

51secs for Xell to start the count down.



Logged
dr.invisible
Member
**
Posts: 10


View Profile
« Reply #11 on: January 17, 2008, 07:38:00 AM »

hey thx for your work im enjoying myself now:) its been a while since ive been here so im kinda outdated. i remember some time ago some guys here were working on a repack/resign app for the arcade games. with the new progress in booting linux how hard will it be to implement the shader stuff and linux loader in a arcade game so we could just run this from games library?
Logged
Arakon
Administrator
Xbox Hacker
*****
Posts: 5184


View Profile
« Reply #12 on: January 17, 2008, 01:06:30 PM »

that would only sign the user part of it, but since the arcade games themselves are signed with the 2048 bit key, you couldn't run your own code or modified xexs that way.
Logged

I do NOT give support by email, PM, ICQ or whatever. Anyone annoying me that way will have his balls removed. With a rusty butterknife. Slowly. And I'll enjoy doing it.
litium
Member
**
Posts: 16


View Profile
« Reply #13 on: January 26, 2008, 09:05:27 PM »


[...]
has been tested on a xbox360 with a Samsung & Hitachi 47DJ with older xtreme versions. But seeing as you won't go on live anymore..
[...]


I'm using this boot disk without problem on a 4532 X360/Hitachi DVD/WD120Gb HD but I cannot have the same disk to boot on a 4548 X360/Samsung m25 DVD/ same WD120Gb HD.

Anyone else experienced problems with the samsung drive or with a 4548 box?

Thanks
L


Logged
Icekiller
Hacker
***
Posts: 79


View Profile
« Reply #14 on: January 26, 2008, 09:07:29 PM »


[...]
has been tested on a xbox360 with a Samsung & Hitachi 47DJ with older xtreme versions. But seeing as you won't go on live anymore..
[...]


I'm using this boot disk without problem on a 4532 X360/Hitachi DVD/WD120Gb HD but I cannot have the same disk to boot on a 4548 X360/Samsung m25 DVD/ same WD120Gb HD.

Anyone else experienced problems with the samsung drive or with a 4548 box?

Thanks
L




I believe some one on x-s posted something about that.. something was invalid.. i'll see if i can find the link..
Logged
zouzzz
Master Hacker
****
Posts: 219


View Profile
« Reply #15 on: February 02, 2008, 11:58:56 AM »

Hello,
i have a problem for patch the kingkong.bin with kkpatcher :





Do you know why?

Thanks.

ps : i have test with kkpatcher 2.0 and 2.1
« Last Edit: February 02, 2008, 12:10:02 PM by zouzzz » Logged

hello
Icekiller
Hacker
***
Posts: 79


View Profile
« Reply #16 on: February 02, 2008, 12:21:22 PM »

are you sure that the file you have is named loadfromdvd.bin?

does the file loadfromdvd.bin exist in dl-dvd-icekiller_smurf_kit?

LoadFromDVD.bin
should be the file name..

(try it)

owyeah.. you do know that you need to copy your kingkong.iso to that folder right? and name it kingkong.iso ..
« Last Edit: February 02, 2008, 12:25:31 PM by Icekiller » Logged
zouzzz
Master Hacker
****
Posts: 219


View Profile
« Reply #17 on: February 02, 2008, 12:49:52 PM »

are you sure that the file you have is named loadfromdvd.bin?
Yes.
Quote
does the file loadfromdvd.bin exist in dl-dvd-icekiller_smurf_kit?
Yes,
my dl-dvd-icekiller_smurf_kit folder :



Quote
LoadFromDVD.bin
should be the file name..
I test with the name LoadFromDVD.bin :



Quote
owyeah.. you do know that you need to copy your kingkong.iso to that folder right? and name it kingkong.iso ..
I don't understand. My kingkong.iso is in the dl-dvd-icekiller_smurf_kit folder, isn't OK?
Logged

hello
Icekiller
Hacker
***
Posts: 79


View Profile
« Reply #18 on: February 02, 2008, 01:38:30 PM »

guesssing on the pics your using vista? you need to start CMD as  administrator..

or change the owners permissions on all your files..
Logged
zouzzz
Master Hacker
****
Posts: 219


View Profile
« Reply #19 on: February 02, 2008, 01:48:02 PM »

I use XP home and cmd command.

I'll test with another PC.
« Last Edit: February 02, 2008, 01:52:45 PM by zouzzz » Logged

hello
Pages: 1 2 3 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!