CBPS Forums

Console Hacking => PS Vita => Reverse Engineering => Topic started by: Graphene on June 03, 2020, 10:57:28 PM

Title: SceNotificationUtil - full libraries header + BGDL-type notification PoC
Post by: Graphene on June 03, 2020, 10:57:28 PM
SceNotificationUtil is sysmodule that allows applications to send notifications, simple-type and progress-type(BGDL).

Full libraries header here: https://github.com/GrapheneCt/Vita-PoC/blob/master/notificationutil.h (https://github.com/GrapheneCt/Vita-PoC/blob/master/notificationutil.h)

PoC BGDL-type notification here: https://github.com/GrapheneCt/Vita-PoC/blob/master/SceNotificationUtil_BGDL_PoC.c (https://github.com/GrapheneCt/Vita-PoC/blob/master/SceNotificationUtil_BGDL_PoC.c)

Some notes:

1. Most of the text buffers can be intentionally overflown to allow for more text.
2. Since SceNotificationUtil is just a wrapper for SceShellSvc, it is highly possible that reimplementing some of it's functions will allow for more customization (such as enabling "Pause" button for BGDL-type and custom icons).
3. If you are using notifications with app that uses vita2d or vita2d_sys, notification functions must be called from separate dedicated thread, otherwise SceShellSvc will get stuck in internal loop for unknown reasons.