yashsingh1/xdaforums huggingface dataset:
[Magisk] bunklung:
Thanks for this. I found this too:

https://github.com/topjohnwu/Magisk/issues/1870

So I tried to just do a restore and it worked based on the patch I did from /sdcard. It looks like it then create a folder in /data called magisk_back_sh1. Within this folder, the compressed stock, boot.img.gz, exists.

I did find a file ,sbin/.magisk/config, that included:

KEEPVERITY=true

KEEPFORCEENCRYPT=true

RECOVERYMODE=false

SHA1=5b542994cc2331c161e311ad2f8424a177a514d2

I have two phones. My second phone I just flashed the patched boot image from fastboot. I could not find sbin/.magisk/config. I suspect that I may be able to add this above. It does seem they that implemented a change to backups of stock images.

---------- Post added at 11:33 AM ---------- Previous post was at 11:26 AM ----------

Okay, well boot isn't encrypted. I did read that a while ago, but I never flashed my custom recoveries if I could avoid it. I would only boot to them from fastboot as of recently. So you might be able to use adb sideload within TWRP. I can't seem to get it to boot on my phone :( I even tried a fresh download. I guess I could try another PC. I guess I really just want to eliminate a bunch of steps if I could.

fastboot boot C:\Users\XDA\Downloads\twrp-3.3.0-0-blueline.img

Sending 'boot.img' (65536 KB) OKAY [ 1.525s]

Booting FAILED (Status read failed (Too many links))

fastboot: error: Command failed
[Magisk] nvrmndryo:
Hi everyone, I've recently rooted my phone and while using Magisk hide, it's unable hide it from Google Pay and few other bank apps.

Any help?
[Magisk] amg314:
To hide bank apps use https://xdaforums.com/showpost.php?p=81709773&postcount=38232
[Magisk] nvrmndryo:
Thanks,it worked.

Do i have to do this step everytime i select new app?
[Magisk] cxvbxcbxcvbxcb:
I did that (verified 1., stopped the Ingerss app in the settings app, restored magisk, renamed magisk again [also changed the app name different from "Manager", which was not possible before], cleared app data of ingress, restarted the app ) and nothing changed. After "full uninstall" of magisk and removal of the (renamed) Manager app Ingress does still complain, it seems to complain even faster than with magisk installed. I don't understand, how this is possible - if Ingress does not refuse to run on LOS at all?! Funny thing though: No issues with the mainstrem-brother Pokemon Go ...
[Magisk] thinklost:
Hello All!

I've encountered a problem that appears to be affecting other users installing Magisk on the SlimLP ROM for the Fire HD8 2017 (Douglas) found here @ XDA which runs Android Lollipop 5.1, and have also posted a request for aid there as well, the problem is as follows:

After Clean Flashing the new ROM everything works perfectly fine, until I install Magisk; then whenever I press the recent apps button (a square) the recent apps briefly opens followed by a crash of SystemUI that says "Unfortunately, System UI has stopped."

Things Ive Tried:

-Clearing the Cache of SystemUI, the Home UI (SlimLauncher), and all other apps manually

-Clearning the System Cache and the Dalvik Cache.

-Force Closing SystemUI and resetting it.

Nothing works. I reinstalled the Rom and confirm the issue only begins the first time I press the recent apps (square) button after having opened Magisk.

The only advice I've thus far been given on the other thread is to "try older versions of Magisk and see what happens";

If relevant: I also use the module 'MagiskHide Props Config' and 'Busybox for Android NDK'.

Is this the right place for me to post this issue? Thank you so much for your time and thoughts,

-T
[Magisk] Wolfcity:
For all

Ingress

users struggling after the latest update:

The culprit in this case are the TWRP folder/s.

My steps:

- If not already done update to the latest magisk stable 20.3 (canary doesn't help here). Earlier builds may work too.

- Hide Magisk Manager with a random name.

-Check with Rootbeer Fresh app (playstore) if everything is green. (naturally rootbeer has to be on the hide list).

- Safety net check in magisk, both (cts und Basic integrity) have to pass.

- Put Ingress on the hide list.

- Rename (or if not needed anymore delete) TWRP folders, I named them TWSX (check internal and external storage, maybe there are TWRP folders on both).

- Optional: Rename files and folders with "magisk" into magic or whatever.

- Reboot.

If you use TWRP furthermore rename the folders temporary back to TWRP before doing a backup or restoring one.
[Magisk] amg314:
Yes, of course))
[Magisk] T0mu:
Hi to all magisk devs.

i had an interesting experience with a banking app but I

do not want to publish in the forum useful information that could be fixed in a newer release.

first:

no matter what I do the app doesn't work with magisk or magisk manager installed.

the only way to make it work is rename magisk manager to something different AND restore image (thru uninstall button), rhen reboot.

and it works.

any other way - > complains about a 'possibly rooted device' and wont pass the splash screen.

interesting thing is ( probably an overlook of developers and that's why I am not posting in forum more info) : app dumps a log file with a lot of info about the guessing game it makes...

if some recognized magisk devs are interested i can send you the file and more info about it.

by the way, magisk is really a great tool! :cowboy:

and thanks to topjohnwu
[Magisk] Didgeridoohan:
It does sound like a ROM issue, but that's just a guess that could be completely wrong...

Best place to post any logs and other relevant information would be on GitHub, and there's already an issue opened for this:

https://github.com/topjohnwu/Magisk/issues/2420

Just make sure you guys don't spam it with "me too" posts...
[Magisk] HippoMan:
"Hide Magisk Manager" fails

I'm using the latest MagiskManager on my Android 10 device (OnePlus 7 Pro running OOS 10.3.0). In order to get Google Pay to work, I am trying the following in order to rename Magisk Manager:

Settings->Hide Magisk Manager

However, this fails with the message "Hide Magisk Manager failed". Is there a way to properly rename Magisk Manager under Android 10?

PS: is there any "surgery" I can do to the files under /data/data/com.topjohnwu.magisk in order to rename Magisk Manager?

.​
[Magisk] tmviet:
Happy Sunday.

How can Hide magisk to any other apk e.g. bank apk ?

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[Magisk] fil3s:
I use the unorthodox way and install the apps I can't hide before magisk. It works..
[Magisk] tmviet:
How do you do ?

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[Magisk] fil3s:
Full uninstall of magisk & magisk managent. Intsall app, give permissions. Should work , just flash magisk again
[Magisk] tmviet:
E.g. before uninstall magisk and magisk manager

Install apk of bank, Give permission and only After I'll re-install magisk [emoji123][emoji122][emoji122]

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[Magisk] ivoe:
Hello,

It seems like magisk is effecting other apps causing black screen when the app is launched and making all system functions traped under the black screen

Oos 10.0.1 OnePlus 7 pro

On full uninstall these apps appear to work fine.

I'd assume the app developers are making it to where magisk or superuser is detected to black screen the device.

I don't know if it's a module (I disabled all of them) but still I'd receive a black screen due to this.

Apps effected

Clash of clans

Call of duty mobile

Old school runescape

And others (I don't use)

Modules installed

Viper4android

Riru

Riru edxposed

Audio modifications

MM

Swift installer

xXx magisk rom for oneplus 7 pro

Edit:

This has happened several times I am working it down to specific modules

Edit:

Change magisk to be a different name

Used hide and hidden a majority of Google and game apps

Reinstalled all modules except xXx

Everything seems to be working fine (at this time)

Will check back in if anything goes wrong.
[Magisk] tmviet:
Ok tks for tell how you've solved.

How change name of magisk, directly from magisk ?

Do you've root ?

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[Magisk] fil3s:
No. The only way I could get an unhidable app to run with magisk installed ,was to totally remove magisk and manager ,install the app, run fastboot flash magisk from twrp . I don't say go and do it, it's just this app won't run (at all) when magisk is installed. Can't guarantee this will work in your app .
[Magisk] Tahir349:
can anyone help

https://xdaforums.com/apps/magisk/how-to-make-magisk-module-replace-files-t4048483
[Magisk] Didgeridoohan:
I tested and had no issues hiding Magisk from that app (using Canary build 20304 and hidden Manager build 274). Magisk can hide from it just fine, but there might be something about your setup that Magisk can't hide (other apps, files and directories on your internal storage, etc) or your system can't utilise the full obfuscation mechanisms of Magisk (usually because of too old Android versions).
[Magisk] Didgeridoohan:
I see a lot of recent posts about how to hide Magisk from apps, and more or less useful tips on how to do that.

Generally it's pretty straightforward, but for those times when it isn't I've collected more than a few useful tips here (for those that have missed it):

https://didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps
[Magisk] ivoe:
Magisk settings

I am rooted
[Magisk] HippoMan:
Thank you!

One thing about this, however: running Settings->Hide Magisk Manager fails with a "Hide Magisk Manager failed" message (I'm running under Android 10).

Does anyone know how to rename the Magisk Manager app? ... maybe using a different utility other than Magisk Manager itself?

.​
[Magisk] rodken:
Maybe this might help?
[Magisk] HippoMan:
Thank you, but I have already tried all of those things. I set selinux to "permissive", and I verified that Magisk Manager is not a system nor privileged app (i.e., it's not located under /system/app nor /system/priv-app).

I guess I have to report this as a bug, as described in those docs.

But again, is there another way to rename any arbitrary app, possibly using some other utility program?

PS: logcat shows the following error when I try to run Settings->Hide Magisk Manager. Apparently, there is a zip file which cannot be opened ...

02-10 12:27:46.727 18901 19035 E e71 : java.util.zip.ZipException: error in opening zip file
02-10 12:27:46.727 18901 19035 E e71 :	at java.util.zip.ZipFile.open(Native Method)
02-10 12:27:46.727 18901 19035 E e71 :	at java.util.zip.ZipFile.<init>(ZipFile.java:265)
02-10 12:27:46.727 18901 19035 E e71 :	at java.util.zip.ZipFile.<init>(ZipFile.java:187)
02-10 12:27:46.727 18901 19035 E e71 :	at java.util.jar.JarFile.<init>(JarFile.java:169)
02-10 12:27:46.727 18901 19035 E e71 :	at a.u81.<init>(:1)
02-10 12:27:46.727 18901 19035 E e71 :	at a.e71.a(Unknown Source:3)
02-10 12:27:46.727 18901 19035 E e71 :	at a.e71.b(:13)
02-10 12:27:46.727 18901 19035 E e71 :	at a.u.run(java-style lambda group:2)
02-10 12:27:46.727 18901 19035 E e71 :	at a.xm1.b(Unknown Source:9)
02-10 12:27:46.727 18901 19035 E e71 :	at a.uj1.a(Unknown Source:10)
02-10 12:27:46.727 18901 19035 E e71 :	at a.gn1.run(Unknown Source:4)
02-10 12:27:46.727 18901 19035 E e71 :	at a.gk1.run(Unknown Source:9)
02-10 12:27:46.727 18901 19035 E e71 :	at a.et1.run(Unknown Source:13)
02-10 12:27:46.727 18901 19035 E e71 :	at a.et1.call(Unknown Source:0)
02-10 12:27:46.727 18901 19035 E e71 :	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
02-10 12:27:46.727 18901 19035 E e71 :	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
02-10 12:27:46.727 18901 19035 E e71 :	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
02-10 12:27:46.727 18901 19035 E e71 :	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
02-10 12:27:46.727 18901 19035 E e71 :	at java.lang.Thread.run(Thread.java:919)

PPS: Never mind. I didn't realize that I was using an older, outdated version of Magisk Manager. "Hide Magisk Manager" works now with the 7.5.1 version.

.​
[Magisk] JudgeDread11:
Try the Canary / Canary debug versions.
[Magisk] fil3s:
I'm using Android 10. I use a pin (idk if that makes my Nokia 6.1 encrypted, it says it is in settings) and a work profile with the island app. Any hints? Thanks for the tip!

Edit: I also have multiple Google accounts logged in
[Magisk] Didgeridoohan:
If you mean that you have the app that detects root in the work profile, that might be why you're having issues. There's a possible bug with work profiles and hiding root: https://github.com/topjohnwu/Magisk/issues/2340
[Magisk] tmviet:
With Lineage OS 14.1 on S4 device, no problem [emoji106]

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[Magisk] Lum_UK:
The Barclays Bank App updated and started detecting root again. It even managed to pop up a root permission prompt despite being hidden in Magisk Hide

Is there a workaround at all?

(crDroid 6.2 (4th Feb 2020), on OnePlus 5T. Safetynet check in Magisk passes)
[Magisk] ktmom:
[MENTION=4657592]Lum_UK[/MENTION]

I have the US version of that app (I can't download your link). For the version here in the US, all I have to do is hide it in Magisk (20.3/7.5.1), then force stop Barclays, clear data and cache. Maybe if you repeat the procedure to hide, including toggling of them on Barclays in the hide list.
[Magisk] Rjhunter007:
I want to root my phone Oppo K1 CPH 1893 please give salutation..
[Magisk] ktmom:
Based on this thread, there isn't much development for your device. You might try following Magisk's installation instructions if you can find a full stock ROM and can patch the boot.img.
[Magisk] bilal91:
if i wanna switch from canary build to stable, do i just flash the stable zip via twrp? (mi 9, android 10)

reason i'm asking is i think the new update (20305) has done something to my phone...i upgraded the magisk manager to the latest one and then updated magisk from 20304 to 20305 and noticed that the android logo on the boot seemed washed out and too bright...and the same was true with all the colours once the phone booted up and also couldn't turn on wifi

tried rebooting and it got stuck on the bootscreen upon which i went into recovery (colours are fine in there) and cleaned davlik and cache and the phone was able to boot but the problems remained (seems rebooting causes the same issue and i've to clean davlik and cache to get it to boot again)...i also noticed the buttons in magisk manager were all jumbled up (as can be seen in screenshot...the colours in screenshot come out as they should though)...the inscreen fingerprint scanner is unresponsive too

i tried reflashing xiaomi.eu rom but the problem presists...any help would be much appreciated
[Magisk] DrUnkeN_TiGeR:
I have a pixel 3xl unlocked. Installed magisk then rooted, installed a few modules, on boot hung on loading screen, flashed without -w, it boots fine but the second I reroot it tries to run the modules again hangs on loading screen. How can I get rid of these modules without flashing and losing everything?
[Magisk] amg314:
In TWRP File Manager delete bad modules folders on the way /data/adb/modules
[Magisk] ktmom:
Are you sure it's not a module you have installed that's causing the issues? Enable Magisk core only mode to test.

Else, flash the uninstaller or flash your boot.img (or recovery.img if applicable). Then install the Canary manager and proceed as normal.

I'm assuming you're on A10 without a working TWRP. You have a few options. There is an ADB commands to disable modules. If you search this thread or the device forum, there is a P3XL device specific modified boot.img that boots in core only mode.

https://www.didgeridoohan.com/magis...agisk_functionality_bootloop_loss_of_root_etc
[Magisk] bilal91:
apparently it is an issure with mi9 and the new magisk canary update...so i proceeded to uninstall magisk and it keeps booting back to twrp everytime i reboot...tried reflashing rom and boot image but same thing :(
[Magisk] ktmom:
Yeah, not enough coffee, I see you are trying to get back to stable.

Clearly you have TWRP installed. This is an A/B device? The fact that you are booting to TWRP sounds like the boot.img is still the modified one. Try flashing boot to both slots. Clear cache. Worse case, start fresh flashing everything and wiping data.

Having TWRP installed is generally a bad idea particularly in A10 causing Magisk and TWRP to both modify the boot.img. We kinda have to evolve with Android and maybe it's better to just fastboot boot TWRP. Though I haven't used TWRP in a year or more.
[Magisk] rodken:
You haven't used TWRP in over a year - how were you able to recover from a catastrophic event without a Nandroid?
[Magisk] avary:
hello, samsung A30 owner here, with magisk Canary Channel - Bleeding Edge Builds. Android 9. today i updated both magisk app and core, and reboot. now my A30 is stuck at download/fastboot mode. any solution? i just wanna save my data on my phone.

edit : on left top there is a error msg says : recovery error validating footer (6)
[Magisk] rodken:
You might have to find a way to restore stock boot image.
[Magisk] ktmom:
I backup app data for a few important apps that Google doesn't handle (Termux, Tasker) and rsync my /sdcard to a local server nightly. I either OTA update or modify fastboot flash factory images. Some settings and the like are managed through a Tasker task I run after rooting. And while it took a little practice, I find recovering from a clean flash pretty straight forward.

It's possible there is a module conflicting. Or maybe it's not compatible with your device. Both situations were discussed in the last 4-5 posts.
[Magisk] avary:
yes, im thinking about flashing only stock boot image(i have kept one in my pc), but read other places that i have to wipe and flash whole stock firmware. wanted to see other advices here .. thanks .
[Magisk] stormy1777:
same thing here, updated to Magisk Canary build 20305, and Android 9, Redmi 7A started to REBOOT after 2 minutes of run-time, no WIFI, and many things not functioning. Phone would not hold solid, kept rebooting after 2 min of run-time and no wifi or way to enable it.

There were other changes done at the same time, so took a while to figure what the root cause was, eventually, the phone got wiped in TWRP, and managed to recover from a backup, then did the magisk update (not yet knowing), and boom, issue started happening, not sure HOW, but somehow managed to revert back to previous build 20304, and now phone is stable.. Folks be careful..

This is also reported on this thread:

https://xdaforums.com/showpost.php?p=81743841&postcount=2918

I think the previous version can be obtained here: https://github.com/topjohnwu/magisk_files/commit/1c243f27834858542fd508be48ab9a1575bd3a3e

not sure how to revert to prior version.. will until next update...

Stormy.
[Magisk] rodken:
The latter is a more viable solution.
[Magisk] avary:
is there anyway to pull a backup before flashing full stock and wipe data? thanks in advance
[Magisk] ktmom:
I have never not been able to recovery just flashing the stock boot.img. That said, I know nothing about Samsung devices.

Magisk only modified the boot.img. So unless there is some feature that trips do to a modified boot.img that resides elsewhere, I don't see why a complete flash is needed.

If you can get to recovery and use ADB, then you can pull files from your internal storage.

This is all device specific and I'm sure you will get much better answers in your device forum.
[Magisk] rodken:
Have you tried to see if your device will respond to the 'adb pull' command?
[Magisk] avary:
hi, flashing twrp and later flashing patched boot image saved my phone.
[Magisk] DrUnkeN_TiGeR:
i should have noted i have ran this multiple times and it does nothing it still sits at loading when i reroot
[Magisk] ktmom:
Have done what? Several things were mentioned, plus the linked document. Did you remove the modules?
[Magisk] DrUnkeN_TiGeR:
i have ran this adb wait-for-device shell magisk --remove-modules multiple times and when i reroot it just sticks on loading
[Magisk] wangdaning:
Are you on Feb or Jan image? Tulsadiver made a boot image that boots into core only, not sure if he has updated for Feb, but he has one for January.
[Magisk] lulonen:
I bricked my phone after updating magisk with slots method. Is there any option to solve this without factory reset?
[Magisk] DrUnkeN_TiGeR:
I'm on feb
[Magisk] Wolfcity:
Reflash your stock boot image (or recovery.img, depending on your device).
[Magisk] lulonen:
Thx. Already tried to but doesnt know slot A or B so i made it for both ;-(. Can't change active slot also

usage: htc_fastboot [-h] [-v] [-V] [-s <serial number>] [-d | --force-resend]

htc_fastboot: error: unrecognized arguments: --set-active=a
[Magisk] ktmom:
Not trying to dampen you looking for help here; I just want to point out that your device forum will have and give specifics for your device.
[Magisk] JimZiii:
I'm already using rclone but neither rclone or fbind seem to work for creating a symlink. I misspoke when asking about bind because binding a folder copies the files, making them take up space on both locations. I want to use this to save space which is why i need symlink.

I've come across a few apps that either don't let you access files from the sd card or choose the sd card as download location.

So I'd like a symlink on my local storage where i can access sd card files in a specific folder and even save files to that location and have it saved on my sd card instead.

Cloning the folders could still be useful here but i don't have the storage needed for that.

Any help or just pointing me in the right direction where i could get the help would be appreciated
[Magisk] ktmom:
Maybe this stack exchange discussion will help.
[Magisk] wilsonhlacerda:
Read the rclone Magisk module description, it can do that. Their main example is with cloud access, but I've already tried with the "local" approach (read rclone website) on an external SD Card and it worked fine.

fbind Magisk module also can do that (but may have problems with current Magisk cause lack of maintenance; developer intend to work on it soon). Read its instructions, XDA thread.

Apps2sd by Vicky also can do that. Read its documents, faq, XDA thread.
[Magisk] wangdaning:
I suppose you could try to fastboot boot tulsadiver's core only boot image from January. Worst case it does not boot and you are just back to where you are.
[Magisk] Infoport:
When I try to install Magisk from Magisk Manager, I only get two options -- no "Direct download"

How do I resolve this?

using Magisk Manager 7.5.1 on Teracube One with an oem provided patched bootloader
[Magisk] Soumy1234:
Just to be sure, Magisk spoofs bootloader unlock status, right? I remember when I unlocked the bootloader of my OP7Pro, the option became greyed out. I think this happened after flashing Magisk, but now I can toggle the option. I'm a bit worried about this since this is my first non old Samsung device.
[Magisk] JimZiii:
Thnx, I'd seen that thread before but only read OP which solution wasn't what i needel

After reading the whole thread i found the problem, I've previously been trying to place the symlink in the emulated path to the local storage. The actual locations and root explorer was all i needed.

Well, that and supposably global namespace but it seemed to work either way when creating the symlink so I'm not sure how important it is, but i changed namespace just to be sure.

Thnx again
[Magisk] JudgeDread11:
Sorry for ot.

As far as I understand it, bind doesn't actually copy the files it only makes a 'permanent link' to the location. Because the system can't tell the difference in some cases it doesn't count the available space correctly.
[Magisk] salomaoa:
I want to uninstall magisk (restore image, not completelly remove) in order to update my ROM and keep root.

However, when I press "restore images" I get a message saying that there is no stock backup!!

I have an unpatched boot.img file in my computer. Can I put it in my phone so that magisk can find it?

If yes, where should I put it (path)?

Thank you

Enviado do meu HD1910 através do Tapatalk