Hey everyone,
I finally received my new fairphone (2) and wanted to run fairphone open os. I followed the guide on code.fairphone.com bu ran into multiple issues.
On Windows 7 my laptop doesn’t recognize the phone when in fastboot mode.
On Linux Mint when typing “sh flash-for-unix.sh” I get the answer “can’t open…”
Am I doing something wrong? Or did I forget sth?
I hope someone can help.
Hi,
thx for the fast answer. Tried sudo… already and got the same answer. I also tried it with and without “usb debugging” enabled. How do I enable root rights?
I don’t really know what I’m doing, just following tutorial steps.
My first question is why you have to do the manual installation at all. When I installed OpenOS (at its first release), I did it directly from the updater. Fairphone Updater -> Advanced Options -> Android for Fairphone -> Fairphone Open
I assume you didn’t install fastboot yet neither on your Linux nor on your Windows machine, because it’s not clearly stated in the instructions. Correct?
On Linux Mint you should install android-tools-fastboot.
The command should be similar or same to sudo apt-get install android-tools-fastboot
(I’m on Ubuntu, that’s why I’m not absolutely sure about the correct command)
After that you should connect your phone after booting it into fastboot (Power + Vol-) mode (USB debugging has to be activated).
If you already have installed fastboot please type the following to verify if your phone is correctly detected sudo fastboot devices
Also, could you please state the complete error message you receive when the script on your Linux machine aborts?
I did already install fastboot. Is installing enough or do I need to do something else?
When I type “sudo fastboot devices” I get “4e1363d6 fastboot”.
When I type “sudo sh flash-for-unix.sh” I get “sh: 0: Can’t open flash-for-unix.sh”
Ok cool, your phone is detected correctly.
The error message indicates that the file flash-for-unix.sh either can’t be found or has wrong permissions set. But I think it’s the first issue. The file is part of the package you downloaded from code.fairphone.com. You have to navigate to the folder where you extracted (unzipped) the downloaded manual switcher package, i.e. cd Downloads/fp2-sibon-18.04.1-manual-switcher/ or whereever the folder is located on your hard drive. Try to run sudo sh flash-for-unix.sh there again.
I read something like that already, but I didn’t really understand it. Do I type it in one line or two? It’s the first time I really use the console so I don’t really know what I’m doing.
Please type it in two lines (hit Enter after each line). If you somehow get lost on your hard drive inside the console you could type ls to see which files and folders are inside the folder you are currently in. When you see the flash-for-unix.sh file in that list you reached your destination folder
It worked!!! Installation was completed and it looks good for now. I will ask if I’m still having trouble with something, but I think for now I’m fine.
Big Thanks to everyone for the fast help and to Freubert for solving the problem.