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

Commit af3094c3 authored by Romain Hunault's avatar Romain Hunault 🚴🏻
Browse files

Use an if/else to handle the case when a device doesn't support sideload mode

parent 4fa5e244
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,6 @@ width: 68.1 mm (2.68 in)
wifi: 802.11 a/b/g/n/ac, Dual-band, Wi-Fi Direct, Hotspot
status: dev
is_lineageos_official: false
install_e: install_e_dreamlte
update_vendors: true
recovery_install_need_patch: false
removable_battery: 0
@@ -54,3 +53,4 @@ sim_slots: 2
region: All
maturity: orange
install: eShop
install_without_sideload: true
+10 −2
Original line number Diff line number Diff line
@@ -11,11 +11,19 @@
1. Now tap Format Data and continue with the formatting process. This will remove encryption as well as delete all files stored on the internal storage.
1. Return to the previous menu and tap Advanced Wipe.
1. Select the Cache and System partitions to be wiped and then Swipe to Wipe.
1. Sideload the /e/ .zip package:
{% if device.install_without_sideload %}1. Push and install the /e/ .zip package:

    ```shell
    adb push </e/ zip package> /sdcard/
    adb shell twrp install /sdcard/</e/ zip package>
    adb shell rm /sdcard/</e/ zip package>
    ```
{% else %}1. Sideload the /e/ .zip package:
    - On the device, select “Advanced”, “ADB Sideload”, then swipe to begin sideload.
    - On the host machine, sideload the package using:

        ```
        ```shell
        adb sideload filename.zip
        ```
{% endif %}
1. Once installation has finished, return to the main menu, tap Reboot, and then System
+0 −29
Original line number Diff line number Diff line
## Installing /e/ with `adb` on the {{ device.codename }}

- On an adb enabled PC open a console  

- Connect the {{ device.vendor }} {{ device.codename}} with a working USB data cable

{% include alerts/tip.html content="Please note there are data cables which are used only for charging. Ensure the cable you have allows data and file transfer. " %}

- Push the /e/ OS zip file for the {{ device.vendor }} {{ device.codename}} from the PC to the phone using the USB cable by typing the following command in the console

    ```
    adb push e-0.11-p-2020082870302-dev-dreamlte.zip /sdcard/

    ```

{% include alerts/tip.html content="Note the zip file name may differ. Adjust the zip name according to the file you downloaded in the previous step" %}

- Now lets install the /e/OS on your device. For that we will type the below command in the console 

    ```

    adb install /sdcard/e-0.11-p-2020082870302-dev-dreamlte.zip
    ```

- Wait for the previous step to complete. After a successful install we now need to reboot. For that we will type the below command on the console

    ```
    adb reboot
    ```
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
---
sidebar: home_sidebar
title: Install /e/ on 

folder: install
layout: default
layout: page
permalink: /devices/dreamlte/install
device: dreamlte
---