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

Commit c9763139 authored by Paula's avatar Paula
Browse files

missing pixel4a5g file

parent 8810cd6c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4,7 +4,6 @@ import {ADB} from "./device/adb.class.js";
import {Recovery} from "./device/recovery.class.js";
import {Fastboot} from "./device/fastboot.class.js";

let next_id = 0;
const MODE = {
    adb: 'adb',
    recovery: 'recovery',
+0 −7
Original line number Diff line number Diff line
import {Device} from "./device.class.js";

const VERSION = 0x01000000;
const VERSION_NO_CHECKSUM = 0x01000001;

export class ADB extends Device {
    constructor(device) {
        super(device);
@@ -51,10 +48,6 @@ export class ADB extends Device {
        return await shell.receive();
    }

    startInBootloader() {
        return this.runCommand('reboot bootloader');
    }

    async reboot(mode) {
        return await this.device.shell(`reboot ${mode}`);
    }
+0 −7
Original line number Diff line number Diff line
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT

import * as fastboot from "../../lib/fastboot/fastboot.mjs";
import {TimeoutError} from "../../lib/fastboot/fastboot.mjs";
import {Device} from "./device.class.js";
@@ -8,7 +6,6 @@ import {Device} from "./device.class.js";
 * wrap fastboot interactions
 * */
export class Bootloader extends Device {
    CONNECT = "host::features=shell_v2,cmd,stat_v2,ls_v2,fixed_push_mkdir,apex,abb,fixed_push_symlink_timestamp,abb_exec,remount_shell,track_app,sendrecv_v2,sendrecv_v2_brotli,sendrecv_v2_lz4,sendrecv_v2_zstd,sendrecv_v2_dry_run_send,openscreen_mdns";

    constructor() {
        super(new fastboot.FastbootDevice());
@@ -25,10 +22,6 @@ export class Bootloader extends Device {
        fastboot.setDebugLevel(2);
    }

    startInBootloader() {
        return this.device.reboot('bootloader');
    }

    reboot(mode) {
        return this.device.reboot(mode);
    }
+0 −1
Original line number Diff line number Diff line
import {Device} from "./device.class.js";


export class Fastboot extends Device {
    constructor(device) {
        super(device);
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
      "instruction": "go to recovery manually"
    },
    {
      "instruction": "eraseData",
      "instruction": "Format data / Factory reset",
      "needUser": true
    },
    {
Loading