xboxscene.org forums

Pages: 1 2 [3] 4

Author Topic: Debian v5.0 Mini LiveCD - Free60  (Read 738 times)

krizalid

  • Archived User
  • Sr. Member
  • *
  • Posts: 359
Debian v5.0 Mini LiveCD - Free60
« Reply #30 on: January 14, 2010, 06:10:00 PM »

Yes, Xell only resides in the first 50 blocks.

If you follow my lazy manĀ“s tutorial and use xbrflash v0.3.1 to backup NAND first it should be fine.

The reason to backup front0.bin with the first 50 blocks is because if something goes wrong with xell, you flash your front0.bin back the same way

nandpro lpt: -w256 front0.bin 0 50 and your 360 should be fine again.


Good luck.
Logged

BUZYAHAZZ

  • Archived User
  • Newbie
  • *
  • Posts: 4
Debian v5.0 Mini LiveCD - Free60
« Reply #31 on: January 15, 2010, 12:23:00 AM »

QUOTE(krizalid @ Jan 13 2010, 06:44 PM) View Post

No dude, you'll need to at least flash Xell first in order to boot linux.
This is how I flashed my last xbox using Gentoo; same method can be used here and should load faster:

-JTAG wire Xbox360
-Solder flasher (I use LPT)

Now in NandPro (I've only done this with 16mb boards, no big blocks yet)

nandpro lpt: -r16 front0.bin 0 50
nandpro lpt: -r16 front1.bin 0 50

This will dump the first 50 blocks o the Nand, and it's where Xell will reside in.

Now compare them with HexWorkshop and if the match, all good.

Now take a xbr.bin just or testing purposes (you'll delete this file after verifying your CB!!!

nandpro xbr.bin: -w16 front0.bin 0 50

After, open this xbr.bin with 360NandDump Tool 0.91 to check your motherboard version, CB, etc.

Once you see that all checks out, delete and destroy this xbr.bin!!! it's not flashable and you'll fuck up so bad you'll cry for the longest time ever.

Now with nandpro, you'll extract your keyvault from front0.bin

nandpro front0.bin: -r16 rawkv.bin 1 1

Once you have this, we will compile a working XBR for your motherboard version and flash Xell as well.

nandpro xbr.bin: -w16 rawkv.bin 1 1
nandpro lpt: -w16 xell.bin 0

All this will be done in like... 10 minutes tops.

How, run Xell, run Linux Disc (I used Gentoo for this) Following the lflash guide.

once you are at the "./a.out backupnand.bin xbr.bin

your 360 will now be working with XBR flashed and all good.

After, take that backupnand.bin and inject your front0.bin like this with nandpro

nandpro backupnand.bin: -w16 front0.bin 0 50

This will make your "untouched" backup of your NAND if you ever need to flash original again.
The rest is magical, like this I don't have to wait 36 minutes for every read and write using LPT and NandPro.
I Hope you like this tutorial. Cheers


 now nothing is mentioned about the rawconfig.bin extraction or injection is that correct or was something skipped?
Logged

Smoczyc87

  • Archived User
  • Newbie
  • *
  • Posts: 6
Debian v5.0 Mini LiveCD - Free60
« Reply #32 on: January 15, 2010, 12:34:00 AM »

Thank you, dude!

Will do it next week.
Logged

krizalid

  • Archived User
  • Sr. Member
  • *
  • Posts: 359
Debian v5.0 Mini LiveCD - Free60
« Reply #33 on: January 15, 2010, 08:00:00 AM »

QUOTE(BUZYAHAZZ @ Jan 15 2010, 02:23 AM) View Post

now nothing is mentioned about the rawconfig.bin extraction or injection is that correct or was something skipped?


It's not necessary for XBR.bin prior to flashing but you may extract it from nand if you like.


Also, this should get backed up with xbrflash within Linux.
Logged

justjacko

  • Archived User
  • Newbie
  • *
  • Posts: 18
Debian v5.0 Mini LiveCD - Free60
« Reply #34 on: January 15, 2010, 08:49:00 AM »

ok really confused i have a 256mb jasper and i backed up first 2mb via lpt then flashed xell, the drive that came with 360 doesnt work but i have a hitachi that does so i used that the key isnt the right one but it still starts booting see penguins etc. but when it gets to mounting the cd it hangs awhile then says it cant mount and it needs another boot device or i can go to shell?? any ideas?? huh.gif

Also i have tried gentoo with same result so its not just this build or my cd's
Logged

krizalid

  • Archived User
  • Sr. Member
  • *
  • Posts: 359
Debian v5.0 Mini LiveCD - Free60
« Reply #35 on: January 15, 2010, 12:09:00 PM »

yes.

Booting Xell, get your CPU key, using your 2mb dump, extract rawkv.bin, inject to your xbr.bin.

Open 360FlashTool 0.91, put your CPU key there, than open xbr.bin and with that keyvault, you'll get your dvd info so you may build a cFW and flash it to that drive.
Logged

ddxcb

  • Archived User
  • Sr. Member
  • *
  • Posts: 330
Debian v5.0 Mini LiveCD - Free60
« Reply #36 on: January 15, 2010, 12:18:00 PM »

QUOTE(justjacko @ Jan 15 2010, 08:49 AM) View Post

ok really confused i have a 256mb jasper and i backed up first 2mb via lpt then flashed xell, the drive that came with 360 doesnt work but i have a hitachi that does so i used that the key isnt the right one but it still starts booting see penguins etc. but when it gets to mounting the cd it hangs awhile then says it cant mount and it needs another boot device or i can go to shell?? any ideas?? huh.gif

Also i have tried gentoo with same result so its not just this build or my cd's

Haveing the same issue with my falcon xbox.
Logged

justjacko

  • Archived User
  • Newbie
  • *
  • Posts: 18
Debian v5.0 Mini LiveCD - Free60
« Reply #37 on: January 15, 2010, 12:19:00 PM »

QUOTE(krizalid @ Jan 15 2010, 07:09 PM) View Post

yes.

Booting Xell, get your CPU key, using your 2mb dump, extract rawkv.bin, inject to your xbr.bin.

Open 360FlashTool 0.91, put your CPU key there, than open xbr.bin and with that keyvault, you'll get your dvd info so you may build a cFW and flash it to that drive.


Thanks for the reply, but i think you misunderstand i have booted xell and gotten cpu key i have hitachi drive in console and it boots the cd however during the boot in the black console it says unable to mount cd and i am at shell this also happens with my gentoo cd which i can boot in my xenon with xell so i know it should work is there a problem with the jasper BB version of xell or why cant i boot??
Logged

Martinchris23

  • Archived User
  • Hero Member
  • *
  • Posts: 2004
Debian v5.0 Mini LiveCD - Free60
« Reply #38 on: January 15, 2010, 02:06:00 PM »

I've just written an uber-n00b guide on using this distribution with a 16MB Falcon:

1. Plug a USB keyboard into the 360.
2. Connect a standard AV/VGA/Component lead into the 360.

There are different versions of XeLL in 8955_1 and 8955_3, so....

8955_1: Power on the 360 by connecting a wired controller into the rear USB port and pressing the Guide button. (FTR I use a GH2 controller)
8955_3: Power on the 360 with the eject button and insert the 'XBR Flash - Linux' disc.

4. Leave the tray open until you see the power light go out and the screen change to blue writing (this is XeLL!).
5. Close the tray and wait a while - you should see the Penguins (woohoo!) and eventually, something like this:
QUOTE


      #######################################################
      #######################################################
      #######################################################
      ############# Free60 Debian Lenny Live CD #############
      #######################################################
      #######################################################

      FTP/SSH-Server started on IP: 192.168.1.104
      Login: root/xbox360

      Available applications on this LiveCD are:
      >xbrflash< or >lflash< for reading/dumping NAND
      >nandcheck< for checking NAND-Dumps
      >debianinstall< for installing Debian 4.0 Etch (from internet)
      !!! INSTALLATION WILL WIPE YOUR HARDDRIVE !!!


6. Copy the version of XBR for your console onto the root of an FAT32 formatted USB stick.
7. Insert into the front of the console - you should see some info on the USB stick itself. Ignore it for now.
8. Type

CODE
dmesg | grep -i "attached scsi"


(the | is SHIFT+# in Linux). you should see:

QUOTE
Free60:~/IMAGES# dmesg | grep -i "attached scsi"
[   37.227275] sr 0:0:0:0: Attached scsi CD-ROM sr0
[   37.227702] sr 0:0:0:0: Attached scsi generic sg0 type 5
[   38.552652] sd 1:0:0:0: Attached scsi disk sda
[   38.589322] sd 1:0:0:0: Attached scsi generic sg1 type 0
[  188.590016] sd 2:0:0:0: Attached scsi removable disk sdb
[  188.591491] sd 2:0:0:0: Attached scsi generic sg2 type 0
[  684.589692] sd 3:0:0:0: Attached scsi removable disk sdb
[  684.591194] sd 3:0:0:0: Attached scsi generic sg2 type 0
[  757.110801] sd 4:0:0:0: Attached scsi removable disk sdb
[  757.152610] sd 4:0:0:0: Attached scsi generic sg2 type 0


or something like this. We're interested in the sdb part, so make note of this.

9. We need to mount it, but first we need to make a folder to mount it to.

10. Type

CODE
mkdir /mnt/usb
.

Now mount it:

11. Type  
CODE
mount -t vfat -o uid=root,gid=root /dev/sdb1 /mnt/usb
. Notice we changed sdb to sdb1 smile.gif

12. Check it's mounted:

CODE
cd /mnt/usb

(changes directory)
CODE
ls -lrt

(lists contents with most recent files last)

You should see the contents of your USB drive.

Now onto the fun part - flashing.

13. Type the following:

CODE
xbrflash -d backup.bin -w .bin -i


, where backup.bin is the file you're dumping the current working NAND to and XBR.bin is the name of the updated version of

XBR. The -i at the end will automatically inject the kv and config from the good dump.

This is the output I got:

QUOTE
Free60:/mnt/usb# xbrflash -d test.bin -w XBR_Falcon_8955_3a.bin -i

XBR-Flash for Linux v0.3 beta by trancy (www.modcontrol.com)
Thanks goes to tmbinc and Redline99 and all Beta-Tester on xboxhacker.org

Nandsize: 16 MB detected
Read and write: 16 MB

Dumping to test.bin...
0x400 block's to dump...
Reading block: 0x400 of 0x400 (16MB/16MB)
Reading done in 15.00 sec.
Speed: 1.07 MB/s

Verifying flash with test.bin...
0x400 block's to verify...
Detected RAW nand file, verifying in raw mode.
Verifying block: 0x400 of 0x400 (16MB/16MB)
Verify done in 12.00 sec.
Speed: 1.33 MB/s.
Verified 16777216 bytes ok smile.gif

Injecting KV and Config from test.bin to XBR_Falcon_8955_3a.bin...
KV writing OK.

Flashing from XBR_Falcon_8955_3a.bin...
0x400 block's to write...
Detected RAW nand file, verifying in raw mode.
No writing in the Config-Area @ block 990
No writing in the Config-Area @ block 991
Writing block: 0x400 of 0x400 (16MB/16MB)
Writing only to last moved bad block in the reserved area.
Write done in 16.00 sec.
Speed: 1.00 MB/s

Verifying flash with XBR_Falcon_8955_3a.bin...
0x400 block's to verify...
Detected RAW nand file, verifying in raw mode.
Verifying block: 0x3df of 0x400 (15MB/16MB)
Verify error @ block: 0x3de
Error: Verify failed! (-2)
Verify failed!
Info: Please try again to write only the XBReboot image.


See the Verify Failed? I got this both times I did it - the XBR file on your USB stick has the correct information injected

now, so just write it back again:

Free60:/mnt/usb#
CODE
xbrflash -w XBR_Falcon_8955_3a.bin


The output this time was:


QUOTE
XBR-Flash for Linux v0.3 beta by trancy (www.modcontrol.com)
Thanks goes to tmbinc and Redline99 and all Beta-Tester on xboxhacker.org

Nandsize: 16 MB detected
Read and write: 16 MB

Flashing from XBR_Falcon_8955_3a.bin...
0x400 block's to write...
Detected RAW nand file, verifying in raw mode.
Writing block: 0x400 of 0x400 (16MB/16MB)
Writing only to last moved bad block in the reserved area.
Write done in 12.00 sec.
Speed: 1.33 MB/s

Verifying flash with XBR_Falcon_8955_3a.bin...
0x400 block's to verify...
Detected RAW nand file, verifying in raw mode.
Verifying block: 0x400 of 0x400 (16MB/16MB)
Verify done in 11.00 sec.
Speed: 1.45 MB/s.
Verified 16777216 bytes ok smile.gif


That's it - all done smile.gif

Handy hint: I did all this from the PC. download PuTTY (free software). Connect your 360 to your network so it gets an IP Address. Once you're at first prompt, note the IP address and connect to it on port 22 (standard SSL). Login with root/xbox360 and now you can type all the commands from the comfort of the PC. Watch out tho - a right mouse click in PuTTY is 'paste'. Be careful with it!
Logged

Scoof

  • Archived User
  • Newbie
  • *
  • Posts: 5
Debian v5.0 Mini LiveCD - Free60
« Reply #39 on: February 03, 2020, 04:52:00 PM »

Hey there

i m trying to install Debian on a 20gigs harddrive on a XBR'd 256 jasper, i doesn't work it tells me several times : "no such file or directory" and then tells me to continue the install by booting the Xell-bootloader-sda2

Any clue?

there s no guide around here for just installing the debian that way...
Logged

ketty_yijun

  • Archived User
  • Newbie
  • *
  • Posts: 12
Debian v5.0 Mini LiveCD - Free60
« Reply #40 on: January 20, 2010, 12:46:00 PM »

hey Martinchris23, good noob guide.  i have question, i want to use ssh like you did but my debian bootup without showing any ips.  i connect my xbox360 to a dhcp server before i turn it on.  i type ifconfig and it didn't show the ip.  the network card didn't even up yet. what can i do?
Logged

Martinchris23

  • Archived User
  • Hero Member
  • *
  • Posts: 2004
Debian v5.0 Mini LiveCD - Free60
« Reply #41 on: January 23, 2010, 11:58:00 AM »

QUOTE(ketty_yijun @ Jan 20 2010, 07:46 PM) View Post

hey Martinchris23, good noob guide.  i have question, i want to use ssh like you did but my debian bootup without showing any ips.  i connect my xbox360 to a dhcp server before i turn it on.  i type ifconfig and it didn't show the ip.  the network card didn't even up yet. what can i do?


It's possible you're not getting an IP from DHCP fast enough. Some routers take longer than others to issue an IP address so this might be the fault. The NIC should still appear in the startup tho.
Logged

FutabaGP

  • Archived User
  • Newbie
  • *
  • Posts: 23
Debian v5.0 Mini LiveCD - Free60
« Reply #42 on: January 27, 2010, 10:34:00 AM »

I am able to install etch from this CD to, is this mine failure or installer is broken?
Logged

matyus

  • Archived User
  • Newbie
  • *
  • Posts: 20
Debian v5.0 Mini LiveCD - Free60
« Reply #43 on: January 29, 2010, 01:30:00 PM »

QUOTE(matyus @ Jan 28 2010, 09:21 PM) View Post

iv got the same problem to! any help anybody pls???????

its ok everyone  iv sorted that out now
you download http://home.comcast....2.6.24.3.tar.gz this burn the extracted iso to disk then put this disk in your 360 before rebooting
install will continue. u need to be connected to the net too

i have other errors with this disk but its worked with most installations

good luck
Logged

BladeWing

  • Archived User
  • Full Member
  • *
  • Posts: 157
Debian v5.0 Mini LiveCD - Free60
« Reply #44 on: February 03, 2010, 09:51:00 AM »

Ok, i have been expermenting and stuff with my JTAG'ed xbox for about a week now, and i still cant find how i boot this .

Is is just boot into xell with a burned cd/dvd of this iso and it works away.

Xbox jtag is in my sig.
Logged
Pages: 1 2 [3] 4