Giter VIP home page Giter VIP logo

etchdroid's Introduction

EtchDroid

GitHub tag (latest SemVer) Build and test Translation status License

EtchDroid

Google Play GitHub F-Droid

EtchDroid is an open-source application that helps you write images to USB drives.

Use it to make a bootable operating system USB drive when your laptop is dead.

Supported devices

  • ✅ USB flash drives
  • ✅ USB SD card adapters
  • ❌ USB hard drives / SSDs
  • ❌ USB docks and hubs
  • ❌ Internal SD card slot
  • ❌ Optical or floppy disk drives
  • ❌ Thunderbolt-only devices

Supported disk image types

  • ✅ Modern GNU/Linux operating system images, including Arch Linux, Ubuntu, Debian, Fedora, pop!_OS, Linux Mint, FreeBSD, BlissOS and many more
  • ✅ Raspberry PI SD card images (but you must unzip them first!)
  • ❌ Official Microsoft Windows ISOs from microsoft.com
  • ⚠️ Community-built Windows images, made for EtchDroid (be careful: they may contain viruses!)
  • ❌ Apple DMG disk images
  • ❌ Older GNU/Linux OS images < 2010 such as Damn Small Linux and Puppy Linux

Support the project

If you want to say thanks, you can send a donation.

Help out translating EtchDroid

Translation status

Screenshots

etchdroid's People

Contributors

atalanttore avatar bennybeat avatar cewbdex avatar codeview-site avatar comradekingu avatar deme3 avatar depau avatar ferhadnecef avatar fitojb avatar laralem avatar laymoth avatar mikerr avatar npepperlinux avatar oersen avatar otrsu avatar rezaalmanda avatar santossi avatar shareasmile avatar shilin-da avatar sr093906 avatar tacothedank avatar thecinedreams avatar thepoladov13 avatar vistaus avatar vitorhcl avatar weblate avatar yarons avatar yassineimounachen avatar yzqzss avatar zzjzxq33 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

etchdroid's Issues

Image repository

Placeholder issue to track progress on the image download repository, which is a planned feature.


If you're good at UX design, feel free to give me some hints. I suck at it, I'm doing my best :)


Some details for people who would like to help:

  • The main plan is to add a navigation drawer on the left side to be able to reach the feature
  • Some new screens with this flow:
    • Main screen shows macro-categories, such as "Ubuntu", "Arch Linux", "Fedora"
    • Tapping a category opens another screen showing the available images
  • The idea is that the image should be downloaded while it's being flashed, so it can be useful on devices with low storage and good Wi-Fi
  • The repository will not actually host any image; it will only contain a list of HTTPS download links; Current idea:
    • Git repo with a bunch of YAML metadata files describing each entry in the repo, served on GitHub Pages
    • A parser that reads the metadata and generates a final, big YAML
    • The parser will be run on Travis CI or similar, so that people can add/fix meta with pull requests and the repo is automatically updated at the end
    • Security considerations:
      • Should external repositories be allowed?
      • Signature checking needs to be done, like F-Droid, to prevent MITM attacks.
      • Care needs to be taken when providing download links for image, like providing multiple download links or the link to a "mirror director" so that the load on upstream's servers is balanced.

Stuff to do:

  • Add the navigation drawer - @TacoTheDank's changes should make it a bit easier
  • Add the required activities
  • Come up with a good, future-proof structure and design for the repository
  • Write server metadata generator
  • Write client metadata download and parsing code
  • Set up the metadata repository and add some data
  • Set up GitHub Pages and a dedicated domain

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Add sdcard support without using the adapter

Is your feature request related to a problem? Please describe.
I use a microsd adapter for pc and my phone does not work with otg

Describe the solution you'd like
I wanted the app to work with a sd card without an adapter

[Bug]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. OnePlus 5]
  • OS: [e.g. Android 8.0]
  • Version [e.g. 22]
  • Installed from: [Play Store, F-Droid, GitHub, self-built...]

Additional context
Add any other context about the problem here.
Failed each time i tried

app crashes

EtchDroid crashes selecting any image, and opening the about info with dark theme selected too.
Theses crashes occurs with my tablet, android 4.4.4 kitkat, intel x86

Screenshot links might be dead

Hi, the screenshot thumbnails in the readme appear for me (because GitHub proxies the files) but lead to links which appear dead to me at least on the network I'm trying to access them from.

May I suggest placing the full size images into the repo and using <img attributes with width set instead in the readme? That way they can just link to themselves and GitHub will show the full version on click.

Translations

https://hosted.weblate.org/engage/etchdroid/

You need to register before you can add translations. You will be automatically credited in the commits, but you will have to add yourself to the about page (send a PR for that):

https://github.com/EtchDroid/EtchDroid/blob/develop/app/src/main/res/xml/about.xml


How to translate

App (from Android Studio, in case Weblate doesn't work)

  1. Open Android Studio, import the project.
  2. Once it's done doing all it's loading (it may take a lot), in the code tree expand app, res, values, string, open strings.xml.
  3. It will tell ask you if you want to open the Translation Editor; do it.
  4. (only if it's a new translation) In the translation editor, click the button Add Locale, select the language
  5. Select the language you want to translate and translate all the strings.
  6. Repeat steps 2-5 for the file strings.xml (night).
  7. Commit your changes (VCSCommit Changes) and a pull request.

Play Store and F-Droid information

  1. With a file manager, open the metadata directory
  2. Create (or copy) a new directory with the language you want to translate the data to
  3. Ensure the directory format is exactly the same
  • Changelogs are numbered by the internal Android app version numbered
  • Screenshots don't need to be numbered, but they are sorted in lexicographic order in the stores, so make sure the order makes sense
  • The icon must be the same

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Some DMG images can't be converted

In particular, macOS installation DMGs can't be flashed with the app.

This is a bug in dmg2img. While it looks like it's working fine, the EFI system partition in the generated raw image is an empty FAT filesystem (empty as in there are no files in it).

Add a way to also store logs privately for bug reports

Since stock Android ROMs suck, Huawei's stock in particular, it might be useful to also log to /data/data/[pkg]/cache and add an option to save the logs to /sdcard/download in the error screen.

magnusja/libaums#253 (comment) user can't get logs because of Huawei's bullshit.

For anybody checking this and wondering where have I been. Very busy, I'm handling issues when I get them, certainly no development will happen before summer :(


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

[Bug]

Hello, I've been trying to write an Ubuntu iso to the flash drive, but it starts to hang on, about, 5-6% of writing, after some time it gets a notification of fail, here's the error log message:

"Write failed at block 268288, 137.4 MB written. Error: java.io.IOException: libusb returned -1 in control transfer"

I've already tried to reconnect the device, but it wouldn't work.

My phone info:

  • Device: Honor 7A
  • Model: DUA-L22
  • Android version: 8.1.0

Ability to create Windows USB installers

Relevant information:

Requirements

  • TODO: Investigate whether shoving the raw UDF filesystem into a partition in a new MBR does the trick without any filesystem parsing
    • Investigate how many UEFI firmwares will start crying after seeing it
    • Still need to find a MBR boot sector that can parse enough of it and jump into Crapdows
    • Investigate how many legacy BIOS firmwares will try to parse it even if they're not supposed to and die
  • DVD image
  • MBR
    • Be able to create a MBR partition table with one partition
      • Embed fdisk from Termux, or implement it in Kotlin, either way it should be fairly easy
    • Find a suitable MBR boot sector - syslinux should have a few Windows boot sectors, investigate whether they're okay for Windows installer disks
  • FAT32
    • Create FAT32 filesystems (shouldn't be too hard - mkdosfs from Termux)
    • Read/write FAT32 filesystems (libaums can do that)
  • UEFI
    • Nothing to be done, just ensure the filesystem of choice is supported by 100% firmwares or add a FAT32 ESP
  • Too large install.wim
    • wimlib (a Java wrapper needs to be written)

Once the requirements are met, the app will have to:

  • Create a MBR partition table on the USB drive
  • Add one big FAT32 partition (we might be able to use Android's USB format feature)
  • Copy the image content (not the image itself) to the partition
  • If install.wim is too big, split it.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

No USB Drives Detected.

I'm trying to repair my Windows 10 using the ISO and I don't exactly have a pendrive that connects to my phone, but I do have a charger. Everything is connected but after I choose the ISO file it says no USB drives detected. Does this require a pendrive that connects to my phone then remove and connect to my computer? I have a Galaxy S9+. I have a separate normal pendrive but I can't get access to a computer and all I have is my phone.

[Bug]

image000000_20201130_183031began writing to the usb then stopped writing, and ejected usb. gave this error report. usb will not mount anymore can't format it, it just ejects when connected to the phone. rebooted the phone and used another usb, exact same thing happened. neither usb will mount now, the phone ejects them as soon as i plug them in. Lg k40, android 9, linux mint 20 cinnamon 64 bit iso. Please help if you have time.
Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. OnePlus 5]
  • OS: [e.g. Android 8.0]
  • App version [e.g. 1.4, you can find it in the About screen or in system Settings]
  • Installed from: [Play Store, F-Droid, GitHub, self-built...]

Additional context
Add any other context about the problem here.

Background service refactoring

This issue tracks progress on the background worker service refactoring, which should help me implement the planned features more easily by making the app more modular.

New project structure

  • Worker

    • Does things
    • Can have listeners attached to it
    • Sends progress to listeners
  • Foreground service

    • Listens to events from worker
    • Displays progress in notification
  • Broadcast sender

    • Listens to events from worker
    • Sends broadcasts
  • Progress activity

    • Receives events from broadcasts
    • Displays progress in the GUI

Event DTOs

As part of the refactoring, a bunch of event DTOs will be introduced. They will be Parcelable so they can be packed into intents and broadcasts.

  • Processing start DTO content:

    • Operation ID (to support multiple parallel operations)
    • Operation type (copy raw image, copy DMG, create Windows installer USB, etc.)
    • Input source name
    • Output destination name
    • List of operation steps (i.e. for Windows USB: format drive, copy files, etc.)
  • Progress event DTO content:

    • Operation ID
    • Current operation type (i.e. copying file, verbatim image copy, DMG extract and copy, etc.)
    • Current operation progress (optional)
    • Total operation progress (mandatory)
    • ETA data (optional, if it makes sense to calculate ETA)
      • Estimated time remaining (mandatory)
      • Current rate (optional)
      • Current rate unit (only if current speed is provided, e.g. bytes/sec)
  • Processing done DTO content:

    • Operation ID
    • Finish reason (success, error)
    • Error reason (if error, enum)
    • Error data (if error, parcelable)

All this data can be used to display meaningful progress info while making it easy to add new kinds of operations.

Progress checklist

  • Create worker and listener interfaces/ABCs
  • Refactor currently implemented interfaces
  • Implement listeners
    • Foreground service
    • Broadcast sender
  • Make foreground service display events in notification
  • Create new progress activity
    • GUI design
    • Implementation

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

[Bug]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. OnePlus 5]
  • OS: [e.g. Android 8.0]
  • App version [e.g. 1.4, you can find it in the About screen or in system Settings]
  • Installed from: [Play Store, F-Droid, GitHub, self-built...]

Additional context
Add any other context about the problem here.

Night mode implementation, call for help for GUI people

For quite a few releases EtchDroid has shipped with broken night mode. I disabled it completely due to bug reports, however I would like to bring it back.

This is a call for help for anyone who's experienced in Android GUIs who would like to help, or at least point me in the right direction so I can fix it myself.

(#37)


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Ability to create macOS installers

Relevant information:

As of now this feature requires a lot of investigation (i.e. I would at least need to be able to follow the InsanelyMac guide and adapt it to use free software only)

Update

After reading the InsanelyMac tutorial and reverse-engineering the Windows/Hackintosh crap, I think I got how the thing works. One needs to:

  1. Obtain the Install macOS.app app from the App Store or Hackintosh Computer
  2. Write app/Contents/SharedSupport/BaseSystem.dmg to the USB drive (it contains a GPT and an HFS+ filesystem)
  3. Resize the partition table and filesystem to fill the USB drive
  4. Mount the HFS+ filesystem and copy SharedSupport from the App Store app to the app in the root of the filesystem.

So, requirements list:

  • Ability to restore DMG images (dmg2img works)
  • Ability to mess with the partition table (needs sgdisk built for Android - feasible)
  • Ability to resize the HFS+ filesystem (building hfsprogs with the NDK shouldn't be too hard)
    • Needs investigation on whether it can be done with libaums/Android API
  • Ability to mount HFS+ read-write
    • I doubt most phones will have the hfsplus kernel module; a FUSE implementation must be found

This should be quite doable on GNU/Linux. Let's see what we can do on not-GNU/Linux (Android).


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

An error

I was just quilcky flashing ubuntu to a usb and this is the error it have me "Write failed at block 1914880, 980.4 MB written. Error: java.io.IOException: libusb returned -4 in control transfer" thonit workds after i re formatted the usb and restarted my device so yeh.

IllegalArgumentException: Expected receiver of type StartActivity, but got ContextThemeWrapper

Hello,
I have installed and used EtchDroid on a Lenovo TB-X304F (Android version 7.1.1) and it works great.

I want to install it on 4 other tablets, all are Lenovo TB-X103F (Android version 6.0.1). I am using the same OTG usb reader that works on the TB-X304F, but it will not work on any of the TB-X103F tablets.

These tablets support OTG. The sd card and reader is recognized when I plug it into the TB-X103F. EtchDroid installed without error.

The app opens ok, but when I click "Write raw image or ISO" the app closes and gives me "Unfortunately, EtchDroid has stopped." error.

The tablet software has been updated to latest version. On the TB-X103F tablets I did notice in the play store that there was a "flag/notice" under the Install button that says "This app may not be optimized for your device"

I do not know it this has anything to do with the app closing unexpectedly. Or if there is another tablet related incompatibility. Any help would be greatly appreciated!!

[Bug] Fails to successfully write anything over 1GB

Describe the bug
Few days of constant, pretty intense testing. Multiple Linux and *ix distros tested on a new branded USB-C native pen drive.
Distros tested
PuppyLinux - fails
Debian Dog - works
Debian 32 lite - fails
Debian 64 heavy - fails
OpenDarwin - fails
Tinycore - works
MacOS Mojave dmg created via --createinstallmedia to try and use DMG functionality. - can't use because "drive selection" window only gives me external partitions and all give errors on pressing.

Basically all failures come in the form of disconnect errors in the mid 30% range. Whenever they didn't, they were consistently on big files like squashfs bundles.

To Reproduce
Steps to reproduce the behavior:

  1. Begin ISO burn
  2. Wait a few minutes
  3. Write failed at block 3964928, 2.0 GB written. Error: java.io.IOException: Could not claim interface, errno: 0 null

Smartphone (please complete the following information):

  • Device: Huawei P30 Pro
  • OS: 10.0.0.195 (EMUI so still Android with Google)
  • Installed from: Play Store

Additional context
Interface at the port gets super hot 🔥

This is a USB-C pendrive and pushes 20MB/s. I don't have a USB-C to female USB so I cannot test other pendrives, but burns work successfully on PC.

This could probably be fixed by giving transfer rate limiting options, and allowing ISO write-in-progress preservation so that writes can be finished if the device disconnects due to heat.

The DMG menu that asks you to pick a drive (for conversion to ISO I assume) tells me it doesn't have the right to read any of the listed options. I renamed the DMGs to ISO and they appear to burn jsut fine but fail after 2GB like the rest of the bigger ones. This is a separate bug entirely

Error in writing to usb in android pie version

When I am flashing with raspberry full image OS it was struck and become error of

Write failed at block 241664, 123.7 MB written. Error: java.io.IOException: Could not write to device, result == -1 errno 88 Socket operation on non-socket

So please help me

Writes on Android 9+ stop after some time - consistently on QEMU emulated USB drives

This is actually a bug in libaums, and it affects EtchDroid too. magnusja/libaums#253

If you're having issues such as "app writes ~1GB / for ~5 minutes and then fails with an error such as cannot claim interface", please add your logs there and make sure you tag me so I see it.

This bug has been mitigated by 3a57910, but it still occurs much less frequently on all devices running Android 9 or newer. It does not appear to be related to the kernel version. Rather, this looks either like some very minor implementation error or a regression in Android.


Relevant code: https://github.com/Depau/libaums/tree/1754ec461e6515086ddd89ca733604870f2a48dd/src/main/java/com/github/mjdev/libaums/usb

On Android Pie, EtchDroid at times reports "Socket operation on non socket" while writing. It usually works for a while after reboot but it sometimes still stops.

I added a warning dialog in 474dbad but if obviously needs fixed properly.

Stuck when enabling night mode

Latest version from F-Droid on Umidigi X (China phone) with Android 9. When I hit enable night mode, the screen goes black, back button does nothing, and trying to switch back to it with the switcher doesn't work (tapping on it does nothing). Force closing it and opening it again also just gets back to black screen and hung state. Have to uninstall and reinstall to start again.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Integrate functionality of discontinued "USB Mountr"

"USB Mountr" is an open source application that allows to present image files as USB devices over the USB port of the Android device, i.e. you can download an image on the mobile device and mount it with "USB Mountr". If connected to other devices over USB, the mobile device appears as a mass storage device with the content of the loaded disk image.
Thus USB Mountr allows booting images from the mobile device over USB.

Integrate the functionality of USB Mountr into EtchDroid, since EtchDroid is most likely used for booting disk images.

Here are the links:

https://f-droid.org/en/packages/streetwalrus.usbmountr/

https://github.com/9ary/android_usb_msd

Write failed at block 2828288

Got an error:

Write failed at block 2828288, 1.4 GB written. Error: java.io.IOException: libusb returned -1 in control transfer

Was trying to write Windows10_InsiderPreview_EnterpriseVL_x64_en-us_18363.iso
That is
Windows 10 Enterprise VL Insider Preview - Build 18363 English

64-bit Download

[Bug]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. OnePlus 5]
  • OS: [e.g. Android 8.0]
  • Version [e.g. 22]
  • Installed from: [Play Store, F-Droid, GitHub, self-built...]

Additional context
Add any other context about the problem here.

Error When choose .img file

i try to build source code using standart and up to date Android Studio

the compile was successfully, when i install the apk file its doesn't ask permission at all, untill i open the EtchDroid, and selecting the .img file and the app is crash.

whats wrong?

Request for either maintain USBMountr or integrate it to Etchdroid:

Hello,
I'm a non-Programmer GNU/Linux and Android(z2_plus) User.
I use USBMountr Application frequently, but due to its deprecation, I'm very disappointed.
So, i request you(the reader) to either maintain USBMountr or Integrate it to your Application as it is also a Kotlin(in major and Java in minor) written Application.

USBMountr Git:
https://github.com/9ary/android_usb_msd

USBMountr F-Droid(.org):
https://f-droid.org/en/packages/streetwalrus.usbmountr/

Related:
1: https://github.com/FrozenCow/drivedroid-image

2: https://github.com/outofmemo/UMS-Interface

3: https://github.com/dratini0/phonestick

Same size disk writing

I created a 16GB image from a memory stick, and then tried to write that image as an .img back to the same disk with EtchDroid. It said the disk size was too large - perhaps it is a '>' case, rather than '>=' issue?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

[Bug] Writing process stops, possible CTD, Android remounts USB

Describe the bug
(Possibly the same as issue 38)
I select Linux iso, select usb, write starts, app closes or CTDs with "check notification" message. It goes a couple percents then nothing, the notification disappears and soon i get "unsupported usb drive" message.

To Reproduce
Steps to reproduce the behavior:
As above:

  1. Click on "select iso"
  2. Click on "select usb"
  3. See error, process seemingly stops.

Expected behavior
Iso written to my usb.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Xiaomi Redmi 7A
  • OS: Android 9
  • Version: PKQ1
  • Installed from: Play Store

Additional context
In my case, phone is NOT rooted.

[Bug]

Describe the bug
I tried making a bootable drive of Ubuntu 20.04 from app , it started and said that writing completed and yet the laptop isn't detecting it..

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
.
A clear and concise description of what you expected to happen
Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. Xiaomi K20PRO]
  • OS: [e.g. Android 10]
  • App version [e.g. 1.4, you can find it in the About screen or in system Settings]
  • Installed from: [Play Store,]

Additional context
Add any other context about the problem here.

EtchDroid, "Could not access USB device."

*OnePlus 5T
*Android Pie 9.0 (Build number: ONEPLUS A5010_43_190527)
*USB devices: Ugreen USB-C/USB3.0 to SD-Card adapter (https://www.amazon.com/UGREEN-Reader-Adapter-Portable-Windows/dp/B07D1J88CF), Samsung EVO+ 32Gb SD-Card (Formatted on Android prior to doing anything).
*Turned on OTG Storage in Android settings prior to opening app.
*Gave EtchDroid Storage permissions prior to opening the app.
*ISO is openmediavault for Raspberry Pi.
*Writing method being used is: Write image directly to disk (using Android API).

*After seeing error for the first time, I rebooted and tried everything again before doing anything else.

*Full disclosure, I am rooted (with Magisk) on stock ROM.

[Bug]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. OnePlus 5]
  • OS: [e.g. Android 8.0]
  • Version [e.g. 22]
  • Installed from: [Play Store, F-Droid, GitHub, self-built...]

Additional context
Add any other context about the problem here.

[Bug] USB drive remounted automatically by Android

Describe the bug
While EtchDroid is initializing the writing, Android remounted the USB automatically after EtchDroid formats it. The write then fails, because after remount Android doesn't recognize the filesystem in the drive and doesn't make it available to apps.

To Reproduce
Steps to reproduce the behavior:

  1. Try to write Ubuntu ISO
  2. Failure

Expected behavior
Not that

Smartphone (please complete the following information):

  • Device: Pixel 2XL
  • OS: Android 10, January 2020 patch
  • Version: 1.4
  • Installed from: Play Store

Additional context
Add any other context about the problem here.

[Bug]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [e.g. OnePlus 5]
  • OS: [e.g. Android 8.0]
  • Version [e.g. 22]
  • Installed from: [Play Store, F-Droid, GitHub, self-built...]

Additional context
Add any other context about the problem here.

Error attaching to device

I have a screenshot of the error info. it's telling me to reboot or restart device. I'm going to try that now, hopefully that works. I really needed this to work quickly not cause me more obstacles in my way!
img_20190307_211937_108

[Bug] systematically stops at ~50%

whatever I try to do it stops
Zenfone 6 on Pie
Latest Ubuntu Desktop LTS

You really should stop the notification thing and just let the app open during the process, it will resolve a lot of problems because Android will not shut down the process

The write is complete with latest Slax but useless considering the USB is non bootable so undetectable by BIOS/UEFI (and the problem will logically be the same for any Distro.)

Fails to write to usb

Have tried several times to write img and fails with same error

Iv tried turning on usb debugging and setting my screen not to timeout.

Screen shot provided

Screenshot_20201008-025537_EtchDroid

Usb drive not showing up #help

Hi after using etch droid when I plug in my usb drive it doesn't show up I mean it doesn't even show the unsupported usb drive notification please do something about it I really need that pendrive I am using a vivo phone

Android 4.4 crashes due to unsupported vector graphics

I figure lack of permissions is why I can't navigate to the iso file.

When, I use ghost commander/oi file manager/amaze to open the file Etch and vlc are the two options. Etch crashes while starting.

This device is rooted.

java.lang.RuntimeException: Unable to start activity ComponentInfo{eu.depau.etchdroid/eu.depau.etchdroid.activities.UsbDrivePickerActivity}: android.view.InflateException: Binary XML file line #25: Error inflating class TextView
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)
	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
	at android.app.ActivityThread.access$900(ActivityThread.java:175)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:146)
	at android.app.ActivityThread.main(ActivityThread.java:5602)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:515)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
	at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #25: Error inflating class TextView
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:719)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
	at android.view.LayoutInflater.inflate(Native Method)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
	at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:469)
	at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
	at eu.depau.etchdroid.activities.UsbDrivePickerActivity.onCreate(UsbDrivePickerActivity.kt:103)
	at android.app.Activity.performCreate(Activity.java:5451)
	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
	... 12 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-night-v8/ic_usb_200dp.xml from drawable resource ID #0x7f080094
	at android.content.res.Resources.loadDrawable(Resources.java:3422)
	at android.content.res.TypedArray.getDrawable(TypedArray.java:602)
	at android.content.res.XResources$XTypedArray.getDrawable(XResources.java:965)
	at android.widget.TextView.<init>(TextView.java:1233)
	at androidx.appcompat.widget.AppCompatTextView.<init>(AppCompatTextView.java:87)
	at androidx.appcompat.widget.AppCompatTextView.<init>(AppCompatTextView.java:83)
	at androidx.appcompat.app.AppCompatViewInflater.createTextView(AppCompatViewInflater.java:177)
	at androidx.appcompat.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:102)
	at androidx.appcompat.app.AppCompatDelegateImpl.createView(AppCompatDelegateImpl.java:1266)
	at androidx.appcompat.app.AppCompatDelegateImpl.onCreateView(AppCompatDelegateImpl.java:1316)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:690)
	... 26 more
Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #1: invalid drawable tag vector
	at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:986)
	at android.graphics.drawable.Drawable.createFromXml(Drawable.java:930)
	at android.content.res.Resources.loadDrawable(Resources.java:3418)
	... 36 more

[Bug] Write failed at block 2449408, 1.3 GB written. Error: java.io.IOException: libusb returned -7 in control transfer

"Write failed at block 2449408, 1.3 GB written. Error: java.io.IOException: libusb returned -7 in control transfer"

Describe the bug
Select Ubuntu 20.04 iso -> plug in usbc drive -> accept messages -> gets to at least beyond 50% then fails.

Smartphone (please complete the following information):

  • Device: [Xiaomi Redmi Pro]
  • OS: [Android 6.x]
  • Installed from: [Play Store or F-Droid]

Unplugged bug!!!

My USB device is plugged in. But after its done 2%, an error pops up and says my usb might unplugged during the process. Its says its an unknown error or bug i dont know. I am using it on android 10 for an windows recovery.

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.