Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uroboro/respring-counter
A simple daemon that keeps count of how many resprings your device had since booting up
https://github.com/uroboro/respring-counter
daemon theos
Last synced: 25 days ago
JSON representation
A simple daemon that keeps count of how many resprings your device had since booting up
- Host: GitHub
- URL: https://github.com/uroboro/respring-counter
- Owner: uroboro
- License: mit
- Created: 2015-05-10T19:39:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-05-10T21:29:51.000Z (over 9 years ago)
- Last Synced: 2023-06-28T14:15:36.735Z (over 1 year ago)
- Topics: daemon, theos
- Language: Objective-C++
- Size: 133 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Respring-Counter
A simple daemon that keeps count of how many resprings your device had since booting upAdd the following code:
``` objc
#include#define PRGetRespringCount() ({ \
dlopen("/Library/MobileSubstrate/DynamicLibraries/respringcounter.dylib", RTLD_LAZY); \
uint64_t state; int token; \
notify_register_check("com.uroboro.respringcounter.count", &token); \
notify_get_state(token, &state); \
notify_cancel(token); \
state; })
```And use the following to get the count
``` c
uint64_t count = PRGetRespringCount();
```