OnePlus One - Sailfish OS



Rep: (141)
OnePlus One - Sailfish OS
Attached ImageOne, A0001, Bacon
Description | Discussion SailfishOS | Discussion of OnePlus One | Official firmware | Unofficial firmware and custom kernels | Sailfish OS | Ubuntu touch | OnePlus One FAQ | Purchase | Accessories | Marriage

ONLY FOR TESTING! NOT INTENDED FOR DAILY USE!

Any actions on flashing, replacing kernels, modems and other manipulations associated with changing the software part of the smartphone from Recovery must be carried out with a charge above 50%. Otherwise, a deep discharge of the battery may happen and it will be possible to charge it only after removing the back cover (how to do this is describedhere)


Works / Does not work
For Sailfish OS 2.0.0.10
Works for sure
  • Display
  • Touchscreen
  • Audio
  • Bluetooth
  • SMS
  • Voice communication
  • Mobile Internet
  • WLAN
  • Sensors
  • Volume buttons
  • Power button
  • Vibration
  • Tactile response
  • Charging
  • USB storage


Does not work
  • LED indicator
  • Ota update
  • Android app support


Unknown
  • NFC
  • Rtc alarms


It works, but not connected
  • GPS
  • Camera


For Sailfish OS 1.1.1.27 (alpha 1/2)
Works
  • Display
  • Touchscreen
  • Audio
  • Bluetooth
  • SMS
  • Voice communication
  • Mobile Internet
  • WLAN
  • Sensors
  • Volume buttons
  • Power button
  • Vibration
  • Tactile response
  • Charging
  • USB storage


Does not work
  • LED indicator
  • GPS
  • Camera
  • Android app support
  • Ota update


Known problems and solutions


Useful information
Instructions
Download
Screenshots
Changelog
Alpha1 - March 20, 2015
  • Initial release

Alpha2 - March 29, 2015
  • WLAN fixed up - vgrade / yacuken

SailfishOS 2.0 build - 16 Jan 2016

Taken from the OnePlus forum


K
There is no curator in the subject. For questions about filling the caps, please contact the section moderators via the buttonPictureunder the messages to which you want to add links.


Post has been editeddem0na - 30.11.16, 12:40
Reason for editing: Sailfish OS 2.0.4.13 + CM 12.1



Rep: (141)
Sailfish OS Installation Instructions for Beginners
general information
  • To open the command line you need: press the key combination WIN + R enter cmd and press Enter
  • To enter thefastboot necessary: ​​turn off the phone. Hold buttons Volume up + Power button until the screen appears fastboot
  • To enter therecovery necessary: ​​turn off the phone. Hold buttons Volume Down + Power Button until you feel the vibration. Release the buttons and wait for the download recovery
  • Backup - unlocking the bootloader will completely erase all data from your device including applications, settings, and even the contents of the internal memory. Copy all important files from phone to computer
  • To install the driver (for Windows users) you need to: download and install the driverSetup.exe and UniversalAdbDriverSetup.msi from the topic header (Download section)
to install Sailfish OS You must have an unlocked bootloader and custom recovery. Not recommended Sailfish OS as the main system, so we recommend that you upgrade it as a second system using MultiROM Manager . This instruction consists of 4 parts. You can go to any part if you have already done the previous ones.
1. Install SDK
2. Unlocking the bootloader and installing custom recovery + ROOT rights
3. Installing MultiROM Manager
4. Install Sailfish OS
1. Install SDK
Download AndroidSDKSlim.zip from the topic header (Download section), extract the contents of the archive to the root directory of the disk WITH:/ . To make sure everything works, open a command prompt and enter the following commands:
cd C: / android-sdk / platform-tools

adb version

If the command line issues
Android Debug Bridge version x.x.xx
then everything works. If it gives an error
adb is not a recognized command
, then installed with an error. Repeat the steps above carefully. Close the command prompt window when everything is ready.
2. Unlocking the bootloader and installing custom Recovery + ROOT rights
Turn off the phone. Then load it into modefastboot . Connect the phone to the BB using the USB cable, open the command prompt and enter:
cd C: / android-sdk / platform-tools

fastboot devices

This command displays a list of connected devices. If the serial number of your device is displayed, then you can continue. If your phone is not listed, then your drivers are not installed correctly. In order to continue, you must fix your drivers so that your phone is in the list of fastboot devices.
After your device has been recognized, enter the following code (remember that after that all data from your device will be deleted)
fastboot oem unlock

After the command has finished executing, enter
fastboot reboot

The phone will reboot. Wait for the phone to fully boot. Then configure the following settings in your phone’s settings:
1. USB debugging: go to Settings>About phone> Click on Build Number 7 times. This will open developer mode. Now back to Settings>For developers>Debugging>Debug mode (Enable Android Debuf = g Bridge (ADB))>Tick
2. Disable bootloader recovery: on the phone go to Settings>For developers>Update recovery mode (Overwrite Recovery section when installing updates)>Uncheck.
Next you need to downloadTWRP Recovery and put along the way C: / android-sdk / platform-tools . Download SuperSU.zip and copy to the phone’s internal memory. Turn off the phone. Then boot your phone in mode fastboot and connect it to the BB. Open a new command prompt window and run the following commands:
cd C: / android-sdk-windows / platform-tools

fastboot flash recovery twrp-2.8.7.0-bacon-20160111.img

After the installation is completed, turn off the phone and boot into moderecovery . Now select Instal and select SuperSU.zip where you saved it in the telephone memory. Swipe to confirm installation. Reboot the phone. You should see a new application. SuperSU in installed applications. Now you have ROOT rights (they are essential for working with MultiROM Manager).
3. Installing MultiROM Manager
For installation MultiROM Manager You need to download and install it from the official store Google play or from the corresponding section of the forum ®MultiROM Manager .
  1. Open the installed applicationMultiROM Manager (grant access to rights Superuser (ROOT) )
  2. You should see and select three checkmarks (1. Installing the latest version of MultiROM (if you do not have the latest), 2. Custom Recovery (required), 3. Kernel and select the version of the current system (4.4.x, 5.0.x or 6.0.x )) and press the buttonTo install . After the components are downloaded, the program will prompt you to restart the device for installation. We agree
  3. After the installation is complete, the phone will reboot and you will see a new menu asking you to choose which system to load.
4. Install Sailfish OS
  1. DownloadCyanogen Mod 12.1 snapshot (or Cyanogen Mod 11 for alpha) and SailfishOS 2.0.0.10 (or Sailfish OS Alpha 2 / Sailfish OS Alpha 1 for thrills from the alpha version) from the topic header (section Download ) and load them into the phone’s internal memory
  2. Turn off the phone and switch torecovery
  3. Next item by itemAdvanced>MultiROM>Add ROM>Choose Sailfish OS , click Next
  4. By buttonCyanognMod ZIP file select downloaded earlier Cyanogen Mod 12.1 snapshot (or Cyanogen Mod 11 for alpha version). By button Rootfs ZIP file select downloaded earlier SailfishOS 2.0.0.10 (or Sailfish OS Alpha 2 / Sailfish OS Alpha 1 for the thrill of the alpha version) and click Instal
  5. After the installation is complete, reboot the device. You will see a menu asking you to select a bootable system.

If you had firmware based on Android 5.0.x as the main operating system, then everything will be fine, if on Android 6.0.x it will not load, since at the moment Multirom does not yet have an official kernel for 6.0.x with support kexet-hardboot. Can only be used in conjunction with Cyanogen OS 13, installation instructions under the following spoiler The problem is solved by the release of the new version of MultiROM Manager! All firmware versions are supported!
Original instructions on the OnePlus forum
Installation Instructions for Sailfish OS near Cyanogen OS 13(irrelevant instruction)
  1. Download Tyr Kernel Kernel for TyrV150 or TyrV1-CM13 (the latter works every other time)
  2. From under the system toMultirom manager install custom Recovery
  3. Boot into Recovery
  4. Install Sailfish OS according to the above instructions.
  5. In the same place from Recovery we install a kernelTyrV150 or TyrV1-CM13 with a tick Inject MultiROM after installation
  6. After installing the kernel, immediately click the buttonMultirom Inject curr.boot sector we do swipe , back and reboot system
  7. The phone turns on and the bootable system selection appears.
On TyrV150 coresand TyrV1-CM13Both systems work, and CM13 (I have the last nightie) and Sailfish OS 2.0.0.10! Starting a secondary operating system can be done from the MultiROM Manager application, and when the phone is rebooted!
This method is only for Cyanogen OS 13 firmware! On other firmware this method may not work!OnCyanogenMod 13.0 JGCAAP Buildsnot working for sure! Startup will be possible only with a permanent replacement of the kernel from Recovery.If you haveCyanogenMod 13.0 JGCAAP Buildsthen you can use the kernelBoeffla (I used beta2) from this post . But starting Sailfish OS only from under the main system from the MultiROM Manager application
Sailfish OS Installation Instructions for Advanced Users
  1. Download and install MultiROM
  2. Download the latest Sailfish OS build
  3. Download the assembly of CyanogenMod
  4. Reboot into Recovery
  5. Go to Advanced>MultiROM>Add ROM
  6. Choose Sailfish OS
  7. Choose Cyanogen rootfs and Sailfish
  8. Install
Sailfish OS Upgrade Instructions for Advanced Users
  1. Download the latest Sailfish OS build
  2. Reboot into Recovery
  3. Open Advanced>MultiROM>List ROMs
  4. Choose your sailfishOS
  5. Choose "Flash a Zip"
  6. Select the downloaded Sailfish OS archive
  7. Install
Sailfish OS Instructions
Basic setting
After installation, bring all the necessary actions on the phone to the end. Finish familiarizing yourself with the device and go directly to the setup itself!
Instructions for working in the application "Terminal"
If you have never worked with a terminal, the following tips may be useful to you.
  • You can use autocomplete of commands, paths and file names by pressing the tab key
  • You can see the commands entered earlier, edit them using the up and down arrow keys (the up / down arrow will show you the history, the left / right arrows will allow you to go to the team to fix something)
  • You can change the font size in the menu (called by clicking on the 3 bars in the upper right corner of the terminal)
SSH Connection Installation Instructions
Why do we need this?
Typing long commands in the terminal on the phone is very inconvenient and time-consuming. Therefore, we are looking for an easy way - we use our computer to enter commands.
  1. Go to "Settings" - "Developer Mode" - enter your password in the "Set Password for SSH ..." field - click "Save"
  2. You will see the IP address below in the developer settings:
    • For dudes on Linux or OS X - just open your terminal
    • For Windows users, you may need to look away.PuTTY
  3. Next, enter in the terminal "ssh nemo @ your IP" and then, your password that was set above (the default username is nemo)
Mobile data
To configure mobile data on your smartphone when installing Sailfish OS, follow these steps:
  1. Open the Settings app
  2. Click on the “Cellular Network” tab
    • Can't find the "Cellular Network" option? Go to the “Terminal” application and run the following code:
      devel-su dconf reset / apps / jolla-settings / maskedSettings

  3. Click the Internet tab
    • If there is no connection, you need to configure the network manually. Hold the Internet tab and then select Settings
    • Find the settings for your provider on Google. Search Words: APN Settings<supplier name>
    • Enter access point name and add username and password if required

  4. Now turn on the Terminal application and enter the following text:
    devel-su systemctl restart statefs
Install Warehouse
  1. Go to "Settings"
  2. Select Unverified Programs.
  3. Check the box "Allow installation of third-party programs." Confirm.
  4. Go to the main settings page.
  5. Go to developer mode
  6. Generate or enter a password. Remember it.
  7. Visit the sitehttps://openrepos.net/content/basil/warehouse-sailfishos
  8. Download the latest version of the program in rpm format (currently harbor-warehouse-0.3-30.armv7hl.rpm)
  9. Open the Terminal application and do the following:
    ssu dr store && ssu dr adaptation0

    devel-su pkcon refresh

    After entering the command, enter the password and confirm
  10. To install RPM, use the command:
    devel-su pkcon install-local Downloads / harbor-warehouse-0.3-30.armv7hl.rpm

    (it is not necessary to enter harbou -..., just enter the first letter and press Tab (see Instructions for working in the "Terminal" application))
  11. Enter the password created in the fifth step. (You will not see the password being entered, and this is not an error.)
  12. Confirm change processing
Install Recommended Applications
  1. Open the Terminal tab
  2. Enter the command
    devel-su

    and press enter. This will give the “Terminal” root privileges.
  3. enter password
  4. Install the kit using pkcon install<package-name>". Browse the list of recommended applications. Install them using the command:
    pkcon install jolla-calculator jolla-calendar jolla-email sailfish-weather jolla-mediaplayer jolla-notes sailfish-office

    You can install the entire list of applications, or you can choose the ones you need
Activation T9
  1. To help words when typing, run the terminal
  2. Enter the command
    devel-su
    and press Enter to get superuser rights
  3. Enter developer password
  4. Enter the command
    pkcon install jolla-xt9 jolla-xt9-cp
    and press Enter
Install OnePlus One Never Settle Theme
  1. Open Settings
  2. Select Unverified Programs
  3. Make sure it is activated. Accept the agreement if necessary
  4. Open the Browser and go to the following link:
    https://github.com/kra...eplus/tree/master/RPMS
  5. Download an rpm file called: harbor-ambience-oneplus-0.1.2-0.3.noarch.rpm
  6. After the download is complete, you will receive a notification. Click on it and the “Transfers” panel will open.
  7. Click on the downloaded file and click "Install"
    • In case of failure, go to the “Terminal” application and type:
      devel-su pkcon install-local Downloads / harbor-ambience-oneplusone-0.1.2-0.3.noarch.rpm

    • enter password
    • Confirm that you want to install harbor-ambience-oneplus (if prompted)

  8. To select the background, go to the "Settings"
  9. Choose Atmospheres
  10. At the end of the list should appear the theme “Never Settle”
Connecting your OnePlusOne smartphone to your computer using MTP
Let's say you want to add music or video to your smartphone when installing Sailfish OS. But when connecting to a computer, you notice that the A0001 does not open. Follow these steps to activate Media Transfer Protocol:
  1. Go to Settings
  2. Select USB from the list
  3. Change ‘Default USB’ mode to connect with computer
    • There are more options, so you can choose “Always” if you change these modes many times
    • Use developer mode for SSH on Sailfish OS using the IP address 192.168.2.15

  4. After changing the settings, connect the device to the computer and start copying
File transfer using SFTP from computer to device and vice versa
You can use SFTP to transfer files using a wireless connection. Make sure you set the developer password and you install the SFTP client on the computer. For example: FileZilla.
The screens that you see here use ForkLift as a search substitute for OS X.
  1. Open the IP address of the OnePlusOne smartphone. This address can be found in the settings as a developer
  2. Open the SFTP section on the computer and find the “Connection” button
  3. Enter the IP address found in Step number 1 as a remote server, use the username and password from the “developer tools” in the settings. Make sure you are using SFTP and Port 22
  4. Click “Connect” and you will see the main internal category on your device
  5. Now you can upload any files

The music download speed was 6 megabytes per second, so for me, anyway, it is much faster than MTP
Instructions for installing audio codecs and libraries required for playback
Outdated Instruction
Run the following commands in order in the Terminal application:
devel-su
Enter the password created in the developer settings
pkcon install gstreamer1.0-libav
cd / home / nemo / Downloads
curl https://openrepos.net/sites/default/files/packages/945/gst-plugins-bad-extra-1.4.5-1.armv7hl.rpm>gst-plugins-bad-extra.rpm
pkcon install-local gst-plugins-bad-extra.rpm
You can start playing music through a media player (you may need to restart the player)
  1. Open the application search in Warehouse
  2. Enter in the search barfaad2
  3. Install the first application on the list firstfaad2
  4. Install the second application on the listGStreamer 1.x bad extra codecs (1.4.5)
  5. Now we enter the search bar into the heapcodec
  6. InstallUltimate Codec Support (A notification will constantly pop up that the Warehouse is not responding - do not touch anything, humbly wait for the installation to finish)
  7. Rejoice! Audio codecs installed!
The same, only through the terminal
ssu addrepo sailfish_lib http://sailfish.openrepos.net/sailfish_lib/personal/main
ssu updaterepo
pkcon refresh sailfish_lib
pkcon install faad2 faad2-devel
pkcon install gst-plugins-ugly gst-plugins-bad-extra gstreamer0.10-ffmpeg-extra
Codes for installing all the libraries from the saolfifh_lib repository
pkcon install a52dec-devel
pkcon install faad2
pkcon install faad2-devel
pkcon install gst-plugins-ugly
pkcon install gst-plugins-bad-extra
pkcon install gstreamer0.10-ffmpeg-extra
pkcon install libdca
pkcon install libdca-devel
pkcon install libvpx
pkcon install libvpx-devel
pkcon install opus
pkcon install opus-devel
pkcon install mutagen
pkcon install python-sip
pkcon install python-sip-devel
pkcon install sip
pkcon install sip-devel

Do not put / swear
pkcon install a52dec
pkcon install python-gstreamer
pkcon install python-pyqt
pkcon install pyqt
How to turn on the sound in the headphones?
For some reason, the sound in the headphones sometimes disappears after a system reboot, so this step will have to be repeated after each Sailfish OS startup!
Open the Terminal application and do the following:
devel-su

Enter the password created in the developer settings
systemctl restart ohmd.service

K
All instructions are current, verified and 100% workable! If you have problems, please contact for help with a detailed description of the errors!

K
For questions about editing or supplementing the instructions, please contactQMS


Post has been editedbikeza - 26.02.16, 06:00
Reason for editing: Instruction corrected and supplemented



Rep: (3)
Is there a review video by chance ??



Rep: (12)
Can I use 11S as the main firmware?



Rep: (51)
Will MultiROM start?



Rep: (141)
Antoxxa76 @ 04/08/2015, 18:15*
Can I use 11S as the main firmware?
As the main firmware, you can use any firmware, including CM11S

Posted on 04/08/2015, 23:38:

beta255 @ 04/08/2015, 16:38*
Is there a review video by chance ??
Look in the topic header

Posted on 04/08/2015, 23:41:

Dahenur Eromart @ 04/08/2015, 19:33*
Will MultiROM start?
purely theoretically it can be! But I have not tried it and I do not advise you! And remember - everything that you do - you do at your own peril and risk!

Post has been editedbikeza - 31.01.16, 07:36



Rep: (93)
They port it very quickly, by the way. As soon as there is a fully working build, I will go to it one hundred percent, I tried it and I really liked it. And since there will also be support for Android applications - then this will generally be a bomb



Rep: (141)
Doctor-E @ 04/09/2015, 04:09*
And since there will also be support for Android applications - then this will generally be a bomb

I’ll deal with system fixes, it may turn out to launch application support! We will wait for at least the first beta



Rep: (91)
In the cap would addhttps: //wiki.merprojec.../Adaptations/libhybris
The fact that sailfish is cool is undeniable. Used it on mako. But without android applications, unrealistic. There is little in warehous. There are analogues of course many applications. But that’s not it.
Remembering the story with the same mako, here the development is faster. There are hopes that there will be a fully working build) we are waiting)



Rep: (51)
Something she did not go with me, neither so nor so ...

Post has been editedbikeza - 31.01.16, 07:38



Rep: (141)
Dahenur Eromart @ 04/09/2015, 20:32*
Something she did not go with me, neither so nor so ...

at what step did you have problems?

Post has been editedbikeza - 31.01.16, 07:40



Rep: (51)
at what step did you have problems?

At the last, loading the body ... The eternal logo ...

Post has been editedDahenur Eromart - 11.04.15, 05:37



Rep: (15)
* Dahenur Eromart,
I had this before, on the first version, which can not be installed with cm12.
What version do you put from the header? On the second, everything is fine.



Rep: (141)
Knikita5 @ 04/11/2015, 06:53*
On the second, everything is fine.

I confirm! I use it now! both cellular communications, and mobile Internet, and Wi-Fi work

Post has been editedbikeza - 01.02.16, 05:05



Rep: (15)
* bikeza In the sense, it is normally put together with cm12. There used to be a bootlap



Rep: (51)
There is Color, I restore the old backup of cm12, I put it in multi-function, .. well, and further on according to the instructions. As a result, the main cm12 is loaded, but Sailfish is not. Put the 2nd version



Rep: (0)
The same problem, maybe only cm 11 works fine with it



Rep: (51)
Installed ...
But now there are problems with the network, do not call, do not write ...
The Jolla account does not see IMEI, because of this it can not be added ...
File manager does not work ...

Post has been editedDahenur Eromart - 11.04.15, 15:36



Rep: (15)
Dahenur Eromart @ 04/11/2015, 18:18*
File manager not working

As an option, there is a terminal. But it’s too inconvenient to type on it.
Dahenur Eromart @ 04/11/2015, 18:18*
The Jolla account does not see IMEI, because of this it can not be added ...

I can’t connect to an existing account. For some reason, the creation of a new one has gone.



Rep: (69)
I'll wait for the third build, they promise to include all the fixes in it. But in general, everything is very good, from the first alpha I follow the topic at the office. forum :)



Rep: (758)
From the first alpha I follow the topic at the office. forum :)

similarly. As soon as they enter support for the Android app, I will change right away. I am of course for native applications, but so far the software will need a little friend


Full version    

Help     rules

Now: 06/28/19, 19:58