Commit Graph
15 Commits
Author SHA1 Message Date
Abdurrahman Kaan DikeçandClaude Opus 5 165b44aa21 OpenWrt: remove attended sysupgrade and block flashing firmware images (would overwrite the eMMC)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-17 07:57:54 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 6bb89eb765 Wi-Fi at boot: answer the pending regulatory.db firmware request; replace OpenWrt's default open network
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-17 04:21:50 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 0b8721e67b Installer: interactive Ubuntu/OpenWrt install from rooted Android
install.sh finds the free eMMC region, asks which systems to install and how to boot, pulls vendor files into work/,
builds root filesystems and the boot image, installs to /ubuntu and /openwrt, writes boot_b and arms slot b.
Verified on the device: both systems installed, Ubuntu booted from /ubuntu with hotspot, cellular, Bluetooth and GPU.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-17 04:15:38 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 ea6344301b OpenWrt: nftables sets in kernel (fw4 NAT), signed regdb and country before hostapd, PATH fixes
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-17 03:51:31 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 f24b59da1a OpenWrt 25.12 rootfs next to Ubuntu, multi-OS init, portability fixes
- init selects /ubuntu, /openwrt or a root-level Ubuntu via /.mu300/boot-os; mu300-os switches
- openwrt/build-rootfs.sh: official armsr rootfs + apk packages + vendor chroot + procd services
- netifd protocol mu300cell for the modem; watch uses ifup on OpenWrt
- bind-mount the Android property area; unset LD_PRELOAD for the chroot; stty non-fatal
- USB gadget re-enumeration hook for macOS hosts, early recorder in preinit

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-17 02:44:08 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 27a2fb72ba GPU: Mali-G57 OpenCL on Linux (kbase r40p0 from source, Android userspace in chroot)
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-17 01:22:37 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 a69a555e42 RAM: free unused reserved memory (logo, sysdump), zram swap
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Z17MBkdHmZPvNPNSLxcHk
2026-09-17 01:16:19 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 d6320b4f83 Mobile data: reconnect automatically after modem resets
The modem firmware occasionally resets and returns with the radio off and no
PDP context. mobile-data watch checks the context every 30 s and brings data
back up; a manual 'down' is respected.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 01:08:17 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 7622a8ef87 Wi-Fi: 5 GHz access point (DS Parameter Set element), HT40/VHT80 hotspot
The SC2355 firmware takes the AP channel from the beacon's DS Parameter Set
element, which upstream hostapd omits on 5 GHz; Android's beacon (captured
with a kprobe) has it. The driver now inserts it, and hotspot-start uses
802.11ac 80 MHz on channels 36-48/149-165 with BAND=5 as the default.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 00:59:26 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 5b31680c33 Bluetooth: Marlin3 vendor init, link-policy kernel patch, systemd service
- tools/bt-init: upload PSKey (0xFCA0) and RF (0xFCA2) blocks and enable (0xFCA1) on /dev/ttyBT0
- kernel patch: firmware rejects Hold/Park in Write Default Link Policy, request RSwitch+Sniff only
- mu300-bluetooth.service: sprdbt_tty, stable locally administered BD address, btattach for bluetoothd
- docs: findings 25, AGDSP audio notes

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-17 00:07:03 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 e288781312 Shared USB/Wi-Fi LAN bridge, regdb certificate, 5 GHz fallback, audio findings
- mu300-lan: br-lan (usb0 + wlan0) with one dnsmasq; hotspot bridges into it
- wlan_combo patch: clear IFF_DONT_BRIDGE when the interface becomes an AP
- kernel: wens regdb certificate, i2c-dev, spidev, AW883xx driver (probe only)
- hotspot: BAND option, regdb reload + country wait, firmware START_AP check with
  automatic 2.4 GHz fallback
- findings 21-24 (bridging, stale modules, regdb, AP limits, no audio hardware)

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 23:46:57 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 ae98e325c8 Out-of-box hotspot + USB sharing, modem NV daemon, extra drivers, boot fixes
- mu300-hotspot (hostapd/DHCP on wlan0) with config imported from Android's SoftAP
  (tools/android-import-hotspot.sh) or generated once; credentials shown at login
- cp_diskserver/refnotify from the Android chroot (android-run), extract-subset updated
- mu300-extra-modules: thermal cooling, RGB LED, SIM tray, vibra, DVFS; blue LED on data
- fix ssh.socket being dropped by an ordering cycle (hostkeys unit)
- fix boot_b verification (persistent log area), mknod race in the Android mount helper
- journald limits, early boot recorder, findings 18-20

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 23:12:16 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 cf9d3248a4 Default boot to Linux with automatic Android fallback
- init defers the slot-a restore and keeps slot b armed when the rootfs asks
  for Linux by default; exports both bootloader_control blocks to /run/mu300
- mu300-next-boot (linux|android|status) and mu300-boot-ok.service re-arm
  slot b only after a successful boot
- build-boot-image.py ships the slot-b trial block; android-boot-linux.sh
- tested on device with Ubuntu's busybox-static and the repo image builder

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 22:20:24 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 09b239b77f Mobile data over AT + sipa_eth0 with NAT sharing, rootfs fixups
- mobile-data script: SFUN radio power-on, registration wait, CGCONTRDP parsing,
  CGDATA M-ETHER binding, resolved DNS, nftables masquerade; robust AT reader
- mu300-mobile-data and mu300-fixups services (ping capability, resolv.conf)
- findings for the data bearer, AT channel behaviour and rootfs issues

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 22:12:20 +03:00
Abdurrahman Kaan DikeçandClaude Opus 5 2e1650e3f1 MU300/ZTE F50: custom 5.4 kernel, Ubuntu 26.04 rootfs, modem/PM bring-up, Wi-Fi
Boot tooling, kernel config fragment and patches, systemd units, Android vendor
runtime extraction scripts and the technical findings for running Linux on the
ZTE F50 / MU300 (Unisoc T760).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-16 21:51:13 +03:00