• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root AFV File Verifier for Android

scary alien

not really so scary
Mar 5, 2010
22,305
23,781
Indy
All,

I'm posting this first here, in the Eris root forum since this forum was my first "home" :) and I'm hoping this will prove useful to you (especially to those of you that frequently flash new ROMs).

I have updated and revamped my old MD5 Checksum app and renamed it to
AFV File Verifier for Android
 

Attachments

  • qrcode.png
    qrcode.png
    1.1 KB · Views: 112
Very impressive Scary (with a tip of the hat to EU1)

Edit: Hey, there is no 'X' behind the scary alien head in the market. I'm going to tell your daughter that you've been messing with her copyright. :)
(I THINK it was your daughter that did that for you...)

Lol! Funny that you noticed that! I actually had her make me an X-less icon for this newly revamped version of the app...she gets all the credit for its graphical elements. I also would be remiss not to mention doogald's valuable feedback on the earlier versions of this app. I've still got a few minor things to fix and enhance as well as to try to implement some remaining suggestions by eu1, but I thought putting out on the Market was the right idea at this time.

Thank you for the kind words and encouragement.
 
Upvote 0
Scary,

Thank you very much.

I've been using the previous ver since you shared it with us and it is a great tool.

Just tried this new one and all I can say...SUPERB!

Thanks again,

SF

You are most welcome! Thank you for the kind words and feedback.

Let me know if you have any suggestions for improvements or see any issues.

Cheers!
 
Upvote 0
Scary,

Please check these two items:

1. results do not appear to be copied to clipboard.
2. switching to landscape view wipes out the results.

Thanks,

SF

I certainly will...you are talking about the calculate MD5 or SHA1 checksums regarding the clipboard, right? (these are the only result values I should be copying there).

I'm a little surprised about the clipboard issue, but I made so many changes in the UI from the original version to the version you have its certainly possible.

The portrait to landscape thing is a little more tricky...I'm not sure that the program actually gets notified that a mode switch happens to allow me to detect and redisplay... I'll play with that and get back to you.

Thank you for the valuable feedback--I do very much appreciate it! :)

Cheers!

edit: yep, I see where I had moved the calculate checksum function to a class that gets threaded in the background and got separated from the clipboard copy; I'll fix this soon (maybe tonight) and republish; also, the orientation change appears to behave like what happens when the back-key is pressed...not sure I'll be able to fix this one...
 
Upvote 0
I certainly will...you are talking about the calculate MD5 or SHA1 checksums regarding the clipboard, right? (these are the only result values I should be copying there).

I'm a little surprised about the clipboard issue, but I made so many changes in the UI from the original version to the version you have its certainly possible.

The portrait to landscape thing is a little more tricky...I'm not sure that the program actually gets notified that a mode switch happens to allow me to detect and redisplay... I'll play with that and get back to you.

Thank you for the valuable feedback--I do very much appreciate it! :)

Cheers!



edit: yep, I see where I had moved the calculate checksum function to a class that gets threaded in the background and got separated from the clipboard copy; I'll fix this soon (maybe tonight) and republish; also, the orientation change appears to behave like what happens when the back-key is pressed...not sure I'll be able to fix this one...

The landscape issue came up when I put the phone down to go back to my netbook. Maybe you can turn landscape off while your app is running (landscape is not needed anyway). I do appreciate the larger yellow font!
 
Upvote 0
The landscape issue came up when I put the phone down to go back to my netbook. Maybe you can turn landscape off while your app is running (landscape is not needed anyway). I do appreciate the larger yellow font!

I'm not sure I know how to do that, lol, but I will certainly look at that (this was my first serious attempt at building an Android app--there's a bazillion new concepts I had to learn and work through (I blame erisuser1 for most of them since he suggested a ton of excellent ideas :D)).

Thanks...I'll look at things tonight (but I've still got to write-up my documentation for the custom recovery changes--when it rains, it pours, ya know :p).

Thanks again!
 
Upvote 0
I've updated the app to include fixes for two minor issues kindly reported by starflorida:

1) The automatic copying of the calculated checksum to the clipboard has been re-instituted (when I threaded the calculate-checksum function to the background in order to display a progress bar, I had separated the population of the clipboard from the result returned by the thread; this has been corrected).

2) The orientation of the main screen has now been locked to portrait mode to ensure that checksum information is properly displayed on all phones when returning from a calculation.

Thanks to all for your support and feedback--it is much appreciated. Cheers!
 
  • Like
Reactions: starflorida
Upvote 0
One last thing, SA - is there any way when you select file to sort the results ignoring case? It seems to show capital letter files and directories first, and then the lower case, so you get things like:

Quick
The
brown
fox

instead of:

brown
fox
Quick
The

If it's too much work, then don't bother....
 
Upvote 0
One last thing, SA - is there any way when you select file to sort the results ignoring case? It seems to show capital letter files and directories first, and then the lower case, so you get things like:

Quick
The
brown
fox

instead of:

brown
fox
Quick
The

If it's too much work, then don't bother....

Yeah, I think I could...how about I make it an option in the menu (the setting will be saved from launch-to-launch of the app)?

By the way, it was eu1's idea to sort and put the directory up-top/first, which I think is a good idea.

I will certainly put this on the list of things to do. I'm also going to add an option (probably in the menu) to set (input/paste) a checksum for comparison with a calculated checksum result (so that you don't have to manually / visually do a byte-for-byte compare).

I appreciate, as always, your feedback and support--thanks again!
 
Upvote 0
Having directories first is fine, but I'm really more concerned that my "dropbox" and "downloads" directories are nowhere near my "DCIM" directory.

No worries, I'll hook you up with a menu option (I'll try to make a "directory on top" option and a "sort w/o regard to case" option to cover both ways).
 
Upvote 0
I've updated the app to include fixes for two minor issues kindly reported by starflorida:

1) The automatic copying of the calculated checksum to the clipboard has been re-instituted (when I threaded the calculate-checksum function to the background in order to display a progress bar, I had separated the population of the clipboard from the result returned by the thread; this has been corrected).

2) The orientation of the main screen has now been locked to portrait mode to ensure that checksum information is properly displayed on all phones when returning from a calculation.

Thanks to all for your support and feedback--it is much appreciated. Cheers!

SA,

Thanks for the speedy update. :)

SF
 
Upvote 0
So just out of idle curiousity, how are you going to do that. Keep in mind that I'm a programmer, but not in the language you're using. So I know stuff, just not that stuff. :)
I'm assuming that the sort is really based on the ascii character rather than the alpha character we see. What are you going to do make 'D' sort next to 'd'?
My world is not case sensitive, so it's not an issue for me - thus the question.
 
Upvote 0
So just out of idle curiousity, how are you going to do that. Keep in mind that I'm a programmer, but not in the language you're using. So I know stuff, just not that stuff. :)
I'm assuming that the sort is really based on the ascii character rather than the alpha character we see. What are you going to do make 'D' sort next to 'd'?
My world is not case sensitive, so it's not an issue for me - thus the question.

I already have the filename, type (directory or file), and filename suffix in three separate arrays. I'll just create a new array with a downshifted version of the filename to use that to sort on when the option is in effect, and then display the original filename instead of the downshifted one.

At least, that's my plan...;)
 
Upvote 0
Yep, that's basically what I would have done, except that in my world it's easier to change to all caps (for display purposes, so the users see 'pretty' text) so I would have gone 'up' rather than 'down', but the end result would have been the same.

Lol! I still find myself mixing programming conventions between all of the languages I've learned over the years (the major ones being BASIC (old-school, of course), COBOL (various incarnations), C (not C++), Tandem TAL (very Pascal-like), Scheme (a Lisp variant), and now, learning Java).

I've also dabbled in Prolog, FORTRAN, Icon, and a myriad of other ones that I can't claim a high-level of proficiency in.

Java for Android has been pretty easy to pick up since there's so many examples and helpful sites out on the web (kudos to everyone who has shared :)).
 
Upvote 0
All,

Been awhile since I've updated this app and it was long overdue. Mostly minor fixes and updates. No real core functions changed other than upgrade the early (noobie-coded
wink.gif
) menu settings to the more professional and standard preferences and settings menu.

I've also made some changes that should eliminate any FCs you were getting (most related to orientation changes, I believe). I'll get the orientation handling properly done in a future version.

If you get any FCs, please email me at scary.alien@gmail.com and let me know the circumstances so I can make a fix (the crash reports don't often tell the whole story).

Here's the change log for v1.2:

version 1.2 - 23-Jan-2011:

- supported standard preferences / settings menu instead of individual menu items

- added SD card mounted check before allowing file selection

- added two methods for comparing MD5 or SHA1 checksums:

* auto-comparison of calculated checksums w/menu option to display comparison results

* manual input of checksum (or paste from clipboard) value to be compared w/next calculated checksum

- changed default sort order of file / directory names to ignore case

- added option to toggle ignoring of case when sorting file / directory names

- force all screens to portrait orientation to fix/prevent FCs (future version will handle orientation changes correctly)


Thanks again for using my app and for your support. As always, email me or post-up here for any comments, questions, issues, or suggestions.

Cheers!

P.S. doogald, I finally got your "ignore case" directory sort done (sorry it took so long :))
 
  • Like
Reactions: Podivin and doogald
Upvote 0
Very nice & professional looking, sa.

You're making it look as if it's easy to write Android apps - but I'm pretty sure you've put a lot of effort into this. Who says old dogs can't learn new tricks? - not me!

eu1

Thank you very much! That means a lot to me coming from you.

Yeah, its been a lot of work, but learning while doing has been very rewarding. Since this was my first "real" app, "if I only knew then, what I know now...", lol.

Cheers and thank you again!
 
Upvote 0
It was a very minor issue for me. Very minor. It definitely was not a "I need this now" feature - just a suggestion to make it better.

But, thanks. I'll check the market for an update.

No worries ;)... I actually coded for it a long while back (I got distracted with BattMonX)...so long, in fact, that I wasn't sure that I had actually finished it or did it correctly :eek: (so, I had a little re-testing to do this weekend re. this (I actually used your "quick brown fox..." list of filenames ;)), plus you can revert back to the old, original sort method too if so inclined.

Thank you for suggesting this change.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones