Author Topic: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire  (Read 20645 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« on: December 25, 2012, 04:40:03 pm »
In the past, many NAND related Ndless tools were released for the TI-Nspire ...



And this list is a problem in itself, because this wide range of NAND tools is very difficult to keep up to date.
Some tools have been updated to Ndless 3.1 for TI-Nspire CX, but not for TI-Nspire ClickPad / TouchPad for exemple. (FlashBoot2CX, FlashDiagsCX, DowngradeCX) :(
Other tools have never been updated to Ndless 3.1! (Boot2Launcher, DiagsLauncher) :(



I had already started to sort things by releasing my universal dumping tool, Polydumper, compatible with all TI-Nspire models and compiled for every released Ndless version from 1.1 to 3.1! ;D



Today I'm at it again with nsNandMgr! ;)

nsNandMgr is destined to become the Swiss Army knife of the NAND memory on the TI-Nspire. It includes all the functionalities of the tools mentioned above and even more! ;)

It allows you to:
  • change the type of your TI-Nspire (CAS or non-CAS) in the case where the used ASIC chip is generic (ClickPad prototypes from 2007)
  • dump the Boot2
  • flash a Boot2 image
  • launch a Boot2 image without installation
  • dump the Diagnostics software
  • flash a Diagnostics software image
  • launch a Diagnostics software image without installation
  • remove the minimum installable OS version downgrade protection
  • change the Boot2/Diags boot order
  • delete the Boot Data area
  • delete the Diags Data area

Published under a free license of course, the critic code is centralized with only a total of two NAND writing instructions in the whole program for all mentionned functionnalities! ;D
It should be easy to maintain for future versions.

nsNandMgr has also been designed to check the Boot2 and Diags images before flashing or running them, in order to prevent some unintended accidents. ;D



Let's try to understand the possibilities with examples. Here's a TI-Nspire CX CAS:
  • As the ASIC is not generic (Nspire CAS), it is not possible to change the Nspire type.
  • It comes with a compressed CX Boot2 3.1.0.16, and the file '/ndless/boot2.img' contains a compressed CX Boot2 3.0.1.131. It is therefore possible to run this image, or even flash it performing a Boot2 downgrade.
  • It comes with an uncompressed CX Diags 3.1.0.20, but here the '/ndless/diags.img file contains an uncompressed CM Diags 3.1.0.21. As the Boot1 will refuse this TI-Nspire CM Diags, nsNandMgr won't let you flash it. But as hardware is similar, it will let you run it.
  • The minimum installable OS version is 3.0.2.1785 and the boor order is Boot2 then Diags upon failure.
So just a few keystrokes and you perform a Boot2 downgrade from 3.1 to 3.0.1, the removal of the OS antidowngrade protection, and the launching of the TI-Nspire CM diagnostic software! ;)



Now let's take a non-CAS TI-Nspire ClickPad:
  • As the ASIC is not generic (Nspire non-CAS), it is not possible to change the Nspire type.
  • It comes with a compressed Boot2 3.0.1.131, and the file '/ndless/boot2.img' contains a compressed Boot2 1.4.1571. It is therefore possible to run this image, or even flash it performing a Boot2 downgrade.
  • It comes with an uncompressed Diags 1.1.9266, and the file '/ndless/diags.img contains an uncompressed development Diags 1.1.7383. Although the current nsNandMgr will let you flash this prototype Diags, Boot1 will refuse it. But you can still run it from nsNandMgr.
  • The minimum installable OS version is 3.0.2.1785 and the boor order is Boot2 then Diags upon failure.
So just a few keystrokes and you perform a Boot2 downgrade from 3.1 to 1.4, the removal of the OS antidowngrade protection, and the launching of the TI-Nspire prototype diagnostic software! ;)



Finally, let's take a non-CAS TI-Nspire ClickPad prototype:
  • As the ASIC is generic, it is possible to change the Nspire type to CAS.
  • It comes with a compressed Boot2 1.4.1571, and the file '/ndless/boot2.img' contains a compressed CX Boot2 3.0.1.131. As hardware is uncompatible,  nsNandMgr won't let you flash or run it.
  • It comes with an uncompressed Diags 1.3.2406, and the file '/ndless/diags.img contains an uncompressed Lab Cradle Diags 3.0.1658. As the Boot1 will refuse this TI-Nspire Lab Cradle Diags, nsNandMgr won't let you flash it. But as hardware is similar, it will let you run it.
  • The minimum installable OS version is 3.0.2.1785 and the boor order is Boot2 then Diags upon failure.
So just a few keystrokes and you perform a TI-Nspire to TI-Nspire CAS transformation and the removal of the OS antidowngrade protection. ;)



nsNandMgr: take the control! ;D



Source & download:
http://tiplanet.org/forum/viewtopic.php?p=133849&lang=en
« Last Edit: December 25, 2012, 06:37:41 pm by critor »
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #1 on: December 25, 2012, 05:39:07 pm »
I didn't know there were that many! O.O

I often noticed, however, that every week or so, we would see a news on Omni or TI-Planet saying that the boot1, boot2 or OS of one Nspire model/prototype in particular was flashed/dumped/etc for the first time ever, and I kinda got confused over time so I hoped one day there would be a topic compiling every single news link in one page D:

ANyway awesome program :D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #2 on: December 25, 2012, 06:08:51 pm »
I often noticed, however, that every week or so, we would see a news on Omni or TI-Planet saying that the boot1, boot2 or OS of one Nspire model/prototype in particular was flashed/dumped/etc for the first time ever, and I kinda got confused over time so I hoped one day there would be a topic compiling every single news link in one page D:

I'm glad to see you're interested :)
Someday... ;)
TI-Planet co-admin.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #3 on: December 25, 2012, 06:29:41 pm »
By the way I like the background in nsNangMgr :P (using a chip that is)
« Last Edit: December 25, 2012, 06:29:54 pm by DJ_O »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #4 on: December 25, 2012, 06:32:27 pm »
Nice work as usual. :)

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #5 on: December 26, 2012, 09:49:04 am »
I think nice job is an understatement here :P This passes by my knowledge by far, but I guess all I really have to know is that this again shows nothing's gonna stop us :)

Some people need a high five in the face... with a chair.
~EC

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #6 on: January 01, 2013, 06:20:33 pm »
What does each option mean? ???
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #7 on: January 01, 2013, 06:32:13 pm »
If you want to flash your boot2:
1)place your boot2 image in ndless/boot2.img.tns
2)run nsNandMgr
3)Option 2 (boot2)
4)Option 2 (flash boot2)

:).
« Last Edit: January 01, 2013, 06:38:19 pm by excale »

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #8 on: January 01, 2013, 06:33:12 pm »
Thanks, exactly what I needed! :D

EDIT: Is boot2 hot-launching not reliable? I tried it with boot2 1.4 and it doesn't get past the thatched clock screen.
« Last Edit: January 01, 2013, 07:59:35 pm by TheNlightenedOne »
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #9 on: January 04, 2013, 12:16:32 pm »
EDIT: Is boot2 hot-launching not reliable? I tried it with boot2 1.4 and it doesn't get past the thatched clock screen.

There seems to be some strange protections in the OS. OSLauncher fails at the same point.

Offline juny

  • LV0 Newcomer (Next: 5)
  • Posts: 1
  • Rating: +0/-0
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #10 on: January 16, 2013, 01:45:57 am »
I tried to use nandmgr. After I input boot2.img.tns into my "ndless" folder, the prog didn`t work.
It rebootd.
How can I fix it?

I use Nspire cas with TP and the os version is 3.1

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #11 on: January 16, 2013, 03:45:46 pm »
And without the Boot2 file, was it working?
TI-Planet co-admin.

Offline ebzzry

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #12 on: January 18, 2013, 01:55:58 am »
I tried it with boot2 1.4 and it doesn't get past the thatched clock screen.

I am experiencing the same issues, too. I did it multiple times, and I have always gotten the same results. Does anybody else have better luck? If yes, how did you do it?

Also, if I power reset the device when it is stuck at that point, does it mean that boot2 1.4 is no longer running?

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #13 on: January 18, 2013, 02:58:57 am »
Again, if you just hot-run the Boot2 (option 3), it is going to freeze on the watch-screen because OS 3.1 and later have features which defeat hot-runs (and by the same time OSlauncher).

If you hot-run a Diags (it's the same code in the program) you'll see that everything works correctly.


If you really want to use Boot2 1.4, you have to flash it (option 2).
« Last Edit: January 18, 2013, 03:02:48 am by critor »
TI-Planet co-admin.

Offline ebzzry

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 7
  • Rating: +0/-0
    • View Profile
Re: nsNandMgr, the NAND Swiss Army knife for the TI-Nspire
« Reply #14 on: January 18, 2013, 03:03:14 am »
Again, if you just hot-run the Boot2 (option 3), it is going to freeze on the watch-screen because OS 3.1 and later have have features which defeat hot-runs (and by the same time OSlauncher).

If you hot-run a Diags (it's the same code in the program) you'll see that everything works correctly.


If you really want to use Boot2 1.4, you have to flash it (option 2).

Ok. So what exactly do I need to do to follow the instructions in the README file
of nLaunch, with regards to nsNandMgr.