Omnimaga

Omnimaga => News => Topic started by: critor on October 04, 2013, 07:45:00 pm

Title: Customize your TI-Nspire CX / CM boot screen at last!
Post by: critor on October 04, 2013, 07:45:00 pm
In a previous news (http://tiplanet.org/forum/viewtopic.php?f=43&t=12723&p=146143&hilit=anatomie#p146143), we were focusing on the TI-Nspire CX/CM startup screens.
Unlike monochrome TI-Nspire, these calculators include a graphical data stream in the first pages of their NAND memory chip, a part called the Manuf zone. That stream is used during startup by both Boot1 and Boot2.

So far, we could dump up to three different samples of this data stream:
(http://tiplanet.org/modules/archives/captures/13740749571372238947manuf_cx.png)(http://tiplanet.org/modules/archives/captures/13740751401372239094manuf_cmevt1.png)(http://tiplanet.org/modules/archives/captures/1374071024color_manuf.png)



It turns out that the content format has remained exactly the same.
This graphical data flow in RGB-565 has remained a mystery for a long time because it is not visible in NAND dumps. Indeed, it is compressed - but we're not surprised to discover that it's the same compression format as the Boot2, which avoids the small Boot1 to have to manage various decompression algorithms.

This flow is also signed with the same RSA keys as the Boot2, Diagnostics software or OS. That means that it's going to be rejected in case of modifications, and the calculator in this case boots with a default screen similar to the one on monochrome TI-Nspire.
And yet, today is a great day. I'm releasing a tool which will probably be my penultimate Ndless 3.1 program, mySpire, a splash screen editor for the TI-Nspire CX/CM! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)



How is this possible ?
The startup screen does actually include a maximum of 12 displayable elements which are extracted from the signed data stream. On the data streams we could dump, only 8 of these elements are being used.
(http://i.imgur.com/WT1dik5.png)(http://i.imgur.com/RfvBw08.png)(http://i.imgur.com/fhxBqgz.png)

And all the parameters about these elements (position, size, part of the data stream...) are unsigned and therefore freely editable!  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

We can therefore move all of these elements, and even reuse a part of an element in another one!  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
(http://i.imgur.com/aKAAWPi.png)

In fact, the logic is completely different from the one of an image editor, because here you're controling the container instead of the content.
But after an adaptation phase you will realize, however, that we can still do very cool effects.

By expanding an element horizontally, one can for example tilt it to the right or reduce it and even make it appear several times!  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
(http://i.imgur.com/EjViSH9.png)(http://i.imgur.com/jg3XFJo.png)(http://i.imgur.com/mzut8RW.png)

By compressing element instead, you can tilt it to the left or enlarge it!  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
(http://i.imgur.com/j9XuWin.png) (http://i.imgur.com/yxLQSdL.png)

There's even an option to shift the RGB-565 and get new colors!  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
(http://i.imgur.com/aa7lWjH.png)

And as Texas Instruments kindly left us 4 free items, by borrowing to uniform areas of the data stream areas we can build fun shapes for example!  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
(http://i.imgur.com/mZU38x2.png)



Note that mySpire is a simple file editor. The changes will be applied to the calculator once you flash the modified Manuf image to the NAND memory using another tool like nsNandMgr.
You are therefore free to take all the time necessary to train yourself, to get use to the logic of the RGB-565 date stream containers modifications, and to create your customized boot screen in several times!  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

With mySpire and nsNandMgr, your TI-Nspire CX/CM becomes finally yours and you can customize it according to your desires!  ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

It is also an excellent way to mark your calculator against theft, since there is no official way to cancel the changes.
The only way to rollback is to flash a backup of the original Manuf image using nsNandMgr again.

Look at this... Isn't it beautiful? ;)
(http://tiplanet.org/forum/gallery/image.php?mode=thumbnail&album_id=13&image_id=2990) (http://tiplanet.org/forum/gallery/image_page.php?image_id=2990)

And for those who think to a simple trick with mViewer displaying image, I 'm going to show you the creation and flashing of another custom boot screen: ;)
(jump to 8'45 to see directly the reboot with the custom splash screen)



Downloads:
mySpire (http://tiplanet.org/forum/archives_voir.php?id=20625)
nsNandMgr (http://tiplanet.org/forum/archives_voir.php?id=10080)

Source:
http://tiplanet.org/forum/viewtopic.php?f=43&t=13071&lang=en
Title: Re: Customize your TI-Nspire CX / CM boot screen at last!
Post by: TIfanx1999 on October 04, 2013, 08:01:59 pm
Very cool stuff Critor! :)
Title: Re: Customize your TI-Nspire CX / CM boot screen at last!
Post by: Legimet on October 04, 2013, 10:12:28 pm
Awesome! I had been waiting for this for a long time. I wonder if it would be possible to make a nice-looking boot menu for nLaunchy.
Title: Re: Customize your TI-Nspire CX / CM boot screen at last!
Post by: Sorunome on October 05, 2013, 05:00:28 am
That is pretty awesome stuff :D
Title: Re: Customize your TI-Nspire CX / CM boot screen at last!
Post by: DJ Omnimaga on October 09, 2013, 01:49:56 am
I like this. I think I recall we could do this a few years ago already, though (but to a much lower scale)?
Title: Re: Customize your TI-Nspire CX / CM boot screen at last!
Post by: floris497 on October 18, 2013, 09:27:39 am
so if we get all the colors from the existing pictures can we make our own pictures? what is the posibility of placing our own images in the nand?
Title: Re: Customize your TI-Nspire CX / CM boot screen at last!
Post by: Lionel Debroux on October 18, 2013, 01:22:44 pm
Quote
what is the posibility of placing our own images in the nand?
Nonexistent ;)

From critor's text:
Quote
The startup screen does actually include a maximum of 12 displayable elements which are extracted from the signed data stream.
(emphasis mine)