Repository navigation
Fix: Vector + late-load bootloop on Samsung One UI 9 / Android 17 (android.ext.services stub) #1042
CreamPuffles
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Symptom:
On Samsung One UI 9 (Android 17) with late-load root (KernelSU), activating Vector triggers a system_server crash-loop:
Required services extension package is missing, config_servicesExtensionPackage had defined with android.ext.services
Cause:
Samsung uses an RRO overlay to redirect config_servicesExtensionPackage to com.google.android.ext.services. Vector’s injected system_server reads the raw AOSP framework default (android.ext.services) instead of the overlay value. Since that package name is missing, PMS aborts. Additionally, Vector's daemon restarts system_server in a loop when it cannot attach immediately on late-load.
Tested & Confirmed Working
Device: Samsung Galaxy Z Fold 6 (SM-F956B)
OS / Firmware: One UI 9 / Android 17
Root Setup: KernelSU late-load
Modules: Vector 2.2 + Zygisk Next (ZN) 1.5.2
Resources
Stub APK: https://drive.google.com/file/d/1M9yakSd-DuVWzq4CwXeC7kVlN_4z6Q4n/view?usp=drivesdk (Empty dummy package with package ID android.ext.services, no permissions, sha256: d57cd1e6fc25393de24cd8f0712c372afff2a21af8266e4925be28161356257c)
Full Guide: https://docs.google.com/document/d/1flBvzKRukFqQ22Lcwiuxg9nGR_Eb15WF4Dgb-_0aQrU/edit?usp=drivesdk
Quick Fix Steps
Install the stub APK:
pm install -r /sdcard/Download/android-ext-services-stub.apk
or via ADB: adb install -r android-ext-services-stub.apk
Patch /data/adb/modules/zygisk_vector/service.sh to stop daemon restart panics:
sed -i.bak 's|nohup .daemon.|nohup "$MODDIR/daemon" --system-server-max-retry=0 > /tmp/vec.log 2>&1 </dev/null &|' /data/adb/modules/zygisk_vector/service.sh
Activate late-load root & reload Zygote:
ksud post-fs-data
ksud services
setprop ctl.restart zygote
Verify hook status:
zygiskd64 status | grep -E 'zygote_states|modules64'
Expected: zygote_states:1, modules64:1,zygisk_vector
Result: System server remains alive, 0 PMS crashes, and Vector manager hooks attach properly. Cleanly uninstalls at any time with pm uninstall android.ext.services.
All reactions