π
<-
Chat plein-écran
[^]

Patching 4.4.0.532 CAS to run on Non-CAS

C, C++, ASM...
Online

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby critor » 24 Feb 2017, 11:34

ControlX is now able to install Ndless on OS 4.0.0. :)
(for those who want to use older OSes and thus have more free RAM for Ndless programs)
Image
User avatar
critorAdmin.
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 3.2%
 
Posts: 34908
Images: 9278
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
Class: Lycée
YouTube: critor3000
Twitter: critor2000
Facebook: critor.ti

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby parrotgeek1 » 24 Feb 2017, 21:07

critor wrote:ControlX is now able to install Ndless on OS 4.0.0. :)
(for those who want to use older OSes and thus have more free RAM for Ndless programs)

How much less RAM does it really use than 4.4?
My Projects:
nLoaderCAS Patcher for ControlXnLaunchy CXM fork (3.9 CAS on B&W) - News ArticleTI-82 Advanced App Installer
Prototypes:
Upgrade EVT Nspire CAS+Fix keyboard on prototype TI-Nspire CAS Touchpad
- Highlights: Nspire CX Non-CAS OS 3.3, CX & CX CAS OS 4.4 & 4.5 special reformatting installers (both found by me on TI's site)
Discoveries:
Boot1.5 vulnerability (used in nLoader) • Nspire dev boardsPink CX
Je peux comprendre le français mais je ne peux pas le parler bien.
User avatar
parrotgeek1Prog.
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 70.6%
 
Posts: 741
Joined: 29 Mar 2016, 01:22
Location: USA
Gender: Male
Calculator(s):
Twitter: parrotgeek1
GitHub: parrotgeek1

Online

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby critor » 24 Feb 2017, 21:51

Just compare the decompressed OS file sizes, as the OS image is directly loaded into RAM.

4.4 is so much bigger... ~20MB :#roll#:

4.0-4.3 were ~17MiB.
Image
User avatar
critorAdmin.
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 3.2%
 
Posts: 34908
Images: 9278
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
Class: Lycée
YouTube: critor3000
Twitter: critor2000
Facebook: critor.ti

Online

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby critor » 26 Feb 2017, 17:49

Indeed, I've tried NlaunchX on a TI-Nspire non-CAS ClickPad, and something seems wrong.

The calculator was originally preloaded with Nlaunchy and running OS 3.6 CAS.

1st try : Nlaunchy update
  • put the NlaunchX 'nlaunch.tns' file in the /nlaunchy folder
  • reboot
The calculator reboots 2 times in a row.
On the 2nd reboot, when the loading bar reaches 50%, the screen starts having problems with the horizontal sync, and becomes hardly readable.
The loading bar then seems to remain frozen at 100% - the OS doesn't start.

I did reboot the calculator.
I get either the exact same behaviour, or a freeze directly at 50% of the loading bar. :(


2nd try : removed Nlaunchy completely with the maintenance menu.
Then go through the whole NlaunchX installation steps, with OS 3.6 non-CAS.
I then get exactly the same behaviours... :(
Image
User avatar
critorAdmin.
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 3.2%
 
Posts: 34908
Images: 9278
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
Class: Lycée
YouTube: critor3000
Twitter: critor2000
Facebook: critor.ti

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby parrotgeek1 » 26 Feb 2017, 21:50

critor wrote:Indeed, I've tried NlaunchX on a TI-Nspire non-CAS ClickPad, and something seems wrong.

The calculator was originally preloaded with Nlaunchy and running OS 3.6 CAS.

1st try : Nlaunchy update
  • put the NlaunchX 'nlaunch.tns' file in the /nlaunchy folder
  • reboot
The calculator reboots 2 times in a row.
On the 2nd reboot, when the loading bar reaches 50%, the screen starts having problems with the horizontal sync, and becomes hardly readable.
The loading bar then seems to remain frozen at 100% - the OS doesn't start.

I did reboot the calculator.
I get either the exact same behaviour, or a freeze directly at 50% of the loading bar. :(


2nd try : removed Nlaunchy completely with the maintenance menu.
Then go through the whole NlaunchX installation steps, with OS 3.6 non-CAS.
I then get exactly the same behaviours... :(

Can you compile NlaunchX with your own computer? Maybe it's my compiler.
My Projects:
nLoaderCAS Patcher for ControlXnLaunchy CXM fork (3.9 CAS on B&W) - News ArticleTI-82 Advanced App Installer
Prototypes:
Upgrade EVT Nspire CAS+Fix keyboard on prototype TI-Nspire CAS Touchpad
- Highlights: Nspire CX Non-CAS OS 3.3, CX & CX CAS OS 4.4 & 4.5 special reformatting installers (both found by me on TI's site)
Discoveries:
Boot1.5 vulnerability (used in nLoader) • Nspire dev boardsPink CX
Je peux comprendre le français mais je ne peux pas le parler bien.
User avatar
parrotgeek1Prog.
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 70.6%
 
Posts: 741
Joined: 29 Mar 2016, 01:22
Location: USA
Gender: Male
Calculator(s):
Twitter: parrotgeek1
GitHub: parrotgeek1

Online

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby critor » 26 Feb 2017, 22:38

I'v done something else.

Attached is a new Nlaunchy CXM build, which includes minimal patches for OS 3.6.0.5xx ClickPad/TouchPad, based upon your great work.

It's great, I can now :
  • install OS 3.6 on the TI-Nspire ClickPad DVT prototypes I own :bj:
    (and I did buy them - such abusive check was very unfair from TI)
  • install OS 3.6 CAS on my old TI-Nspire ClickPad/TouchPad non-CAS
So the patches are ok, and your problem is somewhere else.

If nobody reports problems, I'll update the Nlaunchy CXM page.

Seeing that parrotgeek1's pull on Nlaunchy was closed on github without beeing merged, I'm not going to lose time fighting for these improvements to be integrated in the original Nlaunchy :
https://github.com/Excale/nLaunchy/pull/21



I didn't add patches for ClickPad/TouchPad OSes 3.9. In my opinion, they are very similar with 3.6, take a little more SDRAM, calculate a little slower, and are much harder to patch completely.
The patching code is going to be much bigger, and it may be needed to remove other OSes support to make it fit in a stable payload.
I don't think they're worth it.

I didn't add patches for CX/CM OS 3.6+. In my opinion, using the next nBoot+ControlX version including thoses patches is going to be a much better choice on color TI-Nspire.


Another reason for not adding those patches is that I am not going to have enough time to test thoroughly
(*)
that such major update didn't break anything.
(*) it means testing with every OS version on every model...

So I prefer keeping with a minor update for now.

I might, and I said
*might*
, have another look at this later.
But in the meantime, if someone else has enough time to fork, add thoses patches and test, no problem. :)

Nlaunchy CXM.zip
(111.55 KiB) Downloaded 21 times
Image
User avatar
critorAdmin.
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 3.2%
 
Posts: 34908
Images: 9278
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
Class: Lycée
YouTube: critor3000
Twitter: critor2000
Facebook: critor.ti

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby parrotgeek1 » 26 Feb 2017, 23:31

critor wrote:I'v done something else.

Attached is a new Nlaunchy CXM build, which includes minimal patches for OS 3.6.0.5xx ClickPad/TouchPad, based upon your great work.

It's great, I can now :
  • install OS 3.6 on the TI-Nspire ClickPad DVT prototypes I own :bj:
    (and I did buy them - such abusive check was very unfair from TI)
  • install OS 3.6 CAS on my old TI-Nspire ClickPad/TouchPad non-CAS
So the patches are ok, and your problem is somewhere else.

If nobody reports problems, I'll update the Nlaunchy CXM page.

Seeing that parrotgeek1's pull on Nlaunchy was closed on github without beeing merged, I'm not going to lose time fighting for these improvements to be integrated in the original Nlaunchy :
https://github.com/Excale/nLaunchy/pull/21



I didn't add patches for ClickPad/TouchPad OSes 3.9. In my opinion, they are very similar with 3.6, take a little more SDRAM, calculate a little slower, and are much harder to patch completely.
The patching code is going to be much bigger, and it may be needed to remove other OSes support to make it fit in a stable payload.
I don't think they're worth it.

I didn't add patches for CX/CM OS 3.6+. In my opinion, using the next nBoot+ControlX version including thoses patches is going to be a much better choice on color TI-Nspire.


Another reason for not adding those patches is that I am not going to have enough time to test thoroughly
(*)
that such major update didn't break anything.
(*) it means testing with every OS version on every model...

So I prefer keeping with a minor update for now.

I might, and I said
*might*
, have another look at this later.
But in the meantime, if someone else has enough time to fork, add thoses patches and test, no problem. :)

Nlaunchy CXM.zip

Thank you! Did you see my post about faking the NAND value?

P.S. I was the one who closed that pull request, not Excale. I think I accidentally did it.
My Projects:
nLoaderCAS Patcher for ControlXnLaunchy CXM fork (3.9 CAS on B&W) - News ArticleTI-82 Advanced App Installer
Prototypes:
Upgrade EVT Nspire CAS+Fix keyboard on prototype TI-Nspire CAS Touchpad
- Highlights: Nspire CX Non-CAS OS 3.3, CX & CX CAS OS 4.4 & 4.5 special reformatting installers (both found by me on TI's site)
Discoveries:
Boot1.5 vulnerability (used in nLoader) • Nspire dev boardsPink CX
Je peux comprendre le français mais je ne peux pas le parler bien.
User avatar
parrotgeek1Prog.
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 70.6%
 
Posts: 741
Joined: 29 Mar 2016, 01:22
Location: USA
Gender: Male
Calculator(s):
Twitter: parrotgeek1
GitHub: parrotgeek1

Online

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby critor » 27 Feb 2017, 00:22

parrotgeek1 wrote:Thank you! Did you see my post about faking the NAND value?

No, where ?

I've just rebuilt NlaunchX for another Nspire ClickPad DVT prototype and got exactly the same behaviour : :(

I suppose you'll have to undo your changes one by one until it works again...
Image
User avatar
critorAdmin.
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 3.2%
 
Posts: 34908
Images: 9278
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
Class: Lycée
YouTube: critor3000
Twitter: critor2000
Facebook: critor.ti

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby parrotgeek1 » 27 Feb 2017, 01:04

critor wrote:
parrotgeek1 wrote:Thank you! Did you see my post about faking the NAND value?

No, where ?

I've just rebuilt NlaunchX for another Nspire ClickPad DVT prototype and got exactly the same behaviour : :(

I suppose you'll have to undo your changes one by one until it works again...

it's dancing! lol

nand post viewtopic.php?f=20&t=19561&p=213299#p213299


parrotgeek1
GUESS WHAT
I FAKED THE PRODUCT ID
boot2 4.0.3 write 118b916c E3A0000F
the 0f is the product id like from manuf
im so happy
16 Feb 2017, 01:26

try this, I added CX patches to your code https://github.com/parrotgeek1/nLaunchX ... d09cb72/CX
My Projects:
nLoaderCAS Patcher for ControlXnLaunchy CXM fork (3.9 CAS on B&W) - News ArticleTI-82 Advanced App Installer
Prototypes:
Upgrade EVT Nspire CAS+Fix keyboard on prototype TI-Nspire CAS Touchpad
- Highlights: Nspire CX Non-CAS OS 3.3, CX & CX CAS OS 4.4 & 4.5 special reformatting installers (both found by me on TI's site)
Discoveries:
Boot1.5 vulnerability (used in nLoader) • Nspire dev boardsPink CX
Je peux comprendre le français mais je ne peux pas le parler bien.
User avatar
parrotgeek1Prog.
Niveau 11: LV (Légende Vivante)
Niveau 11: LV (Légende Vivante)
Level up: 70.6%
 
Posts: 741
Joined: 29 Mar 2016, 01:22
Location: USA
Gender: Male
Calculator(s):
Twitter: parrotgeek1
GitHub: parrotgeek1

Online

Re: Patching 4.4.0.532 CAS to run on Non-CAS

Unread postby critor » 01 Mar 2017, 23:49

New private version 4.4.3 that I'm starting to be happy with. :)
Image

It doesn't reflash the Manuf model ID anymore and hot-patches something else in the Boot2 instead.
So, no more risks of bricking your calculator. :)

Option #7 is to switch between CX and CM modes. So you can install much lighter CM OSes on your CX, and CX OSes on your CM
(you can finally upgrade your CM to 3.2.3+, but remember it only has 32MiB SDRAM...)
.

Option #8 is to switch between CAS and numeric modes
(as already state, only applies the minimal booting patches - so OSes 3.9+ CAS are going to start on your non-CAS for example, but using any feature which is not suited for your model is going to trigger a reboot)
.

Option #9 is to switch between the production and development RSA keys. So you can install and run development CX OSes on your production CX. Does nothing in CM mode, as we've never found any development CM OS.

parrotgeek1 wrote:
critor wrote:
parrotgeek1 wrote:Thank you! Did you see my post about faking the NAND value?

No, where ?

nand post viewtopic.php?f=20&t=19561&p=213299#p213299

parrotgeek1
GUESS WHAT
I FAKED THE PRODUCT ID
boot2 4.0.3 write 118b916c E3A0000F
the 0f is the product id like from manuf
im so happy
16 Feb 2017, 01:26

And of course, thanks to parrotgeek1 as usual. :)
Image
User avatar
critorAdmin.
Niveau 19: CU (Créateur Universel)
Niveau 19: CU (Créateur Universel)
Level up: 3.2%
 
Posts: 34908
Images: 9278
Joined: 25 Oct 2008, 00:00
Location: Montpellier
Gender: Male
Calculator(s):
Class: Lycée
YouTube: critor3000
Twitter: critor2000
Facebook: critor.ti

PreviousNext

Return to Native: Ndless, Linux, ...

Who is online

Users browsing this forum: No registered users and 1 guest

-
Search
-
Featured topics
Omega, le fork étendant les capacités de ta NumWorks, même en mode examen !
Comparaisons des meilleurs prix pour acheter sa calculatrice !
12
-
Donations / Premium
For more contests, prizes, reviews, helping us pay the server and domains...

Discover the the advantages of a donor account !
JoinRejoignez the donors and/or premium!les donateurs et/ou premium !


Partner and ad
Notre partenaire Jarrety 
-
Stats.
407 utilisateurs:
>389 invités
>12 membres
>6 robots
Record simultané (sur 6 mois):
6892 utilisateurs (le 07/06/2017)
-
Other interesting websites
Texas Instruments Education
Global | France
 (English / Français)
Banque de programmes TI
ticalc.org
 (English)
La communauté TI-82
tout82.free.fr
 (Français)