yashsingh1/xdaforums huggingface dataset:
[Magisk] duanedeee:
How do i install a lower version of magisk if i dont have twrp install? thanks
[Magisk] garylawwd:
Download the zip you want to install and flash in magisk (presuming magisk is already installed)

Or if you have fastboot patch your boot.img and flash with fastboot
[Magisk] greenmns:
my nokia 1 plus is rooted by magisk

when i run magisk in recovery mode and my phone is rooted but sim card is not detected
[Magisk] m.r.alhayek@gmail.com:
Htc hub 5G

I have HTC HUB 5G (the new 5G router) locked for sprint. I'm trying to root by magisk, i extract the boot from OTA but when i modify boot from magisk i got unknown format. Please can anyone help ?
[Magisk] JudgeDread11:
Use a root checker app like rootbeerfresh and see what it says.

If no root then logs will probably be required.
[Magisk] jushuacarlom15.gmail.com:
Installition faild. 20,33 magisk new. How it happen? Intruc me plz.
[Magisk] rodken:
Refer to the how-to guide.
[Magisk] Imotep95:
My brother somehow messed his s7e. Its reporting that storage is full, but internal is literally empty. Im trying to pull data/photos/files, but i can't find this secure_fs nor magisk folder where the data(userdata) is stored. And device reboots every few mimutes, i managed to dd sda18 to .img, but can't extract/open .img on windows nor linux via vm. Any help appriciated!
[Magisk] ktmom:
Magisk modules store data in /data/adb/modules.

Userdata is either /sdcard or /storage/emulated/0

Since I don't use Samsung, maybe they do something different. The Samsung Galaxy S7 Edge Questions & Answers forum might give better information.
[Magisk] Imotep95:
That's the issue, sdcard aka internal is empty, no files on it. Thanks, i'll check in the s7e Q&A.
[Magisk] duanedeee:
i tried to flash a lower version of it in via magisk but when i rebooted it only shows the latest build when i install?

i dont know how to do the 2nd method u said. thanks for helping
[Magisk] garylawwd:
Try extracting the zip of the version you want to downgrade to and manually install the magisk.apk and then try flash
[Magisk] dcarvil:
These pages are very helpful to learn about fastboot.

https://xdaforums.com/pixel-3/how-to/complete-pixel-3-how-to-guide-newbie-t3922269

https://developer.android.com/studio/releases/platform-tools
[Magisk] blumenkasten:
But if you use xposed and modules with it the SafetyNet-Test won't pass otherwise.
[Magisk] Didgeridoohan:
Magisk can't do anything to make SafetyNet pass with Xposed installed.

There are Xposed modules that can fake the result, and if you're using EdXposed you can use it's blacklist. But, nothing of that has anything to do with what you add to the MagiskHide list or Magisk in general...
[Magisk] jcmm11:
Try

alias sudo='su -c "$@"'

(note the single quote following the double quote on the end)

As for the first part, yes you probably need a module. First of all I think simple mount has been removed, and even if not it only replaced existing files, it didn't create new ones.

Current module structure is very easy. Only thing your module needs is the desired file structure. I'd also create a module.prop file, but not sure if that's even required. So

/data/adb/<module name>/module.prop

/data/adb/<module name>/system/etc/system_fonts.xml

Then reboot and you should be good to go.
[Magisk] J.Michael:
I did indeed get my new file by making a module consisting of nothing but the "system" sub-tree. Then my new file had the wrong context. I changed the context in the module sub-tree and it instantly was changed in the apparent "/system/etc" -- I guess I shouldn't have been surprised.

On your suggested alias sudo: Is that to deal with the system where I needed to have quotes around the argument of the "-c" option?

Is it the case that it's safe to just define alias sudo="su -c " for the "su" that comes with Magisk?
[Magisk] duanedeee:
still no good. i cant seem to downgrade it. is this easier if i have twrp?
[Magisk] Philnicolls89:
When rooting and flashing firmware through Odin did you leave the csc slot empty? if you flash the ap file without filling in the csc slot it can shrink the data partition.
[Magisk] jcmm11:
You'll need the $@. You should be fine with

alias sudo='su -c $@'

But you're defining an alias. It's a one time thing (add it to /system/etc/mkshrc) so adding in the double quotes won't hurt anything.
[Magisk] garylawwd:
It would be a lot easier if you had a PC and fastboot. Just patch your stock boot.img with magisk then use the magisk uninstaller to complete remove magisk.

Then flash the patched boot.img with fastboot to your device and that's it
[Magisk] 123omari123:
I do not think it definitely magisk bug, but maybe this problem is connected to magisk, I found this error many apps I installed.

[ERROR] Unable to retrieve local hardware address libnet ( ioctl: Permission denied ).

I tried multiple apps and they all drop the same error.

These apps: Dsploit, Network spoofer and zAnti.

---------- Post added at 01:21 PM ---------- Previous post was at 01:21 PM ----------

I do not think it definitely magisk bug, but maybe this problem is connected to magisk, I found this error many apps I installed.

[ERROR] Unable to retrieve local hardware address libnet ( ioctl: Permission denied ).

I tried multiple apps and they all drop the same error.

These apps: Dsploit, Network spoofer and zAnti.

---------- Post added at 01:22 PM ---------- Previous post was at 01:21 PM ----------

I do not think it definitely magisk bug, but maybe this problem is connected to magisk, I found this error many apps I installed.

[ERROR] Unable to retrieve local hardware address libnet ( ioctl: Permission denied ).

I tried multiple apps and they all drop the same error.

These apps: Dsploit, Network spoofer and zAnti.

---------- Post added at 01:25 PM ---------- Previous post was at 01:22 PM ----------

I do not think it definitely magisk bug, but maybe this problem is connected to magisk, I found this error many apps I installed.

[ERROR] Unable to retrieve local hardware address libnet ( ioctl: Permission denied ).

I tried multiple apps and they all drop the same error.

These apps: Dsploit, Network spoofer and zAnti.
[Magisk] Tom_Scott:
Hi again,

Magisk is well working on my custom ROM "LineageOS 14.1" on my Samsung S4 Active.

I'm thinking about to upgrade the "LineageOS" from 14.1 to 16.0. Does Magisk also working on "LineageOS 16.0" like "14.1"?

Thanks

Tom
[Magisk] martyfender:
I would suggest asking in your device thread if there is one for it.
[Magisk] Alxoom33:
That's pretty old phone I would consider upgrading it. Probably purchase a pixel 2 XL or a one plus seven or eight for a reasonable amount.
[Magisk] dcarvil:
Magisk works fine on my S5 with LineageOS 16, and my Note Pro 12.2 on LineageOS 14.
[Magisk] Alxoom33:
Well Magisk-vce7cb1ee(29306) works great also on my Pixel C running LOS 17.1 (Android 10). But it doesn't work at all on my Pixel 2 XL running stock Google Android R.

But still what you are using are pretty old devices. I think the term is EOL.
[Magisk] DiamondJohn:
Totally agree!

However :o as an FYI, I am running Oreo Havoc-OS (LOS 16 Based) on an S4 - GT-i9506, using Magisk 20.1. I had issues with ViperFX and Magisk 20.3. so reverted back instead of spending too much time getting it to work, though others appear to have sorted it out with a little bit of effort.

But thats all ot...;)
[Magisk] anaschauhan33@gmail.com:
Phone stuck in bootloop after uninstalling magisk through magisk manager

I want to know that if I installed the magisk through patched boot.img without custom recovery than what is the best way to remove(unroot) it.

Is simple booting of stock boot image from fastboot mode remove root?

Previous time when I uninstalled using magisk manager I was stuck at bootloop mode.

Phone- OnePlus 7

Android version - 10.0
[Magisk] wangdaning:
Did you have any modules? If no, then just flashing back stock boot image should remove magisk. If you had modules it gets a bit more tricky, as that could be what is causing the bootloop. At least on the pixel 3 you need root to remove the offending modules.
[Magisk] anaschauhan33@gmail.com:
I want to know that what is the use of systemless host.

If I change host file using systemless host and than remove magisk, will host file revert back to original?
[Magisk] zgfg:
If you just flash stock image you will remove root but Magisk data will remain (data is not removed even by uninstalling MM) - so next time you flash again your patched image (and install MM), you can continue with all your previous modules, rooted apps, etc

That's why is better to use Uninstall from MM (or uninstaller through TWRP if you have a [proper] TWRP - eg, TWRP not supporting encryption of data partition will not do)

But you can also:

- while still in rooted system, manually delete (using MiXPlorer or your preferred root explorer) Magisk files on data

- then flash stock image from Fastboot
[Magisk] Tom_Scott:
Thank you. I'm also using Viper4Android FX. Which kind of issue are you expierienced? [MENTION=5417899]DiamondJohn[/MENTION]

Regards

Tom
[Magisk] wangdaning:
Systemless host is needed for devices that can no longer directly modify the host file, A10 and later. If you remove it your host file will revert back to stock as nothing was actually changed.

Again, if you want to remove magisk then remove all modules first. After fully removed flash stock boot image and magisk will be fully gone. You should not have any bootloops/
[Magisk] HippoMan:
With regard to the above advice: the procedure works fine as long as I set the custom channel link to the exact "20.1 stable.json" URL that is specified. However, if I download that file and copy it to my own web server, and if I supply my own webserver link as the custom channel, Magisk Manager doesn't recognize the link.

What do I need to do in order to get my own webserver's link to this exact file to be recognized as a valid custom channel by Magisk?

The reason I want to do this is so that I can guarantee that Magisk will still work in case the other URL ever changes.

Thank you in advance.

.​
[Magisk] tripLr:
20.3 zip install results in bootloops in R Google build, pixel XL 2

Is there a beta?
[Magisk] dcarvil:
According to this thread, R has not yet been rooted.

https://xdaforums.com/pixel-3/help/android-11-rooted-t4055569
[Magisk] Didgeridoohan:
It's going to take time before 11 is properly supported by Magisk. [MENTION=4470081]topjohnwu[/MENTION] has already looked into it and it'll take a lot of work...

And before that the current release cycle needs to finish with stabilising the current code.

In other words, don't hold your breath waiting for root on Android 11.

Best way to keep track off when it'll happen is to follow [MENTION=4470081]topjohnwu[/MENTION] on Twitter. He usually live reports on exciting work like that.
[Magisk] guest4711:
Yes, it does.
[Magisk] ipdev:
Simply copy the json file to your web server.

Make sure it's accessible and can be displayed using a web browser,

Then add the direct path into MagiskManager as your custom channel.

For example, I just saved the one from the 20.1 link and uploaded it to mine.

https://ip.ipfiles.com/stable201.json

This still points to the official Magisk files on GitHub.

In this case, https://ip.ipfiles.com/stable201.json would be set as the custom channel.

If you are looking to archive the 20.1 stable release as a backup.

You will have to download/copy the Magisk files, then, you would also have to modify the file paths in the json file to match the direct path to your backup copy.

Note to all:

Hope it helps explain a bit.

There are multiple reasons to use a custom channel.

If it is being used as a bandage or work-a-round, please try and help fix the problem you are running away from by reporting it.

Device, Setup, Steps to replicate problem and (if available) log files.

Cheers. :cowboy:
[Magisk] ktmom:
[MENTION=1751428]HippoMan[/MENTION]

[MENTION=7280276]ipdev[/MENTION], I don't know the answer to this, and haven't tested. Do you know if the server must serve the .json via https? If it's served in a localhost as an http, would that cause a failure?

Since Android now resists http pages, I would assume https is required.
[Magisk] Daved+:
Hi

When I try to use some app with MagiskHide it crashes but it runs fine with MagiskHide disabled but of course I can't use all the features it disables because "it's rooted"

02-28 21:41:47.597 5971 5971 F DEBUG : Revision: '12'

02-28 21:41:47.597 5971 5971 F DEBUG : ABI: 'arm64'

02-28 21:41:47.597 5971 5971 F DEBUG : pid: 5772, tid: 5772, name: .bbva.francesgo >>> com.bbva.francesgo <<<

02-28 21:41:47.597 5971 5971 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10

02-28 21:41:47.597 5971 5971 F DEBUG : Cause: null pointer dereference

02-28 21:41:47.597 5971 5971 F DEBUG : x0 0000000000000000 x1 43373fd0af799440 x2 43373fd0af799440 x3 0000000000000011

02-28 21:41:47.597 5971 5971 F DEBUG : x4 00000000000000bc x5 0000000000000000 x6 00ffffffffffffff x7 ffffffffffffffff

02-28 21:41:47.597 5971 5971 F DEBUG : x8 43373fd0af799440 x9 43373fd0af799440 x10 00000000000000bc x11 0000000000000000

02-28 21:41:47.597 5971 5971 F DEBUG : x12 0000000000000006 x13 0000007ffc828af8 x14 0000000000000e44 x15 0000007cb3cd5000

02-28 21:41:47.597 5971 5971 F DEBUG : x16 0000007cb3ccacb8 x17 0000007cb3c688f0 x18 0000000000000020 x19 0000007ffc829150

02-28 21:41:47.597 5971 5971 F DEBUG : x20 0000007c9a27ca00 x21 0000007ffc829788 x22 0000007ca257c000 x23 0000007ffc8290b0

02-28 21:41:47.598 5971 5971 F DEBUG : x24 0000007ca4e3f558 x25 0000000000000040 x26 0000007ffc829150 x27 0000000000000000

02-28 21:41:47.598 5971 5971 F DEBUG : x28 0000000000016000 x29 0000007ffc829d00 x30 0000007ca2565ff4

02-28 21:41:47.598 5971 5971 F DEBUG : sp 0000007ffc828e60 pc 0000007ca2566000 pstate 0000000060000000

02-28 21:41:47.612 5971 5971 F DEBUG :

02-28 21:41:47.612 5971 5971 F DEBUG : backtrace:

02-28 21:41:47.612 5971 5971 F DEBUG : #00 pc 000000000000e000 /data/data/com.bbva.francesgo/app_outdex/libdexprotector.8pl6u4.5772.so

02-28 21:41:47.612 5971 5971 F DEBUG : #01 pc 0000000000003c54 /data/data/com.bbva.francesgo/app_outdex/libdexprotector.8pl6u4.5772.so

02-28 21:41:47.612 5971 5971 F DEBUG : #02 pc 0000000000004e38 /data/data/com.bbva.francesgo/app_outdex/libdexprotector.8pl6u4.5772.so

02-28 21:41:47.612 5971 5971 F DEBUG : #03 pc 000000000000a9f8 /data/data/com.bbva.francesgo/app_outdex/libdexprotector.8pl6u4.5772.so

02-28 21:41:47.612 5971 5971 F DEBUG : #04 pc 0000000000008078 /data/data/com.bbva.francesgo/app_outdex/libdexprotector.8pl6u4.5772.so

02-28 21:41:47.612 5971 5971 F DEBUG : #05 pc 000000000000e124 /data/data/com.bbva.francesgo/app_outdex/libdexprotector.8pl6u4.5772.so

02-28 21:41:47.612 5971 5971 F DEBUG : #06 pc 000000000000e50c /data/data/com.bbva.francesgo/app_outdex/libdexprotector.8pl6u4.5772.so

02-28 21:41:47.612 5971 5971 F DEBUG : #07 pc 00000000002deddc /system/lib64/libart.so (_ZN3art4JDWP9JdwpState17PostLocationEventEPKNS0_13EventLocationEPNS_6mirror6ObjectEiPKNS_6JValueE+1452)

Anything I can do?

Thanks

PS: V20 with Android 8.0, stock rom
[Magisk] ipdev:
Actually it's been awhile since I used a custom channel, normally I used the beta (now canary) channel.

Just checked and using http instead of https seemed to still work for now.

http://ip.ipfiles.com/nook.json

It seemed to work it downloaded Magisk 16.3 (Download only option.)

This was a modified version of Magisk to work with Nook HD+. Once working it was submitted and become officially supported. PR-375

Using a local json file on the device,

file:// doesn't work. (Do not remember if did before.)

Cheers. :cowboy:
[Magisk] RandomPooka:
Have you tried all the tips in the how-to that gets posted in this thread like every 3 comments when someone new comes in and asks how to do exactly what you're asking?

It's in [MENTION=4667597]Didgeridoohan[/MENTION] signature
[Magisk] philip_rhoades:
Ah . . so I need to make sure that info goes into the body of the post . . thanks!
[Magisk] Alxoom33:
No, not yet. John Wu is working on it, though.
[Magisk] Daved+:
I googled and read everything I found before I post, I hate waiting for an answer.

Ìf you mean this:

https://www.didgeridoohan.com/magisk/MagiskHideIssues

Yes, I have read it. I also have read the FAQ.

If I missed something I would appreciate being pointed to, maybe it's in front of my nose and I'm not seeing it MagiskHide works for the other apps.
[Magisk] J.Michael:
What about triple slash? ("file:///storage/whatever")
[Magisk] shazee666:
Using Xiaomi Mi A2 Lite. AOSiP Custom ROM.

I have an unlocked bootlaoder, and without Magisk the Developer Option show this

Which is what it SHOULD BE.

But after I install Magisk 20.3, the option in Developer Settings change to

Why is this so?
[Magisk] Artim_96:
Maybe because magisk is hiding the unlocked bootloader?
[Magisk] shazee666:
Ohh. Alright.

Actually, I am having a problem, and I thought that Magisk might be causing it.
[Magisk] rinlau:
Is there an thread to report apps, which do not work with "Magisk hide" ?
[Magisk] Didgeridoohan:
That's an interesting behaviour and not one I've seen before, I think. Could be that it's using some new method (there are a few methods to detect Magisk that hasn't yet been addressed) or that there's something about your device or setup. I've no idea... Unfortunately I can't test since the app in question isn't available in my region.

There isn't one. You can always post here and someone might help. Have you checked here first though:

https://didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps
[Magisk] RandomPooka:
Well, THAT sucks. Sorry if I sounded like a giant jerk. There's a ton of people who don't check that first.
[Magisk] lieuliau:
Thank you both for helping me. Now after flash stock image, my phone can bypass safetynet :o
[Magisk] HippoMan:
Thanks to both of you.

Never mind what I wrote below. It's incorrect. My problem was a firewall issue. The web browser I tested the access with could get to my custom channel URL through my firewall, but my android device could not. After fixing this, Magisk now can access the custom channel.

PS: Also, it appears that the web server has to deliver the JSON file as text/plain. If it arrives with an application/json Content-type header, Magisk seems to not be able to read it.

Now I see what I did wrong. I forgot this step which [MENTION=7280276]ipdev[/MENTION] outlined:

I'll test that a little later today and report back here.

.​
[Magisk] speckdeckel:
unfortunately doesn't change anything...
[Magisk] mkdante381:
I am on today build Canary version. Canary is in update channel, not Canary debug etc.

After hiding Magisk Manager is installed old apk...but new version is detected (ofc Canary), tap update and is installed Canary magisk apk

Why after tap hide magisk Manager, changing name installed is old apk? Pls fix this. Who check this and not change links to install properly apk?
[Magisk] Vomitblood:
Hello all, I have Magisk Manager 7.5.1 and Magisk 20.3.

I have just factory reset my OnePlus 7T Pro and attempted to root.

-Whenever I boot up my magisk_patched.img for the first time after factory restting, Magisk Manager will show 'Magisk is installed'.

-However, after just a reboot, Magisk Manager will show 'Magisk is NOT installed'.

-Root functions are not working.

-The Google Drive Backup function is also not working. The backup button is just greyed out and labelled 'waiting to backup'.

Info:

-I have successfully rooted this same OnePlus 7T Pro previously.

-This device is on Oxygen OS 10.0.7, the last time it was rooted it was on 10.0.5. (Both are global ROMs).

-I did not unroot it myself, but when updating the Oxygen OS, I was alerted that 'the device will be unrooted'.

-I suspect the boot.img is damaged.

-I tried to install TWRP previously but ended up with a brick. I just flashed the old non-patched boot.img back to fix the brick.

-The Google Drive Backup is still able to restore after the factory reset

Anybody have any idea how to solve the root and backup issues?

Or is there any way that I can totally remove the root resources and start all over again?

Thanks in advance!
[Magisk] HippoMan:
Safest and quickest way to downgrade Magisk, if necessary.

My device is a OnePlus 7 Pro (GM1917) running OOS 10.3.1. I'm currently running Magisk 20.1, because I previously got into boot loops with Magisk 20.2 along with Riru and EdXposed.

I want to try Magisk 20.3 or perhaps some sort of Canary build, but in case I get into another boot loop, what is the quickest and most reliable way to go back to Magisk 20.1?

In that case, should I just boot into TWRP and flash Magisk-20.1.zip?

Thank you in advance.

.​
[Magisk] mewbow1:
Flash Magisk Uninstaller zip and then again flash Magisk 20.1 zip
[Magisk] ipdev:
Good to note this because it is often missed or overlooked.

The third slash / is the start of the direct file path. (/sdcard/NameOfFile.txt)

file:// is a protocol just like http:// or ftp://

When I was testing, I tried a few different ways, with the json file in both the Download folder and root storage.

The json file displayed properly in Google Chrome using all the below.

file:///storage/emulated/0/Download/stable201.json
file:///storage/emulated/0/stable201.json
file:///sdcard/Download/stable201.json
file:///sdcard/stable201.json
file://localhost/storage/emulated/0/Download/stable201.json
file://localhost/sdcard/stable201.json

Cheers. :cowboy:
[Magisk] vijayinvites:
My fastag app from playstore is detecting root. Anyway to hide it from that app? I have already hidden it from the magisk manager settings. Tried in canary build too. Tried changing the magisk manager to a different random package name as well. None is then worked.

Please help

https://play.google.com/store/apps/details?id=com.fastaguser
[Magisk] DiamondJohn:
whenever flashing something, a nandroid is commonly your best option back.
[Magisk] HippoMan:
Thanks to both of you. Yes, I've been considering both of these options.

Does anyone have a sense about which if these would be the most reliable way to restore my 20.1 Magisk version, if needed?

Or is it a case of "six of one, a half-dozen of the other"?

PS: well, this is now a moot point, because I decided to take the plunge, and I successfully upgraded Magisk to 20.3, so no restore of 20.1 is needed.

.​
[Magisk] ultradj83:
Magisk on Galaxy S10+ with Android 10

Hello there.

I'm attempting to install Magisk on S10+ SM-G975F/DS, with Android 10, firmware AP_G975FXXU4BTA8_CL17806689_QB28787933_REV01_user_low_ship_meta_OS10 by following the official guide:

Straight through to point 8 then, on point 9, there's a problem.

I cannot reboot phone directly to recovery to factory reset as it automatically shows a blue Erasing... screen, then boots system:

[YOUTUBE]Bh28W5dCqyw[/YOUTUBE]

Well, I could complete the procedure, but at the end Manager reports Magisk is not installed.

Any suggestions?

Can I install directly on Adroid 10 or do I have to root on Android 9 and then to upgrade to Android 10?

Tks everybody!
[Magisk] guiohm:
Hi and thx for developing Magisk!

Magisk Hide fails with "Hyundai Bluelink Europe" app: https://play.google.com/store/apps/details?id=com.hyundai.bluelink.eu

I'm on a Oneplus X (onyx), tried on LineageOS 17 (android 10) and LineageOS 16 (android 9).

Safetynet passes, Magisk manager repackaged, host file moved.

The app detects the root prior to asking any permission.

It works when I delete Magisk Manager.
[Magisk] scrin378:
Could someone help me please. I install TWRP with recovery ramdisk method, but after that when I try to install magisk my phone boot to bootloader only. need to restore my boot.img to be able to boot to system normally...what I'm doing wrong?? How to install magisk?? Im new to this A/B partitions and im confused totally. I tried with patched boot.img like someone sugested in TWRP thread, but that didnt help, same thing, only boots to BL and i lost TWRP...does magisk need to be installed on diferent slot??

Thanks!