EEPROM Management from XBMC?

General discussion relating to XBMC4XBOX. Please use the support forums for help on using the software or plugins.
Post Reply
User avatar
GoTeamScotch
Posts: 233
Joined: Sat Apr 06, 2013 2:17 am
Has thanked: 68 times
Been thanked: 66 times

EEPROM Management from XBMC?

Post by GoTeamScotch » Sun Nov 20, 2016 10:57 pm

I was browsing around Xbmc4xbox's source code and came upon this file:
\trunk\xbmc\xbox\XKEEPROM.cpp
This file contains several classes used for reading, writing, and backing up the Xbox's EEPROM. I assume this is used on the system information screen to show the Xbox's serial, hdd pw, and so on.

My question is this: can these classes be used in python scripts or plugins? Would it be a trivial feat or a challenging project? Reason I ask is because I personally always zeroize the unique hdd key (see signature) on any box I come across, hard or soft modded. If it's straight-forward enough I would be willing to write a script that has basic EEPROM management. Plus, I just think it would be handy to have this sort of functionality from within Xbmc as opposed to needing to use another app like configmagic. Has anything like this been done before?

I wouldn't be starting right away into writing a script because I've already got two others in progress, but I just wanted to see what you guys thought so I don't waste my time if it's too difficult for some reason.

While we're on the subject, what about drive locking and bios flashing?
Image
Remember kids, always zero-ize your HDD key!

User avatar
Dan Dar3
Posts: 1147
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 246 times
Been thanked: 243 times
Contact:

Re: EEPROM Management from XBMC?

Post by Dan Dar3 » Mon Nov 21, 2016 12:34 pm

I don't know how much work is involved in exposing that to Python scripts as I have never looked at that area, but there seems to be a built-in function available already.
http://www.xbmc4xbox.org.uk/wiki/List_o ... _Functions
BackupSystemInfo - Creates bios, eeprom, systeminformation backup to /system/systeminfo/ (Xbox specific)
You can try it with code like this:

Code: Select all

import xbmc
xbmc.executebuiltin( "XBMC.BackupSystemInfo") )   

Post Reply