1

I am trying to flash TWRP on Samsung Galaxy S6 that I inherited from someone else, there was already some custom software on it, but I am not sure what exactly. File transfer to a computer works fine. The computer I am using has ubuntu 16.04 installed and heimdall from the official repositories v1.4.1) and the following works fine on an S4 mini:

$ heimdall print-pit
Heimdall v1.4.1

Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
libusb: error [_get_usbfs_fd] libusb couldn't open USB device /dev/bus/usb/001/018: Input/output error
ERROR: Failed to access device. libusb error: -1
9
  • Try to run heimdall as root. sudo heimdall whatevercommands Apr 7, 2019 at 10:39
  • already tried, did not work. I just made it work by switching to LXDE, it was probably missing a library and I am not sure why it did work on the s4 mini
    – gdkrmr
    Apr 7, 2019 at 10:45
  • Good that you found a solution. Answer the question for others who may have the same problem in the future. Apr 7, 2019 at 10:46
  • it just stopped working... not sure why. I set up the permissions for adb to work without sudo some time ago, I have to recheck, maybe I have add some rules.
    – gdkrmr
    Apr 7, 2019 at 10:51
  • Does this command work? sudo chmod o+w -R /dev/bus/usb/whatevernumber. Also remove udev restrictions. Apr 7, 2019 at 10:57

1 Answer 1

2

The problem must have been on the side of the s6. I was able to run heimdall print-pit successfully, but only for a moment after entering download mode.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .