Commit Graph

529 Commits

Author SHA1 Message Date
ThePedroo
d37d651d8c improve: immediatly set monitor status after set in WebUI
This commit improves the "Actions" tab by immediatly changing visually the monitor status in the WebUI once modified.
2025-05-18 13:06:14 -03:00
ThePedroo
6d7eda4ea6 fix: extracting sha256 sum of webroot files
This commit fixes the issue where "webroot" files would have its sha256 hash extracted to the installation directory by using unzip "-x" flag to exclude ".sha256" files with that.
2025-05-18 12:44:51 -03:00
Pedro.js
5b2065768c Merge branch 'main' into add/new-webui
Signed-off-by: Pedro.js <pedroolimpioguerra@gmail.com>
2025-05-18 12:25:46 -03:00
ThePedroo
d2a4110c9d fix: improper handling of unknown/exited zygote status in WebUI
This commit fixes the issue where the daemon info would not be found, causing a crash in WebUI due to accessing properties of "undefined" object.
2025-05-18 12:21:32 -03:00
ThePedroo
5c74037853 fix: WebUI translations file names and line ending
This commit fixes the file names of some translations of WebUI strings and the missing new space in their end.
2025-05-18 11:56:46 -03:00
Fyphen
bdcb67b1f9 add: Japanese README.md translations (#162)
This commit adds Japanese (ja-JP) translations of the "README.md"

Signed-off-by: Fyphen <fyphensub@gmail.com>
2025-05-18 11:45:07 -03:00
ThePedroo
54584410ce improve: flexibility of modules to modify mounts in app_specialize_pre
This commit improves the flexibility of modules to modify mounts in "preAppSpecialize" in denylisted apps, which would later be setns to a new namespace, after executing Zygisk modules "preAppSpecialize".
2025-05-16 17:07:42 -03:00
Pedro.js
7993278a5f update: READMEs information; remove: outdated READMEs (#146)
This commit updates the information in ReZygisk "README.md" and its translations, and it also removes the ones that were not updated.

Signed-off-by: Lucky Kiddos <95188840+GuitarHeroStyles@users.noreply.github.com>
Signed-off-by: GhostFRR <ghost.game.fr@gmail.com>
Signed-off-by: Alice w/🌧️ <rainyxeon@gmail.com>
Co-authored-by: GhostFRR <ghost.game.fr@gmail.com>
Co-authored-by: Lucky Kiddos <95188840+GuitarHeroStyles@users.noreply.github.com>
Co-authored-by: Alice w/🌧️ <rainyxeon@gmail.com>
2025-05-16 17:02:16 -03:00
Lucky Kiddos
18d552f59f update: WebUI id_ID translations (#160)
This commit updates WebUI Indonesian translation to improve clarity.

Signed-off-by: Lucky Kiddos <95188840+GuitarHeroStyles@users.noreply.github.com>
2025-05-13 15:59:13 -03:00
ThePedroo
57cd281119 fix: missing 64-bit machikados in unsigned builds
This commit fixes the issue where the "machikado" files for 64-bit archs wouldn't be written as the else for unsigned builds only wrote two files.
2025-05-07 01:56:14 -03:00
ThePedroo
16c4d62cd8 fix: solist_drop_so_path explanation comment correctness
This commit fixes the explanation of why "solist_drop_so_path". ReZygisk does not "dlclose" in ptracer, and doesn't "dlclose" libzygisk.so at any point, but clean SoInfo traces then munmaps it later.
2025-05-07 01:56:12 -03:00
ThePedroo
313822ddcd improve: ELF utils, libzygisk.so injection
This commit improves ELF utils, so that it can now retrieve symbols in other ways, like dynamic symbols or utilizing GNU hash. With the improved ELF utils, "libzygisk.so" injection in ptracer was improved, replacing the use of "dlopen" and "dlsym" in the function to get remote symbol address with the use of ELF utils, also allowing higher compatibility by using linker's dlopen, dlsym, dlerror when libdl.so is not loaded in Zygote.
2025-05-07 01:56:10 -03:00
ThePedroo
68f1b1fb35 add: machikado per architecture
This commit makes the building system create one machikado per arch, from 2 to 4, so that integrity can be checked properly in 64-bit only and 32-bit only devices.
2025-05-07 01:56:07 -03:00
ThePedroo
96123aa53c add: 32-bit only environment support
This commit adds support for devices that are only capable of running 32-bit code, be it due to Android ROM limitations of CPU limitations. It also makes ReZygisk only install necessary libraries, so if a device is 64-bit only, it won't extract 32-bit libraries.
2025-05-07 01:56:05 -03:00
Lxchoooo
70cea41017 add: es_ES and es_MX translations to the WebUI (#157)
This commit adds both Spanish and Mexico Spanish translations to the ReZygisk WebUI.
2025-05-04 19:29:04 -03:00
ThePedroo
61d0e609c2 add: es_AR translations to the WebUI; fix: fr_FR file extension
This commit adds the Argentina Spanish translations to ReZygisk WebUI and fixes French translations file not having ".json".

Co-authored-by: Flopster101 <nahuelgomez329@gmail.com>
2025-05-04 18:33:35 -03:00
GhostFRR
90aec6f83c add: fr_FR.json translations to WebUI (#156)
This commit adds French translations to ReZygisk WebUI.

Signed-off-by: GhostFRR <ghost.game.fr@gmail.com>
2025-05-04 18:13:43 -03:00
thasave14
a566ced0c2 add: it_IT translations for the WebUI (#154)
This commit adds Italian translations for ReZygisk WebUI.

Signed-off-by: thasave14 <93542339+thasave14@users.noreply.github.com>
2025-05-03 22:33:11 -03:00
ThePedroo
b0dfcbe357 improve: webroot extraction
This commit improves the "webroot" folder extraction in "customize.sh" by simplifying into a single unzip command.
2025-05-03 06:46:25 -03:00
ThePedroo
3b07fb1d66 fix: WebUI loaded modules list parsing
This commit fixes the code that parses the loaded modules from ReZygisk "module.prop", which previously would only load the first module as it used "info[1]".
2025-05-03 06:45:07 -03:00
ZGX089ッ
1b2f9f23e9 fix: some translation in ar_EG.json (#153)
Signed-off-by: ZGX089ッ <159061718+ZG089@users.noreply.github.com>
2025-05-03 16:39:30 +07:00
ThePedroo
a3f68a5c06 update: translations; add: new translations; remove: incomplete translations
This commit updates and adds new translations based on contributions on Crowdin. If you are the contributor of any of the added ones, or participated in the updates of any, please, submit a PR adding your proper credit as the "README.md" suggests. Also removes translations that are incomplete at the moment of this commit. The credits for those will not be removed.
2025-05-03 01:08:46 -03:00
Alice w/🌧️
2ea61563cd add: ar_EG to extractor
Signed-off-by: Alice w/🌧️ <rainyxeon@gmail.com>
2025-04-30 21:46:40 +07:00
RainyXeon
1f88a8f30e add: temporary fix for translation as some code in home translate broken 2025-04-30 19:23:36 +07:00
RainyXeon
d92d854a3b add: experiment RTL layout feature 2025-04-30 19:17:04 +07:00
ZGX089ッ
cf9e03ac5c add: Arabic Translation (#150)
* feat: Added Arabic Translation

Signed-off-by: ZGX089ッ <159061718+ZG089@users.noreply.github.com>

* Update TRANSLATOR.md

Signed-off-by: ZGX089ッ <159061718+ZG089@users.noreply.github.com>

---------

Signed-off-by: ZGX089ッ <159061718+ZG089@users.noreply.github.com>
2025-04-30 19:12:57 +07:00
ThePedroo
0b9a2c26b8 fix: WebUI ReZygisk info retrieval
This commit fixes how the WebUI retrieves ReZygisk information, such as if it is working, which modules are loaded, etc.
2025-04-29 13:33:36 -03:00
RainyXeon
f58dacea0b fix: debug log 2025-04-29 18:14:00 +07:00
RainyXeon
c14d3ff36e add: debug log for chrome dev tools (don't remove) 2025-04-29 17:34:44 +07:00
ThePedroo
0d60dc0ec0 fix: ReZygiskd sending data to closed fd
This commit fixes an issue where ReZygiskd would use, in a forked child, the fd that was meant for the parent to use, and vice-versa, causing issues.
2025-04-28 23:46:18 -03:00
ThePedroo
d6961603fa fix: sanitizing fds in parent Zygote
This commit fixes the issue where ReZygisk would sanitize fds not only in the child but also in the parent.
2025-04-28 17:12:40 -03:00
ThePedroo
0930c8cca4 fix: ReZygiskd Magisk DenyList not checking against process
This commit improves the precision of ReZygiskd check for Magisk if a process is in DenyList/SuList, as previously it used "package_name" instead of the correct "process" field.
2025-04-27 19:55:32 -03:00
ThePedroo
0c0f65998d remove: ReZygiskd dl.c
This commit removes the "dl.c" file, which was used for using "android_dlopen_ext" in a new namespace, used to isolate libraries, which is not necessary here as they are on different processes, hence "dlopen" can be used.
v1.0.0-rc.2
2025-04-26 06:02:03 -03:00
ThePedroo
dd38f230c0 fix: partially fd leak in Kitsune
This commit partially fixes the issue in Kitsune where fd would leak as MagiskSU would never be found in mounts. According to Magisk Kitsune code, it is only mounted after boot is completed. It sets a callback to call "magisk --boot-completed" when "sys.boot_completed" is 1, which mounts MagiskSU. Hence we check the same prop to see if the mns of the app is appropriate to be cached, and if boot is completed, it will cache that "ns_fd". This, however, doesn't fully fix the issue, since apps that are loaded before boot is completed, will have the fds leaking, since we cannot close them (easily), see code comments.
2025-04-26 01:54:54 -03:00
ThePedroo
d0b044a31d remove: Rooted mns state for simplification
This commit removes the "Rooted" mount namespace state, as it wouldn't fit in the categories made by root implementations. The three major root implementations divide apps into three categories: SU, Umounted, (with) Mounts. The SU one consists of apps that are allowed to elevate privileges, those don't have their mounts modified, and keep root mounts. As for Umounted, it consists of apps that will have root-related mounts umounted before being executed. And finally (with) mounts which are apps that although are not allowed to elevate privileges, still have the root-related mounts kept.
Knowing that we can merge both SU and (with) Mounts into the same category: No modification to mounts/Keep root-related mounts. With that, "Mounts" mns state is also unmodified, compared to old "Modules" mns state.

Those changes also reflect on the issue where new apps couldn't ask Magisk for root as they would have SU mount umounted, which now, as ReZygisk leave them unmodified, they can.
2025-04-25 02:11:57 -03:00
ThePedroo
00345eea7f improve: unify symtabs loading in elf_util.c
This commit improves the code in "elf_util.c" by unifying the code that loads the symtabs information in ElfImg structure.
2025-04-25 02:06:59 -03:00
ThePedroo
aac0046061 fix: memory leak in rezygisk_get_info
This commit fixes a memory leak in "rezygisk_get_info" as it would read a string from ReZygiskd but would never "free" after using it. Also call "free_rezygisk_info" instead of manually cleanup in ptracer.
2025-04-25 02:05:29 -03:00
ThePedroo
2f4f5af206 fix: missing vdso lead to unoperating SoList hiding
This commit fixes the issue where the could would return when "__dl__ZL4vdso*" wasn't found, leaving traces in SoList.
2025-04-25 02:03:58 -03:00
ThePedroo
a4c9794de0 add: error handling for UpdateMountNamespace
This commit adds the missing error handling for "UpdateMountNamespace" in both libzygisk.so and ReZygiskd, as before it would send a -1 as unsigned, leading to issues.
2025-04-25 02:02:29 -03:00
ThePedroo
a460c54d08 improve: update_mnt_ns logging; add: comment about "rooted denylisted" apps
This commit improves logging for "update_mnt_ns" function, which now specifies which state it will update the mns to, for easier debugging. It also adds a note about the possibility of having apps with rooted permissions and also be denylisted in Magisk, causing weird behavior.
2025-04-24 01:33:53 -03:00
ThePedroo
b24c74ac0d fix: not umounting KSU-specific /system mounts
This commit fixes the issue that ReZygisk would skip all "/system" mounts, and not only the ones made by modules, leaving unexpected mounts mounted in app processes. KernelSU itself create some mounts such as "/system/app", which need to be umounted. To fix that, we will check if they come from "/data/modules", and if so, skip and not umount. That's not needed in Magisk as it doesn't create such mounts as far as I am aware.
2025-04-23 13:55:22 -03:00
Alice w/🌧️
64f002541e fix: misconfiguration on section header
Signed-off-by: Alice w/🌧️ <rainyxeon@gmail.com>
2025-04-23 23:04:10 +07:00
Alice w/🌧️
a3d07583d3 improve: spacing on Rezygisk section header
Signed-off-by: Alice w/🌧️ <rainyxeon@gmail.com>
2025-04-23 23:02:40 +07:00
RainyXeon
17f430b354 improve: some small space on section header 2025-04-23 21:06:51 +07:00
ThePedroo
caa4b6b640 improve: reduce size of section headers
This commit reduce the size of section headers to make it more appropriate.
2025-04-23 03:08:49 -03:00
ThePedroo
5120d0067c remove: webroot data from machikado creation
This commit removes "webroot" files from being used for "machikado" file creation, as it doesn't affect core functionality. For safety a new approach will be created later.
2025-04-23 02:29:54 -03:00
ThePedroo
d8c0310053 improve: use module name, not module id; add: show Android/Kernel version in WebUI
This commit improves the WebUI module listing by listing the module name rather than the module id, and also adds 2 fields in the WebUI, so that it shows the Android version and Kernel release string.
2025-04-23 02:27:10 -03:00
ThePedroo
128104a590 fix: merge conflicts
This commit fixes merge conflicts while merging to main.
2025-04-23 00:22:33 -03:00
Pedro.js
2ff4cb6401 merge: port of more of the codebase; fix: memory and general mount bugs (#122)
This commit merges the PR that both ports common, ptracer and include (SoList) to C, and also fixes memory bugs and mount bugs.
2025-04-22 23:58:34 -03:00
ThePedroo
61ece7ee4f remove: ccache from workflows
This commit removes ccache since it doesn't provide any benefit in workflows, and makes them slower.
2025-04-21 20:04:16 -03:00