Skip to content

Eureka Kernel R24U v1.2 — ASV Margin + Baseband Guard

Choose a tag to compare

@HyperRamzey HyperRamzey released this 06 Sep 22:25

Eureka Kernel R24U — v1.2 (ASV Margin + Baseband Guard)

Same proven recipe as v1.1 (vendor R24U 4.4.302 + rsuntk KernelSU 32473,
original AROMA packaging, Neutron Clang 24, vendor flag style), now with the
two ROADMAP features that needed kernel code:

What's new in v1.2

  • ASV voltage margin (ROADMAP §1) — runtime per-domain voltage margins:
    • /sys/class/asv_margin/{cpucl0,cpucl1,g3d,mif,int}/margin (µV, rw)
    • 0 = stock ECT table; positive = stability margin; negative = undervolt
      (user risk); clamped ±100000 µV; min/max exposed read-only
    • Implemented via the existing cal_dfs_set_volt_margin() → ACPM
      MARGIN_REQ path — the ACPM firmware applies it live to every future
      voltage transition. The vendor kernel only used this control at boot
      (fvmap early params); no runtime interface existed before.
    • Device-verified: margin round-trip 0→25000→0 µV on all domains.
  • Baseband guard (ROADMAP §2) — CP auto-recovery policy:
    • hooks the modem event notifier; if the Shannon CP crashes and does not
      reach ONLINE within 45s, replays the RIL recovery sequence
      (modem_off → modem_on → boot_on); rate-limited to 3 attempts
    • sysfs: /sys/class/baseband_guard/baseband_guard/ — enable (default on),
      state, crashes, recoveries, last_event, boot_window_ms,
      max_attempts, reboot_on_dead (default off)
    • Device-verified: boots, cp_state=ONLINE, crash counter caught real
      CP events the vendor kernel silently swallowed, zero spurious recoveries.
  • Includes everything from v1.1 (CIFS SMB2/3.1.1, full IPset) and the v1.1
    packaging fix (original Eureka DTBs via AROMA — see v1.1 notes).

Companion app

Eureka-Manager — kernel
manager with ASV-margin seekbars and a Baseband Guard dashboard (requires
this kernel).

Install

Flash in recovery → Default Installation → AOSP Q/R/S/T/U (New) →
SELinux Enforcing → DM-verity Yes → reboot.

Manager pairing

rsuntk RKSU manager ≥ v3.2.2-10-legacy (unchanged).

Per-device

Device Codename DTBO v1.2 Image
Galaxy A10 a10 patched 28,458,096 B
Galaxy A20 a20 patched 29,097,448 B
Galaxy A20e a20e patched 28,722,792 B
Galaxy A30 a30 patched 29,443,944 B
Galaxy A30s a30s patched user-verified boot + ASV + guard
Galaxy A40 a40 patched 29,796,840 B
Galaxy M20 m20 original (no device dtbo) 18,145,864 B
Galaxy M30s jackpotlte original (no device dtbo) 22,293,960 B

uname -r: 4.4.302-p6-Eureka-R24U-KSU_R24U (uniform, all 8)

ASV margin quick start

# +25 mV on the BIG cluster:
echo 25000 > /sys/class/asv_margin/cpucl0/margin
# back to stock:
echo 0 > /sys/class/asv_margin/cpucl0/margin

Negative values undervolt. Instability = your sign to go back toward 0.

Sources: R24U branch @ 8724e15af (asv_margin + baseband_guard commits).