HCL:Oneplus 6

Jump to: navigation, search
Oneplus booting to a graphical user interface

OnePlus 6 and OnePlus 6T are two devices with similar characteristics on which openSUSE can be installed. Only openSUSE Tumbleweed is supported.

Technical Data

  • Qualcomm Snapdragon 845 (SDM845)
  • Octa-core (4x 2.8 GHz Kryo 385 Gold 4x 1.7 GHz Kryo 385 Silver)
  • 6GB/8GB of RAM
  • Adreno 630
  • 5.95″ LCD 1440×720, 18:9 aspect ratio (hardened glass)
  • 64GB/128GB/256GB eMMC
  • 4 external buttons: slider, up, down and power

Installing openSUSE in a Oneplus 6/6T

This is a device with special treatment do we have to has access to fastboot to be allowed to install openSUSE.
  1. Download the image you want from here. Make a choice of phone enviroments:
    Geeko-white.png
    GNOME Shell adaption for small devices.
    This files are created from general download directory for the images builded from openSUSE OBS, the use this scripts to create your own image, taking care of .env file.
  2. Unzip the file downloaded
  3. Reboot to Fastboot and execute this commands:
    All previous data on the storage unit will be lost. Check first if the device you have selected is really the correct one!
    fastboot flash boot <openSUSE-Tumbleweed-ARM-PHOSH-.aarch64.boot.img>
    fastboot -S 100M flash userdata <openSUSE-Tumbleweed-ARM-PHOSH-.aarch64.root.img>
    fastboot erase dtbo
    

    Use the name of files from downloaded ZIP. If you have problems after first start try executing "fastboot erase userdata" in first step.

    Do not reboot via the power button on the device! This can result in not all data being properly written to storage, corrupting the rootfs and resulting strange behaviour. Always use "fastboot reboot" after flashing.
  4. After first start, boot process may take a time, because to have cryptoluks setup we have to change partitions in first boot, after a while it should reboot, then it will ask you for the new password for LUKS, and starts the process to encrypt device, this may take a while, we recommend you to take a coffee, and maintain the the device up
The default login goes with the username phablet and the password 1234.
The root user's password is linux, you should set a different one using sudo passwd root.
During the first boot, the screen may stay black for about one minute. This is totally normal, and will happen as long as we are using Plymouth. Consequent boots should take less time.
Icon-warning.png
Warning: In openSUSE Tumbleweed the correct way to update the system through the terminal is using zypper dup, not zypper up.

Apps

The recommended ways to install software are: Zypper, OBS Package Installer, GNOME Software, Discover and Flatpak. We have the cnf (cannot find) tool to search what packages provide certain binaries, e.g. cnf gpspipe; this only works for repositories already on your system.

Flathub has to be enabled as it comes disabled by default.

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Programs already ported by the openSUSE community on Open Build Service can be installed using opi, e.g. opi kweather. We recommend you have the Packman repository added, so you can install software with restricted licenses, like many codecs.

Users can switch the package manager from zypper to dnf if desired, just make sure to copy the repositories where they belong, in order to switch simply execute the following commands:

zypper in dnf PackageKit-backend-dnf

This will prompt for a conflict with the package PackageKit-backend-zypp, proceeding will replace the PackageKit backend.

cp -t /etc/dnf/repos.d/ /etc/zypp/repos.d/*

Do not link both folders to prevent issues down the line. Once you transfered the repositories, check our wiki for more information.


Contributing

If you want to contribute in packaging, testing or have any suggestions, don't hesitate to contact us via: