yashsingh1/xdaforums huggingface dataset:
[Magisk] MTheUnexpected:
Magisk

i keep get this error, help please

- Copying zip to temp directory

- Installing Riru_-_Core-v19.6(28).zip

- Current boot slot: _a

- Device is system-as-root

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: module.prop

*************

Riru - Core

*************

*******************

Powered by Magisk

*******************

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: customize.sh

- Device platform: arm64

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: verify.sh

- Extracting Magisk files

sh: true: unknown operand

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: module.prop

sh: true: unknown operand

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: module.prop.sha256sum

- Verified module.prop

sh: true: unknown operand

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: post-fs-data.sh

sh: true: unknown operand

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: post-fs-data.sh.sha256sum

- Verified post-fs-data.sh

sh: true: unknown operand

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: uninstall.sh

sh: true: unknown operand

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: uninstall.sh.sha256sum

- Verified uninstall.sh

sh: true: unknown operand

- Extracting arm libraries

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: system/lib/libmemtrack.so

sh: true: unknown operand

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: system/lib/libmemtrack.so.sha256sum

sh: true: unknown operand

- Verified system/lib/libmemtrack.so

- Extracting arm64 libraries

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: system/lib64/libmemtrack.so

sh: true: unknown operand

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: system/lib64/libmemtrack.so.sha256sum

- Verified system/lib64/libmemtrack.so

- Extracting zygote_restart executable

unzip: can't change directory to '/data/misc/riru/bin': No such file or directory

Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip

inflating: zygote_restart_arm64.sha256sum

sha256sum: can't open '/data/misc/riru/bin/zygote_restart_arm64': No such file or directory

*********************************************************

! Failed to verify zygote_restart/zygote_restart_arm64

! This zip may be corrupted, please try downloading again

*********************************************************

! Installation failed
[Magisk] ktmom:
That looks like a busybox failure. I'm assuming you're flashing through recovery. Is TWRP current?

You really should provide device and ROM information.

Have you tried patching your boot.img through the Magisk manager and flashing it?
[Magisk] MTheUnexpected:
i have patched using boot.img through Magisk and flashing and then using the patched file and usin fastboot.

Pixel 4XL build number QQ1B.191205.012.A1
[Magisk] Ralf_AM:
I tried it and disabled USB debugging but the problem remains - the app refuses to start because of rooted phone.
[Magisk] Didgeridoohan:
[MENTION=7319963]MTheUnexpected[/MENTION]

That's a module issue... Report it to the Riru developer.
[Magisk] warrencoakley:
Pixel 2 XL and Android 10
[Magisk] zgfg:
Btw, there are more similar tips - maybe your app recognizes some other app that requires root (like Titanium or so)

Have you read the Guide (every second day somebody asks the similar and links are posted in answers) about root detecting issues
[Magisk] warrencoakley:
Nope not related to that.

---------- Post added at 09:45 AM ---------- Previous post was at 09:22 AM ----------

It seems John pushed a new Magisk Manager and that has fixed the issue. Pheeew!
[Magisk] disqo1:
Hello, has anybody managed to use Magisk with Santander UK app, no matter what I try it detects root, it seems like they have some sort of advanced system
[Magisk] Jens956:
Idk if it's magisk, if it's a module but i have frequent software freezes. Samsung S9 with only a few modules like bixby button remapper, viper4android and some others.

But it Literally crashes my device every few days :/

Is there any way to find out where the crash comes from?
[Magisk] Wolfcity:
First step would be deactivate all modules, check if the freezes/crashes will stop and if yes activate one module after the other until you've got the one causing problems. If the issues persist even in magisk core only mode a log from a crash would be helpful.
[Magisk] Jens956:
That's the issue. Where does android (or samsung) store their crash logs?

Oh snd the crash happends every month, so ensbling 8 modules would take me 8 months lol
[Magisk] ktmom:
Getting logs
[Magisk] chocolote4444:
Is anybody using Bromite Webview Module? I can't get it to work on latest version. Will send logs..
[Magisk] ktmom:
It might be easier for the module developer to find if you post in the module thread.
[Magisk] Kelynaw:
So I'm guessing

Either it hasn't been solved or I'm the only poor soul having issues. Inseenalot about magisk hide... Well mines very well hidden because it won't load correctly... I am very curious why is the output patched boot image smaller than the original because this is frankly what I seek to remember was my problem when I first got the phone. Has the magisk-patched.img file always been roughly half as big as the original boot.img and I never noticed over the course of several years and a half dozen phones?
[Magisk] martyfender:
It is normal for the Magisk patched boot.img to be much smaller than the original. I believe empty space, or padding is removed.
[Magisk] Lord Sithek:
If you are on Android 10, its probably Viper. I had the same issue. Have you applied qfix from the Telegram group?
[Magisk] Kelynaw:
back to root one then

Well that was my last great idea. Over tried redoing the img., I've tried downgrading magisk, the framework, even my firmware and always with the same result. The only thing I haven't done aside from TWRP is wipe the user data because I really don't want to try and pieces it back together. Any suggestions are welcome at this point. I also tried the lenovo Moto smart assistant and the Motorola version of the same, Lenovo says my device isn't compatible. The other said it was successful but there aren't any changes so I'm at a bit of a loss.
[Magisk] Didgeridoohan:
You can possibly get a boot log by placing a script in post-fs-data.d. Take a look here:

https://didgeridoohan.com/magisk/MagiskHelp

It all depends on how early the loop is though... If there's a saved log you can grab it from TWRP. And the Magisk log as well, but make sure you're in the latest Canary Debug build when testing stuff like this...

But, before doing anything, have you checked in your device's forum? I did a quick search through there and found these two threads that has details about rooting the G7 Power (which i of course have no idea if they'll help you, since I'm not familiar with your device, but they're a start):

https://xdaforums.com/g7-power/how-to/versions-moto-g7-power-supra-magisk-t3923857

https://xdaforums.com/g7-power/help/apparently-im-able-to-root-phone-t4031415

If you're having issues with a specific device, you're sometimes better of trying to find help in the device specific forum...
[Magisk] Jens956:
The logcat is over 5000 pages, finding some Fs there will be a pain..

---------- Post added at 10:51 AM ---------- Previous post was at 10:50 AM ----------

Im on Android 9 though
[Magisk] guest4711:
Yes, but no problems here on Android 6 til 9. But all devices I use are ARM (32bit, neither ARM64 nor X86).
[Magisk] ktmom:
The kernel log after a crash is 5000 pages long?

You're assuming that your problem is a Magisk problem. Without filtering logs immediately after the problem, that would be just a guess. On A9 I've had freezing issues, until I removed all updated to the Google app. Nothing, apparently, to do with the apps in use during the freeze.

You can either put some effort into helping troubleshoot your issue and reporting it to the correct developer to be addressed, or wait and deal with the nuisance until someone else does ¯\(^_^)/¯
[Magisk] Jens956:
No it has logs since december 2019, and the crash happend like 8 days ago but i cant seem to find out why. I see a ton of E in the logs from that start though
[Magisk] slave200701:
Sorry, double post
[Magisk] slave200701:
Hi [MENTION=9350973]All[/MENTION],

Since 2 weekly updates I can't install magisk "unsupported /unknown format" . Do I need an other recovery?

Xiaomi Mi 8 android 10 QKQ1. 190828.002

Thanks in advance

Gesendet von meinem MI 8 mit Tapatalk
[Magisk] ktmom:
There's this discussion in your device forum from today.
[Magisk] Hailtek:
I suck, and when Magisk updates come out I always wait. I want to update my device. LAST time I did this I updated either Magisk, or the Manager first. I THINK it was the Manager, then it wouldn't let me update Magisk because the Manager was too new? I think. It could be the EXACT opposite way. So I want/need to update both Magisk and Manager. I'm on 19.3 and 7.32. Which should I update first so I don't bork myself over like I did last time.
[Magisk] Didgeridoohan:
Currently no such limitations. The current Canary (bleeding edge) Manager, which means it will be in the next stable release, requires Magisk v19 or newer, so you're good. Updating from the within the Magisk Manager will always update the Manager before Magisk.

Even if there'll be a situation like you describe it is still possible to update through the old Manager (manually):

https://didgeridoohan.com/magisk/Magisk#hn_Unsupported_Magisk_version
[Magisk] Devil saini:
After flashing magisk in my miui 11.0.2 my phone goes to bootloop. I have tried different versions too but nothing works any solution
[Magisk] Aj_$tyle$:
FreeCharge is able to detect root after being select in Magisk hide , devloper please help.

Attaching screenshots.
[Magisk] Didgeridoohan:
App is asking for too many permissions for me to want to test it, but have you also repackaged the Manager with a random package name and new label?

More details and tips:

https://didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps
[Magisk] Aj_$tyle$:
Repackaging Magisk manager by random name helped me to solve the problem.

Thanks G. :good:
[Magisk] ktmom:
You don't provide very much information about your device, but start with looking at the link in the post 3 posts before your's.
[Magisk] Silderimh:
After flashing magisk 20.2 (or 20.3) on my Zenfone2 (ZE551ML, Android 6) and relaunching my smartphone, it starts the start-up phase, optimizes the applications, launches the applications ... then goes into bootloop just before the PIN code request!

If I uninstall Magisk and release version 20.1, it works again.
[Magisk] zgfg:
If you can boot with v20.1, try by disabling all modules before updating and booting with v20.3
[Magisk] Cedoresti:
hello, i have one question, what its diferent: i use edxposed, the edxposed work well, and all module work, but, you have possibly to add access root or not, what its the diferent ? im using note 9. ok first, edxposed ask access to root only if you go option to restart phone from edxposed, if you don't use the setting for restart phone from edxposed never edxposed ask magisk for access root. but Edxposed work and module.
[Magisk] zgfg:
For every Magisk module you install, you must restart your phone/tablet to let it start working
[Magisk] Cedoresti:
you are in this world ?

someone possible answer my question ?
[Magisk] RPM99:
How do I run an installed Magisk module

Hi,

I installed one of the Magisk modules on my rooted Firestick 4k.

It shows up in the main settings/apps slider but there is no Icon for it in My apps area so that I can run the module?

Any help would be appreciated,

Thanks,

Steve
[Magisk] jcmm11:
What module? Many of the modules don't have (or need) icons in my apps.
[Magisk] RPM99:
Script Manager

It shows up in Manage Installed Apps but not in My apps so I can run it.

Was just looking for a unix script editor
[Magisk] Didgeridoohan:
I'm not quite sure what it is that you're asking, but I'll give it a shot. I'm no expert on Xposed/EdXposed (haven't used it since Android 6), so take this with a grain of salt...

First of all you need to differentiate between the Xposed/EdXposed installer/manager and the modules. The installer/manager usually only needs root to do a reboot, just like you say (that's a system thingy, so escalated privileges are necessary). Xposed modules usually work fine without root access, since Xposed/EdXposed works the way it does (unless there's an accompanying app that need the extra privileges).

Lastly, you're probably better off asking about this in the Xposed forums. There you'll find better help and it's a topic better suited for that part of XDA anyway (it's borderline off-topic here).
[Magisk] keyasm:
Magisk 20.3

Manager 7.5.1

Magisk hide not showing on side menu and turning itself off when closing manager
[Magisk] Salvio66:
I installed the latest stable version, the icon in the programs menu is gone, is there a magisk manager ??
[Magisk] Silderimh:
... Unfortunately the result is the same
[Magisk] Kelynaw:
originally had

Hey thanks for the suggestion I've got some info on TWRP as a last resort kinda deal. But originally I had checked in the Moto forums and couldn't find much and didn't get much response. With the g7 power it boots exits the point where fastboot could still be accessed I guess entering what would be post on a PC, visually flashes on my phone a colorful M (now, but long story and irrelevant) and would then briefly blink of and on and then continue to finish loading by doing it's famous hello blah blah. With my loop I'm only just getting my splash screen and it loops, but only back to the start of the splash screen near as I can tell, then have to reflash stock boot, or what is stock for my phone now, could never get metro firmware to work again. I fairly good with a PC but linux I'm lost, so pulling logs would be a literal step by step. Sorry. Really seems I'm only suffering because I refuse to wipe my phone. Ive reflashed the entire os 2 or 3 times now but removed the line from the mboot file that would wipe user data. But thank you again.
[Magisk] bigl.lv:
Hello, i can't hide magisk on redmi note 8 pro

[youtube]f1mknFsvheg[/youtube]
[Magisk] bigl.lv:
Hello, i can't hide magisk on redmi note 8 pro :crying:
[Magisk] Aj_$tyle$:
What do you mean you can't hide?

Please explain in detail so somebody can help you.
[Magisk] bigl.lv:
[youtube]f1mknFsvheg[/youtube]
[Magisk] Didgeridoohan:
Check here:

https://didgeridoohan.com/magisk/Magisk#hn_Cant_hide_the_Magisk_Manager
[Magisk] guest4711:
My screenreader app does not support video input, sorry. Please describe in plain English what you are trying to do and what happens.
[Magisk] slayerking:
Same, Once it boots and the lockscreen shows up it locks up then reboots over and over. Only way to stop it is installing 20.1 again, 20.2 & 20.3 both do it.
[Magisk] promeneur:
Is there other app which reacts as "Vianavigo" ? It would be a first approach of the problem.

Also, i think to change the fingerprint to the original fingerprint of my Samsung S2 Plus. I understand as "fingerprint" all which identifies the "Samsung S2 Plus stock rom" .

I found the fingerprint here https://desktop.firmware.mobi/device:1198/firmware:9290

But now what I must do ? I tried to understand magisk modules props but it's too techie for me. knowledge miss me.

thanks
[Magisk] promeneur:
ok i found the file build.prop in system partition of twrp backup of my samsung s2 plus stock rom before i install Los rom.

If i open it i found 2 parts :

- build properties

- system properties

can i substitute during vianavigo install build.prop ?
[Magisk] nikosrs4:
has anyone issues modifying system files with 20.3 on A10? I tried for example a simple file creation in /system/ and it doesn't let me with any file manager. The same when I tried for example to delete the bootanimation.zip.
[Magisk] m0han:
magisk (canary) v20.4-b39f4075 (20302)

i'm on magisk (canary) v20.4-b39f4075 (20302).

i was able to delete bootanimation.zip.

device: 'X00TD'. rom: colt-os v5.5 dt. 11.01.2020.
[Magisk] knojap:
After installing 20.3 Screen Mirroring doesn't work anymore. No connection to my LG TV. Without Magisk it is working?
[Magisk] Badger50:
With the advent of A10, our system files are now read only. TJW has a good write up on this topic :good:

https://github.com/topjohnwu/magisk...a0/notes.md#new-system-as-root-implementation
[Magisk] nikosrs4:
thank you!

maybe it's new in latest beta from oneplus as it used to work..
[Magisk] Tom_Scott:
Hi,

Im using a Samsung S4 Active device. Its running with LineageOS 14.1 and TWRP is also installed. The phone is rooted by SU. Can I install Magisk on that device? If yes, are there something to be take care during Installation process and/or before? Will I loose all my Apps, contacts and settings when I install Magisk?

Thanks

Tom
[Magisk] ktmom:
Yes, you need to unroot first, and maybe reinstall the stock (original to the LineageOS rom you're using) kernel (boot.img). See this document, though you'll need to scroll down the page a bit.

You will not have to factory reset, so there's not reason you should lose any data. But of course, it never hurts to back up first, just in case.
[Magisk] dcarvil:
Magisk should work fine on that device, but you will have to remove your current root first. You should not lose anything, but have a full backup just in case something goes wrong. I do a nandroid backup from TWRP, Google backup, and Titanium Backup, and copy the Titanium Backup files to USB or another computer.
[Magisk] Tom_Scott:
Thank you. I hope I understand it right way with this boot.img. I have to look for it in the LineageOS zip-file and flash it, right?

Of couse, I will do a full backup with TWRP.

Thank you

Tom
[Magisk] dcarvil:
Yes, boot.img is in the LineageOS zip. Make sure the zip is the same version as your installed LineageOS, though.
[Magisk] davidnw:
In the last couple of releases, Magisk reboots (that is reboots by Magisk) to the battery recharging screen, and I have to use the power button to restart to system. On the Galaxy Tab S2, Linageos 16, Android 9.
[Magisk] ktmom:
Please take a look at Asking for help/reporting bugs
[Magisk] faven:
I want to root my coolpad cool 1 and superuser...pls help?
[Magisk] Wolfcity:
Here's everything you should know about rooting with Magisk:

https://www.didgeridoohan.com/magisk/HomePage

Check your devices forum for things like TWRP, firmware etc.

https://xdaforums.com/cool1

Here's a guide for example:

https://xdaforums.com/cool1/how-to/guide-easy-twrp-root-using-qfil-eui-t3781171
[Magisk] davidnw:
There are no random reboots. The problem is with Magisk initiated reboots after upgrades or new modules.
[Magisk] ktmom:
They would be a "random" reboot even though it's repeatable for you. Without logs, it would be guesswork.

I should also have suggested you try the latest canary. If the problem continues, include also the Magisk logs from after the update that caused a reboot.
[Magisk] rmedure:
LG G6 - Confirmed v20.3

Thanks much for sorting this out!! Confirmed v20.3 working on LG G6 (US997), stock ROM, no modules. Cheers!
[Magisk] DiamondJohn:
I have a daily phone running v20.3, and a dev phone running 20.1.

On my dev phone(v20.1), I have two logs residing at:

/cache/magisk.log

/cache/magisk.log.bak​

On my daily(v20.3), these two files are not present. I checked the change-log and did not see what it may be.

Should these files also be present on my daily running v20.3?
[Magisk] Didgeridoohan:
There has been no change regarding the Magisk logs, so those files should definitely be present on your device.

What do you see if you enter the logs section of the Magisk Manager?
[Magisk] DiamondJohn:
As you would probably be expecting, Its empty on the device, with no logs in the /cache path, and full on the one with the log files.

One bit of extra info, I found these files when I was looking at the logcat on boot thingy from your page https://www.didgeridoohan.com/magisk/MagiskHelp by [MENTION=8340552]jenslody[/MENTION] and [MENTION=4487388]jcmm11[/MENTION] (on the device that it does have the files on)

The above script did not work as is (I dont remember if it was for both devices or not), so I made a "few adjustments" to get it to work, and from memory (ie I would need to confirm that this was the sticking point), if I changed the "temp" log destination directory from /cache to /data/cache, it worked. Again, I am going off memory there, but it does make the /cache mount point a little more suspect, on that device. I just did a quick check, and they both have the same owner, group and permissions.

And more info:

Device 1, has logs, Unofficial LOS 17 (android 10) on Samsung S4, Magisk 20.1

Device 2, No logs, Unofficial, my build, HavocOS Oreo on Samsung S4, Magisk 20.3

---------- Post added 18-01-2020 at 00:18 ---------- Previous post was 17-01-2020 at 23:21 ----------

Oh, almost forgot, the one its working on (ie the logs, I got a script to work on both), is a very early build (Android 10) that is SELinux permissive, while my daily (Oreo HavocOS, where there are no logs) is SELinux enforcing.
[Magisk] Didgeridoohan:
[MENTION=5417899]DiamondJohn[/MENTION] The /cache mount point sounds like a possible culprit somehow. Wish I could give any clue as to how...

One thought though:

Some ROMs/setups have been known to clear out /cache during boot. Maybe that's something to look at? (Just throwing out ideas here...)
[Magisk] bsports666:
can somebody help me? i try all the solution but no success, i read many sites about the problem but no sucess.... i have mobile banka app that detect ROOT... i have last magisk installed and try everything but ROOT is detected , i also have 2 more apps that working perfect with no detecting ROOT.... so the app is https://play.google.com/store/apps/details?id=com.hrc.eb.mobile.android.hibismobiledh&hl=en , you can try for ROOT withot login just try demo.... i have android 6.0 custom ROM

and here is my LOGCAT file
[Magisk] Didgeridoohan:
No issues getting to the demo here, after adding the app to the Hide list. Have you repackaged the Manger with a random package name and a new label?

More tips:

https://didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps
[Magisk] bsports666:
Sure i give some random name "face"...

This is strange how is possible that work on your phone.... I try everything
[Magisk] Didgeridoohan:
Well, there's this in your log:

RootBeer: LOOKING FOR BINARY: /sbin/su PRESENT!!!

The app uses the RootBeer library and for some reason it's detecting su. I see the same on my device when I haven't added the app to the Hide list, but once I do, I get this:

RootBeer: LOOKING FOR BINARY: /sbin/su Absent :(

Install RootBeerFresh, add it to the Hide list and see what result you get.

Also what result do you get if you run this command in a terminal:

su -c readlink -f /sbin/su

And lastly, your Magisk log might show if there's anything going on with Magisk's internals.
[Magisk] jhebtio:
YouTube modules or app are not appearing on screen even the installation shows its successfully installed, both the 2 version of the modules. I installed it by recovery and magisk installation. Anyone have any idea how to fix this. My device is redmi note8, im using orangefox recovery.
[Magisk] bsports666:
Thanks for answer...

Yes i was install RootBeerFresh and add it to magisk hide...

And yes the log from before was without adding app to magisk hide...i was been confused because i was try everything...

if i run :su -c readlink -f /sbin/su , i got : /sbin/magisk

My Magisk log show nothing ...

and if i run app RootBeerFresh i got checked everything OK...

Here is new log with magisk hide
[Magisk] Didgeridoohan:
Yup...

RootBeer: LOOKING FOR BINARY: /sbin/su Absent :(

Then everything is working as it should with MagiskHide and the app is likely looking for something else, something that isn't Magisk related (like other root apps, directories, prop values and such).