Skip to content

[Bug]: APK installation fails on Android 16 (OxygenOS) β€” pm install returns failed transaction 2147483646Β #36

@sigma2017

Description

@sigma2017

πŸ“ Description

Enhancify worked perfectly until March 1, 2026 ~15:00. No Android/OxygenOS update was performed on that date. Suspected cause: silent Google Play Services or Android System WebView update.

The patching process completes successfully:
Download
Rebuilding APK (patch)
APK aligned (zipalign)
APK signed
Installation β†’ black screen / silent failure in termux

πŸ”„ Steps to Reproduce

Root Cause Identified

Running pm install directly in Termux returns:

failure calling service package: failed transaction 2147483646

This means Android 16 has restricted access to the Package Manager service from non-privileged processes. pm install is completely blocked.

Confirmed Working

  • Same Enhancify version works perfectly on Samsung Galaxy A53 5G (Android 16 / One UI)
  • ADB phantom process fixes applied on Oneplus 12 with no success:
    • settings_enable_monitor_phantom_procs = false
    • max_phantom_processes = 2147483647
    • sync_disabled = persistent

Suggested Fix

Replace pm install with am start intent as fallback for Android 16+:

πŸ“Έ Screenshots / Videos

No response

πŸ”₯ Severity

None

πŸ“‹ Error Logs

πŸ“± Device Manufacturer

OnePlus

πŸ“² Device Model

CPH2581_16.0.3.500(EX01)

πŸ€– Android Version

Android 16 (Api 36)

πŸ”“ Root Status

❌ Not Rooted

🎨 Custom ROM

None

πŸ“Œ Additional Context

  • Device: OnePlus 12
  • Android version: Android 16
  • OxygenOS version: CPH2581_16.0.3.500(EX01)
  • Enhancify version: v5.6.1-BETA Latest
  • Termux version: v0.118.3 and v0.119.0-beta.3 (tested both)

βœ”οΈ Checklist

  • I have searched existing issues to avoid duplicates
  • I have provided all the required information
  • I am willing to help fix this bug if guided

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions