Revision history for MagiskInstallation


Revision [997]

Last edited on 2021-02-24 07:36:41 by didgeridoohan
Additions:
---
- Magisk apk (Get it on [[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!). If you want a release older than v22.0 you might also want the Magisk zip and uninstaller zip.
Deletions:
- Magisk apk ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!). If you want a release older than v22.0 you might also want the Magisk zip and uninstaller zip.


Revision [996]

Edited on 2021-02-24 07:35:49 by didgeridoohan
Additions:
There are a couple of things that are good to keep accessible, making it easier to recover from any problems that might arise.
- A copy of your device's boot image patched with the latest working Magisk on your setup. That way you can always revert to a known working state if things go wrong during an update.
- This should go without saying, but a backup of any important data on your device. When tinkering with your device like this it's not a matter of if things go wrong, it's a matter of when...
Deletions:
There are a couple of things that are good to keep on your device, making it easier to recover from any problems that might arise.


Revision [974]

Edited on 2021-02-23 08:14:30 by didgeridoohan
Deletions:
---


Revision [973]

Edited on 2021-02-23 08:14:02 by didgeridoohan
Additions:
- Magisk apk ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!). If you want a release older than v22.0 you might also want the Magisk zip and uninstaller zip.
Deletions:
Magisk apk ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!). If you want a release older than v22.0 you might also want the Magisk zip and uninstaller zip.


Revision [972]

Edited on 2021-02-23 08:13:49 by didgeridoohan
Additions:
Magisk apk ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!). If you want a release older than v22.0 you might also want the Magisk zip and uninstaller zip.
- A copy of a clean boot image for your ROM (can be flashed to restore your device in case of problems). Most of the time uninstalling through the app or renaming the apk to uninstall.zip and flashing in recovery is enough, but just in case. Disabling Magisk by flashing an untouched boot image will also keep the Magisk image intact. If you don't know how to get an untouched boot image for your device, your best bet is to search through your device's forum. The Magisk installation script will put a packed up backup of your boot image in /data/magisk_backup_<sha1 checksum> before patching it. This can also be used.
Installing Magisk is usually quite straightforward, but make sure to follow the installation instructions in the official [[https://topjohnwu.github.io/Magisk/ | Magisk Documentation]]. After you've got Magisk installed you can install Magisk Modules through the app or via a custom recovery (e.g. TWRP).
From Magisk app v8.0.0 these options will only be available on supported legacy devices. For most modern devices they simply won't show, since they have the possibility of causing way more issues for the general user than it's worth. The tools are still available for advanced users and developers in magiskboot.
If you do not see these options, it usually means that you do not need them. If you still do, for whatever reason, there are other options to reach the same functionality ([[https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389 | Zackptg5's universal disabler]] is a prime example). Just not through the Magisk app.
What is this "Recovery mode" that I see in the Magisk app?
Note though, that since Android is such a fractured ecosystem, detection of the ramdisk might not always be accurate (Xiaomi). So, if the result in the Magisk app is "no ramdisk", but patching the recovery image fails, give the boot image a go instead.
If you're using an older version of the app (that's not something that'll be supported, of course) that doesn't show if there's a ramdisk present, you can go by the general rule that a system-as-root device that doesn't have an A/B setup likely will have to install Magisk to recovery.
Deletions:
- Magisk zip ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!).
- Magisk Manager apk ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!).
- Uninstall zip ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!).
- A copy of a clean boot image for your ROM (can be flashed to restore your device in case of problems). Most of the time, the uninstall zip (see above) is enough, but just in case. Disabling Magisk by flashing an untouched boot image will also keep the Magisk image intact. If you don't know how to get an untouched boot image for your device, your best bet is to search through your device's forum. The Magisk installation script will put a packed up backup of your boot image in /data/magisk_backup_<sha1 checksum> before patching it. This can also be used.
Installing Magisk is usually quite straightforward, but make sure to follow the installation instructions in the official [[https://topjohnwu.github.io/Magisk/ | Magisk Documentation]]. After you've got Magisk installed you can install Magisk Modules through the Manager or via a custom recovery (e.g. TWRP).
From Magisk Manager v8.0.0 these options will only be available on supported legacy devices. For most modern devices they simply won't show, since they have the possibility of causing way more issues for the general user than it's worth. The tools are still available for advanced users and developers in magiskboot.
If you do not see these options, it usually means that you do not need them. If you still do, for whatever reason, there are other options to reach the same functionality ([[https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389 | Zackptg5's universal disabler]] is a prime example). Just not through the Magisk Manager.
What is this "Recovery mode" that I see in the Magisk Manager?
Note though, that since Android is such a fractured ecosystem, detection of the ramdisk might not always be accurate (Xiaomi). So, if the result in the Manager is "no ramdisk", but patching the recovery image fails, give the boot image a go instead.
If you're using an older version of the Manager (that's not something that'll be supported, of course) that doesn't show if there's a ramdisk present, you can go by the general rule that a system-as-root device that doesn't have an A/B setup likely will have to install Magisk to recovery.


Revision [959]

Edited on 2020-12-06 09:47:33 by didgeridoohan
Additions:
If you're using an older version of the Manager (that's not something that'll be supported, of course) that doesn't show if there's a ramdisk present, you can go by the general rule that a system-as-root device that doesn't have an A/B setup likely will have to install Magisk to recovery.


Revision [958]

Edited on 2020-12-06 09:23:15 by didgeridoohan
Additions:
Note though, that since Android is such a fractured ecosystem, detection of the ramdisk might not always be accurate (Xiaomi). So, if the result in the Manager is "no ramdisk", but patching the recovery image fails, give the boot image a go instead.


Revision [957]

Edited on 2020-12-06 09:20:42 by didgeridoohan
Additions:
Recovery mode needs to be enabled if you are installing Magisk on a device that doesn't have ramdisk in the boot partition. On these devices you need to install Magisk into the recovery image rather than the boot image, hence "Recovery mode". For details, see the official installation instructions in the Magisk documentation linked above.
Deletions:
Recovery mode needs to be enabled if you are installing Magisk on a system-as-root device that does not have a A/B partition setup. On these devices you need to install Magisk into the recovery image rather than the boot image, hence "Recovery mode".


Revision [937]

Edited on 2020-11-05 16:00:49 by didgeridoohan
Additions:
===**Advanced Settings/Install options**===
Deletions:
===**Install options**===


Revision [936]

Edited on 2020-11-05 15:59:16 by didgeridoohan
Additions:
If you do not see these options, it usually means that you do not need them. If you still do, for whatever reason, there are other options to reach the same functionality ([[https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389 | Zackptg5's universal disabler]] is a prime example). Just not through the Magisk Manager.
Deletions:
If you do not see these options, it usually means that you do not need them. If you still do, for whatever reason, there are other options to reach the same functionality. Just not through the Magisk Manager.


Revision [924]

Edited on 2020-11-03 03:24:39 by didgeridoohan
Additions:
It’s always a good idea to read through, at least, the official [[https://topjohnwu.github.io/Magisk/ | Magisk Documentation]] over on [[https://github.com/topjohnwu/Magisk | GitHub]]. Other useful information can often be found in the [[https://forum.xda-developers.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382 | XDA support thread]].
Deletions:
It’s always a good idea to read through, at least, the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] for information about what Magisk is and how to install it. Other useful information can be found in the official [[https://topjohnwu.github.io/Magisk/ | Magisk Documentation]] over on [[https://github.com/topjohnwu/Magisk | GitHub]] and the [[https://forum.xda-developers.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382 | support thread]].


Revision [918]

Edited on 2020-11-03 02:51:24 by didgeridoohan
Additions:
This is used to disable or preserve Android Verified Boot on your device. Dm-verity is used by the system to ensure that the device hasn't been tampered with in and let's the user know if this is the case. Since we do want to tamper with the system, most devices want to disable this when installing Magisk. But, there are those devices that need it to still be enabled or they won't boot. //See [[MagiskInstallationIssues | "Working with dm-verity and forced encryption"]]// for more details.
By default, Android encrypts user data and the kernel enforces this state so that you cannot use your device without encryption. Some user do want to disable encryption on their devices, and if so they need to have this option disabled. //See [[MagiskInstallationIssues | "Working with dm-verity and forced encryption"]]// for more details.
Deletions:
This is used to disable or preserve Android Verified Boot on your device. Dm-verity is used by the system to ensure that the device hasn't been tampered with in and let's the user know if this is the case. Since we do want to tamper with the system, most devices want to disable this when installing Magisk. But, there are those devices that need it to still be enabled or they won't boot. //See [[MaigskIssues | "DM-verity and Forced encryption"]]// for more details.
By default, Android encrypts user data and the kernel enforces this state so that you cannot use your device without encryption. Some user do want to disable encryption on their devices, and if so they need to have this option disabled. //See [[MagiskIssues | "DM-verity and Forced encryption"]]// for more details.


Revision [917]

Edited on 2020-11-03 02:49:32 by didgeridoohan
Additions:
By default, Android encrypts user data and the kernel enforces this state so that you cannot use your device without encryption. Some user do want to disable encryption on their devices, and if so they need to have this option disabled. //See [[MagiskIssues | "DM-verity and Forced encryption"]]// for more details.
Deletions:
By default, Android encrypts user data and the kernel enforces this state so that you cannot use your device without encryption. Some user do want to disable encryption on their devices, and if so they need to have this option disabled. //See [[MaigskIssues | "DM-verity and Forced encryption"]]// for more details.


Revision [913]

Edited on 2020-11-03 02:29:00 by didgeridoohan
Additions:
There may be issues with certain devices, ROMs and/or apps and Magisk. Check the [[https://topjohnwu.github.io/Magisk/faq.html | Magisk FAQ]] for some information about currently known issues.
===**Things to keep handy**===
- Magisk zip ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!).
- Magisk Manager apk ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!).
- Uninstall zip ([[https://github.com/topjohnwu/Magisk/releases | GitHub]]. Never download Magisk files from anywhere else!).
- A copy of a clean boot image for your ROM (can be flashed to restore your device in case of problems). Most of the time, the uninstall zip (see above) is enough, but just in case. Disabling Magisk by flashing an untouched boot image will also keep the Magisk image intact. If you don't know how to get an untouched boot image for your device, your best bet is to search through your device's forum. The Magisk installation script will put a packed up backup of your boot image in /data/magisk_backup_<sha1 checksum> before patching it. This can also be used.
**Note!** On A/B devices it is a good idea to __not__ install TWRP, but only __boot__ it through fastboot:
From Magisk Manager v8.0.0 these options will only be available on supported legacy devices. For most modern devices they simply won't show, since they have the possibility of causing way more issues for the general user than it's worth. The tools are still available for advanced users and developers in magiskboot.
If you do not see these options, it usually means that you do not need them. If you still do, for whatever reason, there are other options to reach the same functionality. Just not through the Magisk Manager.
Deletions:
There may be issues with certain devices, ROMs and/or apps and Magisk. Check the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] for information about currently known issues.
===**Things to keep on your device**===
- Magisk zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]) or [[https://github.com/topjohnwu/Magisk/releases | GitHub]]).
- Magisk Manager apk ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] or [[https://github.com/topjohnwu/Magisk/releases | GitHub]]).
- Uninstall zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]) or [[https://github.com/topjohnwu/Magisk/releases | GitHub]]).
- A copy of a clean boot image for your ROM (can be flashed to restore your device in case of problems). Most of the time, the uninstall zip (see above) is enough, but just in case. Disabling Magisk by flashing an untouched boot image will also keep the Magisk image intact. If you don't know how to get an untouched boot image for your device, your best bet is to search through your device's forum. The Magisk installation script will put a packed up backup of your boot image in /data before patching it. This can also be used.
**Note!** On A/B devices it might be a good idea to not install TWRP, but only __boot__ it through fastboot:


Revision [792]

Edited on 2020-01-29 04:36:05 by didgeridoohan
Additions:
===**Install options**===
==**Preserve AVB 2.0/dm-verity**==
This is used to disable or preserve Android Verified Boot on your device. Dm-verity is used by the system to ensure that the device hasn't been tampered with in and let's the user know if this is the case. Since we do want to tamper with the system, most devices want to disable this when installing Magisk. But, there are those devices that need it to still be enabled or they won't boot. //See [[MaigskIssues | "DM-verity and Forced encryption"]]// for more details.
==**Preserve enforced encryption**==
By default, Android encrypts user data and the kernel enforces this state so that you cannot use your device without encryption. Some user do want to disable encryption on their devices, and if so they need to have this option disabled. //See [[MaigskIssues | "DM-verity and Forced encryption"]]// for more details.
==**Recovery mode**==
Deletions:
===**Recovery mode**===


Revision [760]

Edited on 2019-11-01 08:27:22 by didgeridoohan
Deletions:
{{{toc}}}


Revision [759]

Edited on 2019-11-01 08:27:16 by didgeridoohan
Additions:
{{{toc}}}
Deletions:
##""{{{toc}}}""##


Revision [758]

Edited on 2019-11-01 08:26:51 by didgeridoohan
Additions:
##""{{{toc}}}""##


Revision [726]

Edited on 2019-10-15 15:38:36 by didgeridoohan
Deletions:
@@{{image url="https://img.shields.io/badge/-PayPal-blue.svg" title="" alt="PayPal"}}
Please don't hesitate to [[https://www.paypal.me/didgeridoohan | support the work involved]] in keeping this guide alive.@@
----


Revision [720]

Edited on 2019-10-12 05:29:08 by didgeridoohan
Additions:
===**Recovery mode**===
What is this "Recovery mode" that I see in the Magisk Manager?
Recovery mode needs to be enabled if you are installing Magisk on a system-as-root device that does not have a A/B partition setup. On these devices you need to install Magisk into the recovery image rather than the boot image, hence "Recovery mode".


Revision [719]

Edited on 2019-10-12 05:21:00 by didgeridoohan
Additions:
Installing Magisk is usually quite straightforward, but make sure to follow the installation instructions in the official [[https://topjohnwu.github.io/Magisk/ | Magisk Documentation]]. After you've got Magisk installed you can install Magisk Modules through the Manager or via a custom recovery (e.g. TWRP).
Since Google and different OEMs are changing things a lot starting from Android Pie, there are popping up more and more limitations for installing and running Magisk. Make sure to take a look at the docs to see if there's any specific instructions that apply to your device.
Deletions:
Installing Magisk is usually quite straightforward. Follow the installation instructions in the official [[https://topjohnwu.github.io/Magisk/ | Magisk Documentation]]. After that you can install Magisk Modules through the Manager or via a custom recovery (e.g. TWRP).
Since Google and different OEMs are changing things a lot starting from Pie, there are popping up more and more limitations for installing and running Magisk. Make sure to take a look at the docs to see if there's any special instructions for your device.


Revision [653]

Edited on 2019-07-22 14:24:19 by didgeridoohan
Additions:
@@{{image url="https://img.shields.io/badge/-PayPal-blue.svg" title="" alt="PayPal"}}
Please don't hesitate to [[https://www.paypal.me/didgeridoohan | support the work involved]] in keeping this guide alive.@@
----


Revision [605]

Edited on 2019-05-02 02:31:23 by didgeridoohan
Additions:
Since Google and different OEMs are changing things a lot starting from Pie, there are popping up more and more limitations for installing and running Magisk. Make sure to take a look at the docs to see if there's any special instructions for your device.
Deletions:
- SUmount script ([[https://forum.xda-developers.com/showthread.php?t=2239421 | osm0sis' Odds and Ends]]).


Revision [589]

Edited on 2019-02-18 00:28:55 by didgeridoohan
Additions:
Installing Magisk is usually quite straightforward. Follow the installation instructions in the official [[https://topjohnwu.github.io/Magisk/ | Magisk Documentation]]. After that you can install Magisk Modules through the Manager or via a custom recovery (e.g. TWRP).
Deletions:
Installing Magisk is usually quite straightforward. Follow the installation instructions in the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]. After that you can install Magisk Modules through the Manager or via a custom recovery (e.g. TWRP).


Revision [562]

Edited on 2019-01-16 02:23:10 by didgeridoohan
Additions:
**Note!** On A/B devices it might be a good idea to not install TWRP, but only __boot__ it through fastboot:
%%fastboot boot twrp.img%%
Actually installing TWRP may lead to issues booting the device if you also install Magisk, since the recovery resides in the boot image.


Revision [466]

Edited on 2018-10-16 13:07:58 by didgeridoohan
Additions:
There may be issues with certain devices, ROMs and/or apps and Magisk. Check the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] for information about currently known issues.
- SUmount script ([[https://forum.xda-developers.com/showthread.php?t=2239421 | osm0sis' Odds and Ends]]).
Deletions:
There may be issues with certain devices, ROMs and/or apps and Magisk. Check the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] for information about currently known issues. While you're there, make sure to also take a look at the FAQ.
- Mount Magisk zip ([[https://forum.xda-developers.com/apps/magisk/collection-magisk-modules-v2-t3575758 | Collection of Magisk Modules v2 thread]]).


Revision [465]

Edited on 2018-10-16 08:36:00 by didgeridoohan
Additions:
It’s always a good idea to read through, at least, the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] for information about what Magisk is and how to install it. Other useful information can be found in the official [[https://topjohnwu.github.io/Magisk/ | Magisk Documentation]] over on [[https://github.com/topjohnwu/Magisk | GitHub]] and the [[https://forum.xda-developers.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382 | support thread]].
Deletions:
It’s always a good idea to read through, at least, the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] for information about what Magisk is and how to install it. Other useful information can be found in the [[https://github.com/topjohnwu/Magisk/blob/master/docs/README.MD | Magisk Documentation]] over on [[https://github.com/topjohnwu/Magisk | GitHub]] and the [[https://forum.xda-developers.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382 | support thread]].


Revision [422]

Edited on 2018-09-04 01:57:26 by didgeridoohan
Additions:
There may be issues with certain devices, ROMs and/or apps and Magisk. Check the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] for information about currently known issues. While you're there, make sure to also take a look at the FAQ.
Deletions:
There may be issues with certain devices, ROMs and/or apps and Magisk. Check the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] for information about currently known issues. While you're there, make sure to also take a look at the FAQ. When a new release is imminent, there will also be useful information in the [[https://forum.xda-developers.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589 | beta thread]].


Revision [407]

Edited on 2018-09-04 01:26:22 by didgeridoohan
Additions:
- A copy of a clean boot image for your ROM (can be flashed to restore your device in case of problems). Most of the time, the uninstall zip (see above) is enough, but just in case. Disabling Magisk by flashing an untouched boot image will also keep the Magisk image intact. If you don't know how to get an untouched boot image for your device, your best bet is to search through your device's forum. The Magisk installation script will put a packed up backup of your boot image in /data before patching it. This can also be used.
Deletions:
- A copy of a clean boot image for your ROM (can be flashed to restore your device in case of problems). Most of the time, the uninstall zip (see above) is enough, but just in case. Disabling Magisk by flashing an untouched boot image will also keep the Magisk image intact. If you don't know how to get an untouched boot image for your device, your best bet is to search through your device's forum.
The Magisk installation script will put a packed up backup of your boot image in /data before patching it. This can also be used.


Revision [379]

Edited on 2018-08-08 13:07:50 by didgeridoohan
Additions:
- Magisk Manager apk ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] or [[https://github.com/topjohnwu/Magisk/releases | GitHub]]).
Deletions:
- Magisk Manager apk ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]] or [[https://github.com/topjohnwu/MagiskManager/releases | GitHub]]).


Revision [378]

Edited on 2018-08-08 12:28:11 by didgeridoohan
Additions:
- Uninstall zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]) or [[https://github.com/topjohnwu/Magisk/releases | GitHub]]).
Deletions:
- Uninstall zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]) or [[https://github.com/topjohnwu/MagiskManager/releases | GitHub]]).


Revision [377]

Edited on 2018-08-08 12:27:29 by didgeridoohan
Additions:
- Magisk zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]) or [[https://github.com/topjohnwu/Magisk/releases | GitHub]]).
Deletions:
- Magisk zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]) or [[https://github.com/topjohnwu/MagiskManager/releases | GitHub]]).


Revision [314]

Edited on 2018-07-19 09:07:08 by didgeridoohan
Additions:
- Magisk zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]) or [[https://github.com/topjohnwu/MagiskManager/releases | GitHub]]).
- Uninstall zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]) or [[https://github.com/topjohnwu/MagiskManager/releases | GitHub]]).
Deletions:
- Magisk zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]).
- Uninstall zip ([[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | release thread]]).


Revision [180]

The oldest known version of this page was created on 2018-02-05 15:37:28 by didgeridoohan
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki