Document official nokia-beatles release support and a1111 archive workflow
- Mark Nokia 2720 Flip (nokia-beatles) alongside Nokia 8110 4G (nokia-argon) as a verified a1111 (lennon) public release in README.md and MANUAL.md - Document cover display hardware, outer side-key wake controls, release archive extraction, and dual-target flashing/packaging commands in README.md, MANUAL.md, and AGENTS.md
This commit is contained in:
1 parent
9fc82fb7d8
commit
ed04da3e23
3 files changed
+41
-27
No files matched your search
@@ -3,18 +3,19 @@
|
||||

|
||||
|
||||
This manual covers flashing, operating, and customizing **Bananarchy Linux** (`240x320` native edition) on **Qualcomm MSM8905 and MSM8909** Nokia feature phones. Current release: `a1111` (codename `lennon`); see the [changelog](./CHANGELOG.md) for release notes.
|
||||
- **Nokia 8110 4G (`nokia-argon`)**
|
||||
- **Nokia 2720 Flip (`nokia-beatles`)**
|
||||
- **Nokia 800 Tough (`nokia-tough` / `nokia-coconut`)**
|
||||
- **Nokia 8000 4G (`nokia-sparkler`)** and **Nokia 6300 4G (`nokia-leo`)**
|
||||
- **Nokia 8110 4G (`nokia-argon`)** — verified public release: https://bananarchy.top/builds/bananarchy-nokia-argon-a1111-lennon.zip
|
||||
- **Nokia 2720 Flip (`nokia-beatles`)** — verified public release: https://bananarchy.top/builds/bananarchy-nokia-beatles-a1111-lennon.zip
|
||||
- **Nokia 800 Tough (`nokia-tough` / `nokia-coconut`)** — source build via `./rebuild-image.sh nokia-tough --mkinitfs`
|
||||
- **Nokia 8000 4G (`nokia-sparkler`)** and **Nokia 6300 4G (`nokia-leo`)** — source build via `./rebuild-image.sh nokia-sparkler --mkinitfs` / `nokia-leo`
|
||||
|
||||
---
|
||||
|
||||
## 1. System overview and workspace contents
|
||||
|
||||
### 1.1 System images (`images/`)
|
||||
- `images/bananarchy-nokia-argon.img`: partitioned MBR image (`256 MiB` `ext2` `pmOS_boot` + `ext4` `pmOS_root`) ready for EDL flashing to `userdata`, `fastboot flash userdata`, or raw `dd` to a microSD card.
|
||||
- Additional device images (`bananarchy-nokia-beatles.img`, `bananarchy-nokia-tough.img`, `bananarchy-nokia-sparkler.img`) can be generated at any time via `./rebuild-image.sh <device> --mkinitfs`.
|
||||
- `images/bananarchy-nokia-argon.img` and `images/bananarchy-nokia-beatles.img`: partitioned MBR images (`256 MiB` `ext2` `pmOS_boot` + `ext4` `pmOS_root`) ready for EDL flashing to `userdata`, `fastboot flash userdata`, or raw `dd` to a microSD card.
|
||||
- `images/boot-lk2nd-nokia-beatles-display.img` and `images/boot-bananarchy-nokia-beatles.img`: the 2720 Flip display-enabled `lk2nd` secondary bootloader (`boot`) and standalone mainline Android `boot.img` (`recovery`).
|
||||
- If you downloaded a public release `.zip` archive (`bananarchy-nokia-argon-a1111-lennon.zip` or `bananarchy-nokia-beatles-a1111-lennon.zip`), extract its `.img` files into `images/` before running `./flash-edl.sh <device>`. Additional device images (`bananarchy-nokia-tough.img`, `bananarchy-nokia-sparkler.img`, `bananarchy-nokia-leo.img`) can be built from source at any time via `./rebuild-image.sh <device> --mkinitfs`.
|
||||
|
||||
### 1.2 Bootloader and EDL programmer (`bootloader/`)
|
||||
- `bootloader/lk2nd-msm8909.img`: secondary bootloader (`lk2nd`) providing Fastboot and `extlinux` boot discovery for MSM8905 and MSM8909 devices. `images/boot-lk2nd-nokia-beatles-display.img` is the source-built 2720 Flip port (see `bootloader/lk2nd/README.md`).
|
||||
@@ -44,7 +45,8 @@ This manual covers flashing, operating, and customizing **Bananarchy Linux** (`2
|
||||
|
||||
Run the automated EDL flasher from the repository root on your host machine:
|
||||
```bash
|
||||
sudo ./flash-edl.sh
|
||||
sudo ./flash-edl.sh nokia-argon # Nokia 8110 4G
|
||||
sudo ./flash-edl.sh nokia-beatles # Nokia 2720 Flip
|
||||
```
|
||||
*(To flash another target device image, pass its codename, e.g. `sudo ./flash-edl.sh nokia-sparkler`.)* The programmer is selected automatically: `8110.mbn` (8110 4G), `2720.mbn` (2720 Flip), `800t.mbn` (800 Tough), and `8k.mbn` for **both** 8000 4G and 6300 4G. The 2720 Flip US variant (`Nokia_bts_us`) uses `2720v.mbn`: pass `--variant us` (or `--loader ./bootloader/loaders/2720v.mbn`). Verify with `./flash-edl.sh --list-loaders`.
|
||||
|
||||
@@ -70,9 +72,9 @@ The script performs the following steps automatically:
|
||||
### Method B: Fastboot flashing (once `lk2nd` is installed)
|
||||
|
||||
1. Enter the `lk2nd` Fastboot menu either by selecting **Reboot to loader** from the **Power** menu (`sxmo_power.sh bootloader`) or by holding **D-Pad down** while powering on the phone.
|
||||
2. Flash the system image to `userdata`:
|
||||
2. Flash the system image for your device (`nokia-argon` or `nokia-beatles`) to `userdata`:
|
||||
```bash
|
||||
fastboot flash userdata ./images/bananarchy-nokia-argon.img
|
||||
fastboot flash userdata ./images/bananarchy-<device>.img
|
||||
fastboot erase system
|
||||
fastboot reboot
|
||||
```
|
||||
@@ -83,7 +85,7 @@ The script performs the following steps automatically:
|
||||
|
||||
`lk2nd` automatically checks the microSD card for a `pmOS_boot` partition before internal eMMC:
|
||||
```bash
|
||||
sudo dd if=./images/bananarchy-nokia-argon.img of=/dev/sdX bs=4M status=progress conv=fsync
|
||||
sudo dd if=./images/bananarchy-<device>.img of=/dev/sdX bs=4M status=progress conv=fsync
|
||||
```
|
||||
|
||||
---
|
||||
@@ -104,7 +106,8 @@ sudo dd if=./images/bananarchy-nokia-argon.img of=/dev/sdX bs=4M status=progress
|
||||
| **D-Pad up / down** | `Up` / `Down` | Navigate menus and apps; in `st`: `Shift+Up`/`Shift+Down` (or `ScrlUp`/`ScrlDn` in `Ctl` mode) scrolls terminal history; in T9 preedit: toggle letter case (`a` <-> `A`) or jump `+4` / `-4` candidates |
|
||||
| **D-Pad left / right** | `Left` / `Right` | On empty desktop: switch workspace tags (`-1` / `+1`); in T9 preedit: step back 1 candidate (`Left`) or commit candidate (`Right`); in idle `Ctl` mode: `Home` / `End` |
|
||||
| **Center OK** | `Return` (`KEY_OK`) | Confirm / Enter, or commit active T9 preedit candidate immediately |
|
||||
| **Slider close / open** | `SW_LID` (`lid:on` / `lid:off`) | **Close**: close open menu, turn off keypad backlight, and lock phone with passcode (`xlocker`); **Open**: restore screen and keypad backlight and show passcode lock screen |
|
||||
| **Slider / flip close & open** | `SW_LID` (`lid:on` / `lid:off`) | **Close**: close open menu, turn off main/keypad backlights, and lock phone with passcode (`xlocker`); **Open**: restore screen and keypad backlight and show passcode lock screen |
|
||||
| **2720 Flip outer side keys (closed)** | `KEY_VOLUMEUP` / `KEY_VOLUMEDOWN` / `KEY_POWER` | While the flip is closed, wake the external `240x240` cover display (centered clock, date, battery, and network indicators) for the configured **Screen blank** duration while keeping the internal panel dark |
|
||||
|
||||
> **Screen blanking, idle blanking, deep standby, passcode locking (`xlocker`), waking, and brightness persistence**:
|
||||
> While unlocked (and with the lid open), the display blanks automatically after the configured **Screen blank** timeout — **5 minutes by default** — via `dwm`'s own evdev input timer and `bananarchy-idle-blank.sh`. Change it in **Config -> Screen blank** (`Off`, 30 s, 1/5/10/30 min), which writes `~/.config/sxmo/idle_blank_timeout`; `bananarchy-idle-timeout.sh get|label|set <seconds>` does the same from the shell, and `SXMO_UNLOCK_IDLE_TIME` or `~/.cache/sxmo/sxmo.noidle` still override/disable it. Closing the slider/lid or locking from the **Power** menu blanks the panel **immediately** (both `Lock` and `Lock (Screen off)` now use `xlocker screenoff`), and an incoming call or SMS/notification turns it back on **immediately** via `bananarchy-screen-wake.sh`, which also resets `dwm`'s idle timer so it cannot blank again right away. Any keypad, lid or power key also restores the display; if it arrives before the idle-lock delay elapses, the desktop stays unlocked. Blanking now arms the screenlock daemon: `bananarchy-idle-blank.sh` calls `bananarchy-idle-lock.sh arm`, which starts the trusted `sxmo_state.sh set screenoff` transition (`xlocker screenoff` -> `LOCK_BLANK` on `locker.so`) after **30 seconds** of dark panel by default. Set `~/.config/sxmo/idle_lock_delay` with `bananarchy-idle-lock.sh set 0` to lock immediately on blank, any other number of seconds to change the grace period, or `set off` to keep the old blank-without-passcode behaviour. `bananarchy-idle-lock.sh get|label|cancel` reports and cancels the pending lock; `bananarchy-screen-wake.sh`, `bananarchy-idle-blank.sh on` and `sxmo_hook_unlock.sh` cancel it on every wake, and the transition only fires while the panel is still dark. X11 screensaver timeouts stay at `0 0 0`; DPMS is driven by the backlight state. Optional **deep standby** is currently **unavailable**: the shipped kernel keeps the pmaports module ABI and has no sleep states in `/sys/power/state`. It stays disabled via `/etc/bananarchy-no-deep-standby`. Even a full custom kernel module tree would not help here: this firmware has no PSCI `SYSTEM_SUSPEND`, so only s2idle (`freeze`) would be possible, without DDR self-refresh, and the saving would be under 1 mA (see `BATTERY-OPTIMIZATION-ANALYSIS.md`). Active calls, SSH sessions and VPN/tether connections would block suspension. Locking the phone (`Power -> Lock`, `Power -> Lock (Screen off)`, `2x End / Power`, or closing the physical slider) activates the fullscreen `240x320` **Passcode Locker (`xlocker` / `locker.so`)**, which verifies your numeric system password (`147147` by default, checked against `/etc/shadow` via `/usr/bin/bananarchy-verify-passcode`). While locked, there is no keypad, softkey, slider, or power-button bypass (`dmenu`, `xdrawer`, terminal spawning, and desktop shortcuts are blocked, and only incoming calls can temporarily overlay `xcallscreen`). Screen and keypad brightness levels configured in **XDrawer** or **Config -> Brightness** are persisted in `~/.config/sxmo/brightness` and `/tmp/sxmo_saved_brightness` and restored on every wake.
|
||||
@@ -672,6 +675,6 @@ sudo ./flash-edl.sh nokia-argon # uses vendor/edl/ and auto-instal
|
||||
|
||||
The bootstrap is idempotent: an up-to-date rootfs is left untouched. `prebuilt/` is the single source of truth for compiled artifacts, and `scripts/rootfs-packages.txt` is the single source of truth for the package set. The patched EDL client library is vendored under `vendor/edl/` (MIT), so flashing works from a clean clone without a manual download; `flash-edl.sh` installs `pyusb` and `pyserial` into the gitignored `.flash-deps/` directory when needed.
|
||||
|
||||
## Verified 2720 Flip image set
|
||||
## Verified release image set
|
||||
|
||||
For the `a1111` / `lennon` release, use the verified `nokia-argon` and `nokia-beatles` raw images, plus the standalone boot image and display-enabled lk2nd image generated in `images/`. These files are local build outputs and are not tracked in git; `scripts/check-rebuild.sh` pins their hashes when present. `scripts/set-bananarchy-hostname.sh` gives every image its target codename as the default hostname, `scripts/apply-bananarchy-overlay.sh` writes `/usr/share/bananarchy/lid-profile` per target (`slider` on `nokia-argon`, `flip` on `nokia-beatles`, `none` on candybar targets) so flip-only daemons stay disabled on non-flip devices, and the display lk2nd image requires the low-bit reboot cookie so **Reboot to loader** reaches the visible Fastboot menu. The default `147147` unlock passcode remains provisioned with the locker path unchanged. The X session performs a one-shot startup cleanup of stale `dmenu` and xlocker keyboard grabs when unlocked, while `dwm` keeps the known-good 350 ms wake guard. `prepare-release.sh` rebuilds missing images from source and packages them; use `BA_REBUILD=1` for a forced source rebuild.
|
||||
For the `a1111` / `lennon` release, use the verified `nokia-argon` and `nokia-beatles` raw images, plus the standalone boot image and display-enabled lk2nd image generated in `images/`. These files are local build outputs and are not tracked in git; `scripts/check-rebuild.sh` pins their hashes when present. `scripts/set-bananarchy-hostname.sh` gives every image its target codename as the default hostname, `scripts/apply-bananarchy-overlay.sh` writes `/usr/share/bananarchy/lid-profile` per target (`slider` on `nokia-argon`, `flip` on `nokia-beatles`, `none` on candybar targets) so flip-only daemons stay disabled on non-flip devices, and the display lk2nd image requires the low-bit reboot cookie so **Reboot to loader** reaches the visible Fastboot menu. The default `147147` unlock passcode remains provisioned with the locker path unchanged. The X session performs a one-shot startup cleanup of stale `dmenu` and xlocker keyboard grabs when unlocked, while `dwm` keeps the known-good 350 ms wake guard. `./prepare-release.sh nokia-argon` and `./prepare-release.sh nokia-beatles` validate and package each release archive (rebuilding missing images from source); use `BA_REBUILD=1` for a forced source rebuild.
|
||||
Reference in new issue
Block a user