yashsingh1/xdaforums huggingface dataset:
[Magisk] Nagato Yuki:
I get the error when I install phh-superuser after installed Magisk successfully on my LG G3 F460

Installing zip file '/external_sd/phh-superuser-17-magisk.zip'
Checking for MD5 file...
Skipping MD5 check: no MD5 file found
I:Zip does not contain SELinux file_contexts file in its root.
I:Legacy property environment initialized.
Archive: /external_sd/phh-superuser-17-magisk.zip
creating: META-INF/
creating: META-INF/com/
creating: META-INF/com/google/
creating: META-INF/com/google/android/
inflating: META-INF/com/google/android/update-binary
inflating: META-INF/com/google/android/updater-script
creating: common/
inflating: common/file_contexts_image
inflating: common/module.prop
inflating: common/sepolicy_patch.sh
inflating: common/service.sh
inflating: su-arm
inflating: su-x86
********************************
Phh's Superuser (Magisk Version)
********************************
******************************
Powered by Magisk (@topjohnwu)
******************************
- Mounting /system(ro), /data, /cache
- /data/magisk.img detected!
e2fsck: Bad magic number in super-block while trying to open /data/magisk.img
/data/magisk.img:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

/tmp/updater: line 171: arithmetic syntax error
Updater process ended with ERROR: 2
I:Legacy property environment disabled.
Error installing zip file '/external_sd/phh-superuser-17-magisk.zip'
[Magisk] JensGoro:
Hi, im using s i9505 with imperium ll v16. It's 5.1

Log is in attachment
[Magisk] sevenoptimus:
A much better alternative to Magisk for hiding root from apps that block it (e.g. Pokemon Go) is Chainfire's suhide, downloadable from http://xdaforums.com/showpost.php?p=68717098&postcount=448.
[Magisk] -chaotix-:
I don't know about the "footer is wrong and signature validation error". But I got Magisk working on a Sony Xperia Z Ultra with CM12.1. Your device sounds close enough that it might also work. Have a look at http://xdaforums.com/showpost.php?p=68739461&postcount=2710

I used TWRP 2.8.5.0 to flash my modified Magisk from the above post. Under Settings there is an option to "Enable MD5 verification of backup files". I don't think this applies to normal ZIP-installs but it's the only thing I can think of that does any signature validation. So maybe disabling this option will help.

Be sure to have a backup boot.img at hand. Either copy /data/stock_boot.img to your PC after flashing Magisk or unzip the CM-Zip und use the included boot.img for "fastboot flash boot boot.img" if flashing the ZIP works but the device ends up in a bootloop.

---------- Post added at 04:03 PM ---------- Previous post was at 03:54 PM ----------

It looks like the filesystem image magisk.img is corrupted. Try uninstalling magisk and make sure /data/magisk.img is deleted. Then try installing it again. It should recreate magisk.img. This time hopefully without corruption...
[Magisk] d0pecr4wler:
Hey guys.

i just flashed my phone from scratch, to install Magisk.

Everything worked well, but I have a little(?) problem.

If I typ on the Root Toggle inside the Magisk Manager, it alwaya snaps back. So I can't unroot my phone.

Can anybody give me a hint, how to solve that?!
[Magisk] arsenal3010:
I got below problem when flash Magisk. Could anyone look at it ? Thanks !

I used latest TWRP and Zenfone5 android 5.0

! Unable to detect boot image

Updater process ended with ERROR: 1
[Magisk] westeight:
Despite the warning, it works fine with Magisk root on or off...
[Magisk] westeight:
In your opinion.

An opinion which is rendered worthless by posting that in this thread.
[Magisk] X@baras:
I've tried every possible way of installing things, but I can't get the phh' superuser app to recognize the root privilege. I open it and it simply does not work, and no other app obviously is getting any root access.

What could be the problem?

I'm on Zenfone 2 Z00A, CM13 Nightly. I think it's a problem with cm13, but I've really tried all that could come up at mind.

Thank you
[Magisk] Tlailaxu:
If your ROM has a Root toggle in the "Developer Settings", switch it off and on before trying to switch Root toggle in Magisk Manager

(might also solve [MENTION=4573103]d0pecr4wler[/MENTION] problem)
[Magisk] :
So i tried this and a clean install with magisk and phh supersu. Doesn't work. It already switches on again automatic...
[Magisk] westeight:
Did you flash phh-superuser-r242-20160908-magisk.zip in TWRP before installing Phh SuperUser from the Play Store?
[Magisk] d0pecr4wler:
Unfortunately, there is no such toggle in the Developer Settings.

In the OP it says: »First of all, your root installation should have "magisk.supath" set to its real su path you want to bind mount to system (my phh and SuperSU already does this)

For example: phh (/magisk/phh/xbin); SuperSU (/su/xbin)«

I just checked, but there is no »magisk.supath« anywhere, could that be the cause?!
[Magisk] aalemann:
hm, that sounds promising, thank you for the tip! I will try this during the week (just about to leave for a business trip) and will reply here if it works. (I only have the cyanogen recovery installed but that should not matter.)
[Magisk] X@baras:
After your suggestion I've tried every way to switch the toggle in developer settings, even with some reboots in between, buy nothing happens...

Yes, I've also tried both versions, superuser v17 and the one you mentioned.

Also is worth mentioning that I've tried to unroot both with SuperSU's full unroot and removing the su files by hand.

The only strange thing that shows up on my phone is a message by phh superuser after rebooting one time after flashing the zips, that says "INSTALL SUPERUSER: the superuser binary files are obsolete" (screenshot attached). If I tap on it nothing happens (only the superuser app opens)

I thank you for your time, do you have any other suggestion?
[Magisk] magnum73:
It doesn't work for me...I can't get passed safenet. I did the whole process,and the it seems all ok. Toggle works but fails on safety net check. I'm on oxygenos 3.2.1 and was rooted ,before I started the process. I did not flash the bootimage because I was on stock rom. Can a flashed bootanimation be the cause ? It did not modified the systempartition...
[Magisk] JuergenZ66:
can you check with "root validator" from play store if the correct superuser binary is installed?
[Magisk] gothicVI:
So you tried _everything_?! That's always a great description...

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Magisk] wancyber:
If that so, im not quite sure then.

Because for me, everything working fine except the last issue with magisk busybox module installation directory, which has been fix with the help one of the members here.

Did u try reinstall the magisk and then, try again the previous step ?
[Magisk] QuantumEntanglement:
Bug! updated to 17.1 "stable version" several times but i keep recieving "update 17.1V available notification" every day, so I have to flash the update on twrp every day to bring back root,
[Magisk] Jimnik:
Sorry for the unspecified questions I have uninstalled the app downloaded appops (to make Pokemon go work) and installed the magisk module

Sorry for any grammar mistakes
[Magisk] Killua96:
Here i go again, reinstalled the stock rom to remove any type of possible modifications in /system, installed Magisk canary in order to hide root from FGO and similar apps, still the app crashes with error 61.

Yes, i've hidden the app, yes i've hidden the manager, no i've no modules installed and absolutely no xposed.

If i uninstall magisk through the uninstaller then all works fine, so it's something about magisk itself, here there are Magisk log and Catlog:

Magisk Log: https://mega.nz/#!zcICDA6J!ZeU0BkM9BsIco3dEvdC_yIz3rY_4BQRar_jPvc9jgtQ

Catlog: https://mega.nz/#!7QYyHCxa!n4js7LylBqhCb962t8dp1Bd5QrKclUT8JkhOFx7k71w

Forgot to mention other useful info:

OnePlus 6 on latest OOS 5.1.11 stock, latest version of Magisk Canary
[Magisk] QuantumEntanglement:
Now I can't flash 17.1 V keep saying verification failed, I checked verification in twrp and it's ticked, it works perfectly yesterday
[Magisk] kantjer:
Disable verification in TWRP. AFAIK it never worked, Magisk is signed with a private key, TWRP does not support that.
[Magisk] casouzaj:
Which Magisk version are you running? It seems that from v17.1 on the sub-processes hiding is covered. I'm using the latest Canary build in my Sony Xperia Z3 Compact phone, running CarbonROM 6.1 (Android 8.1.0), with just the Busybox and the Magisk Props Config modules installed, and my Magisk Manager is hidden. As I already had some Intune sub-processes added to the magisk hide list, according to these 3 entries and this additional one, I kept them, just in case. Hope it works for you!
[Magisk] Feduz:
i can't install the last version (17.1) with magisk manager, lg g4 with root. i tried before to install the 17.1 in recovery but not successful.. with the app it tells me "boot image patched by unsupported programs, please restore stock boot image, insallation failed"

LOG:

- Detecting target image

- Target image: /dev/block/mmcblk0p38

- Device platform: arm64-v8a

- Downloading zip

... 0%

- Extracting files

- Unpacking boot image

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/dev/block/mmcblk0p38]

KERNEL [21541232]

RAMDISK [4714528]

SECOND [0]

EXTRA [1216512]

PAGESIZE [4096]

NAME []

CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.selinux=enforcing msm_rtb.filter=0x37 androidboot.hardware=p1]

CHECKSUM [8d2ed2e5b6794321edf6dacee5bf08e1d5a6f181]

KERNEL_FMT [raw]

RAMDISK_FMT [gzip]

- Checking ramdisk status

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

! Boot image patched by unsupported programs

! Please restore stock boot image

! Installation failed

---------- Post added at 05:46 PM ---------- Previous post was at 05:46 PM ----------

i can't install the last version (17.1) with magisk manager, lg g4 with root. i tried before to install the 17.1 in recovery but not successful.. with the app it tells me "boot image patched by unsupported programs, please restore stock boot image, insallation failed"

LOG:

- Detecting target image

- Target image: /dev/block/mmcblk0p38

- Device platform: arm64-v8a

- Downloading zip

... 0%

- Extracting files

- Unpacking boot image

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/dev/block/mmcblk0p38]

KERNEL [21541232]

RAMDISK [4714528]

SECOND [0]

EXTRA [1216512]

PAGESIZE [4096]

NAME []

CMDLINE [console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 user_debug=31 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.selinux=enforcing msm_rtb.filter=0x37 androidboot.hardware=p1]

CHECKSUM [8d2ed2e5b6794321edf6dacee5bf08e1d5a6f181]

KERNEL_FMT [raw]

RAMDISK_FMT [gzip]

- Checking ramdisk status

MagiskBoot v17.1(17100) (by topjohnwu) - Boot Image Modification Tool

Loading cpio: [ramdisk.cpio]

! Boot image patched by unsupported programs

! Please restore stock boot image

! Installation failed
[Magisk] madladfromhalifax:
Sony Xperia XZ (F8331)

Good evening!

Got to say, I love the work you're doing with Magisk, it's fantastic.

But I can't seem to get it working.

I have installed the Magisk zip through TWRP (I had some problems with mounting the data partition, but I think I have sorted that.)

Once I rebooted, in TWRP it looked like it installed without any errors, but when I download the Magisk Manager apk and install it, it says Magisk is not installed, and asks me to either download the zip or flash a boot image, which I don't have a copy of.

I 'installed' the v17.1 of Magisk.

Did I need to wipe the dalvik/cache? I think I'm doing everything right, just maybe not in the right order, or with it being a sony Xperia XZ, there may be some more steps I need to do?

Details of phone:

Android 8.0.0

Kernel:

3.18.66-perf-gc0ae215aca79

adriandc@Destiny #2

Sat Sep 8 18:36:19 CEST 2018

Build number: 41.3.A.2.157

Many thanks :)
[Magisk] starbright_:
Sorry for this short question regarding XPosed:

I thought I have to install "Xposed Framework SDK27") that fits for my device (Oreo) in that case.

I did this, but I can't see anything after a successful installation.

After installing the general "Xposed Framework" I get an App-Icon. But open it there is noted

"Xposed Framework 90 beta 3 is installed but not active"

Xposed is (still) not compatible with SDK version 27 ?!?!?

So I have to install both, correct?
[Magisk] valk791:
Hi guys! I have an Honor 8 with stock emui 8.0 version L09C432B521. I rooted it fine with a modified image as described in this thread. After that I installed xposed from Magisk Manager that put the phone in bootloop up to I flashed the stock boot image. When I flash the modified .img the phone stucks in bootloader, even if i flashed the Magisk unistaller.

I followed this guide to unistall the xposed module but for both zip the istallation fails. Since I installed just the xposed module i want to clean up everything is wrong and start from the beginning.

Thank you in advance
[Magisk] jcmm11:
No you don't need to wipe dalvik/cache.

What phone?

What Rom?

Is that a custom kennel?

Also you can easily get a copy of your current boot image. Make a TWRP backup of your boot partition. Rename the backup to boot.img

You now have a copy of your boot image.
[Magisk] defens23:
Verizon Pixel XL - Can't get Chase Pay app to work. Detecting root.

Hi. Was wondering if anyone else has gotten this app to work since the 9/2018 security update. In the past I would install the security update.

Get into the phone.

Delete the app's cache and data.

Delete the app in Titanium Backup.

Reboot phone.

Install the app but would not open it.

Open Magisk Hide and hide the app.

Make sure Magisk Manager was hidden also.

Reboot phone.

Open app and log in.

After this update this process no longer works. If I didn't need it for my fuel rewards card I wouldn't even bother fighting to get it to work. Google Pay and my regular Chase app both work. It's just Chase Pay.

Thanks.
[Magisk] jcmm11:
Only thing I can suggest at the moment is try a Canary build.
[Magisk] gfgfgfgf:
safetynet is ok，but I can't use google pay(Inductive, but the display is too fast to remove the phone)，Does anyone have the same situation?
[Magisk] :
I'm on Magisk 17.1 with Pixel 2 XL and Android 9.0

However, with mentioned modules it worked finally. There were no hiccups.
[Magisk] 鱼龙浅跃:
It crash when type in search
[Magisk] gothicVI:
Great Bug report... Nice logs...

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Magisk] lordseth666:
My magisk v17.1 stop working when type 2 word in search download module? Why?
[Magisk] starbright_:
I get a "parser error" after installing Magisk while restore apps via TitaniumBackup. Is this a known issue? How to avoid that?
[Magisk] :
Magisk Manager v.5.9.1 crash when typing words in 'Downloads - Search'

here is logcat
[Magisk] kakawait:
I've same issue on:

Lineage OS 15.1

OnePlus One

Default kernel (in mean delivered by Lineage) and Franco Kernel both crash on typing words in 'Downloads - Search'

Tested with Canary https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337 still crash

Tested with embedded TugaPower version 17.3 (because works on TugaPower ROM which is based on Lineage OS, so I said why not trying)

Clear cache and data from App Magisk Manager does not fix
[Magisk] el_muerte:
Same problem here. MM v 5.9.1, Magisk 17.1, LOS 14.1. Deleting Repo cache does not solve this issue.

MM crashed reproducible after entering the second chararcter in search field of download section.
[Magisk] lordseth666:
My stock rom to, i think everybody crash when typing
[Magisk] kakawait:
I remove what I said about ROMs so. Because I flashed some many time this week I may be confused.

BTW from what I saw on code regarding [MENTION=6166972]MayKiller[/MENTION] logs it seems to be related to repo missing description that we tried to apply 'toLowerCase()' but seems to be 'null'.

So maybe is due to recent repo addition on Magisk repo listing
[Magisk] gothicVI:
Logs people! It's not that hard ffs...

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Magisk] valk791:
Can someone please help me out?

Inviato dal mio FRD-L09 utilizzando Tapatalk
[Magisk] bafforosso:
Hello,

I'm also experiencing crashes when as soon as I enter a 2nd character in search field in Magisk Manager Downloads section. Please find logcat here : https://pastebin.com/8yvZceVe

I'm using Google Pixel (sailfish) on Android 9.0 with Magisk Manager 5.9.1 and Magisk 17.1 installed.

Why swearing? You could have simply replaced it by "please" and I'm pretty sure you would've gotten more logs that way. (I know people should provide logs, not ask for ETA, etc... but Respect goes both ways and barking orders will not make people do as you wish)
[Magisk] martyfender:
That problem was just fixed with the latest Canary build update, released a few minutes ago.
[Magisk] guest4711:
The newest unofficial builds (5.9.2r11] have the fix(es) included...
[Magisk] aouerfelli:
Just to be sure, is this the search typing crash that was fixed?

FATAL EXCEPTION: main
Process: com.topjohnwu.magisk, PID: 10030
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase()' on a null object reference
at com.topjohnwu.magisk.adapters.ReposAdapter.filter(ReposAdapter.java:134)
at com.topjohnwu.magisk.fragments.ReposFragment$1.onQueryTextChange(ReposFragment.java:101)
at android.widget.SearchView.onTextChanged(SearchView.java:1250)
at android.widget.SearchView.access$2100(SearchView.java:98)
at android.widget.SearchView$10.onTextChanged(SearchView.java:1776)
at android.widget.TextView.sendOnTextChanged(TextView.java:9754)
at android.widget.TextView.handleTextChanged(TextView.java:9851)
at android.widget.TextView$ChangeWatcher.onTextChanged(TextView.java:12509)
at android.text.SpannableStringBuilder.sendTextChanged(SpannableStringBuilder.java:1263)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:575)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:506)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:36)
at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:843)
at android.view.inputmethod.BaseInputConnection.setComposingText(BaseInputConnection.java:616)
at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:396)
at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:85)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6669)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:495)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
[Magisk] sejmand:
Is this a magisk problem?:

I'm on op6 and magisk 17.1 (OOS 5.1.11 and twrp 3.2.3 blue)

I have wifi Problems: can't connect to google services, but on cellular mode it works.

---------- Post added at 05:23 PM ---------- Previous post was at 05:17 PM ----------

04-24 05:43:50.779 658 658 I Magisk : ** Initializing Magisk
04-24 05:43:50.949 658 658 I Magisk : * Creating /sbin overlay
04-24 05:43:50.953 658 658 I Magisk : * Mounting mirrors
04-24 05:43:50.953 658 658 I Magisk : bind_mount: /sbin/.core/mirror/system
04-24 05:43:50.953 658 658 I Magisk : mount: /sbin/.core/mirror/vendor
04-24 05:43:50.953 658 658 I Magisk : bind_mount: /sbin/.core/mirror/bin
04-24 05:43:50.954 658 658 I Magisk : * Setting up internal busybox
04-24 05:43:50.989 665 665 I Magisk : Magisk v17.1(17100) logger started
04-24 05:43:50.989 661 661 I Magisk : Magisk v17.1(17100) daemon started
04-24 05:43:50.998 661 668 I Magisk : ** post-fs-data mode running
04-24 05:43:50.999 661 668 I Magisk : * Mounting /data/adb/magisk.img
04-24 05:43:51.065 661 668 I Magisk : * Running post-fs-data.d scripts
04-24 05:43:51.065 661 668 I Magisk : * Running module post-fs-data scripts
04-24 05:43:51.065 661 668 I Magisk : * Loading modules
04-24 05:43:51.067 661 682 I Magisk : * Starting MagiskHide
04-24 05:43:51.067 661 682 I Magisk : hide_utils: Hiding sensitive props
04-24 05:43:51.069 661 682 I Magisk : hide_list: [com.google.android.gms.unstable]
09-18 15:48:03.963 661 1093 I Magisk : ** late_start service mode running
09-18 15:48:03.963 661 1093 I Magisk : * Running service.d scripts
09-18 15:48:03.963 661 1093 I Magisk : * Running module service scripts
09-18 15:48:37.943 661 682 I Magisk : proc_monitor: com.google.android.gms.unstable
09-18 15:50:06.349 661 682 I Magisk : proc_monitor: com.google.android.gms.unstable
[Magisk] kakawait:
I confirm that Canary version from https://raw.githubusercontent.com/topjohnwu/magisk_files/master/canary_builds/canary.json fixes issue from 'Download - Search'

(Just install APK no need to re-flash Magisk)
[Magisk] erayrafet:
I got a pretty weird glitch on MM 5.9.1 and Magisk v17. 1 on my Huawei P8 on Android 6.0. Here's a demo video: https://drive.google.com/file/d/1NTt4Cvyc8wwqawend3GQrd2U8uD4kJXl/view?usp=drivesdk

This is the error:

09-18 20:37:34.786 W/InputEventReceiver(21380): Attempted to finish an input event but the input event receiver has already been disposed.

Logcat: https://drive.google.com/file/d/1HaC82QyqW-C5uEtby-KHqxeHE7z6XOba/view?usp=drivesdk
[Magisk] prologikus:
Any way to prevent files, flashed through TWRP, being replaced by stock one, without installing magisk or other root methods ?

I have a Oneplus 5T and i'm struggling to install a google camera fix patch for my device but in the same time keep my phone root-free because i use a bank app called "BT pay" which detects magisk even with magisk hide, even with magisk manger hidden/uninstalled, i tried many times, can't get it done with root.

I keep tried to install TWRP (even if it being replaced by stock recovery evey boot) and install my gCam fix zip from there. but it seems like those files are replaced by stock files TOO...

I also tried to prevent TWRP from being replaced by deleting "install-recovery.sh" from /system/bin but this didn't work either.

Note that i have the official rom (oxigenOS beta 15) for my phone (official kernel too) which have Treble support, (the TWRP/gCam fix are also treble versions).
[Magisk] Quintuple:
Pixel 2 XL 9.0 Sept not booting

Pixel 2 XL 9.0 Sept patch: Just flashed the latest TWRP, it works. Trying to flash Magisk 17.1 through TWRP, it won't boot and boots back to TWRP. Uninstaller lets it boot normally.

Also have to use ElementalX kernel, because touch won't work in TWRP with stock kernel.
[Magisk] Badger50:
After you flash magisk, try flashing your custom kernel again. If that doesn't work, flash the magisk uninstaller, then immediately flash magisk 17.1 :good:
[Magisk] :
lol! Canary build are fix this problem! Working fine. thx
[Magisk] uaevuon:
Why modules are downloaded in /Download not /Magiskmanager?

This is so annoying. Is this a bug or intended thing?
[Magisk] Lughnasadh:
Its intentional. Helps to hide root from certain apps that look for the Magisk Manager folder.
[Magisk] iluvatrix:
so in this case is it still necessary to keep the Magisk Manager folder?

thanks
[Magisk] Fif_:
No, you can safely delete it.
[Magisk] sutowjy:
Why when i try to download module i got notif procces error.

I used Android 9 and Magisk 17.1
[Magisk] xunholyx:
Scrolling up before posting stuff like this is always a good idea.
[Magisk] HsHTCsen:
Hi, I'm getting the crash when typing in Downloads section so I'm just posting a log in case it helps fix it.

HTC M9 Lineage 15.1 Oreo Magisk Manager 17.1

Will try Canary version

Edit: maybe not, can't find the version. Will wait for fix. Thanks