Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ae0cdd7 authored by Manoj Nair's avatar Manoj Nair
Browse files

Resolve "Update install guide for shiba"

parent 08d1c9cb
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -2,8 +2,6 @@ architecture: arm64
battery: {removable: False, capacity: 4575, tech: 'Li-Ion'}
before_install_file_name: before_install_needs_specific_android_fw
before_install_args: {version: 14}
before_recovery_install_file_name: before_recovery_install_boot_stack
before_recovery_install: {instructions: 'boot_stack', partitions: [boot, dtbo, vendor_kernel_boot]}
bluetooth: {spec: '5.3', profiles: [A2DP + aptX HD]}
build_version_dev: U
build_version_stable: U
@@ -21,7 +19,6 @@ width: 70.8 mm
height: 150.5 mm
depth: 8.9 mm
download_boot: devices.hold_volume_down_power
downloads_file_name: device_downloads_erecovery
gpu: ARM Mali-G715s MC10
image: shiba.png
kernel: device/google/shusky-kernel
@@ -37,7 +34,6 @@ available_in_murena_store: true
peripherals: [Accelerometer, BeiDou, Compass, Fingerprint reader, Galileo, GLONASS, GPS, Gyroscope, Light sensor, NFC, Proximity sensor, Qi wireless charging, Qi reverse wireless charging, USB OTG]
ram: 8 GB
recovery_boot: devices.hold_volume_down_power_recovery
recovery_reboot: fastboot_menu
release: 2023
screen: 6.3 in 
screen_res: 1080x2400
@@ -51,22 +47,24 @@ vendor: Google
vendor_short: google
versions: [20]
wifi: 802.11 a/b/g/n/ac
recovery_partition_name: vendor_boot
community_doc_url: https://community.e.foundation/t/google-pixel-8-shiba-documentation-suggestions/63331
is_lineageos_official: true
is_ab_device: true
removable_battery: 0
sim_slots: 1
region: All
install_e_file_name: install_e_with_erecovery
install_method: fastboot_nexus
install:
- { mode: Official install doc }
- { mode: /e/OS Installer }
- { mode: Roll-back, url: "https://developers.google.com/android/images#shiba" }
oem_lock_file_name: oem_lock_pixel
oem_unlock_file_name: oem_unlock_generic
recovery_install_file_name: recovery_install_fastboot_ab_install
recovery_install_command: fastboot flash vendor_boot
display_erecovery: false
ignore_troubleshooting_tips: true
install_e_file_name: install_e_shiba
verified_boot:
- {vendor: 'Any vendor', supported: 'yes'}
bootloader_relocking:
- {vendor: 'Any vendor', supported: 'yes'}
safetynet:  1
rootbeer_pass:  1
+54 −0
Original line number Diff line number Diff line
## Installing /e/OS 
{% include alerts/tip.html content="For Windows users, we advise to use Git Bash. For more info about Downloads and Installation see [Official Documentation](https://git-scm.com/about)"%}


1. Unzip the archive

    ```
    unzip <fileyoudownloaded>
    ```

   > Replace `<fileyoudownloaded>` with the name of the archive file you downloaded.

   > Alternately you can create a folder and unzip the archive there.


1. Confirm that extracted directory contains following content:

    - `bin-linux-x86 directory` - which contains linux tools including fastboot and adb
    - `bin-msys directory` - which contains Windows tools including fastboot and adb
    - `img files` - The `img` files that are to be flashed onto the device.
    - `flash_shiba_factory.sh` - The installer script.

1. Boot into bootloader/fastboot mode.

    - Power OFF the device.
    - While holding `Volume Down` button, plug in a USB Cable that's connected to a PC on the other end.

1. Run the installer script on Terminal(Linux) or on Git Bash UI(Windows).
    - Make sure you are in the current directory which contains the `flash_shiba_factory.sh` file.

    **Linux**
    - Right click -> Open terminal here
    - Execute the following command:

    ```
    chmod +x flash_shiba_factory.sh && ./flash_shiba_factory.sh
    ``` 

    **Windows**
    - Right click -> Git Bash here
    - Execute the following command:

    ```
    chmod +x flash_shiba_factory.sh && ./flash_shiba_factory.sh
    ```

    


The script will flash all required files and will wait for input at the last step. Proceed to locking the bootloader.



{% include templates/oem_lock_pixel_norecovery.md %}
 No newline at end of file
+26 −0
Original line number Diff line number Diff line
## Locking the bootloader

{% include alerts/warning.html content="The bootloader is lockable in official builds only. The procedure to lock the bootloader will not work on community builds."%}

1. Boot into bootloader/fastboot mode if not already there by

    - {% t device.download_boot %}

1. Once the device is in bootloader/fastboot mode, verify your PC finds it by typing:
    ```
    fastboot devices
    ```
    {% include alerts/tip.html content="If you see `no permissions fastboot` while on Linux or macOS, try running `fastboot` as root." %}

1. Download the [avb custom key](https://images.ecloud.global/stable/pkmd_pixel.bin)
1. Erase the previous key `fastboot erase avb_custom_key`
1. Flash the new key previously downloaded `fastboot flash avb_custom_key pkmd_pixel.bin`
1. Lock the device `fastboot flashing lock`
1. Use the volume key to select `Lock the bootloader`

## Reboot the device

1. Use power button to `Start` the device
    > The reboot process may take 5 - 10 minutes

{% include templates/post_oem_lock.md %}