Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: compu on March 08, 2012, 12:00:33 pm

Title: OSLauncher 3.1
Post by: compu on March 08, 2012, 12:00:33 pm
OSLauncher is deprecated; Use nLaunch (http://ourl.ca/18061) or nLaunch CX (http://ourl.ca/18621) instead.

I decided to port OSLauncher to OS 3.1 some weeks ago, because it would only require one line of code change. However, memory allocation failed because a decompressed OS 3.1 doesn't fit into RAM.
ATM OSLauncher decompresses directly from a file to allocated memory, and then copies the decompressed OS to the OS base address (0x10000000). This requires a lot of memory (around 11MB for OS 3.1 CAS).
So I decided to change the way OSLauncher decompresses the OS; It loads the compressed OS into RAM and directly overwrites the old OS at 0x1000000. Using this method requires a port of zlib because syscalls won't be available with disabled interrupts.

Basically my code works, I can launch DummyOS and it works fine, but OS 3.1 CAS reboots. I have calculated some checksums to see if there are any errors at decompressing, but the decompressed OS is okay.


BTW, CX compatibility isn't far away, but DummyOS won't compile anymore which I would need for testing purposes.
Spoiler For Error:
$ make clean all
rm -f *.o *.elf
rm -f ./phoenix.raw.tns
nspire-gcc -Os -g3 -Wall -W -Wwrite-strings -marm -c dummyos.c
nspire-ld --no-startup -T ldscript dummyos.o -o phoenix.raw.elf
z:/Nspire/ndless/bin/../system/osstub.o: In function `exit.clone.0':
osstub.c:(.text+0x28): undefined reference to `__crt0_savedsp'
osstub.c:(.text+0x2c): undefined reference to `__crt0exit'
collect2: ld returned 1 exit status
make: *** [phoenix.raw.tns] Error 1
I think it stopped working after updating SVN.

If anyone is interested in helping me, here is my code (+ executable).
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on March 08, 2012, 12:51:33 pm
Good to see this pre-version released ;)

I've propagated the news at http://tiplanet.org/forum/viewtopic.php?f=43&t=8879 :)
Title: Re: OSLauncher 3.1
Post by: Spacetime4.0 on March 08, 2012, 12:52:20 pm
Yay!!! I was hoping someone would port it to os3.1....in fact I was just getting ready to learn asm so I could do it, but now I don't have to  :P. Keep at it.
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on March 08, 2012, 06:56:59 pm
I was actually surprised to see it was getting ported since we were trying to keep good relations with TI, but I guess that considering what they are doing, I don't see why we should really care that much. Plus it's nice if we can run multiple OS versions at once on one calc.

Just one thing though: It doesn't mean that Omnimaga will start supporting cheating in exams, so although a lot of people may not like it, when people beg for OSLauncher help to not fail an exam, we will still simply resort to saying that the person should study more.
Title: Re: OSLauncher 3.1
Post by: Yeong on March 08, 2012, 06:59:55 pm
is that mean I can have 3.1 cas in my nspire cx?
Title: Re: OSLauncher 3.1
Post by: calc84maniac on March 08, 2012, 09:49:01 pm
I could be wrong, but I don't think OSLauncher works on the CX yet.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on March 09, 2012, 01:41:17 am
OSLauncher hasn't yet been tested on the CX because DummyOS hasn't been tested there.
But in its current state, it's unlikely to be able to run the CAS OS on the non-CAS CX model, because this doesn't work anymore (for now) for the Clickpad & Touchpad series.
Title: Re: OSLauncher 3.1
Post by: compu on March 09, 2012, 01:46:03 am
I was actually surprised to see it was getting ported since we were trying to keep good relations with TI, but I guess that considering what they are doing, I don't see why we should really care that much. Plus it's nice if we can run multiple OS versions at once on one calc.
Exactly. TI won't change their position so I don't see a reason why it shouldn't be updated. And TI announced that they will block Ndless before this version of OSLauncher was released.

But in its current state, it's unlikely to be able to run the CAS OS on the non-CAS CX model, because this doesn't work anymore (for now) for the Clickpad & Touchpad series.
Yes, for now, but I still have hope to get it to work :P
Title: Re: OSLauncher 3.1
Post by: critor on March 10, 2012, 12:02:28 pm
Basically my code works, I can launch DummyOS and it works fine, but OS 3.1 CAS reboots.

Yes, OS 3.1 CAS does reboot when hot-launched by OSlauncher.

But previous OSes don't.

So you can perfectly run and use an older CAS OS.
I've made successfull tests with CAS versions 2.0.0, 2.0.1, 3.0.1, and 3.0.2.

(http://tiplanet.org/forum/gallery/image.php?album_id=13&image_id=592&view=no_count)

Check the TI-Planet news for more information and bigger photos:
http://tiplanet.org/forum/viewtopic.php?f=43&t=8886
Title: Re: OSLauncher 3.1
Post by: compu on March 10, 2012, 12:48:50 pm
Well, I should have done some more testing... ::)

Here is a completely untested CX version that I quickly made :)
Title: Re: OSLauncher 3.1
Post by: Spacetime4.0 on March 10, 2012, 01:46:38 pm
I saw on tiplanet that the success rate of launching the cas os on the non cas nspire with oslauncher is about 5%. One thing I have noticed about my calc is that if I launch oslauncher with the enter key it freezes 100% of the time on the thatched screen. But if I launch oslauncher by clicking, it loads successfully 100% of the time. (note that I'm launching os 2.1)
Title: Re: OSLauncher 3.1
Post by: compu on March 10, 2012, 03:31:34 pm
Yes, I know about that - but I have no idea why, it must have something to do with interrupts I think.
Title: Re: OSLauncher 3.1
Post by: njaddison on March 11, 2012, 08:15:08 pm
When I try to open oslauncher, it says can't open os file.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on March 12, 2012, 02:02:33 am
Have you transferred DummyOS with the appropriate name, or generated a file in the format expected by OSLauncher, using one of TI's OS upgrade files as a starting point ?
Title: Re: OSLauncher 3.1
Post by: njaddison on March 12, 2012, 03:58:31 pm
Yes, I have. I used unspire to compress the TI-Nspire.img, and then I sent it to my calc. Also, I have a non-cx nspire with touchpad. I didn't want to buy the clickpad  because our teacher told us to buy the nspire with touchpad.

I haven't tested DummyOS on my nspire, because it is just proof to show that OSlauncher works.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on March 13, 2012, 02:53:01 am
The "Can't open OS" message is triggered iff the file does not have the appropriate name - namely, ndless/phoenix.raw.zip.tns.

Also, it's not the problem here, but before sending the file to your calc, have you checked whether the output of unspire is a valid ZIP file ?
Title: Re: OSLauncher 3.1
Post by: Jonius7 on March 13, 2012, 03:10:57 am
Wow great timing compu as there were discussions about os3.2 and sticking to OS 2.1 because of OSLauncher.
Personally I'd use OSLauncher for different non-cas versions because I have IB exams (don't want to cheat :P), but it sounds pretty cool to be able to have the option of switching from Cas to Non-cas OSes.
Title: Re: OSLauncher 3.1
Post by: Hayleia on March 13, 2012, 11:58:21 am
I really don't think that releasing this was a good idea. Maybe it would have taken years, but TI could eventually have changed their mind after they see we don't do anything against their interest. Now they'll think they can't trust us.
Moreover, it is a matter of days before Ndless is blocked so I really don't get the point of releasing it now ???
One thing you coould have done is a video of it working, but with no release, to tell TI "I don't harm your interest while I could". But I guess it is too late

(feel free to downrate me if you think that post was not constructive, I was explaining my point of vue)
Title: Re: OSLauncher 3.1
Post by: Chockosta on March 13, 2012, 12:09:43 pm
I don't think that TI can change their mind.
We are a tiny part of all the Nspire users, and they just care about teachers.

In my opinion, they don't trust us because they think that it could "hurt" them more than it could help them...

(BTW, downrates don't exist anymore :) )

So, thank you compu for allowing us to use the CAS on non-CAS nspires !
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on March 13, 2012, 12:22:22 pm
+1 Chockosta.

Quote
I really don't think that releasing this was a good idea.
I disagree ;)

Quote
Maybe it would have taken years, but TI could eventually have changed their mind after they see we don't do anything against their interest.
AFAWCT, TI would in no way have changed their mind ;)
OSLauncher for Ndless / OS 3.1 could have been published before TI clearly indicated that they would prevent the hole exploited by Ndless 3.1 from working in OS 3.2. It wasn't published, not least because we knew that TI would not like it. And, did us being overly nice prevent TI from trying to tamper with our freedom to tinker ? Not in the slightest way.
And if TI thinks OSLauncher is dangerous, well, they're incompetent (oh wait, we already knew that): OSLauncher is pretty harmless, as it's easily disabled.

Quote
Now they'll think they can't trust us.
It seems very clear that Melendy Lovett has never thought TI could trust anyone in the open development community.
Title: Re: OSLauncher 3.1
Post by: compu on March 13, 2012, 01:35:53 pm
Moreover, it is a matter of days before Ndless is blocked so I really don't get the point of releasing it now ???
Well, I won't update to OS 3.2 untill there will (maybe) be a new ndless version; The use of Ndless is much higher than the use of Lua and I don't want to be limited by TI.
Title: Re: OSLauncher 3.1
Post by: Adriweb on March 13, 2012, 02:18:05 pm
Quote
Now they'll think they can't trust us.
It seems very clear that Melendy Lovett has never thought TI could trust anyone in the open development community.

Well, she trusts the community to also produce contents with the official tools they give, which has been greatly improved with Lua ;)

But of course, Ndless things and Lua things don't have the same goal.
Title: Re: OSLauncher 3.1
Post by: Hayleia on March 13, 2012, 04:32:11 pm
(BTW, downrates don't exist anymore :) )
Yes, I saw that right after posting. But what will happen to people with a negative respect ?

And, did us being overly nice prevent TI from trying to tamper with our freedom to tinker ? Not in the slightest way.
I can't remember the exact phrase but it might be something like "the world wasn't created in one day" (or maybe it is Rome, idk :P)
I mean that OS Launcher already existed for previous versions of Ndless. Then, 3.1 came and we were "nice" only during a few months. Do you think that they will change their way of seeing us in only a few months ? I think that if we only released games on 4 or 5 consecutive versions of Ndless, they would start changing their mind.

Well, she trusts the community to also produce contents with the official tools they give, which has been greatly improved with Lua ;)
Yes, Lua has improved a lot, but I'll only give Ndless up when all games (and I didn't say "all programs") from Ndless run with Lua ;)
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on March 13, 2012, 04:43:18 pm
Quote
produce contents with the official tools they give, which has been greatly improved with Lua ;)
Well... before Lua, without Ndless, the Nspire's abilities were so low that anything is a major improvement over the sorry state of the Nspire before the spring of 2011 ;)
And a number of concepts in the Nspire were implemented by third parties, on the TI-68k series, up to 10-12 years before: formatted texts containing images are one of them.

Quote
I think that if we only released games on 4 or 5 consecutive versions of Ndless, they would start changing their mind.
Er... they care only about teachers, and the vast majority of teachers hates games, so making games is definitely not the way to make TI change their mind about our freedom to tinker ;)
Math programs, like we did on the open TI-68k series, might be more convincing for TI... but that's too hard without TI's help, which they refuse to provide.

But anyway, we don't care one bit about what TI wants :)


Quote
Yes, Lua has improved a lot, but I'll only give Ndless up when all games (and I didn't say "all programs") from Ndless run with Lua ;)
That is to say, never :D
Title: Re: OSLauncher 3.1
Post by: njaddison on March 13, 2012, 06:04:29 pm
Why are there no downrates?

I didn't mean to get pissed off about my negative respect, if that is the reason for no more downrates.

Also, oslauncher created the pheonix.zip.raw file. I sent  it to my nspire, and it says can't open os. I have an nspire with touchpad (I don't necessarily like the clickpad). Is this the reason why?

EDIT:
Never mind, I found out why it wasn't working. it wasn't in the ndless folder. But, it always freezes at the clock screen. I've clicked, press menu and open, press ctrl+O, and it still freezes. I've tried os 2.1, 2.0, and it always freezes. Note: I am trying to launch a cas os. maybe this is why it does this?

ANOTHER EDIT:
No os I have tried so far works. Even non-cas os.
I feel sorry for myself that all os freeze at the clock screen. Everybody else is getting oslauncher working, why can't I? Maybe it's because I have 50% battery life left, or maybe oslauncher is messed up, or I forgot to noverclock my nspire?

IIIIIIIIIIII   
      III         
      III       
      III         
IIIIIIIIIIII

H      H
H      H
HHHHH
H      H
H      H

     A
    A A
   A   A
  AAAAA
 A       A
A         A

V         V
 V       V
  V     V
   V   V
    V V
     V
EEEEEEEEE
E
E
E
EEEEEE
E
E
EEEEEEEEE


N      N
NN    N
N N   N
N   N N
N    NN
N     N

OOOOO
O       O
O       O
O       O
O       O
OOOOO

CCCCCCC
C
C
C
C
CCCCCCC

L
L
L
L
L
LLLLLLLLL

U        U
U        U
U        U
U        U
U        U
UUUUUU

EEEEEEEE
E
E
E
EEEEE
E
E
EEEEEEEE
Title: Re: OSLauncher 3.1
Post by: Levak on March 13, 2012, 08:06:21 pm
Have a break, have a kitkat
Title: Re: OSLauncher 3.1
Post by: parserp on March 13, 2012, 08:22:24 pm
[offtopic]
your "O" is a little off, but that looks awesome :D
+1
[/offtopic]
Title: Re: OSLauncher 3.1
Post by: alberthrocks on March 13, 2012, 10:44:27 pm
Spamm.... :P

This is interesting - my friend was peskering me for such a thing recently... :P He has a CX but wants a CAS CX OS hot launched with Ndless. I told him that it exists, but he needs to learn C/ASM and read ARM docs to port it. ;)

I'm still a bit confused - people have reported that it works, and then it doesn't work. What's the current status?
Title: Re: OSLauncher 3.1
Post by: critor on March 14, 2012, 01:48:35 am
ANOTHER EDIT:
No os I have tried so far works. Even non-cas os.
I feel sorry for myself that all os freeze at the clock screen. Everybody else is getting oslauncher working, why can't I? Maybe it's because I have 50% battery life left, or maybe oslauncher is messed up, or I forgot to noverclock my nspire?

As allready reported in the previous page, the hot-launched OS is going to freeze at the clock screen with a probability of 95%.

So it's perfectly normal.
Title: Re: OSLauncher 3.1
Post by: Jonius7 on March 14, 2012, 01:53:33 am
Why are there no downrates?

I didn't mean to get pissed off about my negative respect, if that is the reason for no more downrates.



@njaddison, it's because the managers made some changes to the website a few days ago.
The ability to downrate has now been removed.
http://ourl.ca/15494
Title: Re: OSLauncher 3.1
Post by: compu on March 14, 2012, 02:45:03 am
@njaddison maybe this:
http://ourl.ca/14645/280402
http://ourl.ca/15463/290451

And please remove that spam from your post...
Title: Re: OSLauncher 3.1
Post by: ExtendeD on March 14, 2012, 04:41:56 am
About the freeze at boot time for OS 3.1:
Ndless installs itself in the OS image of the calculator with hard-coded addresses. This OS image will also be read by the hot-run OS at boot time: this will trigger the Ndless hooks, but with a version mismatch.
But it appears it isn't the only issue which avoids booting OS 3.1.
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on April 21, 2012, 09:39:38 pm
Bump:

I was wondering if you had any luck with CX compatibility yet?

Also in response to Hayleia I don't think it matters anymore if it's a good idea to release this or not. The harm was already done with PTT patches and fake mem clears on the TI-83+ years ago and since then, TI has taken a strong stance against third-party hacking and when TI-Planet people tried to convince TI that Ndless was not meant to cheat, it was already too late.

I would say that at this point, what matters the most is that no cheating tool comes out on the Casio PRIZM, since Casio has given us a chance that, IMHO, we should not blow up. With TI it doesn't matter, since they screwed with us too much already.
Title: Re: OSLauncher 3.1
Post by: Hayleia on April 22, 2012, 09:08:36 am
Also in response to Hayleia I don't think it matters anymore if it's a good idea to release this or not. The harm was already done with PTT patches and fake mem clears on the TI-83+ years ago and since then, TI has taken a strong stance against third-party hacking and when TI-Planet people tried to convince TI that Ndless was not meant to cheat, it was already too late.
Yeah, they might never change their mind :-\. I was just pointing out the fact that it is sure that they will not change their mind if OS Launcher keeps being updated, not saying that discontinuing it would change their mind in one day.

I would say that at this point, what matters the most is that no cheating tool comes out on the Casio PRIZM, since Casio has given us a chance that, IMHO, we should not blow up.
I agree. Even if it is less powerful, it will always be able to run  programs, without waiting for months before the jailbreak. I need to buy one by the way :P
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on April 22, 2012, 09:17:38 am
Yeah, in fact if OSLauncher and other tools that can make cheating much easier would start causing too much damage such as TI-Nspires all getting banned from classes then hurt TI sales enough, this could even go as far as TI dropping out of the calc market (although they could just make a new CAS-based calculator that is totally different from the TI-Nspire, hardware-wise). Of course, however, OSLauncher is not very popular and can be hard to use, so that makes it less likely to allow way too many people to cheat.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on April 22, 2012, 09:26:48 am
Everybody (people from the community and TI) ought to stop fearing OSLauncher: it's harmless :)

And the Nspire cannot be banned from exams, let alone classrooms.
Indeed, even if the Nspire's PTT mode proved to be as shitty as the 84+'s PTT mode is, all it would mean is that the Nspire is equivalent to a calculator without a lockdown mode as sophisticated as the Nspire's PTT mode is supposed to be; but calculators without a sophisticated PTT mode are allowed in the main standardized tests. Even if we all know that the people regulating standardized exams are flat out incompetent (because they feared OSLauncher, while the PTT mode precisely makes it possible to disable it), they can't ban the Nspire without banning all other calculators.

As for classrooms... well, hundreds of millions of dollars (if not several billions) were spent by the school systems on the Nspire technology, and TI's T3 program has trained dozens of thousands of teachers on Nspire technology. The Nspire is supposed to counter cheating better than other calculators do... so if that very platform were to be banned, what on earth would the school system choose ??

So nah, don't lose sleep over OSLauncher ;)
Title: Re: OSLauncher 3.1
Post by: compu on May 13, 2012, 09:17:57 am
Here is an updated version that supports file extensions. It will still use /documents/ndless/phoenix.raw.zip.tns if it is launched directly.
And it has a theoretical CX support, but launching official OSes still fails.

SilverOne on TI-Planet has discovered that launching any OSes < 3.1.0 will work when OSLauncher is in the ndless/startup folder, so launching CAS OSes on non-CAS devices should be reliable now (link (http://tiplanet.org/forum/viewtopic.php?f=43&t=9235&p=123899#p123899), but the menus will be messed up). Sadly, this method doesn't work on CX calcs (tested in emulator).
Title: Re: OSLauncher 3.1
Post by: kevkid on May 17, 2012, 12:31:33 pm
Just an idea, but since the menus are messed up, why not when hot booting the os, make it load the menu icons from say a folder in the user storage rather then from the actual rom installed on the calc. For example if the os 3.02 is hot booted when throwing it on the ram, make it load icons from a folder rather than from the installed rom. Or maybe when the program is executed, make it load the icons (which are stored in the user space) to the ram then the hot booted os will load those icon from the ram rather than from the installed os. Dont bash me too hard lol.

Kevin Lopez
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on May 17, 2012, 01:25:23 pm
It requires patching the OS, which in turn would require more reverse-engineering effort than we spend on it ;)
Title: Re: OSLauncher 3.1
Post by: sammyMaX on May 17, 2012, 04:14:58 pm
Was the icon problem present before?

Edit: compu, I think you meany /documents/ndless/phoenix.raw.zip.tns, right?
Edit 2: It works! And the logo problem isn't that bad (I thought you meant the catalog and the math functions were going to be screwed up too!)
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on May 18, 2012, 01:57:55 am
Quote
Was the icon problem present before?
Yup, it has always been present.
Title: Re: OSLauncher 3.1
Post by: SilverOne on May 18, 2012, 05:00:16 pm
Here is an updated version that supports file extensions. It will still use /documents/ndless/phoenix.raw.zip.tns if it is launched directly.
And it has a theoretical CX support, but launching official OSes still fails.

SilverOne on TI-Planet has discovered that launching any OSes < 3.1.0 will work when OSLauncher is in the ndless/startup folder, so launching CAS OSes on non-CAS devices should be reliable now (link (http://tiplanet.org/forum/viewtopic.php?f=43&t=9235&p=123899#p123899), but the menus will be messed up). Sadly, this method doesn't work on CX calcs (tested in emulator).

Well, it was Excales idea ;)  so i can't take all the credit ^^.

What do you mean by file extensions support ?
Title: Re: OSLauncher 3.1
Post by: zAnt on August 02, 2012, 06:24:03 am
With school coming up, it'd be pretty amazing if this could have some CX support ;)

Or is it possible to even emulate the Ti-89 on the nspire?
Title: Re: OSLauncher 3.1
Post by: TheNlightenedOne on August 02, 2012, 11:26:03 am
It's possible, and calc84maniac (I think) was working on one, but then his hard drive failed, and he lost his code and stuff.
Title: Re: OSLauncher 3.1
Post by: blue_bear_94 on August 02, 2012, 03:05:00 pm
Anyway, it would be quite slow, and you'll need to remap the keys.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on August 02, 2012, 03:19:21 pm
IIRC, the speed of calc84maniac's emulator was not ridiculous, and it used the best 68k emulation core for ARM platforms, Cyclone.
Performing decent emulation of a 10-12 MHz 68000 (< 3 MIPS) + associated hardware is normally well within the capabilities of a 150+ MHz (> 75 MIPS) ARM platform :)
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on August 02, 2012, 05:07:27 pm
Also I am unsure if Omni staff would allow it to be posted here, since the original version that got attached here was taken down and the threads were temporarily deleted.
Title: Re: OSLauncher 3.1
Post by: ruler501 on August 02, 2012, 07:01:41 pm
why did they take it down?
Title: Re: OSLauncher 3.1
Post by: Scipi on August 02, 2012, 09:32:43 pm
I think it was to try and salvage our image as a community to TI. Give them no further reason to block Ndless, iirc. That or various legal issues that could arise. I know that PTT Killer was taken down for similar reasons.
Title: Re: OSLauncher 3.1
Post by: ruler501 on August 02, 2012, 10:38:10 pm
I wouldnt think a TI-89 emulator in a program could be that bad... as long as it still required a rom i cant see the legal troubles
Title: Re: OSLauncher 3.1
Post by: Hayleia on August 03, 2012, 01:12:22 am
I wouldnt think a TI-89 emulator in a program could be that bad... as long as it still required a rom i cant see the legal troubles
I think the "bad thing" they are talking about was OSLauncher, not the 68k emu. But maybe the 68k emu is a "bad thing" too since it can bring the CAS to a calc that doesn't have it. At least it is not its main purpose, unlike OSLauncher.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on August 03, 2012, 01:44:06 am
EDIT: I replied about the initial goal of OSLauncher, while you and jwalker focused on the main _practical_ purpose, so we weren't talking about the same thing...


Quote
At least it is not its main purpose, unlike OSLauncher.
Wrong, you should know better. It's sad to see members of the community misunderstanding OSLauncher that grossly, and misrepresenting its purpose...

As I've explained multiple times:
* the main purpose of OSLauncher is not to bring CAS functionality to the CAS-capable model sold as non-CAS, it is to hot-launch arbitrary OS. Besides, OSLauncher was released alongside with DummyOS, and without any instructions on running the CAS OS on the CAS-capable model sold as non-CAS;
* OSLauncher is absolutely no threat to the acceptance of the Nspire in standardized testing...

But needless to say, launching the CAS OS on the CAS-capable model sold as non-CAS was a testcase that I executed on my calculator :)
Still, It's not our fault if the CAS OS runs unmodified (well, at least, when one manages to achieve a successful launch) with OSLauncher.

I'm one of the very few persons of the community who can't be blamed for the fact people didn't make alternative OS for the Nspire (making DummyOS much less dummy, simply by porting an existing OS to the Nspire, etc.): I released OSLauncher, after all. But nobody cares about the Nspire...
Title: Re: OSLauncher 3.1
Post by: Hayleia on August 03, 2012, 01:53:06 am
Wrong, you should know better. It's pretty sad to see members of the community misunderstanding OSLauncher that grossly, and misrepresenting its purpose...

As I've explained multiple times:
* the main purpose of OSLauncher is not to bring CAS functionality to the CAS-capable model sold as non-CAS, it is to hot-launch arbitrary OS. Besides, OSLauncher was released alongside with DummyOS, and without any instructions on running the CAS OS on the CAS-capable model sold as non-CAS;
* OSLauncher is absolutely no threat to the acceptance of the Nspire in standardized testing...

But needless to say, launching the CAS OS on the CAS-capable model sold as non-CAS was a testcase that I executed on my calculator :)
Still, It's not our fault if the CAS OS runs unmodified (well, at least, when one manages to achieve a successful launch) with OSLauncher.

I'm one of the very few persons of the community who can't be blamed for the fact people didn't make alternative OS for the Nspire (making DummyOS much less dummy, simply by porting an existing OS to the Nspire, etc.): I released OSLauncher, after all. But nobody cares about the Nspire...
Sorry, I didn't express my self right. I was not talking about the purpose of the program but about the purpose of users. Of course some of them want to downgrade for some reasons, but you have to agree that most of them are using this to put the CAS on a non-CAS calc ;)
Title: Re: OSLauncher 3.1
Post by: jwalker on August 03, 2012, 01:54:40 am
But that is what everyone is using it for though, to launch a CAS OS.
If the original pupose was not too launch a CAS OS, then could you write code to block any CAS OS?

It is a threat if they believe it is a threat, they make the rules.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on August 03, 2012, 02:02:50 am
Quote
If the original pupose was not too launch a CAS OS, then could you write code to block any CAS OS?
As I have probably already explained as well, anybody could add code to that effect, but it would be useless because anybody could remove that code ;)

The same holds for Ndless containing special code to prevent it from working in PTT mode. If anyone were to commit such fundamentally undesirable changes, I'd use my commit access to the Ndless SVN repository to revert them.
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on August 03, 2012, 02:26:50 am
Actually I kinda got confused with PTTKiller here (which was the file that got taken down). My bad.

The main thing Omni tries to salvage as reputation towards TI is not helping members to cheat in tests. I think that a release of OSLauncher with limited doc could possibly be tolerated on Omni.

The main issue with OSLauncher here is that most people who want to use it only want to do so to cheat in math tests, where CAS models are banned. I remember when members would sign up here asking "How do I run CAS on non-CAS? I need CAS else I'll fail my math exam it's URGENT!".

I assume that staff could possibly tolerate a copy being posted on Omni, but they would not tolerate elaborate discussions or tutorials on how to run a CAS OS on a non-CAS model. Not only that would tarnish our reputation among TI, but also other calc sites (remember the Free PRIZM training answers leak incident? Or the controversy that resulted from SimonLothar's possible release of a tool to read non-cg10 pictures on a cg10?). There were already enough bad things said about Omnimaga elsewhere in the TI community in the past.

You would probably have to ask staff permission to make sure.
Title: Re: OSLauncher 3.1
Post by: Levak on August 03, 2012, 02:33:41 am
Actually I kinda got confused with PTTKiller here (which was the file that got taken down). My bad.

Ndless is already a PTTKiller. Just put things in ndless/startup/ folder and it will be launched at startup even in PTT mode.

Problem ?
Title: Re: OSLauncher 3.1
Post by: Hayleia on August 03, 2012, 02:42:49 am
Ndless is already a PTTKiller. Just put things in ndless/startup/ folder and it will be launched at startup even in PTT mode.

Problem ?
No, Ndless has the possibility to kill PTT but PTTKiller does kill it. And once again (truly this time), Ndless purpose is not to kill PTT while PTTKiller's purpose is.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on August 03, 2012, 02:43:37 am
Quote
There were already enough bad things said about Omnimaga elsewhere in the TI community in the past.
Indeed, but wouldn't the unacceptable move of censoring free speech and distribution of ideas and code, about our basic user rights to run whatever we please on our calculators (freedom to tinker), result in more bad things said about Omnimaga, and making Omnimaga less relevant ? :)
Perhaps the censorship exercised in the PTTKiller episode has already resulted in bad things said about Omnimaga...

The staff will indeed have to make a decision on the matter - being good citizens caring about their fellow users' rights, or keeping to side with TI in not caring about users' rights :)
Title: Re: OSLauncher 3.1
Post by: Levak on August 03, 2012, 02:54:49 am
Ndless is already a PTTKiller. Just put things in ndless/startup/ folder and it will be launched at startup even in PTT mode.

Problem ?
No, Ndless has the possibility to kill PTT but PTTKiller does kill it. And once again (truly this time), Ndless purpose is not to kill PTT while PTTKiller's purpose is.

one line of C
Code: [Select]
rename("/documents/myfolder", "/exammode/usr/myfolder");
I can't see how more simple it could be. PTTKiller is just an already-made code, it is not difficult to understand, even for newbies who never programmed.
Title: Re: OSLauncher 3.1
Post by: Adriweb on August 03, 2012, 02:59:19 am
The staff will indeed have to make a decision on the matter - being good citizens caring about their fellow users' rights, or keeping to side with TI in not caring about users' rights :)
I believe the issue was not related to this but rather on facilitating some way to cheat, which Netham (I think it was him?) said Omnimaga is against.
Title: Re: OSLauncher 3.1
Post by: Hayleia on August 03, 2012, 03:00:36 am
one line of C
Code: [Select]
rename("/documents/myfolder", "/exammode/usr/myfolder");
I can't see how more simple it could be. PTTKiller is just an already-made code, it is not difficult to understand, even for newbies who never programmed.
Yes, and this line of C was not put in Ndless, but in PTTKiller, so Ndless is not a PTTKiller.
There is the same difference between a human and a human with a gun: one can hurt, not the other.
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on August 03, 2012, 03:08:59 am
Quote
There were already enough bad things said about Omnimaga elsewhere in the TI community in the past.
Indeed, but wouldn't the unacceptable move of censoring free speech and distribution of ideas and code, about our basic user rights to run whatever we please on our calculators (freedom to tinker), result in more bad things said about Omnimaga, and making Omnimaga less relevant ? :)
Perhaps the censorship exercised in the PTTKiller episode has already resulted in bad things said about Omnimaga...

The staff will indeed have to make a decision on the matter - being good citizens caring about their fellow users' rights, or keeping to side with TI in not caring about users' rights :)

Well they already made their decision a while ago, with the takedown of PTTKiller attachments and temporary deletion of the topics (they were restored upon request). It's the staff that decides how Omni is ran and you cannot dictate how the team should run their own site nor force them to run it the way you want.

Also the bad things said about Omnimaga were mostly that we encouraged students to cheat in tests (in response to staff not deleting the free prizm training answers immediately after publishing), and how we threatened the Casio community PRIZM programming future by publishing tools such as bypassing the cg10 image limitation and that similar "mistakes" done with TI calcs are why TI is so lenient about allowing ASM/C on calcs. We were often called immature for that. However, most of those negative things always came from one IRC channel/calc site in particular. That of course excludes other unrelated bad things such as how we favored quantity over quality for posts (which was not true, although some members were quite noisy indeed), liked certain jokes instead of others and how offensive remarks are frowned upon.

As I and Adriweb said, the Omnimaga team is not frowning upon the release of new tools, which are discoveries and innovations, after all. What is frowned upon is helping people cheat on tests and bypassing school calc restrictions.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on August 03, 2012, 03:14:16 am
Quote
It's the staff that decides how Omni is ran and you cannot dictate how the team should run their own site nor force them to run it the way you want.
I know, I do run a site as well, and the first time I was moderator on a message board was about ten years ago :)
I'm just reminding the staff about the consequences of their actions, which have an effect of curbing free speech and user rights.

Quote
What is frowned upon is helping people cheat on tests and bypassing school calc restrictions.
It's up to the users of said methods to face the consequences of their actions (if any), and also up to the whole idea of standardized testing not to be so disconnected from real-world usage of calculators. That does, however, not mean that discussion and programs should be actively censored.
Title: Re: OSLauncher 3.1
Post by: Hayleia on August 03, 2012, 03:20:31 am
I know, I do run a site as well, and the first time I was moderator on a message board was about ten years ago :)
And the last time you moderated a message was with me, complaining about what I am complaining now ;)
And when I complained about it, I never mentionned Omnimaga.
Title: Re: OSLauncher 3.1
Post by: Levak on August 03, 2012, 03:22:43 am
one line of C
Code: [Select]
rename("/documents/myfolder", "/exammode/usr/myfolder");
I can't see how more simple it could be. PTTKiller is just an already-made code, it is not difficult to understand, even for newbies who never programmed.
Yes, and this line of C was not put in Ndless, but in PTTKiller, so Ndless is not a PTTKiller.
There is the same difference between a human and a human with a gun: one can hurt, not the other.

What I was trying to tell you is that it's stupid to "ban" PTTkiller when we know that one line of C does the exact same thing.
What people don"t understand is that PTTKiller doesn't do anything special, anything that requires extensive OS hacking skills. That might be a reason why people here didn't wan't PTTKiller to be published. Who would ban a simple "remove" command ?

That's why I was reffering to the fact that Ndless is a PTTKiller, even if I don"t mind it.
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on August 03, 2012, 03:26:51 am
If PTTKiller is already in Ndless, then why was a standalone PTTKiller ever published? ???
Title: Re: OSLauncher 3.1
Post by: Hayleia on August 03, 2012, 03:27:02 am
What people don"t understand is that PTTKiller doesn't do anything special, anything that requires extensive OS hacking skills.
And what you don't understand is that if Ndless gets permanently blocked, all your work on Theme Editor for example is useless.
Moreover, I don't care about the simplicity of PTTKiller, I only care about what it does, and in my opinion it should not be called PTTKiller but NspireCommunityKiller.

If PTTKiller is already in Ndless, then why was a standalone PTTKiller ever published? ???
It is not that PTTKiller is already in Ndless, it is that Ndless almost does not need extra code to kill PTT
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on August 03, 2012, 03:32:47 am
On the other hand, Hayleia, regardless of if PTTKiller existed or not, I doubt TI would ever change their mind about Ndless. :P They already made up their mind about ASM and C way back in 2006. That said, maybe if we play nice they'll not permanently block Ndless yet? (Seeing how OS 3.2 can still be downgraded back to the very OS that can run Ndless 3.1, despite coming out several months after Ndless 3.1, it almost seems like TI doesn't mind us running Ndless to a certain extent)
Title: Re: OSLauncher 3.1
Post by: Hayleia on August 03, 2012, 03:34:01 am
On the other hand, Hayleia, regardless of if PTTKiller existed or not, I doubt TI would ever change their mind about Ndless. :P They already made up their mind about ASM and C way back in 2006. That said, maybe if we play nice they'll not permanently block Ndless yet? (Seeing how OS 3.2 can still be downgraded back to the very OS that can run Ndless 3.1, despite coming out several months after Ndless 3.1, it almost seems like TI doesn't mind us running Ndless to a certain extent)
Yes, that is my point of view. Let's not kill the opportunity TI didn't give us yet ;)
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on August 03, 2012, 03:34:07 am
Quote
if Ndless gets permanently blocked
Which is very unlikely in the first place ;)
If Ndless and Ndless programs are not more developed, it's because too few people spend time on fiddling with the Nspire, not because TI did a good job protecting the Nspire (as shown by the ludicrously stupid PTT implementation). There are lots of platforms more powerful, more open and/or cheaper than the Nspire is.

Quote
That said, maybe if we play nice they'll not permanently block Ndless yet?
As you know, we have already played overly nice to TI, without receiving anything in return ;)
The gloves are off. The single relevant PTTKiller line of code (which was independently invented by multiple persons, BTW - there could have been multiple PTTKiller tools) is a result of TI being disrespectful one time too many.

Quote
(Seeing how OS 3.2 can still be downgraded back to the very OS that can run Ndless 3.1, despite coming out several months after Ndless 3.1, it almost seems like TI doesn't mind us running Ndless to a certain extent)
No. TI let users downgrade to OS 3.1 because OS 3.2 regresses on some things (and they know about it), not at all because they want to let people access native code. OS 3.2 is an unfinished, defective product, and they didn't have a choice: they needed to let people downgrade.
Title: Re: OSLauncher 3.1
Post by: Hayleia on August 03, 2012, 03:35:55 am
The problem is not only for it to be permanently blocked, but even blocked every years, as it is now. This way, the Nspire community doesn't grow and even decreases :(
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on August 03, 2012, 03:38:30 am
Although we never know, with pure luck, maybe one day they'll discover by accident how to permanently lock it (requiring extra hardware or hardware modding to jailbreak your device, like with the PSP 2000), but not apply that patch as long as we play nice.

Casio never intended third-party ASM/C to be possible on the PRIZM. However, they have chosen to not block it yet, as long as we play nice. Casio already did block ASM/C before, in 2003 (years before TI), on the Classpad. It took two years for the community to convince them to at least allow C, and they eventually released an SDK.
Title: Re: OSLauncher 3.1
Post by: Levak on August 03, 2012, 06:11:22 am
What people don"t understand is that PTTKiller doesn't do anything special, anything that requires extensive OS hacking skills.
And what you don't understand is that if Ndless gets permanently blocked, all your work on Theme Editor for example is useless.
It won't be useless. Finding things like that is a game for me. I don't mind if it will be blocked.
Also, there is always a way in for Ndless if we compare to the iPhone where security is #1 concern for Apple and despite them blocking jailbreaks in each new version, hackers always find their way around the protection(s). The only problem that we have is the number of experts and volunteers to search for flaws on the platform that nobody outside the calculator world will be interested in. The time to find a flaw is thus immensely increased, but there is always a hope.
Quote
Moreover, I don't care about the simplicity of PTTKiller, I only care about what it does, and in my opinion it should not be called PTTKiller but NspireCommunityKiller.
To my mind, TI is just stupid to have put a PTT mode in the "public" OS. Why can't they make a compilation flag in order to generate PTT OSes and let the "public" OSes access ASM/C ? It just takes a few dozens seconds to install an OS, even faster if it is smaller.

The reason why PTTKiller exists is that it is a proof of concept of what can be done. Such tools to hack educational limitations would not exist if there weren't a goal for them and if TI would let users do what they want on their calc. If teachers want to limit stuff, they would only have to install a different OS. Again, this is not difficult for TI to do so, only a compilation flag, nothing more. I'am sure that, in such a way, nobody will be interested in the PTT OS because nobody use it.

PTTKiller was born by accident, a 3.1 ndlessed OS turned to PTT mode with programs in startup folder. There is no goal for PTTKiller other than being a proof of concept, to let people know that it is possible. It is like Norse : it was just a proof of concept of using the LED through software at that time.

Trust me, if PTTKiller was made for its real aim, some deep inside OS routines would have been published, for example, existing the PTTMode through a Ndless program.

Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on August 03, 2012, 09:24:49 am
Until concerns about killing PTT were raised a year ago or so, I did not even realize PTT was part of the OS. I thought that it was part of the hardware because of the small lights on the top of the calc.
Title: Re: OSLauncher 3.1
Post by: Olao99 on March 10, 2013, 06:27:54 pm
Has there been any progress regarding TI-nspire CX support?
nLaunch was released, but it doesn't work with the CX also :(
Title: Re: OSLauncher 3.1
Post by: DJ Omnimaga on March 10, 2013, 06:36:46 pm
I think the CX lacks the exploit that allows OSLauncher/nLaunch to exist at all, meaning that those softwares might never ever be possible on the color models.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on March 11, 2013, 02:49:30 am
In itself, OSLauncher uses no exploit, but it depends on Ndless, which uses one.
But indeed, nLaunch CX does not exist because things are different from the Clickpad & Touchpad boot2 1.4.1571.
[EDIT a couple months later: actually, nLaunch CX came out of the blue several weeks after my post, as pointed out by Levak below. Everybody thought it was impossible, but somebody did it.]
Title: Re: OSLauncher 3.1
Post by: pillyg on May 05, 2013, 12:25:55 am
OSLauncher is not working for me. I have a nspire touchpad OS3.1 and I am trying to run CAS OS3.1. When I open the phoenix file, my calculator freezes and I have to remove the batteries.

What is the easiest way to run the CAS OS on my non CAS nspire? OSLauncher? NLaunch?


Thanks
Title: Re: OSLauncher 3.1
Post by: Levak on May 05, 2013, 12:35:19 am
Use nLaunch.
OSLauncher was at the cutting edge of the proof of concept on Ndless 2.0 and failed to be correctly ported on Ndless 3.0.
On the other hand nLaunch hacks directly at the boot2 stage which does not depend on Ndless anymore.

Edit : Also, because it is an old topic now, I have to correct Lionel's post about nLaunch CX not existing.
It has been released on 1st april and is fully working.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on May 05, 2013, 03:10:01 am
Yup, I have just edited my post. Thanks for the indirect heads-up :)

Could the moderators add a red note at the beginning of the first post, indicating that this has been superseded by nLaunch / nLaunch CX / nLaunchy (fork maintained at TI-Planet, which adds CM-C OS support and "switcher" capability) ? TIA.
Title: Re: OSLauncher 3.1
Post by: pillyg on May 05, 2013, 11:48:29 am
I tried nLaunch using the tutorial found here

https://github.com/bibanon/android-development-codex/wiki/Nspire-Nlaunch

but I can't get it to work. Whenever I try to do step 10 under Install nLaunch, the link software and my calculator both freeze. Are there any (free) alternatives to the link software?

I also tried skipping step 10 and going on the step 11, but that didn't work either. My calculator would almost boot, but then it would freeze.
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on May 05, 2013, 12:08:45 pm
Quote
Whenever I try to do step 10 under Install nLaunch, the link software and my calculator both freeze
It's natural that the linking software freezes, and it can occur that the calculator freezes. Try again :)

Quote
Are there any (free) alternatives to the link software?
Yes, but TILP II freezes all the same when the calculator fails to reply, following the exploit triggering.
Title: Re: OSLauncher 3.1
Post by: compu on May 06, 2013, 01:07:44 pm
Could the moderators add a red note at the beginning of the first post, indicating that this has been superseded by nLaunch / nLaunch CX / nLaunchy (fork maintained at TI-Planet, which adds CM-C OS support and "switcher" capability) ? TIA.
Done ;)
Title: Re: OSLauncher 3.1
Post by: Lionel Debroux on May 06, 2013, 01:45:36 pm
Good, thanks :)