yashsingh1/xdaforums huggingface dataset:
[Magisk] DodoGTA:
Wait, does SafetyNet pass with Xposed module installed and enabled (but without Xposed Installer)? :eek:

If so, then what's your device, ROM and Google Play Services version? And give me some proof with screenshots

Update: SafetyNet doesn't pass with only the Xposed framework installed and active (so that guy's username is really correct :p)
[Magisk] candiesdoodle:
No it doesn't. Works just fine without any warning
[Magisk] :
I have clean flashed the rom. Still problem. Slim 7 unofficial on Redmi 2. Wt88047 with microg
[Magisk] candiesdoodle:
It could be a non magisk related issue since you are on a custom ROM

Maybe props related
[Magisk] Jaymin.0.1910:
Hi everyone,

I want to ask, as Magisk has changed it's mount point in latest beta version, is the below code reliable to get the mount point of Magisk ??

for mount_point in $(cat /proc/mounts | grep /dev/block/loop0 | awk '{print $2}'); do

[[ $mount_point != /system* ]] && break

done

print $mount_point
[Magisk] ykkfive:
i believe the reason why some ppl found their magisk manager keep crashing or couldnt install the magisk manager is due to the codes below, which i manually solved it

in bootstages.c

core_only:
// Install Magisk Manager if exists
if (access(MANAGERAPK, F_OK) == 0) {
while (1) {
sleep(5);
int apk_res = -1, pid;
pid = exec_command(1, &apk_res, pm_setenv,
"app_process",
"/system/bin", "com.android.commands.pm.Pm",
"install", "-r", MANAGERAPK, NULL);
if (pid != -1) {
waitpid(pid, NULL, 0);
fdgets(buf, PATH_MAX, apk_res);
close(apk_res);
// Keep trying until pm is started
if (strstr(buf, "Error:") == NULL)
break;
}
}
unlink(MANAGERAPK);
}

u wont be able to install it coz another installation, which is called by the codes above, is running in the background

rename magisk.apk under /data/magisk/ and reboot, after that it wont try to reinstall the apk continuously becoz the apk is not there anymore and u should be able to install it manually

u may visit https://xdaforums.com/showpost.php?p=74522858&postcount=36 to see what happened to me before

hope this helps
[Magisk] pkgingo:
Having a big problem with magisk since I put it on. I have 14.5 and its saying 14.5 is ready to be

Installed in the manager.

My battery life is also insane. It's plummeted to rock bottom. I checked the logs they are HUGE. The files balloon to gigabytes after minutes and exhaust my free space. The files are too big to attach so I hosted them externally.

I can't copy and paste and need to reboot to do this after the space gets exhausted so I'll post them in the next message.

---------- Post added at 07:28 PM ---------- Previous post was at 07:25 PM ----------

https://bin.jvnv.net/file/KIbmv/magisk_debug.log.zip

https://bin.jvnv.net/file/Wi6RQ/magisk.log.zip
[Magisk] Mejilan:
As a followup to my last post (a few up), the new 14.5 beta hasn't fixed the random reboots. I guess I'll try rolling back to the 14.3 beta again, hope for the best.
[Magisk] Psy0ch:
German Banking App "PushTan" from Sparkasse lets me set a password and then just crashes, no way of using it sadly. Newest Beta (14.5)
[Magisk] DodoGTA:
Logcat?
[Magisk] falseman:
This?
[Magisk] IC_Blood:
Just installed the last version of Magisk Manager and Magisk (v14.5). However SafetyNet check fails and I cannot log in Snapchat anymore! Anyone else having this issue?
[Magisk] jenslody:
Does magiskhide work ?

If not, can you check whether "/sbin/.core/img/.core/hidelist" exists, and if not create it with

touch /sbin/.core/img/.core/hidelist

?

See: https://xdaforums.com/showpost.php?p=74624638&postcount=4466
[Magisk] pkgingo:
For anyone experiencing the log file space exhaustion, downgrade to 14.3. it works. The I still get the socket errors but at least my battery and nand aren't being utterly destroyed.

Moto z2 force here
[Magisk] IC_Blood:
Yes it is! I've been using it with my app that need root access without any issue! However, I'm not able to installe any module, always getting installation error!

I'm on Oreo on a Essential PH-1.
[Magisk] falseman:
true. uninstalled the whole framework. now i can login to sc and also pass safetynet. thnx for the info!
[Magisk] Sagar Sharma01:
I have Magisk v14.0 and Magisk manager v5.4.0 installed.

When i install Magisk manager v5.4.3 it force stops, same with v5.4.1 and 5.4.2.

But v5.4.0. works.

I attached logcat and a sceenshot.
[Magisk] DodoGTA:
Well, you have Xposed framework disabled (so without Xposed Installer being installed, SafetyNet should pass)
[Magisk] Didgeridoohan:
Just update... It's the patch to fix bootloops that a bunch of people are experiencing.

And just to make sure: When you've updated to v14.5(1456), do you still see the same issue?

---------- Post added at 09:22 ---------- Previous post was at 09:21 ----------

Problem with the su database. Some users have experienced this... What happens if you clear data for v5.4.3 or uninstall v5.4.0 before installing the latest?
[Magisk] Wire1122:
P8 lite 2017 Pralx1c432b182 safetynet is ok but not pass 2 options. Magisk manager 5.4.3 magisk 14.5
[Magisk] Psy0ch:
I recorded opening it and it crashing.
[Magisk] Antonito19_:
Hi, i have a Xiaomi Mi A1, with magisk my phone takes more longer to shutdown, the lights of the phisical buttons still on like 5 m or more and then they go off, is this normal?. I tested it with desactivating magisk and this not happens.
[Magisk] jenslody:
Can you try to fetch a logcat while it shuts down ?

Without logs it's hard to see what happens.
[Magisk] pkgingo:
Yeah I've gotten the new 14.5 I didn't realize there was a second revision of it but it still did the exact same thing. I downgraded for now to 14.3. There's still issues with a missing socket / file descriptor in both versions but at least my phone isn't killing itself now.

It's actually difficult to work flashing because my device is so new TWRP isn't fully working with it yet. So if I get into a bad situation im very limited in what I can do. I can't flash downgraded magisk to my A partition yet either.
[Magisk] Sagar Sharma01:
I clear data for v5.4.3 or uninstall v5.4.0 before installing the latest but it still force closes like i said.

Any other solution for this problem ?

I also attached v5.4.0 logcat which is woking in my phone.
[Magisk] Ganbara_Knight:
Please help. How can I get exposed to work on T-Mobile Note3 android 5.0 after installing magisk? I have tried multiple attempts but it does not work, it always bootloops on the bright T-Mobile logo screen. Xposed works on my T-Mobile Note4 android 6.0.

Thank you.
[Magisk] Wire1122:
I fix saftynet check enabling usb debug in development option on p8 lite 2017
[Magisk] DodoGTA:
Do both basicIntegrity and ctsProfile checks fail? If so, then do you have Xposed installed?
[Magisk] marcioafoliveira:
Yes, both fails. I don't have Xposed installed, I uninstalled it today :)
[Magisk] DodoGTA:
Have you also uninstalled all of the Xposed modules?
[Magisk] marcioafoliveira:
Yes, I just had XTouchWiz which I uninstalled before :/
[Magisk] DodoGTA:
Do you also have GLTools or any audio mods installed?
[Magisk] marcioafoliveira:
No.

Neither any modules on magisk :/
[Magisk] jgcaap:
Hello. I am having issues while having root. I noticed some modules are not being loaded causing wifi to break. Do you happen to know any work around? Thanks.
[Magisk] Didgeridoohan:
Details and logs, please.

What modules aren't working, upload the Magisk log or better yet the magisk_debug.log, etc...
[Magisk] jgcaap:
Just understood that Magisk has also modules.

I will get a log but I was speaking of kernel modules. From what I understood in the Oneplus 5 comments it is a general issue while using magisk . This is the reason why I asked directly if there was a work around.

Thanks
[Magisk] jgcaap:
This only happens when magisk is flashed. Could be something related to the su? Or something else?

Also you can find that others are having also this issue: https://xdaforums.com/showpost.php?p=74593216&postcount=25
[Magisk] Black-FR:
You know, that a screenshot isn't a log?

If I would be a dev, I wouldn't bother to debug anything, if I get just a screenshot instead of the log file which was asked for...
[Magisk] jgcaap:
The information is there, I took a print since it is more simple. I do not find relevant the rest of the log but if it is still needed I can provide. For some reason when magisk is flashed creates this execute format error.
[Magisk] Didgeridoohan:
I've honestly never heard of that before (and I read pretty much everything in the Magisk forum). From a quick look at the link you provided it sounds like an incompatibility with blu_spark...
[Magisk] jgcaap:
Yes... I have to admit that now I discovered that by changing the wifi drivers solved the issue of incompatibility. Which means... he might be using a wrong version.
[Magisk] Exelios:
Magisk fails badly on Treble AOSP roms, see attached TWRP logs.

We are developing the first Treble rom here > https://xdaforums.com/project-trebl...mental-phh-treble-t3709659/page5#post74642934
[Magisk] Didgeridoohan:
From the looks of that log you're trying to install Magisk and SuperSU together. I know it's been done before, but they're not compatible with each other...
[Magisk] Exelios:
Not together, but after the first fails, I test the other, neither work.

Trying just one and rebooting before trying other one makes no difference

Nothing personal with Magisk, nothing seems to be compatible with Treble roms, not Open Gapps or any root zip nor anything.
[Magisk] Didgeridoohan:
Ok... So it's simply a case of the installer not being able to detect the boot image (it sounded much worse from your first post :p).

Have you tried v14.5 beta?
[Magisk] Exelios:
Didn't try to the beta yet, can try it now

I got SuperSU working by changing boot_a to ramdisk_a as partitions changed
[Magisk] unni.narayan.11:
Unable to install modules. Using 14.5(beta). Log says:

- Mounting /data/magisk_merge.img to /dev/magisk_merge

Cannot mount image!

! /data/magisk_merge.img mount failed...

Failed!

! Installation failed
[Magisk] Exelios:
Beta fails too

14.5 log
[Magisk] Undead_Son:
Hello. Uninstalled few system apps with Titanium Backup, scrolled to the bottom of the list and saw magisk.db. No idea how it got deleted. I tried to open Magisk Manager, but it crashed. Here is the crash log

java.lang.RuntimeException: Unable to create application com.topjohnwu.magisk.MagiskManager: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database

at android.app.ActivityThread.handleBindApplication(ActivityThread.java)

at android.app.ActivityThread.access$1700(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.app.ContextImpl.openOrCreateDatabase(ContextImpl.java)

at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java)

at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java)

at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java)

at com.topjohnwu.magisk.database.SuDatabaseHelper.<init>(Unknown Source)

at com.topjohnwu.magisk.MagiskManager.onCreate(Unknown Source)

at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)

... 9 more

Is there a way to fix this without reinstalling Magisk?
[Magisk] an0therus3r:
I'm having issues with testing safety net within magisk manager 5.4.3(64)

When opening Magisk Manager crashes,it also doesn't display items underneath safety net check section.
[Magisk] MasterFee7:
So after not finding a link to any issue tracker, I'm going to ask for help here.

Couple of days ago I flashed the latest beta release for Magisk (14.5) and installed the latest Magisk Manager as well (5.4.3). Then I tried the new repacking feature of Magisk Manager and everything worked fine. Yesterday I reverted back to stable release of Magisk (14.0) and with the flash the Magisk Manager (5.4.0) was installed. The app asked for an update but after the update the app instantly exists after launching. My guess is that it's caused by the repacking... Everything works fine with 5.4.0 but not with the new version. Any way to revert what I've done to the manager besides flashing the beta build and reverting the repacking? Where do I put this issue?
[Magisk] Pkt_Lnt:
Here, with logs requested in the release thread, beta thread and the troubleshooting thread.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589

https://xdaforums.com/apps/magisk/guide-magisk-troubleshooting-t3641417

Please do not post them here as text. Zipped files or links to cloud storage are fine, best is links to pastes on a site like pastebin.com or hastebin.com. Thank you! :good:
[Magisk] bandit250:
Hi all quick one, I have a Chinese tablet Yuntab H8 I have TWRP recovery and magisk v14.5 installed but still failing safetynet any ideas why it is there logs I can check? Any help would be great thanks
[Magisk] Pkt_Lnt:
Try reading the post directly above yours.................................. ;)
[Magisk] franklyc:
Same thing happens for me. Magisk v14.0 installed v5.4.3 crashes when checking safetynet.
[Magisk] bandit250:
Hi did not see that please see attached, i can see some fails on the log but not sure what they are.
[Magisk] Pkt_Lnt:
All there are Errors, but I do not know enough of the android system to know why or how to resolve them. There are others here who will know more, just wait for them to get online later.

11-26 20:38:43.547 288 288 E Netdiag : network_dignose_daemon doing
11-26 20:38:43.547 288 288 E Netdiag : commandlistening sockname=netdiag
11-26 20:38:43.547 288 288 E Netdiag : commandlistening::startlistening() ret:0,sock_listen_id:5
11-26 20:38:43.551 288 316 E Netdiag : commandlistening threadStart doing
11-26 20:38:43.551 288 316 E Netdiag : commandlistening runListener doing
11-26 20:38:43.708 280 280 E AEE/RTT_LIB: Rtt command connect 64_socket fail: Connection refused
11-26 20:38:43.708 280 280 E AEE/RTT_LIB: aee_exception_running_64: command failed
11-26 20:38:43.708 280 280 E AEE/AED : init_aed_setting: Error: Can't get running exception
11-26 20:38:43.709 280 280 E AEE/LIBAEE: Can't remove file /sdcard/mtklog/aee_exp/temp: No such file or directory
11-26 20:38:43.712 299 299 E NVRAM : Haman, serviceManager work well
11-26 20:38:43.743 291 291 E DmAgent : Create RECOVERY_FOLDER error: [17]
11-26 20:38:43.801 288 316 E Netdiag : commandlistening unlock exit
[Magisk] DR64XDA:
Hi MM developers,

On my Android 6.0.1 device, when trying to patch an offline image in 5.4.3, after selecting the file the app goes back to main and nothing happens. It was working in 5.4.1.

Always selected the same (valid stock one) IMG file located in a external SD card subfolder, got no errors in /data/magisk_debug.log and logcat neither.

Directly patching the boot partition works fine.

Anyone experienced the same?

Also, as mentioned few days ago it would be great to avoid duplicated file downloads (ieg Magisk-Vxxx.zip as well as repo modules) when already in place (MD5 check?). I pulled a code request on GitHub repository with a predisposed routine, but Web service should expose an added field to the app.

Would be great to have a feedback.

Many thanks.
[Magisk] Orochi77:
Does magisk do anything with dalvik cache and cache partition?

I am on S5 and Magisk 14. Tried to clear dalvik cache partition through recovery because phone was getting laggy. Ended up being stuck at boot.
[Magisk] Didgeridoohan:
Hm. Interesting. Did the repackaged Manager get uninstalled when you did the update, or do you now have two Managers? And like already stated, logs would be nice. A logcat from the crash, as an example...

When selecting the boot image file it's supposed to go back to the main window, download the Magisk zip correlating to your set update channel and then patch the image. Sounds like it's not downloading the zip for you.
[Magisk] DR64XDA:
Yes it is what is looks like. Strangely, if I select download only then the file is downloaded. Same works when I patch directly the boot drive - zip is downloaded and everything goes. Just retried both these options to be sure before writing back this one. PS storage permission is granted to the app
[Magisk] Didgeridoohan:
And I just tested on two different devices, on Manager v5.4.3, with no issues. I've got no idea...
[Magisk] KevMetal:
I have two problems . 14.5 gives bootloop and furthermore kills my recovery ....only a stock rom install can fix it

Magisk 14.3 SuperSU or root works but I can't install any modules ....so no systemless Xposed

Here is a log from magisk 14.3

My device

Moto e4 mediatek mt6737m SKU xt1762

Magisk 14.3 manager 5.4.3

Android 7.1.1

July 2017 security patches

Stock Rom build NMA26.42-75

Xposed 88.2 ARM sdk 25 installer 3.1.4

Screenshot + log attached

issue: no modules can install

error: !data/magisk_merge.image mount failed

Installing .zip in recovery does not work !

*If this is not the correct place for bug report or assistance please move to correct thread :good:

PLEASE NOTE: I CHANGED THE .LOG EXTENSION TO .TXT IF NOT XDA LABS REFUSED TO LET ME UPLOAD IT SO JUST CHANGE IT BACK THANKS.
[Magisk] jacklul:
java.util.ConcurrentModificationException
at java.util.LinkedList$LinkIterator.next(LinkedList.java:124)
at java.util.LinkedList.removeOneOccurrence(LinkedList.java:835)
at java.util.LinkedList.removeFirstOccurrenceImpl(LinkedList.java:830)
at java.util.LinkedList.remove(LinkedList.java:665)
at com.topjohnwu.magisk.asyncs.UpdateRepos.lambda$loadJSON$0$UpdateRepos(Unknown Source)
at com.topjohnwu.magisk.asyncs.UpdateRepos$$Lambda$0.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)

Very often while launching magisk manager / in modules section.
[Magisk] JTruj1ll0923:
Hey everyone! So just tonight I have been having problems with Magisk. At first all my apps said they were granted root access but the toast notifications said otherwise. So I tried clearing data, reinstalling magisk manager, etc. Finally once I uninstalled and then reinstalled it magisk manager will not open, it just instantly crashes. It opens on 5.4.0 but nothing higher. Does anyone have any suggestions? And if logs will help which ones should I post? Also I have a ZTE Axon 7 on PureFusion OS rom.
[Magisk] Aldericdevir:
can't install magisk with patching Boot.img

Hello,

I tried the beta (14.5) and yes, now i'm in french when i boot ... But i still have an error message saying

"Verification failed

Can not restart your device. The integrity check failed. You must reset the default settings of your device. this will erase all your data."

Any other idea to help me ?

I would like avoid installing custom recovery (TWRP) to avoid eraze all my data, thats why i choose to install magisk by patching the boot.img.
[Magisk] Didgeridoohan:
It sound like dm-verity gets triggered. You didn't enable the dm-verity flag did you?

Since you're posting about v14.0 (stable version of Magisk), it's better to stay out of the beta thread. It might of course be a good idea to test the beta though. Might work...

Are you positive that you haven't done anything to enable the forceencrypt flag when installing Magisk?
[Magisk] Aldericdevir:
No, the flag is not enable (see picture below).

Did i must enable it ?
[Magisk] smartandroidtech:
Hi, i have a Nexus 6P based on 7.1.1 with Magisk root v14.0 with Magisk manager v14.0.

With the terminal emulator app i'm trying to execute this commands:

su
pm uninstall org.telegram.messenger

But i got an error:

Android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died

etc..

But if i connect my Nexus 6P to my pc, and via ADB i try to push this command

adb shell pm uninstall org.telegram.messenger

It works. I don't know if it's related to Magisk, but i tried to build an app made by that execute "pm uninstall org.telegram.messenger" after "su" to get root shell but nothing, i got only an error on my android monitor:

"E/Magisk: Unknow id: pm"

and obviously telegram has this package name and it is installed as user app. Someone can help me ?
[Magisk] bandit250:
Was anyone able to assist?
[Magisk] JTruj1ll0923:
Hey I just got some crashes filled in with a log. It seems like this might be the reason mine keeps crashing but I have no idea how to fix it.
[Magisk] jenslody:
Can you try to remove the "su.db" mentioned in the logs, probably the whole folder ?

You might need to do it from TWRP.
[Magisk] khalisz:
Hello :)

I'm running on Magisk 14.

I've done an hard reset of my OP5.

Since I've reinstalled Magisk, I don't see anymore my favorites module, Sony framework, Sony Apps Enabler, Google Framework.

Why ?

Thank you.
[Magisk] JTruj1ll0923:
Yes I can do that, but where would it be located?

---------- Post added at 08:02 PM ---------- Previous post was at 07:58 PM ----------

Actually I think I found it, /data/data/com.topjohnwu.magisk/databases is that right?
[Magisk] jenslody:
In TWRP you can find all possible places with

find / -name "su.db"

in the terminal.
[Magisk] Mejilan:
Heyo,

Some may recall that I was posting a few days ago about random reboots ever since upgrading from 14.3 beta to 14.5 beta, and the shenanigans that ensued as I tried to fix the issues. Things got worse before they got back to what they were (random reboots). Today, I took the nuclear option. Factory reset, reformatted Data, reinstalled a slightly newer version of my current DU ROM, gapps, the works. Unfortunately, despite being a fresh, pristine flash, once I reinstalled Magisk 14.5 beta (11/24 revision), the random reboots started up again. It's basically a reboot an hour. Sometimes more frequent, sometimes less. I captured the following log as soon as I rebooted, and since I'm out of ideas, I'm hoping there's something here that will allow some kind soul in this thread to diagnose my issues.

The only module I'm running is the Busybox install available from the repo, but I've tried running in Core Mode as well, and that didn't make a difference. Neither has reverting back to 14.3 beta, oddly enough. Everything is installed from a fresh download. My DU ROM, gapps, Magisk 14.5, Magisk Manager, etc.

Thanks in advance.

Edit - No issues passing Safetynet checks. Super Mario Run, Fire Emblem Heroes, Animal Crossing: Pocket Camp... all install, update, and run perfectly. It's just the damn random reboots that annoy the hell out of me.
[Magisk] JTruj1ll0923:
Okay and then just delete every entry? And do I delete the actual folder (s) or just Everything in the folder(s)?

---------- Post added at 09:48 PM ---------- Previous post was at 08:49 PM ----------

Okay I just did this but it is still crashing. Also in the original place I posted there was nothing in TWRP but I did find another place with the command you gave me and deleted everything there.