This solution works even over a hotspot. Simply enable Portable Hotspot on your mobile device, then connect your laptop to the Hotspot WiFi network.
Tip: If you want to prevent the laptop from using your mobile data, simply switch mobile data off while your hotspot is on. The solution will work even without internet access.
Install Cx File Explorer on your ...
Is it always fully reliable to save some app internal files at /storage/emulated/0/path/to/app?
No. External shared storage isn't reliable, as documented under getExternalFilesDir() and other related documentation, because of multiple possible reasons:
User or any other app with full storage access can read, modify or delete the files.
App's private ...
Yes, this is definitely possible!
My recommended tool to accomplish this is Solid Explorer File Manager by NeatBytes.
In addition to being a great file manager, it also creates a Share target named "Save to..." for saving any content as a file in your storage. I've personally used it for this purpose hundreds of times, and it works quite well.
Summary of attempts, thanks to the other answers and my own tests:
Using a Samba server on phone (with app Sambadroid for example) looks great, but sadly it requires root for reasons explained in
Using SMB server without root access, so it's not an option for me.
Using a FTP server (for example with cx File Explorer app) works great, but it's a bit slow if ...
df stands for "Disk Free". That means, it just needs to check with the "global file system information" about free space (accessible for all users). The size of the file system itself is also "globally available". The difference logically is the "used space". Done.
du works differently: not on file system level but on ...
For this, Android Studio has the feature called Device File Explorer that will allow you to view the connected device or emulator internal files. This is useful especially when you are utilising the getFilesDir() as a path to save your app generated files & hence are not able to see them with the standard File Manager.
From the main menu, go to View ->...
MTP the protocol used for accessing the phone is not implemented as file-system on Windows thus you don't get a drive letter. Additionally MTP is a pretty unstable, ineffective and slow file-system which makes it not a good choice for backup.
But be aware that the files you can access via MTP are just the tip of the ice berg, making a backup of those data ...
The /data partition was indeed corrupted.
After running e2fsck -p /dev/block/sda9, here was the updated du and df (again, after doing an adb root):
$ adb shell du -s /data
$ adb shell df -H /data
Filesystem Size Used Avail Use% Mounted on
/dev/block/sda9 10G 1.5G 8.9G 15% /data
After fixing the file system, the device ran properly ...
Based on your requirements there are not many file-systems left: ext3/ext4 or exFAT both are file-systems that are natively supported nearly all Android devices.
My recommendation as file-system to use is exFAT as long as you don't want to store a large number of small files.
partitions size to cluster size:
7 MB–256 MB -> cluster size 4 KB
256 MB–32 GB -...
This problem exists since the first Android version. I can confirm on Android 11 there is no such support. I asked Google a few years ago why they can't add it. I think it is a problem with Android system design. On Linux itself it is possible and there are already Linux distributions that show it by default in their file managers. By the end of 2021, all ...
Use free and open source software to ensure better privacy. I found Easer especially good. However, it does seem to require root permissions for this specific task.
Download the F-Droid store and then install Easer.
Once you have the app, open "Settings" from the app-drawer and tick "Use root features". Then go to "Settings" >...
I installed a terminal emulator app on my Android smartphone (Terminal Emulator for Android, which is open source) then I used it to change directory (cd) to where the file was and removed the file (rm).
You don't need to type the entire file name, you can use the terminal auto completion. On a Linux desktop, you could start typing rm file_n and hit the Tab ...
Usually you don't need to run filesystem checks manually. Android runs this on every boot before mounting the filesystem (ref). So is the case with external storage (see this answer). However exceptions may exist:
"Some system images do not have e2fsck for licensing reasons (e.g. recent SDK system images). Detect these and skip the check."
So you ...
according to this TWRP the Samsung Galaxy A30 SM-A305F is shipped with Android 9.0 (Pie) FDE full-disk-encryption
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
The file system type depends on ROM and can be F2FS or EXT4
Use Total commander for Android or other 3rd party file manager where you are able to use "Share via.." and the app will save the files in new destination..
Eg. the steps:
In work profile via internal "Files" app select the file and use "Share" option
In Share dialog switch to "Personal profile" sharing options
i can do it manually using a freeware app caled MixPlorer but getting it done automatically. not easy to do. getting it done automatically or from inside Tasker is a lot more elusive
ideally a solution can be found to make a hardlink (not symbolic link) to a JPG file so that A.JPG and B.JPG will show the same thumbnails in both folder summer and folder ...
Almost 2 years later (because I forgot that this post even exists, sorry).
A week after posting this question here, I ran some tests using h2testw. The microSD card turned out to be faulty. I got a new phone 2 months later and a new Kingston microSD card to go with it. Haven't had a problem since.
Total Commander - file system - mark one or more files - long touch - properties - change the displayed date to what you need (there is also a "Now" button) - Save - voila !
BTW Total Commander is an excellent tool - in all areas and on all platforms !
I just did it thanks to Firelord's ansewer: use Termus
here is how to do it though:
first type this to be able to use the DIR(pwd) command:
then to show current dir use:
and to show current dir contents use:
then change directory to the folder you need deleted:
-to go up one level use
-to go into a directory use