Skip to content

firehose: match the VIP marker on its common prefix - #332

Closed
HurtCopain wants to merge 1 commit into
linux-msm:masterfrom
HurtCopain:test
Closed

HurtCopain wants to merge 1 commit into
linux-msm:masterfrom
HurtCopain:test

Conversation

@HurtCopain

Copy link
Copy Markdown

The programmer's VIP announcement is matched with strstr() against

#define VIP_PROGRAMMER_MARKER "VIP is enabled, receiving the signed table"

OPlus SM8850 (kaanapali) programmer builds word it differently:

INFO: VIP is enabled, receiving the partition info of size 36864

The match fails, so qdl warns that the programmer did not announce VIP, silently skips the signed digest table, and the following is rejected by the target:

ERROR: VIP img authentication failed with smc_status = 0xfffffffe, rsp_0 = 0x40000b
ERROR: Verifying signature failed with 150994958

Both wordings share the prefix "VIP is enabled"; match on that instead.

Tested on an OPPO CPH2841 (SM8850, kaanapali) with the OEM-signed DigestsToSign table: VIP now completes and is ACKed.

The programmer's VIP announcement is matched with strstr() against

    #define VIP_PROGRAMMER_MARKER "VIP is enabled, receiving the signed table"

OPlus SM8850 (kaanapali) programmer builds word it differently:

    INFO: VIP is enabled, receiving the partition info of size 36864

The match fails, so qdl warns that the programmer did not announce VIP,
silently skips the signed digest table, and the following <configure> is
rejected by the target:

    ERROR: VIP img authentication failed with smc_status = 0xfffffffe, rsp_0 = 0x40000b
    ERROR: Verifying signature failed with 150994958

Both wordings share the prefix "VIP is enabled"; match on that instead.

Tested on an OPPO CPH2841 (SM8850, kaanapali) with the OEM-signed
DigestsToSign table: VIP now completes and <configure> is ACKed.
Signed-off-by: hurt copain <jacksummers715@gmail.com>
@HurtCopain
HurtCopain requested a review from a team as a code owner September 30, 2026 02:48
@HurtCopain

Copy link
Copy Markdown
Author

Force-pushed to add Signed-off-by (DCO). No code changes.

@igoropaniuk

igoropaniuk commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

The diff doesn't contain its own fix described in the commit message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants