yashsingh1/xdaforums huggingface dataset:
[Magisk] pkarza:
I have an LG G3 with crdroids nougat 7.1.1 rom that works great - but android pay does not. I had a suggestion that I should follow the steps below- but it is a custom rom and I don't want to mess it up - it works so well!! Any help greatly appreciated.... I need a little help with the bump script and what I should and should NOT do!

merry Christmas!

1. Rename "su" in both /system/bin & system/xbin to "s_u".

2. Flash Magisk v.9

3. Flash phhSuperuser 266 for Magisk. (is that r266?)

4. Flash bump script (which one????)

5. Reboot into crDroid & install both phhSuperuser (from play store) and Magisk Manager.

6. Launch Magisk Manager & enable root hide.

7. If this is for the purpose of PoGo, you're done; if you want to pass Safety Net, you need to also find & install an app to change SELinux to Enforcing.

---------- Post added at 10:01 AM ---------- Previous post was at 09:59 AM ----------

I'm going down the same road - but I have to use a bump script? what phone? rom?
[Magisk] mrxtc89117:
HI. how do you do it with tasker?
[Magisk] yochananmarqos:
Magisk does not hide Xposed, so you'll need to uninstall it to pass SafetyNet.
[Magisk] txtsd:
Is there a way to edit build.prop with Magisk without system showing as modified? I like to run my Nexus 6 at 320dpi, but I can't play Pokemon Go even with Magisk Hide because of it.
[Magisk] oreo27:
I'm not experienced with SafetyNet but you should be able to do this via resetprop.

I've attached a sample module which you can try out.
[Magisk] shrazy:
I have a Z3 Compact but what is a bump script? I never heard of it. I think this is just for your type of phone neccessary.
[Magisk] Rhoban:
I'm pretty sure this shouldn't be an issue.

Are you 100% sure it is caused by you changing the DPI?
[Magisk] culiacanazo:
Isn't there xp modules for that?

To quickly wrap it up since I'm out of bounds, xposed has a toggle (but I'll admit, i don't have any hiding needs, so not sure if that cuts it for what you guys need
[Magisk] dimm0k:
how can I remove a module I flashed for Magisk while in TWRP?
[Magisk] Artim_96:
http://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post70209936

---------- Post added at 12:52 AM ---------- Previous post was at 12:49 AM ----------

For the toggle in XPosed you need to reboot. And no, of course there is no XPosed module to hide XPosed.

But there could be one method though: Root Switch is said to be able to disable XPosed on the fly while being in selected apps, but I don't know if one of Google's patches had already killed that
[Magisk] dimm0k:
I should have waited for your instructions or quit while I was ahead... I decided to uninstall Magisk to remove it entirely, but doing so left me in a bootloop so I went back into TWRP and flashed SuperSU. now during boot I'm told that encryption was stopped abruptly and to format data. Going back into TWRP I'm told to decrypt /data, but neither "default_password" or my lockscreen password is working. am I royally screwed?
[Magisk] JEANRIVERA:
Sorry to say yes, now you will have to format data
[Magisk] dimm0k:
fsck! at which part should I not have done to avoid this in the future? I never set anything to encrypt despite removing encryption when I first rooted... how did this get encrypted again?? is there any way to salvage anything?
[Magisk] JEANRIVERA:
What device you have?
[Magisk] dimm0k:
I have the LGV20 running Nougat
[Magisk] Artim_96:
Probably never mess around with it, of your device is encrypted by default, leave it that way.

And to tell you what you made wrong you have to explain every detail you did
[Magisk] JEANRIVERA:
This normally happens on HTC devices when switching between firmwares not sure what could possibly trigger it in your device

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

And just so you know there is no xposed that works in nougat I'm not sure what you're trying to achieve here
[Magisk] dimm0k:
I'm aware there's no xposed for nougat yet... I just wanted Magisk for what it does best, changing things without actually affecting /system directly
[Magisk] Didgeridoohan:
I'd say the most likely thing would be your stock force encrypt kernel got flashed during the uninstallation of Magisk. What you thought was a bootloop was really just a prolonged boot from the encryption process. If you interrupted that, the encryption got messed up and there's really nothing you can do apart from wiping and starting afresh...
[Magisk] andrew2432:
On my LG g2, you need to cbump ANYTIME YOU MESS WITH THE BOOT IMAGE. So I believe after magisk install a bump is needed

Edit: LG should bump after boot changes are made to the IAMGE, but not boot loader. If you're running a certain bootloader, my lgg2 has 5.0 with 6.0.1 cm13 over top, you don't need to bump. But magisk edits the boot image which LG doesn't like so bump that boot [y?]

1. Enable roms root, flash osm0sis unsu and/or run adb commabds to remove the root. Maybe its:

-rm /system/[x]bin/su

Do it twice, once with and without the x

Not seen this renaming of the su folder, and I hope to the heavens that renaming that one folder wouldn't hide because it's looking for /bin/su...

Don't know about the kernel!! :(
[Magisk] dimm0k:
THIS would make sense putting all the pieces together now... except for the part about the kernel or probably because I don't understand the whole process. I thought installing SuperSU would prevent any sort of encrypting from happening because when I first rooted I had to format /data to remove the encryption. Uninstalling Magisk in the past for me has always removed or broken SuperSU such that I would have to re-flash SuperSU to get root working properly again... could this have been the cause? Uninstalled Magisk -> SuperSU broke -> kernel allowed to encrypt -> rebooted -> kernel began encrypting -> thought it bootlooped, rebooted -> fscked?

if this is the case, should I perhaps flash SuperSU immediately after uninstalling Magisk?
[Magisk] rignfool:
e2fsck

That partition has a superblock
[Magisk] culiacanazo:
Sorry to highlight this, but it's been three times i see your name and i have to double check because at just a glance it registers as Jenni Rivera :eek:

---------- Post added at 06:34 AM ---------- Previous post was at 06:31 AM ----------

The way i tell them apart (bootloop vs some rare but unusually long boots) is keeping my device plugged in and feeling its temperature... But just to be clear, i have one of them spontaneous combustion artifacts ? (Sammy)
[Magisk] waylo:
Yes, immediately after restoring a stock kernel/boot partition that is on Marshmallow or nouget, you must flash something to turn off encryption, which is on by default.

Magisk, SuperSU or a noverity zip will typically do this. Otherwise it will start to encrypt your data as soon as you reboot. The data is still there afterwards, but the partition will not be visible or modifiable in TWRP (until formatted to decrypt the partition).
[Magisk] dimm0k:
so basically after I removed Magisk and rebooted, the bootup phase started to encrypt /data!? question now is, if I had let it encrypt completely and boot up, would I have been able to get into my device to backup my data in TiBackup or something?
[Magisk] JEANRIVERA:
Yes
[Magisk] Mirhawk:
I'm having a problem with Magisk Hide. Whenever I tick an application in the Magisk Hide, go to some other tab in same app(like Modules, Downloads), the tick for the app goes away. I'm using OnePlus 3T with stock Oxygen OS 3.5.3, unlocked bootloader and rooted using phh's supersu. Had flashed and rooted using the method described in the Magisk OP. Is there a button somewhere to apply the selection? Cause I don't see one in the tab.

Edit: Tried the oldest trick(turning phone off and on), started working as expected.
[Magisk] txtsd:
It works! Thank you based oreo27!
[Magisk] oreo27:
Glad to know it works. For some reason, I can't get mine to work on qemu.hw.mainkeys. LOL.
[Magisk] txtsd:
I'm having trouble getting the included v4a to work on my Nexus 6. The v4a 2.5.0.4 app says the drivers are enabled, but not processing. Sound is exactly the same regardless of v4a settings.

EDIT: I installed the module from MagiskManager > installed the app > rebooted.
[Magisk] culiacanazo:
That's usually the right sequence :silly:
[Magisk] Artim_96:
Hey guys,

I'm trying to make a module to install Greenify as system app (under /system/priv-app) since there is no XPosed for Android 7 yet. The apk gets mounted where it should be and permissions are set to -rw-r--r--, but it won't show up as installed app. The strange thing: I just modified the zip file I used to install WakeLockDetector there which was no problem.

Could someone take a look at it and tell me what is wrong with it?
[Magisk] welder_pb:
In older versions of Magisk i changed patching selinux code like this:

/supolicy --live "permissive *"

and xposed module for magisk worked fine.

In new version Magisk uses sepolicy-inject --live. How can i change it to get fake permissive mode?

Thank you.
[Magisk] yochananmarqos:
It doesn't show as installed? You need to have Greenify installed normally as a user app before using the module to systemize it.
[Magisk] cimenta:
HOWTO use/install?

Hi

could someone please help me to install / use Magisk? I want it mainly because of Pokemon .... :o

I followed the official installation instruction from http://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

I use cm 14.1 but after performing above steps I lost the ability to run any appl that requires root access. TB, CM file manager, Move to SD card etc.

I can see that phh's SuperUser is installed as a module under Magisk but I am not able to "tick" it - activate?

So I removed Magisk using remover. That did not give me root access again. So I flashed cm14.1 again.

Would someone be able to help? I got magisk.log file and I backed up the boot.img

I am using Redmi Note 4G and cm 14.1 and TWRP 3.0.2.0

Thank you

Radek
[Magisk] Artim_96:
Doesn't help, then it's still installed just as user app (otherwise it would be shown red in titanium)
[Magisk] oreo27:
Is the module working in Magisk Manager? I see you're using the old template of Magisk. Use the new one hosted in Github:

https://github.com/topjohnwu/magisk-module-template
[Magisk] laggardkernel:
What does the Magisk.log say after installing the module?
[Magisk] topjohnwu:
Guess what guys

I fixed the losing root issue of Magisk Hide!!

The bug is so hard to reproduce I had to write an app to force SafetyNet check loops :p:p

The next update shall be reeaally nice
[Magisk] chudy_85:
Great news for us. Do you be try integrated xposed with magisk manager to hide xposed. Do you think about this method???
[Magisk] alexpower:
If,i don't think it will work for long to hide xposed.

The cat will be come angry for hiding xposed for SN :(

Gesendet von meinem HTC 10 mit Tapatalk
[Magisk] Captain_Throwback:
If it was possible it would already be done ;).
[Magisk] randomnoob69:
Viper module in Magisk says that this isn't a Magisk module and thus doesn't install! Any ideas? Running Nexus 6p
[Magisk] phen0m2016:
Magisk v9 on HTC One M9 (Software: 3.35.401.32)

Hi,

Does Magisk v9 work on HTC One M9 with Software version: 3.35.401.32 (Android 6.0)??

I read that this Device - Software Combo doesn't work with Magisk v6, but havent found anything either confirming or denying it to work with Magisk v9.

Thanks in advance.
[Magisk] Captain_Throwback:
It should work fine.
[Magisk] phen0m2016:
But has anyone proved it? The changelog of v6 clearly states that it doesn't work with the HTC One M9, but the newer changelogs (v7+) do not mention anything about solving the problem.

Has anyone got more information?
[Magisk] Captain_Throwback:
I have an M9. I'm not just "saying it," lol.

EDIT: I'm currently using v10 on my M9, but v9 also worked fine.

EDIT 2: For the record, if you're not going to believe an answer you're given, why not just make a backup and try it yourself? Then you can report whether it works or not. Otherwise, why bother asking?
[Magisk] Artim_96:
Well, I use the one from there. It's already a few days ago since I downloaded it, but that's where I got it. And Magisk manager doesn't at least dead that it's not working, but also not really that it's working. The file in /Magisk also looks alright though it had no permissions there, only under /system/priv-apps, but there it has 0B

---------- Post added at 01:43 AM ---------- Previous post was at 01:42 AM ----------

Doesn't even mention it...
[Magisk] phen0m2016:
Thanks Captain_Throwback. I didn't mean to be rude or anything, but your first answer really sounded to me like you were "just saying it".

Just trying to avoid a Bootloop :fingers-crossed:
[Magisk] Captain_Throwback:
No guarantees on no boot loop, but works fine here.
[Magisk] oreo27:
Two things I've noticed:

1. Your APK doesn't reside in a folder. All APKs have their own folder.

2. Your APK's name has spaces on it. I haven't seen an APK with spaces on it in my system/priv-app folder.

3. The module template you're using is the old one. It still has the Cache Module entry in module.prop.

Try this.
[Magisk] i5lee8bit:
I was having a weird similar issue (the zip is not a magisk module!! error). HTC 10 US Unlocked. Went with a super clean install to do an upgrade to Viper 4.4.0 (finally from 3.5.0, marshmallow).

RUU to latest (2.38.617.6). Install TWRP. Flash Viper 4.4.0 with Magisk + phhSU during initial aroma install. Install Magisk Manager APK.

At this point, Viper10 4.4.0 automatically installed Magisk 9.1. Magisk Manager I installed was latest v2.5.

Then, no matter what, I couldn't install any modules. I kept getting "the zip is not a magisk module!!" error. I had to do this in this very specific order:

(not sure if this step was necessary) - uninstall Magisk Manager

(Re)Install Magisk Manager. Open it, it asks for permission to access storage. Say yes. The Magisk Manager app strangely goes to the background. Switched back to it and closed it (held back to kill). Went to Settings - Apps - Magisk Manager - Storage - Clear Data button (at the bottom). For some reason this will also clear the permissions for storage. Hit back once. Permissions - Tick Storage back on. Make sure you do all the modifications in the Settings - Apps without opening Magisk Manager back up. Then, open it back up and try downloading / installing modules. I don't remember if I rebooted one more time but I don't think I did.

Hopefully this helps some people with the same problem. In my case, I finally figured it out after 2 clean installs. The strange thing that sort of hinted me to the solution that worked for me was that Magisk Manager would always soft close right after giving the storage permission on first run. Somehow following the steps above allowed me to finally start using it properly. Looks like the "zip is not a magisk module" bug may have something to do with the file not properly downloading and staying on storage without the needed permission from system to the manager app? Honestly at this point I may be talking out of my butt though.

Hope this helps someone out there and saves a bunch of time...

EDIT: PS: The one module I happened to have been desperately trying to install was the GPE Dialer + Contacts for HTC 10. But after failing over and over, I went down the list and tried a bunch of modules, each one giving me the same error. Not sure if it matters, just thought it may be worth mentioning it happened for all the modules until I messed with the app data and permission.

PPS: Literally the only thing missing now from my ideal setup, and the biggest reason I waited so long to upgrade to Android N, is not having Youtube Adaway. Any chance this could be done without Xposed and with Magisk? I know Arter97 and Wanam collab'd to create a patched Youtube (http://xdaforums.com/android/apps-games/app-patched-ad-free-youtube-apks-t3449312) but simply having it as a Magisk module would be so freakin sweet.
[Magisk] kartikb:
Is safety net failing for anyone else?
[Magisk] laggardkernel:
This makes sense. I guess may be the space. According to the magisk.log he provided, there is no Greenify apk being mounted.
[Magisk] culiacanazo:
I THINK that Magisk is for doing/having what you already do/have SYSTEMLESSLY... Perhaps you're mistaking its capabilities for those of Xposed (which I'm guilty of having done once)? It wouldn't be surprising since often we see topjohnwu's name thrown out there along side rovo89's...

Anyways, in the meantime you can try Newpipe from F-droid... The only thing which is missing (and for what i want it, i don't need it) is a playlist. Other than that, it IS YouTube, just better: no ads, backgroundable, downloadables, and such.

Edit ("Add-it", i should say! ?): when i said for what i use it, i use it for whatever except music, as a lot of ppl like doing; for that i use MusicAll (not from the store - the store one's something different altogether). Here's the link, i really don't wanna tell you all the features cause kinda lazy to type, but it's worth for anyone who likes music taking a look. http://musicall.nivelapp.com
[Magisk] coderus:
Hello, i have problem with Magisk on my OnePlus 3T. I have installed phh usperuser module, in Magisk manager it shows as activated, but not working. From root shell i tried to start phh service.sh, but it says /magisk and rootfs / are read-only. I remounted / and /magisk to rw, restarted service.sh and then superuser activated. But of course didn't activated after reboot. Also when i try to remove or disable module, manager says it will be done after reboot, but nothing happens after reboot. Module still listed as installed and active.
[Magisk] culiacanazo:
Apk? Play store? Download? Open? "phh's SuperUser"
[Magisk] coderus:
of course i have phh superuser apk installed from play store. problem is phh module cant be loaded automatically for some reason.
[Magisk] culiacanazo:
I'm sorry but you didn't mention it and some ppl... You'd be surprised!

But oh well, allow me to move on, since that's not your case. Tried reinstalling everything? It doesn't take that long, and don't forget the uninstall zip provided in the OP
[Magisk] coderus:
Yes i tried to flash magisk uninstaller, then flash magisk and phh again. Tried to flash magisk only and install phh inside magisk manager, but it cant install module after download, so i think it's kind of same problem.
[Magisk] Artim_96:
Thanks, that worked. It was probably the spaces, WakeLockDetector had no problems like I said. I thought that problems with spaces where fixed, but maybe only in the path, not in the file, ok.
[Magisk] BlackDragon381:
Hello! Can't install Magisk.

MIUI MultiROM | TWRP 3.0.3 | SuperSU 2.79 SR1

If install via app, I have the download fails.

If install archive with Magisk v9 via TWRP, I have bootloop.
[Magisk] Didgeridoohan:
No, not me.
[Magisk] culiacanazo:
I dunno... Got me !

Please share if/when you get to the bottom of it
[Magisk] coderus:
I only know if i remount / and /magisk and manually start script then pph superuser works, but not automatically :(
[Magisk] oreo27:
Glad to know it's working okay.
[Magisk] coderus:
phh superuser 266-2 not working on OnePlus 3T 7.1 android. but previous 266 works fine.
[Magisk] szkudlarek:
I have a rooted Sony Xperia Z5 Compact 32.2.A.5.11 + SuperSU, and after installing Magisk (Magisk-v9.zip) and rebooting, the root privileges are not availible (the SuperSU apk wants to update but fails), and then Magisk Manager (MagiskManager-v2.5.apk), the installing of modules fails.
[Magisk] culiacanazo:
*palmslap face* Despite (now) sounding obvious, it never occurred to me.

But I'll keep "rollback" in mind for when i encounter (any) apps' issues... Thanks (i know it's a module zip you're speaking of) ?
[Magisk] oblitus:
magisk stays on green splash screen. any help?
[Magisk] pkarza:
before I pooch my LG G3 I want to throw this out there....

It was suggested that to get android pay working I had to:

1. Rename "su" in both /system/bin & system/xbin to "s_u".

2. Flash Magisk v.9

3. Flash phhSuperuser 266 for Magisk. (is that r266?)

4. Flash bump script (which bump???? Do I flash a new superuser after or is phhSuperuser the new replacement su?)

5. Reboot into crDroid & install both phhSuperuser (from play store) and Magisk Manager.

6. Launch Magisk Manager & enable root hide.

7. If this is for the purpose of PoGo, you're done; if you want to pass Safety Net, you need to also find & install an app to change SELinux to Enforcing.
[Magisk] wewep:
Is there a way to make this whole process with tasker?

So I don't have to switch it always manually of and on.

(My phone is at this time not rooted, but I think tonight I will root it, and before rooting I had to ask this question :/ )
[Magisk] Artim_96:
What do you want to enable/disable?
[Magisk] android_htc:
Issue now opened on GitHub:

https://github.com/topjohnwu/Magisk/issues/30
[Magisk] Didgeridoohan:
LOL! Yeah, I saw that two minutes ago! Nice...

You could probably reference issue #27 as it deals with the same thing.
[Magisk] LeRalouf:
Hello,

While trying to flash Magisk on a Galaxy A3 2016, I get a "Could not do normal boot. Invalid KERNEL LENGTH!" error, and the phone obviously won't boot.

Here's what I did :

- Flash a stock Firmware from Sammobile.

- Reset to factory settings via Recovery Mode.

- Flash TWRP 3.0.2-1

- Flash Magisk v9 from SD card

- Flash phh's SuperUser r266-2 by topjohnwu

And then that mistake.

Can anyone help me?
[Magisk] Didgeridoohan:
Sounds like you need a custom kernel. Check the Samsung compatibility thread in the Magisk forums if anyone have reported anything about your device.
[Magisk] culiacanazo:
Hopefully it won't break something else regardless of how much "compatible" it supposedly is....

Source: Speaking! ?
[Magisk] LeRalouf:
Thanks. Any idea where I could find one? Can't seem to find anything anywhere for SM-A310F...

And I can confirm it doesn't work for Stock Kernel ^^
[Magisk] culiacanazo:
Please PM me, i tried but i couldn't and honestly I'm trying to put this thing down so i can shower because i have to be somewhere soon and so i don't have the time to look into that right now
[Magisk] adm1jtg:
I am sure this has been mentioned but at least not in last few pages as i checked....

using magisk and everything installed properly, safteynet passed, android pay loaded and allowed me to add in a cc no errors

Every single android pay transaction fails, no specific error just fails.

Is there some workaround I haven't stumbled upon... is this a known issue?
[Magisk] HamsterHam:
Can someone please take a look at why Sky Go still detects root with magisk hide? I'm using it for android pay and Halifax banking app and it works for those just not Sky Go. Thanks.
[Magisk] mobileman88:
Banking apps rely on more than Safetynet to detect for root and tampering.
[Magisk] HamsterHam:
Yeah but magisk hide makes my banking app work.

Sky Go (a TV app) still detects root though.
[Magisk] mobileman88:
There are multiple detection methods. Magiskhide is only hiding from some but not all methods.
[Magisk] HamsterHam:
I see. Damn. Hoping the logs can help hide even more methods of detection.
[Magisk] mobileman88:
It's a cat and mouse game. Whoever is building the detection can then see what Magisk does and block/detect it yet again. No easy way to bypass for the long term.
[Magisk] tiendat1295:
I'm sorry if this question has been asked before: Do I need to flash all magisk, php superuser, etc again when I update Rom (dirty flash) or flash a new Rom (clean flash) to keep systemless root? And also, does Substratum theming work with systemless root?

Thank you very much ??
[Magisk] Captain_Throwback:
Are you using an Adblock of some sort? Have you tried disabling it? Because it looks to me like that's why it's crashing - it doesn't seem to be related to root at all...
[Magisk] HamsterHam:
Interesting! Thanks for looking, I was using adaway but the pop up which comes up was 'we do not support rooted devices'. I will test without adblock. Thanks!
[Magisk] Captain_Throwback:
If you can upload the APK, and provide the exact string from the phrase that pops up, it should be possible to decompile the APK and see exactly what's being detected.
[Magisk] immi803:
Magisk compatible with nougat ?