PDA

View Full Version : Checksum for TX Applications?


ebonair
06-20-2007, 01:12 PM
Does anyone know of a checksum program for the TX? What I would like is a program to verify Palm applications from day to day to make sure they are not corrupt. More than once on my TX, an application seems to get corrupted for no apparent reason. This last time it was HotPaw Basic, one day it just started soft reseting when I tried to run it. Restored the PRC from backup and it works fine again. It seems like with NVFS and all of the Hacks that go with it, stability just isn't rock solid...

Church Punk
06-20-2007, 02:09 PM
I 2nd that

_Em
06-20-2007, 06:01 PM
Someone should be able to write a quick port of MD5... Alex? (we'll wait until after you've got settled in to start pestering you about it ;))

alt236
06-20-2007, 06:16 PM
I have an MD5/CRC utility written in hb++ but it (currently) only supports VFS. Should I upload it?

phreakonaleash
06-20-2007, 06:30 PM
alt236: that would be nice! I agree about device stability in general, as I am currently having backup problem (reminiscent of my previous 'resco backup dies...' thread) and i just cannot find the culprit. :(

alt236
06-20-2007, 07:58 PM
Here is the link: http://www.1src.com/freeware/fileinfo.php?id=1736
Keep in mind that this was written for personal use so it's not very polished :)

Let me know of any enchancements you want/need, or any problems you find.
I'll start working on adding internal memory support later on today so it should be done within a couple of days.

phreakonaleash
06-20-2007, 10:24 PM
A cool idea is a YAHM hack (Patch Dm* functions) that does this automagically, then pops an alert if it finds crap. I don't think it 100% do-able but cool idea none the less. ;-)

alt236
06-21-2007, 05:16 AM
The overhead will be noticable on big apps....
A better approach might be to have an up run on an alert daily and do the sums.

ebonair
06-21-2007, 07:46 AM
I just downloaded it, I'll give it a try. Thanks!

Here is the link: http://www.1src.com/freeware/fileinfo.php?id=1736
Keep in mind that this was written for personal use so it's not very polished :)

Let me know of any enchancements you want/need, or any problems you find.
I'll start working on adding internal memory support later on today so it should be done within a couple of days.

phreakonaleash
06-21-2007, 05:11 PM
A better approach might be to have an up run on an alert daily and do the sums.
sounds like a cool idea for me... ;) Could be a hasher 1.1 upgrade ;);):)

alt236
06-21-2007, 05:45 PM
I'll be uploading version 1.2 with RAM support later on today.
I'll work on the timed part after this :)

Church Punk
06-21-2007, 09:43 PM
yay! good to hear some development!

i will like to have a lil explanation since i had NO IDEA on how to use the fields on the app, or what were their purpose mainly (are they creating new passwords combination or im just dumb? :p )

thenrik
06-21-2007, 09:55 PM
Hi:

I have a problem with corrupt memos. I use memos a lot and every so often I go to open one and it resets my TX. I have to delete and recreate it from backup. I suppose there's a bad spot on the disk and as files defrag over time, yet another memo hits the bad spot. I would guess that would be the reason for randomly corrupted apps.

Tom

juggernaut#2
06-22-2007, 04:46 AM
I'll be uploading version 1.2 with RAM support later on today.
I'll work on the timed part after this :)
Well, thx for the efforts! You could also leave the timed part to tools like Crony or 2PlayMe, if that matters. That would only require some setting that tells hasher to automatically start scanning on startup, or (for 2PlayMe) place a big, fat button "Scan" in the middle of the app which is being pressed with the center button :)

alt236
06-22-2007, 07:09 AM
OK 1.2 is up .
There is a catch though.
Since files in RAM are not actually files but collections of records, I can't hash them directly. I first move them to the first expansion card available and do the checksum there.

This means than you still need to have an expansion card inserted even if you want to check files in RAM.

I'll try to find a way around it before implementing the timed feature (I don't like doing uneccessary writes on a flash card if I can avoid it) so be patient with me :)

@juggernaut#2
Implementing an alarm is not a big problem :). I haven't used 2playme but I see no reason not to add support for it. Is it a macro player?

@thenrik
You might want to try a zero-out reset. I'm not sure but it might help.

@Church Punk
This program generates unique sums based on the contents of a file. These sums are normaly used to verify that a file was not modified or currupted during transmision.
For example see here: (http://releases.ubuntu.com/6.06/MD5SUMS). In this page you can see the md5 sums for the ISO images belonging to the current Ubuntu release. Since you normally have no direct way of checking if an ISO is corrupted, when you download it you can produce the sum and compare it with the one they published, if it's different your file is corrupted and you need to redownload it.

To use the app, select which kind of file you wan't to use (RAM or VFS), select the file you want from the dialogue that appears and then select the algorith you want to use (md5, crc16, crc32 or adler).

alt236
06-22-2007, 07:11 AM
BTW if you have any advice for the UI please let me know. It does need some polishing :)

Church Punk
06-22-2007, 07:49 AM
@Church Punk
This program generates unique sums based on the contents of a file. These sums are normaly used to verify that a file was not modified or currupted during transmision.
For example see here: (http://releases.ubuntu.com/6.06/MD5SUMS). In this page you can see the md5 sums for the ISO images belonging to the current Ubuntu release. Since you normally have no direct way of checking if an ISO is corrupted, when you download it you can produce the sum and compare it with the one they published, if it's different your file is corrupted and you need to redownload it.

To use the app, select which kind of file you wan't to use (RAM or VFS), select the file you want from the dialogue that appears and then select the algorith you want to use (md5, crc16, crc32 or adler).


Thanks! Now i just need to know wherre to compare my checksums with :rolleyes:

Thanks for the info, one always learns something new every day!
Also thanks for this app contribution :)