Jump to content

Category:Google/Pixel boilerplate: Difference between revisions

From postmarketOS Wiki
Wiktorpyk6 (talk | contribs)
No edit summary
Wiktorpyk6 (talk | contribs)
No edit summary
Line 1: Line 1:
<syntaxhighlight lang="moin">
<syntaxhighlight lang="moin">
{{Infobox device
{{Infobox device  
| manufacturer = Google
| manufacturer = Google  
| name = Pixel X
| name = Pixel X  
| codename = google-XXXXX
| codename = google-XXXXX  
| image = File:google-XXXXX.jpg
| image = File:google-XXXXX.jpg  
| imagecaption = CHANGE_ME
| imagecaption = CHANGE_ME  
| releaseyear = YYYY
| releaseyear = YYYY  
| originalsoftware = Android
| originalsoftware = Android  
| originalversion = XX
| originalversion = XX  
| chipset = Google Tensor Gx
| chipset = Google Tensor Gx  
| cpu = XXX
| cpu = XXX
| gpu = Mali-GXXX MCX
| gpu = Mali-GXXX MCX  
| display = XXX
| display = XXX  
| storage = XXXGB
| storage = XXXGB  
| memory = XXGB
| memory = XXGB  
| architecture = aarch64
| architecture = aarch64  
| type = handset
| type = handset  
 
   
<!-- Feature Status (Y = Yes, P = Partial, N = No, - = N/A, Blank = Unknown) -->
<!-- Feature Status (Y = Yes, P = Partial, N = No, - = N/A, Blank = Unknown) -->  
| status_usbnet =
| status_usbnet =  
| status_flashing =
| status_flashing =  
| status_touch =
| status_touch =  
| status_screen =
| status_screen =  
| status_3d =
| status_3d =  
| status_fde =
| status_fde =  
| status_emmc =
| status_emmc =  
| status_wifi =
| status_wifi =  
| status_mainline =
| status_mainline =  
| status_battery =
| status_battery =  
| status_audio =
| status_audio =  
| status_bluetooth =
| status_bluetooth =  
| status_camera =
| status_camera =  
| status_gps =
| status_gps =  
| status_mobiledata =
| status_mobiledata =  
| status_sms =
| status_sms =  
| status_calls =
| status_calls =  
| status_otg =
| status_otg =  
| status_nfc =
| status_nfc =  
 
   
<!-- Sensors -->
<!-- Sensors -->  
| status_accel =
| status_accel =  
| status_magnet =
| status_magnet =  
| status_light =
| status_light =  
| status_proximity =
| status_proximity =  
| status_hall =
| status_hall =  
| status_barometer =
| status_barometer =  
| status_powersensor =
| status_powersensor =  
 
   
<!-- Misc -->
<!-- Misc -->  
| status_dvb = -
| status_dvb = -  
| status_cameraflash =
| status_cameraflash =  
| status_keyboard = -
| status_keyboard = -  
| status_touchpad = -
| status_touchpad = -  
| status_usba = -
| status_usba = -  
| status_sdcard = -
| status_sdcard = -  
| status_hdmidp =
| status_hdmidp =  
| status_irtx = -
| status_irtx = -  
| status_irrx = -
| status_irrx = -  
| status_stylus =
| status_stylus =  
| status_haptics =
| status_haptics =  
| status_ethernet =
| status_ethernet =  
| status_fossbootloader =
| status_fossbootloader =  
 
   
| booting = no
| booting = no  
| status =  
| status =  
}}
}}  
 
   
== Contributors ==
== Contributors ==  
 
   
== Users owning this device ==
== Users owning this device ==  
{{Device owners}}
{{Device owners}}  
 
   
== 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!}}
{{Warning|Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!}}  
 
   
# In <code>Settings</code> > <code>About Phone</code>, scroll down and tap <code>Build Number</code> 7 times.
# In {{button|Settings}} > {{button|About Phone}}, scroll down and tap {{button|Build Number}} 7 times.  
# In <code>Settings</code> > <code>System</code> > <code>Developer Options</code>, enable <code>USB Debugging</code> and tap OK.
# In {{button|Settings}} > {{button|System}} > {{button|Developer Options}}, enable {{button|USB Debugging}} and tap {{button|OK}}.  
# In <code>Developer Options</code>, enable <code>OEM Unlocking</code>. You will be prompted for your PIN (if applicable) and warned about the risks of OEM unlocking. Tap Enable.
# 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.
# Backup any important data.  
# Connect your device to a PC and open a terminal.
# Connect your device to a PC and open a terminal.  
# Confirm your device is detected by typing <code>adb devices</code>.
# Confirm your device is detected by typing <code>adb devices</code>.  
# Authorize the device with the onscreen dialogue if it’s listed as Unauthorized.
# Authorize the device with the onscreen dialogue if it’s listed as Unauthorized.  
# Reboot to the bootloader with <code>adb reboot bootloader</code>.
# Reboot to the bootloader with <code>adb reboot bootloader</code>.  
# Unlock the bootloader with <code>fastboot flashing unlock</code>.
# Unlock the bootloader with <code>fastboot flashing unlock</code>.  
# 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.  
# Press and hold {{button|Volume Down}} and {{button|Power}} until <code>Fastboot Mode</code> appears.
# Press and hold {{button|Volume Down}} and {{button|Power}} until <code>Fastboot Mode</code> appears.  
 
   
or
or  
 
   
# Open {{button|Settings}} > {{button|Developer options}} (unlock via clicking <code>Build number</code> multiple times in {{button|About phone}})
# Open {{button|Settings}} > {{button|Developer Options}} (unlock via clicking <code>Build Number</code> multiple times in {{button|About Phone}})  
# Toggle {{button|USB Debugging}} on
# Toggle {{button|USB Debugging}} on  
# Connect your device via USB
# Connect your device via USB  
# Execute in terminal:
# Execute in terminal:  
:: <code>adb reboot bootloader</code>
:: <code>adb reboot bootloader</code>  
 
   
You are now ready to flash!
You are now ready to flash!  
 
   
== Installation ==
== Installation ==  
=== Using pmbootstrap ===
=== Using pmbootstrap ===  
Follow [[Installation/Using pmbootstrap]]. When asked for the device's vendor/codename, select GOOGLE as the vendor and XXXXX as the codename.
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:
To flash the image to the device:  
 
   
* Enter flashing mode (see [[#How to enter flash mode]])
* 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_kernel</code> to flash the kernel  
* Run <code>pmbootstrap flasher flash_rootfs</code>
* Run <code>pmbootstrap flasher flash_rootfs</code>
</syntaxhighlight>
</syntaxhighlight>

Revision as of 07:37, 17 March 2025

{{Infobox device    
| manufacturer = Google    
| name = Pixel X    
| codename = google-XXXXX    
| image = File:google-XXXXX.jpg    
| imagecaption = CHANGE_ME    
| releaseyear = YYYY    
| originalsoftware = Android    
| originalversion = XX    
| chipset = Google Tensor Gx    
| cpu = XXX  
| gpu = Mali-GXXX MCX    
| display = XXX    
| storage = XXXGB    
| memory = XXGB    
| architecture = aarch64    
| type = handset    
    
<!-- Feature Status (Y = Yes, P = Partial, N = No, - = N/A, Blank = Unknown) -->    
| 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    
| status =   
}}    
    
== Contributors ==    
    
== Users owning this device ==    
{{Device owners}}    
    
== How to Unlock Bootloader ==    
{{Warning|Doing this will wipe ALL data on your device. Please backup all your personal data before continuing!}}    
    
# In {{button|Settings}} > {{button|About Phone}}, scroll down and tap {{button|Build Number}} 7 times.    
# In {{button|Settings}} > {{button|System}} > {{button|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}} > {{button|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>

This category currently contains no pages or media.