magnusja / libaums

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

FAT32 partitions size 0 #397

Closed dgz05011 closed 9 months ago

dgz05011 commented 1 year ago

FAT32 partitions size 0,i test 3 udisks, 2 of results is 0,just 1 worked in android device

zengjie-android commented 11 months ago

I have the same issue, when i call device.getPartitions().get(0), it throws exception, some udisks seems not support FAT32(i am not sure is that reason)

magnusja commented 9 months ago

I mean I dont know. With that error description I really cant do anything sorry

auloma04 commented 9 months ago

Same probleme here. 4 FAT32 devices and no partition is detected on any of these devices: image

  List<Partition> partitions = mUsbMSDevice.getPartitions();
  if(partitions != null) {
    Log.d(TAG, "openDevice: number of partitions " + partitions.size()); // This line prints 0
  } else {
     Log.d(TAG, "openDevice: no partition found");
  }

As we can see the USB key is in MBR: image
"Disc tag: dos"