409 Commits

Author SHA1 Message Date
ThePedroo b252056ca0 fix: zygiskd building NDK version selection
This commit fixes the code that selects which NDK to use.
2024-11-10 23:08:40 -03:00
ThePedroo 6cc01fb548 improve: zygisk-ptrace's event parsing
This commit improves ptrace's event parsing by converting more C++ code to C.
2024-11-10 23:08:39 -03:00
ThePedroo e31f9b3d85 remove: unused Zygiskd Makefile
This commit removes the unused Zygiskd Makefile, superseeded by CMake file.
2024-11-10 23:08:37 -03:00
ThePedroo 4d267aa719 fix: sending 32-bit int instead of 8-bit; fix: fd leak
This commit fixes the issue where a 32-bit (int) number was sent instead of a 8-bit (uint8_t) number. Also fixes a fd leak when connecting to the companion.
2024-11-10 23:08:36 -03:00
ThePedroo 7a6ca482f0 fix: close client in RequestLogcatFd; fix: not closing client in error cases
This commit fixes the case where Zygiskd would close the client in "RequestLogcatFd" action, and also fixes the leak of closes for client when handling errors.
2024-11-10 23:08:35 -03:00
ThePedroo b392730366 improve: APatch detection; fix: Magisk detection and Magisk manager detection; fix: fd leak
This commit both improves the APatch detection, making it more stricter, and fixes Magisk detection, together with its manager detection, allowing it to successfully boot. Also fixes a fd leak which makes it better at a long run.
2024-11-10 23:08:34 -03:00
ThePedroo 05ae6941ba fix: Zygiskd APatch code
This commit fixes the code that handles APatch based devices to allow them to boot successfully with ReZygisk.
2024-11-10 23:08:32 -03:00
ThePedroo c2abef8826 fix: zygiskd companion, companion responses, write fd function and early client close
This commit fixes numerous issues in zygiskd code: The zygiskd companion code not loading the right entry, the companion not sending the correct responses, the write fd function not working properly and early client close when connecting to the companion.
2024-11-10 23:08:30 -03:00
ThePedroo a549f0e5ae add: Magisk support; fix: (some) zygiskd code issues
This commit adds Magisk support to Zygiskd C99, and also fixes some code issues of it.
2024-11-10 23:05:37 -03:00
ThePedroo c1e45e9af6 add: zygiskd C99 APatch support
This commit adds support for zygiskd C99 to recognize APatch rooted devices.
2024-11-10 23:05:36 -03:00
ThePedroo 19d2a1758e fix: segmentation fault in write
This commit fixes the segmentation fault when trying to write to /proc/.../sockcreate.
2024-11-10 23:05:35 -03:00
ThePedroo 2ab6542a9a fix: zygiskd building
This commit fixes the building of zygiskd.
2024-11-10 23:05:34 -03:00
ThePedroo c981907f36 fix: using fgets in a file descriptor
This commit fixes the use of fgets in a file descriptor, which would make it easier to use fopen instead of using fdopen.
2024-11-10 23:05:33 -03:00
ThePedroo b1e217b665 improve: compiler calling code
This commit improves the code that calls the compiler to compile zygiskd.
2024-11-10 23:05:32 -03:00
ThePedroo c852a2c146 fix: not properly switching mount ns
This commit corrects mount namespace code.
2024-11-10 23:05:31 -03:00
ThePedroo 37a667ce2a improve: compilation commands
This commit improves the compilation commands resulting in even better sized releases.
2024-11-10 23:05:30 -03:00
ThePedroo 41e83aec52 remove: Rust from CI
This commit removes the setup of Rust in the CI.
2024-11-10 23:05:29 -03:00
ThePedroo 7d29fd821f fix: zygiskd c99 building process
This commit fixes building process of new zygiskd.
2024-11-10 23:05:28 -03:00
ThePedroo 42a5ab989f add: base for CMake building (non-working)
This commit will have a rebase soon.
2024-11-10 23:05:25 -03:00
ThePedroo 5d0adacf4a improve: code readability; fix: not properly starting up companions
This commit both improves the code readability and also fixes a bug that wouln't start companions properly.
2024-11-10 23:03:27 -03:00
ThePedroo da68db8a9a add: base for C99 zygiskd
This commit adds the first base for C99 zygiskd, that is not fully working or code-ready.
2024-11-10 23:03:26 -03:00
ThePedroo 5635c9f7c5 add: Zygiskd C99 re-write
This commit re-writes Zygiskd to be C99.
2024-11-10 23:03:25 -03:00
ThePedroo 3d2125d6c0 improve: ReZygisk status saving
This commit improves how ReZygisk saves its status.
2024-11-10 23:01:54 -03:00
ThePedroo 6187f34837 fix: code spacing
This commit fixes a minor spacing issue in the code.
2024-11-10 23:01:52 -03:00
SheepChef 7027e8147f add: Chinese README (#68)
This commit adds Chinese translation for the "README.md" file.

Signed-off-by: SheepChef <50871867+SheepChef@users.noreply.github.com>
2024-11-02 11:05:43 -03:00
WinCS f1ba34fd29 improve: README.md grammar and information (#37)
This commit improves "README.md" grammar and adds more information to it.

Signed-off-by: WinCS <94188592+Meltartica@users.noreply.github.com>
2024-08-16 19:17:39 -03:00
ThePedroo 763e94b9b6 fix: Magisk app marking Zygisk as disabled
This commit fixes the regression added (by me) that doesn't set "ZYGISK_ENABLED" environment variable, making it mark Zygisk as disabled.
2024-08-15 00:38:25 -03:00
ThePedroo 75a004f9d5 add: additional information to ptrace command
This commit adds more information to the ptrace command to allow better integration with external features.
2024-08-10 13:43:14 -03:00
Pedro.js 88f1b7fdb9 fix: permission loophole
This commit tights the permissions for `tmpfs`, removing the permission loophole.

Signed-off-by: Pedro.js <pedroolimpioguerra@gmail.com>
2024-08-05 12:40:50 -03:00
ThePedroo fedf7f1c40 remove: duplicated logs
This commit removes duplication of logs in ptrace binaries.
2024-07-25 03:13:15 -03:00
ThePedroo d53e2af6a7 fix: memory leak in dlerror error log
This commit fixes an memory leak when ReZygisk logs errors for "dlerror".
2024-07-25 03:10:39 -03:00
Emmanuel Lobo 954c3a9cc5 update: GH Actions (#32)
This commit updates GH(GitHub) Actions to its latest possible major Versions to avoid [warning or deprecation of them](https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/), Updated ones Are:

`@actions/checkout`
`@actions/setup-java`
`@gradle/gradle-build-action -> @gradle/actions/setup-gradle (was delegated/replaced)`
`@actions/upload-artifact`

Signed-off-by: Emmanuel Lobo <76094069+UnschooledGamer@users.noreply.github.com>
2024-07-14 14:01:12 -03:00
Captain Throwback f1fe6b4435 add: support for APatch reset su path (#26)
This commit allows proper root detection when using multiple root solutions.

Co-authored-by: Admire <43035036+Admirepowered@users.noreply.github.com>
2024-07-13 15:43:24 -03:00
Captain Throwback 4b7178f1ea improve: genericize partition variable name (#25)
Since we use the same partition list for both KSU and AP,
make the vector name more generic.

Also rename the loop variable in ap function from ksu to ap
for consistency
2024-07-13 15:42:55 -03:00
Pedro.js 22e09d41bc fix: PerformanC telegram chat URL
This commit fixes the URL for PerformanC telegram chat and channel.

Signed-off-by: Pedro.js <pedroolimpioguerra@gmail.com>
2024-07-02 13:11:25 -03:00
ThePedroo 1f6f45d9ce fix: GitHub issue and FR templates
This commit fixes the templates of the repository to follow the standard and not have duplicated templates.
2024-07-01 20:48:38 -03:00
ThePedroo 4873560420 add: Telegram chat URLs
This commit adds the URLs for the Telegrams channels of the org and ReZygisk.
2024-07-01 20:31:29 -03:00
ThePedroo f68385be5d fix: ReZygisk break after first boot
This commit fixes the issue where ReZygisk would break after rebooting after first boot after flash.
2024-07-01 00:48:39 -03:00
ThePedroo 7399ae417d fix: Apatch -> APatch
This commit fixes the name of APatch in "build.gradle.kts" and "customize.sh" files.
2024-06-30 23:22:40 -03:00
ThePedroo c9c15bf120 update: LSPlt
This commit updates LSPlt submodule.
2024-06-30 23:05:39 -03:00
ThePedroo 1a82399e86 improve: hiding
This commit improves hiding by moving monitor related files to /data/adb/rezygisk, where it's not accessable without root.
2024-06-30 23:04:45 -03:00
ThePedroo df0f2ce5a2 update: LSPlt
This commit updates the LSPlt submodule.
2024-06-30 19:27:32 -03:00
ThePedroo 3451057d17 add: ignore modules in manager process
This commit adds the code to ignore running modules in the manager process.
2024-06-30 19:26:55 -03:00
ThePedroo 80c873c8a4 improve: TMP_PATH related code
This commit improves the code that decides which path will be for "TMP_PATH" variable.
2024-06-30 19:25:52 -03:00
ThePedroo 5da73dd053 fix: not umounting properly module.prop
This commit fixes the issue where module.prop wouldn't be umounted properly.
2024-06-30 19:25:24 -03:00
ThePedroo c2cb29b717 fix: APatch missing in GetInfo daemon action
This commit fixes the missing APatch root implementation detection in "GetInfo" daemon action, causing it to return none.
2024-06-29 08:49:23 -03:00
ThePedroo 2be1ccc48e fix: README.md word
This commit fixes a word in README.md file.
2024-06-27 22:34:36 -03:00
ThePedroo af23710782 update: module.prop information
This commit updates information in module.prop.
2024-06-26 19:52:50 -03:00
ThePedroo 51507e8627 update: README.md with more info
This commit updates the README.md to contain more info about the existence of the project and Rust libraries used.
2024-06-26 19:43:38 -03:00
Pedro.js af96b85a91 add: maps hiding (#13)
This commit adds maps hiding. This commit is taken from Reveny's PR, for more information, see #9.

solves #9
2024-06-26 19:38:34 -03:00