Jump to content

Category:Google/Pixel boilerplate: Difference between revisions

From postmarketOS Wiki
Wiktorpyk6 (talk | contribs)
Created page with "<syntaxhighlight lang="moin"> {{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..."
 
Wiktorpyk6 (talk | contribs)
No edit summary
Line 64: Line 64:


| booting = no   
| booting = no   
| status = no port as far as i know 
| status =  
}}   
}}   



Revision as of 07:24, 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 <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>, enable <code>USB Debugging</code> and tap 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.  
# 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.