Revision history for MagiskInstallationIssues


Revision [727]

Last edited on 2019-10-15 15:38:55 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 [654]

Edited on 2019-07-22 14:25:27 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 [571]

Edited on 2019-02-04 11:04:21 by didgeridoohan
Additions:
===**Additional setup failed**===
If you get a message when opening the Magisk Managerm after installing or updating Magisk, that additional setup is required and that it fails, try uninstalling the Magisk Manager and install it again manually.


Revision [570]

Edited on 2019-01-26 00:11:33 by didgeridoohan
Additions:
If you get this message, //"Cannot mount /vendor"//, when trying to install Magisk through TWRP it usually means you have a Treble device but the TWRP version you have installed is not Treble compatible. Simply find an updated Treble compatible TWRP for your device.
Deletions:
If you get this message, //"Cannot mount /vendor"//, when trying to install Magisk through TWRP it usually means you have a Treble device but the TWRP version you have installed is not Treble compatible. Simply find a updated TWRP for your device.


Revision [568]

Edited on 2019-01-18 14:59:02 by didgeridoohan
Additions:
%%echo KEEPVERITY=true>>/cache/.magisk
echo KEEPFORCEENCRYPT=true>>/cache/.magisk%%
If you can't access /data (TWRP can't decrypt, etc) you can instead use either /data/.magisk or/system/.magisk, but please note that using /system/.magisk isn't systemless.
Deletions:
%%echo KEEPVERITY=true>>/data/.magisk
echo KEEPFORCEENCRYPT=true>>/data/.magisk%%


Revision [500]

Edited on 2018-11-26 09:50:56 by didgeridoohan
Additions:
Most of the time you can find the stock boot image in your factory image/firmware package/ROM. Unzip it and look for the boot.img file. If you're unsure on how to go about acquiring the stock boot image for your device, ask for help in your device's forum.
Deletions:
Most or the time you can find the stock boot image in your factory image/firmware package/ROM. Unzip it and look for the boot.img file. If you're unsure on how to go about acquiring the stock boot image for your device, ask for help in your device's forum.


Revision [499]

Edited on 2018-11-26 09:50:13 by didgeridoohan
Additions:
When trying to patch the boot image of your device with the Magisk Manager, you will first have to get a copy of your stock boot image, place this on your internal storage where it will be accessible for the Manager and then select it according to the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | instructions]]. After that you can flash the patched boot image (that you'll find in the Downloads directory on your internal storage) to your device, either in recovery or through fastboot/download mode, Odin or similar
Deletions:
When trying to patch the boot image of your device with the Magisk Manager, you will first have to get a copy of your stock boot image, place this on your internal storage where it will be accessible for the Manager and then select it according to the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | instructions]]. After that you can flash the patched boot image (that you'll find in the MagiskManager directory on your internal storage) to your device, either in recovery or through fastboot/download mode, Odin or similar


Revision [496]

Edited on 2018-11-20 14:02:51 by didgeridoohan
Additions:
If you can't access /data (TWRP can't decrypt, etc) you can instead use either /cache/.magisk or/system/.magisk, but please note that using /system/.magisk isn't systemless.
If you can't access /data (TWRP can't decrypt, etc) you can instead use either /cache/.magisk or/system/.magisk, but please note that using /system/.magisk isn't systemless.
Deletions:
If you can't access /data (TWRP can't decrypt, etc) you can instead use one of these locations - /cache/.magisk, /.backup/.magisk or/system/.magisk. Note that using /system/.magisk isn't systemless.
If you can't access /data (TWRP can't decrypt, etc) you can instead use one of these locations - /cache/.magisk, /.backup/.magisk or/system/.magisk. Note that using /system/.magisk isn't systemless.


Revision [471]

Edited on 2018-10-18 05:31:08 by didgeridoohan
Additions:
===**Cannot mount /vendor**===
If you get this message, //"Cannot mount /vendor"//, when trying to install Magisk through TWRP it usually means you have a Treble device but the TWRP version you have installed is not Treble compatible. Simply find a updated TWRP for your device.


Revision [446]

Edited on 2018-09-09 03:32:29 by didgeridoohan
Additions:
If you can't access /data (TWRP can't decrypt, etc) you can instead use one of these locations - /cache/.magisk, /.backup/.magisk or/system/.magisk. Note that using /system/.magisk isn't systemless.
If you can't access /data (TWRP can't decrypt, etc) you can instead use one of these locations - /cache/.magisk, /.backup/.magisk or/system/.magisk. Note that using /system/.magisk isn't systemless.
Deletions:
If you can't access /data (TWRP can't decrypt, etc) you can instead use one of these locations - /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.
If you can't access /data (TWRP can't decrypt, etc) you can instead use one of these locations - /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.


Revision [445]

Edited on 2018-09-09 03:31:46 by didgeridoohan
Additions:
If you can't access /data (TWRP can't decrypt, etc) you can instead use one of these locations - /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.
If you can't access /data (TWRP can't decrypt, etc) you can instead use one of these locations - /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.
Deletions:
(If you can't access /data, /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.)
(If you can't access /data, /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.)


Revision [444]

Edited on 2018-09-09 03:21:41 by didgeridoohan
Additions:
Some devices need to keep dm-verity enabled to work properly. One example is some Huawei devices that might otherwise experience weird behaviour or bootloops.
Deletions:
Some devices need to keep dm-verity enabled to work properly. One example is some Huawei devices that might otherwise experience weird behaviour.


Revision [443]

Edited on 2018-09-09 02:59:00 by didgeridoohan
Additions:
(If you can't access /data, /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.)
(If you can't access /data, /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.)
Deletions:
(If you can't access data, /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.)
(If you can't access data, /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.)


Revision [442]

Edited on 2018-09-09 02:58:09 by didgeridoohan
Additions:
(If you can't access data, /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.)
(If you can't access data, /cache/.magisk, /.backup/.magisk or/system/.magisk would also be possible locations for the file. Note that using /system/.magisk isn't systemless.)


Revision [408]

Edited on 2018-09-04 01:33:49 by didgeridoohan
Additions:
The Manager will auto-detect if your device is encrypted and if it’s recommended to keep dm-verity enabled and the “Preserve forced encryption” and “Preserve dm-verity” will then be enabled by default. If these options aren’t enabled, you can keep dm-verity and forced encryption by checking the options for this before installing a new version of Magisk through the Manager. If you install through recovery (either for the first time or as an update) run one or both of the following commands in a terminal emulator or in your recovery's terminal before installing:
%%echo KEEPVERITY=true>>/data/.magisk
echo KEEPFORCEENCRYPT=true>>/data/.magisk%%
===**Disabling dm-verity and forced encryption**===
If you on the other hand want to disable either dm-verity or forced encryption, you can go about it the same way as described above. If you're using the .magisk file method, just change KEEPVERITY and/or KEEPFORCEENCRYPT in the commands to false:
%%echo KEEPVERITY=false>>/data/.magisk
echo KEEPFORCEENCRYPT=false>>/data/.magisk%%
If you have a completely stock boot image installed and still get this message, there's likely some kind of incompatibility between your device/ROM and Magisk (see [[MagiskHelp | Asking for help]] for info on what to provide when asking for support).
Deletions:
The Manager will auto-detect if your device is encrypted and if it’s recommended to keep dm-verity enabled and the “Preserve forced encryption” and “Preserve dm-verity” will then be enabled by default. If these options aren’t enabled, you can keep dm-verity and forced encryption by checking the options for this before installing a new version of Magisk through the Manager. The first time you install (or if you just want to update Magisk through the recovery) run one or both of the following commands in a terminal emulator or in your recovery's terminal before installing:
%%echo KEEPVERITY=true>>/cache/.magisk
echo KEEPFORCEENCRYPT=true>>/cache/.magisk%%
If you have a completely stock boot image installed and still get this message, there's likely some kind of incompatibility between your device/ROM and Magisk.


Revision [388]

Edited on 2018-08-14 05:05:23 by didgeridoohan
Additions:
If you're trying to find a stock boot image because you're moving from ""SuperSU"" to Magisk, there might be a backup of the stock boot image in /data (compressed) that you can use.
With ""SuperSU"", most of the times you can simply use the full unroot option in the ""SuperSU"" app and let it restore your stock boot image, alternatively use the full unroot option and then flash the stock boot image before installing Magisk. When moving from ""SuperSU"" to Magisk, you might have a backup of the stock boot image in /data (compressed).
When moving from ""SuperSU"" to Magisk there might be a backup of the stock boot image in /data (compressed) that you can use.
Deletions:
If you're trying to find a stock boot image because you're moving from SuperSU to Magisk, there might be a backup of the stock boot image in /data (compressed) that you can use.
With ""SuperSU"", most of the times you can simply use the full unroot option in the ""SuperSU"" app and let it restore your stock boot image, alternatively use the full unroot option and then flash the stock boot image before installing Magisk. When moving from SuperSU to Magisk, you might have a backup of the stock boot image in /data (compressed).
When moving from SuperSU to Magisk there might be a backup of the stock boot image in /data (compressed) that you can use.


Revision [387]

Edited on 2018-08-14 05:05:00 by didgeridoohan
Additions:
Most or the time you can find the stock boot image in your factory image/firmware package/ROM. Unzip it and look for the boot.img file. If you're unsure on how to go about acquiring the stock boot image for your device, ask for help in your device's forum.
If you're trying to find a stock boot image because you're moving from SuperSU to Magisk, there might be a backup of the stock boot image in /data (compressed) that you can use.
With ""SuperSU"", most of the times you can simply use the full unroot option in the ""SuperSU"" app and let it restore your stock boot image, alternatively use the full unroot option and then flash the stock boot image before installing Magisk. When moving from SuperSU to Magisk, you might have a backup of the stock boot image in /data (compressed).
When moving from SuperSU to Magisk there might be a backup of the stock boot image in /data (compressed) that you can use.
Deletions:
Most or the time you can find the stock boot image in your factory image/firmware package/ROM. Unzip it and look for the boot.img file. If you're unsure on how to go about acquiring the stock boot image for your device, ask for help in your device's forum.
With ""SuperSU"", most of the times you can simply use the full unroot option in the ""SuperSU"" app and let it restore your stock boot image, alternatively use the full unroot option and then flash the stock boot image before installing Magisk.


Revision [386]

Edited on 2018-08-14 05:00:54 by didgeridoohan
Additions:
The boot image can usually be found in your device's factory image/firmware file. If you're using a custom ROM it's found in the ROM zip. //Also see "Where's my boot image for the Manager to patch" above//.
Deletions:
The boot image can usually be found in your device's factory image/firmware file. If you're using a custom ROM it's found in the ROM zip.


Revision [364]

Edited on 2018-07-19 15:42:28 by didgeridoohan
Additions:
==**""SuperSU""**==
==**unSU script**==
==**Prerooted ROM**==
==**Dirty flash**==
Deletions:
**""SuperSU""**
**unSU script**
**Prerooted ROM**
**Dirty flash**


Revision [354]

Edited on 2018-07-19 15:27:56 by didgeridoohan
Additions:
**""SuperSU""**
Deletions:
**SuperSU**


Revision [353]

Edited on 2018-07-19 15:27:43 by didgeridoohan
Additions:
**SuperSU**
**unSU script**
**Prerooted ROM**
**Dirty flash**


Revision [315]

Edited on 2018-07-19 09:11:14 by didgeridoohan
Additions:
If you see a messag in the install log, stating "Invalid image: not signed", that simply means that your boot image isn’t signed. It’s perfectly normal and nothing to worry about.
Deletions:
If you see something like this in the install log when flashing a Magisk zip, it simply means that your boot image isn’t signed. It’s perfectly normal and nothing to worry about.
%%java.lang.ClassCastException: org.bouncycastle.asn1.DERApplicationSpecific cannot be cast to org.bouncycastle.asn1.ASN1Sequence
at com.topjohnwu.crypto.SignBoot$BootSignature.<init>(Unknown Source)
at com.topjohnwu.crypto.SignBoot.verifySignature(Unknown Source)
at com.topjohnwu.magisk.utils.BootSigner.main(Unknown Source)
Invalid image: not signed%%


Revision [306]

Edited on 2018-07-14 17:20:50 by didgeridoohan
Additions:
When trying to patch the boot image of your device with the Magisk Manager, you will first have to get a copy of your stock boot image, place this on your internal storage where it will be accessible for the Manager and then select it according to the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | instructions]]. After that you can flash the patched boot image (that you'll find in the MagiskManager directory on your internal storage) to your device, either in recovery or through fastboot/download mode, Odin or similar
Deletions:
When trying to patch the boot image of your device with the Magisk Manager, you will first have to get a copy of your stock boot image, place this on your internal storage where it will be accessible for the Manager and then select it according to the [[https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445 | instructions]]. After that you can flash the patched boot image to your device, either in recovery or through fastboot/download mode, Odin or similar


Revision [305]

Edited on 2018-07-14 17:19:31 by didgeridoohan
Additions:
Most or the time you can find the stock boot image in your factory image/firmware package/ROM. Unzip it and look for the boot.img file. If you're unsure on how to go about acquiring the stock boot image for your device, ask for help in your device's forum.
Deletions:
If you're unsure on how to go about acquiring the stock boot image for your device, ask for help in your device's forum.


Revision [304]

Edited on 2018-07-14 02:53:27 by didgeridoohan
Additions:
%%echo KEEPVERITY=true>>/cache/.magisk
echo KEEPFORCEENCRYPT=true>>/cache/.magisk%%
Deletions:
%%echo KEEPVERITY=true>>/data/.magisk
echo KEEPFORCEENCRYPT=true>>/data/.magisk%%


Revision [282]

Edited on 2018-04-29 04:53:35 by didgeridoohan
Additions:
If you have a completely stock boot image installed and still get this message, there's likely some kind of incompatibility between your device/ROM and Magisk.
Deletions:
If you have a completely stock boot image installed, there's likely some kind of incompatibility between your device/ROM and Magisk.


Revision [281]

Edited on 2018-04-29 04:53:22 by didgeridoohan
Additions:
If you have a completely stock boot image installed, there's likely some kind of incompatibility between your device/ROM and Magisk.


Revision [205]

Edited on 2018-02-11 02:43:46 by didgeridoohan
Additions:
Otherwise, and this applies to any other root solution as well, you an use [[https://forum.xda-developers.com/member.php?u=4544860 | osm0sis]] [[http://forum.xda-developers.com/showpost.php?p=63615067 | unSU script]] (in recovery) and then flash your device's/ROM's stock boot image before installing Magisk, or you can dirty flash your ROM.
Deletions:
Otherwise, and this applies to any other root solution as well, you an use [[https://forum.xda-developers.com/member.php?u=4544860 | osm0sis]] [[http://forum.xda-developers.com/showpost.php?p=63615067 | unSU script]] (in recovery) and then flash your device's/ROM's stock boot image before installing Magisk.


Revision [202]

Edited on 2018-02-08 02:10:49 by didgeridoohan
Additions:
===**Installation through recovery fails**===
===**Invalid image: not signed**===
Deletions:
===**Installation in recovery fails**===
===**Invalid image not signed**===


Revision [181]

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