Difference between revisions of "User:Kreyren/oneplus2"

From postmarketOS
Jump to navigation Jump to search
(Remove infobox from user page)
Tags: Mobile edit Mobile web edit
 
Line 1: Line 1:
{{Infobox device
 
| name = OnePlus Two
 
| manufacturer = OnePlus
 
| codename = oneplus-oneplus2
 
| image = File:oneplus2-weston.jpg|200px
 
| imagecaption = OnePlus Two running Weston
 
| releaseyear = 2015
 
| originalsoftware =  Android 5.1.1
 
| chipset = Qualcomm MSM8994 Snapdragon 810
 
| cpu = Octa-core 64-bit Quad-core 1.77 GHz Cortex-A57
 
| gpu = Adreno 430 650 MHz
 
| display = 1080x1920 Full HD IPS LCD In-Cell
 
| storage = 16 or 64 GB eMMC v5.0
 
| memory = 3 or 4 GB LPDDR4 RAM
 
| battery = 3,300 mAh Li-Po
 
| architecture = aarch64
 
| status_usbnet = N
 
| status_flashing = N
 
| status_touch = Y
 
| status_screen = Y
 
| status_wifi = N
 
| status_xwayland = N
 
| status_fde = N
 
| status_mainline = N
 
| status_battery = N
 
| status_3d = N
 
| status_accel = N
 
| status_audio = N
 
| status_bluetooth = N
 
| status_camera = N
 
| status_gps = N
 
| status_mobiledata = N
 
| status_sms = N
 
| status_calls = N
 
| booting = yes
 
}}
 
 
 
== Krey's checklist ==
 
== Krey's checklist ==
 
* [] Supperior to LineageOS
 
* [] Supperior to LineageOS

Latest revision as of 08:44, 28 March 2020

Krey's checklist

  • [] Supperior to LineageOS
 * Installation is hell
 * GUI is insufficient 

Contributors

What works

  • Kernel compilation (?)
  • Flashing system (?)
  • Booting kernel via fastboot (?)
  • initramfs boot (?)
  • Flashing kernel (?)
  • USB network (?)
  • SSH connectivity (?)
  • Weston (?)
  • Touchscreen (?)

What does not work

  • Wi-Fi (blob needed) (?)
  • Hardware-accelerated graphics (?)
  • Phosh (Requires DiRM)
  • Charging screen thing

How to enter flash mode

From a power off state, hold the volume up and power buttons until the device vibrates. The display should then light up and say "Fastboot Mode".

Kernel Configuration

command: pmbootstrap kconfig edit oneplus-oneplus2


Serial Cable

FIXME

Direct Rendrering Interface

Wayland-based user environment won't work on a kernel without DiRM (?) - Relevant https://wiki.postmarketos.org/wiki/DRM

Installation

FIXME: This does not work

I ran into networking issues with default installation procedure ( install-> flash_rootfs -> flash_kernel) Get it working by installing recovery with TWRP:

pmbootstrap install --android-recovery-zip

WARNING(FIXME): Results in 'boot partition not found'

next copy zip file to device and install it using twrp

in fastboot mode :

pmbootstrap flasher flash_kernel


Use instead because fastboot is broken(?) :

pmbootstrap flasher --method=adb sideload

Links