Jump to content

HMD Global Nokia 6.1 (nokia-PL2): Difference between revisions

From postmarketOS Wiki
initial hw list
mNo edit summary
 
(23 intermediate revisions by 10 users not shown)
Line 6: Line 6:
| imagecaption = Nokia 6.1
| imagecaption = Nokia 6.1
| releaseyear = 2018
| releaseyear = 2018
| originalsoftware = Android 8.1 Oreo
| originalsoftware = Android
| chipset = Qualcomm SDM630 Snapdragon 630  
| originalversion = 8.1
| extendedversion = 10
| pmoskernel = 4.4.302
| chipset = Qualcomm Snapdragon 630 (SDM630)
| cpu = Octa-core 2.2 GHz Cortex-A53
| cpu = Octa-core 2.2 GHz Cortex-A53
| gpu = Adreno 508
| gpu = Adreno 508
| storage = 32/64 GB
| storage = 32/64 GB
| display = 1080x1920 LCD
| display = 1080x1920 IPS
| memory = 3/4 GB
| memory = 3/4 GB
| architecture = aarch64
| architecture = aarch64
| type = handset
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet = <!-- USB networking does work? then put Y here and delete this comment -->
| status_usbnet = P
| status_flashing = <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| status_flashing = Y
| status_touch = <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_touch = P
| status_screen = <!-- The display is working? -->
| status_screen = P
| status_wifi = <!-- Wireless network works? -->
| status_wifi =  
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_xwayland =  
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_fde =  
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline = P
| status_battery = <!-- Charging the battery with charging-sdl is possible -->
| status_battery = P
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d =  
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_audio =  
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_bluetooth =  
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera =  
| status_camera = <!-- Taking photos and videos works. -->
| status_gps =  
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_mobiledata =  
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
| status_sms =  
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_calls =  
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_otg =
| status = hasn't been attempted yet
| status_nfc =  
| status_otg = <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
| status_usba = -
| status_nfc = <!-- Near-Field Communication (NFC) works -->
| status_hdmidp = -
| status_irtx = <!-- Infrared (IR) port works -->
| status_keyboard = -
| booting = no <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| status_touchpad = -
| status_irtx = -
| status_trustzone =
| status_accel =
| status_magnet =
| status_light =
| status_proximity =
| status_hall = -
| status_barometer = -
| status_powersensor = -
| status_fossbootloader =
| booting = yes
| packaged = no
}}
}}
{{Based on SoC|Qualcomm_Snapdragon_630_(SDM630)|Snapdragon 630}}
__TOC__


== Contributors ==
== Contributors ==
* [[User:FieryFlames|FieryFlames]]
* [[User:FieryFlames|FieryFlames]]
* [[user:Frost_I7|Frost_I7]] (''I'll try to keep the wiki page up-to-date with the available info when I'm active.'')


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
<!--
== Information ==
-->


== How to enter flash mode ==
== How to enter flash mode ==
From the [https://wiki.lineageos.org/devices/PL2/ LineageOS Wiki page for PL2]:
Hold {{Button|Power}} + {{Button|Volume Down}} (while connected to the USB) to boot into the fastboot.


Recovery: With the device powered off and plugged into USB port, hold Volume Up + Power. Keep holding both buttons until the “Android One” logo appears on the screen, then release Power but keep holding Volume Up.
<!--
 
== Installation ==
Bootloader/Fastboot/Download: With the device powered off and plugged into USB port, hold Volume Down + Power.
-->
 
 
<!-- -== Installation == -->
<!-- add more sections below as necessary, e.g. WiFi, photos, ... -->


== Hardware ==
== Hardware ==
* Work in progress list of HW in Nokia 6.1
{{note|W.I.P.}}
{| class="wikitable"
{|class="wikitable feature-colors"
! Feature
! Feature
! Hardware
! Hardware
! Downstream driver
! Mainline
! Mainline driver
! Links
! Notes
|-
|-
! Touch
| GPU
| focaltech8716, goodix-gt1x
| Adreno 508
| [https://github.com/LineageOS/android_kernel_nokia_sdm660/tree/lineage-18.1/drivers/input/touchscreen/focaltech_touch focaltech_touch], [https://github.com/LineageOS/android_kernel_nokia_sdm660/tree/lineage-18.1/drivers/input/touchscreen/gt1x gt1x]
| Y
| ??? possibly [https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/edt-ft5x06.c edt-ft5x06] could be modified for focaltech, [https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/goodix.c goodix] for goodix maybe
| [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/msm/adreno/a5xx_gpu.c Mainline driver]
|
|-
|-
! Accel/Gyro
| Panel
| FT8716
| N
|
| Works with the simple panel driver.
|-
| rowspan=2 | Touchscreen
| Focaltech
| Y
| [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/input/touchscreen/edt-ft5x06.c Mainline driver]
| Not the exact same chip, but the driver works.
|-
| Goodix GT1X
| Y
| [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/input/touchscreen/goodix.c Mainline driver]
|
|-
| Wi-Fi
| WCN3990
| Y
| [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/wireless/ath/ath10k Mainline driver]
|
|-
| Accelerometer</br>Gyroscope
| BMI160
| BMI160
| ???
| Y
| [https://github.com/torvalds/linux/tree/master/drivers/iio/imu/bmi160 bmi160]
| [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/imu/bmi160 Mainline driver]
|
|-
|-
! Als/Ps
| Magnetometer
| stk3x1x
| MMC3630KJ
| ???
| N
| [https://github.com/torvalds/linux/blob/master/drivers/iio/light/stk3310.c stk3310]
|
|-
| Ambient Light</br>Proximity
| STK3X1X
| Y
| [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/light/stk3310.c Mainline driver]
|
|-
|-
! Magnetometer
| MMC3630KJ
| ???
| ???
|}
|}
== GPU ==
The freedreno driver currently suffers from bugs causing large amounts of rendering artifacts on FD5xx chips. This can be worked around, at least for Phosh, by setting the environment variable <code>FD_MESA_DEBUG=inorder,gmem</code>.
== Mainline ==
== Mainline ==
Mainline should be somewhat easy to get booting on Nokia 6.1, there is already support for sdm630 in mainline.
The mainline kernel is somewhat easy to get up and running. The only things missing are the device tree and drivers for a ''few'' things.
 
== Downstream ==
The LineageOS kernel can be used, but it needs a few patches to make it work ''properly''.


== See also ==
== See also ==
* [https://github.com/LineageOS/android_kernel_nokia_sdm660 LineageOS kernel]|
* [https://wiki.lineageos.org/devices/PL2/ LineageOS device page]
* [[Qualcomm_Snapdragon_660_(SDM660)|SDM630 Snapdragon 630]]
** [https://github.com/LineageOS/android_kernel_nokia_sdm660 LineageOS kernel]
<!--
** [https://github.com/LineageOS/android_device_nokia_sdm660-common LineageOS common files]
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.
** [https://github.com/LineageOS/android_device_nokia_PL2 LineageOS device specific files]
* {{Device package|DEVICE_CODENAME}}
* [https://github.com/sdm660-mainline/linux/pull/6 W.I.P. Device Tree PR]
* {{Kernel package|DEVICE_CODENAME}}
-->

Latest revision as of 10:53, 3 April 2025

This device has been tested with postmarketOS, but its device package has not yet been added to the postmarketOS repositories.
This means that it cannot be selected in pmbootstrap.
HMD Global Nokia 6.1
Nokia 6.1
Nokia 6.1
Manufacturer HMD Global
Name Nokia 6.1
Codename nokia-PL2
Released 2018
Type handset
Hardware
Chipset Qualcomm Snapdragon 630 (SDM630)
CPU Octa-core 2.2 GHz Cortex-A53
GPU Adreno 508
Display 1080x1920 IPS
Storage 32/64 GB
Memory 3/4 GB
Architecture aarch64
Software
Original software Android
Original version 8.1
Extended version 10
postmarketOS
Category testing
Pre-built images no
Mainline partial
postmarketOS kernel 4.4.302
Features
Flashing
Works
USB Networking
Partial
Internal storage
No data
SD card
No data
Battery
Partial
Screen
Partial
Touchscreen
Partial
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
No data
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Haptics
No data

Contributors

  • FieryFlames
  • Frost_I7 (I'll try to keep the wiki page up-to-date with the available info when I'm active.)

Users owning this device


How to enter flash mode

Hold Power + Volume Down (while connected to the USB) to boot into the fastboot.


Hardware

Note W.I.P.
Feature Hardware Mainline Links Notes
GPU Adreno 508 Y Mainline driver
Panel FT8716 N Works with the simple panel driver.
Touchscreen Focaltech Y Mainline driver Not the exact same chip, but the driver works.
Goodix GT1X Y Mainline driver
Wi-Fi WCN3990 Y Mainline driver
Accelerometer
Gyroscope
BMI160 Y Mainline driver
Magnetometer MMC3630KJ N
Ambient Light
Proximity
STK3X1X Y Mainline driver

GPU

The freedreno driver currently suffers from bugs causing large amounts of rendering artifacts on FD5xx chips. This can be worked around, at least for Phosh, by setting the environment variable FD_MESA_DEBUG=inorder,gmem.

Mainline

The mainline kernel is somewhat easy to get up and running. The only things missing are the device tree and drivers for a few things.

Downstream

The LineageOS kernel can be used, but it needs a few patches to make it work properly.

See also