Finalize verified 2720 Flip release source and untrack image outputs
This commit is contained in:
1 parent
2a3078e42c
commit
1c011b360a
121 files changed
+8467
-686
No files matched your search
@@ -82,7 +82,7 @@ bananarchy/
|
||||
├── rebuild-image.sh # Builds boot.img and partitioned MBR .img
|
||||
├── chroot-shell.sh # Rootless Docker armv7 package and rootfs customization shell
|
||||
├── artwork/ # Bananarchy master icon, generated icons, wallpapers, and splashes
|
||||
├── bootloader/ # lk2nd secondary bootloader and Sahara/Firehose programmer (8110.mbn)
|
||||
├── bootloader/ # lk2nd secondary bootloader, source port patch/toolchain, and per-device Sahara/Firehose programmers
|
||||
├── devices/ # Device definitions, DTBs, and MIPI-DBI panel init sequences
|
||||
├── patches/ # Upstream kernel, EDL, Sxmo, Xlibre, and fcitx5-t9 patch sets
|
||||
├── src/
|
||||
@@ -183,6 +183,7 @@ All components are pre-compiled in `prebuilt/` and `overlay/rootfs/`, and can be
|
||||
```
|
||||
Output images are written to `images/`:
|
||||
- `images/bananarchy-<device>.img`: partitioned MBR image with `pmOS_boot` + `pmOS_root` for EDL `userdata`, `fastboot flash userdata`, or a microSD card.
|
||||
- `images/boot-bananarchy-<device>.img`: standalone Android `boot.img` with the appended device DTB. On `nokia-beatles` the default `--method lk2nd` boots the **source-built** `images/boot-lk2nd-nokia-beatles-display.img` first (the upstream QCDT layout with a compact `/lk2nd/nokia-beatles` node, `/cpus` added to every QCDT DTB to satisfy aboot's partial-goods ASSERT, and the GC9305 v2 panel init stream; see `bootloader/lk2nd/README.md`), then lk2nd loads this kernel/DTB from `userdata` via `extlinux.conf`. The default writes lk2nd to `boot` and this standalone `boot.img` to `recovery`; `--method both` is the fallback that flashes it into both slots. Hold Volume Up if the KaiOS splash persists. The stock 2720 aboot is locked, so the flasher also sets `devinfo.is_unlocked=1` by default (see `scripts/make-unlocked-devinfo.py`); pass `--no-unlock-bootloader` only if you know the device is already unlocked. The eMMC `devinfo` unlock is effective here (`VB_L` path, no `keymaster`), so EDL alone is sufficient; stock fastboot / `oem unlock-go` is not required. `--only-unlock` is optional. After changing that DTB, run `scripts/repack-beatles-bootimg.py` and `scripts/sync-beatles-bootfs.py --debug-cmdline`; rebuild lk2nd with `scripts/build-lk2nd-beatles.sh` if the lk2nd port changed; validate with `scripts/check-beatles-bootimg.py`, `scripts/check-lk2nd-beatles.py`, `scripts/test-lk2nd-beatles-port.py` and `scripts/sync-beatles-bootfs.py --check`. If the phone only shows the KaiOS logo and then goes dark, check `lsusb`: `05c6:900e` means aboot crashed into EDL. The confirmed cause was `ASSERT FAILED at (platform/msm_shared/partial_goods.c:80): 0` because lk2nd's QCDT DTBs lacked `/cpus`; the port now adds it. Flash `images/boot-lk2nd-nokia-beatles-diagnostic.img` with `--lk2nd-image --verify --dump-diagnostics` (forced fastboot + runtime `oem display-init` probe, QCDT panel fallback for chain-loading, final post-update `oem scan-dtb`, and bounded pstore console staging), if it returns to `900e`, re-read aboot's RLOG buffer for the next ASSERT (the untouched `bootloader/lk2nd-msm8909.img` lacks `/cpus` too and will crash identically); see `bootloader/lk2nd/README.md`.
|
||||
|
||||
---
|
||||
|
||||
@@ -194,10 +195,17 @@ sudo ./flash-edl.sh nokia-argon
|
||||
|
||||
The patched EDL client library is vendored under `vendor/edl/` (MIT), so a clean clone flashes without any manual download. `flash-edl.sh` also installs `pyusb` and `pyserial` into the gitignored `.flash-deps/` directory when the host lacks them; set `BANANARCHY_EDL_DIR` to use a different library checkout.
|
||||
|
||||
After a successful flash the phone boots lk2nd's branded boot splash, then the Plymouth boot splash, then X. Log in over the USB network with `ssh user@172.16.42.1` (password `147147`); if the main sshd's PAM stack is ever broken, a USB-only fallback listener accepts the same credentials on `ssh -p 2222 user@172.16.42.1`. Selecting **Reboot to loader** from the Power menu shows the visible lk2nd Fastboot menu; **Bootloader** stays in fastboot, **EDL** enters Sahara, and `fastboot reboot` returns to Linux. On the 2720 Flip, OpenRC starts independent services in parallel with a patched `local` service, a bounded `udevadm settle` and an independent USB fallback sshd keep X from waiting on modem firmware, a boot-open lid starts unlocked with a live keypad, and the external cover overlay remains compile-tested but hardware-gated; the compiled idle renderer is ready for a future `/dev/fb1`. See `MANUAL.md` section 4.1 for first-boot troubleshooting of the boot splash, keypad input and the external cover display.
|
||||
|
||||
See [MANUAL.md](MANUAL.md) for complete EDL, Fastboot, and microSD installation instructions, keypad navigation shortcuts, and the multi-mode T9 reference.
|
||||
|
||||
|
||||
## Credits
|
||||
|
||||
All Bananarchy-specific components were initially created by Luxferre and released into the public domain with no warranties.
|
||||
|
||||
Alpine Linux, postmarketOS/Nura, and other third-party components are guided by their respective licensing terms.
|
||||
|
||||
## Verified 2720 Flip release images
|
||||
|
||||
The `a1108` / `dejavu` release packages the physically verified known-good 2720 Flip image set: the raw `userdata` image, standalone mainline `boot.img`, and display-enabled lk2nd image. These are local build outputs, not tracked in git; `scripts/check-rebuild.sh` pins their hashes when present, and `prepare-release.sh` rebuilds missing artifacts from source. `dwm` uses the known-good 350 ms wake guard, the X session releases stale startup keyboard grabs once, and `BA_REBUILD=1` forces an explicit rebuild.
|
||||
Reference in new issue
Block a user