magnusja / libaums

Open source library to access USB Mass Storage devices on Android without rooting your device
Apache License 2.0
1.27k stars 272 forks source link

how to read files from ntfs partition of a usb #352

Closed weiwsy closed 1 year ago

weiwsy commented 2 years ago

Problem

NTFS partitions of usb disk can't be read , is there a plan to support it ?

If the usb disk have a ntfs partition and a fat32 partition, the code below, will returned 1 . massDevice.getPartitions().size()

Expected behavior

it should be 2, and can get the partition : ntfs = massDevice.getPartitions().get(0) fat32 = massDevice.getPartitions().get(1)

Actual behavior

it returned 1, and can't the ntfs partition.

Stacktrace of Excpetion

(if exists)

Code where problem occurs

upan

massDevice.getPartitions()

magnusja commented 1 year ago

Highly experimental support through java-fs module available.