Code Monkey home page Code Monkey logo

Comments (8)

relan avatar relan commented on May 31, 2024

What is your Android version? Do you use stock or custom ROM?

I am not in a position where I need to recover the data on the SD card, I would just like to re-partition the SD card and start again from scratch. It doesn't appear that any app is allowing me to do so.

Why do you need an app if you've successfully done this previously using Android built-in sm utility? Why not just wipe the SD card and repartition it again in the same way?

from exfat.

punzilla avatar punzilla commented on May 31, 2024

Hi there,
I'm using Android version 6.0.1 and I'm using a stock ROM, model number SM-G900I.
I have attempted to re-partition the disk from within the adb shell, though this fails.

Shines-MBP:files Shine$ sudo ./adb.osx shell
Password:
shell@klte:/ $ sm list-disks
disk:179,64
shell@klte:/ $ sm partition disk:179,64 mixed 50
Error: java.lang.IllegalStateException: command '21 volume partition disk:179,64 mixed 50' failed with '400 21 Command failed'

My Mac OSX advises that my sd card is not writable. All the apps that I've used appear to perform the task to format or repartition though once it completes, I'll re-insert the sd card and the same files appear.

If you have any suggestions please let me know.

It appears as though I'm not the only one who has experienced a similar issue for example http://forums.androidcentral.com/ask-question/642725-not-able-delete-format-contents-samsung-sd-card-android-one-cell.html.

The 'portable' storage is no longer writable even from within the Android phone.
I can see and access my files though.
When manipulating files on the SD card for example copying photos to the SD, they will appear on the disk and only when I unmount and re-mount the disk that I can't see those same photos that I copied on the card.

screenshot_2016-11-28-23-59-54

In my attempts to troubleshoot the card I did deregister the adoptable storage from the phone as it was appearing as 'corrupted sd'.

I just want to explore all options prior to going down the path of returning the card.

Thank you.

Any help would be greatly appreciated. I'm out of ideas.

from exfat.

relan avatar relan commented on May 31, 2024

Try to zero out the card. From a Mac:

dd if=/dev/zero of=/dev/rdiskN bs=1m

Where rdiskN is the memory card device (note that it's not rdiskNsM).

from exfat.

punzilla avatar punzilla commented on May 31, 2024

Hi there,

Last night I tried the command
dd if=/dev/zero of=/dev/disk2 bs=1m

No error messages reported but when i put the sd card back into my phone it reverted back to how it was before.

I'll reattempt tonight using

dd if=/dev/zero of=/dev/rdisk2 bs=1m

I'll let you know the outcome.

from exfat.

punzilla avatar punzilla commented on May 31, 2024

Hi there,

I have run the

Shines-MBP:~ Shine$ sudo dd if=/dev/zero of=/dev/rdisk2 bs=1m
Password:
dd: /dev/rdisk2: Input/output error
122624+0 records in
122623+0 records out
128579534848 bytes transferred in 3133.369892 secs (41035543 bytes/sec)

So input / output error. At least this was the first command that gave me something meaningful. Until this point, I've been convinced that it has been caused by a software glitch.

Though it is still quite interesting that
a. The photos on my non encrypted partition are still visible.
b. The sd card is not writeable.
c. No formatting or partitioning has appeared to be possible.

I'd still be interested to hear your comment in relation to this.

Thank you for your assistance.

Unless you have any further suggestions, it may be time to purchase another SD card :S

from exfat.

relan avatar relan commented on May 31, 2024

I/O error means hardware failure. I'd replace this SD card.

from exfat.

relan avatar relan commented on May 31, 2024

Closing this issue as it has nothing to do with this project.

from exfat.

punzilla avatar punzilla commented on May 31, 2024

Thanks for your assistance.

from exfat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.