xboxscene.org forums

Author Topic: Eeprom Dumper App  (Read 315 times)

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Eeprom Dumper App
« on: August 30, 2006, 11:17:00 AM »

Here is a easy way to do a back of your EEPROM
run the xbe as a APP (rename it to default.xbe) then it will return to the dash.
but if there is a game disk in the drive it will boot it, not the most desirable behaver but it could
be tweaked to have it boot the dash in the gamesave dir (IE: frontend for a gamesave installer to automatically create the backup)
if any of the experts know how to bypass the disk let me know and i will fix it biggrin.gif

this is the basic code
CODE
    call    Read_EEPROM
    call    write_EEPROM_file
;-------
    push    byte 2
    call    dword [HalReturnToFirmware]
.ilp:    jmp    short .ilp

\Device\Harddisk0\Partition1\EEPROM_data.bin
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Eeprom Dumper App
« Reply #1 on: August 31, 2006, 10:17:00 AM »

Hi dus, it is a stand alone app
not setting the launch data page, just want it to return to the calling app...
not sure what to do, but could set a loop so IGR would work (but that's not very desirable either)
Logged

kingroach

  • Archived User
  • Hero Member
  • *
  • Posts: 1522
Eeprom Dumper App
« Reply #2 on: August 31, 2006, 12:25:00 PM »

friedgold made a similar program ( port of xkutils from xbmc source to openxdk).. that apps dumps eeprom and reboots the xbox. I dont know any good asm programming but may be the code behind ( BOOT_TO_DASH / NORMAL_BOOT_ALWAYS) option in nkpatcher could be used.. dry.gif
Logged

PedrosPad

  • Archived User
  • Hero Member
  • *
  • Posts: 1277
Eeprom Dumper App
« Reply #3 on: September 01, 2006, 01:41:00 AM »

QUOTE(dus @ Sep 1 2006, 07:20 AM) View Post

If I remember correctly, setting up an empty (or almost empty) launch data page would boot the default dash.

Agreed.  An empty (or not set) launch data page is basically a cold boot - the BIOS will check the DVD-Rom drive for a game, then fall back to HDD.  There's a 'reason' code that you can set in the launch data page that instructs the restart to return-to-the-dash.  IIRC it's named XRETURN_TO_DASH or some such.

Edit: IIRC this also works.  Simply use the launchxbe: code from your sample here with no filename, and it'll default to soft booting the Dashboard.  If not entirely correct, simply specify the dashboard filename and chain back to the dashboard you want to return to.  smile.gif
Logged

krayzie

  • Archived User
  • Hero Member
  • *
  • Posts: 3350
Eeprom Dumper App
« Reply #4 on: September 01, 2006, 08:44:00 AM »

Nice to see some activity around here. Could come in usefull. Launching to an installer's xbe would be a desirefull option.
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Eeprom Dumper App
« Reply #5 on: September 01, 2006, 11:55:00 AM »

Done, loading the LDP with all zero's works (K:4043) no need to set reason a code, so far.
it rebooted to dash with a disk in the drive (game.iso loaded, DVD drive dead and it did boot the game
with just HalReturnToFirmware )

added option to BOOT_TO_APP and APP_PATH
if you find any bugs let me know.

also in some examples they set the first dword of the LDP (use parm) to 0000 00FFh
and other's leave it zero (booting a xbe or not) if it does not work for you try uncommenting them (2 places)
CODE
;        or      dword [ebx], byte -0x01

Here

thanks everyone  smile.gif

Logged

RiceCake

  • Archived User
  • Hero Member
  • *
  • Posts: 788
Eeprom Dumper App
« Reply #6 on: September 01, 2006, 02:56:00 PM »

Ohh...microscopic XBE's made from ASM. Gotta love it.

Good to have. Having to explain you hit 'Backup' in EvoX, then find the /backup/ folder wherever your dashboard is located can be neurotic if someone refuses to listen.

Now we just need someone to fabricate a program that prevents them from using the Xbox unless they properly backup the EEPROM to their computer...
Logged

xman954

  • Archived User
  • Hero Member
  • *
  • Posts: 835
Eeprom Dumper App
« Reply #7 on: September 06, 2006, 10:57:00 PM »

Updated the files now it can create a directory and save the backup there...(optional)
E:\EEPROM_backup\EEPROM.bin is default
update to NKP11 with auto backup is on the way.. biggrin.gif   (no more problems with HDTV and audio settings
not staying using NDURE dual boot to MS dash )
Logged

krayzie

  • Archived User
  • Hero Member
  • *
  • Posts: 3350
Eeprom Dumper App
« Reply #8 on: September 07, 2006, 10:04:00 AM »

Great work. Small request....
If an eeprom is allready present in the set path can it be deleted prior to the new backup (or overwritten by the new one)? This to ensure people always having the right eeprom instead of stuff they copied from another xbox.
Logged

krayzie

  • Archived User
  • Hero Member
  • *
  • Posts: 3350
Eeprom Dumper App
« Reply #9 on: September 07, 2006, 09:54:00 PM »

Great
Logged

nclundsten

  • Archived User
  • Newbie
  • *
  • Posts: 2
Eeprom Dumper App
« Reply #10 on: September 16, 2006, 05:26:00 PM »

how about just turn off the auto-run for a game disc, in your dash settings... or better yet, dont have a game disc in, when running it!!
Logged