GENERAL Can m$ stop you from flashing your Nand?

jayfig

VIP Member
Oct 29, 2010
314
0
North Carolina
If I already have my nand/cpu key backed up using coolrunner nandx method with the RGH can any future dashboards updates stop flashing the nand? I know that its possible that m$ can stop the RGH in the future but what if you already have your nand/ cpu key backed up?
 
Last edited:

bandit123

VIP Member
Jul 4, 2010
1,517
68
(UK)
show a 100% official word saying this is for RGH from a mod or admin

no offence but i aint doing nothing on a word from a 229 post vip (and i mean no offence)
if an admin or mod confirms this then i will do it
 

MightyShots

VIP Member
Aug 31, 2011
305
0
Walsall, United Kingdom
show a 100% official word saying this is for RGH from a mod or admin

no offence but i aint doing nothing on a word from a 229 post vip (and i mean no offence)
if an admin or mod confirms this then i will do it
How about believing it from ROGERO?

http://www.team-xecuter.com/forums/showthread.php?p=483420

Post 106, but hang on hes only got 27, and it can be done but the programs need updating first, see answered my own post.

I just dont post sh*t :)
 
Last edited:

silent13clk

VIP Member
Jan 31, 2011
288
0
Salt Lake City
Haha knew it I remembered reading the first tut ever for ggbuild and the original guy who came up with it said it couldnt be patched cuz no resistors jtag on the other hand is
 

MightyShots

VIP Member
Aug 31, 2011
305
0
Walsall, United Kingdom
Haha knew it I remembered reading the first tut ever for ggbuild and the original guy who came up with it said it couldnt be patched cuz no resistors jtag on the other hand is
Yeah just becareful of new ones mate, i've read somewhere think it was xbox scene that the ones manfactured after october 2011 dont have the hana chip or something lol Think if you google it, it will tell you
 

silent13clk

VIP Member
Jan 31, 2011
288
0
Salt Lake City
Yeah just becareful of new ones mate, i've read somewhere think it was xbox scene that the ones manfactured after october 2011 dont have the hana chip or something lol Think if you google it, it will tell you
Haha and I know this one too. The new slim that was found in a forza 4 bundle. Did not have Hans chip codename corona motherboard lucky my brother has trinity
 

ccNick

VIP Member
Nov 1, 2011
165
0
Yorkshire
Haha knew it I remembered reading the first tut ever for ggbuild and the original guy who came up with it said it couldnt be patched cuz no resistors jtag on the other hand is

If you read it properly you would have noticed he states the slim is unpatchable because CB_A contains no fuses.

Details for the fat hack
========================

On fats, the bootloader we glitch is CB, so we can run the CD we want.

cjak found that by asserting the CPU_PLL_BYPASS signal, the CPU clock is slowed down a lot, there's a test point on the motherboard that's a fraction of CPU speed, it's 200Mhz when the dash runs, 66.6Mhz when the console boots, and 520Khz when that signal is asserted.

So it goes like that:
- We assert CPU_PLL_BYPASS around POST code 36 (hex).
- We wait for POST 39 start (POST 39 is the memcmp between stored hash and image hash), and start a counter.
- When that counter has reached a precise value (it's often around 62% of entire POST 39 length), we send a 100ns pulse on CPU_RESET.
- We wait some time and then we deassert CPU_PLL_BYPASS.
- The cpu speed goes back to normal, and with a bit of luck, instead of getting POST error AD, the boot process continues and CB runs our custom CD.

The NAND contains a zero-paired CB, our payload in a custom CD, and a modified SMC image.
A glitch being unreliable by nature, we use a modified SMC image that reboots infinitely (ie stock images reboot 5 times and then go RROD) until the console has booted properly.
In most cases, the glitch succeeds in less than 30 seconds from power on that way.

Details for the slim hack
=========================

The bootloader we glitch is CB_A, so we can run the CB_B we want.

On slims, we weren't able to find a motherboard track for CPU_PLL_BYPASS.
Our first idea was to remove the 27Mhz master 360 crystal and generate our own clock instead but it was a difficult modification and it didn't yield good results.
We then looked for other ways to slow the CPU clock down and found that the HANA chip had configurable PLL registers for the 100Mhz clock that feeds CPU and GPU differential pairs.
Apparently those registers are written by the SMC through an I2C bus.
I2C bus can be freely accessed, it's even available on a header (J2C3).
So the HANA chip will now become our weapon of choice to slow the CPU down (sorry tmbinc, you can't always be right, it isn't boring and it does sit on an interesting bus


So it goes like that:
- We send an i2c command to the HANA to slow down the CPU at POST code D8 .
- We wait for POST DA start (POST DA is the memcmp between stored hash and image hash), and start a counter.
- When that counter has reached a precise value, we send a 20ns pulse on CPU_RESET.
- We wait some time and then we send an i2c command to the HANA to restore regular CPU clock.
- The cpu speed goes back to normal, and with a bit of luck, instead of getting POST error F2, the boot process continues and CB_A runs our custom CB_B.

When CB_B starts, DRAM isn't initialised so we chose to only apply a few patches to it so that it can run any CD, the patches are:
- Always activate zero-paired mode, so that we can use a modified SMC image.
- Don't decrypt CD, instead expect a plaintext CD in NAND.
- Don't stop the boot process if CD hash isn't good.

CB_B is RC4 crypted, the key comes from the CPU key, so how do we patch CB_B without knowing the CPU key?
RC4 is basically:
crypted = plaintext xor pseudo-random-keystream
So if we know plaintext and crypted, we can get the keystream, and with the keystream, we can encrypt our own code. It goes like that:
guessed-pseudo-random-keystream = crypted xor plaintext
new-crypted = guessed-pseudo-random-keystream xor plaintext-patch
You could think there's a chicken and egg problem, how did we get plaintext in the first place?
Easy: we had plaintext CBs from fat consoles, and we thought the first few bytes of code would be the same as the new CB_B, so we could encrypt a tiny piece of code to dump the CPU key and decrypt CB_B!

The NAND contains CB_A, a patched CB_B, our payload in a custom plaintext CD, and a modified SMC image.
The SMC image is modified to have infinite reboot, and to prevent it from periodically sending I2C commands while we send ours.

Now, maybe you haven't realised yet, but CB_A contains no checks on revocation fuses, so it's an unpatchable hack !
Copy/pasta from LibXenon
 

silent13clk

VIP Member
Jan 31, 2011
288
0
Salt Lake City
If you read it properly you would have noticed he states the slim is unpatchable because CB_A contains no fuses.



Copy/pasta from LibXenon
I'm sorry I'm not that skilled to understand the beginning but from what I understand phat consoles need a glitchable cb right?