99 Commits

Author SHA1 Message Date
ThePedroo bf3c73d72b fix: not extracting any binaries in some devices
The commit fixes the issue that in devices that "ro.system.product.cpu.abilist" doesn't exist, it will cause ReZygisk "customize.sh" to not extract any binaries. Because of that, we'll fallback to the old "ro.product.cpu.abilist" when "ro.system.product.cpu.abilist" doesn't exist.
2025-07-20 14:10:56 -03:00
ThePedroo 510e8a2de4 fix: not extracting 32-bit binaries in systems using Tango
This commit fixes an issue where ReZygisk would not extract the 32-bit libraries in systems that utilize Tango (binary translation) to run 32-bit applications, as "ro.product.cpu.abilist" will only show the CPU supported architectures, not the system ones, resulting in only extracting 64-bit libzygisk.so and ReZygiskd despite having 32-bit app_process (Zygote).
2025-07-20 02:43:51 -03:00
ThePedroo 38cfbb25ef fix: Permission Denied on setns in 3.19- kernels
This commit fixes the issue where "setns" in older kernels will fail, as until 3.19 Linux used NSFS (Name Space File System) for namespaces (/proc/self/mnt/ns), which was not taken into consideration in ReZygisk SELinux rules.
2025-07-15 05:36:11 -03:00
ThePedroo ed347e879e add: misaki.sig for zip-level build integrity
This commit adds Misaki, a new ReZygisk system to help improve safety in the root community, by allowing users to check whether a build is official or not with the use of tools like SignSee.
Name credits for Anonymous, in The PerformanC Organization Telegram chat.
2025-05-18 17:18:10 -03:00
Alice w/🌧️ 4de1b443cf add: ReZygisk WebUI (#73)
This commit adds the ReZygisk WebUI to ReZygisk.

Signed-off-by: Emulond Argent <108662981+Emulond@users.noreply.github.com>
Signed-off-by: WinCS <94188592+Meltartica@users.noreply.github.com>
Signed-off-by: Pedro.js <pedroolimpioguerra@gmail.com>
Signed-off-by: unexpected unresolved <minh15052008@gmail.com>
Signed-off-by: SheepChef <50871867+SheepChef@users.noreply.github.com>
Signed-off-by: AJleKcAHgP68 <78802768+AJleKcAHgP68@users.noreply.github.com>
Signed-off-by: Blazzycrafter <39300111+Blazzycrafter@users.noreply.github.com>
Signed-off-by: Igor <sorocean.igor@gmail.com>
Signed-off-by: unexpected unresolved <xeondev@xeondex.onmicrosoft.com>
Signed-off-by: Kirill Kuznetsov <kdevlab@yandex.ru>
Signed-off-by: Lucky Kiddos <95188840+GuitarHeroStyles@users.noreply.github.com>
Signed-off-by: Kitty <73357005+Kittyskj@users.noreply.github.com>
Signed-off-by: GhostFRR <ghost.game.fr@gmail.com>
Signed-off-by: Alice w/🌧️ <rainyxeon@gmail.com>
Signed-off-by: ZGX089ッ <159061718+ZG089@users.noreply.github.com>
Signed-off-by: thasave14 <93542339+thasave14@users.noreply.github.com>
Co-authored-by: ThePedroo <pedroolimpioguerra@gmail.com>
Co-authored-by: ExtremeXT <75576145+ExtremeXT@users.noreply.github.com>
Co-authored-by: Emulond Argent <108662981+Emulond@users.noreply.github.com>
Co-authored-by: RainyXeon <xeondev@xeondex.onmicrosoft.com>
Co-authored-by: Fyphen <fyphensub@gmail.com>
Co-authored-by: WinCS <94188592+Meltartica@users.noreply.github.com>
Co-authored-by: CaptainThrowback <captainthrowback@hotmail.com>
Co-authored-by: Kirill Kuznetsov <kdevlab@yandex.ru>
Co-authored-by: SheepChef <50871867+SheepChef@users.noreply.github.com>
Co-authored-by: AJleKcAHgP68 <78802768+AJleKcAHgP68@users.noreply.github.com>
Co-authored-by: Blazzycrafter <39300111+Blazzycrafter@users.noreply.github.com>
Co-authored-by: Igor <sorocean.igor@gmail.com>
Co-authored-by: Berlian Panca <53902591+bpanca05@users.noreply.github.com>
Co-authored-by: Willow Hayley Lovelace <65596971+dyingwillow@users.noreply.github.com>
Co-authored-by: witch <witch@dyingwillow.dev>
Co-authored-by: Lucky Kiddos <95188840+GuitarHeroStyles@users.noreply.github.com>
Co-authored-by: Kitty <73357005+Kittyskj@users.noreply.github.com>
Co-authored-by: GhostFRR <ghost.game.fr@gmail.com>
Co-authored-by: ZGX089ッ <159061718+ZG089@users.noreply.github.com>
Co-authored-by: thasave14 <93542339+thasave14@users.noreply.github.com>
Co-authored-by: Flopster101 <nahuelgomez329@gmail.com>
Co-authored-by: Lxchoooo <155797099+Lxchoooo@users.noreply.github.com>
2025-05-18 13:14:42 -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 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
ThePedroo 8f70a1a451 remove: unused mazoku file
This commit removes the "mazoku" file, which is only used by Zygisk Next/Shamiko for module integrity and signing, and is not used in ReZygisk.
2025-04-16 02:12:34 -03:00
Stillhard 2d80ce6935 fix: SELinux rules (#130)
This commit allows Zygote to access files in /data/adb, so that it can load the Zygisk modules.

Signed-off-by: Stillhard <indofreeserver@yahoo.co.id>
2025-04-12 23:54:35 -03:00
Pedro.js 886e2f8396 improve: mounting system, compatibility; remove: logging on release (#111)
This commit adds numerous improvements to the state of hidden'ility of ReZygisk, and also for compatibility. Recommended to check #111 for more information.
2025-03-29 12:17:57 -03:00
JingMatrix d498a9ab01 fix: trigger Zygisk modules service.sh in parallel (#91)
This commit fixes 2 issues:
- service.sh of files were not being executed in parallel, a behavior described in: https://github.com/topjohnwu/Magisk/blob/master/docs/guides.md#boot-scripts . This was fixed by using "&" in the end of the command to execute the module's service.sh, telling the shell to not block.
- Gradle wrapper used in ReZygisk was old, causing failing CIs.

It also updates the NDK version to ensure we'll be operating smoothly.
2024-11-24 15:18:50 -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 7d29fd821f fix: zygiskd c99 building process
This commit fixes building process of new zygiskd.
2024-11-10 23:05:28 -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 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 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 af23710782 update: module.prop information
This commit updates information in module.prop.
2024-06-26 19:52:50 -03:00
Matt 2047bdb1bf add: APatch support (#4)
This commit adds support for APatch.
2024-06-22 23:13:29 -03:00
Pedro.js 678d886343 improve: CLI and code (#3)
This commit improves the CLI of ReZygisk, allowing the use of important information like PID of the daemons. Also improves the code of the loaders ptracer.
2024-06-20 22:53:13 -03:00
ThePedroo c50d89e28e update: Zygisk Next -> ReZygisk
This commit changes the name of the project to not be the same as the original one, Zygisk Next.
2024-06-16 15:32:24 -03:00
5ec1cff 505e5dc4ba fix typo 2024-01-06 10:02:29 +08:00
5ec1cff 420e93f8ed fix install magisk module task 2024-01-06 09:57:34 +08:00
Nullptr 698e6e6624 Bump to 0.9.1.1 2024-01-05 17:50:37 +08:00
Nullptr fbb792ef13 Minor changes 2024-01-05 17:11:50 +08:00
Nullptr 381abc99d5 Bump to 0.9.1 2024-01-05 16:48:10 +08:00
Nullptr 2d384685e7 No hardcode ksu tmp path 2024-01-05 14:30:07 +08:00
5ec1cff ad32c4efb0 reformat code 2024-01-05 13:10:10 +08:00
5ec1cff 8079123e43 Refine gradle 2024-01-05 11:11:42 +08:00
Nullptr 043cfd93d6 No hardcode temp dir 2024-01-04 03:44:57 +08:00
5ec1cff 9a649e0f00 remove redundant sepolicy 2024-01-03 16:10:33 +08:00
5ec1cff 711a3e98d0 no need to unshare 2024-01-02 23:49:19 +08:00
5ec1cff 977bd7753d write empty machikado if no key available 2024-01-02 19:51:29 +08:00
5ec1cff d5c896e966 check manager app 2024-01-02 19:33:27 +08:00
5ec1cff 5c8a67657c use /debug_ramdisk 2024-01-02 18:03:17 +08:00
5ec1cff 28f77fa5e2 machikado mazoku 2024-01-02 15:10:03 +08:00
5ec1cff 914c54cdd0 extract both 64 and 32 2024-01-02 11:13:52 +08:00
5ec1cff 8463574e2d temporary move magic to /data/adb/zygisksu 2024-01-02 00:46:30 +08:00
5ec1cff 993b18752b daemon launched by monitor & show daemon status in module.prop 2023-12-11 23:43:32 +08:00
5ec1cff 4f81f09a67 randomize init control socket & add shortcut (/data/adb/modules/zygisksu/bin/zygisk-ctl) 2023-12-08 20:20:59 +08:00
5ec1cff b34015b5f0 strip by ourselves 2023-12-08 19:46:40 +08:00
5ec1cff bcb65c4bd9 run companion in standalone process 2023-12-08 17:19:26 +08:00
5ec1cff 9c34c671fa restart zygiskd when zygote restart 2023-12-08 11:41:40 +08:00
5ec1cff 9e48f18247 Randomize tmp path 2023-11-27 10:23:03 +08:00
5ec1cff 5aea51ce03 Revert "run zygisk-cp on post-fs-data"
This reverts commit 47a17d2079.
2023-11-13 22:15:20 +08:00
5ec1cff 47a17d2079 run zygisk-cp on post-fs-data 2023-11-13 21:51:51 +08:00
5ec1cff fd6a454275 fix compatibility on lower android version 2023-11-13 15:04:23 +08:00
5ec1cff 040643337d init monitor 2023-11-12 20:34:45 +08:00
5ec1cff ba8c313122 Merge branch 'art2' into new-pt
# Conflicts:
#	loader/src/Android.mk
#	loader/src/external/Android.mk
#	loader/src/injector/hook.cpp
#	module/src/customize.sh
#	zygiskd/Cargo.toml
#	zygiskd/src/utils.rs
#	zygiskd/src/watchdog.rs
2023-11-08 15:33:15 +08:00