Omnimaga

Omnimaga => News => Topic started by: DJ Omnimaga on January 24, 2011, 05:10:56 pm

Title: PolyPatch84 released
Post by: DJ Omnimaga on January 24, 2011, 05:10:56 pm
Critor has released a package called PolyPatch84, containing every TI-84 Plus OS patches made so far by the TI community. He plans to update it everytime a new one will be released. The various patches made so far were mostly to correct some bugs by TI, disable teacher modes and application signature checking. This includes

-For glitch fix: When using a lone If instruction inside a For() loop with the closing parhentesis missing and the If condition being false, the For loop ran much slower than normal and this slowdown sometimes persisted after exiting the loop, due to a memory leak, and persisted until you exit the program with ON. This affects every OS. Brandon Wilson made a patch fixing this in OS 2.41. PolyPatch84 adds 2.40 and 2.43 fixes.

-ERR:BAD ADDRESS fix: This bug occured when archiving a file in a Flash page with only 11 to 18 bytes left in it. Upon unarchiving it, the file was not archived at all, but it would take RAM anyway. Multiple attempts at unarchiving it caused your RAM to decrease more and more. The only way to recover this RAM was a RAM reset. This could cause potential data loss, especially for BASIC and Axe programmers. This affects all 15 MHz calculator models including the TI-83 Plus Silver Edition. The patch fixing this was made by ThePenguin77 and  is compatible with OS 2.43 and 2.53MP. PolyPatch adds compatibility for all other 84+ OSes including 0.46.

-ERR:VERSION: This bug occurs when you try to group a large file and the current Flash page is almost full. A bug will cause the grouped file to be saved on two Flash pages at once and prevent you from ungrouping files that crosses a sector, if not the entire group at all. ThePenguin77 patch fixes this in OS 2.43 and 2.55MP and PolyPatch84 adds support for other 84+ OSes.

-Self-test group deletion fix: MODE+ALPHA+S is supposed to clear the RAM, but not the archive. However, a bug in all TI-84 Plus OSes causes group files (8xg) to be deleted too. Critor added 2.41 and 2.55MP OS support to ThePenguin patch, which supported 2.43 and 2.53MP.

-Sequential graphing bug: on older OSes, the X value prompt on the graph screen is corrupted and will show garbage. BrandonW made a patch that fixes this in OS 2.21 and 2.22. PolyPatch84 adds 0.46 support.

-xLIB incompatibility: For people who still use xLIB, it will not run on OS 2.53 MP or higher. BrandonW made a patch that fixes that compatibility issue.

-Teacher reset shortcuts: In newer 84+ OSes, there are shortcuts for teachers (ON+8+5 and ON+8+2) which lets them quickly reset student calculators. BrandonW patch disable those.

-Press-to-test (PTT) mode: By OS 2.40, TI added another teacher mode to the TI-84 Plus series that disables the PRGM and APPS menu as well as various other functions on the calculator during tests. To get out of this mode, the student must connect his calculator to another one and send a variable to it, else he can say goodbye to his calculator content. Mapar007 originally released a patch on ticalc.org to disable this, but BrandonW released another one for all OSes that adds a fake PTT screen too.

-Application signing: To install an application on a TI-84 Plus, it needs to be signed with the 512 bits 010A RSA key first. Unsigned apps and those that are either not signed properly or are for the TI-73 will not be accepted by the calculator. BrandonW made a patch that removes this protection.

Eventually, TI-83 Plus patches might be included. Remember to backup everything you have before attempting to use any of these patches and read the instructions first (which are included in English)!

PolyPatch84 package can be downloaded on TI-BANK here (http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=2128) and the original news is located here (http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=933).
Title: Re: PolyPatch84 released
Post by: Munchor on January 24, 2011, 05:12:27 pm
This looks cool, so we don't have to get all of them separately ;D

EDIT: Wow DJ, nice translation, that must've been some hard work, thanks!
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on January 24, 2011, 05:29:36 pm
Lol thanks, I couldn't find the original patches anymore so I just translated and summed up the news. I also mentionned about Mapar007 original PTT patch.
Title: Re: PolyPatch84 released
Post by: thepenguin77 on January 24, 2011, 05:39:06 pm
Crosspost from Ti Bank. (I know DJ just translated so this isn't as important.)

Quote
Sorry I don't speak French. So you'll get the google translate version of this.

On the Err:Bad Address, the file gets saved, but it just cannot be unarchived.

Also, the groups are deleted as part of the Press to Test. When you disable the programs, that is when the groups are deleted, not when you do test mode. And error version makes the group span three pages, not two.

But other than that, great job compiling all of the patches.
Title: Re: PolyPatch84 released
Post by: critor on January 24, 2011, 05:43:33 pm
Hi! Thank you for the topic.

Please report any abnormal bug/problem.


If you think I've forgotten to credit somebody in the news or in the doc, please tell me.

I don't want to "steal" the work belonging to others. I'd just like to make it more popular and easier to use for most of us. :)
Title: Re: PolyPatch84 released
Post by: leafy on January 24, 2011, 05:46:43 pm
Hooray I can finally play Shift!
Title: Re: PolyPatch84 released
Post by: critor on January 24, 2011, 05:55:08 pm
By the way, thank you ThePenguin77 for telling me what was incorrect.
I'll update/edit as soon as possible :)

Thanks again.


Some note about the 1st post.

Brandon's PTT patch doesn't work fully with OS 2.55MP. I does disable the 8+5+ON/8+2+ON resets, but not the access to the PTT mode.
The fix was adapted for OS 2.55MP in PolyPatch84.


As you can see, severall ports are still missing. It's because the problematic code was different on those OSes. Either I could not find it, either I could not patch it.

* Brandon's patch for the "for(" glitch still has to be ported to OSes 2.55MP, 2.53MP, 2.30 and lower. I could find the code, but it was slightly different and I couldn't manage to mod it successfully.

* The fix for the self-test & groups has to be ported to OSes 2.40 and lower. I could not find the code at all.

* The "ERR:Version" fix has to be ported to OSes 2.30 and lower. I could not find the code at all.

* Brandon's fix for the Xlib bug has still to be ported to OS 2.55MP. I could find the code, but the ROM page is completly full! I cannot insert Brandon's additional code...


If anybody wants to help...
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on January 24, 2011, 07:02:30 pm
Ah ok thanks for clarifying guys! Good luck porting the remaining patches for 2.55 MP.
Title: Re: PolyPatch84 released
Post by: jnesselr on January 24, 2011, 07:07:54 pm
I'm surprised at how many patches we've needed to use.
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on January 24, 2011, 07:13:08 pm
One thing I wonder: Is it safe to install every patch at once? Will conflicts occur?
Title: Re: PolyPatch84 released
Post by: jnesselr on January 24, 2011, 07:20:41 pm
One thing I wonder: Is it safe to install every patch at once? Will conflicts occur?
I doubt it.  Unless two patches try and modify the same piece of code, it should be fine.
Title: Re: PolyPatch84 released
Post by: critor on January 24, 2011, 07:21:30 pm
I didn't have to mod the same code twice in different ways.

Most patches are independent and should not trigger conflicts (PTT has nothing to do with the for loop for example).


For the 3 patches related to groups & memory, I don't know.
I had no problem during the tests, but of course that does not prove anything and only a long term use can tell...


That's why I asked to report abnormal crashes.

For exemple, it's "normal" for the 2.53MP / 2.55MP to crash sometimes when being asked for 1+1 :P (not joking)

With OS 2.43 and lower, that would be "strange"...
Title: Re: PolyPatch84 released
Post by: jnesselr on January 24, 2011, 07:49:47 pm
I didn't have to mod the same code twice in different ways.

Most patches are independent and should not trigger conflicts (PTT has nothing to do with the for loop for example).


For the 3 patches related to groups & memory, I don't know.
I had no problem during the tests, but of course that does not prove anything and only a long term use can tell...


That's why I asked to report abnormal crashes.

For exemple, it's "normal" for the 2.53MP / 2.55MP to crash sometimes when being asked for 1+1 :P (not joking)

With OS 2.43 and lower, that would be "strange"...
I installed a TI-OS. Does this count as a bug?

No, but seriously 1+1 crashes? how?
Title: Re: PolyPatch84 released
Post by: critor on January 24, 2011, 08:00:25 pm
That's why I asked to report abnormal crashes.

For exemple, it's "normal" for the 2.53MP / 2.55MP to crash sometimes when being asked for 1+1 :P (not joking)

With OS 2.43 and lower, that would be "strange"...
I installed a TI-OS. Does this count as a bug?

No, but seriously 1+1 crashes? how?

:P

OSes 2.53MP/2.55MP have severall bugs. Only one of them (the Xlib bug) is identified and patched for now.

They are not stable and you don't need assembly to crash a 2.53MP/2.55MP OS.

So yes, it can crash during any calculation (including 1+1) or input.

For example, they seem to crash during calculations when the RAM is running low. But there may be other non-asm ways to crash them.
Title: Re: PolyPatch84 released
Post by: Happybobjr on January 24, 2011, 08:05:12 pm
mine crashes the most with the use of sigma.
Title: Re: PolyPatch84 released
Post by: Ranman on January 24, 2011, 10:25:10 pm
This is very nice compilation of fixes for the 83/84 series. It reminds me of Lionel Debroux's Tiosmod for the 68K calcs.

Hope you guys get the rest of the fixes ported to the newer OSs.
Title: Re: PolyPatch84 released
Post by: calcdude84se on January 24, 2011, 10:38:50 pm
Too bad the whole OS will have to be resent, but nice nonetheless! I think I now have an excuse to switch back to 2.43! :D
Title: Re: PolyPatch84 released
Post by: Camdenmil on January 24, 2011, 11:02:06 pm
Do you have to sign the os before you send it. I patched 2.53 and it failed validation. Although I patched the copy on brandonw.net because I couldn't find an unpatched copy of 2.53. Had to go back to 2.53 only with the xlib patch.
Title: Re: PolyPatch84 released
Post by: alberthrocks on January 24, 2011, 11:18:34 pm
THIS. IS. AWESOME! :D This actually might give me a reason to upgrade.... :P

Could you implement the IPS patches for disabling certain buggy features of the OS?
I've seen it before (patched OS to disable annoying things in *MP), but lost track of it.

EDIT: also, although I think it would work with WINE on Linux, here's a nice list of IPS patchers for multiple platforms
that you may want to include with the ZIP:
http://www.zophar.net/utilities/patchutil.html
Title: Re: PolyPatch84 released
Post by: shmibs on January 25, 2011, 12:36:20 am
hey thanks, this shall be quite useful!
oh, and just as a reminder:
make sure you patch an ORIGINAL, UNMODIFIED OS, lest things like the following shenans occur when messing with the archive :P
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on January 25, 2011, 03:10:12 pm
That's why I asked to report abnormal crashes.

For exemple, it's "normal" for the 2.53MP / 2.55MP to crash sometimes when being asked for 1+1 :P (not joking)

With OS 2.43 and lower, that would be "strange"...
I installed a TI-OS. Does this count as a bug?

No, but seriously 1+1 crashes? how?

:P

OSes 2.53MP/2.55MP have severall bugs. Only one of them (the Xlib bug) is identified and patched for now.

They are not stable and you don't need assembly to crash a 2.53MP/2.55MP OS.

So yes, it can crash during any calculation (including 1+1) or input.

For example, they seem to crash during calculations when the RAM is running low. But there may be other non-asm ways to crash them.
That's even worse than the 2nd+Rcl glitch O.O (except that the rcl glitch occurs on all OSes)
Title: Re: PolyPatch84 released
Post by: critor on January 26, 2011, 05:15:33 pm
I've just released PolyPatch84 little brother: PolyPatch84>83.

It includes all fixes from PolyPatch84, plus an additional modification which makes the TI-84+ OS installable and bootable on TI-83+/83+SE calculators.

Special thanks to Brandon Wilson, who made this possible with OS 2.53MP.

His mod has been ported to other OSes: 2.30, 2.40, 2.41, 2.43, 2.55MP.


Yes, you can now install and run all those TI-84+ OSes on a TI-83+/83+SE.


Note, I'm getting a bug with my basic TI-83+:
The calculator often can't be turned on by pressing the On key. You need to press Clear+On, which implies a reset and is very annoying.
But Brandon didn't mention such a bug on his TI-83+SE. It might come from the hardware revision, or might be specific to the basic TI-83+.

The TI-84+ OS is bigger than the TI-83+OS. On basic TI-83+, the available archive space is 128Kb instead of 160Kb.


Let's consider OSes 2.30-2.43:
Compared the the last TI-83+ OS, there is nothing new (except USB & clock support which are useless on a TI-83+).
So installing them is totally useless. You'll get nothing more, and might run into problems.


Let's consider OSes 2.53-2.55:
There is something new: MathPrint. Those ones are interesting.
But they want 48Kb or RAM. So there are instable on basic TI-83+ (RAM chip is only 32Kb).
They'll only work on TI-83+SE (RAM chips is 128Kb).

Strangely it worked on Brandon's TI-83+SE, but not on mine. My TI-83+SE doesn't want to boot any of those OSes, even with Clear+On. Might come from the hardare revision, meaning the fix is currently incomplete.


If you can help by testing, especially on TI-83+SE, it would be great. Please report:
- calculator model
- datestamp
- OS version
- bootable ?
- stable ?
- bugs / problems if there are some


Here's a picture:
(http://i63.servimg.com/u/f63/13/23/13/53/img_4514.jpg)

And here's the link:
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=2129


Have fun.
And if you try... make a backup!!!
Title: Re: PolyPatch84 released
Post by: souvik1997 on January 26, 2011, 05:33:34 pm
If I run a TI 84+ OS on my 83+SE, would linking work?
Title: Re: PolyPatch84 released
Post by: critor on January 26, 2011, 05:34:50 pm
If I run a TI 84+ OS on my 83+SE, would linking work?

With my basic TI-83+ running a TI-84+OS, linking is still working.
Title: Re: PolyPatch84 released
Post by: Happybobjr on January 26, 2011, 05:42:49 pm
So 2.53 MP won't work on the 83+ BE?  or did i read it wrong?
Title: Re: PolyPatch84 released
Post by: critor on January 26, 2011, 05:45:00 pm
So 2.53 MP won't work on the 83+ BE?  or did i read it wrong?

2.53MP/2.55MP won't work on 83+BE because of the too small RAM chip.
You can install them and boot them, but they will be very unstable.
They will crash when being asked for 1+1 for example.

But the MathPrint editor is working, which makes the above photo possible.
I should have taken a photo with a 83+SE, but mine doesn't want to boot those OSes. But it worked on Brandon's 83+SE, that's why I would like more statistics with datestamps.

Critor TI-83+SE (I-0301): 84+ OSes 2.30-2.55 don't boot
BrandonW TI-83+SE (?): 84+ OS 2.53 does boot (others untested)
Title: Re: PolyPatch84 released
Post by: Happybobjr on January 26, 2011, 08:07:41 pm
What is mathprint editor, I have never heard of it.
Title: Re: PolyPatch84 released
Post by: critor on January 26, 2011, 08:12:16 pm
MathPrint is composed of 2 parts:
- the editor (when you're entering a natural expression)
- the viewer (to display the result in a natural way - only support fractions)

You've got exactly the same thing on the basic TI-Nspire.
Title: Re: PolyPatch84 released
Post by: calcdude84se on January 26, 2011, 09:31:14 pm
No idea if it's supposed to happen, but I sent the patched 2.43 to my calc and all USB transfers (not sure if it would for non-USB ones; I only have a direct-link cable) display what is presumably a frame counter in the bottom left corner of the screen. Left in part of some patch?
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on January 26, 2011, 11:51:26 pm
I tried transferring the 2.53 and 2.55 MP patch but TI-Connect keeps telling me "Cannot transfer application to the connected TI device. A certificate is needed for a successful transfer.

Do I need to manually sign the OS for a successful transfer? Note, my 83+SE runs OS 1.19 and here is the serial: I-0501
Title: Re: PolyPatch84 released
Post by: critor on February 02, 2011, 06:43:33 am
I tried transferring the 2.53 and 2.55 MP patch but TI-Connect keeps telling me "Cannot transfer application to the connected TI device. A certificate is needed for a successful transfer.

Do I need to manually sign the OS for a successful transfer? Note, my 83+SE runs OS 1.19 and here is the serial: I-0501


Ok. This should not happen.
I'm checking...

The certificate is not a problem with the signature, but with the header of the file.
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on February 02, 2011, 06:01:05 pm
I see. I hope it's not something to do with my calc/computer/the fact I use TI-Connect either X.x
Title: Re: PolyPatch84 released
Post by: critor on February 02, 2011, 06:16:00 pm
I see. I hope it's not something to do with my calc/computer/the fact I use TI-Connect either X.x

Probably not.

Either I've made a mistake when creating the patch...
Either you haven't applied it to an original unmodified OS file.


Sorry, I haven't had the time to work on this today.
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on February 02, 2011, 06:22:08 pm
No problem. By the way I downloaded OS 2.55MP from TI web page.
Title: Re: PolyPatch84 released
Post by: critor on February 04, 2011, 12:53:27 pm
I've just repatched all TI-84+ OS 2.30 to 2.55, and sent them successfully on my basic TI-83+ with TI-Connect 1.6.1.

I do not understand the problem.
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on February 04, 2011, 05:20:47 pm
Strange. Could it be an hardware issue with my 83+SE or even a broken certificate? ???
Title: Re: PolyPatch84 released
Post by: critor on February 04, 2011, 07:25:14 pm
Strange. Could it be an hardware issue with my 83+SE or even a broken certificate? ???

Can you send me the file you tried to flash?
I'll check if it's exactly the same...
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on February 05, 2011, 12:26:15 am
WAIT! I figured out why it didn't work! :O

I was simply sending the wrong OS copy. The problem is that I always used LunarIPS and IPSWin, before, and unlike the one you suggested, when you patch an IPS file with LunarIPS/IPSWin it *overwrites* the existing copy of the OS. Because of this I expected your IPS patcher to do the exact same thing. As a result, I thought the modified OS was the 2.55 MP copy I downloaded from TI website. Before patching it I even took the precaution to make a copy of it, since I expected your IPS patcher to modify it directly. Now, just tonight, on my crowded computer desktop, I discovered a file called ti83plus_2.55(ptt)(reset)(version)(group)(flash)(addr)(84-83).8xu, which I didn't see before because of that.

In other words I was just sending the wrong 2.55 copy X.x. My bad D:

Now I sent it, but it stopped at 14% and my calc was left with a corrupted OS, though. And I am unable to send a 83+SE OS again, as the calc automatically shows the ERROR press any key to turn the unit OFF then turn it back on message right when transfer starts. Now I need to try from my 83+, but first I have to reinstall its OS since it seems invalidated. X.x (prbly due to Axe)
Title: Re: PolyPatch84 released
Post by: JosJuice on February 05, 2011, 02:40:09 am
And I am unable to send a 83+SE OS again, as the calc automatically shows the ERROR press any key to turn the unit OFF then turn it back on message right when transfer starts.
Maybe your batteries are low? Or is there a separate error message for that?
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on February 05, 2011, 02:56:16 am
Well finally I got able to send 1.19 again fine. I just had to reinstall it on my 83+ first since it was invalidated (ROM Fail msg on self test) then send it to my SE from that calc.

I'll try OS 2.53MP now.
EDIT: No luck, Cannot transfer. File format is invalid. Used OS 2.53MP from TI-BANK and ti83plus_2.53(ptt)(reset)(version)(group)(flash)(addr)(xlib)(84-83).ips then sent ti83plus_2.53(ptt)(reset)(version)(group)(flash)(addr)(xlib)(84-83).8xu. I tried renaming it in case the file name didn't help and no luck either.
Title: Re: PolyPatch84 released
Post by: Geekboy1011 on February 05, 2011, 07:12:30 pm
hmm any way we can include the defrag bug patch as well inthis for those who play chips challenge/use tiboy
Title: Re: PolyPatch84 released
Post by: critor on February 05, 2011, 07:27:06 pm
I'll try OS 2.53MP now.
EDIT: No luck, Cannot transfer. File format is invalid. Used OS 2.53MP from TI-BANK and ti83plus_2.53(ptt)(reset)(version)(group)(flash)(addr)(xlib)(84-83).ips then sent ti83plus_2.53(ptt)(reset)(version)(group)(flash)(addr)(xlib)(84-83).8xu.

Hum... I've patched all my files without redownloading them.
I'm going to check the file on TI-Bank. Just to be sure...


hmm any way we can include the defrag bug patch as well inthis for those who play chips challenge/use tiboy

Of course. Where is the patch?
Title: Re: PolyPatch84 released
Post by: Geekboy1011 on February 05, 2011, 07:31:27 pm
the patch is in the ti-boy download which is right here http://www.ticalc.org/archives/files/fileinfo/419/41990.html
its the fixdefrg.8xp file that applys the patch ^_^
thanks for the quick response
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on February 06, 2011, 02:04:27 am
What was the defrag issue? I wonder if you could post about it in the OS glitches thread too later if it's a glitch?
Title: Re: PolyPatch84 released
Post by: JosJuice on February 06, 2011, 03:11:05 am
What was the defrag issue? I wonder if you could post about it in the OS glitches thread too later if it's a glitch?
An app page that starts with FF will be treated by the OS as an empty page, which means that it'll be overwritten while defragmenting.
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on February 06, 2011, 03:26:36 am
That sucks. Bad TI... bad TI D:
Title: Re: PolyPatch84 released
Post by: Geekboy1011 on February 06, 2011, 10:43:56 am
yes it is especially with things like tiboy and chips all of a sudden you don't have a working game cause you deleted an app ;.;
Title: Re: PolyPatch84 released
Post by: critor on February 06, 2011, 06:31:14 pm
I've just updated PolyPatch84, the patch pack for TI-84+ OSes, by including the DEFRAG fix from Floppus Maximus (who has been credited, of course! ;) )
http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=2128

The fix initially worked on OSes 0.46-2.43.

It has been ported to OSes 2.53 & 2.55.



The patch pack for installing TI-84+ OSes on a TI-83+ has not been updated yet.

By the way, DJ... I've patched the 2.53 OS from TI-Bank and could install it on my TI-83+.
Can you please send me the last "OS" file you tried to flash so that I can compare the files?
Maybe something goes wrong during the IPS patching...

A TI-Bank user was able to install the 2.43 OS on his TI-83+ without any help. So this patch (at least) seems ok. Maybe you could try that, just to be sure...

Thanks. :)
Title: Re: PolyPatch84 released
Post by: Geekboy1011 on February 06, 2011, 06:33:08 pm
w00 thank you critor!
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on February 08, 2011, 12:47:58 am
Ok I'Ll try when I have time. I'll also send you the link to the OS 2.53MP I used.
Title: Re: PolyPatch84 released
Post by: the_mad_joob on March 27, 2011, 01:31:04 pm
Hey there...

Nice forums =]
Also, thx a lot critor for having released such a useful pack for the community.

My post is mainly about the strange "counter" calcdude84se is referring to on page 2.
If i include both the infos from his post and from my personnal tests, we can say that :
- It is automatically displayed on the homescreen during every usb transfer (like calcdude, no other cable type to test further).
- It is not automatically erased when transfer is complete but [CLEAR] does the job well (no residual effects).
- It is (at least) present after having transfered patched os 2.30 & 2.43.
- The displayed value seems to be incremented each time a predefined data quantity is transfered.

I'm kinda curious about it.
Any idea ?

P.S. : Does anyone has a link to get the original "for glitch" patch ?
Title: Re: PolyPatch84 released
Post by: Ashbad on March 27, 2011, 03:13:48 pm
Hello there, joob!  welcome to omnimaga!  enjoy you're stay!  here's some peanuts:
!peanuts

Anyways, IDK where to get that patch.  Critor should know, though -- I would private message him for it if you want tit really quickly.
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on March 27, 2011, 03:16:26 pm
Actually he can't PM him yet since he doesn't have 5 posts (spam protection), so critor would probably have to check this topic. Otherwise I don't know. :(

Welcome on the forums by the way. :D
Title: Re: PolyPatch84 released
Post by: critor on March 27, 2011, 04:16:00 pm
Hey there...

Nice forums =]
Also, thx a lot critor for having released such a useful pack for the community.

My post is mainly about the strange "counter" calcdude84se is referring to on page 2.
If i include both the infos from his post and from my personnal tests, we can say that :
- It is automatically displayed on the homescreen during every usb transfer (like calcdude, no other cable type to test further).
- It is not automatically erased when transfer is complete but [CLEAR] does the job well (no residual effects).
- It is (at least) present after having transfered patched os 2.30 & 2.43.
- The displayed value seems to be incremented each time a predefined data quantity is transfered.

I'm kinda curious about it.
Any idea ?

P.S. : Does anyone has a link to get the original "for glitch" patch ?

Quite strange.
I'll have to check which fix does trigger that.

Checking if it does happen with other OSes can help me.

So according to you it's present in OSes 2.30 & 2.43.
It's probably also present in OSes 2.40 & 2.41.

I'd like to know if it's present in the older 2.22 and newer 2.53MP OSes.


Apart from my pack, the for glitch fix is only available for OS 2.41 on Brandon's web site.
Title: Re: PolyPatch84 released
Post by: the_mad_joob on March 28, 2011, 03:57:27 am
Thx for the numerical peanuts Ashbad =]

I'm gonna help to identify in which patch the responsible code is included.
By chance, most of the original patchs are compatible with 2.43 so i'll apply them separately and test some transfers.
For now, i can logically say that it's one of those : version/basic/flash/addr/defrag.

After having identified the patch, i'll test it on the other compatible oses to know if it's the result of some kind of incompatibility or not.

About the "for glitch" fix, there is no way i can find the appropriate file in brandon's "calcstuff" directory.
Dunno if it was removed but otherwise, i'm interested if anyone knows the exact file name...
Title: Re: PolyPatch84 released
Post by: critor on March 28, 2011, 04:32:29 am
About the "for glitch" fix, there is no way i can find the appropriate file in brandon's "calcstuff" directory.
Dunno if it was removed but otherwise, i'm interested if anyone knows the exact file name...

The file name is "84P_OS2.41_BASICFixed.8xu".
It's an allready fully patched OS.

But it's not in the "calcstuff" directory.
Title: Re: PolyPatch84 released
Post by: the_mad_joob on March 28, 2011, 06:11:18 am
Oh, didn't even know the existence of the [edit by ztrumpet to remove link] directory =S
Thx to ya critor =]
Strangely, ti-connect enters an infinite loop when i try to send it to my calc ([Ctrl]+[Alt]+[Del] required).
It's probably because the original 2.41 os is 710374 bytes long and brandon's patched one is only 710315, dunno.

Anyway, here are my tests results :

The "counter" is there too in the polypatched os 2.40 & 2.41.

Sended the following original patchs to a 2.43 clean os : version/flash/addr/defrag.
They seem to cohabitate well and the "counter" is not there at all.
So we can say those are not directly responsible for the "counter"'s presence.

Like i said, i wasn't able to test the "for glitch" original patch but it's the last one to test so there's a great chance it may be implicated.

With what we know, we can now say that the cause of this strange display is either :
- The "for glitch" fix itself, which would mean that brandon did something wrong (because the glitch itself has nothing to do with usb transfers).
- An incompatibility between the "for glitch" fix and one or more of the following fixes : version/flash/addr/defrag (maybe a part of the os modified by more than one fix).
- An error made by crit while compiling the patchs (maybe a part of the os modified but not initially meant to be patched).
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on March 28, 2011, 12:50:50 pm
Hi, a moderator has removed the links to the respective Brandon directories, because they contains extremely dangerous calculator files and probably even illegal content so it's best to not link directly to them in public. That way less people risk falling into programs that might brick their calc if they downloaded the wrong thing.

We would prefer that fewer people distributes some of these programs at school to trick other students into deleting their certificate/OS and that fewer search engines pick up these directories.

Sorry for the inconveniences.
Title: Re: PolyPatch84 released
Post by: the_mad_joob on March 28, 2011, 03:12:19 pm
I can fully understand why the link's been removed and if there's someone to be sorry, that's me and nobody else =S
Starting from now, i'll think twice before posting such data.
I promise =]
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on March 28, 2011, 03:35:51 pm
No problem, sometimes it isn't necessarly clear something might be dangerous. This folder mostly contains random programs that got featured on ticalc.org, documents and some patches for TI OSes. It just happens to have a few other programs that are meant to fix your calc, but can also be used to break a calc. I think the bigger risk is at school, though, since on these forums anyone could just test the program on an emulator.
Title: Re: PolyPatch84 released
Post by: the_mad_joob on March 28, 2011, 04:22:19 pm
Yeah, brandon seem to have a dark side...
But who does not =]

Thx again DJ.
Title: Re: PolyPatch84 released
Post by: Geekboy1011 on April 02, 2011, 09:14:32 pm
Critor any word on why we get spam on our home screens during usb transfer?
Title: Re: PolyPatch84 released
Post by: critor on April 02, 2011, 09:16:08 pm
I didn't have the time to check this at all.
Sorry.
Title: Re: PolyPatch84 released
Post by: Geekboy1011 on April 02, 2011, 09:17:16 pm
ah no problem i think its causing an issue with directusb GCN though which is why i bumped when you get the chance could you take a look at this though
Thanks ^_^
Title: Re: PolyPatch84 released
Post by: the_mad_joob on April 03, 2011, 09:29:40 am
Yeah, we always miss this precious time...

If only i could at least check if the strange display is already there in brandon's patched 2.41 (for glitch fix only).
I'm interested if someone knows how to succeed in transferring it to real hardware.

By the way, i noticed that brandon's patched 2.53 (xlib) is also 710315 bytes long (impossible to send too).
Any idea why brandon's patched oses are cut like this ?
Title: Re: PolyPatch84 released
Post by: jnesselr on April 03, 2011, 09:32:31 am
They might not have a signature.  I would have to look at the file to know, though.
Title: Re: PolyPatch84 released
Post by: critor on April 03, 2011, 10:48:45 am
By the way, i noticed that brandon's patched 2.53 (xlib) is also 710315 bytes long (impossible to send too).
Any idea why brandon's patched oses are cut like this ?

RabbitSigned OSes are shorter by default (23 bytes of comments are removed at the end of the file).
You can add them using a hex editor.
Title: Re: PolyPatch84 released
Post by: critor on April 03, 2011, 11:38:53 am
I'm currently checking.
I get the "numbers" when transfering data through a direct USB cable.
This does not happen with the mini-Jack connector.

I need some time to install other OSes and compare.


By the way, just a question... Do you think I should modify the OS version string?
(the version string can include up to 6 characters like with the first TI-73 OSes)

For exemple "2.43+" instead of "2.43".
You could then determine easily if you are running the oiginal buggy OS, or patched less buggy OS (in theory).

But maybe you don't want other people (teachers?...) to know that you're running a modified OS...
Title: Re: PolyPatch84 released
Post by: Geekboy1011 on April 03, 2011, 11:43:32 am
i would actually love that as i can never remember what patches i have and what i have done this will allow me to know weather i need to update again or not and such T.T
Title: Re: PolyPatch84 released
Post by: critor on April 03, 2011, 12:01:00 pm
Ok.

I do confirm the bug is present on the patched 2.43 OS, but not on the patched 2.53/2.22 OSes.
So it could either come from the "basic" fix itself (which is not included in the 2.53/2.22 patches as the code is much different), either from an unwanted interaction between this fix and another fix.

I could also have made an error when applying Brandon's fix.


I'm going to check all this anyway.
Title: Re: PolyPatch84 released
Post by: FinaleTI on April 03, 2011, 12:12:09 pm
I'm currently checking.
I get the "numbers" when transfering data through a direct USB cable.
This does not happen with the mini-Jack connector.

I need some time to install other OSes and compare.


By the way, just a question... Do you think I should modify the OS version string?
(the version string can include up to 6 characters like with the first TI-73 OSes)

For exemple "2.43+" instead of "2.43".
You could then determine easily if you are running the oiginal buggy OS, or patched less buggy OS (in theory).

But maybe you don't want other people (teachers?...) to know that you're running a modified OS...
Maybe "2.43 PP", PP meaning PolyPatch?
Title: Re: PolyPatch84 released
Post by: critor on April 03, 2011, 12:22:54 pm
The bug does come from Brandon's "basic"fix.
It's present after installing his patched 2.41 OS.

Unless someone has an idea on how to fix that, all I can do is remove this fix from OSes 2.30-2.43 patches.
And of course, the TI-Basic "for" glitch will be back...
Title: Re: PolyPatch84 released
Post by: the_mad_joob on April 03, 2011, 02:42:29 pm
Well done crit for having figured it out =].

Maybe brandon included some kind of usb packets check routine at a time and patched this os instead of a clean one, by mistake.
If not, i agree on the fact that it isn't that safe because the probability that something else may be broken remains.
Anyway, putting a ")" at the end of "for" loop declarations isn't that difficult until brandon figures it out...

I know you're running out of time but here is some little feedback for polypatch84 :

- Self-test group deletion fix :
To my opinion, this one should be replaced by mapar's PTT patch (currently available for 2.43 and 2.53).
It's a lot more complete in a way that it prevents any type of data to be altered in RAM/FLASH, not only groups.
In addition, PTT mode settings modifications are 100% ignored.
In fact, it only displays the fake "reset complete" screen and ignores everything PTT normally does.
It does not remove "[8]+[5|2]+[ON]" but his patch was originally written to cohabit with brandon's one, which does this (mentioned in mapar's readme).
I personnaly tested it and i can say the combination of brandon+mapar PTT patchs works like a charm.
Anyway, if you decide to change nothing, it should definitely be renamed "PTT group deletion fix", at least for clarification purpose.
Title: Re: PolyPatch84 released
Post by: DJ Omnimaga on April 03, 2011, 02:49:26 pm
I'm currently checking.
I get the "numbers" when transfering data through a direct USB cable.
This does not happen with the mini-Jack connector.

I need some time to install other OSes and compare.


By the way, just a question... Do you think I should modify the OS version string?
(the version string can include up to 6 characters like with the first TI-73 OSes)

For exemple "2.43+" instead of "2.43".
You could then determine easily if you are running the oiginal buggy OS, or patched less buggy OS (in theory).

But maybe you don't want other people (teachers?...) to know that you're running a modified OS...
I would say leave the number as it is. I know teachers checking your version is not very likely, but we never know sometimes, especially in USA. Hence why I said the 2.71MP patch should still say 2.71MP (Although 2.71 was fake, but that's another story... :P)
Title: Re: PolyPatch84 released
Post by: critor on April 03, 2011, 03:31:57 pm
- Self-test group deletion fix :
To my opinion, this one should be replaced by mapar's PTT patch (currently available for 2.43 and 2.53).
It's a lot more complete in a way that it prevents any type of data to be altered in RAM/FLASH, not only groups.
In addition, PTT mode settings modifications are 100% ignored.
In fact, it only displays the fake "reset complete" screen and ignores everything PTT normally does.

Sorry, I might be a little tired, but I think I haven't understood everything.
The fix from ThePenguin77 is preventing groups from being removed by the Self Test (as the Self Test should not alter the Flash ROM).

How can Mapar's PTT fix replace that? Isn't it only for PTT?




It does not remove "[8]+[5|2]+[ON]" but his patch was originally written to cohabit with brandon's one, which does this (mentioned in mapar's readme).

No problem with that, as I've figured out the 2 parts of Brandon's PTT patch:
- the one which does block those key combos
- the one which does fake the PTT reset

I personnaly tested it and i can say the combination of brandon+mapar PTT patchs works like a charm.

I had checked both fixes, and I think I remember the changes in Mapar's fix were very similar to the ones in Brandon's fix.
I'm going to check again...


By the way, I've got the patched 8Xu 2.30-2.43 files with Brandon's fix removed.
Title: Re: PolyPatch84 released
Post by: the_mad_joob on April 03, 2011, 08:30:30 pm
Hey crit,

You're totally right when u say that the self-test should not alter the flash rom.
The thing is : it actually doesn't (and has never did) !
It is a mistake from the beginning as penguin already mentioned it on this thread (page 1) but also on tibank (He posted a comment on polypatch84 news page.).
Actually, penguin's fix removes the groups deletion from ptt (not only the groups in fact, my mistake there).

If this can help, i made some more accurate tests to see exactly which patch does what :

BPM

      PTT - [<]+[>]+[ON] - 2.40>2.55
X X locks the execution/edition of all prgms/apps
 XX deletes all variables from vat, archived or not, except for prgms/apps
   X creates empty predefined lists (L1-L6) in vat if not already existing
   X sets some system settings to the values inputed by the user

     TEACHER RESET - [8]+[5|2]+[ON] - 2.41>2.55
X   deletes all variables from vat, archived or not, except for singapore language apps if [2] used
X   creates empty predefined lists (L1-L6) in vat

     TESTGUARD2 - probably a ti program which has the same effect as ptt
X   locks the execution/edition of all prgms/apps

B = patched by brandon - "patchptt" - 2.40>2.53
P = patched by thepenguin77 - "nodel" - 2.43>2.53
M = patched by mapar - "ptterase" - 2.43>2.53

Note about mapar's patch :
It's the only one that fully cancels all ptt effects (including those nasty functions disabling on 2.53) but it has a little drawback (for students).
At the 1st ptt screen, the input of system settings works but has no effect on the actual values (part of the patch).
The problem is that, on the 2nd screen (ptt complete), the original ptt code displays the actual ones.
So, if the teacher sets different values than the actual ones, he may notice that his input has been ignored (if he takes enough time to read the 2nd screen).

Now, it's up to you to see what is better for polypatch84 =]