Omnimaga

Omnimaga => News => Topic started by: critor on July 17, 2012, 11:58:37 pm

Title: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on July 17, 2012, 11:58:37 pm
TI-Nspire OS installation files are PKZIP archives. They include several useless big files which will reduce your TI-Nspire free space:
(http://i33.servimg.com/u/f33/13/23/13/53/nsarch10.jpg)



Levak had allready (http://tiplanet.org/forum/viewtopic.php?t=7918) released the computer tool TNOC which let you remove those useless files from your TI-Nspire OS installation file.

But you needed a computer, you needed to install the modified file, and you needed to redo this for each OS installation/update on your handheld...



Now here comes my new Ndless 3.1 program: nTNOC!
It does the same thing as TNOC, but directly on the calculator! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
(http://tiplanet.org/modules/archives/captures/1342578951ntnoc.png)

It automatically determines and removes useless files from the installed Nspire OS file.



Did you upgrade to 3.2 ?
Just downgrade to 3.1 and you'll get an additional 2MB free space! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
Then install Ndless 3.1, launch nTNOC and you'll get another 3MB additional free space! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
You're not dreaming: you can gain up to 5MB! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)


On TI-Nspire ClickPad and TouchPad with a 32MB chip and 27.8MB usable, it's awesome! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
(http://i43.servimg.com/u/f43/13/23/13/53/tnoc10.png)



Do you think it's useless on TI-Nspire CX with the 128MB chip and 115.2MB usable?
I don't ;)
5 MB more mean:
(http://i43.servimg.com/u/f43/13/23/13/53/tnoccx11.png)



If you often install / update / remove OS 3.1 or Ndless, you can also put nTNOC in the Ndless startup folder, so that it will clean up the freshly installed/updated OS automatically and silently at boot time if necessary. ;D





But there is another wonder with nTNOC... ;)

Up to now, you couldn't send an OS from an Ndlessed calculator, although it was working when I was testing the alpha versions. The remove calculator just refuses the received Ndlessed OS.

Guess what? :P
If you use nTNOC with your Ndlessed OS, you can then transfer it between calculators without any problem! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
Meaning that you can now install Ndless without the need of a computer - which should healp spreading Ndless more widely in the world! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)

It seems that the Ndless 3.1 installer has a little bug with a bad offset/size value written when it patches the OS PKZIP archive, and that nTNOC just fixes it ;)





Download:
nTNOC (http://tiplanet.org/forum/archives_voir.php?id=6566)

Source:
http://tiplanet.org/forum/viewtopic.php?f=43&t=9655
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculat
Post by: TheNlightenedOne on July 18, 2012, 12:21:26 am
You, sir, have just made my day. And since it's 12:22 AM, I'm going to be ecstatic for 23 hours and 38 minutes. Nice work! ;D(http://www.omnimaga.org/Themes/default/images/gpbp_arrow_up.gif)
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: DJ Omnimaga on July 18, 2012, 01:29:14 am
Wow that is awesome O.O. I'll most likely put it on my calc once I play some Nspire games again. I don't think my OS 3.1 install is TNOC'ed.

Also I see OSes are starting to grow in size again. x.x
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Lionel Debroux on July 18, 2012, 01:51:04 am
Great work, as usual ;)

In OS 2.1.0.631 for non-CAS Clickpad, the OS image's decompressed size was 9312468 bytes; in OS 3.0.1, 3.0.2 and 3.1.0, the size was 11.4-11.7e6 bytes, in OS 3.2.0.1212, the size is 13564284 bytes :(
This tool will therefore prove to be very useful, in order to alleviate, for users, the consequences of the bloat, and for Ndless installation. But that will last only as long as TI maintains the OS for Clickpad & Touchpad calculators; I think that they'll give up soon on that, rather than optimize their bloat...
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: DJ Omnimaga on July 18, 2012, 02:21:24 am
Yeah I kinda worry they'll do so eventually, since those OSes will eventually no longer fit.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Stefan Bauwens on July 18, 2012, 04:12:06 am
Awesome work Critor! Very well done! :D
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Munchor on July 18, 2012, 04:43:27 am
This will probably com in handy, I don't have much space left with all my Pokémon Games, good job, thank you!
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Yeong on July 18, 2012, 09:28:04 am
wow additional 5MB :D
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: apcalc on July 18, 2012, 09:19:24 pm
Great news!  This is a very useful tool! :)
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on July 19, 2012, 12:22:26 am
Just regained 2 MB on my CX CAS. Now I have 99 MB free!
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Deep Toaster on July 19, 2012, 01:01:04 am
That's really great! nTNOS is a lot more convenient than the normal TNOS. 5 MB on a calculator (any calculator) is a lot!
You, sir, have just made my day. And since it's 12:22 AM, I'm going to be ecstatic for 11 hours and 38 minutes.
You go to bed at noon? O.O
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on July 19, 2012, 09:28:43 am
You, sir, have just made my day. And since it's 12:22 AM, I'm going to be ecstatic for 11 hours and 38 minutes.
You go to bed at noon? O.O

12:22 AM is just after midnight.
Oh wait, I meant 23 hours and 38 minutes... I feel like an idiot now :P I'm going to edit that post...
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: annoyingcalc on July 20, 2012, 04:09:40 pm
O.o? I just gained an extra 10mb, hopefully this is real :D
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on July 20, 2012, 04:11:23 pm
Annoyingcalc, on a CX or a classic Nspire?
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: annoyingcalc on July 20, 2012, 04:12:59 pm
Ti-nspire CX os 3.1.0.392
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on July 20, 2012, 04:14:02 pm
That's weird, does your Handheld Status screen reflect your new 10 MB? That's awesome
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: annoyingcalc on July 20, 2012, 04:15:58 pm
Yes it does, before I had 3.5mb now I have 13.5mb Im SO GLAD THIS WAS RELEASED :D
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on July 20, 2012, 04:16:29 pm
That's awesome!!
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: ChrisCj on September 19, 2012, 11:30:41 am
You said its possible to send ndlessed OS' but it still doesn't work
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Jim Bauwens on September 19, 2012, 12:14:05 pm
Could you give some details about your setup ?
Apparently it worked with Critors, so something must be different ;)
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Wayne on September 19, 2012, 01:45:49 pm
I also want to know how I can send ndless. What do I have to do?
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on September 20, 2012, 05:07:52 am
You said its possible to send ndlessed OS' but it still doesn't work

You can send Ndlesses OSes between identical Nspire models, yes.

What doesn't work with you?
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Wayne on September 20, 2012, 05:26:48 am
You said its possible to send ndlessed OS' but it still doesn't work
You can send Ndlesses OSes between identical Nspire models, yes.
What doesn't work with you?

Do I have to send the ntnoc file?
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on September 20, 2012, 05:47:46 am
No, you just have to send the OS using the official menu.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Wayne on September 20, 2012, 05:52:11 am
Ok, thanks.
Maybe you should add this to the first post ;)
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: aeTIos on September 20, 2012, 07:23:53 am
Yay for ndless calc to calc :D :D :D :D :D
edit: I'm wondering, can you also send ndless from 3.1 to a calc that already has 3.2? as in, you downgrade the 3.2 os to ndlessed 3.1.
Title: Re: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on September 20, 2012, 05:08:56 pm
I would assume so, but don't quote me on it.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on September 20, 2012, 05:21:52 pm
edit: I'm wondering, can you also send ndless from 3.1 to a calc that already has 3.2? as in, you downgrade the 3.2 os to ndlessed 3.1.

Yes, as the OS sent between two calcs is the whole OS.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: calc84maniac on September 20, 2012, 07:52:33 pm
Hmm, is this possible from the PC too, then? If so, I imagine the reason why Ndless doesn't do this is because it would involve distributing a modified OS file :P
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Lionel Debroux on September 21, 2012, 02:12:57 am
Right.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: aeTIos on September 24, 2012, 09:23:05 am
And I guess one should first send the files in the ndless folder to the other calc? (as in, ndless_resources.tns and this other one)
Title: Re: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on September 25, 2012, 02:58:45 pm
Yes, or else (IIRC) you'll get a reboot loop.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: aeTIos on September 27, 2012, 07:24:42 am
you accidentally double-posted.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: ChrisCj on September 27, 2012, 07:53:09 am
You said its possible to send ndlessed OS' but it still doesn't work

You can send Ndlesses OSes between identical Nspire models, yes.

What doesn't work with you?

Well I still get the error when trying to send it to the Nspire of my friend
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: aeTIos on September 27, 2012, 07:56:01 am
did you actually run nTNOC?
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on September 27, 2012, 08:07:46 am
nTNOC is not meant to fix the Ndlessed OS.
If your OS is allready optimized, nTNOC won't fix it.

Better use nPatch if your goal is to fix Ndlessed OS:
http://tiplanet.org/forum/viewtopic.php?t=10183
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: ChrisCj on September 28, 2012, 05:04:46 am
I'm sending my friend the os over the official menu but i'm still getting the error that says check your cable he allready has got the ndless folder and yes i started it already the os is optimized
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on September 28, 2012, 01:37:21 pm
If you've (re)installed Ndless after using nTNOC, then the OS footer is wrong again.

As the OS is allready optimized, nTNOC won't modify it again and so won't fix the footer again.


Just use nPatch:
http://tiplanet.org/forum/viewtopic.php?t=10183
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on October 14, 2012, 10:08:00 pm
I just got a new TI-Nspire Touchpad Non-CAS today, and I installed Ndless. I ran this first to free space. It ended up deleting my OS... I tried it again. And again. It gave me the same results. Any ideas? For now I'm using the PC version of TNOC.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on October 15, 2012, 05:13:20 pm
I just got a new TI-Nspire Touchpad Non-CAS today, and I installed Ndless. I ran this first to free space. It ended up deleting my OS... I tried it again. And again. It gave me the same results. Any ideas?

Might be a poblem of nTNOC running out of free space - as you've got a non-CX Nspire.
I thought I had dealt with this problem - will have a look again.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: TheNlightenedOne on October 16, 2012, 08:37:08 pm
But the weird thing is that it didn't give me an "Install Operating System Now" message when I reset the calc, it just hung on the "Loading Operating System..." message, it just stayed at about 50% through the progress bar. I had to delete the OS through the maintenance menu. Does that help at all?
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Jonius7 on October 16, 2012, 11:36:15 pm
This is a situation, mostly hypothetical. If you upgraded your TI-nspire Clickpad from 1.4 to 3.1 without using TNOC first, but then you can install ndless, nTNOC can't remove the 3.x boot2 can it? So then I don't know how you can avoid using TNOC without resorting to installing TI's 3.x boot2.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on October 17, 2012, 12:06:59 am
But the weird thing is that it didn't give me an "Install Operating System Now" message when I reset the calc, it just hung on the "Loading Operating System..." message, it just stayed at about 50% through the progress bar. I had to delete the OS through the maintenance menu. Does that help at all?

It seems like that: nTNOC ran out of space, and has generated a truncated OS file.
nTNOC should have been fixed against this issue.

When did you download it?
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: critor on October 17, 2012, 12:08:19 am
This is a situation, mostly hypothetical. If you upgraded your TI-nspire Clickpad from 1.4 to 3.1 without using TNOC first, but then you can install ndless, nTNOC can't remove the 3.x boot2 can it? So then I don't know how you can avoid using TNOC without resorting to installing TI's 3.x boot2.

nTNOC doesn't remove the Boot2 from the Flash.
It does remove it from the OS file which is stored on the handheld in /phoenix/install/TI-Nspire.tnc.
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: Jonius7 on October 17, 2012, 08:19:31 pm
So you can safely install unmodified OS and then use nTNOC to remove the boot2 from the OS?
Title: Re: nTNOC: more free space on your Nspire & Ndless installation between calculators
Post by: lkj on October 17, 2012, 08:36:01 pm
No, that won't work. nTNOC only removes the Boot2 from the OS file in the filesystem, not the actually installed Boot2. The removed boot2 is completely useless, as after its installation it's never used again.