xboxscene.org forums

Pages: [1] 2 3 ... 5

Author Topic: Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel  (Read 853 times)

Xbox-Scene

  • Archived User
  • Hero Member
  • *
  • Posts: 4299
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« on: January 12, 2007, 10:45:00 PM »

Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
Posted by XanTium | January 13 00:45 EST

 
Robinsod over at the XBH forums probably found a way to boot his Xbox360 with the original 1888 kernel ('BK' kernel). The onboard flash of the Xbox360 contains the full original kernel (v2.0.1888.0, which is the first public kernel release) and patches (this is what MS adds when they release new kernel updates) to update the kernel to the latest build (currently at v2.0.4552.0). Apparently the systems scans for version numbers in the headers of kernel patches and then selects what to load, by deleting (null) the (non-encrypted) headers (esp. version numbers) of the patches Robinsod probably managed to get his Xbox360 to boot the original 1888 kernel (v2.0.1888.0).
While the Xbox360 software (system>console settings>system info) reports being in 1888 kernel it has yet to be tested if it really is booting only the 1888 kernel without patches (looking at the dashboard features is no option ... the dashboard and kernel are not the same, the dashboard stays as it is).
Quote

I have now successfully mounted my HYNIX flash in a socket and developed code to read, erase and reflash areas of that flash. I have also been sniffing the flash bus during the 360's power on sequence.

I believe my 360 was last updated from the NFS:Carbon game disk. The Kernel and Dash versions are reported as:
D 2.0.2868.0, K 2.0.2868.0, BK 2.0.1888.0

The read sequence I observed agrees broadly with that posted on free60 and when "condensed" it looks like this:
Power On:
Reads 0x000000 - 0x0001FF
Reads 0x008000 - 0x00E1FF      ---"CB"
Reads 0x000000 - 0x0001FF
Reads 0x001000 - 0x003FFF      
Reads 0x00C000 - 0x00C1FF
Reads 0x00E000 - 0x0699FF                                
Reads 0x06C000 - 0x06C1FF      ---"CF"
Reads 0x07C000 - 0x07C1FF      ---"CF"      As per free60.org upto here
Reads 0x06C000 - 0x07BFF0      ---"CF"         My log differs from free60.org from here

Notice how the 360 reads the first 0x200 bytes of the blocks marked "CF" and then selects one to read completely. This suggests that the 360 is reading the version numbers of kernel patches and selecting the most recent. In this case the patch at 0x06C000 is read.

To test the theory I erased:
1) 16KB block of Flash at 0x06C000, result:
D 2.0.2858.0, K 2.0.2858.0, BK 2.0.1888.0
2) 16KB block of Flash at 0x06C000 and 0x07C000, result:
K 2.0.1888.0
3) Inserted the NFS:C disk and reapplied the 2.0.2868.0 update, result:
D 2.0.2868.0, K 2.0.2868.0, BK 2.0.1888.0

So now I need to find a suitable test software to verify that the console really is downgraded to 2.0.1888.0. The kiosk disk perhaps...

Interesting reply from TheSpecialist:
Quote

I'd like to toss in my theory about the 'patches'. There are 2 questions here:
1. Why does MS upgrade via 'patches' and not just by sending the whole files and
2. Why don't they just patch the files in flash, but instead, keep the original files + patches in flash?

There are various good answers to question one, but I think the best answer is that it has to do with the limited space. Now, it is very easy to roll back the kernel: they always keep the original file, so they can hold various kernel versions in the Flash, because the patches are relatively small. If they wouldn't use patches, but complete files, then they wouldn't probably have space enough for 2 kernels !

About the answer to question 2 I am pretty sure: they simply can NOT patch the exe files themselves on the flash ! Because doing so, would break the signature, so they would need to resign the files and MS is not going to send us the private key to do so ;) Besides, another reason would be that rolling back would be more difficult.

So, to conclude, the filesystem always contains the V1.0 version of the files (well: 2.0.1888.0  November 22, 2005  Original shipped version), plus the patches. The 360 scans for the latest patch, loads both the original exe and the latest patch, checks BOTH files for their signature (at least, that is what i EXPECT) and then creates the new, 'patched' exe in its memory.

Note that right now, booting up with the 1888 kernel doesn't bring any real advantages (except maybe booting the kiosk disc from recordable media), but it might come in handy later.

Full Story/News-Source: xboxhacker.net (hacking discussions ONLY! - thx)

Logged

rasputin69

  • Archived User
  • Newbie
  • *
  • Posts: 7
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #1 on: January 12, 2007, 10:39:00 PM »

I wonder could this help people who have had bad flashes that give errors. The system is still booting, but the flash did not go well. Who knows.
Logged

ILLusions0fGrander

  • Archived User
  • Hero Member
  • *
  • Posts: 3560
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #2 on: January 12, 2007, 10:49:00 PM »

QUOTE
Note that right now, booting up with the 1888 kernel doesn't bring any real advantages (except maybe booting the kiosk disc from recordable media), but it might come in handy later.


thats what i found pretty cool.

if there was a flaw from day one... it can now be exploited.

Logged

Tobb555

  • Archived User
  • Full Member
  • *
  • Posts: 237
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #3 on: January 12, 2007, 10:51:00 PM »

This is a awsome find but isnt it this kinda a pain in the arse for the normal joe to do. I sure I dont have the skills for this.
Logged

1337 pig

  • Archived User
  • Full Member
  • *
  • Posts: 157
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #4 on: January 12, 2007, 10:52:00 PM »

I saw this eailer today, didnt understand much of thier technical talk but i knew it was another step.
Logged

poncinator

  • Archived User
  • Newbie
  • *
  • Posts: 14
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #5 on: January 12, 2007, 11:02:00 PM »

Logged

gaming fanboy

  • Archived User
  • Sr. Member
  • *
  • Posts: 388
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #6 on: January 12, 2007, 10:40:00 PM »

QUOTE(ILLusions0fGrander @ Jan 13 2007, 06:20 AM) View Post

thats what i found pretty cool.

if there was a flaw from day one... it can now be exploited.

i agwee smile.gif

QUOTE(Tobb555 @ Jan 13 2007, 06:22 AM) View Post

This is a awsome find but isnt it this kinda a pain in the arse for the normal joe to do. I sure I dont have the skills for this.

true true  mad.gif

QUOTE(poncinator @ Jan 13 2007, 06:33 AM) View Post

Hope ohmy.gif


THEY'RE GETTING SOMEWHERE!!!  biggrin.gif  smile.gif
Logged

Casper1786

  • Archived User
  • Full Member
  • *
  • Posts: 188
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #7 on: January 12, 2007, 11:25:00 PM »

now i'm curious if the new/newer/after launch machines carry a later kernal then launchday or are they preloading launch kernals with latest patches to the flashes? cause unless XBL guys are making "pre-patched" kernals and seperate patch versions for these then it's probable that we all have the same "base kernal"
Logged

appleguru

  • Archived User
  • Hero Member
  • *
  • Posts: 1200
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #8 on: January 12, 2007, 11:08:00 PM »

QUOTE(Casper1786 @ Jan 13 2007, 12:56 AM) View Post

now i'm curious if the new/newer/after launch machines carry a later kernal then launchday or are they preloading launch kernals with latest patches to the flashes? cause unless XBL guys are making "pre-patched" kernals and seperate patch versions for these then it's probable that we all have the same "base kernal"


As of now anyways, we all do.
Logged

SwattiMatti

  • Archived User
  • Newbie
  • *
  • Posts: 2
Logged

NFN_NLN

  • Archived User
  • Newbie
  • *
  • Posts: 4
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #10 on: January 12, 2007, 11:52:00 PM »

I'm always paranoid about taking updates because I know that if they do find an exploit chances are it'll be for an early kernel version.  As I understand it this kernel + patch model is a fundamental architecture that can't safely change so we'll always be able to downgrade (assuming you have the balls to pull out your flash memory and reprogram it).
Here's to hoping a number of those patches were to plug up security holes and not just feature enhancements.
Logged

GARRYB

  • Archived User
  • Jr. Member
  • *
  • Posts: 50
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #11 on: January 12, 2007, 11:51:00 PM »

so does this mean we will soon be running linux on 360 if yes wow u just made my day. love.gif
Logged

sicknasty413

  • Archived User
  • Hero Member
  • *
  • Posts: 1215
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #12 on: January 13, 2007, 12:13:00 AM »

QUOTE(GARRYB @ Jan 13 2007, 01:58 AM) View Post

so does this mean we will soon be running linux on 360 if yes wow u just made my day. love.gif

soon? doubt it.

Good news though!
Logged

Murc

  • Archived User
  • Jr. Member
  • *
  • Posts: 83
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #13 on: January 13, 2007, 01:06:00 AM »

smells like progress.

But I'm sure a linux type of interface is still a long while off yet.

I have a question, way out of the left field that has nothing at all to do with this topic....Can people (me) put a custom picture on their 360 for their gamertag pic???

This post has been edited by Murc: Jan 13 2007, 09:11 AM
Logged

signal-to-noise-ratio

  • Archived User
  • Full Member
  • *
  • Posts: 170
Discovery: Boot Xbox360 from 1888 Kernel - Downgrade Kernel
« Reply #14 on: January 13, 2007, 01:38:00 AM »

QUOTE
While the Xbox360 software (system>console settings>system info) reports being in 1888 kernel it has yet to be tested if it really is booting only the 1888 kernel without patches (looking at the dashboard features is no option ... the dashboard and kernel are not the same, the dashboard stays as it is).


If the kiosk disc does boot doesnt that prove it has reverted back to the 1888 kernel without patches otherwise the disc wouldnt boot.
Logged
Pages: [1] 2 3 ... 5