xboxscene.org forums

Author Topic: Openxdk Version Of Xkutils  (Read 195 times)

friedgold

  • Archived User
  • Sr. Member
  • *
  • Posts: 266
Openxdk Version Of Xkutils
« on: August 09, 2006, 05:35:00 PM »

I mentioned this in another thread and it gained some interest so I thought I'd make a new topic about it here.

I've modified the XKUtils library (by Team Assembly) to build under OpenXDK with an eye to using it in OpenDash, a legal OpenXDK dashboard. The library is written in C++ and contains a number of Xbox utility functions for things such as reading the temperature, setting the fan speed, reading / writing the EEPROM, etc. It should prove useful for anyone else wanting to implement a dashboard or some Xbox system tool using OpenXDK.

Download the OpenXDK version of XKUtils (Removed for now)

Included is the source code of the library and a couple of simple test programs with both source and binaries (legal, OpenXDK built) to show how it can be used. There's XKTest.xbe which prints some system infomation to the screen and reboots and BackupEEPROM.xbe which saves the Xbox's EEPROM to "eeprom.bin" in the current directory before rebooting.

I've tested the EEPROM functions and PIC based functions (reading tray state, temp, etc.) successfully on my v1.1 Xbox. I haven't tested any of the flashing functions since I'm using a softmod. I haven't tested this on any other Xbox versions. To build and use the library you'll need a reasonably recent version of OpenXDK from CVS.

Anyway hope it proves useful and thanks to Team Assembly for releasing the original XKUtils.

This post has been edited by friedgold: Aug 11 2006, 11:49 AM
Logged

openxdkman

  • Archived User
  • Hero Member
  • *
  • Posts: 550
Openxdk Version Of Xkutils
« Reply #1 on: August 10, 2006, 01:15:00 AM »

Nice... Thx!
Logged

PedrosPad

  • Archived User
  • Hero Member
  • *
  • Posts: 1277
Openxdk Version Of Xkutils
« Reply #2 on: August 10, 2006, 01:22:00 AM »

QUOTE(friedgold @ Aug 10 2006, 12:42 AM) *

I've modified the XKUtils library (by Team Assembly) to build under OpenXDK with an eye to using it in OpenDash, a legal OpenXDK dashboard.

Useful contribution. (IMG:style_emoticons/default/beerchug.gif)
Logged

kingroach

  • Archived User
  • Hero Member
  • *
  • Posts: 1522
Openxdk Version Of Xkutils
« Reply #3 on: August 10, 2006, 01:59:00 PM »

I am trying to install openxdk from the cvs.. I will try to compile after I get that thing installed..I tested the eepromback xbe and it works great.. (IMG:style_emoticons/default/smile.gif)
Logged

JbOnE

  • Archived User
  • Full Member
  • *
  • Posts: 242
Openxdk Version Of Xkutils
« Reply #4 on: August 11, 2006, 01:08:00 AM »

you might as well use the real xdk if you are going to use xkutils as it contains leaked (on a much higher level) m$ code as well.
Logged

friedgold

  • Archived User
  • Sr. Member
  • *
  • Posts: 266
Openxdk Version Of Xkutils
« Reply #5 on: August 11, 2006, 04:58:00 AM »

QUOTE(JbOnE @ Aug 11 2006, 08:15 AM) *

you might as well use the real xdk if you are going to use xkutils as it contains leaked (on a much higher level) m$ code as well.
Really? Are you able to give me some more concrete infomation on this (which bits are leaked from where if you know). There's nothing in there that isn't documented and implemented elsewhere (e.g. libxbox in Linux). Also XBMC includes a copy of XKUtils in it's source tree. I wouldn't have thought the XBMC dev's would include it if they knew it contained leaked MS code as their source is publically available through sourceforge. If you don't want to reply on this thread please PM me. I've removed the download for now.

This post has been edited by friedgold: Aug 11 2006, 12:08 PM
Logged

d0wnlab

  • Archived User
  • Sr. Member
  • *
  • Posts: 326
Openxdk Version Of Xkutils
« Reply #6 on: August 11, 2006, 06:34:00 AM »

I'll second your suspicion friedgold - all of the code that I've seen from XkUtils is mostly just wrappers around kernel calls..
Logged

JbOnE

  • Archived User
  • Full Member
  • *
  • Posts: 242
Openxdk Version Of Xkutils
« Reply #7 on: August 11, 2006, 10:34:00 AM »

go ahead and link again - and for the record, xbmc is not purely legally "open source" as it contains parts of xdk source and other tidbits picked up along the way. if you're going to try and keep it true open source i would  not use the Yoshi version of xk as his contributions to anything were merely code he stole from someone else or from the leaked xbox source tree itself. and i guess props are in order for getting it to build with openxdk using that annoying gcc compiler (IMG:style_emoticons/default/tongue.gif)

edit:
just out of curiousity - what's the point to any "legal" openxdk xbe if you need an "illegal" hacked/rebuilt m$ bios to run it in the 1st place ?

This post has been edited by JbOnE: Aug 11 2006, 05:55 PM
Logged

d0wnlab

  • Archived User
  • Sr. Member
  • *
  • Posts: 326
Openxdk Version Of Xkutils
« Reply #8 on: August 11, 2006, 10:59:00 AM »

QUOTE(JbOnE @ Aug 11 2006, 12:41 PM) *

edit:
just out of curiousity - what's the point to any "legal" openxdk xbe if you need an "illegal" hacked/rebuilt m$ bios to run it in the 1st place ?


A softmod based on ndure would be sufficient to remain legal since it patches the kernel on the fly.  I've also considered a more permanent solution but have yet to implement it:

copy virgin BIOS from TSOP
unpack
patch bios (same manner as ndure softmod)
repack
flash BIOS to TSOP

legal, customizable BIOS installation on the TSOP.
Logged

fghjj

  • Archived User
  • Sr. Member
  • *
  • Posts: 288
Openxdk Version Of Xkutils
« Reply #9 on: August 11, 2006, 02:57:00 PM »

There has been copyrighted M$ code in the XBMP CVS for 3 years and 7 months now, would the SourceForge operators not have read their email that long (IMG:style_emoticons/default/smile.gif)

So far M$ left the homebrew scene alone, why would they suddenly care now they have the 360 deployed?

It's not like homebrew makes them lose much money, it's piracy of games that does.

So I think OpenXDK is more about fun, than it is about its legal advantages. And XKUtils just happens to use the same namespace for some things, there are no convincing (big) chunks of other people's code (IMG:style_emoticons/default/smile.gif)

ps. Isn't circumventing copy-protection schemes considered illegal under DMCA places too?
Logged

d0wnlab

  • Archived User
  • Sr. Member
  • *
  • Posts: 326
Openxdk Version Of Xkutils
« Reply #10 on: August 11, 2006, 03:49:00 PM »

QUOTE(fghjj @ Aug 11 2006, 05:04 PM) *

ps. Isn't circumventing copy-protection schemes considered illegal under DMCA places too?


This has been discussed before and I always bring up that openxdk is covered by the same exception to the DMCA as xbox-linux. (which is on the bottom of all of their pages on their website)
Logged