diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..d6458ba --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,5 @@ +# These are supported funding model platforms + +#github: [Depau] +patreon: depau +custom: https://etchdroid.depau.eu/donate/ diff --git a/README.md b/README.md index f6628c4..418221a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ # EtchDroid +![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/EtchDroid/EtchDroid.svg?label=latest) [![Translation status](https://etchdroid-l10n.depau.eu/widgets/etchdroid/-/app/svg-badge.svg)](https://etchdroid-l10n.depau.eu/engage/etchdroid/?utm_source=widget) ![License](https://img.shields.io/github/license/EtchDroid/EtchDroid.svg) ![GitHub stars](https://img.shields.io/github/stars/EtchDroid/EtchDroid.svg?style=social) + [![F-Droid](docs/assets/img/get-from-fdroid-small.png)](https://f-droid.org/packages/eu.depau.etchdroid/) [![Google Play](docs/assets/img/get-from-googleplay-small.png)](https://play.google.com/store/apps/details?id=eu.depau.etchdroid) +## Update on development status +On my blog: https://blog.depau.eu/2019/05/18/etchdroid-development-update/ + ![EtchDroid](docs/assets/img/playstore_banner.png) EtchDroid is an open-source application that helps you write images to USB drives, no root required. diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 0f441dc..f115f9c 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,3 +1,4 @@ + EtchDroid Abbild direkt auf Datenträger schreiben (mithilfe der Android API) @@ -23,9 +24,9 @@ AMIGA BSD DVH - GUID Partition Table (GPT) + GUID Partitionstabelle (GPT) Keiner - Apple Partition Table (APT) + Apple Partitionstabelle (APT) Master Boot Record (MSDOS) PC98 Sun @@ -38,7 +39,7 @@ macOS HFS macOS HFS+ Apple Filesystem (APFS) - APT data + APT-Daten ISO 9660 Linux Ext2 Linux Ext3 @@ -63,8 +64,8 @@ Apache 2.0 Userspace USB Block Gerät Implementation GNU GPLv2 - Custom BSD-like - Custom + BSD-ähnlich + personalisierte Über Kovertiert komprimierte Apple® DMG Abbilder USB-Gerät auswählen @@ -96,7 +97,17 @@ %1$s wurde erfolgreich auf %2$s geschrieben Informationen zur Fehlerbehebung Die Operation konnte nicht fertiggestellt werden, da der folgende Fehler aufgetreten ist: - Dies ist ein häufiger Fehler. Er passiert normalerweise, wenn der USB-Datenträger während des Schreibens entfernt wird, oder wenn er mit einem USB-Hub verbunden ist. Auf manchen Geräten existiert möglicherweise ein Bug im USB-Subsystem von Android: ein Neustart des Geräts sollte es für einige Zeit beheben. \n\nVersuche folgendes:\n• USB-Gerät ausstecken und wieder anstecken, dann die App neu starten\n• Gerät neu starten (ernsthaft, versuche es)\n• Anderes USB-Gerät ausprobieren\n• Unnötige Adapter und Hubs vermeiden\n• Vermeide, dein Smart-Gerät während des Schreibens zu benutzen\n• Defekte USB-Adapter austauschen\n\nWenn das Problem weiterhin auftaucht, reiche bitte ein Issue auf GitHub ein. + Dies ist ein häufiger Fehler. Er passiert normalerweise, wenn der USB-Datenträger während des Schreibens entfernt wird, oder wenn er mit einem USB-Hub verbunden ist. Auf manchen Geräten existiert möglicherweise ein Bug im USB-Subsystem von Android: ein Neustart des Geräts sollte es für einige Zeit beheben. +\n +\nVersuche folgendes: +\n• USB-Gerät abstecken und wieder anstecken, dann die App neu starten +\n• Gerät neu starten (ernsthaft, versuche es) +\n• Anderes USB-Gerät ausprobieren +\n• Unnötige Adapter und Hubs vermeiden +\n• Vermeide, dein Smart-Gerät während des Schreibens zu benutzen +\n• Defekte USB-Adapter austauschen +\n +\nWenn das Problem weiterhin auftritt, reiche bitte ein Issue auf GitHub ein. Probleme melden Probleme können auf Github gemeldet werden:\nhttps://github.com/Depau/EtchDroid/issues Schreiben fehlgeschlagen @@ -110,7 +121,7 @@ Alle Warnungen und Dialoge wiederhergestellt Dateityp nicht unterstützt Datei kann im internen Speicher nicht gefunden werden. Versuche es innerhalb der App zu öffnen. - Speicherberechtigung ist notwendig, um DMG Abbilder zu lesen. + Speicherberechtigung ist notwendig, um DMG Abbilder zu lesen @@ -118,7 +129,7 @@ AOSP https://developer.android.com AndroidX Jetpack - AndroidX is a major improvement to the original Android Support Library and provides backwards-compatibility across Android releases + AndroidX ist eine neue Version der originalen Android Unterstützungs-Bibliothek und gewährleistet Abwärtskompatibilität mit früheren Android-Versionen https://developer.android.com/jetpack/androidx/ 1.0.1 true @@ -130,8 +141,8 @@ JetBrains https://kotlinlang.org/ - Kotlin Standard Library - The Kotlin Standard Library provides living essentials for everyday work with Kotlin + Kotlin Standardbibliothek + The Kotlin Standardbibliothek stellt das Notwendigste zur Verfügung, um mit Kotlin zu arbeiten https://kotlinlang.org/api/latest/jvm/stdlib/index.html 1.2.71 true @@ -144,7 +155,7 @@ Google https://material.io/develop/ Material Components - Make beautiful products, faster. Material is a design system – backed by open-source code – that helps teams build digital experiences + Erstelle schöne Produkte, schneller. Material ist ein Designsystem, welches von open-source Code unterstützt wird und Teams beim bauen von digitalen Erfahrungen hilft https://material.io/develop/android/ 1.1.0-alpha01 true diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml new file mode 100644 index 0000000..994e1b9 --- /dev/null +++ b/app/src/main/res/values-es/strings.xml @@ -0,0 +1,106 @@ + +Escribir imagen directamente al disco (usando la API de Android) + Restaurar imagen DMG de macOS al disco (utilizando la API de Android) + Flash estilo Unetbootin (sólo MBR, requiere root) + Escribir imagen de Windows (usando WoeUSB, requiere root) + Refrescar + Permiso denegado para + Permiso denegado para dispositivo USB + Imagen seleccionada: + Método de escritura seleccionado: + Dispositivo USB seleccionado: + Nombre de archivo desconocido + La imagen es más grande que la unidad USB, por lo que no se puede escribir + No puede leer el dispositivo USB + Toque Escribir para escribir la imagen en la unidad USB + Estado de escritura USB + Se utiliza para mostrar el estado de las imágenes que se escriben en las unidades USB + Inicializando… + Escribiendo imagen… + La imagen seleccionada no es una imagen DMG (tal vez esté dañada) + Tabla de particiones GUID (GPT) + Ninguno + Tabla de particiones de Apple (APT) + Datos de APT + LUKS encriptado + Intercambio de Linux + Volumen físico de Linux LVM2 + Espacio libre + Sin formato + Desconocido + Nombre + Etiqueta + Tipo + Tamaño + Esta aplicación + Implementación de dispositivos de bloqueo USB en el espacio de usuario + Personalizado como BSD + Personalizado + Acerca de + Convierte imágenes comprimidas de Apple® DMG + Seleccionar unidad USB + Listo para escribir + No se puede escribir la imagen en la unidad USB + Verificar notificación de progreso + Tabla de particiones: + No se pudo acceder al dispositivo USB. ¿Quizás ejecutó la aplicación anteriormente y se estrelló\? Retire y vuelva a insertar la unidad USB, luego reinicie la aplicación. + Escribir imagen cruda o ISO + Bueno para las distribuciones ISO de GNU/Linux, las imágenes de Raspberry Pi y las imágenes de disco creadas en Windows o Linux. + Escribir imagen DMG de Apple + Restaurar una imagen creada con macOS Disk Utility + No se detectan unidades USB. +\nTenga en cuenta que necesita un adaptador de tarjeta SD a USB para escribir en tarjetas SD. + No mostrar de nuevo + Aquí hay dragones + Entiendo + Aunque en la mayoría de los casos las imágenes DMG se pueden restaurar sin problemas, a veces puede haber inconsistencias. Esto es una advertencia. + Flashear imagen + Si continúa, se escribirá la imagen seleccionada y todos los datos almacenados en la unidad USB se perderán para siempre. + Advertencia + Cancelar + Selector de archivos DMG + Se utiliza para visualizar el resultado de una operación de escritura finalizada + Notificaciones de resultados de escritura USB + Escritura fallida • Toque para obtener información + Escritura finalizada + Es posible que se haya desconectado %1$s mientras escribía. + %1$s escrito con éxito a %2$s + Información para solucionar problemas + La operación no pudo completarse porque se produjo el siguiente error: + Este es un error común. Por lo general, esto sucede cuando la unidad USB está desconectada mientras se está escribiendo, o cuando está conectada a través de un concentrador USB. En algunos dispositivos puede haber un error en el subsistema USB de Android: normalmente un reinicio lo arreglará durante algún tiempo. +\n +\nPruebe esto: +\n• Desconecte y vuelva a conectar el dispositivo USB, a continuación, reinicie la aplicación. +\n• Reinicie su dispositivo (realmente probarlo) +\n• Pruebe otra unidad USB +\n• Evite el uso de adaptadores, llaves o hubs innecesarios +\n• Evite usar el teléfono mientras se escribe +\n• Reemplace los adaptadores USB On-The-Go defectuosos +\n +\nSi el problema persiste, por favor envíe un mensaje en GitHub. + Reportando problemas + Los problemas pueden ser reportados en GitHub: +\nhttps://github.com/Depau/EtchDroid/issues + Escritura fallida + Error desconocido. Intente volver a conectar la unidad USB o reiniciar el dispositivo. Por favor, envíe un mensaje a GitHub. + (sin comprimir) + Activar modo nocturno + Desactivar el modo nocturno + Bug de Android Pie + Hay un error en Android 9 que hace que algunas escrituras fallen. +\nSi dice \"Escritura fallida\", reinicie el dispositivo e inténtelo de nuevo. + Reiniciar todas las advertencias + Todos los diálogos de advertencia restaurados + Tipo de archivo no soportado + No se puede encontrar el archivo en el almacenamiento interno. Intenta abrirlo desde dentro de la aplicación. + Se requiere permiso de almacenamiento para leer las imágenes DMG + + + AndroidX es una importante mejora de la biblioteca de asistencia técnica de Android original y ofrece compatibilidad con versiones anteriores en todas las versiones de Android + Biblioteca estándar de Kotlin + La biblioteca estándar de Kotlin proporciona elementos esenciales para el trabajo diario con Kotlin + Haga productos hermosos, más rápido. Material es un sistema de diseño, respaldado por código abierto, que ayuda a los equipos a construir experiencias digitales + Una aplicación para escribir imágenes de sistema operativo a unidades USB, en Android, sin necesidad de root. + Cómprame un café + + diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml new file mode 100644 index 0000000..a6b3dae --- /dev/null +++ b/app/src/main/res/values-pt-rBR/strings.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/app/src/main/res/xml/about.xml b/app/src/main/res/xml/about.xml index b4dcc75..f79d2ee 100644 --- a/app/src/main/res/xml/about.xml +++ b/app/src/main/res/xml/about.xml @@ -130,7 +130,7 @@ locales="tr" login="Exodus1831" /> diff --git a/docs/assets/img/broken_usb_1.png b/docs/assets/img/broken_usb_1.png new file mode 100644 index 0000000..2722f1a Binary files /dev/null and b/docs/assets/img/broken_usb_1.png differ diff --git a/docs/assets/img/broken_usb_2.png b/docs/assets/img/broken_usb_2.png new file mode 100644 index 0000000..14e3166 Binary files /dev/null and b/docs/assets/img/broken_usb_2.png differ diff --git a/docs/assets/img/format_android.png b/docs/assets/img/format_android.png new file mode 100644 index 0000000..520edb8 Binary files /dev/null and b/docs/assets/img/format_android.png differ diff --git a/docs/assets/img/format_linux.png b/docs/assets/img/format_linux.png new file mode 100644 index 0000000..009a427 Binary files /dev/null and b/docs/assets/img/format_linux.png differ diff --git a/docs/broken_usb.md b/docs/broken_usb.md new file mode 100644 index 0000000..93b20fa --- /dev/null +++ b/docs/broken_usb.md @@ -0,0 +1,79 @@ +--- +title: My USB drive is broken! Plz helppppp :( +permalink: /broken_usb/ +layout: page +--- + +![Unsupported USB drive](/assets/img/broken_usb_1.png){:width="49%"} ![Issues with USB drive](/assets/img/broken_usb_2.png){:width="49%"} + +If you just flashed your USB drive and you see one of the notifications above, your USB drive **IS NOT BROKEN**. + +There is litterally **no way** EtchDroid can break your USB drive. + +# What does that message actually mean + +Most images you'll want to flash with EtchDroid will have a somewhat *weird* format. For example, take an Ubuntu image: that image is specifically made to boot both from a USB drive and a DVD. + +This means that the resulting USB drive's file system will be marked as read-only. + +Android complains about it because it expects a writable file system. Not finding any, one of these errors will show up telling you how to format it. + +Simply unplug the USB drive and plug it into a computer. If the image you provided is valid and EtchDroid was able to write it, it should work just fine. + +# How to format the USB drive + +Once you're done with the image you've written you may want to format it with a regular file system. This will allow you to use the USB drive to store regular files once again. + +## On Android + +1. Close EtchDroid, plug your USB drive. +1. Tap the "Unsupported USB Drive" or "Issues with USB drive" notification. + If it does not show up: + 1. Open Settings + 1. Find "Storage" + 1. Tap the name of the USB drive + 1. If the file explorer opens, tap the menu button, "Storage settings", "Format" +1. Tap "Format USB drive" + +Remember to eject the USB drive from settings before unplugging it. + +![Format USB drive (Android)](/assets/img/format_android.png){:width="300px"} + +## On Ubuntu + +This should work for regular Ubuntu with GNOME or Unity and with other GNU/Linux distributions with GNOME. If you have a different desktop environment, please refer to your distribution's documentation. + +1. Open the Activities dashboard +1. Type "disk" and open "Disks" or "Disk Utility" +1. Select your USB drive from the left sidebar +1. From the overflow menu on the upper right, select "Format Disk..." +1. Use default settings, then confirm +1. Under "Volumes", select "Free space", then click the "+" button +1. Use maximum size, then go to the next page +1. Enter a name for your USB drive, under type select "For use with all systems and device" +1. Click "Create" and confirm + +![Format USB drive (Ubuntu)](/assets/img/format_linux.png){:width="100%"} + +## On macOS + +**Note:** I don't use macOS so instructions below may not be accurate. + +1. Open the Disk utility +1. Select your USB drive +1. There should be an "Erase drive" button somewhere +1. You should find an option to format it with a "FAT" file system + +### or + +You can use "SD Memory Formatter" (even though you're not using an SD card, it will work on a USB drive too): + +https://www.sdcard.org/downloads/formatter_4/ + +## On Windows + +Use "SD Memory Formatter" (even though you're not using an SD card, it will work on a USB drive too): + +https://www.sdcard.org/downloads/formatter_4/ + +![Format USB drive (Windows)](https://www.pendrivelinux.com/wp-content/uploads/SD-Formatter1.png) diff --git a/docs/faq.md b/docs/faq.md index 664b38d..8dc64ff 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -4,6 +4,10 @@ permalink: /faq/ layout: page --- +### My USB drive is broken, please help! + +It's not. Calm down and read this: [My USB drive is broken! Plz helppppp :(](/broken_usb/) + ### When I tap "Write DMG image", an empty file picker is shown That's because you don't have any DMG files on your phone. Download one and see if it shows up. diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..87b738c Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e70bdcb..d1bcc58 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Mon Jul 15 06:44:24 CEST 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip +zipStorePath=wrapper/distsA \ No newline at end of file diff --git a/gradlew b/gradlew index cccdd3d..af6708f 100755 --- a/gradlew +++ b/gradlew @@ -28,7 +28,7 @@ APP_NAME="Gradle" APP_BASE_NAME=`basename "$0"` # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" +DEFAULT_JVM_OPTS='"-Xmx64m"' # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD="maximum" diff --git a/gradlew.bat b/gradlew.bat index f955316..6d57edc 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= +set DEFAULT_JVM_OPTS="-Xmx64m" @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome