mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 22:20:19 +00:00
topjohnwu
e6c1dd532d
Re-implement duplicate Magisk Manager logic
Starting from the next Magisk release, it will no longer prefer the package name com.topjohnwu.magisk over a hidden manager; it will always be aware whether the hidden manager exists, so when a package named com.topjohnwu.magisk is installed alongside with the hidden manager, com.topjohnwu.magisk will not have root access by default. This will prevent malware from using the package name com.topjohnwu.magisk to gain root access when a user is using a hidden manager. To support this new behavior, several changes has to be done: - Never grant com.topjohnwu.magisk in Magisk Manager (if it IS the actual manager, MagiskSU will grant it by default) - While hidden, remove com.topjohnwu.magisk if exists - Restore Magisk Manager (unhide) has to be done with root - Upgrading Magisk Manager should preserve package name (implemented in a949641)
Magisk Manager
This repo is no longer an independent component. It is a submodule of the Magisk Project.
Translations
The default (English) string resources are scattered in these files: src/full/res/values/strings.xml
, src/main/res/values/strings.xml
, src/stub/res/values/strings.xml
.
Place the translated XMLs in the corresponding folder to the locale.
Translations are highly appreciated via pull requests here on Github.
Languages
C++
36.6%
Kotlin
30.4%
Rust
16.4%
Java
9%
Shell
4.9%
Other
2.6%