One-click SD card write enabler for the Project Tango tablet
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
TangoSdFix.apk

README.md

Tango SD Fix app icon TangoSDfix

One-click microSD card write enabler for the Project Tango tablet

You may have encountered some issues working with microSD card storage, such as not being able to write to it ! These issues are a result of platform changes in API level 19.

This app enables unrestricted writing to the microSD card.

It doesn't require any permissions apart from SUPERUSER so you'll need to be rooted to use it.

Get the TangoRoot app if you haven't done so already.


Information:

Tango has 128GB of internal primary storage, and a microSD card receptacle for removable secondary storage.

Since API level 19 (KitKat) secondary storage is READ ONLY, with a few caveats.

Making use of secondary storage is not always straightforward. The Android documentation can be somewhat confusing due to the naming of the API. In most cases, methods with "External" in their name actually address internal storage.

A reliable approach is to read the absolute paths from your environment variables:

String primaryStore   = System.getenv("EXTERNAL_STORAGE");  // Tango tablet currently = "/storage/emulated/legacy"
String secondaryStore = System.getenv("SECONDARY_STORAGE"); // Tango tablet currently = "/storage/sdcard1"

If you are targeting devices other than the Tango, you should also do this:

if (secondaryStore != null)
    secondaryStore = secondaryStore.split(":")[0]; // some devices (e.g. Samsung) return multiple paths, the first is the microSD card

This tool is provided as a convenience for developers and people who depend upon legacy software.

You should update production code to use KitKat APIs such as the Storage Access Framework.

If your application only needs to store internal data, consider using getExternalFilesDir(String) or getExternalCacheDir(), which require no permissions to read or write.

To learn more about these issues, you should read Mark Murphy's excellent write-up.

There was never any warranty.
Trademarks are owned by their owners!

![App screenshot 1](/../doc-assets/Tango SD Fix screenshot 1.png?raw=true "App screenshot 1")

![App screenshot 2](/../doc-assets/Tango SD Fix screenshot 2.png?raw=true "App screenshot 2")

Removal:

After you have used this app, you can uninstall it.

Chuck Knowledge loves you.