Author Topic: Let's hack Nspire OS 2.1!  (Read 19928 times)

0 Members and 1 Guest are viewing this topic.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #45 on: July 23, 2010, 11:04:57 am »
@fb39ca4: Really? Is there a link you could provide? It *might* be 1.x though, but I'll check.
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #47 on: July 23, 2010, 12:23:32 pm »
Here:

http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=397

OK, I've tried and unfortunately, it's an older version. :(
It seems that the TI community hasn't found the format yet.

See below screenshot.
Red is the file magic number (I think), which is highlighted by the program.
The rest (blue, green) are highlighted by me.
Blue is the header, green is the compressed data.

2.0test.tns is apcalc's TNS, with OS 2.0.
Binder1.tns is the TNS I produced from the program.

(Click to enlarge)


EDIT: Yikes! Looks like I forgot to censor out the directories... :P Oh well - TI still has no right to run around my public files! ;)
« Last Edit: July 23, 2010, 12:25:22 pm by alberthrocks »
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #48 on: July 23, 2010, 12:36:22 pm »
If you think you found the basic algorithm, perhaps you could do a diff of the two?
Just make sure your diff utility supports binary files ;)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #49 on: October 11, 2010, 04:59:23 pm »
@Lionel Debroux: Well, I must be really behind! :)
I still think it's BSD, or at least has some BSD parts in it. Lookie here:
http://www.google.com/#hl=en&q=usbd_start_next%3A+error%3D%25d&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=76ee7718c2ec583d

The interesting text is "usbd_start_next: error=%d". The google search above yields plenty of BSD source links. How isn't it BSD? ;)
This was found in the latest stock OS, 2.1. Line 8752 to be exact (after extracting phoenix.raw, and "strings"ing it).

You're right. Looking closer:

"*BSD"'s usbdi (and ehci) interface was introduced in OS 2.0 (apcalc points out that this could be required to support the docking station).
Some parts seem to be deeply adapted though.

This means that:
- TI would be in violation of the BSD license. The license requires that any distribution in binary form reproduce the copyright notice, conditions of distribution and disclaimer. I can't find these requirements.
- Understanding/hooking the USB stack and documenting the USB I/O ports may be easier thanks to this open interface
« Last Edit: October 11, 2010, 05:00:04 pm by ExtendeD »
Ndless.me with the finest TI-Nspire programs

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #50 on: October 11, 2010, 05:01:33 pm »
- TI would be in violation of the BSD license. The license requires that any distribution in binary form reproduce the copyright notice, conditions of distribution and disclaimer. I can't find these requirements.

so I smell a lawsuit? :o
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

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: Let's hack Nspire OS 2.1!
« Reply #51 on: October 11, 2010, 05:03:35 pm »
Wait, so TI would have used someone else's code without crediting them/asking permission or what? This topic is a bit old so I kinda forgot the context of the latest discussion a bit. Does it means TI could be in trouble?

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #52 on: October 12, 2010, 01:28:07 pm »
Yes. But it would just be a matter of updating their "About" screen that already contains credits for other third-party components.
The second point is the most interesting for us.
Ndless.me with the finest TI-Nspire programs

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #53 on: October 12, 2010, 06:02:08 pm »
irrelevant to recent discussion:  I had a thought. 

Could we use "TI-Nspire Computer Link" and disassemble it to find the rsa key?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #54 on: October 12, 2010, 06:12:48 pm »
No, all it does is copy over the files. If it does verify the os, it'll only need the public key.

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #55 on: October 12, 2010, 06:51:08 pm »
The RSA private key is never ever ever used anywhere in the operating system, transfer links, or anything, because then it wouldn't be a private key. ;-)

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Let's hack Nspire OS 2.1!
« Reply #56 on: October 13, 2010, 04:09:37 pm »
ok, i think i understand.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

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: Let's hack Nspire OS 2.1!
« Reply #57 on: October 13, 2010, 11:25:24 pm »
The RSA private key is never ever ever used anywhere in the operating system, transfer links, or anything, because then it wouldn't be a private key. ;-)
Now if only they made it that easy ;D

But again hacking that stuff wouldn't be as fun for some people :P