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

Commit 67e1a2c4 authored by Ashwin Prakash's avatar Ashwin Prakash
Browse files

Nord: Support for all model names

parent 320c7a0f
Loading
Loading
Loading
Loading
+91 −0
Original line number Diff line number Diff line
{
  "android": 12,
  "steps": [
    {
      "command": "reboot bootloader"
    },
    {
      "id": "connect-bootloader",
      "command": ["connect bootloader", "oem unlock goto_flashing"],
      "needUserGesture": true
    },
    {
      "id": "unlocking",
      "needUserGesture": true
    },
    {
      "id": "activate-developer-options",
      "needUserGesture": true
    },
    {
      "id": "activate-usb-debugging",
      "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.img",
        "flash vbmeta vbmeta.img",
        "flash recovery recovery.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": "murena-workspace-account",
      "needUserGesture": true
    },
    {
      "id": "installation-complete"
    }
  ],
  "folder": [
    {
      "name": "One+ Nord recovery installer",
      "path": "http://127.0.0.1:8000/recovery-IMG-e-3.5-a16-20260204577660-official-avicii.zip",
      "unzip": true,
      "mapping": {
        "^dtbo.*img$": "dtbo.img",
        "^vbmeta.*img$": "vbmeta.img",
        "^recovery.*img$": "recovery.img"
      }
    },
    {
      "name": "oneplus-nord-rom.zip",
      "path": "http://127.0.0.1:8000/e-3.5-a16-20260204577660-official-avicii.zip"
    }
  ]
}
+5 −1
Original line number Diff line number Diff line
@@ -38,7 +38,11 @@
    },
    {
      "id": "flashing",
      "command": ["flash dtbo dtbo.img", "flash vbmeta vbmeta.img","flash recovery recovery.img"]
      "command": [
        "flash dtbo dtbo.img",
        "flash vbmeta vbmeta.img",
        "flash recovery recovery.img"
      ]
    },
    {
      "id": "bootloader-to-recovery-manually",
+16 −8
Original line number Diff line number Diff line
@@ -411,6 +411,14 @@ export class Controller {
        }
      }

      if (
        this_model === "Nord" ||
        this_model === "OnePlusNord" ||
        this_model === "avicii"
      ) {
        this_model = "avicii";
      }

      resources = await (await fetch(`resources/${this_model}.json`)).json();
      if (
        current_security_path_level != null &&