Jump to content

Category:Google/Pixel boilerplate

From postmarketOS Wiki
{{Infobox device
| manufacturer       = Google
| name               = Pixel X
| codename           = google-XXXXX
| model              = <!-- Manufacturer's model/part number -->
| image              = File:google-XXXXX.jpg
| imagecaption       = CHANGE_ME
| releaseyear        = YYYY
| category           = testing
| originalsoftware   = Android
| originalversion    = XX
| pmoskernel         = 6.x.x
| chipset            = Google Tensor Gx
| cpu                = XXX
| gpu                = Mali-GXXX MCX
| display            = XXX
| storage            = XXX GB
| memory             = XX GB
| architecture       = aarch64
| type               = handset
| whet_dhry          = 0.0

<!-- Features -->
<!-- 
For each of the following questions about device functionality, please respond as follows:
- Y for Yes (if the feature works as expected).
- P for Partial (if the feature works partially).
- N for No (if the feature does not work).
- - for N/A (if the feature is not applicable or unavailable for the device).
-   Leave blank if the feature has not been tested.
-->
| status_usbnet      = 
| status_flashing    = 
| status_touch       = 
| status_screen      = 
| status_3d          = 
| status_fde         = 
| status_emmc        = 
| status_wifi        = 
| status_mainline    = 
| status_battery     = 
| status_audio       = 
| status_bluetooth   = 
| status_camera      = 
| status_gps         = 
| status_mobiledata  = 
| status_sms         = 
| status_calls       = 
| status_otg         = 
| status_nfc         = 

<!-- Sensors -->
| status_accel       = 
| status_magnet      = 
| status_light       = 
| status_proximity   = 
| status_hall        = 
| status_barometer   = 
| status_powersensor = 

<!-- Misc -->
| status_dvb         = - 
| status_cameraflash = 
| status_keyboard    = - 
| status_touchpad    = - 
| status_usba        = - 
| status_sdcard      = - 
| status_hdmidp      = 
| status_irtx        = - 
| status_irrx        = - 
| status_stylus      = 
| status_haptics     = 
| status_ethernet    = 
| status_fossbootloader = 

| booting = no <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| status  = 
}}

== Contributors ==
* CHANGE_ME (put your username here!)

== Users owning this device ==
{{Device owners}}
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
<!-- use _ instead of spaces in device page name, e.g. {{Owns device|HTC_Desire_(htc-bravo)|custom notes}}-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->

== How to Unlock Bootloader ==
{{Warning|Doing this will ERASE ALL DATA on your device. Please backup all your personal data before continuing!}}

# In {{button|Settings|About Phone}}, scroll down and tap {{button|Build Number}} 7 times.
# In {{button|Settings|System|Developer Options}}, enable {{button|USB Debugging}} and tap {{button|OK}}.
# In {{button|Developer Options}}, enable {{button|OEM Unlocking}}. You will be prompted for your PIN (if applicable) and warned about the risks of OEM unlocking. Tap {{button|Enable}}.
# Backup any important data.
# Connect your device to a PC and open a terminal.
# Confirm your device is detected by typing <code>adb devices</code>.
# Authorize the device with the onscreen dialogue if it’s listed as Unauthorized.
# Reboot to the bootloader with <code>adb reboot bootloader</code>.
# Unlock the bootloader with <code>fastboot flashing unlock</code>.
# Press continue on your device’s screen.
# Reboot.

== How to enter flash mode ==
# Power off the device.
# Press and hold {{button|Volume Down}} and {{button|Power}} until <code>Fastboot Mode</code> appears.

or

# Open {{button|Settings|Developer Options}} (unlock via clicking <code>Build Number</code> multiple times in {{button|About Phone}})
# Toggle {{button|USB Debugging}} on.
# Connect your device via USB.
# Execute in terminal:
:: <code>adb reboot bootloader</code>

You are now ready to flash!

== Installation ==
=== Using pmbootstrap ===
Follow [[Installation/Using pmbootstrap]]. When asked for the device's vendor/codename, select Google as the vendor and XXXXX as the codename.

To flash the image to the device:

* Enter flashing mode (see [[#How to enter flash mode]])
* Run <code>pmbootstrap flasher flash_kernel</code> to flash the kernel
* Run <code>pmbootstrap flasher flash_rootfs</code>
<!-- add more instructions if necessary -->

<!-- add more sections below as necessary, e.g. WiFi, photos, ... -->

This category currently contains no pages or media.