nyuuzyou/wikis huggingface dataset:
Google Pixel 3 (google-blueline)

== Contributors ==
* hreikin
* Caleb
* drakulix
== Users owning this device ==
== How to enter flash mode ==
Unplug from USB and hold and until you see a screen with a red triangle titled "fastboot mode".
== Installation ==
=== Prerequisites ===
==== Upgrade ====
Before installing postmarketOS, it is recommended that you update your device to the last release available. This can be done easily by visiting http://flash.android.com/ from a Chromium based browser and following the instructions.
==== Unlock the bootloader ====
1. Open setting, go to "About" and tap on the "Build number" box ~10 times until the "You are now a developer" toast message appears.
2. Go back to the main settings page, go to "System" and then "Developer options" (it might be hiding behind a dropdown menu). Toggle the switch to "Enable OEM unlocking"
3. Refer to "How to enter flash mode" above to get into fastboot mode, then re-attach your USB cable. Run the following command on your host:
$ fastboot flashing unlock
Use the volume buttons to navigate the confirmation screen on the device and confirm.
=== Building and flashing ===
The vendor is google, the codename is "blueline".
Follow the pmbootstrap article, until you have done the install action (note that --fde stands for full-disk-encryption - this can also be left out).
 
$ pmbootstrap install --fde --password 147147
Reboot back into flash mode as explained above. (If you encounter weird behaviour like the command getting stuck before the flashing starts, reboot into flash mode or select "restart bootloader" on the phone itself and run the command again while the device reboots).
$ pmbootstrap flasher flash_dtbo
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_boot
Then choose "start" on the device to reboot into your new installation.
== UART ==
See also: https://github.com/Peter-Easton/android-debug-cable-howto, Serial_debugging:Cable_schematics#Google_Pixel_.22Android_Debug_Cable.22 
Baud rate is 115200. Voltage is 3.3V, although 1.8V seems to work as well.
# Obtain a USB-C breakout board and a UART adapter
# Connect pins board pin (USB-C pinout) - UART adapter pin as following:
## A1 (GND) - GND
## A8 (SBU1) - RXD
## B8 (SBU2) - TXD
# Connect breakout board and phone using a USB-C cable that has working SBU1/2 (I had to use a thicker TB3/USB 3.0 capable cable). Make sure the cable is in "top" orientation (in my case Thunderbolt logos were facing same side as phone's screen and the A side of breakout board), it won't work if the plug is reversed on one side.
# Boot phone into fastboot, then execute fastboot oem uart enable and poweroff.
== See also ==
* MR adding device support
* Old Pixel 3 (google-blueline) porting: progress and questions
* Old Draft MR
Google Pixel 3 XL (google-crosshatch)

== Contributors ==
* zhuowei
== Maintainer(s) ==
* zhuowei
== How to enter flash mode ==
The Pixel 3 XL, like all Google Pixel/Nexus devices, uses Fastboot as the flashing protocol.
To enter Fastboot mode, hold Volume Down while powering on the device. Let go of Volume Down when "Fastboot mode" displays on the screen.
== Status ==
The kernel boots, the rootfs flashes and mounts, and ssh works.
Known issues:
* Screen only works in Plasma Mobile; doesn't work with boot splash, FDE, or Weston
* USB doesn't have correct idVendor/idProduct, since this kernel is more strict regarding the formatting.
This breaks USB network when developing using VirtualBox USB passthrough: attaching the device to the VM works, and I can ssh into the device from the VM, but detaching doesn't work properly.
== See also ==
* Initial merge request
* 
*
Google Pixel 4a (google-sunfish)

== Contributors ==
* JIaxyga
* Smaybius (AceOfSpadesProduc100)
== Users owning this device ==
== How to enter flash mode ==
With developer mode, OEM unlocking, and USB debugging enabled, connect the phone to your PC and enter `adb reboot bootloader` in your command line and it'll enter fastboot mode.
== Mainline ==
A work in progress mainline kernel is being developed here.
=== Mainline status ===
Feature table for SM7150 </br>
Device feature table:
Component 	Model 	Status	Notes
Display 	Samsung sofef00 or sofef01	? 	
Touchscreen 	fts 	N 	Connected via i2c7 @49 (0xa84000)
Charging 	USE PMIC 	? 	slg51000-regulator, connected via i2c9 @75 (0xa8c000)
Accelerometer and gyroscope 	STMicro LSM6DSR 	? 	
Ambient light and proximity sensor	AMS TCS3701 	? 	
Magnetometer 	STMicro LIS2MDL 	? 	
Haptics/Vibrator 	Texas Instruments drv2624 	? 	i2c9 @5a (0xa8c000)
Barometer 	Bosch BMP380 	? 	
Sound 	Cirrus cs35l41 	? 	i2c9 @40 (0xa8c000)
Sound 	cs35l41 	? 	i2c9 @41 (0xa8c000)
Sound 	rt5514 	? 	i2c2 @57 (@0x888000)
Sound 	rt5514 	? 	spi0.0 (0x880000)
Camera 	Sony IMX355_s5 	? 	Front camera
Camera 	Sony IMX363_s5 	? 	Rear camera
Camera 	Qualcomm SOC connections 	? 	qcom,a5@ac00000
NFC 	st21nfc 	? 	Connected via i2c2 @08 (0x888000)
Fingerprint 	fp_fpc1020 	? 	
Other 	at24 	? 	i2c 2-0050
Other 	drv2624 	? 	i2c9 @5a (@0xa8c000)
Other 	dummy 	? 	i2c 2-0051
Other 	dummy 	? 	i2c 2-0052
Other 	dummy 	? 	i2c 2-0053
== Installation ==
== See also ==
* GSMArena page
Google Pixel 5 (google-redfin)

== Contributors ==
* Daviewales
== Users owning this device ==
== How to enter flash mode ==
# Enable developer mode, and USB debugging.
# Connect the phone to your PC and enter `adb reboot bootloader`
== Installation ==
== See also ==
* Unified downstream redbull-kernel source (One unified kernel for Pixel 5a (barbet), Pixel 4a (5G) (bramble), Pixel 5 (redfin))
* Downstream redfin-kernel source
Google Pixel 6 / 6 Pro (google-raviole)

The Google Pixel 6 (codename: Oriole) and Pixel 6 Pro (codename: Raven) are Google's 2021 flagship pair of Android phones. The pair is notable as it is the first product utilizing Google's in-house silicon, the Google Tensor SOC. Both models are by and large identical. Differences include, amount of RAM, display resolution, refresh rate, and an additional camera module. 
== Contributors ==
* ThatGeekZen
== Users owning this device ==
== How to Unlock Bootloader ==
WARNING: Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!
# In Settings > About Phone Scroll down and tap Build Number 7 times.
# In Settings > System > Developer Options Scroll down and enable USB Debugging and tap Ok. 
# While In Developer Options enable OEM Unlocking. You will be prompted for your pin code (If applicable) and then warned about the risks of OEM Unlocking. Tap Enable.
# Be absolutely certain you have any important data backed up. 
# Connect your device to a PC and open a terminal.
# Confirm your device is detected by typing adb devices. 
# Authorize the device with the onscreen dialogue if it's listed as Unauthorized. 
# Reboot to the bootloader with adb reboot bootloader.
# Unlock the bootloader with fastboot flashing unlock.
# Press continue on your device's screen.
 
# Reboot 
== How to enter flash mode ==
# Power off the device.
# Press and hold and until Fastboot Mode appears.
You are now ready to flash!
== Installation ==
TBD
== Mainline Work == 
XDA User Freak07 built a proof of concept mainline kernel based on the mainline 5.15 branch by Google. They note this is essentially a mainline Generic Kernel Image (GKI) with downstream Android driver modifications. 
== See also ==
* Freak07 Proof of Concept Kernel: Pixel 6 Mainline Kernel
* Google Git 5.15 Mainline: raviole-device-mainline
* XDA Guide: Pixel 6 Unlock Bootloader
* Google Git: Raviole Kernel
* Mainline Kernel Supports Pixel 6:
Google Pixel 6a (google-bluejay)

The Google Pixel 6a is Google's 2022 budget Android phone. It is the third product utilizing Google's in-house silicon, the Google Tensor SOC. It shares common hardware with the pixel 6 and 6 pro, however has a smaller amount of RAM, lower refresh rate, no wireless charging capabilites, and uses a smaller display. 
== Contributors ==
* Daedaevibin
* longnoserob
* fallaciousreasoning
== Users owning this device ==
== How to Unlock Bootloader ==
WARNING: Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!
On the Pixel 6a, OEM unlocking won't work with the version of the stock OS from the factory. You need to update it to the June 2022 release or later via an over-the-air update. After, you've updated it you'll also need to factory reset the device to fix OEM unlocking.
# In Settings > About Phone Scroll down and tap Build Number 7 times.
# In Settings > System > Developer Options Scroll down and enable USB Debugging and tap Ok. 
# While In Developer Options enable OEM Unlocking. You will be prompted for your pin code (If applicable) and then warned about the risks of OEM Unlocking. Tap Enable.
# Be absolutely certain you have any important data backed up. 
# Connect your device to a PC and open a terminal.
# Confirm your device is detected by typing adb devices. 
# Authorize the device with the onscreen dialogue if it's listed as Unauthorized. 
# Reboot to the bootloader with adb reboot bootloader.
# Unlock the bootloader with fastboot flashing unlock.
# Press continue on your device's screen.
 
# Reboot 
== How to enter flash mode ==
# Power off the device.
# Press and hold and until Fastboot Mode appears.
You are now ready to flash!
== Building the Kernel ==
A building kernel is available in this fork of pmaports. At the moment this generates a `boot.img` which is too big to deploy to the device.
This defconfig from LineageOS was used to generate the kernel.
More up to date info about the state of the port is available in notes. 
== Installation ==
TBD
== Mainline Work == 
XDA User Freak07 built a proof of concept mainline kernel based on the mainline 5.15 branch by Google. They note this is essentially a mainline Generic Kernel Image (GKI) with downstream Android driver modifications. 
== See also ==
* Freak07 Proof of Concept Kernel: Pixel 6 Mainline Kernel
* Google Git 5.10: Google 5.10 Kernel
Google Pixel 7a (google-lynx)

The Google Pixel 7a is Google's 2023 mid-range smartphone, leveraging the capabilities of Google's in-house Tensor G2 chipset. 
== Contributors ==
== Users owning this device ==
== How to Unlock Bootloader ==
WARNING: Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!
# In Settings > About Phone, scroll down and tap Build Number 7 times.
# In Settings > System > Developer Options, enable USB Debugging and tap OK.
# In Developer Options, enable OEM Unlocking. You will be prompted for your PIN (if applicable) and warned about the risks of OEM unlocking. Tap Enable.
# Backup any important data.
# Connect your device to a PC and open a terminal.
# Confirm your device is detected by typing adb devices. 
# Authorize the device with the onscreen dialogue if it's listed as Unauthorized. 
# Reboot to the bootloader with adb reboot bootloader.
# Unlock the bootloader with fastboot flashing unlock.
# Press continue on your device's screen.
# Reboot 
== How to enter flash mode ==
# Power off the device.
# Press and hold and until Fastboot Mode appears.
You are now ready to flash!
== Installation ==
TBD
Google Pixel 9 (google-tokay)

== Contributors ==
* CHANGE_ME (put your username here!)
== Users owning this device ==
== Unlocking Bootloader ==
WARNING: Unlocking the bootloader will factory reset the device. Make sure to back up your data before continuing
# Enable developer mode by entering Settings. Find About Phone and tap on Build Number 7 times.
# Go back to the main page of the settings. From there, enter System and then Developer Options. Check USB Debugging. Check OEM Unlocking as well and follow the steps onscreen.
# Connect the phone to a computer. Run the command adb reboot bootloader. Authorize the computer if prompted
# Unlock the bootloader by running fastboot flashing unlock and follow on screen instructions.
== Entering Fastboot/Flash mode ==
* With USB Debugging enabled, run adb reboot bootloader
or
* Power off the device. Turn it back on while holding Power and Volume Down
Google Pixel 9 Pro Fold (google-comet)

== How to enter flash mode ==
- Turn off the device 
- Press and hold the power and volume up buttons 
- Release until you see fastboot mode 
== Contributors ==
* User8395
== Users owning this device ==
== See also ==
* Android Common Kernels for the Pixel 9 series (kerneltoast/android_kernel_google_zumapro)
* Kernel setup for the Pixel 9 Pro Fold (GrapheneOS/kernel_device_pixel_9_pro_fold)
Google Pixel Watch 2 (google-eos)

The non-LTE model with otherwise identical specs is codenamed aurora.
== Bootloader unlock ==
To begin using the device you unfortunately need to set it up through the Google Pixel Watch app on a full fat Android 9+ device over Bluetooth. The charging base and the pogo pins on the watch back side are USB data transfer enabled. Then enable developer mode, allow OEM unlocking and fastboot flashing unlock (flashing anything from https://developers.google.com/android/images-watch also allows to keep unlocked bootloader)
== How to enter flash mode ==
To enter fastboot tap (or more likely spam) top-left and bottom-right corners of the circular display as the device boots. Example video explaining the whole process: https://www.youtube.com/watch?v=B5F3ozJPWLg
== Boot related partitions ==
All of the following contain a header v4 bootimg.
- 64 MiB boot: has just uncompressed Linux kernel ARM64 boot executable Image, bl may work with compressed (test gzip/lz4) ones too if needed later, stock ~45 MiB
- 8 MiB init_boot: has just lz4 compressed base initramfs.cpio, stock ~2 MiB
- 64 MiB vendor_kernel_boot: has an initramfs fragment with device-specific GKI kernel modules & DTB, stock ~5.4 MiB
- 64 MiB vendor_boot: has vendor initramfs fragment (including device-specific recovery bits), bootconfig etc, stock ~13.4 MiB
== Known issues ==
- The watch will hang at the G logo when a boot.img is sent over fastboot, even if the boot.img was pulled from the device or a factory image.
== Community Info ==
=== postmarketOS users that own the device ===
== See also ==
* Stock firmware images
* Oct 2023 WearOS 4 firmware dump
* Downstream v5.15 Android 13 kernel source for Ubuntu Touch
* Full device specifications as listed on gsmarena
* Google official device page
Google Trogdor Chromebook (google-trogdor)

== Contributors ==
* Jenneron
* Geofferey (testing)
* Connorplayer123
== Installation ==
See Chrome_OS_devices#Installation.
== Audio ==
• Missing jack detection support on all devices
• Broken or mismatched alsa UCM configs on tablet devices i.e. some devices do not have headphone jack
== Modem ==
Doesn't work after suspend
== Cameras ==
Works on laptops, doesn't work on tablets yet
== Devices ==
=== Laptops or Convertibles ===
=== Tablets or Detachables ===
Google Veyron Chromebook (google-veyron)

== Contributors ==
* tvall
* Jenneron
== Installation ==
See Chrome OS devices page.
== eMMC ==
Primary GPT table on these devices is read-only which means that we can't use dd, parted or fdisk on this eMMC. This makes it impossible to dd a prebuilt image or to use pmbootstrap with --no-cgpt argument when installing on eMMC. The recommended way to install it on eMMC is booting from external storage and performing pmbootstrap install --sdcard /dev/mmcblkX. It works fine because pmbootstrap uses cgpt for partitioning, and it handles that by ignoring primary GPT and using secondary instead.
== Audio ==
Speakers, Headphones and Mics work, but internal microphone doesn't work after switching to headset and back.
* workaround: switch to internal mic in pavucontrol, reboot and never switch to headset.
== Devices ==
== See also ==
* Initial merge request
HMD Global Nokia 1 Plus (nokia-ant)

Kind of big brother to HMD Global Nokia 1 (nokia-frt)
== Contributors ==
* Halamix2
== Users owning this device ==
== How to enter flash mode ==
Plug in USB cable, hold Volume Down and Power button
== How to enter recovery mode ==
Hold Volume Up, plug in USB cable, press power button. You can let go of the buttons when Android logo shows up. On the `no command` screen hold power and press <button>Volume Up</button>. Navigate with volume buttons and confirm wth the power button.
 
== Installation ==
=== Unlocking bootloader ===
See Unlocking Bootloaders/HMD_Global#MD5_Method
=== Using pmbootstrap ===
Follow Installation/Using pmbootstrap. When asked for the device's vendor/codename, select nokia as the vendor and ant as the codename.
To flash the image to the device:
* Enter flashing mode (see #How to enter flash mode)
* Continue with Installation/Using_pmbootstrap#Flashing
== HW report ==
CPU	MT6739WW
GPU	PowerVR Rogue GE8100
OpenGL ES	3.2 build 1.13@5776728
RAM	1 GB LPDDR3
Touchscreen	fts_ts (i2c 0-0038)
Accelerometer	stk8baxx (i2c 1-0018)
Lens AF	MAINAF (i2c 2-0072)
Charger	rt9458 (i2c 1-006a)
PMIC	tps65132 (i2c 1-003e)
Other	unk23 (i2c 1-0023)
unk64 (i2c 1-0064)
unk6e (i2c 2-006e)
unk6e (i2c 3-006e)
Wi-Fi	CONSYS_MT6739
Baseband	MOLY.LR12A.R3.MP.V142.4.P1,MOLY.LR12A.R3.MP.V142.4.P1
GPS	MTK_MNLD_default,MNL_VER_default / 2020
Bluetooth	4.x
INPUT
mtk-kpd
id: 2 vendor: 9300 product: 25856
f0d2e427e7a05eb6d316f5e14800c5ac7b6aee79
ACCDET
id: 3 vendor: 0 product: 0
1c78f7e0d16d4dbc8d3ab93943523f379203f90b
mtk-tpd
id: 4 vendor: 0 product: 0 touch: 960x480
84931e976ab60191371c1c95baf408538ca4c4c5 
DEVICES
I2C:
i2c-0:
0x38 fts_ts
i2c-1:
0x18 stk8baxx
0x23 unk23
0x3e tps65132
0x64 unk64
0x6a rt9458
i2c-2:
0x6e unk6e
0x72 MAINAF
i2c-3:
0x6e unk6e
Created by Device Info HW+ ver 5.17.3
---
lsmod
Module Size Used by
wlan_drv_gen2 1077248 0
wmt_chrdev_wifi 20480 1 wlan_drv_gen2
gps_drv 24576 0
fmradio_drv 167936 0
bt_drv 32768 1
wmt_drv 1089536 6 wlan_drv_gen2,wmt_chrdev_wifi,gps_drv,fmradio_drv,bt_drv
fpsgo 811008 0
== See also ==
* Initial merge request
HMD Global Nokia 3.1 (nokia-ES2)

== Contributors ==
* Adomerle
== Users owning this device ==
== How to enter flash mode ==
Hold + (while connected to the USB) to boot into the fastboot.
== Installation ==
Mainline doesn't support mdsc, so boot only.
== Mainline status ==
Mainline is very quirky and in very early state.
== Booting ==
The booting works so far only through fastboot boot (don't know why) and only with an dummy dtbo.
== UART Location ==
HMD Global Nokia 3 (nokia-NE1)

== Contributors ==
* SlightResult
== Maintainer(s) ==
== Users owning this device ==
== How to enter flash mode ==
Hold Volume Down + hold Power + provide USB power, wait until fastboot prompt appears on display.
'adb reboot bootloader' works too if USB debugging is enabled in Android.
== How to enter recovery mode ==
Hold Volume Up + hold Power + provide USB power. Hold for roughly 20 seconds. (5s initial start, 10s option to release Power to power off, 5s Orange State warning)
== Installation ==
P.S. Please make sure your Nokia 3 stock ROM is based on 5180, for example 5180_SP02 to 5180_SP04, and let us know if you have problem on older version of stock rom's preloader & LK, thanks~
Enable "OEM-Unlock" in the Android Developer Options (could require internet access).
// Have the phone booted in android and USB debugging enabled
$ adb get-serialno
NE1GA00000000000
// Hash the serial number
$ echo -n NE1GA00000000000 | md5sum | tr [:lower:] [:upper:]
7BBBD23D35B2E290F1F12BC68FE4F301 -
// Enter fastboot mode
$ adb reboot bootloader
// Feed the key to fastboot
$ fastboot oem key 7BBBD23D35B2E290F1F12BC68FE4F301
// Unlock the bootloader
$ fastboot flashing unlock
nokia-ne1 is not (yet) part of pmaports. Download the current changes from https://pastebin.com/j9rh6wZj and use 'git apply' inside the pmaports directory.
In general follow the standard Installation guide. Keep in mind that Android is currently the only option to charge the battery and that 'fastboot' will refuse to flash on low battery. Therefore it is recommended to have the rootfs on an SD card and flash the boot image manually to the recovery partition. It is possible to flash and boot using the system and boot partitions.
// Create SD card rootfs
$ pmbootstrap install --sdcard=/dev/mmcblk0
// Create symlinks in /tmp/postmarketOS-export/
$ pmbootstrap export
// Flash to recovery partition
$ fastboot flash recovery /tmp/postmarketOS-export/boot.img-nokia-ne1
Boot into recovery mode (Volume Down + Power + USB Cable). Be aware that booting into Android will overwrite/reset the recovery partition.
'fastboot boot boot.img-nokia-ne1' and 'pmbootstrap flasher boot' are not working.
== See also ==
Nokia 1 (nokia-frt) is a similar device but with armv7 kernel.
HMD Global Nokia 4.2 (nokia-panther)

== Contributors ==
* garethppls
== Users owning this device ==
== How to enter flash mode ==
* Entering fastboot: hold + buttons until fastboot mode is displayed on the screen. Or use adb reboot fastboot with adb in Android SDK.
== Installation ==
To flash this device, the boot partition have to be flashed by fastboot:
:$ pmbootstrap export
:$ fastboot flash:raw boot /tmp/postmarketOS-export/boot.img
However, rootfs could be flashed by pmbootstrap normally:
:$ pmbootstrap flasher flash_rootfs
== See also ==
* 
*
HMD Global Nokia 5 (nokia-nd1)

== Contributors ==
* Shadowsvanish (Porting to mainline. Already ported to LK2nd)
* Natsu
== Users owning this device ==
== Information ==
== Device Notes ==
== Hardware details ==
Parts 	Components 	In Torvalds tree?
Chipset 	MSM8937 	-
PMIC (Power Management IC) 	PMI8952, PM8937 	-
GPU 	Adreno 505 	-
Wi-Fi & Bluetooth 	WCN3660B 	-
Modem & Transceiver 	WTR2965 	-
Power Amplifiers 	SKY77660-11, SKY77814-11	-
FEM (Front End Module) 	QFE2101 	-
Memory (eMMC NAND) 	KMQE10013M-B318 	-
Audio Amplifier 	TFA9891 	-
Ambient Light and Proximity Sensor	- 	-
Magnetometer 	- 	-
Notifications LED 	- 	-
Front Camera 	- 	-
Back Camera 	- 	-
Display 	Novatek NT35521s 	Not yet (panel-nokia-nd1-nt35521s.c)
Touchscreen 	Novatek NT11206 	Not yet (novatek-nvt-ts.c)
== Installation ==
=== How to Enter Flash Mode ===
When the device powers on, the display will begin, and you will feel two vibrations during the boot process. The first occurs when the device powers on and the display starts, the second occurs when the mode switch happens.
* Stock Fastboot: Power on the device by connecting it to USB while holding both and until "Download mode" appears.
* Stock Recovery: Power on the device by connecting it to USB while holding both and . After the second vibration, release the button.
* lk2nd Fastboot: Power on the device. Immediately hold the button until lk2nd menu appears.
* lk2nd Recovery: Power on the device. Immediately hold the button until your custom recovery appears.
=== How to Enter EDL Mode ===
* lk2nd Fastboot: Access lk2nd fastboot and select EDL option.
* Test points: Disassembly your device and short the marked resistance to ground (view "EDL Test Point" image).
== Pictures ==
=== Running on lk2nd menu ===
== See also ==
* GSMArena page
* Official TWRP pull request
* Unofficial TWRP image
* lk2nd pull request
* downstream kernel sources
* mainline kernel sources
* pull request to create a standard msm89x7 device
* pmaports branch for Nokia 5 (ND1)