yashsingh1/xdaforums huggingface dataset:
[Magisk] martyfender:
You didn't list your device, Android version and stock or custom rom. Also, does the Magisk Manager have storage permissions?

Settings, apps, Magisk Manager, permissions, storage, on.
[Magisk] byReqz:
Do i have to format it when later upgrading to stable 17?
[Magisk] Hrodryc:
Im trying to play pokemon go using the repack magisk manager with a random package name, but it creates 2 icons of magisk manager in my drawer, the first is the same magisk but with root and storage permissions disabled so i have to give these, the second crashes magisk and the secomd icon dissapears, i think that features is not working on mine
[Magisk] simcold:
Szymek:

Hello. Can anyone help me? I have zip flash to install via twrp. I want to make this file to magisk zip file. How? I can send zip file. Is only 178KB.

Wysłane z mojego MI 6 przy użyciu Tapatalka
[Magisk] martyfender:
it is unclear what you are asking as your English translation is very poor. I also suggest you provide device info, Android version and rom version, stock vs custom.
[Magisk] Grennith:
Experiencing a similar issue. Randomly packaged magisk stuck on splash screen and original named one will just offer me a restoral
[Magisk] Didgeridoohan:
What kind or crap advice is that!? If you're trolling, don't!

I wouldn't format anything if I were you. Instead I would wait for the next release, since there's been some fixes that might take care of boot issues like you are experiencing.

https://www.didgeridoohan.com/magisk/Magisk#hn_Cant_hide_the_Magisk_Manager

Are you trying to make a flashable zip mod into a Magisk module? If so, start here:

https://github.com/topjohnwu/Magisk/blob/master/docs/modules.md#magisk-module-format

And here's the module template:

https://github.com/topjohnwu/magisk-module-template
[Magisk] Grennith:
LOS15.1 doesn't come with magisk nor did I systemize it >.<

Will try to get a logcat and stuff the next couple days...
[Magisk] aydinbahadir88:
calm down, colleague

I mistyped it should not go to you !!!!!!!!!!
[Magisk] Didgeridoohan:
You didn't direct it at me, no, but I'm directing this at you...

Why would you give an advice that has nothing to do with the issue at hand and only would cause the users you directed it to having to spend a lot of time setting up their devices again? To me it looks like you are simply trying to mess with those users out of some kind of spite... Please correct me if I'm wrong.
[Magisk] joluke:
Note 8

Running Magisk 16.8 by [MENTION=7187684]ianmacd[/MENTION] (latest build) and rom O13P by [MENTION=3931450]dr.ketan[/MENTION] with Kernel with Spectrum support

Here is the magisk log after trying to activate such option:
[Magisk] Iterer:
Hi,

I'm on a Samsung Galaxy Note 3 with an official ROM (N9005XXUGBPB1_N9005PHNGBOJ1_N9005XXUGBOJ1_HOME) with the custom recovery TWRP-3.2.3.

I pass the SafetyNet check but when I flash Magisk v16.7 (or v16 I tried both) with the Masgisk Manager v5.8.3 I can't pass the SafetyNet check I got : " 'CTS Profile match: false, Safetynet basic integrity: false" error.

If someone have a custom Samsung Galaxy Note 3 N9005 ROM (with kernel) that pass the SafetyNet check I would be glad. (French Galaxy Note 3).

Thanks.
[Magisk] paarnoutse:
Below a question about keeping Magisk Manager hided (keep its random package name) during a Magisk reflash immediately after a (full) system update.

Current Magisk Manager version is v5.8.3, but the Magisk stable version zip file (Magisk-v16.0.zip) contains an older Magisk Manager version and will also install that older Magisk Manager version with its STANDARD package name (so NOT hided).

After flashing Magisk 16.0, in my case:

a) Magisk Manager was updated to v5.8.3

b) I hided Magisk Manager v5.8.3 via its Settings (use a random package name).

The normally used steps for a (full) Android system update would be:

1. Unhide Magisk Manager (to prevent two Magisk Manager app versions afterwards)

2. Boot TWRP, and flash the system update, immediately followed by reflashing Magisk-v16.0.zip.

After reboot Magisk Manager will be updated again to v5.8.3, and then it has to be hided again manually (use random package name).

However, the effect will be that just before and after this process there is a period that Magisk Manager is NOT hided (having its standard package name), so as a result some apps may be able to detect that your device is rooted during that period.

Because I want to avoid that risk, I was thinking of the following relative simple bypass:

- Find the Magisk Manager apk: /data/app/

com.[random-name]/base.apk

(Nb. The [randomname] actually in use can easily be found via Titanium Backup / Magisk Manager details)

- Copy that apk as 'magisk.apk' into the '/common' directory within the 'Magisk-v16.0.zip' file (so replacing the existing apk within the zip file)

- Use that updated zip-file for reflashing Magisk after a full system update.

Question:

Would that work?

Anyone already tried that?
[Magisk] joluke:
Quoting myself to let anyone who has the same issue, so that they know how i fixed it:

Create a empty file named: hosts in /system/etc/

Give it permissions: 0644

And BAM! Fixed!

The rom i use was missing the hosts file, thats why the magisk log points to a non existing file/folder when activating said toggle :)

Easy solution :D
[Magisk] Iterer:
Tried with terminal on TWRP :

cd system

mkdir etc

touch hosts

chmod 0644 hosts

I still have safetynet error since my kernel doesn't support mount namespace do you have a kernel for Samsung Galaxy Note 3 N90005 that support it (or a ROM) ? I'm under lolipop 5.0.
[Magisk] yochananmarqos:
Why would a ROM developer remove the default hosts file? :eek:

[MENTION=9385069]Iterer[/MENTION] the /system/etc directory already exists, why are you trying to create it? Did you even look to see if you already have a hosts file?
[Magisk] joluke:
Even though i have a Note 3, i don't use it anymore. Maybe someone else can help you

---------- Post added at 12:20 AM ---------- Previous post was at 12:19 AM ----------

Most likely was a glitch or something since the hosts file is present during the instalation of such rom. Dunno why it got deleted though :silly:
[Magisk] Peteves:
I had the same problem on my Pixel 2.

---------- Post added at 03:45 AM ---------- Previous post was at 03:36 AM ----------

What's Nathan's Build?
[Magisk] nathanchance:
https://nathanchance.me/downloads/magisk
[Magisk] martyfender:
So, essentially, these are the same builds as kantjer's and ianmacd's latest builds?
[Magisk] nathanchance:
Yes.
[Magisk] Han-Droid:
I have a general question about magisk - xposed - device encryption ( I have a oneplus 6 OOS 5.1.11 ):

Is it maybe a good idea to remove all security (pins, face-data, fingerprints) and THEN INSTALL:

magisk

xposed and modules

and AFTER that activate all security back?

I have just a feeling and I am no expert but I am thinking of installing magisk and all other stuff on an encrypted device may cause strange behaviour?

Any thoughts are welcome - thanks! :)
[Magisk] aydinbahadir88:
will it fix the safetynet error?

Have an OP6, OOS 5.1.11 and your kernel
[Magisk] saoudien07:
Hi, is there a way to do complete Nandroid backup in TWRP using stock Samsung Rom.

The root is ok, but when I want to do a Backup in TWRP, "data" is alway 0, so not backuped up.

Meaning the Nandroid backup is useless.

Did somebody know a way to do a backup that is working completly??
[Magisk] Didgeridoohan:
If you mean "Invalid response", no. And that's not actually an issue anyway. Magisk can hide itself just fine regardless.

If you mean that you get ctsProfile and/or basicIntegrity false, that's not something specific to those builds.

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

Sounds like you took a wrong turn somewhere. That's a question better suited for your device's forum...
[Magisk] aydinbahadir88:
root works great without problems

But magisk hide does not work at all

Unfortunately, I have experienced this bitterly when shopping :(
[Magisk] Didgeridoohan:
In that case you have tons of troubleshooting information in the link I provided.
[Magisk] Iterer:
Does someone have a Galaxy Note 3 N9005 ROM that support namespaces ? Or a kernel that support it ?
[Magisk] 22sumit:
After magisk Manager is repackaged with a random package name, how do we find the magisk back again.

I tried reinstalling it but the app opens with a black screen.
[Magisk] landwinwand:
Hi bro

How to fix,magisk manager doesn't start

Give this errors:but all modules and magisk work

Thankz

java.lang.StringIndexOutOfBoundsException length270 index-1 at java.lang.String.charAt(Native Method) at com.topjohnwu.sup

Bye

:)
[Magisk] firasusman:
The file is already there in system/etc/
[Magisk] peterlee928:
https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589/post77399894
[Magisk] jim262:
Google has apparently blocked root. Do we have any news on establishing root with Pie?
[Magisk] nathanchance:
What?

https://twitter.com/topjohnwu/status/1026522815086845952
[Magisk] kroening.s:
Hi,

I have the problem that if I hide the Manager via the repackaging option, the "com.*generated*" apk only opens up once.

When I openend the hidden (random generated) Manager I can use it normal, but after I close it (Task Manager, reboot, etc.) I'm unable to open it up again.

I have to reinstall normal Manager and repack again to use it again (once of course...)

Deleting data of the app didn't changed anything

[Magisk Manager 5.8.3]

Does someone have any idea? :(
[Magisk] jcmm11:
Where are the logs?
[Magisk] kroening.s:
Here:good:
[Magisk] Wesley_NL:
Yeah i readed after reaponse its api right ? Same stuff as pokemon go bots and maps i guess

---------- Post added at 07:21 PM ---------- Previous post was at 07:16 PM ----------

How do i mke a log ? With adb logcat i assume ?
[Magisk] peterlee928:
https://didgeridoohan.com/magisk/MagiskHelp
[Magisk] Luca6969:
After upgrading OxygenOS 5.1.5 for oneplus 5T, magisk manager 5.8.3 and magisk version 16.7 installed, the safetynet control does not work, whereas before it worked. Solutions?
[Magisk] kantjer:
Solutions are "read" or "search"

My guess you won't have to go more than one page back.
[Magisk] aloulou11:
Hi, I have a MediaTek device (MT6750) the honor 6c pro.

Must I use SP flash tool (MediaTek tool) to install Magisk ?
[Magisk] Sam Nakamura:
No, if you have a custom recovery like TWRP you can flash it right away, if not you can patch the boot image via magisk manager (you'll need to extract it first) and flash only the modified / patched boot.img with SPFT...
[Magisk] aloulou11:
Thanks men. I wanna root and install magisk in my device but I don't know if I have to unlock my bootloader. I know it's difficult to unlock it because of Huawei but I heard MediaTek devices' bootloader are already unlocked. Any idea about that ?
[Magisk] peterlee928:
https://www.getdroidtips.com/unlock-bootloader-mediatek-device/
[Magisk] aloulou11:
Yes, I have already visited this site but I can't get the unlock code because of Huawei who now don't give them but I Heard about MediaTek droid tools who can unlock bootloaders and install root what do you advise me so ?
[Magisk] peterlee928:
i recommend that you check out your phone forum for additional info. :good:
[Magisk] gusbalaa:
Maybe someone can tell me what is this ?

As long i can remember never install this module.

Note : Circled.
[Magisk] trentonite:
Having the same issue myself. Latest beta/manager, running LOS 15.1. Tried uninstall script and reinstalling to no avail. Hopefully your logs show something. I can run matlog without root and I'm not in front of a PC to get logs at the moment.
[Magisk] martyfender:
The safetynet check has been fixed in the latest commits and they are available now only in the unofficial builds by kantjer and ianmacd and maybe others.

I suggest you read and search this thread as it has been discussed many times, here and in the beta thread.
[Magisk] PieOfJustice:
Alright still can't get past the G logo on boot. Here is the logcat.

https://drive.google.com/file/d/17MOPFHjpgqzYJQ8QPsPrajejDU_iW8Gj/view?usp=sharing

If I flash a stock boot image it boots but obviously doesn't keep root. Tried the last few versions including the newest one posted here.
[Magisk] Artim_96:
Well, tried to disable them?

Or at least navigate to /sbin/.core/img and see what's inside them. Maybe it's a bug that shows some of Magisks own parts as modules

---------- Post added at 05:25 AM ---------- Previous post was at 05:24 AM ----------

Tried to set keep DM verity and keep force encrypt manually?
[Magisk] PieOfJustice:
I'd have to look up how to keep DM verity and keep force encrypt manually.

EDIT: Looks like I would need a patched boot image which i'm not sure how to get since I can't patch the inside the magisk app. If i'm reading this correctly.

Magisk app can't patch an image as it says "installation failed".
[Magisk] Artim_96:
Well, if Magisk can't even patch your stock boot.img in Manager it's a problem with your device. Check your devices forum for a solution
[Magisk] Wesley_NL:
Probaly oem unlock in develop options
[Magisk] Artim_96:
I just hope he knows he can only flash with unlocked bootloader...
[Magisk] reconman:
Using Magisk 16.0 and Manager 5.8.3.

After updating the app Fate/Grand Order (English), it detects Magisk again and tries to send a mail with error code 61.

Magisk Hide is activated for the app and the package was replaced with a random one.
[Magisk] gusbalaa:
I'm try disable and remove, but still doesn't working.
[Magisk] FMXP:
Can also confirm, Fate/Grand Order (English) can detect Magisk again with latest update. Using 16.0 right now, will try 16.7 and report back.
[Magisk] Didgeridoohan:
It's likely they've started to use some of the other known root detection methods being used. Looking for "Magisk" in the app name, connecting to a remote service, looking for "root"-hinting files and folders on your device, etc. Take a look here:

https://didgeridoohan.com/magisk/MagiskHideHidingRoot
[Magisk] Didgeridoohan:
Some module you installed at one point or another messed up and placed it's files directly in the /sbin/.core/img directory. Navigate there and delete the auto_mount and update files manually.
[Magisk] FMXP:
Just tried 16.7, FGO (English) still detects and quits and tries to send email with error code 61.

Will try to clean out the "hint" files I guess. I know Pokemon Go recently had the same problem.
[Magisk] paolocorpo:
Mi A1 8.1.0

After Aug patch Magisk Manager notifies me to update to Magisk 16.7 (1671)

This is very stranger because:

I have flashed Magisk 16.7

Magisk Manager says that I ahve 16.7 version

If I accept the update, no change ! After the reboot Magisk Manager notify me the same thins
[Magisk] squaresmile:
I believe these are the relevant lines in logcat when F/GO detects Magisk:

08-23 04:01:36.379 W/tegrandorder.en(17185): type=1400 audit(0.0:44935): avc: denied { read } for name="root" dev="rootfs" ino=17953 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0
08-23 04:01:36.379 W/tegrandorder.en(17185): type=1400 audit(0.0:44936): avc: denied { read } for name="timer_list" dev="proc" ino=4026532134 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:proc_timer:s0 tclass=file permissive=0
08-23 04:01:36.399 W/tegrandorder.en(17185): type=1400 audit(0.0:44937): avc: denied { read } for name="interrupts" dev="proc" ino=4026532087 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:proc_interrupts:s0 tclass=file permissive=0
08-23 04:01:37.406 W/tegrandorder.en(17185): type=1400 audit(0.0:45757): avc: denied { getattr } for path="/vendor/bin/cnss-daemon" dev="sdf6" ino=52 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:wcnss_service_exec:s0 tclass=file permissive=0
08-23 04:01:37.406 W/tegrandorder.en(17185): type=1400 audit(0.0:45758): avc: denied { getattr } for path="/vendor/bin/cnss_diag" dev="sdf6" ino=53 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:wcnss_service_exec:s0 tclass=file permissive=0
08-23 04:01:37.406 W/tegrandorder.en(17185): type=1400 audit(0.0:45759): avc: denied { getattr } for path="/vendor/bin/toybox_vendor" dev="sdf6" ino=304 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:vendor_toolbox_exec:s0 tclass=file permissive=0
08-23 04:01:45.979 W/tegrandorder.en(17185): type=1400 audit(0.0:46360): avc: denied { read } for name="sbin" dev="rootfs" ino=18008 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

These logs are from my oneplus 5t with oxygenos 5.1.5 and magisk 16.0 running a custom kernel. I flashed OOS again to return to stock and the app works fine.
[Magisk] gusbalaa:
Thank you.

It's working
[Magisk] byReqz:
Since trying to install 16.7 and reinstalling 16.0, my Root Folder is a bit glitchy. Everything is working and all Files are there, its just showing everything is deleted. Its that way on all apps. Its kinda funny
[Magisk] Nightdavisao:
I can't use Magisk Manager in SM-G532MT, it freezes at Magisk Logo, flashed by Odin
[Magisk] teddy0209:
How did you patched boot to be flashed via odin if you can't use the manager?
[Magisk] Wesley_NL:
i hope i can play pgo again , i mean magisks safetynet pass dont work
[Magisk] teddy0209:
I still can play using 16.7... Check the PoGo thread for things to try...
[Magisk] :
You need to honor the complete version, not only the version before the brackets: 16.7 (1670) was updated to 16.7 (1671). For me (op3t with nlos) the update worked fine, and with 16.7 (1671) installed the update notification has stoped.

Tip: select download zip. The saved file's name contains the complete string. If you don't like manually updating, just tap Install a second time.
[Magisk] xshunin:
I am also affected by the FGO not starting after their version 1.20. I hope the above posted log files can contribute to finding a solution.
[Magisk] Wesley_NL:
It dont work with me and its enabled hide in magisks and i try on 2 devices one is xperia x performance and one galaxy s9+ both stock rom with magisk root one one use the beta witch is samsung and the other final, it used to work fine untill this stuff happend
[Magisk] aerozolic:
Is there a Magisk module that makes triple click to skip back a track with inline remote's middle button work as native function?

A workaround is to install an app from Play Store to intercept button presses but that requires a service to constantly run and the app doesn't work 100%.
[Magisk] DanGLES3:
No,remapping buttons to do such things is beyond the scope of magisk,you would need something like xposed
[Magisk] Einsteindks:
You may want to try first wiping the app's cache, or, I suspect to be more effective, the data. If that still won't work, full app reinstall.
[Magisk] paolocorpo:
Thanks

The suggestion runs well

Inviato dal mio Mi A1 utilizzando Tapatalk
[Magisk] :
Please, try to use the code tag. As normal text your log is barely readable.
[Magisk] GRGC25:
woops, my bad hehe it´s done now! Thanks for letting me know!
[Magisk] :
I guess it's not Magisk related - but who knows, perhaps some strange side effect:

cnss-daemon and cnss_diag need a sepolicy label and some rules to allow those accesses. If you are on a cl9sed source rom, this can be injected via Magisk - if you are on a source build rom the device maintainer should add these to the device specific sepolicy overlay.

I.e. for lineageos-15.1 on op3t it looks like this for cnss-daemon:

oneplus3 / # ls -laZ /system/vendor/bin/cnss-daemon
-rwxr-xr-x 1 root shell u:object_r:wcnss_service_exec:s0 32480 2009-01-01 00:00 /system/vendor/bin/cnss-daemon

ingo@adler /usr/local/src/los15/device/oneplus/oneplus3 $ grep wcnss_service_exec ../../../device/qcom/sepolicy/common/file_contexts/(vendor|system/vendor)/bin/cnss-daemon u:object_r:wcnss_service_exec:s0
/(vendor|system/vendor)/bin/wpa_cli u:object_r:wcnss_service_exec:s0
/(vendor|system/vendor|system)/bin/wcnss_service u:object_r:wcnss_service_exec:s0

ingo@adler /usr/local/src/los15/device/oneplus/oneplus3 $ grep wcnss_service_exec $(find ../../../device/qcom/sepolicy/ -name \*\\.te) ../../../device/qcom/sepolicy/legacy-common/netmgrd.te:allow netmgrd { wcnss_service_exec shell_exec toolbox_exec }:file rx_file_perms;
../../../device/qcom/sepolicy/common/system_app.te:allow system_app wcnss_service_exec:file rx_file_perms;
../../../device/qcom/sepolicy/common/wcnss_service.te:type wcnss_service_exec, exec_type, vendor_file_type, file_type;
../../../device/qcom/sepolicy/common/qti_logkit_app.te:allow qti_logkit_app wcnss_service_exec:file rx_file_perms;
../../../device/qcom/sepolicy/common/ims.te: wcnss_service_exec
../../../device/qcom/sepolicy/common/mmi.te:allow mmi wcnss_service_exec:file rx_file_perms;
../../../device/qcom/sepolicy/common/netmgrd.te:allow netutils_wrapper wcnss_service_exec:file rx_file_perms;
../../../device/qcom/sepolicy/common/netmgrd.te:allow netmgrd { wcnss_service_exec vendor_shell_exec vendor_toolbox_exec }:file rx_file_perms;
[Magisk] Biaviian:
When I try to patch the boot image file I get the message "Target Magisk version doesn't support boot image file patching". I downloaded the latest version.

How can I fix this?
[Magisk] squaresmile:
In case this might be helpful, those logs are from my oneplus 5t with oxygenos 5.1.5 and magisk 16.0 running a custom kernel. I flashed OOS again to return to stock and the app works fine.
[Magisk] Didgeridoohan:
Hm... I had to take a look in the code for this one. You're supposed to get that message of you're trying to patch a boot image with a Magisk version prior to v14.0. :confused:

What's your update channel set to in the Manager settings, and do you have an install log saved that you can share (otherwise, try again and save the log)?
[Magisk] aerozolic:
Ok, thanks.
[Magisk] steven360:
Dayum... How can I tell if the patch is on my system? I'm on EMUI and just flashed a new FULL OTA through hurupdater in twrp.
[Magisk] Tecalote:
It's easy:

If you don't have needs for Root - the patch01 doesn't do anything bad.

And it would come separately with OTA (because in FullOTA-MF Firmware patches for the time of release are already included)

The patch 01 from OTA you can see in Settings /System /About Phone /Build Number

Example: EVA-AL10 8.0.0.528 (c00 Patch01)

But if you want to Root the Phone with Patch01 it's probably not possible..

But not to be confused with the two Xloader.img, which exists in Mate 10 Firmwares.

Using HuRUpdater to flash Firmwares requires for Mate 10 to check with the Tool of [MENTION=2247733]ante0[/MENTION] if Xloader is 01 or 02. Flashing Firmwares from 02 to 01 hardbricks the Phone.

Sorry for OT, thanks
[Magisk] Truely Simple:
[MENTION=4470081]topjohnwu[/MENTION] Please tell me which component(application or something else) of android is used to view the window which opens on clicking on modules, which have information about a particular module.

[ Reason for asking- My device is not opening them, not only on your app but on all apps. Even restoring stock didn't corrected the problem]
[Magisk] Biaviian:
A root checker shows that my phone is properly rooted. However, when I open a root app, it doesn't give me the chance to enable root. Is this a known issue? How can I solve it? I am specifically trying to give root access to Boldbeast Recorder.
[Magisk] Didgeridoohan:
Is it only that app that is giving you issues? If so, it's probably the app that needs to be updated. Contact the developer.
[Magisk] Biaviian:
I tried a few root apps and none of them give me a prompt to provide root access.
[Magisk] Didgeridoohan:
More details needed...

https://www.didgeridoohan.com/magisk/MagiskHelp
[Magisk] tURkOsANsE:
Hello friend, which of the two is the one that forbids you to be root? version 141 or version 141 SP1? They say that where patch1 is OTA that blocks the root, but in the 141 versions, even in the 139 I do not see that put patch1, just put SP1
[Magisk] bigw34:
This morning I was notified to install newer version on my 1st Gen Pixel XL, Magisk 16.0(1600). I did direct install and it went fine, but now my safetynet check says "the response is invalid" when I run it.....?