nyuuzyou/wikis huggingface dataset:
HMD Global Nokia 6.1 (nokia-PL2)

__TOC__
== 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 + (while connected to the USB) to boot into the fastboot.
== Hardware ==
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.
Touchscreen 	Goodix GT1X	Y 	Mainline driver	
Wi-Fi 	WCN3990 	Y 	Mainline driver	
Accelerometer</br>Gyroscope	BMI160 	Y 	Mainline driver	
Magnetometer 	MMC3630KJ 	N 	 	
Ambient Light</br>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 ==
* LineageOS device page
** LineageOS kernel
** LineageOS common files
** LineageOS device specific files
* W.I.P. Device Tree PR
HMD Global Nokia 6.1 Plus (nokia-DRG)

__TOC__
== Contributors ==
* 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 ==
== Information ==
See the previous gen's page, Nokia 6.1, for more information on the current state.
== How to enter flash mode ==
Hold + (while connected to the USB) to boot into the fastboot.
== Downstream ==
The LineageOS kernel can be used, but it needs a few patches to make it run properly.
== See also ==
* LineageOS device page
** LineageOS kernel
** LineageOS common files
** LineageOS device specific files
HMD Global Nokia 6 (nokia-ple)

== Contributors ==
* YuvarajVelmurugan
* 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 ==
== Information ==
== How to enter flash mode ==
Hold + (while connected to the USB). When the Android logo appears, release .
== See also ==
* Source code from NOKIA official website.
* Kernel source
HMD Global Nokia 7.2 (nokia-daredevil)

== Contributors ==
* User:Selfisekai
== Users owning this device ==
== Variants ==
 Device variants
Model ID	FCC report 	RAM 	Storage	SIM slots	NFC	Notes
TA-1178 	2AJOTTA-1178	 	 	1 	 	
TA-1181 	2AJOTTA-1181	 	 	 	 	
TA-1193 	none 	6 GB	64 GB 	2 	N 	India version
TA-1196 	2AJOTTA-1196	6 GB	128 GB 	2 	Y 	same as TA-1178 except 2 SIM slots - per FCC cover letter
== How to enter flash mode ==
=== Unlock bootloader ===
Bootloader unlocking was originally supported, but HMD Global removed the option in December 2019 upgrade, saying some bullshit about regretting the "inconvenience" of allowing us to use our devices as we want to.
One possible solution is to downgrade the device to an earlier official Android version.
# Perform normal factory reset in settings to erase Google account information, so you won't be locked from FRP
# Power off your phone and connect it to your computer via USB
# Enter fastboot mode by pressing both + + at the same time
# Choose "recovery mode" here with volume keys and power key to confirm
# When you see 'no command' displays on the phone, hold and press once
# Download the ZIP file according to your device model from here https://forum.xda-developers.com/t/experimental-downgrade-this-phone-back-to-android-10.4360147/
# Flash this using ADB using the command adb sideload *update_enchanted.zip
# Go into factory and select 'wipe data / factory reset' again
# Enable OEM unlocking in Developer settings, then boot into fastboot and run fastboot flashing unlock
== Installation ==
Use pmbootstrap to build your own installation image.
$ pmbootstrap init
$ pmbootstrap install --fde
== See also ==
* manufacturer kernel source: https://nokiaphones-opensource.azureedge.net/download/phones/Nokia7.2_V1.400.tar.bz2 (page)
HP Chromebook 11MK G9 EE (google-esche)

== Audio ==
There is a known high pitch sound that rarely occurs when waking up from suspend. To stop the high-pitch sound, you can either restart the Chromebook, or disable suspend.
== Notes ==
The HP Chromebook 11MK G9 EE hardware-wise is nearly identical to the HP Chromebook x360 11MK G3 EE, even having the exact same model name in /proc/device-tree/model, and using its DTS. Any kernel development should be done with mt8183-kukui-jacuzzi-burnet as your DTS.
== Users owning this device ==
HP Chromebook 14 G3 (google-nyan-blaze)

== Contributors ==
* Jenneron
* Segfault
== Users owning this device ==
== Installation ==
See Chrome OS devices page.
* The process to enter developer mode may get stuck with an error visible on the top left corner of the display, if this happens wait a few minutes and then do a hard reboot by holding the Power button, this should leave the device in developer mode once it restarts.
* Initial login in developer mode might not complete. Again power off the device and on reboot your login should be present and you can enable usb boot etc.
== 3D Acceleration ==
See https://gitlab.freedesktop.org/mesa/mesa/-/issues/7710.
HP Jornada 680 (hp-jornada680)

The HP Jornada 680, and the whole Jornada 6XX/7XX range, were little laptops (hand-held PC) released around the turn of the millennium.
== Contributors ==
== Users owning this device ==
== How to enter flash mode ==
== Installation ==
*Format the CF-Card with a small FAT32 partition at the beginning and one or more ext4 partitions
*Build a rootfs and a kernel, for example with buildroot, patching buildroot to support sh3 is left as an exercise for the reader ;)
*Download the bootloader and the configuration file
*Put the bootloader, config and your kernel zImage on the FAT32 partition
*Untar the rootfs onto the ext4 partition
*Adjust the bootloader configuration to the filename of your zImage, and you kernel command line, especially your root partition
*Insert the CF-Card into the Jornada, launch shlo.exe and boot!
== See also ==
* NetBSD for the Jornada and similar devices
* The patches that made mainline linux boot again after ~14 years
* jlime, an old linux distro for the Jornada and similar devices
HP Probook 450 G9

The HP ProBook G9 (i3-1215U model) is a business-oriented laptop released in 2022. It features Intel's 12th-generation Core i3-1215U processor with 8 threads (4 performance cores and 4 efficiency cores), Intel Graphics (ADL GT2), and comes with 8 GB of RAM and a 256.1 GB NVMe M.2 SSD. The laptop is equipped with a 15.6-inch Full HD display and has all the essential connectivity options. However, PostMarketOS (PMOS) is not currently supported on this model.
== Contributors ==
* daedaevibin (대으화)
== Users owning this device ==
== Installation ==
As PostMarketOS does not yet support the HP ProBook G9 (i3-1215U model), installation steps for PMOS are not available.
You may use a generic image in place if this, it is for learning purposes mainly.
== Mainline Work ==
Currently, there is no work being done to support a mainline Linux kernel for the HP ProBook G9 (i3-1215U model) in PMOS. Users who wish to run Linux on the device may need to explore other distributions such as Ubuntu, Fedora, or Arch Linux, which are more likely to be compatible.
== Hardware Support in Standard Linux Distributions ==
* Example distribution: Arch Linux
* Processor: Intel® Core™ i3-1215U 12th Gen (Octa-core: 4x 2.4 GHz, 4x 1.2 GHz)
* GPU: Intel® Graphics (ADL GT2)
* Storage: 256.1 GB NVMe M.2 SSD
* Display: 15.6" Full HD, 60Hz
* Memory: 8.0 GB DDR4
* Architecture: x86_64
* Wi-Fi: Yes (Works with standard drivers in most Linux distros)
* Audio: Yes (Works with ALSA/PulseAudio/Kpipewire)
* Bluetooth: Yes (Works with compatible Linux Bluetooth drivers)
* Camera: Yes (Basic support via UVC drivers in Linux, terrible quality)
* Battery: Yes (Battery status and charging work in Linux)
* XWayland: Yes (Supports XWayland for compatibility with X11 applications)
*Wayland: Yes (tested Via Hyprland Gnome and KDE)
HTC 10 (htc-pme)

== Contributors ==
* stev47
* Medusa
== Users owning this device ==
== How to enter flash mode ==
Boot while pressing "Volume Down".
== Installation ==
$ pmbootstrap init # vendor: htc, device: pme
$ pmbootstrap install
Put the device into flash mode and run
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel
Note that pmbootstrap flasher boot will not work on this device.
== Hardware ==
Component 	Model 	Status	Module 	Notes
SoC 	Qualcomm MSM8996 Snapdragon 820	Y 	 	
GPU 	Qualcomm Adreno 530 	Y 	? 	Should work, including venus
Display 	Tianma HX8396C2 	N 	- 	Some variants might use Sharp display, no driver in mainline
Touchscreen 	Synaptics S3708 	Y 	rmi4 	
eMMC 	SanDisk DF4032 	Y 	sdhci 	EU variant, 32GB
Audio 	Qcom WCD9335, NXP TFA9888 	? 	- 	Speaker amp will need to be re-written, datasheet available
Wi-Fi 	Broadcom BCM4359C0 	? 	brcmfmac	PCI-E device
Bluetooth 	Broadcom BCM4349B1 	? 	btbcm 	
Modem 	Qualcomm MSS 	? 	 	
NFC 	NXP PN548AD 	? 	pn544 	
USB MUX 	Analogix ANX7418 	N 	? 	
USB-C HDMI 	Analogix ANX7816 	N 	anx78xx 	Requires FW, needs to be defined in kernel module (same i2c registers as anx7818)
Front camera	Samsung S5K4E6 	N 	- 	No driver
Rear camera 	Omnivision OV12890 	N 	- 	Seems like Sony IMX377 might be used in some variants
PMIC 	Qualcomm PM8996 	? 	? 	
Fingerprint 	FPC1155 (FPC1020?) 	? 	 	
Hall effect 	Asahi Kasei AK8789 	? 	? 	
Proximity 	STMicro L53L0 	? 	? 	
== Debugging ==
If the device hangs, press and hold vol_down + power. LEDs under the display will flash 15 times and device will reboot.
== See also ==
* Initial merge request
* GSMArena device info
* LineageOS wiki page
HTC Desire (htc-bravo)

== Contributors ==
*drebrez
== Users owning this device ==
== Entering "HBOOT mode" ==
Hold the -Button, and then press the -Button.
== Installation ==
* Unlock (s-off) the bootloader if it hasn't been unlocked before (Unlock the Bootloader of HTC Devices)
* Install everything using an SD card pmbootstrap install --sdcard=/dev/sd?
* Insert the SD-Card on the device
* Boot the device in HBOOT mode and select fastboot (Make sure it says "FASTBOOT USB", not "HBOOT USB PLUG")
* Flash kernel using pmbootstrap flasher flash_kernel
* Reboot
== Additional information ==
=== Device partitions ===
dev: size erasesize name
mtd0: 000a0000 00020000 "misc"
mtd1: 00480000 00020000 "recovery"
mtd2: 00300000 00020000 "boot"
mtd3: 0fa00000 00020000 "system"
mtd4: 02800000 00020000 "cache"
mtd5: 093a0000 00020000 "userdata"
These MTD partitions only work with YAFFS, which we don't handle properly yet. See also: Partition-layout#Future_ideas
== Links ==
* spezi77's Kernel
*
*
== Photos ==
* Initramfs asking for the password via telnet
* PostmarketOS demo menu (XWayland)
HTC Desire 610 (htc-a3ul)

== Contributors ==
* 322997am
== Maintainer(s) ==
* 322997am
* Shrimpboyho3
== Users owning this device ==
== How to enter flash mode ==
One needs to install via android recovery zips, please enter into TWRP for flashing. To access fastboot, hold power and volume down at the same time for 5-10 seconds.
== Installation ==
One needs to copy the dtb from TWRP. The procedure is identical to the HTC Desire 816 single SIM (htc-a5ul). pmbootstrap install must be ran with --android-recovery-zip, as flashing does not work via fastboot. 
== See also ==
* Initial merge request (Closed, not merged)
HTC Desire 620 (htc-a31ul)

== Contributors ==
== Maintainer(s) ==
== How to enter flash mode (HBOOT) ==
* Power off the phone
* Press volume down
* Keep volume down pressed, and press power button.
== How to turn off the phone ==
== Installation ==
== Mainline ==
Because this device has an MSM8916 it is a great mainline candidate.
HTC Desire 816 single SIM (htc-a5ul)

== Contributors ==
* Aerotinge
== Maintainer(s) ==
* Aerotinge
== Users owning this device ==
== How to enter flash mode (HBOOT) ==
* Power off the phone
* Press volume down
* Keep volume down pressed, and press power button.
== How to turn off the phone ==
Hold power button for ten seconds.
== Installation ==
* Install 
** using an microsd card (replace mmcblk0 with your sd slot, recommended): pmbootstrap install --sdcard=/dev/mmcblk0
** until is fixed, it is necessary to copy the extracted QCDT from a known working ROM such as the TWRP image (see ):
*** sudo cp ~/mkbootimg/boot.img-dtb ~/.local/var/pmbootstrap/chroot_rootfs_htc-a5ul/boot/dt.img
** using /data partition pmbootstrap flasher flash_rootfs --partition userdata 
* Insert the microsd card on the device
* Connect usb cable to your phone and boot it into flash mode (HBOOT)
* Select "FASTBOOT" by volumes and power button. Make sure it displays "FASTBOOT USB" on top.
** Boot kernel using pmbootstrap flasher boot(recommended)
** Flash kernel using pmbootstrap flasher flash_kernel, then reboot.
== Misc ==
The device is similar to the 2014 flagship HTC One M8 (htc-m8) in many aspects.
Some resources can be shared between two devices.
== Links ==
* initial pull request
* Current working kernel source
HTC Desire 820 Dual SIM (htc-a51dtul)

== Contributors ==
* Natsu
* rom4nik
* Modzel
== Users owning this device ==
== How to enter flash mode ==
In Power off state, use Volume- & power key to enter Hboot, and directly select the fastboot interface. Seems this fastboot interface can't use general fastboot for flashing partition, need to use another method to flash.
== Installation ==
"The device must as S-OFF mode for installing custom kernel!"
== lk2nd ==
todo: update with relevant information from https://github.com/msm8916-mainline/lk2nd/pull/316
It seems that HBOOT has a bug (or feature?) that allows to boot lk2nd without matching .dts in image flashed to boot partition, by reusing previous devicetree from another boot "stage". This lets you boot prebuilt lk2nd-msm8916-appended-dtb.img for further tinkering. Here's two ways to trigger that behavior:
* Select HBOOT, choose recovery, then reboot into system or run adb reboot. 
* If the above is not possible (TWRP images seem scarce for this model) choose power down in HTC fastboot, plug charger, then once animated screen is shown hold power button. Phone should reboot into lk2nd.
In both cases you should be getting MODEL - Unknown (FIXME!) since lk2nd couldn't find a compatible = [..], "lk2nd,device"; in the DTB.
Button mapping is incorrect - volume up scrolls selection one way (possibly mapped as volume up), power scrolls another (possibly mapped as volume down), volume down does nothing. Haven't found a way to select an option. Once it's possible to get proper .dts selected by HBOOT the buttons should be fixable, see htc-m8qlul.dts.
Rebooting by fastboot reboot in HBOOT/lk2nd will cause HBOOT to forget the previous devicetree. Similarly, rebooting from recovery to recovery shows checking devicetree in HBOOT UART logs.
As of now I've had no luck getting custom .dts to be picked up by HBOOT, it'll complain about [FATAL] Invalid dtb header in UART log. However, lk2nd used to be able to pick up the .dts when using fastboot boot in it, but currently gives me panics after Cannot update chosen node [bootargs].
== UART ==
You can connect to the ground by soldering to the pin shown in picture above or just using some part of the motherboard's ground plane, e.g. a screw hole or the large copper shielding. Be aware that UART high level (logical 1) is 1.8 V. UART decoder settings: baud rate - 115200, parity - none, data bits - 8.
== Notes ==
* this device is named as Desire 820u (d820u), not d820s
* the system image is same as Desire 820 Single SIM, but device tree image is different.
* fastboot oem dmesg can be used in HBOOT to get some logs, even if S-ON
HTC Desire C (htc-golfu)

== Contributors ==
* User:Newbyte
== Maintainer(s) ==
* User:Newbyte
== Users owning this device ==
== How to enter flash mode ==
See instructions for HTC_One_V_(htc-primou). They're the same for this device. Note that you may need to disable "fast boot" (not to be confused with fastboot) in settings.
== Installation ==
See instructions for HTC_One_V_(htc-primou). They're the same for this device.
== Notes ==
=== Kernel ===
==== GCC 10 ====
I initially attempted to build the kernel with GCC 10. This worked fine, however the phone would immediately reboot after booting the kernel, so I switched to GCC 6 which after some additional tweaks got me into Xfce.
==== Issues ====
Device reboots by itself after a few minutes. Probably some watchdog that needs to be fed.
=== User Interfaces ===
I initially attempted to start Weston. It did not start. Xfce4 started just fine, however note that it takes a while to start and the screen will turn black twice.
== See also ==
* Initial merge request
HTC Desire S (htc-saga)

=== What works ===
* Kernel compilation
* Boot from fastboot (pmbootstrap flasher boot)
* Initramfs boot
* USB Network
* Framebuffer graphics (Splash screens)
* SSH Connectivity
* Weston on framebuffer
=== What does not work ===
* Flash Rootfs (pmbootstrap flasher flash_rootfs)
* Everything else
=== Booting ===
* Unlock (s-off) the bootloader if it hasn't been unlocked before (htcdev unlock site)
* Hold the button, and then press the button
* Wait for device to boot in HBOOT mode and select FASTBOOT (Make sure it says "FASTBOOT USB", not "HBOOT USB PLUG")
* Boot kernel using pmbootstrap flasher boot
=== Links ===
* OpenDesireProject's Kernel
=== Photos ===
* PostmarketOS demo menu (XWayland)
HTC Desire X (htc-protou)

== Contributors ==
* feinerer
== Maintainer(s) ==
== Users owning this device ==
== What works ==
* USB Network
* Framebuffer graphics (Splash screens)
* SSH Connectivity
* Touchscreen
* Wi-Fi
* Xwayland
* Weston on framebuffer
== How to enter fastboot mode ==
Hold buttons to enter the Bootloader and select Fastboot then with a .
== Installation ==
== See also ==
* Initial merge request
* 
* 
== Photos ==
File:htc_desire_x_thunar.jpg|thumb|left|Thunar file manager on Weston
HTC Droid DNA (htc-monarudo)

== Contributors ==
* Ross Schulman
== Current Status ==
* Kernel builds
* Trying to boot the kernel with fastboot boot ... freezes the phone, as does using pmbootstrap.py flasher boot
* Trying to flash the kernel with pmboostrap.py flasher flash_rootfs or flash_kernel results in a remote:not allowed error, although this may be related to a corrupted partition table on my particular device.
== What works ==
* Nothing yet
== Links ==
* Working branch
* Working branch
* Working CM boot.img and non-working pmOS kernel binaries
== Partition layout ==
device 	size 	filesystem	description
mmcblk0p16	25 MiB 	vfat 	~
mmcblk0p17	5 MiB 	vfat 	~
mmcblk0p24	10 MiB 	ext4 	~
mmcblk0p31	48 MiB 	vfat 	~
mmcblk0p32	928 MiB	ext4 	android system
mmcblk0p33	320 MiB	ext4 	android cache
mmcblk0p34	5.8 GiB	ext4 	android userdata
== What have I tried so far ==
* Pulling flash offsets from two different dlx ROMS. Both match each other and what we're using.
* adb pushing the .img file and attempting to use dd to write into the system partition. Only succeeded in mangling the partition.
* Reflashing CM-12 just to be sure that the phone isn't totally bricked, but CM installs just fine and boots properly.
== Some theories ==
* Ross Schulman's particular HTC Droid DNA is individually broken and/or not unlocked properly (but see the ability to flash and boot multiple different CyanogenMod versions)
* Somehow the offsets are incorrect (haunting feeling this is it, but numbers were taken from previously mentioned CyanogenMod boot.img)
* The dlx doesn't actually use the m7's kernel at all (this doesn't seem plausible given the number of places that have indicated it is true)
* Ross is just mis-executing commands in some fundamental ways (the most likely of the bunch)
HTC HD2 (htc-leo)

== Contributors ==
* Langoor
* (others on IRC)
* Dominduchami
* (others on the Matrix chat : Henri Dellal, knuxify and others) 
== What works ==
* Kernel boots
* Display and touchscreen works
* Boots with xfce and mate (UI's that require 3D acceleration are not working)
* Wifi works correctly
== What does not work ==
* Usb networking
* 3D acceleration
* Everything else
== Bootloaders ==
Because of the age of the HD2, there are serval 3rd party bootloaders available, most commonly used:
* Haret, Haret is a bootloader (provided as haret.exe) to boot linux or android from WITHIN windows mobile, you start windows mobile, not a great choice for postmarketOS.
* a(MagLDR), proprietary 3rd party bootloader developed by Cotulla and DFT, some folks over at Tytung's android forum, tried to reverse engineer it and created aMagLdr (1.13.04), unfortunately still proprietary
*cLK, based on littlekernel and download possible with cwm or twrp recovery embedded, seems to be the best option. Littlekernel also provides fastboot wich is handy. Only this bootloader is tested right now.
* An open source port of EDK2 is available here
== Mainline Kernel ==
A close-to-mainline kernel port is available here
with basic support for :
* screen via the EFI framebuffer
* interrupt controller
* timer
== Installation ==
* Install HSPL
* Install the CLK bootloader
MAGLDR would probably also work, but using CLK is easier because of fastboot access.
* Install the rootfs using an SD Card pmbootstrap install --sdcard=/dev/sd?
* Insert the SD Card
* Boot the device into the CLK bootloader
* Flash the kernel to the boot partition using pmbootstrap flasher flash_kernel (flashing to the additional partitions such as sboot or tboot should work too)
* Select the first option (or the other boot partion if it was chosen in the previous step) to boot the kernel.
Flashing the rootfs and the kernel to NAND would probably work on the T-mobile US version of HD2 (it has 1gb of storage space), but it is untested for now.
== Hardware ==
* USB: ci-hdrc-usb2
* Light sensor: Capella CM3602
* Wi-Fi: Broadcom BCM4329
* Magnetometer: Asahi Kasei AK8976A
* Battery charger: DS2746
== How the wlan support was done ==
* Find what wlan chip is being used : bcm4329 in this case
* Read WiFi page
* Check what package contains firmware for the chip, in this case it is "firmware-aosp-broadcom-wlan"
* Change the firmware path in the kernel config
* Add a nonfree_firmware section :
nonfree_firmware() {
	pkgdesc="Wifi firmware"
	depends="firmware-aosp-broadcom-wlan"
	mkdir "$subpkgdir"
}
* Update checksums, rebuild device and linux packages and boot the device
== See also ==
* Merge request
* 
*
HTC Incredible S (htc-vivo)

== Contributors ==
* Aerotinge
== Maintainer(s) ==
* Aerotinge
== What has not been tested ==
* Accelerometer, GPS, light sensor
* Wifi, Bluetooth, RIL
* Camera
* Battery
== How to enter flash mode (HBOOT) ==
* Power off the phone
* Press volume down
* Keep volume down pressed, and press power button.
== How to turn off the phone ==
Hold power button for ten seconds, or simply remove the battery.
== Installation ==
* Install 
**using an microsd card (replace mmcblk0 with your sd slot)pmbootstrap install --sdcard=/dev/mmcblk0(recommended)
**using /data partition pmbootstrap flasher flash_rootfs --partition userdata 
* Insert the microsd card on the device
* Connect usb cable to your phone and boot it into flash mode (HBOOT)
* Select "FASTBOOT" by volumes and power button. Make sure it displays "FASTBOOT USB" on top.
** Boot kernel using pmbootstrap flasher boot(recommended)
** Flash kernel using pmbootstrap flasher flash_kernel, then reboot.
== Misc ==
The device shares the msm8x55 platform with other hTC devices, such as the One V (Primou).
== Links ==
*Current working kernel source
*Detailed device partitions
*
*