OnePlus Nord (oneplus-avicii)

From postmarketOS Wiki
OnePlus Nord
File:Oneplus-avicii.jpg
Stock Android 10 homescreen
Manufacturer OnePlus
Name Nord
Codename oneplus-avicii
Released 2020
Hardware
Chipset Qualcomm Snapdragon 765 5G (SM7250)
CPU Octa-core (1x2.4 GHz Kryo 475 Prime & 1x2.2 GHz Kryo 475 Gold & 6x1.8 GHz Kryo 475 Silver)
GPU Adreno 620
Display 1080 x 2400 (90Hz 6.44" AMOLED)
Storage 64/128/256 GB
Memory 6/8/12 GB
Architecture aarch64
Software
Original software Android
Original version 10
postmarketOS
Category testing
Pre-built images no
Features
Flashing
USB Networking
Internal storage
SD card
Battery
Screen
Touchscreen
Multimedia
3D Acceleration
Audio
Camera
Camera Flash
Connectivity
WiFi
Bluetooth
GPS
NFC
Modem
Calls
SMS
Mobile data
Miscellaneous
FDE
USB OTG
HDMI/DP
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Haptics
Barometer


Contributors

  • rasp

Maintainer(s)

  • rasp

Users owning this device


How to enter flash mode

Via ADB

  • adb reboot fastboot
  • (a menu appears, that says 'fastbootd')
  • English -> Advanced -> Reboot to fastboot -> Reboot to fastboot (confirm)

Via "Advanced Reboot"

  • make sure Settings -> System -> Developer Tools -> Advanced Reboot is enabled
  • hold power+volup button (or just power if you enabled it) and choose Bootloader


Installation

  • Note that currently the device works to a debug-shell in initfs, so you can install boot.img, but not rootfs. Also you can just fastboot boot instead
  • This is an A/B device, so you leave your working slot and play on the other:
pmbootstrap chroot -- fastboot reboot fastboot      # go from fastboot to fastbootD (fastbootd is userspace, sees system partitions)
pmbootstrap chroot -- fastboot getvar current-slot  # should display a or b
pmbootstrap chroot -- fastboot set_active a         # or b, to change active slot 
  • After you ensure you have pmbootstrap up and running
pmbootstrap init                 # choose avicii, downstream kernel
pmbootstrap install
pmbootstrap initfs hook_add debug-shell
pmbootstrap flasher flash_vbmeta
pmbootstrap chroot -- fastboot erase dtbo
# and now you can either boot
pmbootstrap flasher boot
# OR flash boot.img
pmbootstrap flasher flash_kernel

Other notes

See also