Google Pixel 6 / 6 Pro (google-raviole): Difference between revisions
Wiktorpyk6 (talk | contribs) No edit summary |
|||
(5 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
| manufacturer = Google | | manufacturer = Google | ||
| name = Pixel 6 | | name = Pixel 6 | ||
| codename = google- | | codename = google-raviole | ||
| image = File:google-oriole.jpg | | image = File:google-oriole.jpg | ||
| imagecaption = Green Pixel 6 on a blue background. | | imagecaption = Green Pixel 6 on a blue background. | ||
Line 16: | Line 16: | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = handset | | type = handset | ||
| status_usbnet = | | status_usbnet = Y | ||
| status_flashing = | | status_flashing = N | ||
| status_touch = | | status_touch = | ||
| status_screen = | | status_emmc = Y | ||
| status_wifi = | | status_screen = Y | ||
| status_wifi = Y | |||
| status_xwayland = | | status_xwayland = | ||
| status_fde = | | status_fde = | ||
| status_mainline = | | status_mainline = Y | ||
| status_battery = | | status_battery = | ||
| status_3d = | | status_3d = | ||
Line 42: | Line 43: | ||
| status_proximity = | | status_proximity = | ||
| status_hall = | | status_hall = | ||
| booting = | | booting = yes | ||
}} | }} | ||
Line 48: | Line 49: | ||
| manufacturer = Google | | manufacturer = Google | ||
| name = Pixel 6 Pro | | name = Pixel 6 Pro | ||
| codename = google- | | codename = google-raviole | ||
| releaseyear = 2021 | | releaseyear = 2021 | ||
| originalsoftware = Android | | originalsoftware = Android | ||
Line 60: | Line 61: | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = handset | | type = handset | ||
| status_usbnet = | | status_usbnet = Y | ||
| status_flashing = | | status_flashing = N | ||
| status_touch = | | status_touch = | ||
| status_screen = | | status_emmc = Y | ||
| status_wifi = | | status_screen = Y | ||
| status_wifi = Y | |||
| status_xwayland = | | status_xwayland = | ||
| status_fde = | | status_fde = | ||
| status_mainline = | | status_mainline = Y | ||
| status_battery = | | status_battery = | ||
| status_3d = | | status_3d = | ||
Line 86: | Line 88: | ||
| status_proximity = | | status_proximity = | ||
| status_hall = | | status_hall = | ||
| booting = | | booting = yes | ||
}} | }} | ||
Line 93: | Line 95: | ||
== Contributors == | == Contributors == | ||
* [[User:ThatGeekZen|ThatGeekZen]] | * [[User:ThatGeekZen|ThatGeekZen]] | ||
* [[User:hlcj|hlcj]] | |||
== Users owning this device == | == Users owning this device == | ||
Line 103: | Line 106: | ||
== How to Unlock Bootloader == | == How to Unlock Bootloader == | ||
'''WARNING: Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!''' | {{notice|'''WARNING: Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!'''}} | ||
{{notice|'''The bootloader needs to be unlocked to be able to flash and modify partitions.'''}} | |||
# In <code>Settings</code> > <code>About Phone</code> Scroll down and tap <code>Build Number</code> 7 times. | # In <code>Settings</code> > <code>About Phone</code> Scroll down and tap <code>Build Number</code> 7 times. | ||
# In <code>Settings</code> > <code>System</code> > <code>Developer Options</code> Scroll down and enable <code>USB Debugging</code> and tap Ok. | # In <code>Settings</code> > <code>System</code> > <code>Developer Options</code> Scroll down and enable <code>USB Debugging</code> and tap Ok. | ||
Line 116: | Line 119: | ||
# Press continue on your device's screen. | # Press continue on your device's screen. | ||
# Reboot | # Reboot | ||
== How to enter flash mode == | == How to enter flash mode == | ||
# Power off the device. | # Power off the device. | ||
Line 130: | Line 134: | ||
You are now ready to flash! | You are now ready to flash! | ||
{{hint|You can also access recovery mode and other modes on Google pixel devices}} | |||
== Installation == | == Installation == | ||
<!-- add more sections below as necessary, e.g. WiFi, photos, ... --> | <!-- add more sections below as necessary, e.g. WiFi, photos, ... --> | ||
This repo explains how to boot yocto on the phone [https://git.codelinaro.org/linaro/googlelt/pixelscripts]. | |||
To boot postmarketOS, build a pretty generic kernel with pmbootstrap and use the pmbootstrap export. Build the boot partition through the repo of linaro using the initramfs file from <code>pmboostrap export</code> as the prebuilt cpio. For the rootfs, use pmboostrap flasher. pmOS should then boot. I did not do extensive tests but usb internet worked. | |||
=== Notes === | |||
The phone seems to need a boot image header v4. As Boot-deploy only supports version 1 and 2, a work-around needs to be found to make the whole installation go through pmbootstrap. | |||
==== WiFi ==== | |||
This is a tutorial to get the WiFi working: [https://github.com/TheTarados/gs101_wlan/blob/master/module_wlan.patch] | |||
It is made for yocto but should translate easily to pmOS. | |||
== Mainline Work == | == Mainline Work == | ||
Thanks to the effort of Linaro and Google, the Google Pixel 6 has mainline support since v6.8. The following patch allows support for the Google Pixel 6 Pro and for the screen: [https://lore.kernel.org/all/20250117-gs101-simplefb-v4-0-a5b90ca2f917@linaro.org/]. | |||
== See also == | == See also == |
Latest revision as of 21:56, 2 April 2025
![]() Green Pixel 6 on a blue background. | |
Manufacturer | |
---|---|
Name | Pixel 6 |
Codename | google-raviole |
Released | 2021 |
Type | handset |
Hardware | |
Chipset | Google Tensor G1 |
CPU | 2x2.80 GHz Cortex-X1 & 2x2.25 GHz Cortex-A76 & 4x1.80 GHz Cortex-A55 |
GPU | Mali-G78 MP20 |
Display | AMOLED 1080x2400 90Hz |
Storage | 128, 256 GB |
Memory | 8 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 12 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
Flashing |
Broken |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
No data |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
IR TX |
No data |
Connectivity | |
WiFi |
Works |
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 |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
Manufacturer | |
---|---|
Name | Pixel 6 Pro |
Codename | google-raviole |
Released | 2021 |
Type | handset |
Hardware | |
Chipset | Google Tensor G1 |
CPU | 2x2.80 GHz Cortex-X1 & 2x2.25 GHz Cortex-A76 & 4x1.80 GHz Cortex-A55 |
GPU | Mali-G78 MP20 |
Display | AMOLED 1440x3120 120Hz |
Storage | 128, 256, 512 GB |
Memory | 12 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 12 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
Flashing |
Broken |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
No data |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
IR TX |
No data |
Connectivity | |
WiFi |
Works |
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 |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
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
Users owning this device
- 9lore (Notes: Pixel 6 Pro (raven), preparing to port and mainline)
- Al3x (Notes: Main)
- BenTheTechGuy (Notes: Daily driver (Pixel 6), running GrapheneOS)
- BlackEyedSquid (Notes: Pixel 6 (oriole), 256GB, Google Edition)
- Brooke (Notes: Running GrapheneOS)
- Cherryband (Notes: Pixel 6, daily driver, runs CalyxOS)
- Clevrpwn (Notes: daily driver with stock firmware)
- Emacsevangelist (Notes: Daily driver (Pixel 6 Pro), running GrapheneOS)
- Ettucompute (Notes: daily driver with stock firmware)
- Hlcj (Notes: Pixel 6 (oriole), 128GB, Google Edition)
- Lost-Entrepreneur439 (Notes: Fully working)
- MasanoriOgino (Notes: oriole, UFS 128 GB SKHynix)
- Medusa (Notes: Daily driver, running GrapheneOS)
- Sellerie (Notes: Pixel 6 Pro (raven), daily driver, running GrapheneOS)
- Tecncr
- ThatGeekZen (Notes: Daily Driver for now)
How to Unlock Bootloader
![]() |
WARNING: Doing this will wipe ALL data on your device. Please backup all your personal data before continuing! |
![]() |
The bootloader needs to be unlocked to be able to flash and modify partitions. |
- In
Settings
>About Phone
Scroll down and tapBuild Number
7 times. - In
Settings
>System
>Developer Options
Scroll down and enableUSB Debugging
and tap Ok. - While In
Developer Options
enableOEM 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
Fastboot Mode
appears. and until
or
- Open
Build number
multiple times in )
> (unlock via clicking - Toggle on
- Connect your device via USB
- Execute in terminal:
adb reboot bootloader
You are now ready to flash!
You can also access recovery mode and other modes on Google pixel devices |
Installation
This repo explains how to boot yocto on the phone [1].
To boot postmarketOS, build a pretty generic kernel with pmbootstrap and use the pmbootstrap export. Build the boot partition through the repo of linaro using the initramfs file from pmboostrap export
as the prebuilt cpio. For the rootfs, use pmboostrap flasher. pmOS should then boot. I did not do extensive tests but usb internet worked.
Notes
The phone seems to need a boot image header v4. As Boot-deploy only supports version 1 and 2, a work-around needs to be found to make the whole installation go through pmbootstrap.
WiFi
This is a tutorial to get the WiFi working: [2] It is made for yocto but should translate easily to pmOS.
Mainline Work
Thanks to the effort of Linaro and Google, the Google Pixel 6 has mainline support since v6.8. The following patch allows support for the Google Pixel 6 Pro and for the screen: [3].
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: [4]