yashsingh1/xdaforums huggingface dataset:
[Magisk] tribalfs:
I tinkered the init.rc of the stock boot and found errors on the few chown and chmod lines to some cpu governor parameters. I corrected it and recompiled the boot.img. Tested(flashed) it and this fixed the issues: magiskhide settings already sticking even after reboot, magisk boot logs already showing that service.d script is executed. But I still can not see the /storage/emulated/0/bootscript.log output. However after modifying the test script to (added an echo command before "while [ "$(getprop sys.boot_completed)" != 1 ]")

#!/system/bin/sh
echo "boot script executed 1" > /storage/emulated/0/bootscript.log
while [ "$(getprop sys.boot_completed)" != 1 ];
do sleep 2;
done
echo "boot script executed 2" >> /storage/emulated/0/bootscript.log

Now /storage/emulated/0/bootscript.log showed only the "boot script executed 1" line. This means that "while [ "$(getprop sys.boot_completed)" != 1 ]" is not working so I just removed it. Now storage/emulated/0/bootscript.log shows the two echoed lines.

Update:

added

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

but no effect. Executing the above in a terminal works. Why this line not working? :confused:
[Magisk] zgfg:
boot-Magisk_Canary_20401-davinci_v11.0.5.0_QFJEUXM.img here:

https://mega.nz/folder/hllnSIpA#amAG8moMYW_tG8r731Tzgg
[Magisk] Didgeridoohan:
Sounds like you have a troublesome device (don't think you've told us which yet)...

Out of curiosity, what do you get if you run, after the phone's been booted for a while:

getprop | grep boot_completed

And about that last command, you're probably running it too early. It might need a minute or so before you execute that, or the system will have time to overwrite it with the default value.
[Magisk] Nightf0x_007:
Can someone share custom channel url of v20401, want to update to it from v20400
[Magisk] skylinestan:
[/COLOR]

Oh...seems like is not compatible as my phone is nitrogen..but thanks anyway
[Magisk] zgfg:
Ofc, ir must be the boot/ramdisk/recovery image for the same phone and ROM - you asked for referring to my previous post so I thought you do have the same?

You will need to put Custom channel to Canary 20401 and patch yourself from the Canary Magisk Manager (283)
[Magisk] skylinestan:
Yes i have reverted and patch my boot.img back to 20401 canary version.And all works well even the audio module
[Magisk] tribalfs:
It shows sys.boot_completed: [1]

I removed ";" in the while loop and it already executed the lines below it.

while boot_complete in combination with sleep 60 worked for changing the governor..

while boot_complete alone, didn't. Neither sleep 30.

Thank you for your help.

Going to set MagiskHidePropsConf now.
[Magisk] teddy0209:
No need to turn off anything if you're using hidesu or suhide....
[Magisk] soder:
Explain more thank you.

The only experience I got from suhide was chainfire's version to SuperSU, I tried before I found Magisk.

/Söder
[Magisk] Didgeridoohan:
From what I understand, that's a bit of a rushed solution to a function that is intended to be implemented in Magisk Manager eventually. The only difference is going to be that the future release of the manager will handle hidesu and suhide natively.
[Magisk] Donric13:
I used to turn off root for other apps (worx for citrix) witch don't allow root. Does hidesu also support to hide root from other apps than androidpay (this i don't use....)? In the original thread this wasn't really cleared out for me. Maybe i didn't found an answer to this question in this thread (reading back about 10 pages).
[Magisk] CrazyCypher:
It mounts magisk folder, but there is no auto_mount file inside so I could delete it! :( What to do?

I have stock system and boot, but if I restore them it looks like it still mounds bad file.... how can I overcome this? I want to delete all files associated with magisk and supersu, I want to remove all mods, how can I do this over TWRP? I want to have stock system untouched without modifications, so what folders and files do I have to delete?
[Magisk] teddy0209:
With magisk v7, supersu2.78/suhide is now compatible... You need to read for more info.
[Magisk] NoWayIn:
Hi, I need some help. I am on the LGG4, Marshmallow H20i (rooted). I installed the Magisk Manager V2, it asked me to download and install the v7 so I did. It then asked me to restart my phone, after that, my phone keeps booting into TRWP (I have version 2.8.7.1)

How do I get back to my phone? it keeps on booting into TwRP ;\
[Magisk] teddy0209:
You have to test it yourself mate. I only have 1 app to test, pogo...
[Magisk] Rhoban:
Did you actually flash the v7 zip or did you just reboot?
[Magisk] NoWayIn:
After I installed the Magisk Manager and v7, I reboot and it took me to TWRP. However, I fixed my problem by flashing the Magisk Uninstall.

I'll need to update my G4 from H20i to the new version and try to install Magisk from scratch. Does it matter that I am using chainfireSU V2.78 for my rooted G4 if I want to install Magisk?
[Magisk] Rhoban:
You have to be unrooted and no Xposed installed.
[Magisk] HtHNightwolf:
Is this compatible with installing systemless XPosed?
[Magisk] garthybarthy:
Anybody know what CTS profile match false is? I've done clean installs with suhide and phh hides, magisk etc.. but it passes safetynet and response validation but always says CTS profile match false, red background and not green in safetynet checker app.

Any ideas? Can't find much online about the issue.
[Magisk] Turbopuschel:
Answered my own question, works again after flashing the Magisk compatible phh's Superuser .zip from this thread: http://xdaforums.com/apps/magisk/magisk-phh-s-superuser-android-pay-t3435921 in recovery.
[Magisk] Skyrider:
Installed magisk v6 (and module) just fine, upgraded to s7 (and phh supersu module), just fine. Installed the hidensu for pokemon go (test), just fine. Didn't work, so attempted to reinstall v7. Kept getting boot loops. So, used the official uninstaller.

Device booted up again (s7 INT version btw, no edge) went back to magisk manager inside the OS and it said that magisk was fully installed and root was still working? Unable to install any modules, because it says it requires magisk (when I attempt to flash phh supersu).

Why exactly is magisk manager saying that everything is installed with the latest version while I keep getting boot loops when I actually try to flash magisk v6 or 7?

Either way, uninstaller is not properly working. The test hidesu (http://phhusson.free.fr/superuser-r266-hidesu.zip) really screwed up the entire magisk installation. Even the hidesu uninstaller doesn't fix the issue. I'm unable to reinstall magisk without getting a bootloop.
[Magisk] WeirdSoup:
Well how can I change the superuser from phh to supersu(to use the suhide), if I already installed magisk v7? Should I remove entire things and reinstall again? Is it OK to just remove phh and flash the supersu?
[Magisk] habylab:
Right, I can't get SuperSU to work at all.

I installed my latest clean OS, followed by SuperSU beta, Magisk v7, suhide, Xposed v86.6. Xposed and Magisk are installed correctly, but Super SU is not. I go back into recovery to flash again and this time it says "system mode" not "systemless" as before, and it still is not working. What am I doing wrong? Thanks.
[Magisk] Didgeridoohan:
Not quite true anymore. From Magisk v7 it detects if you have systemless SuperSU installed and converts it to a Magisk module. See the official v7 thread for the current info.
[Magisk] CrazyCypher:
Yes, I have probles also! After bad mount I am getting SystemUI errors and I cannot use my phone! I reboot to TWRP to remove everything and restore boot+img and I am still getting the same errors????? HOW CAN THIS BE if I restore everything and removed everything? Something is not working propertly... Even in TWRP I cannot remove folders
[Magisk] devilloki:
can it work?ths.
[Magisk] Immortal0907:
Hi. I have problem on Redmi 7 (onclite), after a day or two none of the apps opens up, I have to restart my phone in order for them to work again. I deleted a few modules I was using but problem remains. Rom I'm using is Xiaomi EU which is pretty much stable rom, so I dont think its rom side problem. Anyone have an idea about what could it be? I tried wiping cache in twrp, but ofc that didnt solve it... So maybe you heard someone having similar issue and maybe there is solution, I just didnt find it yet. Cant provide logs atm.
[Magisk] zgfg:
Tried today the newelly released Magisk 20405 (Changelog: Fix small bug in modules mounting algorithm)

Now V4A installs driver - but after rebooting it says that Status is Abnormal and Not Processing

Once again returned back to 20401, last Magisk that properly supported Viper4Android
[Magisk] hanschke:
anyone a patched android 11 dp 2.1 pixel 4 xl boot image?
[Magisk] Pandemic:
Why suddenly my magisk keep loading ?

Always something with magisk ><"

Edit:

Fixed ;)
[Magisk] ocgw8ost9a:
magisk cannot validate boot.img

I am trying to install Magisk on a Moto G6. Bootloader has been unlocked, TWRP installed, /data formatted, encryption disabled, flashed boot.img from latest Oreo firmware.

When flashing Magisk, it seems to be unable to validate the signature of boot.img. I am missing the "Boot image is signed with AVB 1.0" message from the output. I tried v16, v17, v19.3, and v20.4.

As a result, I bootloop in the bootloader, when trying to boot into system. (Recovery is fine.)

Any suggestions?
[Magisk] amg314:
Try in TWRP flash stock boot.img and then actual magisk.zip (without reboot between these two operations)
[Magisk] Nightf0x_007:
Where can i get 20401 channel url
[Magisk] techstudio:
same here. fresh install of april factory image for pixel 2xl. install magisk in twrp and never boots.
[Magisk] silver12345678:
any solution???
[Magisk] :
Are you sure it's for the same architecture. Check your device with CPU-Z
[Magisk] silver12345678:
with architecture you mean "armeabi-v7a ?. yes, it is. my device is a j1 ace sm-j111m android 5.1.1
[Magisk] Cyanoid:
Sorry for the too basic questions, but I can't seem to find this out on Google!:

1) How do you get Play Store under Magisk? Since I opted for "Magisk" instead of "GAPS" when installing my LineageOS 16, I thought you could use Play Store. But it doesn't come with. Does rooting with Magisk mean you don't have access to Play Store apps?

2) I keep seeing you can check if Magisk passes "SafetyNet" , but though I have the latest ver. of MagiskManager (7.5.1) and Magisk (20.4), the SafetyNet check is simply not there in Adv. Settings!

3) I can't get the Xposed Magisk module to install on my LG G4. (Pie) It fails with "Unsupported Device". The other Xposed modules fail too for whatever reasons (ie. "Magisk is not activated"!). Is this doable on an LG G4?[/SIZE]
[Magisk] 13680201:
Magsik ZIP v2.04

installation faild

!!!

Why?
[Magisk] pndwal:
1) flash OpenGApps.org GApps for your Android version and architecture, or one recommended on OP for your ROM. (Magisk is for root (Superuser), not GApps alternative. But MicroG is.)

2) It won't appear without Google Apps as it's for Google API and pointless without it.

3) I don't use XPosed, but try after installing GApps.

Nb. XPosed will break MagiskHide's ability to pass safety net. But EDXposed latest canary releases can pass. Other recent releases are now failing basicIntegrity due to new Google Safety net checks.

All best, PW
[Magisk] :
2 things come to mind.

1. Format your SDCARD ext4 in TWRP and place zip there.

2. Run magisk in beta (it's in the Magisk settings) wait for the update to beta.

Reboot, then try flashing again.

I haven't seen anything like that on Jon Wu,'s Twitter..

He's suffering from lockdown isolation lol, so maybe try get in touch with him there

Take a look at John Wu (@topjohnwu): https://twitter.com/topjohnwu?s=09

Best of luck.
[Magisk] Didgeridoohan:
[MENTION=9789665]ocgw8ost9a[/MENTION] [MENTION=10738241]silver12345678[/MENTION] [MENTION=7101704]13680201[/MENTION]

It would be much easier to help if you guys provided logs for your installation issues. Take a look here if you need tips and guidance:

https://didgeridoohan.com/magisk/MagiskHelp

There are no update channels for specific Magisk version, only the latest release.

If you really need the update channel (rather than just downloading the zip, see below) you would have to create your own custom json file (here's an example) and update channel URL and pick out the necessary addresses from the Github commit history.

If you only need the zip you can download that as well from the above mentioned Github history.
[Magisk] mrsover:
last canary break sepoicy rules

Hello. On canary build not working aux enable module for onplus 7. sepolicy.rule file not appled... On stable magisk 20.4 module working correctly.

Android 10. Oxygen OS Open Beta 2. Magisk 20405 canary. Module in attachment

View attachment 7T_Aux_Cam_V1.zip
[Magisk] zgfg:
Reported similar problem for V4A (not working with 20404, 20405, but working with Canary 20401)

How do you see that sepolicy.rule was not applied (I suspect it's the same/similar cause for V4A not working)
[Magisk] ocgw8ost9a:
I have added logs.

The sequence of flashing boot.img followed by magisk.zip w/o reboot did not work.
[Magisk] J.Michael:
What was your point about the semicolon? Was it somehow wrong to have it after the right bracket at the end of the "while" statement? Did removing it change the execution flow?

I've read the "mksh" man page, and run this script (terminal window under Android 9, I think "mksh"), with and without the semicolon. I don't see any difference, and I don't think there *should* be any difference.

Have you tried echoing the getprop before and after the loop?
[Magisk] gonzo1963:
The latest stable version

Good afternoon,

Reviewing the download repository, it is not clear to me.

What is the latest stable version?

20.3 or 20.4?

Regards
[Magisk] zgfg:
20.4

It says Latest release.

If you install Magisk Manager apk ( phone does not need to be rooted yet), it will show you latest version and the changelog
[Magisk] Pandemic:
Latest canary v0.4.6.3 of edxposed pass safetynet and is it stable ?
[Magisk] Soumy1234:
It's about as stable as Xposed gets. If you plan to use it, make sure you have a way to recover invade there's a problem like a bootloop. Also, if you get it to work and you have Edxposed Manager installed, enable App List Mode and Pass SafetyNet in settings. You'll probably still fail the SN tests sometimes but it still should pass in reality. Just clear recents and try again.
[Magisk] victornworgu:
Bootloop on Android 10

I'm using an Infinix Note 5 X604 running Android 10. The device is a confirmed A/B device and I had Magisk on same device when it was still on Pie. The problem is after flashing the new firmware (I have the ROM), I grabbed the boot.img patched with Magisk and flashed to the device via fastboot, then I got a bootloop. One interesting thing I found out is that while the original boot image is about 32 MB, the Magisk patched image is just about 15 MB. I patched with the latest stable version. What could be wrong?
[Magisk] Ram.h:
hi , i recently updated from version 16.0 to version 20.4 and i can't find the magisk core folder in any root browser i use ....can anyone help ?
[Magisk] JudgeDread11:
The change in size is normal.

As for what is won't; probably logs are needed.

---------- Post added at 10:58 AM ---------- Previous post was at 10:58 AM ----------

/Data/adb/
[Magisk] victornworgu:
Sorry if my question is so basic. By logs u mean Magisk logs for the patch?
[Magisk] pro.aggro:
after a factory reset and a fresh install my magisk manager is stuck at "checking for update" - i tried stable and beta channel. any ideas?

android 10 - pixel 3 xl crosshatch
[Magisk] mrsover:
build 2406 repair my problem. Sepolicy rules workig again on Android Q. Thanks!

p.s. i just remove stable magisk manager and install canary magisk manager then flash canary build 20406 over stable 20.4. Is correct way ? or i need full remove magisk and install it again with all modules?
[Magisk] martyfender:
Github apparently has problems right now. I can't download anything from there. I am seeing an internal server error.
[Magisk] pro.aggro:
yes. thanks. that's what i figured after searching on github a few moments ago. it takes forever
[Magisk] martyfender:
It appears to be fixed now.
[Magisk] hanschke:
I use Android 11 DP 2.1 and patched the boot.img and flash with adb to get root. I have done a mistake and try to install edxposed canary. I stuck on bootloop and have to flash boot.img to get a working phone.

If I try to flash the patched boot.img from magisk canary again I stuck on bootloop again and do a power of after 10 minutes for waiting. I flash boot.img from stock again and the phone boots.

How can I fix it for my Pixel 4 XL?
[Magisk] zgfg:
It's been discussed many times and it is also in the Guide:

Put an empty file "disable" into the particular subfolder under /data/adb/modules

You need TWRP for that. Otherwise, Factory reset to wipe /data
[Magisk] Didgeridoohan:
Try the adb command, see here:

https://didgeridoohan.com/magisk/Magisk#hn_Disablinguninstalling_modules_manually

If that doesn't work, make a Core Only Mode Magisk patched boot image (or see in the Pixel 4 XL forums if someone had already built one). See the same link for some details on that.
[Magisk] zgfg:
What does Magisk Manager show about the Magisk version installed

Also, can you install some Magisk modules - like the built in Systemless hosts or BusyBox NDK

Only Magisk can install its modules (unless somebody did not stole the code) and Magisk Manager (if you downloaded and installed yourself) will not lie about the Magisk and its version installed

Btw, what about updating Magisk by Direct method - does it also fail or brick the phone
[Magisk] freetushkan:
Good day. As I understand Magisk cannot unpack rockchip boot images (contains ramdisk only, kernel is in separate partition). But osm0sis' AIK scripts can.. Will it be supported in feature? Example of boot image is in attachments.
[Magisk] Anghirrim:
Updating Magisk from within Magisk manager bricks the phone.

I don't own the phone, but will ask the owner to try installing a module.
[Magisk] Anghirrim:
See Magisk Manager screen
[Magisk] zgfg:
Not much info from the screenshot

Inspect in Manager settings if Check for updates is enabled and what is the Update channel - is it really Stable (for Up to date to mean it is really on 20.4)

Also, you could install Magisk Manager Canary, it will show more info (verion of Magisk installed)
[Magisk] pogo-airsupport:
It appears with DP3, SafetyNet is failing by ctsprofile and basicintegrity (like John Wu had stated on twitter the other day with updated google service framework).

Can someone else verify this?
[Magisk] hanschke:
[MENTION=7786725]zgfg[/MENTION]

Thank you for your information I dont find but TWRP is not available at the moment for Pixel 4 XL

[MENTION=4667597]Didgeridoohan[/MENTION]

adb wait-for-device shell magisk --remove-modules I tried but only demon started and nothing happen. Thank you for the link. I try to disable it and hope anyone can do a core for me please because I got a create error.

here is the output:

platform-tools_r30.0.0-windows\platform-tools>adb wait-for-device shell magisk --remove-modules

* daemon not running; starting now at tcp:5037

* daemon started successfully

/system/bin/sh: magisk: inaccessible or not found

[edit2]

after flashing patched boot I have tried it again and got:

adb wait-for-device shell magisk --remove-modules

read (4 != 0) failed with 0: Success

and stuck on booting.
[Magisk] zgfg:
With today's Magisk Canary 20406, Viper4Android aka V4A fully working again - thanks
[Magisk] Didgeridoohan:
As you found, you will have to have Magisk active (patched boot image installed) to run that command. Are you trying this command with the latest Magisk Canary (currently 20406)? I just tested this on one of my devices and the command works fine there. Unfortunately I cannot test on Android 11, so that might be a variable that makes it fail...

Have you made sure that adb is working properly on the device (connect to the device when booted and make sure that all permissions are in order and that you can adb shell to the device)?
[Magisk] hanschke:
[MENTION=4667597]Didgeridoohan[/MENTION]

I try the 20406 and create a new patched image before. USB debuging is enabled and adb with fingerprint from this computer too. Can you tell me in the read failed with 0 is correct?
[Magisk] Didgeridoohan:
If the command worked you wouldn't get any output and the device would just reboot with no modules installed anymore. I do not know why it doesn't work for you...
[Magisk] noddledizzy:
How do you hide root for apps inside workspace in Shelter? And no, hiding Magisk systemwide does nothing for me. I can hide root outside Shelter's workspace fine but the app does not work inside Shelter's workspace
[Magisk] Anghirrim:
Better?
[Magisk] martyfender:
Canary 20407 fixes the problem I had on my Onn 8 Android 9 device when flashing Magisk in TWRP.
[Magisk] zgfg:
IMO, better for you - seems you do have the latest stable Magisk v20.4

Don't know if you tested installing modules...

Your only problem will be updating Magisk, but probably the developer of your exe for PC (flashing via EDL with the locked Bootloader) will take care to provide updates
[Magisk] Anghirrim:
The goal is to be able to do something at least clean for everyone.

Paying the guy 30rmb is OK, its not too much. But without knowing what he does to the phone.... I am less fan.

So in principle, if I find a way to flash this boot.img onto another non rooted Hisense A5, it should work properly, right?

I have seen someone telling that vbmeta and recovery partition must be flashed along boot.img. is it true?
[Magisk] Homeboy76:
New Update: SDK Platform-Tools: r30.0.0
[Magisk] Didgeridoohan:
I checked this with John and it seems like the error is caused by the daemon crashing. Could you try again, to see if it was a one-time thing?
[Magisk] :
Hello guys

I installed magisk today and tried installing terminal debloater module and the mobile got into bootloop .

Actually this isnt first time yesterday also i faced same issue and got the os installed .

After doing so again i tried installing the module and got into bootloop
[Magisk] zgfg:
Please read the posts above from the last day or two how to disable problematic modules
[Magisk] guest4711:
I clean installed current canary (283/20.407) on two devices, both klte (s5), one running Android 9, the other one 10.

On both devices Magisk Manager was unable to hide itself, to display the changelog or to download a module.

After uninstalling Manager and installing an old one (7.4.1-291c718b) MM was able to download modules, display the release notes/changelog and to hide itself, which also updated it again to 283. After that it was not able to do such things again.

On both devices MagiskManager worked well as long as it was a long run installation (updated since 2019/10). But after cleaning everything on the devices (data, cache, system, dalvik) and fresh installing the ROM and Magisk Canary the problems are starting.

It looks like MM is unable to create and access it download directory. /cache/magisk.log does not show anything about the download.

Anybody else having this trouble?
[Magisk] tqwzUX6fn39GZMEzSnDF:
/data has several folders magisk_backup_XXX, all containing boot.im.gz.

Is it safe to delete at least except the youngest one?
[Magisk] ashish1989:
I have a samsung galaxy j5 in which magisk v20.3 is installed, now the update is showing and when I am installing it by recommended method, error is coming

repacking stock image failed

How to install the update now?
[Magisk] InFam0us-1985:
do you have TWRP?

so my question is; i have 20.4 is it worth updating to canary?

[a505fn - android 10 - twrp - magisk 20.4]
[Magisk] ashish1989:
Yes I have twrp v3.3.1 installed and using stock rom
[Magisk] InFam0us-1985:
you can install from there with the zip files ....
[Magisk] GhostZini:
Please help. Currently unlocked with 10.3.2 stock international build NOT rooted. I have installed twrp 3.3.1.79 and when I try to flash Magisk I get this error.....
[Magisk] J.Michael:
Did you unselect Enable Digest verification?