Code Monkey home page Code Monkey logo

pmos-oneplus6's Introduction

postmarketOS for the OnePlus 6/T

This installation method is OUT OF DATE AND WILL NO LONGER BE RECOMMENDED. Please see the list of supported installation methods on the wiki

https://wiki.postmarketos.org/wiki/OnePlus_6_(oneplus-enchilada)

This flashable installer uses a custom initramfs, meaning any kernel updates after install WILL soft brick your device as the ramdisk is replaced. Please reach out if you're interesting in merging the installer and ramdisk capabilities (booting from an image) into the postmarketOS ramdisk!


postmarketOS aims to be a completely free and Open Source Linux distro for mobile phones, here I release custom TWRP compatible zips for the OnePlus 6 and 6T to simplify the installation procedure and let you check out Mainline Linux on your phone!

If you want to stay up with the latest development, follow me on Twitter, and join the Discord!

Twitter Badgeโ€ƒDiscord

The discord is also bridged to Telegram and to Matrix.

Pictures

App list Neofetch output

Important Info

BEFORE downloading and flashing please READ THE REST OF THIS README, also acquainted with the wiki page, specifically note the available features table and the issues section.

These builds are for testing and development and are not expected to be stable

Instructions

Download

Check out the releases tab.

Install

You can rename the file to pick which slot to flash to, find out your currently active slot by checking the reboot menu in TWRP. It is recommended to flash to the inactive slot so that you can return to Android by simply switching back. Available slots are: ["a", "b"].

Simply boot into TWRP, flash the zip and reboot, the installer will automatically put you on the right slot and set everything up.

PLEASE NOTE: You can NOT install TWRP or any custom recovery on the slot running postmarketOS, it will not boot due to modifications made by the installer, it will also break postmarketOS.

Login

Username: user
Password: 1234.

You can change both of these in settings. Note that you won't be able to unlock the device if you use a non-numeric password.

postmarketOS

In the future, I hope to be able to make use of the postmarketOS setup which will allow you to pick your own username, password etc, however it curently doesn't support Android devices, we're hoping to change this in the future (#3).

Known issues

  • The gnome software center isn't able to fetch a list of available packages, however it's still possible to search for and install software, e.g. search "2048" for a bit of fun :P

  • The device may occasionally boot into crashdump mode shortly before / after reaching UI, this is a known issue.

Switching back

When you're done playing with postmarketOS, switch back to Android by rebooting into bootloader and running the following command on your PC:

fastboot --set-active=SLOT

Where SLOT is the slot with android installed, that will be the opposite slot to the one in the zip file name.

If your Android is rooted you can install the Switch My Slot app to switch to postmarketOS without PC.

If you wish to keep your postmarketOS install, make sure not to flash any updates from Android as they will overwrite it.

Creating an issue

If your issue is with software, ie display brightness doesn't work, you must fetch full output logs by running the following command, and attach them to the issue via pastebin or a similar service.

Run the following with your device connected via USB:

ssh [email protected] dmesg > dmesg.log

The command will create a file called dmesg.log on your host which you should upload to a pastebin service when opening an issue here.

If you have an issue that prevents postmarketOS from booting (nothing appears on your host), please include a detailed description of the problem, if I can't understand or reproduce the problem then I won't be able to help. I may ignore issues that do not meet these requirements.

pmos-oneplus6's People

Contributors

calebccff avatar roihershberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pmos-oneplus6's Issues

Update broke wireless network

uname -r yields the following: 5.11.0-postmarketos-qcom845
After an update yesterday (apk update && apk upgrade) and a reboot, my OP6 booted into PMOS without any wifi indicator or any wireless option available in settings. Also, the battery indicator shows only a question mark although the unit should be fully charged.

I have tried to restart the networkmanager from the cli, but still the same. There is no iwd option available from the shell.

Any other commands I can try to get it running?

USB OTG is not working

I haven't been able to get any form of USB OTG functionality working on this device. I've tried several USB-C to A adaptors, Flash drives, USB hubs and yet I can't get anything to show up with lsusb.

is this a known issue? if so, are there any workarounds?

Clarification around Not Installing TWRP to the Slot You Want PmOS On

The README warns that "You can NOT install TWRP or any custom recovery on the slot running postmarketOS, it will not boot due to modifications made by the installer, it will also break postmarketOS." but, as far as I understand things (i.e. have Googled), the most recent version of TWRP for both the OnePlus 6 and 6T installs to both slots, without consulting beforehand.

Am I misunderstanding something (very possible)? Or is this just saying to never install TWRP since there's no way to do so without, in turn, installing to the slot you'll, eventually, put PmOS on?

Synaptic touch driver

I noticed that libinput reports the touchscreen being a Synaptics S3706B but from my research it appears it is actually the Synaptics S3320.

Refereneces:
Oneplus 6 http://www.deviceinfohw.ru/devices/item.php?item=151132
Oneplus 6T http://www.deviceinfohw.ru/devices/item.php?item=142394
The S3302 is used on the 6 and 6T plus a bunch of other Oneplus phones: 2, 3, 3T, 5, 5T

Oneplus seem to only use the S3706 on the Oneplus 7 Line of phones
Oneplus 7 http://www.deviceinfohw.ru/devices/item.php?item=51420

I am not sure if the information on the deviceinfohw site is correct or if the difference matters. I found it because there is a problem with the touchscreen with Gnome40 (now in the testing repo) and I wonder if this could have some effect.

PS. Thank you very much for you work on these phones. I bought a 6T just to play with Postmarket, the idea of a mainline phone this powerful is what dreams are made of.

Stuck at empty kernel messages screen after update

Hi, on a fresh install of this distribution I have updated every package, leaving for last linux-postmarketos-qcom-sdm845, then I rebooted, updated it from 5.11-r2 to 5.12.15-r0 and rebooted again. Now at boot the device is stuck on an empty kernel messages screen, the only things visible are the Tux row and underneath it the blinking cursor. I don't know where to start to try tackle this problem. Do you have any clue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.