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

Verified Commit 2d46ff33 authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

Fix sideload for A14 recovery

Based on a tcpdump from adb client the MAX_PAYLOAD size sent was 0x10000
`sideload-host-1686972035:65536`. So we patched accordingly the sideload
with this value. The previous one was too big so it explains the
failure we had.

Ref: https://gitlab.e.foundation/e/devices/eos-installer/-/issues/1
parent 9585a8e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ export class Recovery extends Device {
    const encoder = new TextEncoder();
    const decoder = new TextDecoder();

    const MAX_PAYLOAD = 0x40000;
    const MAX_PAYLOAD = 0x10000;
    const fileSize = blob.size;
    const service = `sideload-host:${fileSize}:${MAX_PAYLOAD}`; //sideload-host:1381604186:262144