yashsingh1/xdaforums huggingface dataset:
[Magisk] jean019:
PERMISSION DENIED ?

Hi,

I try to replace the media_profiles.xml file in /system/etc folder, using ES explorer.

My xiaomi Redmi note 3 is rooted with Magisk 14 (front 5.4.3), rom NOS 8.0 :

https://xdaforums.com/redmi-note-3/development/rom-nitrogen-os-11-01-2017-t3536211

But I got a "Permission Denied", I don't understand why. Here are the logs :

--------- beginning of main

I( 399: 399) Magisk v14.0(1400) daemon started

I( 399: 408) ** post-fs mode running

--------- beginning of system

I( 399: 426) ** post-fs-data mode running

I( 399: 426) * Mounting mirrors

I( 399: 426) mount: /dev/block/bootdevice/by-name/system -> /dev/magisk/mirror/system

I( 399: 426) link: /dev/magisk/mirror/system/vendor -> /dev/magisk/mirror/vendor

I( 399: 426) bind_mount: /dev/magisk/mirror/bin

I( 399: 426) * Mounting /data/magisk.img

I( 399: 426) * Running post-fs-data.d scripts

I( 399: 426) * Running module post-fs-data scripts

I( 399: 426) * Loading modules

I( 399: 437) * Starting MagiskHide

I( 399: 437) hide_utils: Hiding sensitive props

I( 399: 437) hide_list: [com.google.android.gms.unstable]

I( 399: 437) proc_monitor: init ns=mnt:[4026531840]

I( 399: 639) * Running service.d scripts

I( 399: 639) * Running module service scripts

I( 399: 437) proc_monitor: zygote ns=mnt:[4026546519] zygote64 ns=mnt:[4026546520]

I( 399: 437) proc_monitor: com.google.android.gms.unstable (PID=5366 ns=mnt:[4026546543])

I( 5372: 5372) hide_daemon: Permissive detected, hide the state

I( 5372: 5372) hide_utils: Re-linking /sbin

I( 399: 437) proc_monitor: com.google.android.gms.unstable (PID=6863 ns=mnt:[4026546543])

I( 6871: 6871) hide_daemon: Permissive detected, hide the state

I'm not a specialist, but what may be strange too is that every system file only seem to have a "-rw" global permission, not the classic 3 steps "rw-rw-rw-" ?

Thanks

---------- Post added at 05:07 PM ---------- Previous post was at 04:52 PM ----------

Ok, I just forgot to set ES explorer in "root" mode... :o :o
[Magisk] Didgeridoohan:
SafetyNet passes just fine... Your result I've only seen reported from users with Xposed and the No Device Check module installed.
[Magisk] midterm_2003:
I'm waiting the answer for the same also as I can't get it to work ?

---------- Post added at 09:01 PM ---------- Previous post was at 08:57 PM ----------

No for me ..hope someone can advise here ?
[Magisk] jenslody:
The last time I tried it, it does not whine about root or crashed, but I stopped it at the beginning of the configuration.

Did you hide the Manager from inside its settings ?
[Magisk] midterm_2003:
Yes after install app from play store I select it from Magisk manager so that it can be hidden from root . however the app still detect the root even when I disable the root access completely

Not sure what I'm doing wrong or missing here ?
[Magisk] Timberlake.C:
Honor 8 ,TWRP 3.1.1,EMUI 5.0 ,Android 7.0,logs?
[Magisk] ftn1975:
Although this question is not being asked in the right place......

https://xdaforums.com/apps/magisk/module-secure-flag-patcher-t3673639

https://xdaforums.com/apps/magisk/module-smali-patcher-0-7-t3680053
[Magisk] daddylonglegs:
I set it back to read only after I was done. Is that not good enough?
[Magisk] tag68:
Are you serious? Restore a Nandroid backup of system partition or flash it via fastboot will bring back the previous state.

Guess you are in the process of getting the idea why Magisk works the way it does and why noone recommended your approach. The consequences of your edit I know are:

- You need to redo your change after OTA.

- OTA is supposed to fail.

If that's fine for you, everything should be good for now. In my opinion using a Magisk module or add a line "resetprop ..." in some initd-fs-data thing like it was suggested shouldn't be that complicated to hassle with these disadvantages of modified system.

I'm still searching for a possibility to virtually change the mount command so that it denies remount system rw requests, but behaves the standard way for other partitions. Or how to determine preconditions for OTA like modified partitions without having to try applying an OTA.
[Magisk] ratelutz:
a few days back i accidently wiped my data and had to restore my settings from titanium.

since then it does not work anymore. tan2go FCs on startup
[Magisk] Xenomorphys:
Can someone help me solve this problem?

It's getting worse and I can not find anything to fix this problem ...

Everything is good days ...

And for some days, safetynet does not work anymore ...
[Magisk] Artim_96:
I can't see any problem
[Magisk] Xenomorphys:
The problem is that Magisk refuses the permissions of the apps I've accepted.

I spend my time killing Greenify4Magisk so that it works ...

And it's not that Greenify, it does it on all apps.

I have already reinstalled, reflash, nothing is done ...

A person had started to help me on this subject but since then no more news.

And recently, SafetyNet is false except that it was good before ...

I was under SuperSu and Xposed before, I have all the disintalle and I went under magisk and since then, it's crap ...

Thank you for helping me.
[Magisk] Artim_96:
Well, without logs there is nothing to say. And some blurry screenshots are even less helpful
[Magisk] Xenomorphys:
It's not fuzzy, click on the photos to see them better.

How to provide you the logs?
[Magisk] leaskovski:
It had been working until the last couple of days... well the Barclay card app anyway. It looks like they must be using the same checks as the barclays app now. Speaking of which, I was wondering if it was because of the Magisk Manager app being visible. What happened to the hide manager feature? For some reason it doesn't show as an option in my manager app.

---------- Post added at 12:05 PM ---------- Previous post was at 11:45 AM ----------

For some reason this option doesn't appear in my manager app. Im running 5.4.3
[Magisk] jenslody:
I thought you use Barclays Mobile App. That works if root is hidden With Magiskhide and the Manager is hidden (this functionality might only be present in the beta), but unfortunately, I'm not able to make the Barclaycard app work.
[Magisk] Artim_96:
They are very low quality... Or XDA refuses to load the full quality.

And if course you provide logs by going into the log tab and hit the save button... And upload them off course
[Magisk] Wolfcity:
Your bootimage has been patched by another program like superSU . Extract the stock boot.img out of your rom and flash it. After that you can install magisk again.
[Magisk] Itachisasuke:
I'm seeing identical behavior. [MENTION=713239]cadill[/MENTION] are you seeing a full phone restart or just a soft reboot of the UI.

For me there is repeated soft reboots until I hard reset the phone and then its fine again for awhile as [MENTION=5437072]bggold[/MENTION] has stated.

I am seeing this exception being thrown a lot during the soft boot looping, not sure if its related or not.

[ 12-15 05:51:37.232 1571: 1571 W/StatusBar ]
isKeyguardSecure() called before startKeyguard(), returning false
java.lang.Throwable
at com.android.systemui.statusbar.phone.StatusBar.isKeyguardSecure(StatusBar.java:7551)
at com.android.systemui.statusbar.phone.StatusBar.isCameraAllowedByAdmin(StatusBar.java:5436)
at com.android.systemui.statusbar.phone.KeyguardBottomAreaView$DefaultRightButton.getIcon(KeyguardBottomAreaView.java:856)
at com.android.systemui.statusbar.phone.KeyguardBottomAreaView.updateCameraVisibility(KeyguardBottomAreaView.java:382)
at com.android.systemui.statusbar.phone.KeyguardBottomAreaView.setUserSetupComplete(KeyguardBottomAreaView.java:360)
at com.android.systemui.statusbar.phone.NotificationPanelView.setUserSetupComplete(NotificationPanelView.java:2655)
at com.android.systemui.statusbar.phone.StatusBar$1.onUserSetupChanged(StatusBar.java:524)
at com.android.systemui.statusbar.policy.DeviceProvisionedControllerImpl.addCallback(DeviceProvisionedControllerImpl.java:69)
at com.android.systemui.statusbar.policy.DeviceProvisionedControllerImpl.addCallback(DeviceProvisionedControllerImpl.java:63)
at com.android.systemui.statusbar.phone.StatusBar.makeStatusBarView(StatusBar.java:1252)
at com.android.systemui.statusbar.phone.StatusBar.addStatusBarWindow(StatusBar.java:3664)
at com.android.systemui.statusbar.phone.StatusBar.createAndAddWindows(StatusBar.java:3660)
at com.android.systemui.statusbar.phone.StatusBar.start(StatusBar.java:889)
at com.google.android.systemui.statusbar.phone.StatusBarGoogle.start(StatusBarGoogle.java:56)
at com.android.systemui.SystemBars.createStatusBarFromConfig(SystemBars.java:71)
at com.android.systemui.SystemBars.start(SystemBars.java:42)
at com.android.systemui.SystemUIApplication.startServicesIfNeeded(SystemUIApplication.java:215)
at com.android.systemui.SystemUIApplication.startServicesIfNeeded(SystemUIApplication.java:164)
at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:33)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3339)
at android.app.ActivityThread.-wrap4(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1677)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6494)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
[Magisk] lalitjoshi06:
I am using patched boot img on infinix zero 5 based on mtk6757cd. Patched via 14.5 magisk zip.

Root working perfectly. Safetynet ok.

But module not installing , it say module install reboot but after reboot no module.

Logs attached

Need help
[Magisk] dardack:
Did something change with updating Android with magisk? Past 2 security updates (worked prior), I do the restore stock boot, get to step 2, install Magisk to Slot 2 or w/e it is. When android reboots, it boot loops a few times, than brings me back and says there was a problem. Because stock was restored, no more Magisk. So I go through the update again, it boots fine, than I have to do the TWRP thing again. I'd rather not. Should I wait until it says reboot? Any help would be appreciated, thanks.

---------- Post added at 04:44 PM ---------- Previous post was at 04:05 PM ----------

Works for me. Do you have play store hidden? Not sure if it matters. But my barclaycard app works fine.
[Magisk] otto888:
I can't install any modules on Android 8.1. Using a OnePlus 3T with the NitrogenOS custom ROM. Magisk Manager says Magisk isn't activated, but root/hide work perfectly, and I can see /magisk mounted.

magisk_debug.log

magisk.log
[Magisk] Timberlake.C:
okay I get it thx .If I flash boot.img system will be reset or not? Where can I get boot.img?
[Magisk] Uncertified:
Barclays app

I recently installed Magisk on my Galaxy S7 SM-G930F and I'm having problems running the Barclays app. I installed Magisk v14.0 and it passed safetynet. I did the obvious thing and enabled magisk hide for the app but it wouldn't load. I tried many things including resetting the barclays app, clearing recent apps and even updating to the magisk v14.5 beta but nothing worked. Barclays somehow figures out that the phone is rooted and refuses to run, for a split second it displays some popup with the text "T0017 Not Authorized" and shows the screen where it tells you to either access your account via chrome or to factory reset your phone.

Not once did the superuser ask to approve the app btw

If anyone knows a solution or knows what I might be doing wrong please let me know.

Here's what happens in Magisk's log when I try to open the app:

12-15 19:41:37.371 3100 3207 I Magisk : proc_monitor: com.barclays.android.barclaysmobilebanking (PID=19202 ns=mnt:[4026535786])

12-15 19:41:41.797 3100 3207 I Magisk : proc_monitor: com.barclays.android.barclaysmobilebanking (PID=19262 ns=mnt:[4026535823])
[Magisk] Wolfcity:
You'll get your boot.img out of your rom. When I understood it correctly you are on an MIUI custom rom? Just extract it and you'll find a file called boot.img. You can flash it with twrp or with ADB;

Connect to PC via USB,bring the device in fastboot Mode and

fastboot devices
fastboot flash boot boot.img
fastboot reboot

You have to move your extracted boot.img into the ADB folder on your PC if you're using that way.

No data will be lost. After that you can try again to flash magisk.
[Magisk] Timberlake.C:
actually I'm using official EMUI rom ,so you mean is I need to download a boot image for honor 8 and flash it?

1.Different model can ? My device is L09 ,I can flash L14 boot image?

2.where can I download the rom? Before that my device is auto update to 7.0. I didn't download anything else.
[Magisk] Wolfcity:
I don't know emui roms but if they are in an extractable format you should look into it if there's a boot.img.

You need the boot.img of the rom your device is running.

You should get that on the manufactures website,maybe here: https://emui.huawei.com/en/
[Magisk] Timberlake.C:
okay thx ,I try my best and thanks for teaching!
[Magisk] Wolfcity:
You're welcome. If you have further questions check your devices forum ( https://xdaforums.com/honor-8 )or PM me to keep this thread clean.
[Magisk] kerpert:
Sometimes my Magisk 14.5 loose the app in the su list and I have to set again the permission.

Anyone with Galaxy Nexus succesfully pass the SafetyNet test?
[Magisk] NAMZHD4:
So I don't know if iv missed something but I keep loosing root I'm using magisk beta iv been using note 8 ports ambasadii and renovate ice roms and I seem to loos root on both any help please
[Magisk] ShidqyRR:
Any want know how to uninstall magisk, I uninstall with uninstaller.zip an Get in bootloop, when i uninstall in app is same stuck in bootloop ?

#sorry forbad English ?
[Magisk] Part.0:
could someone give explanation,, so recently i have enabled "hide magisk manager" within manager app itself, and it seems everything ok but after rebooted i find some lines in "logcat" showing like -----beginning of crash (but none apps actually crashed) refers to magisk, so my question is this normal/expected thing? should i be worried about this or not? :logs attached: thanks a lot

magisk: v14.5 (1456), manager v5.4.3

magisk hide+systemless host: was enabled

custom rom oreo 8.1 (no modules)
[Magisk] R8xx:
Can't Flash Magisk

i got error Updater process ended with ERROR: 2 when try install magisk ...

please see the log ... thanks before
[Magisk] alexbk66:
Why is it using battery?
[Magisk] Timberlake.C:
Hi is me again ,I follow the step that yesterday you tech me ,I already flash boot.img ,but then I want to flash magisk 14.0 zip this showing up....
[Magisk] zukers:
I can't run any version of TitaniumBackup, it crash with this error:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java)
at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java)
at o.dg.ˊ(Source:191)
at com.keramidas.TitaniumBackup.MainActivity.onCreate(Source:361)
at android.app.Activity.performCreate(Activity.java)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java)
... 10 more

I use magisk v14 with manager 5.4.3. Do you think this error could cause magisk?
[Magisk] DodoGTA:
Have you tried Magisk v14.0?
[Magisk] lalitjoshi06:
It was not worked i tried it first. Rooted but no safety net not magisk hide works. Not captured log that time, just remember that in logs there was acces denied.

---------- Post added at 05:44 PM ---------- Previous post was at 05:30 PM ----------

t was not worked i tried it first. Rooted but no safety net not magisk hide works. Not captured log that time, just remember that in logs there was acces denied.
[Magisk] tsongming:
I had this same issue when I was using SuperSu and wanted to switch to Magisk.

I resolved the issue :

Full wipe cleaning my device, reinstalling the ROM, Gapps then Magisk.

Issue resolved.
[Magisk] galaxy s4 nutjob:
Magisk manager won't open any ideas 5.4.0
[Magisk] Alxoom33:
Wow! that's a really old phone! Perhaps Magisk Manager 5.4.0 is not compatible with your OS.
[Magisk] ThatFluxNerd:
Okay, so I don't know if it's ROM-sided or Magisk-sided, but I'm trying to get dotOS working with Magisk (latest Magisk beta + latest Magisk Manager, latest official dotOS for Huawei P8 Lite (alice)).

The ROM sometimes reboots randomly with an error "E/Magisk : fork failed with 11: Try again" present in logcat.

Any idea how to fix it? (Also, the ROM is maintained by [MENTION=8173346]XTutorials[/MENTION])
[Magisk] Xostl:
after installing the magic v14.5 (1456) on beta 4 Samsung s8 and rebooting the recovery, the data section falls off

any ideas?
[Magisk] Didgeridoohan:
Relevant logs would be magisk_debug.log (found in /data) or a logcat from when an app is denied superuser access.

Can't remember right now: Have you tried a complete wipe and clean flash of your device?

Looks like a loop mount issue. Usually seen when the device has a bad implementation of f2fs. If that's the case, possible solutions might include formating /data as ext4 or using a custom kernel that can handle f2fs properly.

An installation log might be more useful. From the Manager or recovery.

Also restore your ROM's stock boot image.

If everything's working, it's probably nothing to worry about.

How about uploading the recovery log... And have you tried v14.5 beta?

No idea if that database error has anything to do with Magisk. Just as a FYI: I'm using TiBu just fine with Magisk on several devices...

Clear data for the Manager and then update to v5.4.3.
[Magisk] galaxy s4 nutjob:
[MENTION=4667597]Didgeridoohan[/MENTION] thank you but still not working, I click the icon and nothing happens I've flashed the zip my apps have root but no manager
[Magisk] Didgeridoohan:
Have you uninstalled the Manager and tried installing it again (v5.4.3)? Logs are always useful... A logcat when trying to open the app could be beneficial in your case.
[Magisk] Alxoom33:
did you previusly use another su application? Make sure it is completely removed. Also, use MM 5.4.3 and Magisk 14.5.zip. I had an S4 a long time ago. What is a 5t?
[Magisk] Xenomorphys:
Is this a log?

No, I did not try a FullWipe.

I thought I could solve this problem without having to reset everything.

Edit: I can not download the log from my HTC. I'll do it tomorrow.
[Magisk] gregfrankenstein:
Um, why is disabling superuser access in Magisk Manager not actually disabling anything? Apps can still request and be granted root, regardless of what I set there, which is alarming.
[Magisk] Didgeridoohan:
Logs or it didn't happen...
[Magisk] gregfrankenstein:
Here's a log of me setting superuser to enabled, then disabled again, just to test what actually happens when I set that. And then with it allegedly disabled, opening Termux and successfully requesting root. https://ptpb.pw/3_qa
[Magisk] tsongming:
I agree with Digeridoohan.

You very likely have corrupted files and I have read that it can happen very easily under the F2FS file system. It is possible that a corrupted app that was granted root permission is now causing multiple issues.

Were you previously rooted using SuperSu? Before going to Magisk?

If you are going to do a full wipe and reinstall then maybe consider changing the filesystem format to Ext4.

Speed differences between F2FS and Ext4 will mostly likely not be significant enough to notice.
[Magisk] gregfrankenstein:
No. I've only had this device for a few months and I've only ever rooted it with Magisk.

But dang. I just checked my fstab and I didn't notice /data was f2fs rather than ext4. That's severely annoying.
[Magisk] galaxy s4 nutjob:
Yes I did full unroot with SuperSU app last night, resulted boot image, then flashed 14.0 zip and 4.3.0 mm, it worked fine then when I launched mm today it told me to update so I did not it won't open. One plus 5t
[Magisk] tsongming:
I would definitely bet that you will have no additional issues after wiping and reformatting to ext4.

Just make sure that TWRP stays installed. As long as you can boot into TWRP you should be able to resolve these problems without much hassle, other than the time of setting your phone up again.

Install Magisk last.

---------- Post added at 01:01 AM ---------- Previous post was at 12:59 AM ----------

Did you wipe your device? A dirty install could leave corrupted files in place.
[Magisk] Alxoom33:
Sorry, but I can only give you general advice. I am not familiar with the One+ line. Have a Pixe 2l XL, very different architecture from the 6 (One + 5). Lol!

You are better off going on your device forums on rooting your device with Magisk.
[Magisk] galaxy s4 nutjob:
Thanks for the advice I'll head that way
[Magisk] Shtiff1:
ADT Pulse App 8.0.9 now detects magisk 14.0, manager 5.4.3. App is checked in hide list.

XT1254, 6.0.1, stock rom.
[Magisk] Maverick_TN:
You are right, seems xposed was enabled. I disabled it, rebooted and it passes. I thought it was disabled, but I must have enabled it at some point and forgot about it.
[Magisk] gregfrankenstein:
Thank you, but I honestly ended up switching to the LineageOS addonsu, because a) I'm far too lazy to wipe, reformat, and spend a weekend setting up the entire device from scratch again, and b) ever since Xposed for Nougat, I haven't been taking advantage of Magisk Hide anyway. It was the systemless Xposed so I could still disable and reboot to pass SafetyNet, but it was such a hoop to jump through that I had already uninstalled things like Netflix that check for it.

BUT if I ever encounter a situation where my phone is toast anyway, I'll try reformatting to ext4 and give Magisk another shot.
[Magisk] Timberlake.C:
thx for your helping and teaching;)
[Magisk] tsongming:
Well I don't blame you. Especially If your phone has anywhere near the amount stuff on it that mine does... It takes me 2 days to get everything back to normal.
[Magisk] yochananmarqos:
Um... because you used the app, maybe?
[Magisk] Timberlake.C:
After install Magisk ,can I install Xposed too?
[Magisk] alexbk66:
Sarcastic?

May be I should explain better - if you check the screenshot - Magisk battery usage is at the level between Andorid OS and HSTouch (HomeSeer UI which uses battery because it always keeps connection to the server). And I wasn't using Magisk apart from usual background SU