xboxscene.org forums

Xbox360 Forums => Xbox360 Software Forums => *nix OS and libxenon software on Xbox 360 => Topic started by: Xbox-Scene on January 10, 2010, 07:58:00 PM

Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: Xbox-Scene on January 10, 2010, 07:58:00 PM
XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Posted by XanTium | January 10 21:58 EST | News Category: Xbox360
 
Trancy released a new version of XBR-Flash. With LFlash it was already possible to update your XBReboot on NAND-16mb consoles directly from your Xbox 360 booted into a Linux Distro like Gentoo (so no need to flash over LPT or USB again). Based on LFlash, XBR-Flash however will now allow you to flash on 256/512mb consoles as well and v0.2 comes with more additional features.
Quote

USE THIS SOFTWARE AT OWN RISK.

Two new features must be tested for 16/256/512MB Nands, so I need some more Beta-tester again ;)
- Bad Block Management (BBM)
- KV and Config Injection

usage: ./a backup.bin xbr_virgin.bin -i

backup.bin   Backup from your current Nand
xbr.bin        XBReboot file
-i               [optional] Injecting KV and Config from the current Nand to XBR-File

If you want to use -i (Injecting KV and Config), KV and Config must be valid in the current Nand, because XBR-Flash read the current Nand out and inject this to the XBR-file

Thanks goes to tmbinc, Redline99 and other I forgot

History
 v0.1    initial by tmbinc
 v0.1.x used sources from Redline99 (Xell mods)
 v0.1.1 modified by trancy
 v0.2   Added Bad Block Management (BBM)
          Added KV and Config Injection
v0.2.1 Hotfix for BBM
v0.2.2 2nd Hotfix for BBM
v0.2.3 Hotfix for KV and Config Injection

Note: This tool can of course only be only be used if you already run XBReboot/XeLL and want to update to a newer version (will be much faster, certainly on BB NANDs), the first time to perform the hack you will still have to do it over LPT or USB.

*Update* Trancy made a hotfix (v0.2.1) for the problem with bad blocks! But it needs testing again - so please report your findings!
*Update* 2nd hotfix for bad blocks (reserved area is on the end of 64 MB and not 256 or 512)
*Update* v0.2.3, fixed KV and Config Injection

Official Site: n/a, by Trancy
Download v0.2.3: here
News-Source: xboxhacker.org



Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: NaughtyTester on January 10, 2010, 08:12:00 PM
Ya  biggrin.gif
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: Ranger72 on January 10, 2010, 08:53:00 PM
This will come in handy for the next XBR release.
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: ddxcb on January 10, 2010, 09:21:00 PM
its need ELF support (IMG:style_emoticons/default/smile.gif)
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: clouduz on January 10, 2010, 09:30:00 PM
biggrin.gif    just what us BB users needed! thanks
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: keropi on January 10, 2010, 11:37:00 PM
this would be a real time-saver , even for 16MB 360's  happy.gif
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: krizalid on January 11, 2010, 12:59:00 AM
Just a question; kinda looking at something here.


If this was to put compiled in a very very small linux barebone release of Gentoo, so small that It can be installed to a USB Stick (less than 1G if possible), or something similar to xboxhdm2 for Xbox1, where you can build an ISO with the necessary files in it and have it do it all automaticly. Just add xbr.bin (with kv.bin and config.bin injected of course).

Watch it do it all on it's own.

Be sweet.

Not sure if I made it clear.


Cheers, great app, just tested on Zephyr 16mb NAND, flashed XBR_3a
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: niai on January 11, 2010, 05:13:00 AM
if you was to do that you wouldnt even need the kv.bin or rewconfig.bin

as you could get them on the xbox and aye you could do that np (then you can do almost any thing the really question is will you)
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: tsunami666 on January 11, 2010, 08:51:00 AM
It work fine! 1 minutes to dump and flash a 16mb nand.
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: krizalid on January 11, 2010, 10:10:00 AM
QUOTE(niai @ Jan 11 2010, 07:13 AM) View Post

if you was to do that you wouldnt even need the kv.bin or rewconfig.bin

as you could get them on the xbox


But what about if I'm going to only flash Xell after my original backup is made with nandpro where my kv and rawconfig are not present in NAND, but will be in my xbr.bin that I'll be flashing?

QUOTE(niai @ Jan 11 2010, 07:13 AM) View Post

aye you could do that np (then you can do almost any thing the really question is will you)



Will I what? I don't do much Linux, I only code in basic (lame) and script in XML.

What's I'm looking for is to make it a self flashing script to run within Gentoo, this is to avoid waiting for Gnome desktop to load, mount USB, build executable flasher, and manually flash it all. Ah, don't forget that not all of us have USB keyboard and mouse (I do, but because I had to buy them).

The idea is to run Xell, after that something that will automaticly flash xbr.bin so that It doesn't take that long from nandpro via lpt and writing to nand is more stable from xbrflash.c / lflash.c


Cheers.
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: belenos on January 11, 2010, 10:13:00 AM
I really don't use Linux at all but I have used lflash a few time to update boxes.

could someone be so kind as to put together a clean noob friendly tut on using this?

I just want to make sure I have all the steps clear and and if there is any difference between using this and lflash besides the final line of code for execution of the script.
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: InvidiousDemise on January 11, 2010, 10:18:00 AM
Lol. I guess that's why my 512mb flash attempts from gentoo weren't working. Hooray for having a working Nand tonight. =)
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: WarriorSan on January 11, 2010, 10:57:00 AM
QUOTE(clouduz @ Jan 11 2010, 05:30 AM) *

(IMG:style_emoticons/default/biggrin.gif)    just what us BB users needed! thanks


Nice!
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: modslave on January 11, 2010, 12:52:00 PM
This is GREAT news!

krizalid, I like the cut of your jib
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: RRoD420 on January 11, 2010, 01:00:00 PM
360 homebrew at its prime, history in the making ladies and gentleman  pop.gif
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: bulle48 on January 11, 2010, 02:39:00 PM
QUOTE(belenos @ Jan 11 2010, 12:13 PM) View Post

I really don't use Linux at all but I have used lflash a few time to update boxes.

could someone be so kind as to put together a clean noob friendly tut on using this?

I just want to make sure I have all the steps clear and and if there is any difference between using this and lflash besides the final line of code for execution of the script.


Just use the Lflash tutorial (search the forums) except replace lflash.c with xbrflash.c.  Follow everything until gcc command, then do this:
CODE

gcc xbrflash.c -o xbrflash
chmod +x xbrflash
./xbrflash backup.bin xbr_virgin.bin -i

Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: Faluke on January 11, 2010, 04:04:00 PM
Great this comes out and I just barely did this:

http://forums.xbox-s...howtopic=691873

With the easy connector and all!

DOH!
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: sdeens2009 on January 11, 2010, 05:06:00 PM
Is there posted yet a recompiled  635mb GENTOO--LIVE CD.iso that incorporates this new replacement for lflash.c with xbrflash.c (the v2.1 with BB fix) and can someone please post a direct download link?  is that even possible?

Also a direct link to the "BEST" tutorial for properly using lflash/xbrflash should probably be added directly into this thread for archival purposes, since as we all know the SEARCH function in this forum is not the easiest to negotiate.  This was requested earlier in thread as well and seems a wise request considering more attention now will be given to this new and quicker XBR update method.
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: krizalid on January 11, 2010, 05:45:00 PM
I don't think there is one out but if this ever gets updated like I mentioned (example: xboxhdm for orignal xbox) than the release wouldn't be soo big. I'm sure it would fit on 90 megs or less.

Because you can strip everything out that we don't need and keep what's necessary for xbrflash.c/lfalsh.c to complile executable and flash xbr.bin
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: Morning Call on January 11, 2010, 06:23:00 PM
just a heads up, as it stands the config doesn't appear to be properly injected *yet* (only confirmed with 64mb flash so far)
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: InvidiousDemise on January 11, 2010, 06:25:00 PM
Can anyone tell me how to rewrite an image in gentoo without reading any backups?

I need to flash my backup so that I can re-do the command to inject my kv and stuff. I forgot to use the -i flag.

I would love to not wait 2 hours for my nand to flash via lpt.
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: Repoman 108 on January 12, 2010, 03:49:00 PM
...i did everything this tutorial stated i should do, it all looked 100% fine and working, so i flash my xbox using this tutorial, says its all fine, i turn my xbox off and back on again, i have e79...anyone else with this problem? im SURE i followed this tutorial to the letter, now i cant even boot into xell meaning i have try and get my stupid lpt cable working again, after it decided to kick the bucket...fuck me....
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: krizalid on January 12, 2010, 06:30:00 PM
not sure if this was fixed on 0.2.3, but on 0.2.2 my backupnand.bin xbrflash would dump, ended up in 0kb.

Nothing! Flashing was ok btw.

This was on a Zephyr 16mb NAND.
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: sdeens2009 on January 13, 2010, 11:26:00 PM
Now a new version .31 script was just released for more bug fixes, but it still has some CONFIG and/or KV "direct injection" bugs.

http://forums.xbox-s...howtopic=702417

If this CONFIG injection bug is true than we can not use the "i" function and this script must probably be avoided for new intial exploitations of the console.  If it has a bug that serious than there may be more bugs yet to be publically discovered.

So its back to original GENTOO-live CD and compiled lflash for now.

also this was just posted tonight as another alternative flash updating .iso: (I assume for XBR nand updates)

http://forums.xbox-s...howtopic=702428

JUST NOT SURE WHAT EXACTLY DEBIAN MEANS AND WHAT ARE THE ADVANTAGES THIS NEW FLASH update ISO IS OFFERING?

we will need some spoon feeding to get us Windows testers over this Linux learning curve hurdle with regard to these compiled FLASHER .iso CDs
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: DuggyUK on January 14, 2010, 10:47:00 AM
QUOTE(sdeens2009 @ Jan 14 2010, 06:26 AM) View Post

Now a new version .31 script was just released for more bug fixes, but it still has some CONFIG and/or KV "direct injection" bugs.

http://forums.xbox-s...howtopic=702417

If this CONFIG injection bug is true than we can not use the "i" function and this script must probably be avoided for new intial exploitations of the console.  If it has a bug that serious than there may be more bugs yet to be publically discovered.

So its back to original GENTOO-live CD and compiled lflash for now.

also this was just posted tonight as another alternative flash updating .iso: (I assume for XBR nand updates)

http://forums.xbox-s...howtopic=702428

JUST NOT SURE WHAT EXACTLY DEBIAN MEANS AND WHAT ARE THE ADVANTAGES THIS NEW FLASH update ISO IS OFFERING?

we will need some spoon feeding to get us Windows testers over this Linux learning curve hurdle with regard to these compiled FLASHER .iso CDs


debians just another distro... the advantage is that the disc is authored with the tools on there already.
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: leorimolo on January 15, 2010, 09:53:00 PM
Crazy Idea: TSOP flash xbox without external now possible on all models bellow the 4XXX kernel, I mean all it requires them to do is solder the jtag cables, run XBR-Flash for linux and install XBReboot. All it required was a burned image and I think 2 diodes.

Does anyone think this would work with old consoles?
Title: XBR-Flash for Linux v0.2 beta *update: v0.2.3*
Post by: Lush on January 16, 2010, 11:45:00 PM
v0.3.5

- Completely rewrote code, so no more Open-Source
- Various Bug fixed
- No more option -i available
- New Options added -kv and -config (meaning keep your KV- or Config-Data on Nand)
- New Options added -fullerase and -erasedata (be careful with erase Nand)
- Write only Valid Data, empty Blocks wouldn't be written to Nand.
- Improved write speed and save Nand for useless rewritings, like MS do on update
- Fixed bug for full (256/512MB) read and write