Author Topic: Unlocking Flash  (Read 10468 times)

0 Members and 1 Guest are viewing this topic.

Offline 3.1415926535

  • LV2 Member (Next: 40)
  • **
  • Posts: 34
  • Rating: +2/-0
    • View Profile
Unlocking Flash
« on: August 11, 2009, 07:09:20 pm »
Hey, I just joined Omnimaga and it looks like a very cool site.

I was just wondering what it means to "unlock flash" I recently encountered one of Brandon Wilson's unlocking flash programs at http://www.brandonw.net/calcstuff/
and i want to know what it does.

Thanks

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: Unlocking Flash
« Reply #1 on: August 11, 2009, 07:17:03 pm »
HI and welcome here :)

I am not sure exactly what it means, unfortunately, because I don't do z80 assembly, altough I know recently he did an utility that allowed the installing of third party OSes on your TI-83+ calculator. 1 week later, this utility was obsoleted by what's talked about in the last news on www.ticalc.org website. I also remember a while ago he also had in mind to write a program that allowed the user to run programs directly from flash rom memory (archive). But I have no clue if the Flash unlocking thing is related and what it is about. Maybe Calc84, Iambian or Simplethinker could awnser, else you might have to ask BrandonW himself . Sorry for being no help :(

Offline 3.1415926535

  • LV2 Member (Next: 40)
  • **
  • Posts: 34
  • Rating: +2/-0
    • View Profile
Re: Unlocking Flash
« Reply #2 on: August 11, 2009, 07:23:37 pm »
Thanks and no problem.

I just really started calculator programming and have no idea what all this fancy stuff is. =)

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: Unlocking Flash
« Reply #3 on: August 11, 2009, 07:26:28 pm »
I'm pretty sure this is related to z80 assembly programming. Assembly is very rough to learn, though. TI-BASIC is easier, but it isn't as efficient. Examples of both ASM and BASIC games are in the download section. The flash unlocking stuff tells me something, but i don't remember much anymore x.x. I'm sure it's something BrandonW attempted at least 2 years ago

I myself would never mess with that stuff, unless it's actually something that enhances the TI-BASIC language. I attempted assembly 3 times so far x.x

Offline 3.1415926535

  • LV2 Member (Next: 40)
  • **
  • Posts: 34
  • Rating: +2/-0
    • View Profile
Re: Unlocking Flash
« Reply #4 on: August 11, 2009, 07:54:33 pm »
Yeah, I think i'm going to stick with basic for now. There's a lot of interesting stuff at http://www.brandonw.net/calcstuff/. I even heard from one of my friends that you can use a usb drive with the calculator and even listen to music! I don't even understand how that is even possible.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Unlocking Flash
« Reply #5 on: August 11, 2009, 08:25:27 pm »
its true and it is confusing
he is amazing i believe unlocking the flash allows 1 users to read write and run any thing to or from the flash
it allows modifications to most of the flash weather it is already used or not
(for stuff like the defrag fix ) it allows acces to patch the os and there are a few more things but that is what i can remember :)

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: Unlocking Flash
« Reply #6 on: August 11, 2009, 10:12:54 pm »
you can even listen to music without usb drive. www.revsoft.org got a program called RealSound to do that. It takes a lot of memory, though, for like 30 seconds of music

Offline 3.1415926535

  • LV2 Member (Next: 40)
  • **
  • Posts: 34
  • Rating: +2/-0
    • View Profile
Re: Unlocking Flash
« Reply #7 on: August 12, 2009, 11:38:44 am »
haha, this is crazy stuff. i can't even begin to imagine how it works. I kind of want to figure out now

Offline BrandonW

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 115
  • Rating: +38/-1
    • View Profile
Re: Unlocking Flash
« Reply #8 on: August 30, 2009, 05:42:22 pm »
TI restricts writing to Flash and reading from the certificate through a locking/unlocking mechanism. To unlock Flash, a special sequence of z80 instructions must be executed from a "privileged page", meaning an area of Flash memory granted unlock access through hardware. It is impossible to change which pages are privileged.

The privileged pages are 1Ch/3Ch/7Ch, 1Dh/3Dh/7Dh, 1Fh/3Fh/7Fh, 2Fh/6Fh (84+ and 84+SE only), and presumably 1Eh/3Eh/7Eh. All of these pages are either OS pages, permanently write-locked boot code pages, or the certificate (non-code pages). Because TI's code is on these pages, we cannot unlock Flash.

Code could be added to the privileged pages to unlock Flash for you, but to write it, you must first unlock Flash. :)

The only way to do it is to trick the OS or boot code into unlocking it for you, and there are various exploits available to do that. TI does not like this, because it allows you to write to the user archive (potentially destabilizing it), modify or replace the OS, modify or replace the certificate, etc.

Over the years, we've learned a lot about how the calculator works and found stable exploits that either cannot or are unlikely to be patched or fixed by TI, so this isn't as scary as it used to be.

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: Unlocking Flash
« Reply #9 on: August 30, 2009, 05:52:17 pm »
I get confused when it comes to that technical stuff, but would this involve anything related to cracking the OS signing keys? To me TI are shooting themselves in the feet with that stupid DMCA thing. That, combined with how tighly locked-down the TI-Nspire is and how limited devellopement on that platform is, it's becoming clear TI are doing everything to prevent any further calculator devellopement involving gaming.

Offline BrandonW

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 115
  • Rating: +38/-1
    • View Profile
Re: Unlocking Flash
« Reply #10 on: August 30, 2009, 11:34:07 pm »
It doesn't directly relate, no. To install a third-party OS, we would have to use a Flash unlocking exploit at some point, yes. Free83P must unlock Flash to modify the certificate, and any oncalc OS receiver must unlock Flash in order to write the received OS to memory.

Cracking the OS signing keys means that we no longer have to resort to any of that trickery. We can simply sign the OS as simply as TI signs their own. You would just transfer it using the cable and software of your choice and it just works (just like the TI-OS). It also means we can make slight modifications to the TI-OS and re-sign it (in theory), which is the main reason why they want to suppress this knowledge.

It will not work. No matter what, TI has lost and we have won, and it's a cause for celebration because it will spark new development for everyone.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Unlocking Flash
« Reply #11 on: August 30, 2009, 11:42:01 pm »
YAY! Tea and Cookeis for everyone :P
and bunnies for all the other androids :P
hmmm, has anybody been starting making edits to the OS?
/e

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: Unlocking Flash
« Reply #12 on: August 31, 2009, 12:38:15 am »
I hope no matter what they do, that third party OS installing remains easier for the average calculator programmer. By that, I mean that the user will not have to search hours for a torrent containing the keys and that forum users will not need to keep LMGTFY people even more.

For sure, though, new doors are opened, still, for TI calc developpement.

Offline Geekboy1011

  • The Oneironaut
  • Donator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2031
  • Rating: +119/-2
  • Dream that Awakening dream
    • View Profile
Re: Unlocking Flash
« Reply #13 on: August 31, 2009, 04:07:25 pm »
lol i actually understood what brandonw said and yay cookies and cool maby i should try some of the new oses :)

Offline BrandonW

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 115
  • Rating: +38/-1
    • View Profile
Re: Unlocking Flash
« Reply #14 on: August 31, 2009, 06:59:47 pm »
I'm not sure anyone has started modifying the TI-OS, but we shouldn't promote that kind of discussion publicly as it is most definitely illegal in every sense of the word. (Also, we've been patching and modifying the TI-OS for years, long before any of this.)

Third party OS installation has never before been this easy; you just transfer it the same exact way you would the TI-OS. That's the beauty of it.
The TI-73 freeware Flash application key has also been cracked, making it possible to create TI-73 Flash applications that work just like 83+ ones do.