Omnimaga

Omnimaga => News => Topic started by: critor on August 10, 2010, 09:41:33 pm

Title: More free space on your Nspire with TNOC
Post by: critor on August 10, 2010, 09:41:33 pm
TNOC is a tool which lets you remove the boot2 and samples from a TNO/TNC file.

So you can:
* prevent your 1.1 boot2 from being updated to 1.4
* update your TI-Nspire faster (the 9Mb 2.1 OS takes so much time...)
* have more free space on your Nspire (3.5Mb with 2.X OSes, 3Mb on 1.7 OSes...)

Screen capture:
(http://i33.servimg.com/u/f33/13/23/13/53/captur10.png)

How much space can be gained with each OS ?
(http://i33.servimg.com/u/f33/13/23/13/53/osbasg10.gif)(http://i33.servimg.com/u/f33/13/23/13/53/oscasg11.gif)

Before: original 2.1 OS installed just after formatting
(http://i33.servimg.com/u/f33/13/23/13/53/acran016.jpg)

After: our special 2.1 OS installed
(http://i33.servimg.com/u/f33/13/23/13/53/acran018.jpg)


All informations are available in the TI-Bank news (in french) -> http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=850

We're looking forward to your comments ^^


Edit:
Direct link to TNOC 1.2 -> http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1922
Title: Re: More free space on your Nspire with TNOC
Post by: apcalc on August 10, 2010, 09:51:46 pm
Quick question--I already have boot 2 1.4.  What is the difference?

Also, this a very nice tool to see!  Great job!
Title: Re: More free space on your Nspire with TNOC
Post by: TIfanx1999 on August 10, 2010, 09:55:00 pm
This is pretty cool. I'm really surprised that some of this unnecessary stuff takes up so much space.
Title: Re: More free space on your Nspire with TNOC
Post by: bwang on August 10, 2010, 10:03:51 pm
Nice! I might reinstall my OS to take advantage of this.
Title: Re: More free space on your Nspire with TNOC
Post by: critor on August 10, 2010, 10:04:06 pm
Quick question--I already have boot 2 1.4.  What is the difference?

We don't know exactly. A better protection was an hypothesis.


The TNO/TNC update file is stored in the TI-Nspire filesystem ( /phoenix/install ).
It's that file that is being sent when updating another calculator.

As you allready have boot2 1.4, the 1.4 boot2 copy which is compressed in the TNO/TNC file is totally useless. You're wasting 1Mb... just remove it with TNOC! ;)
Title: Re: More free space on your Nspire with TNOC
Post by: Levak on August 10, 2010, 10:04:13 pm
English screenshot version
(http://i30.servimg.com/u/f30/13/60/39/93/captur11.png)
Title: Re: More free space on your Nspire with TNOC
Post by: apcalc on August 10, 2010, 10:05:44 pm
Quick question--I already have boot 2 1.4.  What is the difference?


The TNO/TNC update file is stored in the TI-Nspire filesystem ( /phoenix/install ).
It's that file that is being sent when updating another calculator.

As you allready have boot2 1.4, the 1.4 boot2 copy which is compressed in the TNO/TNC file is totally useless. You're wasting 1Mb... just remove it with TNOC! ;)


Thanks critor!

I am going to have to upgrade to 2.0 soon for school :(.  I will be sure to use this tool to save me some space!
Title: Re: More free space on your Nspire with TNOC
Post by: critor on August 10, 2010, 10:12:12 pm
I've edited the 1st post with a direct link to the tool.

You don't have to browse through the french news any more to get the link.
Title: Re: More free space on your Nspire with TNOC
Post by: Levak on August 10, 2010, 10:12:33 pm
Don't forget that I worked hard to make this tool compatible with Linux and Windows in English and French :p
Hope you'll enjoy it =)
Title: Re: More free space on your Nspire with TNOC
Post by: DJ Omnimaga on August 10, 2010, 11:40:12 pm
I think this deserves to be moved to news. Great tool you got there! It's pathetic how much the Nspire OSes wasted space on our calcs.
Title: Re: More free space on your Nspire with TNOC
Post by: miotatsu on August 11, 2010, 06:54:32 am
I am running OS 1.1 Boot2 1.4, would this be of use to me?
Title: Re: More free space on your Nspire with TNOC
Post by: Lionel Debroux on August 11, 2010, 10:41:22 am
miotatsu:
* now that you have boot2 1.4, you can kick the boot2 upgrade from any OS upgrade >= 1.4 that contains it and thereby save more than 1 MB;
* if you want to run some OS >= 1.4 but don't care about the samples, you can kick them out too.
Title: Re: More free space on your Nspire with TNOC
Post by: Hot_Dog on August 11, 2010, 11:25:39 am
WOW...TI-Users strike again!
Title: Re: More free space on your Nspire with TNOC
Post by: calcdude84se on August 11, 2010, 03:20:26 pm
hahah, nice :)
Sad that boot2 and the examples take several megabytes... :P
Title: Re: More free space on your Nspire with TNOC
Post by: ztrumpet on August 14, 2010, 03:52:16 pm
Wow, that's impressive.  Wonderful job Critor and Levak! ;D
Title: Re: More free space on your Nspire with TNOC
Post by: qazz42 on August 14, 2010, 07:36:32 pm
errrm, the output file ,"WOBZ" I think, what do I do with it so that it sends properly as an OS?
Title: Re: More free space on your Nspire with TNOC
Post by: Levak on August 14, 2010, 08:32:55 pm
errrm, the output file ,"WOBZ" I think, what do I do with it so that it sends properly as an OS?

TNOC can generate 3 different files.
- *.tno/*.tnc without boot2  (_WOB2)
- *.tno/*.tnc without sampes (_WOSA)
- *.tno/*.tnc without boot2 & samples (_WOB2SA)

For example, a file called "tinspire.tno" without samples and boot2 will be saved in "tinspire.tno_wob2sa"
Just remove the extra-extension, here "_wob2sa".
If you don't see this extension, make shure Windows display the known extentions (In explorer, go with [ALT] key to Option > Tools > Display) (even if Windows shouldn't know this extention lol)

I haven't made a parser function that decomposes the entire path to save the file in a new folder or what else, I just made this quick function =)

Levak
Title: Re: More free space on your Nspire with TNOC
Post by: qazz42 on August 14, 2010, 09:26:11 pm
ok, thanks, though a pruned OS 1.1 does not send right :)
Title: Re: More free space on your Nspire with TNOC
Post by: Lionel Debroux on August 15, 2010, 02:04:42 am
There's nothing to prune on OS 1.1.
Title: Re: More free space on your Nspire with TNOC
Post by: critor on December 24, 2010, 02:49:06 pm
Here are the maximal free space sizes, with all pruned and original TI-Nspire OSes:

(http://i63.servimg.com/u/f63/13/23/13/53/tnoc-s10.gif)

With OS 1.4 or later, you can increase your free space by 2-3.5Mb by using the TNOC tool.


If new OSes go on being bigger an bigger, users are going to have problems when upgrading/downgrading, because the free space won't be enough to store the temporary tno/tnc file during installation.

They'll have to remove the OS through the maintenance menu before...

TI is so stupid...
Title: Re: More free space on your Nspire with TNOC
Post by: DJ Omnimaga on December 26, 2010, 02:31:44 am
Indeed they are. I wonder what they're thinking...

Also nice graph and comparison.
Title: Re: More free space on your Nspire with TNOC
Post by: fb39ca4 on February 27, 2011, 10:27:49 am
Is it possible to also remove the 84+ emulator? I don't use it anymore, so that would save me another couple of megabytes.
Title: Re: More free space on your Nspire with TNOC
Post by: critor on February 27, 2011, 10:33:58 am
Without the RSA private production keys, no.
Title: Re: More free space on your Nspire with TNOC
Post by: fb39ca4 on February 27, 2011, 10:44:18 am
Not even the 84 flash image? It seems like that would be stored in a separate file.
Title: Re: More free space on your Nspire with TNOC
Post by: apcalc on February 27, 2011, 10:50:18 am
Not even the 84 flash image? It seems like that would be stored in a separate file.

The 84 rom is stored in "TI-Nspire.img", which is protected by the RSA keys.  If we could edit that, we could easily flash the CAS OS image to the non-CAS.
Title: Re: More free space on your Nspire with TNOC
Post by: fb39ca4 on February 27, 2011, 10:54:06 am
??? The 84 flash image is of course modified by the user, so why would it be inside the os image? (it would mess up the checksum after being modified) Or are there two images - the default image and one stored separately that the emulator can modify?
Title: Re: More free space on your Nspire with TNOC
Post by: apcalc on February 27, 2011, 10:56:40 am
Or are there two images - the default image and one stored separately that the emulator can modify?

I believe this is the case.
Title: Re: More free space on your Nspire with TNOC
Post by: fb39ca4 on February 27, 2011, 11:13:09 am
Then, it would be easy to write an ndless program to delete that file. I would do that if I knew where the image was stored.
Title: Re: More free space on your Nspire with TNOC
Post by: apcalc on February 27, 2011, 11:20:01 am
Then, it would be easy to write an ndless program to delete that file. I would do that if I knew where the image was stored.

Not necessarily, but if you want to try, it is in the directory /ti84/ of TI-Nspire.img.  There are several files you would need to delete, though.
Title: Re: More free space on your Nspire with TNOC
Post by: fb39ca4 on February 27, 2011, 11:23:51 am
Whas there ever a directory viewer for ndless?
Title: Re: More free space on your Nspire with TNOC
Post by: apcalc on February 27, 2011, 11:24:29 am
Yes, there is one on TI-Bank by critor.  I can't remember the name, though. :(
Title: Re: More free space on your Nspire with TNOC
Post by: SirCmpwn on February 27, 2011, 11:48:43 am
I wonder if it would be possible to delete their extra language packs, which take up a ton of space.
Title: Re: More free space on your Nspire with TNOC
Post by: Goplat on February 27, 2011, 12:55:23 pm
You can't delete the compressed copies of the language files inside the OS file (in the 8200 field in TI-Nspire.img), the OS won't validate if that's modified. Maybe you could delete the uncompressed files from the filesystem, but you would need an Ndless program or something for that.
Title: Re: More free space on your Nspire with TNOC
Post by: DJ Omnimaga on February 28, 2011, 08:01:13 pm
I swear I saw a topic about it here too before, but I can't find anymore info about it. Maybe it was never released or it was only on TI-BANK and I missed the download. Critor would be able to tell.
Title: Re: More free space on your Nspire with TNOC
Post by: willrandship on February 28, 2011, 08:04:34 pm
meh, I couldn't use TNOC (Wine doesn't like it), I just did it by hand with my archive manager :P
Title: Re: More free space on your Nspire with TNOC
Post by: apcalc on February 28, 2011, 08:04:36 pm
Do you mean 1337mod?  All that did was change the value of some of the strings in the file.  The new file was the exact same size and essentially the same thing as the original one, thus it was ok.
Title: Re: More free space on your Nspire with TNOC
Post by: DJ Omnimaga on February 28, 2011, 08:07:05 pm
Nah Critor really posted a directory viewer somewhere before.
Title: Re: More free space on your Nspire with TNOC
Post by: ruler501 on February 28, 2011, 10:46:52 pm
Is there an english version of this?
Title: Re: More free space on your Nspire with TNOC
Post by: apcalc on February 28, 2011, 10:48:54 pm
Is there an english version of this?

I think the .zip of this contains an english and french version! :)
Title: Re: More free space on your Nspire with TNOC
Post by: Levak on March 01, 2011, 11:36:12 am
Yes.
Title: Re: More free space on your Nspire with TNOC
Post by: critor on July 17, 2011, 09:10:06 am
Great news!

TNOC still works with the CX OS files (tcc/tco).


You can spare up to 2.5Mb by removing the boot2 and the samples. :)


Note it could be usefull too to prevent some future boot2 upgrade! ;)


Check & download:
http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1251
Title: Re: More free space on your Nspire with TNOC
Post by: Juju on July 18, 2011, 03:18:42 am
Awesome! Although that 2.5MB has less value now that the CX has 6x more disk space.
Title: Re: More free space on your Nspire with TNOC
Post by: Jim Bauwens on July 18, 2011, 11:54:15 am
Nice Critor, I'm sure that 2.5MB will find a use in the future :)
Title: Re: More free space on your Nspire with TNOC
Post by: Munchor on July 24, 2011, 10:45:54 am
What TNOC does can easily be done by opening as ZIP and removing boot2.img? Or does it do other stuff?
Title: Re: More free space on your Nspire with TNOC
Post by: Lionel Debroux on July 24, 2011, 10:48:30 am
As you imagine, TNOC does other stuff ;)
Namely, it preserves (and updates, IIRC - I'd have to check) the text data put by TI at the beginning of the file, and which commonly used ZIP-capable archiving tools strip out.
Title: Re: More free space on your Nspire with TNOC
Post by: Munchor on July 24, 2011, 10:49:24 am
As you imagine, TNOC does other stuff ;)
Namely, it preserves (and updates, IIRC - I'd have to check) the text data put by TI at the beginning of the file, and which commonly used ZIP-capable archiving tools strip out.

Oh thanks for the info, I imagined, but I did not know for sure.