I've tried to adapt your patch for Boot2 4.0.3, as we can find the same code inside it :
- Code: Tout sélectionner
PATCH_SETB(0x118B8915,0x54);
PATCH_SETW(0x118B892C,0xE3A04341);
PATCH_SETW(0x118B8930,NOP);
PATCH_SETW(0x118B8DA0,0x00010105);
The first thing the patched Boot2 did was removing my non-CAS OS.
For some reason, I now can install neither non-CAS OSes, nor CAS OSes.
When sendind a non-CAS OS :
- Code: Tout sélectionner
IMAGE: verifying file /tmp/TI-Nspire.tco
IMAGE: missing ASIC User Flags
TI_OS_INSTALL_VERIFYING_RESOURCE (95)
deleteTree(): path /tmp
Deleting file [/tmp/TI-Nspire.tco]
TI_OS_deleteTree: deleteAllFiles Done!
TI_OS_INSTALL_FAILED
TI_OS_INSTALL_IMAGE_INVALID
When sending a CAS OS :
- Code: Tout sélectionner
IMAGE: verifying file /tmp/TI-Nspire.tcc
IMAGE: missing Program ID
TI_OS_INSTALL_VERIFYING_RESOURCE (95)
deleteTree(): path /tmp
Deleting file [/tmp/TI-Nspire.tcc]
TI_OS_deleteTree: deleteAllFiles Done!
TI_OS_INSTALL_FAILED
TI_OS_INSTALL_IMAGE_INVALID
Emulated calculator is a CX non-CAS.
If possible, it would be great for this main cas check to accept all OSes.
Not only CAS OSes, but both CAS and non-CAS OSes.
Because many things we develop need to be tested on non-CAS OSes too.
And also because, not being able to install a non-CAS OS on your TI-Nspire CX non-CAS is probably going to become problematic in some future situations
(new TI updates, verifications for some exams...).