------update: just managed to get phone detected in fastboot mode.
Congrats! This is the way we find solutions . Best luck for you
------update: just managed to get phone detected in fastboot mode.
My understanding of this is that initrd and initramfs achieve much the same thing, but initramfs at an even earlier early stage, and also takes precedence over initrd.@zgfg, @pndwal: It may not be the bootloader that supports initrd. Some manufacturers might go to the trouble of deleting the kernel's ability to use an initrd.
As for the confusion about the meaning of "Ramdisk: No", someone could open an issue requesting that that entire block of information be more clearly labeled "State of system before Magisk tried to patch anything". Maybe also add an indication of where Magisk is installed. But please remember to use the proper template.
https://github.com/topjohnwu/Magisk/issues/3239Some Type III devices’ bootloader will still accept and provide initramfs that was manually added to the boot image to the kernel (e.g. some Xiaomi phones), but many device don’t (e.g. Samsung S10, Note 10). It solely depends on how the OEM implements its bootloader.
It is literally impossible for Magisk to know whether a device bootloader accepts ramdisk, so the assumption is to always inform the user to use recovery mode
Doesmagisk --remove-modules
disable the boot scripts in post-fs and service.d? These are a possible source of a bootloop also.
I have booted to safe mode using the long press on the reboot from within the ROM, but I have never used or heard of a button combination. It seems like a VERY logical option, but what is the combination? And I do understand it will be different on each phone.
Well, it says "Sorry, test failed. This feature cannot run on your phone", and I agree this seems to be due to inability to see su now, although the same failure used to occur when installed on adopted storage or other external memory.i've used this before but now that we have a OnePlus5 we have tried to use it. It seems to work with, for example, Titanium Backup alright. However i can't get "root" access for the ES-FileExplorer application. It goes through the motions and says that "root" access has been granted. Then, a couple of seconds later, it reports that it does not have root access.
i installed Magisk by downloading and using the file manager to find it and to "install" it. No problems reported.
Have a great day and stay safe!
https://www.didgeridoohan.com/magisk/MagiskRootIssuesSome apps may have troubles detecting root when using Magisk. Usually this means the app in question is looking for root in a specific location and needs to be updated to work with MagiskSU or otherwise can’t detect MagiskSU. Contact the developer.
I have question?? When installing magisk and your dm-verity is already trigger I need to uncheck "preserve avb 2.0/dm verity" is that correct??
the vanced I am running uses a boot script, in post fs data. Its been a while since I checked, but I have a vague memory that each module can contain a script specific to itself. I need to go back and read and re-learn if a module have either or both a post-fs-data and service.d.I can't quite remember currently, but I do believe that the adb command does not touch scripts in post-fs-data.d or service.d (I also currently can't remember if Safe Mode does, have to do some reading/testing later). Modules shouldn't be putting stuff there though, since that breaks encapsulation. Unfortunately a lot of modules do...
Although a good idea, with some of the cool featiures, its hard to resist trying a module that does not. There is one for my phone that I really wish to use (it has a few features found in Xposed Gravitybox!), and hence my interest in recovering if it triggers a boot-loop. I think I will suggest something along these lines to the dev on the thread. But, I think it will be quicker for me to make my own "boot three times and then uninstall" script. I already have a template that i previously used on another module.IMHBCO, since Magisk is such a powerful tool it is up to the module developers to make sure that it is possible for the user to recover if there are any issues. As an example, my MagiskHide Props Config module can be disabled or have it's settings reset by placing a specific file in the root of the device's internal storage. That way you can always recovery, even if the device can't boot with Magisk installed. Details (if anyone's interested):
https://github.com/Magisk-Modules-R...README.md#device-issues-because-of-the-module
I have only gone into safe mode on purpose once, to see what its about. And after all the config I lost, i have only accidentally done so since. But I have never accidentally done so using button combinations, and I have gone through all sorts of button combinations (accidentally). I just rebooted my current device, but backed out as i didn't want to loose my current config. I guess if I do get in a boot-loop, it will be worth a possible look. Maybe a question on my device specific thread/forum.Usually it is something along the lines of holding the power button until the OEM splash screen shows and then switching to holding volume down instead until your device boots into Safe Mode.
C:\Mini ADB and Fastboot>fastboot flash recovery twrp-3.4.0-0-titan.img
(bootloader) has-slot:recovery: not found
(bootloader) is-logical:recovery: not found
Sending 'recovery' (8192 KB) OKAY [ 0.290s]
Writing 'recovery' OKAY [ 0.400s]
Finished. Total time: 0.743s
C:\Mini ADB and Fastboot>fastboot flash boot boot.img
(bootloader) has-slot:boot: not found
(bootloader) is-logical:boot: not found
Sending 'boot' (8592 KB) OKAY [ 0.310s]
Writing 'boot' OKAY [ 0.418s]
Has anyone had the issue where install magisk to inactive slot after OTA no longer shows?
@topjohnwu
Some details -It's disabled on newer builds of Magisk, because of issues (I don't have the details, unfortunately).
I wanted to test Magisk 22 on my old Moto G 2014 running Aosp Extended (Android 7.1.2), unhid Magisk 20.4 and went to direct install. That didn´t work, nothing happened when pressing the button.
........snip
EDIT:
I was able to flash a boot.img , now I can boot into the OS (unrooted). Next step will be patching the boot.img and trying to reflash TWRP I think.
This has happened to a number of us w/ this update. Corruption of boot image occurs when no activity occurs when doing direct update or patching image. Fixed easily by fastboot flashing working boot image (I used a previously used Magisk patched one).I wanted to test Magisk 22 on my old Moto G 2014 running Aosp Extended (Android 7.1.2), unhid Magisk 20.4 and went to direct install. That didn´t work, nothing happened when pressing the button.
As I had no boot.img availabe at the moment I changed the ending of the apk to zip, booted into TWRP and tried to flash it.
I got an error message (sorry, I don´t remember the text) and now the device won´t boot anymore and the TWRP recovery seems to be gone too.
I only get to the Fastboot Flash Mode screen to select between
-Normal Powerup (goes back to Fastboot screen)
-Recovery (goes back to Fastboot screen)
-Factory
-Barcodes
-BP Tools
Underneath is the error message
Invalid boot image header
Fastboot Reason: Fall-through fron mot-charger boot mode
USB conncted
Usb is conncted as I tried to flash or boot into TWRP by fastboot, results in the following error:
Code:C:\Mini ADB and Fastboot>fastboot flash recovery twrp-3.4.0-0-titan.img (bootloader) has-slot:recovery: not found (bootloader) is-logical:recovery: not found Sending 'recovery' (8192 KB) OKAY [ 0.290s] Writing 'recovery' OKAY [ 0.400s] Finished. Total time: 0.743s
I´m a bit rusty regarding those errors so any help is appreciated .
As this is my testing device every way would be ok for me, restoring a backup or anything else but as long as I can´t boot or flash into TWRP it seems I´m stuck at the moment.
Edit: Extrcted a boot.img from the AEX firmware I´m running and tried to boot into it, error message:
Finished. Total time: 0.801sCode:C:\Mini ADB and Fastboot>fastboot flash boot boot.img (bootloader) has-slot:boot: not found (bootloader) is-logical:boot: not found Sending 'boot' (8592 KB) OKAY [ 0.310s] Writing 'boot' OKAY [ 0.418s]
and see attached screenshot.
Just booted into OS and am going to flash the boot.img.This has happened to a number of us w/ this update. Corruption of boot image occurs when no activity occurs when doing direct update or patching image. Fixed easily by fastboot flashing working boot image (I used a previously used Magisk patched one).
https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-84544473
Later, I tried patching and direct update from 22001 again, and this time it worked fine... Still a bit baffled by that.
https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-84550967
Not sure why your TWRP seems corrupted, but looks like boot.img flashing may fail only due to some corruption (from screenshot)...
Keep trying! PW
Edit: See you succeeded w/ boot image. Great... Did TWRP come right? PW
Working fine for me on 22001 (identical to public 22.0). Redmi Note 8T, stock ROM.I just updated to Magisk 22.0 and now Netflix install but doesn't open. Am I the only one ?
Redmi note 9S rom Xiaomi.EU Android 10 MIUI 12.0.3
I tried to install older version of Netflix without success.
Safetynet pass
Any idea?
Thank you
This has happened to a number of us w/ this update. Corruption of boot image occurs when no activity occurs when doing direct update or patching image. Fixed easily by fastboot flashing working boot image (I used a previously used Magisk patched one).
https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-84544473
Later, I tried patching and direct update from 22001 again, and this time it worked fine... Still a bit baffled by that.
https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-84550967
Not sure why your TWRP seems corrupted, but looks like boot.img flashing may fail only due to some corruption (from screenshot)...
Keep trying! PW
Edit: See you succeeded w/ boot image. Great...
You haven't got a previously patched / working boot image to flash from same ROM? - easy way to get root back!
Otherwise, try patching image only. If no freeze now direct update should work also, but you may want to patch / flash manually to avoid a repeat. PW
PW
C:\Mini ADB and Fastboot>fastboot flash boot magisk_patched_v2LUN.img
(bootloader) has-slot:boot: not found
(bootloader) is-logical:boot: not found
Sending 'boot' (9072 KB) OKAY [ 0.317s]
Writing 'boot' OKAY [ 0.333s]
Finished. Total time: 0.695s
As ever on GitHub :
Did you have hidden Magisk app when upgrading? See release Notes:Was able to patch a boot.img with Magisk 22.0 (22000)(18) stable and flash it by fastboot.
Still no root (installed (n/a).....
No older patched img available, was the first time I used this method on that device.
Should I try the procedure with 22001 ?
I could downgrade to 21.4 but I´m curious now.......
Code:C:\Mini ADB and Fastboot>fastboot flash boot magisk_patched_v2LUN.img (bootloader) has-slot:boot: not found (bootloader) is-logical:boot: not found Sending 'boot' (9072 KB) OKAY [ 0.317s] Writing 'boot' OKAY [ 0.333s] Finished. Total time: 0.695s
Yes, I unhid it before. I'm the kind of guy who's looking for changelogs everywhere...Did you have hidden Magisk app when upgrading? See release Notes:
https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-84543421 PW
Run magisk -c from adb shell and see what version it reports.I actually updated the app from the app itself before doing my OTA upgrade so it get the version 27 of magisk, I tried installing that one again I had in my downloaded folder. But I also downloaded again the app from github.
I do have root, I've modified the boot file with magisk, so I'm not sure what to do now. I'll try installing an older version. But as you see of the screenshot from app manager, I don't know how the app is installed and removed almost immediately. At first I thought it was caused by an android 14 new security change.
Known issue. A fix has been merged. You can use the Debug app, revert back to 27001 or wait until 27003 is released.I'm now having a problem hiding the TJW Magisk 27002 app ...
I finally was able to resurrect my old Pixel 5. It's running stock A11 and was running TJW Magisk 26004 with no problem.
The Magisk manager was showing that the upgrade to 27002 was ready for installation, and so I did the following:
(1) Unhide Magisk
(2) Update Magisk (27002 was listed)
(3) After Magisk manager restarted, I did Direct Update to 27002, including reboot
(4) Magisk 27002 indeed came up properly after reboot.
(5) Tried to perform Hide The Magisk App.
I entered the arbitrary name for hiding, and I clicked "OK". But the hiding never took place.
I rebooted again, to see if perhaps that's necessary, and I repeated the hiding attempt by adding the same arbitrary name, and I again clicked "OK". But the hiding still didn't take place.
I searched my device, and there is no app nor shortcut with that arbitrary name. I also tried other, different arbitrary names, but after clicking "OK", the hiding still didn't take place for any name I chose.
What am I missing?
Only v27000 is Stable. (and Beta). v27001 and v27002 are Canary or DebugIs the Magisk 27001 APK/zip still available anywhere? I'd like to downgrade, but I can only find 27000 on Github and 27002 via update. I don't want to go to Canary in case the mounting changes break anything, or Debug as I hear the extra logging etc. causes performance issues (correct me if I'm wrong).
Yep, I told you several times that you need Recovery mode (selected) for your Ramdisk=No device; instructions for this are also clear in official Installation Instruction page too, but apparently you have not been trying to follow official instructions, so it's no real surprise you've messed up firmware too... Please take *extra* care when modding as there are simply so many variables and pitfalls!Direct Install with recovery mode checked worked for me. You were right.
After I flashed wrong CSC firmware my baseband and EMEIs disappeared. Now I have updated bootloader and I cant to flash original CSC firmware anymore. Any ideas how to restore baseband, EMEIs or it is too late?
Known problem with 27002, the debug version doesn't have the problem with hiding, read back to see the discussion about itI'm now having a problem hiding the TJW Magisk 27002 app ...
I finally was able to resurrect my old Pixel 5. It's running stock A11 and was running TJW Magisk 26004 with no problem.
The Magisk manager was showing that the upgrade to 27002 was ready for installation, and so I did the following:
(1) Unhide Magisk
(2) Update Magisk (27002 was listed)
(3) After Magisk manager restarted, I did Direct Update to 27002, including reboot
(4) Magisk 27002 indeed came up properly after reboot.
(5) Tried to perform Hide The Magisk App.
I entered the arbitrary name for hiding, and I clicked "OK". But the hiding never took place.
I rebooted again, to see if perhaps that's necessary, and I repeated the hiding attempt by adding the same arbitrary name, and I again clicked "OK". But the hiding still didn't take place.
I searched my device, and there is no app nor shortcut with that arbitrary name. I also tried other, different arbitrary names, but after clicking "OK", the hiding still didn't take place for any name I chose.
What am I missing?
Run magisk -c from adb shell and see what version it reports.I actually updated the app from the app itself before doing my OTA upgrade so it get the version 27 of magisk, I tried installing that one again I had in my downloaded folder. But I also downloaded again the app from github.
I do have root, I've modified the boot file with magisk, so I'm not sure what to do now. I'll try installing an older version. But as you see of the screenshot from app manager, I don't know how the app is installed and removed almost immediately. At first I thought it was caused by an android 14 new security change.