Error while installing Replicant OS on a Samsung S-II (i9100) from Trisquel GNU/Linux.

4 risposte [Ultimo contenuto]
lap4fsf
Offline
Iscritto: 10/12/2014

Hi all,

I am trying to install Replicant 4.2 on a Samsung Galaxy S 2 (I9100) from Trisquel GNU/Linux.

I have completed upto Preparing the device in http://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100Installation. Now, when I enter the following command of Installing the images in the terminal;

heimdall flash --KERNEL Downloads/recovery.img

I am getting this message;

bash: heimdall: command not found

This is the output of ls -l command for quick review of permissions to the concerned file.

-rwxrwxr-x 1 lakshmikanth lakshmikanth 1957277 Aug 22 21:52 heimdall

Can anybody, who have installed replicant OS from Trisquel GNU/Linux tell me what is wrong with the command? Should I specify any path to the executable, and if so how? (I would appreciate if your reply is supplemented with the commands as well.)

tomlukeywood
Offline
Iscritto: 12/05/2014

have you installed heimdall?

sudo apt-get install heimdall-flash
???

lap4fsf
Offline
Iscritto: 10/12/2014

Hi tomlukeywood,

I followed your command.
Now the command not found thingy is gone.

But, Heimdall Fails to access device; Here is the terminal output.

lakshmikanth@lakshmikanth-System-Product-Name:~$ heimdall flash --KERNEL Downloads/recovery.img
Heimdall v1.4.0
Copyright (c) 2010-2013, 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...
libusbx: error [_get_usbfs_fd] libusbx couldn't open USB device /dev/bus/usb/001/019: Permission denied
libusbx: error [_get_usbfs_fd] libusbx requires write access to USB device nodes.
ERROR: Failed to access device. libusb error: -3

tomlukeywood
Offline
Iscritto: 12/05/2014

try running the command as root
sudo heimdall flash --KERNEL Downloads/recovery.img

lap4fsf
Offline
Iscritto: 10/12/2014

Hurray....!!

That worked out like charm.
Now my Samsung Galaxy S-II (I9100) is running free as in freedom Replicant 4.2.

Special thanks to tomlukeywood for patiently guiding me till the end.

:)