Author Topic: More free space with nLaunch and even smaller Nspire OS !  (Read 3478 times)

0 Members and 1 Guest are viewing this topic.

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
More free space with nLaunch and even smaller Nspire OS !
« on: January 02, 2013, 07:36:31 pm »
If you follow us, you know you can safely optimize the free space on your TI-Nspire with 2 different ways :

On recent OSes, TNOC/nTNOC allows you to gain 3MB of free space.

nCleaner however only existing as an Ndless program, it was only possible to combine it with nTNOC under the OS 3.1 for an additional saving and an extraordinary free space available:

FYI, the records so far are :
  • 19.7MB of free space with OS 3.1 on the Nspire (TNOC + nCleaner)
  • 20.3MB of free space with OS 3.1 on the TI-Nspire CAS (TNOC + nCleaner)
  • 16.1MB of free space with OS 3.2 on the TI-Nspire (TNOC)
  • 18.4MB of free space with OS 3.2 on the TI-Nspire CAS (TNOC)


As you can see, because of the absence of a Ndless version compatible with OS 3.2, this OS couldn't be as optimized as 3.1 :(

But thanks to nLaunch, these times are over !

Indeed, nLaunch is an OS Launcher for the TI-Nspire ClickPad/TouchPad, which even accepts modified OSes !  :o
It comes with a computer tool, "BuildOS", which allows you to "rebuild" an Nspire OS install file from its extracted resources.

So, instead of removing the unwanted resources once extracted in the filesystem, let's remove them all beforehand, on the computer, in the file itself ! :thumbsup:

As a bonus, it actually makes twice the free space because this OS file, not only not extracting useless resources, will be lighter !

So, this is feasible on any OS, whatever their Ndless support, so, as much on the 3.1 than on 3.2 :)


So, let me now present to you the new world record for the CAS 3.1 OS which previously peaked at 20.3MB of free space...

21.4MB of free space now, and credits to Excale ! :thumbsup:
(out of 27.8MB total, let's recall that !)

And this time, it's different, since even the 3.2 OS can benefit from this extra free space ! :thumbsup:



Unfortunately, for obvious legal reasons of copyright etc., we cannot publish such modified OS.

On the other hand, before using BuildOS, you'll have to correctly  uncompress/decrypt the Nspire OSes. Some tool was available years ago for that but hasn't been publicly updated for OS 3.X.

Fortunately, Excale found a workaroung using only nspire_emu! :thumbsup:
Thus, you too can modify your TI-Nspire OS! You can either remove useless resource, or craft extraordinary patches! :thumbsup:


Source with the OS nspire_emu decryption tutorial:
http://tiplanet.org/forum/viewtopic.php?t=11026&lang=en
TI-Planet co-admin.

Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: More free space with nLaunch and even smaller Nspire OS !
« Reply #1 on: January 11, 2013, 03:39:44 am »
If using buildOS is so complex, why not simply release IPS patches for the changes?

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: More free space with nLaunch and even smaller Nspire OS !
« Reply #2 on: January 11, 2013, 04:55:22 am »
IPS patches are not appropriate for compressed/encrypted images (when the modified file size can be different).
In case of files with different size, the IPS patch is going to include all code which will have changed location in the file, and so there will be a copyright problem.

IPS patches are appropriate for raw images - so you'll need to decrypt/decomprress and encrypt/recompress your OS installation file anyway.
TI-Planet co-admin.

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: Re: More free space with nLaunch and even smaller Nspire OS !
« Reply #3 on: January 30, 2013, 05:22:56 pm »
Can you just unzip the TI-Nspire.IMG from the .tno/.tnc and remove excess resources from there, rather than using the emu to extract?
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)

Offline excale

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 103
  • Rating: +19/-1
    • View Profile
Re: More free space with nLaunch and even smaller Nspire OS !
« Reply #4 on: March 16, 2013, 03:38:37 pm »
I updated the tutorial with a batch (still require 4 external programs), plus clarified some parts for those interested.

Optimize your OS now: http://tiplanet.org/forum/viewtopic.php?f=57&t=11027&lang=en  :).
« Last Edit: March 16, 2013, 03:47:52 pm by excale »

Offline TheNlightenedOne

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 427
  • Rating: +16/-1
    • View Profile
Re: Re: More free space with nLaunch and even smaller Nspire OS !
« Reply #5 on: March 16, 2013, 04:16:33 pm »
Cool, I'll try this when I get home
"Eris" (Ndless 3.1)
"Keto" (Ndless 3.1)
"Luna" (AMS 3.10, HW4)
"Aurora" (2.55MP)