Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spen Pointer (and Transparent Pointer) Doesn't Work #157

Open
CGod-dev opened this issue Feb 16, 2025 · 2 comments
Open

Spen Pointer (and Transparent Pointer) Doesn't Work #157

CGod-dev opened this issue Feb 16, 2025 · 2 comments

Comments

@CGod-dev
Copy link

CGod-dev commented Feb 16, 2025

Describe the Issue

The toggle in Phh Treble Settings > Customization Features > Pointer Type has three settings:

  • Mouse Cursor
  • Pen Pointer
  • Transparent

These options worked correctly on the now-archived PixelOS GSI, but they do not function on this ROM.

Expected Behavior

Changing the pointer type should correctly display the Pen Pointer or Transparent Pointer when an S Pen or stylus is used.

Current Behavior

Regardless of the selected option, the pointer remains unchanged.

Steps to Reproduce

  1. Go to Phh Treble Settings
  2. Navigate to Customization Features > Pointer Type
  3. Change the setting to Pen Pointer or Transparent
  4. After rebooting, observe that the pointer remains the same

Device Information

  • Device: Samsung Tab S7 FE (T733)
  • ROM Version: Evolution X 10.3 (A15) [SLIM]
  • Rooted: Yes

Additional Context

On PixelOS GSI, the persist.sys.overlay.spen_pointer property correctly changed the pointer type. However, on this ROM, modifying this property has no effect.

SPenPointer
TransparentPointer

@CGod-dev
Copy link
Author

tdgsi_arm64_ab:/ # cmd overlay list | grep treble
[x] me.phh.treble.overlay.nightmode
[x] me.phh.treble.overlay.misc.spen_pointer
[x] me.phh.treble.overlay.highpriomisc
[ ] me.phh.treble.overlay.navbar
[x] me.phh.treble.overlay.wifi
[x] me.phh.treble.overlay.tethering
[x] me.phh.treble.overlay.telephony.lte
[ ] me.phh.treble.overlay.mtkims_telephony
[ ] me.phh.treble.overlay.cafims_telephony
[ ] me.phh.treble.overlay.slsiims_telephony
[ ] me.phh.treble.overlay.hwims_telephony
[ ] me.phh.treble.overlay.flossims_telephony
[ ] me.phh.treble.overlay.sprdims_telephony
--- me.phh.treble.overlay.systemui.falselocks
[ ] me.phh.treble.overlay.misc.aod_systemui
tdgsi_arm64_ab:/ # setenforce 0
tdgsi_arm64_ab:/ # cmd overlay enable me.phh.treble.overlay.misc.spen_pointer

Exception occurred while executing 'enable':
java.lang.SecurityException: commit failed
        at com.android.server.om.OverlayManagerService$1.commit(OverlayManagerService.java:916)
        at com.android.server.om.OverlayManagerShellCommand.runEnableDisable(OverlayManagerShellCommand.java:251)
        at com.android.server.om.OverlayManagerShellCommand.onCommand(OverlayManagerShellCommand.java:89)
        at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
        at android.os.ShellCommand.exec(ShellCommand.java:38)
        at com.android.server.om.OverlayManagerService$1.onShellCommand(OverlayManagerService.java:1033)
        at android.os.Binder.shellCommand(Binder.java:1128)
        at android.os.Binder.onTransact(Binder.java:945)
        at android.content.om.IOverlayManager$Stub.onTransact(IOverlayManager.java:510)
        at android.os.Binder.execTransactInternal(Binder.java:1396)
        at android.os.Binder.execTransact(Binder.java:1335)

@CGod-dev
Copy link
Author

Found the issue: It is caused by the new Android 15 pointer customization setting.

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

No branches or pull requests

1 participant