yashsingh1/xdaforums huggingface dataset:
[Magisk] martyfender:
By local, do you mean a terminal emulator program installed on the device, or adb from the computer?

Whether it is adb or a local terminal program installed on my device, Magisk usually pops up a prompt to grant root access. On one of my devices it did not for the adb shell and when I went to the superuser tab in the Magisk Manager (MM), I found shell had been denied, so I just toggle that to granted then it worked from then on. If your terminal program is not showing up at all under the superuser tab in MM, something else is going on. You might try a different terminal program to see if you get the same results. I use the terminal built into Apps2SD, but have also used Terminal Emulator for Android by Jack Palevich, available in the playstore.

Also, when in the terminal, you must, of course, type su then hit enter, first. And it is when you type su and hit enter in the terminal, that you should get the Magisk superuser prompt.

---------- Post added at 11:27 AM ---------- Previous post was at 11:13 AM ----------

Did you try this?

https://xdaforums.com/showpost.php?p=76906452&postcount=20
[Magisk] zakijesk:
it's a terminal emulator that can be activated or deactivated from the developer options

in marshmallow and nougat the Magisk pop up used to shows up when I open it but not this time with oreo

I used typing su and hitting enter and it works thanks
[Magisk] BLACKPHOENIXRIZIN:
Would just like 2 say 2 u, thx a million 4 the most manificent & wonderful gift that u have freely given 2 any & all who wish 2 take advantage of it. None of us will ever be able 2 truely repay u 4 wut u have given us, but I am hoping that by say these simple & humble wordz 2 u, u might start 2 know just how much we all do truely appreciate all of ur wut had 2 be very hard work & tremendous sacrificez in order 2 bring 2 us this most amazing bit of technological wizardry. So once again, I say thx 2 u (TOPJOHNWU). P.S. And while I know it is very nice 2 receive appreciative wordz, I do also understand that receiving certain other thingz besidez just wordz is even nicer & goez just a bit further in showing just how much u really truely appreciate something that someone haz done. So I say 2 u (TOPJOHNWU), every now & then, make sure 2 take a peek at ur paypal account raight! And that is all that I am gonna say about that!...(smile). Can't wait ta see wut chu come up wit next!...(smile). Stay up, stay strong, & maintain urz. Peace yo!
[Magisk] andrew2432:
Donate!!!

Says the pot to the kettle...

PS [MENTION=4470081]topjohnwu[/MENTION] get a btc address!!
[Magisk] lordregnis:
Can anyone tell me why I can't play pokemon go or harry potter mystery on omnirom 7.12? I know its a safetynet thing, but magisk says it checks out and both are green/true. I'm on a le max 2 and I have magisk v16.0. Help please
[Magisk] teddy0209:
Try 16.4... You have to rehide PoGo...
[Magisk] gothicVI:
Installation log?

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Magisk] MBechirM:
Is Magisk Dead ?

It's been a while since we received any updates
[Magisk] teddy0209:
The latest commit is just within the day... If you want to try the latest then go for the unofficial snapshots...
[Magisk] mobileman88:
No it isn't. 16.4 has been in beta for a while and has been very stable
[Magisk] martyfender:
No, there were new commits, yestersday. There just hasn't been a stable or beta release recently.

Most of the unofficial builds, with more recent commits, have been working great for me. Results may vary, though, for your device.

https://github.com/topjohnwu

https://github.com/kantjer/MagiskFiles

This includes the recently removed, 64 bit binaries:

https://github.com/ianmacd/MagiskBuilds
[Magisk] st@@tz:
Is it possible on taimen to use google pay with unlocked bootloader and magisk?
[Magisk] Artim_96:
Shouldn't be a problem if Magisk is checking out positive
[Magisk] st@@tz:
i just do a factory reset and want to use GP, so if i try ur way and it does not, i have to wipe again to lock the bootloader. Thats y i ask before :)
[Magisk] Artim_96:
Well, I can't check if it still works since it's just starting to roll out in my country. But at least it used to work. But there should be coming some updates to Magisk soon since topjohnwu is back now. So if it won't work immediately it could work again soon
[Magisk] Omel:
first thanks for helping me

Yes im on Permissive kernel and need to have the kernel to be enforcing,

i'm on ramkernel RC 2 and there is no kernel for N7 port (Norma V26) there is enforcing

my device is a Note 4 N910F
[Magisk] ChARCOOL:
Magisk crashes randomly

Sometimes magisk randomly crashes, can anyone help me?

[B]FATAL EXCEPTION: AsyncTask #4
Process: com.topjohnwu.magisk, PID: 28739
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:318)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:762)
Caused by: java.lang.NullPointerException: Attempt to read from field 'java.util.LinkedList$Node java.util.LinkedList$Node.next' on a null object reference
at java.util.LinkedList$ListItr.next(LinkedList.java:893)
at com.topjohnwu.magisk.database.RepoDatabaseHelper.removeRepo(Unknown Source)
at com.topjohnwu.magisk.asyncs.UpdateRepos.doInBackground(Unknown Source)
at com.topjohnwu.magisk.asyncs.UpdateRepos.doInBackground(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java:304)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
... 3 more[/B]
[Magisk] gothicVI:
That depends entirely on the content of the log because only that tells us about the issue.

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Magisk] masterbyte:
I know how to google and your suggestions are good to make iso files...

and i used several tools to create boot.img from folders, but magisk can't handle them.

so i am stuck to the beginning and i will give up. this freaking tablet is impossible to root.... :(
[Magisk] Gallion:
The instructions say to install Magisk before installing a CFW. However, the only way I can install Lollipop on a Note 1 is through a CFW and that CFW comes with SuperSU. What should I do?
[Magisk] Artim_96:
Then make a proper bug report, best on GitHub and link everything you know. Maybe topjohnwu will consider to build that compression feature into Magisk

---------- Post added at 02:18 PM ---------- Previous post was at 02:15 PM ----------

Yes, Samsung devices are tricky. But as long as you can get a TWRP version up and running you can still flash your ROMs boot.img to get rid of SuperSU modifications and install Magisk
[Magisk] Gallion:
Do you mean flash a stock boot.img or flash the CFW boot.img alone after installing the CFW?

EDit : Nevermind. SuperSU has an option to unroot the device in the settings. Much simpler!
[Magisk] cientista99:
Hi!

I'm facing a issue that I don't file solution anywhere.

After install magisk 16.0 zip I lose writing permissions on /data (I suppose). Is awkward that root start to work but Magisk Manager is not installed.

If I try to install the apk I get Installation failed and in playstore it downloads but fail on install.

To install Magisk Manager I uninstalled the magisk zip (run zip uninstaller), installed the magisk manager apk and after that rebooted to recovery and installed the magisk 16 zip and when rebooted and have Magisk Manager and root 100% working but again lost permission to install any application. Even if I connect using adb and do adb install something.apk It says: "Error: failed to write; readlink failed: EACCES (Permission denied)".

I even try magisk 16.4 and the behaviour is the same. I'm using LineageOS 15.1 with OpenGApps installed and TWRP 3.2.1 .

Thanks for any help.

Best Regards.
[Magisk] DeX_Lionhart:
Compatible version?

Is magisk compatible with 4.4.4 KitKat version? If not will there be a compatible version anytime soon? How about any other ones just like magisk? I like it's system less interface. Some similar recommendations might be a great help but not interested in chainfire's supersu. :)

I'm using Samsung Galaxy Core prime sm-g360h and stuck on this for a while so rooting it. Reply pls
[Magisk] Pkt_Lnt:
The OP / post #1 links to the official release thread that has this in the title.
[Magisk] DeX_Lionhart:
:)

So it's a no then. But can I get something similar that supports 4.4 versions or maybe another method for similar results?
[Magisk] Pkt_Lnt:
Did you try here? https://www.xda-developers.com/root/
[Magisk] DeX_Lionhart:
Thanks but if I use a different root other than magisk, will I be able to use magisk manager app to avoid google's Safetynet as all I need is to get my device rooted anyway possible right?
[Magisk] Pkt_Lnt:
No, Magisk requires Android version 5.0+ and has its own root system that does not work with other root methods. You either need to find a 5.0+ ROM or get a different device to use Magisk.
[Magisk] DeX_Lionhart:
What if I flash a 5.0+ custom rom with the help of twrp and root using magisk after that? Is it possible? Forgive me but I never practiced rooting before.
[Magisk] Pkt_Lnt:
Yes, that *should* work. Best now is to ask these questions in the thread for the ROM you are considering flashing, those users will provide the best help.
[Magisk] DeX_Lionhart:
Real thanks. Btw what Custom rom is good with less bugs in your opinion? I've heard about cyanogen quite a bit but am unsure about it and wanted to ask someone who is savvy enough about this stuff.
[Magisk] Pkt_Lnt:
That is OFF TOPIC in this thread, please stay on topic. Thank you!

Now please check the forum for your device for these kinds of questions. I use a Google Pixel 2 XL, so I have no knowledge to help you with specific questions about your device.
[Magisk] Captain_Throwback:
Wrong thread. Seems like you need to talk to the module creator and get it updated.
[Magisk] Teh_Chuz:
Still does no work on moto phones?
[Magisk] ldiomedi:
You should ask for specific kind of moto and if it is stock rom or custom, because in my moto G 2013 it works like a charm with cn13
[Magisk] Mr. Zero:
I have a Sony Z1 Compact D5503 and flashed the zip of magisk 6 with locked bootloader. I did'n know that

requires unlocked bootloader

, because some friend send me the files to flash and don't say that. Now the phone is on bootloop even if flash stock rom

what happened??? Is my phone hard bricked? any solution?? please help me.
[Magisk] kittykatz:
just helping

your phone might be soft bricked all you need to do is wipe cache and re-flash rom.:o
[Magisk] TekRantGaming:
Works really well thank you for this amazing work
[Magisk] villo88:
So if i post a logcat you might find the error, but i don't know how to read it either. For example, when i launch catlog is running while the system is on. Is there a time to let it run before stop it?it should signal right?

Another question: I'm on devs miui so i guess root has its own su version. I started by "full unroot" and deleting the superuser app, then i launched magidisk. If so the error from manager is "unproperly installed". So, i decided to wipe data and choose to install a different superuser app, in this case that i was saying before in my first post, the manager is saying that i can't toggle. Anyway, the problem is that superuser is trying to install (normally the device restarted in twrp to check and everything works) but this time a popup appears saying "SU needs to be updated... running... (if long then 5mins restart and try again) THEN : Installation Failed, restart and try again".

Useless to say that even by restarting the problem is always the same... Just in case, a logcat in attached.
[Magisk] Depressed Man:
Does anyone know how to update the su binary (particular the one from phh's SuperUser 17 (Magisk Version) (2016.8.20))? Since I've gotten a message that my su binary was out of date, my root access is gone. I tried updating to the latest binary from phh's SuperUser thread but that results in permanent root and can't be toggled on or off. Flashing back to stock, installing Magisk, phh's SuperUser 17, and the Magisk Manager from scratch results in a notification saying to update the su binary.

Do we wait until a version of phh's SuperUser 17 is updated for Magisk?
[Magisk] kittykatz:
PHH and SU help

Hi everyone, finally read almost every thread here and didn't see anyone post what I'm about to ask. so here it goes..

I'm using a custom ROM which runs on stock kernel. the ROM is called ale95 note5 port v6.1 and since i use twrp to flash it, i have no idea how to unlock my boot-loader or where to start or even if my boot-loader is already unlocked due to having a custom ROM installed.

I tried to install Magisk while being on this Rom and was able to successfully install Magisk v6 via twrp. however when i try to install phh or su from magisk twrp fails to install it. As it states that magisk is not install. I don't know if it has to due with me not unlocking bootloader or the fact that i have a samsung s4 i9500 and my rom is for a note 5.

will paste photo's in a few..

steps taken...

1. un-installed su via su apk

2. booted into twrp recovery

3. factory reset/wipe cache

4. installed magisk passed

5. installed phh.....failed

6. installed supersu magisk.... failed

7. wiped cache

8. re installed magisk passed

9. reboot to system.

10. twrp as if i want to install super su as i'm not rooted and i choose not to install each time.

now i'm back on phone with no idea what to do next please help.

what should i do??Newbie steps please and thank you.
[Magisk] kryptikal:
[MENTION=4341246]b00tstrap[/MENTION]. Thank you for your reply and for posting links to your zips. It would be awesome if you would also post the Atmos zip with the "surround" profiles.

I was wondering, since I've not been able to get viper working before, do you install both zips (I'm assuming Atmos is an enhancement/set of presets for viper) and access them both through the Viper app? Speaking of the app, which version are you using?
[Magisk] Artim_96:
The best way would be to get rid of it and unit rely on what is inside Magisk. Of course, it doesn't had to lead to problems, but it can. If you have BusyBox installed you have to know that maybe a future update might have it's problems with Magisk.

Even Chainfire isn't really happy with what almost all implementations do since it can change from Android version to Android version which commands you need for what and after a change they mostly support only one version, the old or the new.

So as long as you don't have any app that refuses to work with the BusyBox in Magisk, just don't install an additional one

---------- Post added at 11:22 PM ---------- Previous post was at 11:16 PM ----------

Logs or it didn't happen...

Look into /data if there is still a su.img, delete it it so. And somewhere here was a link posted for an unsu zip, try this one too.

For a Note 5 ROM you will probably need the XPosed-alt version, I don't know exactly, only that note 4 needs it.

Btw: which version of TWRP are you using? Recommended is 3.0.2 if possible. That could also be the problem.

---------- Post added at 11:29 PM ---------- Previous post was at 11:22 PM ----------

1. Sure that you installed the right version of TWRP, explicitly for your device?

2. Tried with older versions? I know, the latest version (3.0.2) is recommended, but maybe that would help find the error
[Magisk] kittykatz:
i don't know how to look for logs and copy directions plz and will be happy to post them. as for unsu will try that next downloaded it a minute ago.
[Magisk] Artim_96:
How: in TWRP, on the main screen go to the button in the lower left (I think it's called advanced) and there on file manger

Where: explained in the OP under bug report.

If you find the files, tap on them, select copy and as path navigate to the root folder (where you can't select "up a level" anymore in the do of the list), and there into the folder sdcard. That one should contain your "internal memory" you can access in every Android device even without root. If you finished copying them, disk something that boots up. There you can attach these files on you next comment here (in advanced mode). But possibly you have to rename the files first so they have the extension .txt. otherwise XDA might refuse to upload them
[Magisk] Äptiva:
I got this working on my Verizon LG G2 vs980 (had to frankenstein the guts into a spare d802 lcd/digitizer/frame assembly to test this but it worked) using this same exact process. It should be noted that I had an issue with Google Play Services updating itself for whatever reason, but opening a browser on my PC and searching "Google Play Services" and forcing an update from the web allowed the update to go through and also got my play store updated. I was able to pass safetynet checks using SafetyNet Playground and AP and PoGo worked as intended. This was only tested with stock firmware. I did not try with CyanogenMod (yet).

Being that the d800 and vs980 are different beasts and the process was repeatable on both, I imagine this works for all G2 bump capable devices and most likely G3 bump capable devices.

I changed the way I was doing it because modding the kernel seemed excessive and over complicated things. I modified blastagator's selinux script for Dorimanx Kernel to reflect a change Dorimanx made since the script was last updated and it worked out of the box(messaged blastagator with the fix and he says he'll update the script! SCORE!). Busybox doesn't necessarily seem to be the issue here.

I have also tested with CM13 nightlies on the d800. To fully unroot CM you must delete the su binary in /system/bin as well as /system/xbin. Flash as follows:

1. Rom

2. gapps

I used adb to remove the su binaries before I went any further while still in recovery. You may have to ensure system is mounted in your recovery.

adb shell rm -f /system/bin/su

adb shell rm -f /system/xbin/su

After removing these I flashed as usual:

3. Magisk

4. cBump

5. phh's Superuser for Magisk

After following the rest of the process (Install phh's Superuser from Play Store and Magisk Manager) I was able to pass SafetyNet checks. PoGo and AP worked as expected.

[MENTION=4470081]topjohnwu[/MENTION]

Using a mention because I imagine your PMs are exploding right now
[Magisk] mlavende:
So, probably a daft question, but any idea what would have added busybox. I started with a fresh rom and then installed TWRP followed by systemless root. After that I added systemless Xposed. And that's it I think.

How does the Safetynet check pass if busybox is installed wrongly?

Can I just delete the busybox installation?

Thanks

-Mat
[Magisk] nsl07:
Yup I made sure. I got the twrp-3.0.2-0-jfltecan.img.tar file of twrp. I can flash twrp no problem and it functions until I flash magisk v6. After flashing and rebooting that's when it goes haywire
[Magisk] Äptiva:
So upon further testing on my device busybox may not be the actual issue
[Magisk] kittykatz:
didnt find any magisk_log in cache. but i tnink i see what is going on now. the custom rom seems to re-install su after i uninstall it causing issues. humm thanks for helping.:D
[Magisk] FestiveFloralPond:
Is there any way to have root in Magisk Manager be default OFF after the phone turns on? Currently, when I boot up the phone, default Root is ON.

Nexus 5X

Stock Android 7

Magisk v6

Magisk manager v1.2

Supersu v2.76 (magisk version)

Thanks in advance!
[Magisk] DeX_Lionhart:
Sorry for going off topic and thank you very much for guiding me. Much appreciated. :)
[Magisk] Pkt_Lnt:
You are welcome!

No worry about the OT, you are excited and learning, that's a good thing. Fun stuff, isn't it? Good luck.
[Magisk] jenslody:
MagiskManager is not in playstore.

Don't trust any versions from there or from some fishy sites with magisk in the name.

The only official sources are in [MENTION=4470081]topjohnwu[/MENTION]'s thread(s), his github and via MagiskManager.

You can trust also the "official" unofficial builds by [MENTION=3306843]kantjer[/MENTION] or [MENTION=7187684]ianmacd[/MENTION].

To trust any of the other builds is up to you, but in most cases not supported here.
[Magisk] cientista99:
H!

I think I didn't explained myself, when I mention playstore I was talking about install normal apps from playstore not magisk manager.

I got my magisk 16.x zip and Magisk Manager from official github!

Another strange thing is that even that application installation fail uninstalls succeed and that for me is really strange! :confused:

When I try install some apk I get the error from screenshot, I don't have logcat because I didn't find any error from that... :/

Thanks
[Magisk] Rom:
Hi, @topjohnwu, i hope you're okay :o

I wouldn't want to sound too insistent, but there are currently no less than 40 new all fresh modules sleeping in the pending area on your Github, and waiting for nothing better than to enter the official module repository.

A thousand apologies if this has already been reassembled, i checked on the last 5 pages...
[Magisk] toyongbanatero:
Hey guys. I just updated my post a few pages back.

Here's the link to my post. I really need your help guys. Any help and suggestions will be very much appreciated, as I have tried anything in my poor knowledge that I can think of (as I am very new to Magisk). Thank you very much.

EDIT:

I tried flashing the patched boot.img again on top of the already installed one but same results when installing other modules. Now the log was empty. It doesn't show any kind of output and I really don't know why, but I probably got rid of this line

06-26 23:01:24.055 464 499 E Magisk : fopen: /sbin/.core/img/.core/hidelist failed with 2: No such file or directory

because I tried adding an app to MagiskHide.

I installed v16.4 of Magisk.

If I remember correctly, the stable version (v16.0) produced more logs for me (the ones I posted in my previous post). Should I try going back to v16.0?

Again, root works but modules don't. I really tried anything I can think of in simple install/uninstall/reinstalling Magisk and I am thinking that I should try messing with the files in /data but I really do not know how (and I'm afraid to do so).

Thanks for any kind of help you guys can offer.

EDIT AGAIN:

Previously I was trying to install a module called Volume Steps Increase and it just fails. I tried installing the Xposed module and it was installed (it said that it was only mounting /system and /vendor?) and the Volume Steps module was trying to mount /data (which apparently causes the problems) alongside /cache, /system and /vendor. I though my phone was bootlooped as it took 10 mins for my phone to finish booting. Xposed Installer said that Xposed is successfully installed (hooray). Now I just want to be able to install other modules.

Is there any way to fix my problems? Thanks!
[Magisk] martyfender:
You never posted your device, Android version, stock or custom ROM?