mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-20 03:47:32 +00:00
Compare commits
3 Commits
manager-v5
...
manager-v5
Author | SHA1 | Date | |
---|---|---|---|
![]() |
49ba7ad22e | ||
![]() |
6ad33d60f7 | ||
![]() |
68c448bc34 |
@@ -27,8 +27,8 @@ android {
|
||||
|
||||
productFlavors {
|
||||
full {
|
||||
versionCode 125
|
||||
versionName "5.8.0"
|
||||
versionCode 127
|
||||
versionName "5.8.1"
|
||||
}
|
||||
stub {
|
||||
versionCode 1
|
||||
@@ -57,7 +57,7 @@ dependencies {
|
||||
fullImplementation "com.android.support:recyclerview-v7:${rootProject.ext.supportLibVersion}"
|
||||
fullImplementation "com.android.support:cardview-v7:${rootProject.ext.supportLibVersion}"
|
||||
fullImplementation "com.android.support:design:${rootProject.ext.supportLibVersion}"
|
||||
fullImplementation 'com.github.topjohnwu:libsu:1.2.0'
|
||||
fullImplementation 'com.github.topjohnwu:libsu:1.3.0'
|
||||
fullImplementation 'com.atlassian.commonmark:commonmark:0.11.0'
|
||||
fullImplementation 'org.kamranzafar:jtar:2.3'
|
||||
fullImplementation 'com.jakewharton:butterknife:8.8.1'
|
||||
|
@@ -6,20 +6,26 @@ import android.support.annotation.NonNull;
|
||||
import com.topjohnwu.magisk.R;
|
||||
import com.topjohnwu.superuser.BusyBox;
|
||||
import com.topjohnwu.superuser.Shell;
|
||||
import com.topjohnwu.superuser.ShellUtils;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.InputStream;
|
||||
|
||||
public class ShellInitializer extends Shell.Initializer {
|
||||
|
||||
static {
|
||||
BusyBox.BB_PATH = new File(Const.BUSYBOX_PATH);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onRootShellInit(Context context, @NonNull Shell shell) throws Exception {
|
||||
BusyBox.BB_PATH = new File(Const.BUSYBOX_PATH);
|
||||
try (InputStream magiskUtils = context.getResources().openRawResource(R.raw.util_functions);
|
||||
InputStream managerUtils = context.getResources().openRawResource(R.raw.utils)
|
||||
) {
|
||||
shell.loadInputStream(null, null, magiskUtils);
|
||||
shell.loadInputStream(null, null, managerUtils);
|
||||
shell.execTask((in, err, out) -> {
|
||||
ShellUtils.pump(magiskUtils, in);
|
||||
ShellUtils.pump(managerUtils, in);
|
||||
});
|
||||
}
|
||||
shell.run(null, null,
|
||||
"mount_partitions",
|
||||
|
@@ -1,6 +1,11 @@
|
||||
### v5.8.0
|
||||
- Remain hidden when upgrading within repackaged Magisk Manager
|
||||
- New feature: support reconstructing a proper Magisk environment if error detected (e.g. after factory reset)
|
||||
- New uninstall method: download uninstaller and completely remove Magisk + Magisk Manager, following with a reboot
|
||||
- Hidden apps are now shown on the top of the list in MagiskHide fragment
|
||||
- Tons of under-the-hood bug fixes and improvements
|
||||
### v5.8.1
|
||||
- Fix a bug that cause the root shell initializer not running in BusyBox.
|
||||
This is the cause of freezes on some older devices and DTBO being patched unconditionally.
|
||||
|
||||
### Note
|
||||
If your device has a separate DTBO, and you do NOT want it patched but it was patched due to the bug,
|
||||
follow these instructions to fix it:
|
||||
|
||||
1. Uninstall → Restore Images. Do **NOT** reboot afterwards!
|
||||
2. Check **Preserve AVB 2.0/dm-verity** in Advanced Settings
|
||||
3. Install → Install → Direct Install to install correctly with proper settings
|
||||
|
@@ -63,7 +63,7 @@
|
||||
|
||||
<!--About Activity-->
|
||||
<string name="about">Про програму</string>
|
||||
<string name="app_changelog">Список змін</string>
|
||||
<string name="app_changelog">Перелік змін</string>
|
||||
<string name="translators" />
|
||||
<string name="app_version">Версія</string>
|
||||
<string name="app_source_code">Вихідний код</string>
|
||||
@@ -132,7 +132,7 @@
|
||||
<string name="settings_restore_manager_summary">Відновити Magisk Manager з оригінального пакету</string>
|
||||
<string name="language">Мова</string>
|
||||
<string name="system_default">Стандартна (системна)</string>
|
||||
<string name="settings_update">Оновити налаштування</string>
|
||||
<string name="settings_update">Налаштування оновлень</string>
|
||||
<string name="settings_check_update_title">Перевіряти оновлення</string>
|
||||
<string name="settings_check_update_summary">Періодично перевіряти оновлення у фоновому режимі</string>
|
||||
<string name="settings_update_channel_title">Канал оновлення</string>
|
||||
@@ -163,7 +163,7 @@
|
||||
<string name="request_timeout_summary">%1$s сек.</string>
|
||||
<string name="settings_su_reauth_title">Повторна автентифікація</string>
|
||||
<string name="settings_su_reauth_summary">Перевидача прав суперкористувача після оновлення програм</string>
|
||||
<string name="settings_su_fingerprint_title">Увімкнути автентифікацію за відбитком</string>
|
||||
<string name="settings_su_fingerprint_title">Автентифікація за відбитком</string>
|
||||
<string name="settings_su_fingerprint_summary">Використовувати сканер відбитків пальців, щоб надавати дозвіл суперкористувача</string>
|
||||
|
||||
<string name="multiuser_mode">Багатокористувацький режим</string>
|
||||
@@ -189,7 +189,7 @@
|
||||
<string name="su_request_title">Запит прав Суперкористувача</string>
|
||||
<string name="deny_with_str">Відмовити %1$s</string>
|
||||
<string name="deny">Відмовити</string>
|
||||
<string name="prompt">Запит</string>
|
||||
<string name="prompt">Запитувати</string>
|
||||
<string name="grant">Надати</string>
|
||||
<string name="su_warning">Надати повний доступ до пристрою.\nЯкщо не впевнені, що бажаєте продовжити, відхиліть дану дію.</string>
|
||||
<string name="forever">Назавжди</string>
|
||||
|
Reference in New Issue
Block a user