-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d0dd848
commit 8679c5f
Showing
1 changed file
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
name: "Google Pixel 3a/3a XL" | ||
codename: "sargo" | ||
formfactor: "phone" | ||
aliases: ["bonito"] | ||
doppelgangers: [] | ||
user_actions: | ||
bootloader: | ||
title: "Reboot to Bootloader" | ||
description: "With the device powered off, press and hold the volume down and power buttons until the screen turns on. It should say 'Fastboot Mode' underneath the warning sign." | ||
image: "phone_power_down" | ||
button: true | ||
downgrade_android: | ||
title: "Downgrade Android" | ||
description: "If the device is running an Android version above 9.0, you have to downgrade to the last 9.0 release. Please make sure to flash version PQ3B.190801.002 of the factory image before proceeding." | ||
link: "https://developers.google.com/android/images#sargo" | ||
cutie_notice: | ||
title: "Cutie Shell: Notice" | ||
description: "You selected to install Droidian with Cutie Shell. Cutie Shell is still pre-alpha quality and it is not suitable for production environments. Keep in mind that Cutie Shell is not officially supported or endorsed by Droidian. This edition is maintained directly by Cutie Shell Community Project and you should report any bugs with these images at Cutie Shell Community Project before filing upstream." | ||
button: true | ||
unlock: | ||
- "downgrade_android" | ||
handlers: | ||
bootloader_locked: | ||
actions: | ||
- fastboot:flashing_unlock: | ||
operating_systems: | ||
- name: "Droidian" | ||
compatible_installer: ">=0.0.1" | ||
options: | ||
- var: "variant" | ||
name: "Variant" | ||
tooltip: "The graphical shell to install" | ||
type: "select" | ||
values: | ||
- value: "phosh" | ||
label: "Phosh" | ||
- value: "cutie" | ||
label: "Cutie Shell" | ||
prerequisites: [] | ||
steps: | ||
- actions: | ||
- core:user_action: | ||
action: "cutie_notice" | ||
condition: | ||
var: "variant" | ||
value: "cutie" | ||
- actions: | ||
- core:download: | ||
group: "firmware" | ||
files: | ||
- url: "https://images.droidian.org/droidian/nightly/arm64/google/image-fastboot-sargo.zip" | ||
condition: | ||
var: "variant" | ||
value: "phosh" | ||
- actions: | ||
- core:download: | ||
group: "firmware" | ||
files: | ||
- url: "https://github.com/cutie-shell/droidian/releases/download/nightly/droidian-OFFICIAL_google_sargo-arm64-cutie-phone-28.zip" | ||
condition: | ||
var: "variant" | ||
value: "cutie" | ||
- actions: | ||
- core:unpack: | ||
group: "firmware" | ||
files: | ||
- archive: "image-fastboot-sargo.zip" | ||
dir: "unpacked_droidian" | ||
condition: | ||
var: "variant" | ||
value: "phosh" | ||
- actions: | ||
- core:unpack: | ||
group: "firmware" | ||
files: | ||
- archive: "droidian-OFFICIAL_google_sargo-arm64-cutie-phone-28.zip" | ||
dir: "unpacked_droidian" | ||
condition: | ||
var: "variant" | ||
value: "cutie" | ||
- actions: | ||
- adb:reboot: | ||
to_state: "bootloader" | ||
fallback: | ||
- core:user_action: | ||
action: "bootloader" | ||
- actions: | ||
- fastboot:flash: | ||
partitions: | ||
- partition: "boot" | ||
file: "unpacked_droidian/data/boot.img" | ||
group: "firmware" | ||
- partition: "dtbo" | ||
file: "unpacked_droidian/data/dtbo.img" | ||
group: "firmware" | ||
- partition: "userdata" | ||
file: "unpacked_droidian/data/userdata.img" | ||
group: "firmware" | ||
- partition: "vbmeta" | ||
file: "unpacked_droidian/data/vbmeta.img" | ||
group: "firmware" | ||
flags: | ||
- "--disable-verity" | ||
- "--disable-verification" | ||
- actions: | ||
- fastboot:reboot: | ||
slideshow: [] | ||
|