You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(o3p): update adsp firmware to the Portal battery profile - #976
The ADSP firmware added in cf984e4 carries the Odin 3 battery profile
(8055207_QUECTEL_LIVESTREAMING_8000MAH_..._SEP7TH2025). On the Portal this makes the
battery stop charging at 4.4 V, report ~92% real charge as 100%, and use 7.8 Ah as the
design capacity.
This replaces adsp.mbn and adsp_dtb.mbn with the firmware the stock Android build
(20261104) actually loads. AYN ships it in /vendor/firmware (split .mdt/.bNN), which
Android searches before /vendor/firmware_mnt/image. The copy in the modem partition is
still the old one. The files were squashed to single .mbn and all segment hashes
verified against the hash segment.
Tested on an Odin 3 Portal (Armada 20261109.dfed5d6), loading the new firmware at boot:
CI failed because the SSC data for the board is tied to the ADSP firmware hash
(ERROR: .../ayn-odin-3-portal/SOURCE was captured with a different .../adsp.mbn).
I recaptured packages/armada-ssc/data/ayn-odin-3-portal.tar.gz with capture.sh on the
Portal while the ADSP was running the new firmware from /usr/lib/firmware (vendor build
20261105) and folded it into the same commit, rebased on current main.
Compared to the previous capture, only SOURCE and six sns_ccd_* registry UUIDs differ.
The island mode patch still applies. Gyro and accelerometer keep working with the new
firmware.
Charging: with a 9 V PD charger it charged 20% → 62% in an hour, peaking at ~21.5 W into
the battery. That charger never offers the 16-20 V PPS levels where #940 shows up, so I
could not confirm whether this also fixes #940.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The ADSP firmware added in cf984e4 carries the Odin 3 battery profile
(
8055207_QUECTEL_LIVESTREAMING_8000MAH_..._SEP7TH2025). On the Portal this makes thebattery stop charging at 4.4 V, report ~92% real charge as 100%, and use 7.8 Ah as the
design capacity.
This replaces
adsp.mbnandadsp_dtb.mbnwith the firmware the stock Android build(20261104) actually loads. AYN ships it in
/vendor/firmware(split.mdt/.bNN), whichAndroid searches before
/vendor/firmware_mnt/image. The copy in the modem partition isstill the old one. The files were squashed to single
.mbnand all segment hashesverified against the hash segment.
Tested on an Odin 3 Portal (Armada 20261109.dfed5d6), loading the new firmware at boot:
model_name..._8000MAH_..._SEP7TH20258569960_QUECTEL_SH89BD_X7G2_9130MAH_..._JUN29TH2026charge_full_designvoltage_maxconstant_charge_currentThe values now match what stock Android reports. ADSP boots, audio sinks and battery
reporting work.
The new firmware also drops the 16 A charge current ceiling, which may fix #940.
Charging behaviour has not been tested yet.
Fixes #975
Investigation, firmware extraction and description co-edited with Claude (Anthropic).