yashsingh1/xdaforums huggingface dataset:
[Magisk] Devilix:
I think you have reason... damn :(

Kernel version: 3.4.0-5812669

And here the last part of the log file:

03-01 21:14:18.013 270 316 I Magisk : * Starting MagiskHide
03-01 21:14:18.013 270 316 I Magisk : hide_utils: Hiding sensitive props
03-01 21:14:18.013 270 316 I Magisk : hide_list: [com.google.android.gms.unstable]
03-01 21:14:18.033 270 316 E Magisk : proc_monitor: Your kernel doesn't support mount namespace :(
03-01 21:14:19.074 270 406 I Magisk : ** late_start service mode running
03-01 21:14:19.074 270 406 I Magisk : * Running service.d scripts
03-01 21:14:19.074 270 406 I Magisk : * Running module service scripts
03-01 21:14:30.609 2132 2132 I Magisk : *** [Universal Hide] Fail: mount namespace is not supported in your kernel
03-01 21:15:04.727 270 5194 E Magisk : sqlite3 open failure: unable to open database file
03-01 21:15:05.618 270 5276 E Magisk : sqlite3 open failure: unable to open database file
03-01 21:15:16.769 5196 5196 W Magisk : su: request rejected (10155->0)
03-01 21:18:53.711 8322 8322 W Magisk : su: request rejected (10155->0)
[Magisk] Didgeridoohan:
I was just about to answer you in the SafetyNet Fix thread that you probably need a newer kernel, when I saw this. :good:

Try a custom ROM, like LineageOS. That's been known to work...

---------- Post added at 22:39 ---------- Previous post was at 22:35 ----------

No worries...

Can you enter the following command (as su) in a terminal emulator:

magiskhide --enable

And then return with the output (even if there is none).
[Magisk] dbr93:
HWEVA:/ # magiskhide --enable

Magisk hide is already enabled

This is the result..
[Magisk] jcmm11:
Magisk Manager|Settings|Superuser|Superuser Access

What's the value? You probably want 'Apps and ADB' there. You can remove ADB access after the session, if you so choose.
[Magisk] martyfender:
Adaway v3.3 is now available with Magisk 15+ support, linked near the end of the Adaway thread:

https://xdaforums.com/showpost.php?p=75729536&postcount=10541

Be sure to backup your lists and uninstall your older version first. Also, go into Android settings, Apps, Adaway and grant it storage permissions, manually. This permission issue will be fixed in the future, v4.0 release.
[Magisk] last_nooby:
Hi guys, please just a simple question: I magisked my Pixel 2 XL! Everything is working great, just I'd like to know if I've/I can close bootloader now or it has to remain opened.

Thank you very much for your answer!!
[Magisk] Badger50:
NO..NO..NO..NO..NO!! Lord have mercy! Just leave it alone bruh! If you lock it...you wipe it! ???
[Magisk] zelendel:
If it won't survive a system wipe then it won't survive a rom flash as all roms wipe system before installing. Just look at the script and you will see where it formats the system partition.

As for being out dated. If it works then it doesn't matter what version it is really. Heck I'm still using a version from 6 months ago.
[Magisk] shakalaca:
yes I want you to install module from Magisk Manager, let it failed and I want the mount status when failed. :)

and running 'losetup' returns 'Permission Denied' ? did you run in root mode ?
[Magisk] DB126:
Yep - know what the title says. We'll just leave it at that.
[Magisk] nagrale.prem:
I'm currently on magisk v16 and I'm using Huwaie Honor 6x on elite rom v7.6 whenever i try to check SafetyNet both ctc profile and basic integrity failed. I try that zip SafetyNet pass for v13+ & v14 but didn't work for me.

I hope you will provide solution for my issue.
[Magisk] Didgeridoohan:
Here's some reading and troubleshooting tips:

https://www.didgeridoohan.com/magisk
[Magisk] ananthakrshnan10:
What's the relation between developer options and magisk CTS verification when the ADB, OEM Unlock are disabled

---------- Post added at 08:25 AM ---------- Previous post was at 08:13 AM ----------

If you have Developer Options enabled in the Settings, turn that off.

Reboot your device and run the CTS check again.

This method works for me.

If you have PlayStore Device certification as UNCERTIFIED; clear data and cache of the playstore app (with Developer Options disabled), check CTS in Magisk and open the playstore app again.
[Magisk] Artim_96:
Cts, Dev Options and OEM unlock are completely unrelated. I have both enabled and passing SN. Only adb might let you fail
[Magisk] ananthakrshnan10:
I have tried all and any methods and only this works for passing the CTS.

I am using Redmi Note 4 with officially unlocked bootloader on official LineageOS and GApps Pico with no Xposed or mods installed.

If possible can you shed some light into this topic? :fingers-crossed:
[Magisk] Artim_96:
Custom ROMs can't pass. Look for universal SafetyNet fix. It might not work anymore, but if you read back a bit there are posts explaining how to pass
[Magisk] Sam Nakamura:
Even it might look similar on first glance it's a huge difference technically, the whole point of addon.d is about not wiping the system partition manually but letting the installer script do it - it does of course make a difference, as only the installer script leaves addon.d functionality in tact, that's why one doesn't need to flash GApps with every update (check https://github.com/opengapps/opengapps/wiki/FAQ 18.) unless you manually wipe /system...
[Magisk] gewe:
Thanks for the tip. I didn't notice the popup because my phone's display was off at that moment.

Still, it is strange that I have to do this. IIRC I did not have to do this before. Does it have to do with the fact that /data is encrypted now, while it wasn't before?

Another question: how do I give adb pull root access?

Thanks, it already had that value.
[Magisk] Didgeridoohan:
The only correlation between Developer options, USB/ADB debugging, OEM unlock and SafetyNet is that some users report that SafetyNet can't pass with them enabled. On most devices they've got nothing to do with each other.

It doesn't matter on any of my Nexus or OnePlus devices, for example... Developer options, USB debugging and OEM unlock all activated and SN pass without issue.
[Magisk] dbr93:
Uninstall magisk,flash original boot.img and reinstall Magisk is the solution for me..
[Magisk] MarkAndroid:
I upgraded to Magisk 16 via Magisk Manager (recommended option) and now no longer recognizes the device unlock PIN. At the first start I can not even use fingerprints and therefore the device is unusable.

How can I do?
[Magisk] Bogdan010:
Delete /data/system/locksettings.db
[Magisk] MarkAndroid:
Perfect, I managed to get into the device, only there's no fingerprint option anymore.

I uninstalled magisk and the ability to manage fingerprints is back.

I verified and in the data / system the locksetting.db file that I had deleted was recreated.

I installed Magisk again and when I try to enter the footprints, the window is closed unexpectedly and disappears again from the settings!

Solution for this too?
[Magisk] zelendel:
Interesting I guess. My rom is set to format both data and system during the rom install. Helps prevent bug reports from people dirty flashing. I only clean flash manually wiping all partitions. So I always have to reflash gapps as well as magisk. Not really a big deal. That is also just for that gaps package.
[Magisk] Bogdan010:
A conflict with system and magisk. Which rom?
[Magisk] MarkAndroid:
This ROM: [LRS v2.5.0 Honor Note 8 B356][-Magisk-Busybox-Adblock-Googleapps-Mods]

https://xdaforums.com/honor-note-8/development/lrs-v1-0-honor-note-8-b350-t3616054
[Magisk] Bogdan010:
Use an earlier version of magisk

PS: I know you want the latest version
[Magisk] Didgeridoohan:
Try enabling the option to "Preserve AVB 2.0/dm-verity" when installing.
[Magisk] dape16:
When I have flashed Magisk or fastboot patched image, my Sony Z4 Tablet is rebooting after the boot animation and red led blinks. Running stock ROM with kernel patched with RootKernel script. Magisk version 12 was the last version that was working.

This is my log from Magisk Manager.

Maybe someone can see what the problem is?

01-03 06:36:52.286 553 553 I Magisk : * Creating /sbin overlay

01-03 06:36:52.286 553 553 E Magisk : mount (null)->/ failed with 1: Operation not permitted

01-03 06:36:52.287 553 553 E Magisk : symlink /sbin/.core/img->/magisk failed with 30: Read-only file system

01-03 06:36:52.287 553 553 I Magisk : * Mounting mirrors

01-03 06:36:52.287 553 553 E Magisk : mount /dev/block/bootdevice/by-name/system->/sbin/.core/mirror/system failed with 1: Operation not permitted

01-03 06:36:52.287 553 553 I Magisk : mount: /sbin/.core/mirror/system

01-03 06:36:52.287 553 553 I Magisk : link: /sbin/.core/mirror/vendor

01-03 06:36:52.288 553 553 E Magisk : mount /data/adb/magisk->/sbin/.core/mirror/bin failed with 1: Operation not permitted

01-03 06:36:52.288 553 553 I Magisk : bind_mount: /sbin/.core/mirror/bin

01-03 06:36:52.288 553 553 I Magisk : * Setting up internal busybox

01-03 06:36:52.289 557 557 E Magisk : execvpe failed with 2: No such file or directory

01-03 06:36:52.289 557 557 I Magisk : Magisk v16.0(1600) daemon started

01-03 06:36:52.293 557 560 I Magisk : ** post-fs mode running

Thanks!
[Magisk] smartymcfly:
Has anyone been able to install magisk successfully on Android that runs within ChromeOS?
[Magisk] oreo27:
Busybox

So I've searched for this for a while now and I don't seem to be getting a concrete answer. Here's what I've gathered so far.

1. Busybox was included some versions ago but is now scoped locally to Magisk to avoid issues.

2. There's a Magisk Module which installs Busybox - https://xdaforums.com/showpost.php?p=64228091&postcount=420

3. There's an app for that - https://play.google.com/store/apps/details?id=stericson.busybox&hl=en

Which one do I go for nowadays? Also, what apps still need busybox anyway?
[Magisk] emaborsa:
Hi guys,

I get an error when trying to install phh-superuser-17-magisk.zip from TWRP. What I have done:

- unlocked bootloader

- flashed TWRP using fastboot

- installed Magisk-v16.0.zip

- trying to install phh-superuser-17-magisk.zip if fails saying:

I:Set page: 'flash_zip'
I:operation_start: 'Flashing'
Installing zip file '/external_sd/phh-superuser-17-magisk.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Update binary zip
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Archive: /external_sd/phh-superuser-17-magisk.zip
creating: META-INF/
creating: META-INF/com/
creating: META-INF/com/google/
creating: META-INF/com/google/android/
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
creating: common/
inflating: common/file_contexts_image
inflating: common/module.prop
inflating: common/sepolicy_patch.sh
inflating: common/service.sh
inflating: su-arm
inflating: su-x86
********************************
Phh's Superuser (Magisk Version)
********************************
******************************
Powered by Magisk (@topjohnwu)
******************************
- Mounting /system(ro), /data, /cache
! Magisk is not installed!
! Magisk is required for this mod!
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
I:Install took 0 second(s).
Error installing zip file '/external_sd/phh-superuser-17-magisk.zip'
Updating partition details...
I:Data backup size is 1010MB, free: 8360MB.
I:Unable to mount '/usbotg'
I:Actual block device: '', current file system: 'auto'
...done
I:Set page: 'flash_done'
I:operation_end - status=1

I read Magisk is not installed! but it is...

I did the same procedure on a Samsung Galaxy S5 with Android 6.0.1 succesfully.

Now on a Huawei P8 lite 2017 I'm stuck.
[Magisk] Federeymax:
In the update 16.0, the safetynet put : ctsProfile: False basicIntegrity: True

The root is working but what it's "ctsProfile" ?

Thanks for the devolpers for this root, all know is the best [emoji2]
[Magisk] martyfender:
I use yds busybox, which is a twrp flashable .zip and installs as a Magisk module. It is working great for me.

https://xdaforums.com/android/software-hacking/tool-busybox-flashable-archs-t3348543

1.28.1 pre-release:

https://github.com/yashdsaraf/bb-bot/releases

Kernel Aduitor, lspeed, Mixplorer and Apps2sd to name a few apps.
[Magisk] Didgeridoohan:
I recommend [MENTION=4544860]osm0sis[/MENTION] busybox (your second option, install from the Manager Downloads). That guy knows what he's doing... :good:

Personally I haven't needed busybox for a long time. None of my apps require it, or include their own.

Why on earth are you trying to install phh's superuser? That hasn't been needed together with Magisk since v11.0, released over a year ago... Magisk has it's own root, MagiskSU (based on phh's).

https://www.didgeridoohan.com/magisk/MagiskHide#hn_CTS_profile_mismatch_vs_Basic_integrity
[Magisk] emaborsa:
Well, the most guides I found on the web tell to do it.

I had to install Magisk on both phones: Samsung Galaxy S5 with 6.0.1 and a Huawei P8 lite 2017 with 7.0. On the first one I installed it as just described and it works. On the latter I'm not able to systemize any app, and since the only difference is the missing phh module in the magisk manager, i thought it were the problem.

Actually I have AppSystemizer installed and permission granted. I can select the apps to systemize and reboot the device. Checking the apps status they are not systemized....why?
[Magisk] Ja_som:
You should ask this in thread for AppSystemizer, and w/o logs, probably no one will be able to help you.
[Magisk] brackenhill_mob:
For all Pixel C owners, you are a star!!!
[Magisk] Didgeridoohan:
Don't use random guides found on the internet... They're seldom updated and quickly become outdated (and most of them are just around to get ad revenues anyway). The official documentation and forums are pretty much always your best bet.

Like already stated, head over to the module support thread and provide logs and details if you need further help.
[Magisk] emaborsa:
Aftre trying, trying, trying, trying and trying it worked. No idea what I did different. :rolleyes:
[Magisk] i_think_i_am_wrong:
Hi! I've got an HTC 10 running Oreo and am thinking of installing Magisk. Of course, I have my phone encrypted, so the question is: is it ok, if I just flash magisk through TWRP, or should I do smth else to install it?
[Magisk] demonoidmaster:
If you install magisk on any rom, it will survive any rom flash, however IF you nuke /system then no obviously it won't auto reflash itself after which is why if anyone wipes /system they need to flash magisk, if they simply dirtyflash over the current installed rom then you don't need to reflash magisk, Topjohnwu knows what he's doing don't worry lol. Edit: ahh so your rom nukes data & system, that's weird but I'd guess that's roms meant for testing/debug

---------- Post added at 08:56 PM ---------- Previous post was at 08:55 PM ----------

Indeed, this is why using addon.d for stuff is valuable
[Magisk] Zero Soni:
is there any way to install magisk not systemless-ly but direct-ly to system. i dont care if i pass safetynet or not.and waana keep things simple as supersu did
[Magisk] Ja_som:
What's the point of doing it? And AFAIK it is not possible (but I can be wrong).
[Magisk] Didgeridoohan:
I'm also curious... What is it that's not working for you? What are you trying to achieve?

Any systemless mod can also be done directly to /system, of course. You'll just have to do it in another way than using Magisk modules...

And btw, SafetyNet doesn't check for simple modifications of the system partition. Magisk is so much more than just having the ability to pass SafetyNet...
[Magisk] ChingghisKhan:
Google Play Confusion

Hi, I found the following on GooglePlay: https://play.google.com/store/apps/details?id=com.magisk.best

When I install the App, it gives me a link to install Amazon Shopping.

Seems someone has high-jacked your stuff?
[Magisk] MarkAndroid:
I tried to install version 16 from TWRP, but I have the problem that the fingerprint option is no longer shown.

---------- Post added at 12:47 AM ---------- Previous post was at 12:45 AM ----------

I tried to expand the two options but on restart the PIN is not recognized.
[Magisk] mon0theist:
Not sure if anyone else has experienced this but v16.0 breaks Magisk Hide for me, reverted back to v15.3 and it works fine. Manager version doesn't seem to matter, I'm running 15.3/5.6.1

Just reporting in in case the dev wasn't already aware ?
[Magisk] yochananmarqos:
[MENTION=4470081]topjohnwu[/MENTION] I know you're away, however when you have a chance this needs to be reported and taken down.
[Magisk] GeTex:
I already have notified Google about this, it should be removed by Monday
[Magisk] martyfender:
Yes, they even ripped off the Magisk logo.
[Magisk] eliezerjk90:
Yeah but done it so lazily... It's in very low res and you can even notice there's a green line underneath the logo... Shameless developer really...
[Magisk] GeTex:
[MENTION=4470081]topjohnwu[/MENTION] is currently serving military service till early June, as such I may end up sending a notice myself, this isn't cool, it's gonna give him a bad rap
[Magisk] eliezerjk90:
I know he's in military service now. I've also reported the app. Hopefully, the more reports, the faster the response...
[Magisk] GeTex:
I'm gonna take care of this shortly
[Magisk] oreo27:
Also reported the Magisk rip off.
[Magisk] oreo27:
Flashed this via TWRP. Seems to be working okay.
[Magisk] Federeymax:
So... What can I do ? I think it's the update 16.0, because I never have that error before.

Or How can I downgrade magisk ? Reinstall ?

I have the Huawei p8 lite with the rom B896 stock ( Vodafone )
[Magisk] Zero Soni:
No I am not having any problem witk magisk.I am just curious to know if it can directly be applied to system.anyways thanks for help.
[Magisk] idnfrz89:
cant hide root detection

there is some apps still can launched but its should not detecting root. i already using magisk hide but its still detecting root.

here I attach the application name

1. com.gojek.driver.car or gocar driver.apk

2. com.gojek.driver.bike or gojek driver.apk

3. com.grabtaxi.driver2 or grab driver.apk

this app its same as com.ubercab.driver.

I using mi tissot with pass safetynet.
[Magisk] Didgeridoohan:
Since basic integrity passes we know MagiskHide works on your device... So, the question is what changed? Did you have to use something like the SafetyNet Fix module to pass SN before? Have you tried a clean install of v16.0? If you could provide a Magisk debug log, that'd be nice.

Magisk in itself is only systemless... And so is SuperSU really, although you can install to /system if you wish.

But, like I said, any mod done with Magisk can be done directly to /system. The advantage for Magisk in this case is that those mods do not need to be reapplied after updating the device.

https://www.didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps
[Magisk] jenslody:
Do you use "real" gapps or microG, if it is microG, you have to systemize the droidguard-helper to pass cts (I guess since January or so, not sure about the exact date).

I do this with the "App Systemizer (Terminal Emulator)"-module from the magisk repo by [MENTION=7296895]veez21[/MENTION].
[Magisk] der_Kief:
i recently switched to a new device and since then something happend to MagiskManager.

Everything is working so far but MagiskManager always show this changes windows at start of MagiskManager.

And i also try to disable show popup when app request root but at every restart of MagiskManager this setting is active again.

I tried to clear cache of MM and reinstalled MM but everytime same problem.

As long as MM stays in background everything is OK but when MM is closed then problems reappear.

Any ideas ?

Im on Redmi Note 4 (Mido) with LOS 14.1
[Magisk] Didgeridoohan:
Logs?
[Magisk] jenslody:
There is another one: https://play.google.com/store/apps/details?id=com.fbka0aaz.vana5aa7 with even "better" images.

Can anyone please report it to google ?

It seems I can not do it, because I use microG and do not have playstore installed on my device.
[Magisk] der_Kief:
here you are :)

Meanwhile i tried older version of MM ... same problem
[Magisk] ChingghisKhan:
I reported both to Google!

I reported both to Google!
[Magisk] blitzrachmat:
hello,

sorry for my bad english,

i have 2 devices, installed custom ROM Resurrection Remix Nougat both,

Lenovo Vibe K5 Plus and Lenovo Vibe K4 Note,

its has magisk installed too, but had different situation when i check safetynet,

in K5 Plus ctsProfile: True, but in K4 Note it show false,

so, why this could be happened? i know it should be show false i any custom rom, but why in K5 Plus it can show true,

thankyou

----- attached pict magisk from my K5 Plus
[Magisk] der_Kief:
i'm not sure but i think it has to do with the following lines

W/SharedPreferencesImpl( 9451): java.io.FileNotFoundException: /data/user/0/com.topjohnwu.magisk/shared_prefs/com.topjohnwu.magisk_preferences.xml (Permission denied)

W/pool-1-thread-1( 9525): type=1400 audit(0.0:146): avc: denied { rename } for name="com.topjohnwu.magisk_preferences.xml" dev="mmcblk0p49" ino=1664194 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0

there is a line inside com.topjohnwu.magisk_preferences.xml which has correct value

<string name="su_notification">0</string>

but it seems this value isnt readout correctly

i played a little with permissions but no go :(
[Magisk] jenslody:
Did you try to clear data for MagiskManager or uninstall and reinstall it ?
[Magisk] Didgeridoohan:
Weird... Why wouldn't the app have permission to work with its own files?

---------- Post added at 16:14 ---------- Previous post was at 16:11 ----------

Might be that the maintainer for the K5 build is using a certified fingerprint rather than the ROM's.

Check both devices by running this in a terminal emulator (possibly as su) and compare:

getprop ro.build.fingerprint
[Magisk] blitzrachmat:
i dont understand,

im just a basic android user,

can you explain more simple please?

hmm how about if i want make my k4 note cts true like my k5 plus, how to make it?
[Magisk] Didgeridoohan:
For the CTS check to pass, the device need to be recognised as a certified device. This is done with a property called ro.build.fingerprint. Custom ROMs don't have a certified fingerprint, but it's quite easy to replace it with one that is.

Run the command I posted earlier and compare. Check for parts like userdebug and test-keys in the one that fails, and user and release-keys in the one that passes.

Read more here:

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

Of course, I'm just guessing, but it's a likely scenario...
[Magisk] blitzrachmat:
okay, thanks for the explanation,

i will try to read and study in that link first
[Magisk] der_Kief:
yes i have done that

tried to install Magisk 15.3 and previous Manager but exact same behaviour...

Dont understand this ... never had problems with my other devices.

*Update*

for now i block MManager notifications with LOS PrivacyGuard as an temp. solution
[Magisk] jenslody:
Did you check the Manager version in the settings ?

It is really the newest ?

If the MagiskManager was installed as system app for whatever reasons (included in rom, etc.) it can break stuff, like hiding the Manager.

If I where you, I would try to hide the Manager and if the about-tab of it, does not show a random-name instead of "com.topjohnwu.magisk" osmething is badly broken.

If it shows the (random-)name, I would try to reinstall the original Manager and see if that fixes the issue.

If all of that does not work, I suggest to boot into TWRP (if it's available for your device) and delete all occurrences of "com.topjohnwu.magisk*", reboot and install the Manager from the OP of the main-thread.

If you do not delete the "magisk.img", you will not lose your modules.
[Magisk] der_Kief:
[MENTION=8340552]jenslody[/MENTION]

renaming Magisk Manager is working without any problem. Bus as soon as I reinstall original Manager problem reappears.

So is it a problem to use Manager just renamed ?

Any disadvantages ?
[Magisk] martyfender:
I believe when you reinstall it, that unhides it. You have to hide it again.