mirror of
https://github.com/NohamR/RMHook-iOS.git
synced 2026-08-26 02:39:42 +00:00
Add support for reMarkable app v3.28.0
Adds a new 3.28.0 build target with its macro, Qt 6.10.3 toolchain version, and iOS target settings in `script/build.sh`. Updates hook offsets in `src/Tweak.xm` for `QNetworkAccessManager::createRequest` and `QWebSocket::open`, bumps package version in `src/control` to 3.28.0, and aligns README setup instructions with the new Qt/app version mapping.
This commit is contained in:
@@ -76,13 +76,13 @@ source aqt_venv/bin/activate
|
||||
pip install aqtinstall
|
||||
```
|
||||
|
||||
Then, download the required Qt versions for iOS to your home directory (e.g., `6.8.2` for the 3.25.0 target and `6.10.0` for the 3.27.1 target):
|
||||
Then, download the required Qt versions for iOS to your home directory (e.g., `6.8.2` for the 3.25.0 target and `6.10.3` for the 3.28.0 target):
|
||||
```bash
|
||||
# Install Qt 6.8.2 for iOS (used for v3.25.0)
|
||||
aqt install-qt mac ios 6.8.2 -m qtwebsockets --outputdir ~/Qt
|
||||
|
||||
# Install Qt 6.10.0 for iOS (used for v3.27.1)
|
||||
aqt install-qt mac ios 6.10.0 -m qtwebsockets --outputdir ~/Qt
|
||||
# Install Qt 6.10.3 for iOS (used for v3.28.0)
|
||||
aqt install-qt mac ios 6.10.3 -m qtwebsockets --outputdir ~/Qt
|
||||
```
|
||||
|
||||
### 2. Finding Specific App Function Offsets
|
||||
|
||||
@@ -23,8 +23,12 @@ elif [ "$VERSION" == "3.27.1" ]; then
|
||||
MACRO="-DV3_27_1=1"
|
||||
QT_VERSION="6.10.0"
|
||||
TARGET="iphone:latest:17.0"
|
||||
elif [ "$VERSION" == "3.28.0" ]; then
|
||||
MACRO="-DV3_28_0=1"
|
||||
QT_VERSION="6.10.3"
|
||||
TARGET="iphone:latest:17.0"
|
||||
else
|
||||
echo "Error: Unknown version '$VERSION'. Supported versions are: 3.17.0, 3.25.0, 3.26.0, 3.27.0, 3.27.1"
|
||||
echo "Error: Unknown version '$VERSION'. Supported versions are: 3.17.0, 3.25.0, 3.26.0, 3.27.0, 3.27.1 and 3.28.0."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#define QtNetworkAccessManager_createRequest 0x101924584 // sub_101924584
|
||||
#elif V3_27_1
|
||||
#define QtNetworkAccessManager_createRequest 0x10192472C // sub_10192472C
|
||||
#elif V3_28_0
|
||||
#define QtNetworkAccessManager_createRequest 0x101941C9C // sub_101941C9C
|
||||
#endif
|
||||
|
||||
// __ZN10QWebSocket4openERK15QNetworkRequest
|
||||
@@ -52,6 +54,8 @@
|
||||
# define QtWebSocket_open 0x10056487C // sub_10056487C
|
||||
#elif V3_27_1
|
||||
# define QtWebSocket_open 0x100564A24 // sub_100564A24
|
||||
#elif V3_28_0
|
||||
# define QtWebSocket_open 0x1007318F4 // sub_1007318F4
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Package: xyz.noham.rmhook
|
||||
Name: RMHook
|
||||
Version: 3.27.1
|
||||
Version: 3.28.0
|
||||
Architecture: iphoneos-arm
|
||||
Description: A tweak to hook remarkable mobile app.
|
||||
Maintainer: NohamR
|
||||
|
||||
Reference in New Issue
Block a user