Author Topic: Hacking the TI Nspire CX Native OS?  (Read 18289 times)

0 Members and 1 Guest are viewing this topic.

Offline davetheant

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +0/-0
    • View Profile
Hacking the TI Nspire CX Native OS?
« on: January 16, 2013, 09:27:16 pm »
Hello everyone. I have a TI Nspire CX Cas and I've been wondering for some time whether it's possible to hack the native OS and add custom menus/key combinations, etc. If not, could this be achieved by installing a custom OS that I create from modifying the stock?

Thanks!

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #1 on: January 16, 2013, 09:37:48 pm »
I haven’t researched much, but their was something called dummyos made, but it doesn’t do anything, and I read that to make your own you will have to crack the 2048 bit encryption key, which is impossible to do.

Offline Spacetime4.0

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 17
  • Rating: +1/-0
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #2 on: January 16, 2013, 10:38:55 pm »
nlaunch which was released recently makes it possible to load a non-signed or custom os and bypass the encryption key. So I guess it would be possible to mod the os and add extra feature now. Only problem is that you would wouldn't be able to distribute modified os's as that would directly be against the copyright.
« Last Edit: January 16, 2013, 10:39:28 pm by Spacetime4.0 »

Offline davetheant

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +0/-0
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #3 on: January 16, 2013, 10:45:18 pm »
Thank you for your replies! I'll check out dummyos mode and nLaunch. I don't plan on distributing the modified OS, it's for personal convenience only. Do you know anything about modding the original OS? What language(s) would I need to be familiar with?

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #4 on: January 16, 2013, 11:16:22 pm »
I can't imagine it would be too easy, as someone else would have already done it, but a fun place to "start" is by unzipping the OS and several folders in it, even though I didn't learn much from it
This might be able to help
http://hackspire.unsads.com/wiki/index.php/Main_Page#OS_information
And this section
http://hackspire.unsads.com/wiki/index.php/OS_upgrade_files

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #5 on: January 16, 2013, 11:17:43 pm »
My guess is that the only think you could get would be the assembly code for the OS and I believe the nspire is an ARM so you'd need a knowledge of ARM assembly
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Hacking the TI Nspire CX Native OS?
« Reply #6 on: January 16, 2013, 11:27:28 pm »
I think the only way to re-distribute modified TI-OSes would be via IPS patches, like SNES/NES/GB/N64 ROMs.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #7 on: January 16, 2013, 11:46:39 pm »
Also Nlaunch does not work on the CX since it exploits a bug in boot2(or is it boot1) code from before the CX's
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline ElementCoder

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 611
  • Rating: +42/-2
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #8 on: January 17, 2013, 03:30:14 am »
Don't we have nsNandMgr for this now? Or is that not capable of loading custom OSes?

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

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Hacking the TI Nspire CX Native OS?
« Reply #9 on: January 17, 2013, 05:33:46 am »
Without nLaunch or anything, just OS 3.1 and Ndless 3.1, one can create hooks (or anything similar) to redirect soem OS calls to his own functions, that either extend or change completely the behaviour of the original function. But it's a matter of time to code all this.
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #10 on: January 17, 2013, 08:16:36 am »
Also Nlaunch does not work on the CX since it exploits a bug in boot2(or is it boot1) code from before the CX's
It is an exploit in boot2 (if it was an exploit in boot1, it would mean you'd have to reinstall the boot2 if anything goes wrong, and you cannot reinstall the boot2 via USB).

Don't we have nsNandMgr for this now? Or is that not capable of loading custom OSes?
OSes 3.x hang on the clock screen when hot-launched. That is the problem.

Edit: ThemeEditor v2 ( http://tiplanet.org/forum/viewtopic.php?p=134618#p134618 ) is a good example of a program using the OS routines, and it also adds a submenu in "settings".
« Last Edit: January 17, 2013, 08:19:17 am by excale »

Offline davetheant

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 11
  • Rating: +0/-0
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #11 on: January 17, 2013, 05:56:03 pm »
So from my understanding I can't really achieve this on the CX because there's no way to install my own OS?

Offline Rhombicuboctahedron

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 437
  • Rating: +41/-6
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #12 on: January 17, 2013, 07:14:05 pm »
Get cracking on that encryption key!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Hacking the TI Nspire CX Native OS?
« Reply #13 on: January 18, 2013, 12:47:51 am »
Well, your first question was "is it possible to hack the native OS and add custom menus/key combinations, etc" and it is definitely possible since ThemeEditor added an option in the settings menu :)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: Hacking the TI Nspire CX Native OS?
« Reply #14 on: January 18, 2013, 03:06:43 am »
With ThemeEditor, OS is just temporarily hacked in RAM.
If you reboot and don't run ThemeEditor again, you'll be back with the original OS.

Don't we have nsNandMgr for this now? Or is that not capable of loading custom OSes?
nsNandMgr doesn't deal with OSes at all, and so is unable to run them.
But as nsNandMgr does deal with Boot2/Diags, you could run a custom Boot2 which would then load an OS the way you want.
« Last Edit: January 18, 2013, 03:09:38 am by critor »
TI-Planet co-admin.