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

Commit 9658715d authored by Frank PREEL's avatar Frank PREEL
Browse files

Delivery 0.2

parent afb0689c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
const PRODUCT = 'Web easy installer';
const VERSION = '0.2';

const express = require('express');
const app = express();

app.use(express.json());
app.use(express.static(__dirname + '/static'));


console.log(`Starting ${PRODUCT} ${VERSION}`);

app.listen(3000, () => console.log('Listening on port 3000'));

const gracefulShutdown = () => {
+1 −0
Original line number Diff line number Diff line
@@ -224,6 +224,7 @@
            <div class="text-center">
                <img class="instruction-img" src="assets/images/illustrations/gs290/Illustration - Accept warning-1.png">
            </div>
            <p data-translate="unlocking-instructions-1-teracube-a"></p>
        </div>
        <div class="card-footer">
            <button data-translate="next" class="next" onclick="VIEW.executeStep(this, 'unlocking-gs290')"></button>
+5 −6
Original line number Diff line number Diff line
{
  "steps": [
    {  
      "command": "reboot bootloader"
    },
    {
      "mode": "bootloader",
      "id": "connect-bootloader",
      "command": ["connect bootloader","flashing unlock unlocked"],
      "needUserGesture": true
@@ -32,7 +30,8 @@
        "flash tee1 trustzone1.bin",
        "flash tee2 trustzone2.bin",
        "flash preloader preloader.img",
        "", 
        "erase userdata",
        "erase metadata",
        "reboot adb"
      ]
    },
+0 −97
Original line number Diff line number Diff line
{
  "android": 12,
  "steps": [
    {
      "command": "reboot bootloader"
    },
    {
      "id": "connect-bootloader",
      "command": [
        "connect bootloader",
        "oem unlock"
      ],
      "needUserGesture": true
    },
    {
      "id": "unlocking",
      "needUserGesture": true
    },
    {
      "id": "activate-developer-options",
      "needUserGesture": true
    },
    {
      "id": "enable-usb-file-transfer",
      "needUserGesture": true
    },
    {
      "id": "device-detection",
      "command": "connect adb",
      "needUserGesture": true
    },
    {
      "mode": "bootloader",
      "id": "connect-bootloader",
      "command": "connect bootloader",
      "needUserGesture": true
    },
    {
      "id": "flashing",
      "command": [
        "flash dtbo dtbo-e-2.2-t-20240716417775-dev-avicii.img",
        "flash vbmeta vbmeta-e-2.2-t-20240716417775-dev-avicii.img",
        "flash recovery recovery-e-2.2-t-20240716417775-dev-avicii.img"
      ]
    },
    {
      "id": "bootloader-to-recovery-manually",
      "needUserGesture": true
    },
    {
      "id": "format-device",
      "needUserGesture": true
    },
    {
      "id": "go-to-apply-update",
      "needUserGesture": true
    },
    {
      "id": "sideload",
      "command": "sideload oneplus-nord-rom.zip"
    },
    {
      "id": "sideload-ended",
      "needUserGesture": true
    },
    {
      "id": "connect-bootloader",
      "command": [
        "connect bootloader",
        "reboot"
      ],
      "needUserGesture": true
    },
    {
      "id": "murena-cloud-account",
      "needUserGesture": true
    },
    {
      "id": "installation-complete",
      "needUserGesture": true
    },
    {
      "id": "help-us-improve-the-tool"
    }
  ],
  "folder": [
    {
      "name": "One+ Nord recovery installer",
      "path": "https://images.ecloud.global/dev/avicii/recovery-IMG-e-2.2-t-20240716417775-dev-avicii.zip",
      "unzip": true
    },
    {
      "name": "oneplus-nord-rom.zip",
      "path": "https://images.ecloud.global/stable/avicii/e-2.2-s-20240715417774-stable-avicii.zip"
    }
  ]
}
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@
    },
    {
      "name": "pixel4-xl-rom.zip",
      "path": "assets/e-2.2-t-20240717417775-dev-coral.zip"
      "path": "https://images.ecloud.global/dev/coral/e-2.2-t-20240717417775-dev-coral.zip"
    }
  ]
}
 No newline at end of file