yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] BaronKrause:
Im currently on the beta channel through google play and noticed that occasionally when moving pictures that FX will corrupt one or 2.

Noticed it when comparing file sizes of the folders full of pictures i've copied from one location to another (usually both internal storage volume) and noticed a few with a slightly smaller size. In each was a picture that was smaller than it was supposed to be (in one case it was just 0kb) and if they even loaded they would show a corrupted half a picture.

I've never had any issue with other file types, though the vast majority of the copies i've done with Fx were with picture files.

This was on a Nexus 6p and a Samsung Galaxy Tab S3 (this was the one with a 0kb picture copied to a connected flash drive while all other pictures in that folder were fine).

Could this be some kind of in use issue due to the OS scanning for picture files? I dont have the logs (i'll be sure to keep an eye on them from now on if I ever encounter this again) but I didn't see any error on the screen after the copy which I assume there would be if it knew a file didn't copy as planned.

I fully understand the beta version might have bugs so this isn't a complaint at all, just figured I would post the feedback incase it might be of some use.
[Android Apps and Games] tliebeck:
Nothing substantial has changed here, only difference with file transfers between 6.3 and 7.0 is that media scanning occurs after transfer operations have completed (for a performance improvement). It always occurred after individual *files* were copied, but now it waits for the entire transfer to finish.

Does this only occur when copying files to an SD card? There is a bug in Android where file sizes are inaccurate on SD cards. If a file is stated to be 30,000 bytes but its listing indicates it's 20,000, some apps may only read the first 20,000 and say "this file is corrupt". This is very much the case for movie files.

What happens when you take a checksum using the original file and the new file? Go to Details->Checksum Tab.

FX does attempt to workaround the file size issue. It checks if the target size is equivalent to the original after a file is transferred. It will rename the file (twice) to get the system to update its size. This happens entirely transparently.

The trigger for the file size bug is if the file size is queried while the file is being written. FX may cause this during a transfer because directory listings are auto-refreshed when new files are detected. This feature can be disabled under "File Management" in the settings.
[Android Apps and Games] slonn:
Is there a particular reason why FX either fails or takes 30 secs+ to connect to Google Drive if there are a lot of files in the drive? I'm just comparing it to other file managers and they seem to not have any issues. For example, the built in file manager that comes with OnePlus phones connects immediately.
[Android Apps and Games] Ultramanoid:
There's a problem with filenames when going through 'System (root)' ... That's Japanese for instance. I thought it was mainly with SD card or USB OTG filesystems, but it happens with internal storage too.
[Android Apps and Games] BaronKrause:
This has most often happened when copying multiple folders full of comics from 1 directory to another on the devices internal memory. After seeing a thumbnail that didn't load on one of the 30something pictures in one of the folders I did a bit more digging and noticed 2-3 others. Could copy all the files again from the source and it would be fine, or it could have a different picture or 2 corrupted. The file size itself was roughly half for the messed up png pictures, didn't do a checksum but in that situation it couldn't be the same right?

I performed the same test with Ex file browser and it wouldn't corrupt any (but in usual ex fasion only seems to copy half the files with timestamps).

Figured it might just be my aging Nexus 6P itself but I had just backed up files on my Samsung Galaxy Tab S3 to a plugged in USB thumbstick (through a USB C adapter) and after the backup I noticed one the the png pictures from the backed up pictures folder on the USB stick wouldn't generate a thumbnail, that's the one whose file size ended up being 0.
[Android Apps and Games] tliebeck:
I think I see the problem here, should be corrected for next release. List queries weren't being optimized correctly. 2048-file directory listing time went from 25 seconds to 4, thanks for reporting!
[Android Apps and Games] tliebeck:
I've never observed or even heard of corruption transferring files on internal memory. Corruption certainly happens with FAT filesystems far too commonly (due to FAT FS corruption, from improperly removed or failed USB peripherals), but that's a non-issue on internal storage, which is typically ext4 (which is not prone to corruption).

Can you repeat this process and see the same result? I'm very curious to know what those checksums look like, regardless of file size. FX's checksum calculator will completely ignore the reported size of the file, it just opens it as a stream and reads until the end.

Internal storage transfers are extremely basic Java file I/O, read one stream and write another, and it "fails fast", i.e., anything even slightly unexpected should be reported as a failure.
[Android Apps and Games] BaronKrause:
Ok located a good and bad version of the same file that I had.

Checksum of the good file, 358,318 bytes

File: Main Storage/FXtest/008-good.jpg

MD5: 70:ac:fd:f7:2f:2a:70:2f:c7:82:8d:25:02:91:0b:fb

SHA1: 1b:8e:19:4b:0f:48:13:88:8d:5d:16:55:1e:42:29:da:e0:5f:70:ad

And the bad file, 131,072 bytes

File: Main Storage/FXtest/008-bad.jpg

MD5: 21:5e:28:3c:c7:8a:bf:d6:6d:c8:e1:0d:2c:80:6c:17

SHA1: 1f:e7:29:15:46:36:51:64:ba:eb:c2:10:3e:56:69:44:51:ca:d2:28
[Android Apps and Games] tliebeck:
Thanks, also, would it be possible to send both of these to android@nextapp.com? I'd like to look at both in a hex viewer.
[Android Apps and Games] BaronKrause:
Sure, but I wouldn't go too nuts. I assumed because it happened on 2 different devices that it might be a issue with the app but the more I think about it, it really might just be that buggy phone with the 0kb file done on the samsung tablet being a coincidence caused by stupidly unplugging the OTA connected device without safely disconnecting it while that picture was still in the write buffer. I thought I waited a min or so after, but maybe it wasn't enough. Going by the timestamps it wasn't the very last file copied, but i'm unsure if that has a direct correlation to how the write buffer works.

I'd hate for you to spend all this time troubleshooting something that might be due to my hardware.
[Android Apps and Games] tliebeck:
I generally find that if you don't specifically unmount any USB-OTG device, you're asking for corruption. FAT is insanely fragile and IMHO is incredibly inappropriate for use in SD cards or USB flash drives (that said, I use it myself, I'd love to use ext4 or NTFS or ANY safely journalled filesystem, but that's just not a practical option on Android). I put a "link" to the system's "Mount/Eject" screen in the main menu on the home screen of FX.

If you see anything occurring on transfers on the internal storage, that's definitely something I want to look at immediately.
[Android Apps and Games] tliebeck:
FX 7.0.beta3/RC1 Released (Beta Channel)

A new beta is available, this one is a release candidate. The version number is such that it *could* be released as final if it proves to be perfect, but there more likely will be another RC or two before final. There are certainly open issues that still need to be worked on, but the main criteria for release is that it be superior in all regards to 6.3.x.

Updated SMB2 library to latest version (SMBJ).

Improved Google Drive file listing performance on large directories.

Improved header layout when browsing files in Usage View / under Cleaning Tools.

App listings now show basic app-storage-usage information on non-rooted devices (Rooted devices already had this, and it's more accurate/detailed with root)

Fixed artifacts when scrolling image list rapidly.

Tutorial and help fully updated for 7.0.

Removed blur effect behind FX logo. Some devices sporadically crash due to bugs in their ROMs because of this.

Added workaround for Xiaomi Mi A1 crash bug when initiating a file transfer. Appears to be an internal bug in AndroidOne itself or this device's stock ROM.

Bugfixes.

Greatly appreciate testing, very close to 7.0 now.

Direct Download: http://android.nextapp.com/fx/r7000/FX_r7000.apk

Beta Testing G+ Community: https://plus.google.com/communities/101301040394875566704 (join community, then go to https://play.google.com/apps/testing/nextapp.fx )
[Android Apps and Games] peterbonge:
What about the image viewer and the "Compare checksums" function?

Everything about this app is fantastic, except these two things.
[Android Apps and Games] Oblias:
The new SMB seems to be working great now! I'm not getting the same strange behavior as I did a few days ago that I sent you the error log for.

Nice work, many thanks!!
[Android Apps and Games] slonn:
Still getting connection/communication error for Gdrive about 50% of times when trying to connect
[Android Apps and Games] tliebeck:
When it does work, is there a performance improvement vs the previous version? How many files are in the root directory or in the directory that fails?
[Android Apps and Games] slonn:
No performance improvement, really. I'd say there's about 30 folders and 1000+ stand alone files
[Android Apps and Games] Ultramanoid:
Latest build :

Still can't slide through images in the same directory with the image viewer.

Navigation bar is still fixed in place and does not disappear, again in image viewer.

Those two are not important, however I still can't read anything other than English through root paths, and as some mounted filesystems can only be accessed via that route, this is the biggest problem I can find. All "日本語" files and folders show as "??????" ... I've compared with Ghost Commander, Total Commander, etc, no issues there.

Fully rooted Android 7.1.2, no GApps or Play Services, no system hacks ( themes, Xposed, etc ). Willing to provide logs, just not sure of what exactly.
[Android Apps and Games] tliebeck:
The 1,000 files, are they all (or significantly) Google documents? And the timeout/failure was "sometimes" before and still is at roughly the same rate of failure?

I was really expecting a positive effect from the r7000 update, because the amount of information requested from Drive was significantly reduced (per file), and the number of results allowed to be returned in a single query was increased, typically eliminating the need for multiple queries. In my 2,048 text file test it cut the time from 25 seconds to 3-5 seconds.
[Android Apps and Games] Atsukai:
This app is gold!

Got to get used to it from mixplorer one, but I have high hopes for this one :D

Thanks for making it ad-free too <3
[Android Apps and Games] tliebeck:
It looks like Busybox implementation doesn't have Unicode support, which I'll need to compile in (it's off by default in their configs). I tried grabbing the busybox installer from f-droid but it fails to do any better. :( I hate building busybox, always seems to have a world of trouble cross-compiling here, but will get it corrected.

Regarding image viewer, the navigation bar isn't ever hidden in current version (only status bar). What is the behavior when attempting to slide between images, does it act as though no other images are present at all?
[Android Apps and Games] tliebeck:
Compare checksums will be improved for next release. If you copy a .md5, .sha1, or .sha256 to the clipboard, its contents will be read and compared to a calculated checksum. Also added support for SHA256.
[Android Apps and Games] Ultramanoid:
Thanks. I've tried the option to change busybox path in settings but I can't find a way to change it from using the one provided by FX.

Ah, I misunderstood the 'full screen' option on image viewer then, I thought the UI was supposed to disappear completely. Yes, I can move an image around from left to right tapping and dragging, but it won't load the next or the previous, when there are other images in the same directory.
[Android Apps and Games] slonn:
Very few of them are actual Google documents. Most are pdf, word docs, jpegs, gifs, mp3, mp3 files.

Out of 10 attempts to connect after recent app update 4 were successful.
[Android Apps and Games] peterbonge:
Wait. You are talking about checksum files? I didn't see any of these files in the last years. I always just see the checksum string on download pages. I hope it will work with manually copied checksums too.

And again: The image viewer?
[Android Apps and Games] PocehNeheb:
Is it possible to move the FX Pro upgrade app and root add-on app to the SD card? Asking as I am using FX on a seriously space constrained device.
[Android Apps and Games] tliebeck:
These are only 25k/per, but you can delete the root add-on entirely and enable root access via the "upgrade" screen.
[Android Apps and Games] tliebeck:
That'll work too. Image viewer is going to be as in r7000 but with the bar will now appear only on click (rather than any touch). Other items are still on the list.
[Android Apps and Games] PocehNeheb:
Didn't know about the root thing. Will look into it soon.

It's 25k but it's still something :\
[Android Apps and Games] tliebeck:
FX 7.0.0.2 Released (Beta Channel, Release Candidate #2)

Updates include:

Improved FX Connect reliability using NFC Touch Connect.

Root access now support UTF-8 characters. Busybox was updated for this, so if you have FX configured to use a custom busybox, you'll need to revert to the internal FX-provided version via FX's settings. Thanks [MENTION=4004386]Ultramanoid[/MENTION].

Image viewer now only shows menu if you tap (does not display when zooming/switching images).

Hash calculator now supports SHA256. Supports comparing calculated values to .MD5/.SHA1/.SHA256 files and to hash values directly on clipboard.

UPDATE: 7.0.0.2 (R7003) is now available for download, fixes root issue.

Direct Download: http://android.nextapp.com/fx/r7003/FX_r7003.apk

Beta Testing G+ Community: https://plus.google.com/communities/101301040394875566704 (join community, then go to https://play.google.com/apps/testing/nextapp.fx )
[Android Apps and Games] Ultramanoid:
No root access at all with this version. Just to be sure, I removed FX, reinstalled, did not import my settings, just enabled root, and nothing, no prompt for permission, just the "operation could not be completed"...

Removed again and reverted back to the previous version, root access is working.

Edit : I believe my system uses toybox, shouldn't FX default to the system binary and offer the option in settings to use FX's busybox instead ? As it is I can't choose one or the other, it's fixed on the one provided by FX. Maybe have an option to disable it ?
[Android Apps and Games] peterbonge:
Works much better now!

Maybe a tap could also hide the menu?

Works fine so far, except the app doesn't recognizes SHA256 hashes in the clipboard.
[Android Apps and Games] tliebeck:
Thanks for reporting, anything in the Error Log (via settings)?

It's actually generally best that FX use its own busybox, it relies on specific output from certain commands that have changed across busybox versions (e.g., FX *must* have a busybox >= 1.27).

What's your device, ROM/version, and SU?
[Android Apps and Games] tliebeck:
[MENTION=4004386]Ultramanoid[/MENTION] don't worry about it, have it reproduced here (linker issues in Busybox binary). New release will be uploaded momentarily.
[Android Apps and Games] tliebeck:
[MENTION=4004386]Ultramanoid[/MENTION] r7003 (7.0.0.2) is available here: http://android.nextapp.com/fx/r7003/FX_r7003.apk

I've updated the original post. Uploading to Google Play Store now.
[Android Apps and Games] Ultramanoid:
Your reply was faster than mine. Root access restored and all filenames readable indeed, thank you very much.
[Android Apps and Games] tliebeck:
FX 7.0.0.3 Released (Beta Channel, Release Candidate #3)

Very minor updates:

Mild UI and startup performance improvements.

Fixed bug where SHA-256 hash comparison was never indicating positive.

Miscellaneous bugfixes.

Direct Download: http://android.nextapp.com/fx/r7004/FX_r7004.apk

Beta Testing G+ Community: https://plus.google.com/communities/101301040394875566704 (join community, then go to https://play.google.com/apps/testing/nextapp.fx )
[Android Apps and Games] tliebeck:
FX 7.0.0.4 Released (Beta Channel, Release Candidate #4)

Very minor updates:

Fix for potential AndroidOne crash in images/video sections.

More cold-start performance improvements.

Sorry for the release spam, but I despise potential crash bugs. Also it's about 100ms faster to cold start (Snapdragon 625 test device) so it should make up for the 30 seconds of annoyance downloading it within "only" 300 cold starts. :) If you have an S9 it will take a "few" more.

Direct Download: http://android.nextapp.com/fx/r7007/FX_r7007.apk

Beta Testing G+ Community: https://plus.google.com/communities/101301040394875566704 (join community, then go to https://play.google.com/apps/testing/nextapp.fx )
[Android Apps and Games] Ibuprophen:
[MENTION=2954544]tliebeck[/MENTION], the following App on the Play Store looks an awful lot like the FX File Explorer...

https://play.google.com/store/apps/details?id=com.gigatools.files.explorer.premium

I wasn't sure if you were aware of this.

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] tliebeck:
Just the logo? I'm sure it's intended to cause confusion but doubt there's anything doable about it. Play Store has been turning into a complete hellhole of copycat apps (hundreds of apps from same source tree with different company/product names)., and Google is doing nothing about it. This one doesn't even have the vast quantities of fake ratings so maybe it's even a legit effort.

I haven't seen anyone repackaging FX yet but this will likely change (and please let me know if you see anything).
[Android Apps and Games] Ibuprophen:
I didn't install it to even see if the screenshots matched the actual app look.

I only noticed the matching icon with your app (with FX on it) and thought of the possibility and wanted to let you know.

If I do notice any other questionable apps, I'll let you know.

Thank you very much for your development! :)

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] Ultramanoid:
Never really noticed this before ( and it does not affect functionality in any way ) but during a long copy operation and checking on it several times now, I've just realized FX's notification doesn't look quite right amongst the others ( Android 7.1.2 ), particularly the 'giant' icon, but also the spacing and alignment, although arguably makes it easier to find...
[Android Apps and Games] m0d:
Folder created on OTG storage, remains when ejected:

When connected there is also storagelink file.

Is folder necessary?

Is there a way to automatically remove when eject?

As having empty folders in OTG storage is somewhat annoying
[Android Apps and Games] priyatamroorkee:
I don't like that the new longpress on file/folders gives options on the top bar.

anyway i could get back the old popup menu?
[Android Apps and Games] tliebeck:
"Easy to find" is a very nice way of saying it looks horrid... :D this needs to be changed and very soon. Now that you point it out, I really don't like it either.
[Android Apps and Games] Ibuprophen:
The dimensions of the icon size for the notifications need to be specified or added.

This typically occurs when an icon image for the notification is Either:

1) Referenced without dimensions that results in the default icon size and the dimensions needs to be added/outlined.

~OR~

2) Referenced with dimensions that are a bit too large and need to be adjusted to an appropriate size.

I've seen this before on a few occasions that, typically, pointed to one of the above 2 issues.

I hope this is helpful for you! :)

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Apps and Games] tliebeck:
Can't be done as v7 is entirely converted to use the new menu format. It can take some getting used to, and it does require an additional tap for lesser used options (while making others, such i.e., Delete, more accessible in multi-select mode). This is the standard Android selection UI concept though, and it also gets rid of having two different presentations for accomplishing the same tasks (i.e, menus are the same for single and multi-select).
[Android Apps and Games] tliebeck:
Thanks, but I'm just going to drop the entire custom view for the time being. This particular piece of code was quite old and intended to be Android 2.x compatible, IIRC using the standard progress-bar notification was a non-option (not sure if it wasn't possible or was just very broken). With the modern Android notification capabilities and a min SDK of 16, stock looks just fine.
[Android Apps and Games] tliebeck:
FX 7.0.0.5 Released (Beta Channel, Release Candidate #5)

Very minor updates:

More profiling/performance improvements/UI smoothness improvements.

Operation/transfer notifications now use standard Android design (notificaiton is expandable, removed FX icon).

FTP character encoding is now configurable (advanced tab) instead of automatically guessing UTF-8 or falling back to ISO-8859-1.

Fix for "fuzzy" icons in Open With and similar dialogs (was a bug wher eFX was pulling icons at wrong resolution).

Removed classic icon theme. This reduces the APK size from 10.0 MiB to 8.8 MiB (7/8ths of its previous size). Classic theme will later be uploaded to Play Store, and at higher 288px x 288px resolution.

Direct Download: http://android.nextapp.com/fx/r7009/FX_r7009.apk

Beta Testing G+ Community: https://plus.google.com/communities/101301040394875566704 (join community, then go to https://play.google.com/apps/testing/nextapp.fx )
[Android Apps and Games] mbc07:
The new notification is great but its details (ETA, speed, files remaining, etc) only update when the percentage changes...
[Android Apps and Games] xdarthanonx:
When I try to create a shortcut I get an error "Failed to create script signature.", but there's no relevant info in the FX error log :confused:
[Android Apps and Games] tliebeck:
Sorry for trouble, what device/ROM are you using? Can't replicate it myself with latest beta yet.

Looking at the code, I did just notice (and fix) a problem where any such error would be logged under an incorrect tag. Check your log for "nextapp.maui" instead of "nextapp.fx" (the built-in error log viewer under settings should show it as well).
[Android Apps and Games] tliebeck:
This is the same behavior as before, it's rate limited to every 3 seconds, only the FX progress dialog updates fast. Is kind of annoying though, IIRC there were problems boosting that rate by much on some devices, but that knowledge may be way out of date (e.g. Gingerbread-based). Thanks for bringing attention to it, but may hold off changing until 7.0 is out.
[Android Apps and Games] tliebeck:
I need to work on this system a bit, it's safe to delete everything that FX creates there, and it should only create it for connecting to the device the first time.

What's happening is FX creates that storagelink.data in the publicly writable app-specific Android directory as a marker to verify it's talking to the device that it thinks its talking to during the initial connection process. It's a workaround for the lameness of the Storage Access Framework API. Agree this is annoying and needs to be changed.