yashsingh1/xdaforums huggingface dataset:
[Magisk] Didgeridoohan:
What do you mean when you say you restored a TWRP backup to a non booting stage? Did you do a reset of the device at any point? If so that's likely why you're now seeing the setup wizard rather than your previous setup...

If all you would have done after finding that the device wouldn't boot was to flash a stock boot image to your device, nothing should have been reset. Only thing that should have happened would be that Magisk no longer would have been installed.
[Magisk] Didgeridoohan:
I took a quick look on your device's forum and it indeed looks like a troublesome device to root... MTK devices often are. There doesn't seem to be much traffic in those forums, but that would probably be the best place to get help with this.

Other than that all I can say is that it would be a good idea to be a lot more detailed when asking for help (if that's what you're doing). "I can't root" doesn't really say much...
[Magisk] Didgeridoohan:
From my test it seems to work fine. The app force closes when it detects Magisk, so I'm suspecting you might not have hidden the Manager (repackaged it with a random package name and custom app label). Take a look in the Manager settings.
[Magisk] jenslody:
The latest version works fine on my J5 with Bootleggers Q, hidden Tan2Go-app and repackaged Manager.

Tan2Go has to be in internal storage, like any app in Magisks hidelist.
[Magisk] Velcorn:
Pixel 3a, manually updated to the March security patch through patching the factory image. Flashing the patched boot.img (7.5.1) ends in a bootloop.
[Magisk] RZGM01:
Flashed the zip file with TWRP but Magisk Manager still said Magisk isn't installed

I flashed the zip but Magisk manager still said isn't installed, tried to patch the boot image but didn't work
[Magisk] undert0w:
Same here.
[Magisk] levone1:
This is working for me on Alcatel TCL phone, mtk, locked bl, no r/w access to system - https://xdaforums.com/android/development/amazing-temp-root-mediatek-armv8-t3922213/post79626434 - maybe worth a try...

Which brings me to my question:. Using the method posted above, root access can be gained on a locked mtk device, using Magisk, but only up to v. 18.1,

So, 1)is there any place to find downloads for module versions that will work on 18.1, and 2) maybe there's something someone here can do to help bring support to newer versions...?

Thanks

BTW - I know that with locked bl and no system r/w, most modules won't work, but a few will...
[Magisk] rodken:
Use the Uninstaller for the applicable version, reboot recovery and try again.
[Magisk] selemine:
Maybe, but so far i only think i did reset the dalvik cache which should not have these side effects.

Where would i find the old applications and their settings if they are part of the backup?
[Magisk] ktmom:
The data partition portion of the nandroid.
[Magisk] DiamondJohn:
logs.

logs.

logs.

https://www.didgeridoohan.com/magisk/MagiskHelpBugs
[MENTION=4667597]Didgeridoohan[/MENTION] if its already in your signature, you should keep that displayed while in this thread.

Another way is to use the app I build (GUI based instead of setting up scripts)

https://xdaforums.com/android/apps-games/app-temefi-comprehensive-documentation-t3806260

You can find it under the menu at:

Magisk>Logcat of Boot>Enable Script>/data/cache>/data/user/0>300 seconds>30 seconds>1

There are toast at each step explaining what each of the above choices mean

And you can then find the results from a boot OR a bad boot from TWRP in "/data/user/0"
[Magisk] RZGM01:
I tried several time, even with older version but still not work. This happened since I downgraded my phone to Nougat

---------- Post added at 02:51 AM ---------- Previous post was at 02:49 AM ----------

I tried several time, even with older version but still not work. This happened since I downgraded my phone to Nougat, I didn't like Oreo updates it used too much RAM and 85% CPU most of time

---------- Post added at 02:53 AM ---------- Previous post was at 02:51 AM ----------

I tried several time, even with older version but still not work. This happened since I downgraded my phone to Nougat, I didn't like Oreo updates it used too much RAM and 85% CPU most of time

---------- Post added at 02:55 AM ---------- Previous post was at 02:53 AM ----------

I tried several time, even with older version but still not work. This happened since I downgraded my phone to Nougat, I didn't like Oreo updates it used too much RAM and 85% CPU most of time
[Magisk] undert0w:
Had to get home first and be reasonably conscious for that to do it via USB ;)

Anyway, this morning I flashed the patched img again, logcat capture during bootloop:

https://drive.google.com/file/d/1uztDbNLh6_L7RznVr12Bfuqz-83PmQPH/view?usp=drivesdk
[Magisk] Terry 2177:
viper4Andriod
[Magisk] RogerF81:
Same here!
[Magisk] undert0w:
Thanks, sir! Looks right you're right. Flashed the patched image again but booted with a core only image (kudos to Tulsadiver) and disabled all of my audio mods (felt like pulling my teeth), including V4A. After that the patched image booted just fine.

Edit: ok, so that was too soon. Actually Magisk remained in core only mode the full time :) As soon as I turn that off I go back to the bootloop. Will do another log for it when I can.
[Magisk] DiamondJohn:
Just to be clear to yourself and others, I know to do it, and how to get the logcat, but I will not be reading and deciphering it, so anyone? feel free to step in;)
[Magisk] wangdaning:
In core only remove all modules (not disable, remove) and try. Also, if you can boot that means the phone is still ok. If you can boot, patch a new image with core only off and flash that. Check if you have root and reinstall modules one by one.

I will add that when using boot.img on the phone it is sometimes useful to use "fastboot boot boot.img" to see if it works. This is especially true in a bootloop situation.
[Magisk] adkilla:
[Deleted]
[Magisk] doggydog2:
Checking for updates

I'd like Magisk Manager always show root status, version before trying internet connection. Make that connection really just optional.

history:

Before, it was worse, i couldn't do anything unless internet was available. It hurted the process of privacy enforcement (stay offline until security and privacy plugins are applied). It regurarly hanged there, if i turned on wifi it wouldn't detect it (historical experience with many mobiles), so have to kill it first. Before online, no status was displayed, so the user doesn't know if it's actually working and what version is there.

Now it's slightly improved - all the checking is skipped if connection is off. Like WiFi and mobile turned off.

Still it hangs there when there's no internet but a connection is on (before signup to Wifi hotspot, before VPN starts).

And still it can't recover from that status - have to kill the app.

I'd suggest to 100% isolate the display of status / version from online status.
[Magisk] adkilla:
Experiencing this too!
[Magisk] misteurz:
Christmas day!

Envoyé de mon SM-T810 en utilisant Tapatalk
[Magisk] BodhiBrock:
So I followed the instructions, everything seems in order but AP says it can't verify my Android version.
[Magisk] geek85:
for all users who came to magisk for safetynet reason: Magisk officially moving away from Safety Net bypasses

the v7 is not anymore your solution.
[Magisk] TheSpaceManatee:
Really? So what's the point of magisk now? v6 didnt work for me either as I have the same problem with the guy above. I managed to get magisk working and root disabled but safetynet still cant be bypassed.
[Magisk] loserskater:
My guess would be because [MENTION=4470081]topjohnwu[/MENTION] didn't create Magisk to bypass Safety Net. It was a pleasant side effect.

Think about Xposed. The main program just lays the groundwork, it doesn't really do anything on its own, you need modules to do all the system modifications. That's what Magisk will be. It will be the interface and developers will create modules to do the actual work. I'm sure there will be a Safety Net bypass module.
[Magisk] crester:
Hi,

in Spain just launched a CashBack from ING Direct (officialy named TWIPCash)

Installed and still detected root
[Magisk] hanschke:
does this work with android 7.0?
[Magisk] Didgeridoohan:
Anyone else checking the new v7 thread every five minutes, hoping those download links will suddenly appear? :)
[Magisk] BodhiBrock:
Bump
[Magisk] cawpin:
Suddenly, I have no access in Magisk Manager. Root is off and I cannot turn it on. It was working a few days ago, I haven't done anything. I rebooted to see if that restored access; it didn't. My PHH SU app still says Magisk has access, but root access for everything is unavailable.
[Magisk] KaMyKaSii:
You installed the modified zip of Phh's SuperUser available here and not updated it with the official after? And wipe dalvik cache
[Magisk] flindaman:
removed
[Magisk] cawpin:
I installed Phh's SU from Play Store afterward like the instructions say. And I did wipe Dalvik after flashing.

Edit: I just booted to recovery and wiped Dalvik/cache again and my access is back. So weird.
[Magisk] KaMyKaSii:
Here sometimes i lose root access along with several apps forcing close. Solves only wiping dalvik cache and optimize again, so I recommend you do so
[Magisk] RusherDude:
What does this mean?

I hope this doesn't mean that the toggle/capability to enable/disable root on magisk to jump safetynet is removed now.............
[Magisk] Didgeridoohan:
Already posted just a few posts ago, but:

https://github.com/topjohnwu/MagiskManager/commit/9614ec4c6a725bb553109847727bcb7d29e53415
[Magisk] radii:
Looks like safetynet hiding feature is being removed :(
[Magisk] Captain_Throwback:
It's not needed, as it's not a complete solution that works with Xposed.

suhide works fine for hiding SafetyNet, and [MENTION=1915408]phhusson[/MENTION] is also working on a solution. Since the root devs are already working on solutions, there's no need/reason for Magisk to incorporate it too. That was never the purpose of Magisk.
[Magisk] jonnynorris:
Barclays banking help

Can you help me with settings/order of installation please? Is xposed required for barclays to work?

I have the slider working in the Magisk settings but barclays still says rooted!

I have Samsung I9195 running CM13.

Thanks
[Magisk] repulse:
Is there any link to the post where he stated this, i'm curious ?
[Magisk] Zilla0617:
I'm suddenly having an issue passing Safety net on my pixel 3xl. The cts portion reads false, I updated to the new March security update today. I've tried everything, clear cache of both play store and Google services, hid play store in magisk hide. Rebooted phone numerous times. I've downloaded the magiskhide props config and changed my fingerprints to pixel 3xl same issue. I even reflashed my device with March update with wipe function and still not passing safetynet. Please help. Thanks
[Magisk] Ivymike52:
Post deleted
[Magisk] Archangel:
Yeah I just noticed this too out of the blue,,,nothing added or taken away. I manually flashed the March OTA to my Pixel 3a a few days ago and all was well. Woke up today and for some reason it fails cts profile?
[Magisk] Ivymike52:
i cant patch AP file anymore?

What's happened?
[Magisk] Didgeridoohan:
Not entirely sure what you're asking for, but for what it's worth I see no issues with running the Manager without internet connection on the Canary 277 build.
[Magisk] Didgeridoohan:
Yeah, that started happening recently for a bunch of devices. We've been discussing it a bit in the MagiskHide Props Config thread. So far nobody has it figured out.
[Magisk] Didgeridoohan:
That is to vague a question to be able to answer properly.

If I'm going to make a guess, you might have the Canary 277 build installed and that has a bug with patching image files (the Manager will force close). If that's your issue you can either wait for the fix (no ETA) or install an older release of the Manager.

If that's not what you're talking about you're going to have to be more detailed.

And by the way, all those times you tried to post and got an error, the post did go through. Lots of duplicates... :D
[Magisk] Shararti1:
Since Last Night Magisk Showing Safety net status as false, as can be seen on Screenshot too. Asked my friends who using different mobiles and ROMs are also facing this issue and some user's aren't facing this issue. I my self have also tried it on many ROMs but it always shows false. What ever Magisk version we try it shows same, so I hope some can tell us what this issue.

thank you.
[Magisk] Mroczny3:
Same issue today, probably Google changed something
[Magisk] samhhmobil:
Me too, it's the same. :(

Nevertheless, Google shows the device as "certified".

samhhmobil

PS:

Magisk 20.3

MagiskManager 7.5.1

LOS 16.0 (Android Pie)

Xperia XA2
[Magisk] hyborian:
That certified will disappear later and be changed to Not Certified, like mine.

I think there are many affected, they just don't know it yet, many don't go checking SafetyNet often.
[Magisk] crakos:
Same here...

cts profile = FALSE

Any solution? thanks in advance to all comunity
[Magisk] martyfender:
SafetyNet passes fine on my Android 6 and 9 devices.
[Magisk] MeowDotEXE:
Same here. Pixel 3a XL running the March 2020 security update.
[Magisk] ricko999:
Same issue here. Noticed my CTS turned to false this week as before it was flagged as true. Couldn't use my McDonalds app as Play Store flagged my Mi 9T Pro as not verified. Something must have changed from Google's side. Hopefully a new fix can be released soon.
[Magisk] dunderball:
I am seeing the same as others. On Pixel 2 (with old, December update) the ctsprofile check is false. On Pixel 3a (with latest March update) also the same thing. Does not seem to be rom related.

---------- Post added at 02:33 PM ---------- Previous post was at 02:31 PM ----------

My banking apps still work and I haven't seen any errors in my Google Pay app.

---------- Post added at 02:33 PM ---------- Previous post was at 02:33 PM ----------

My banking apps still work and I haven't seen any errors in my Google Pay app.

---------- Post added at 02:33 PM ---------- Previous post was at 02:33 PM ----------

My banking apps still work and I haven't seen any errors in my Google Pay app.

---------- Post added at 02:34 PM ---------- Previous post was at 02:33 PM ----------

My banking apps still work and I haven't seen any errors in my Google Pay app.
[Magisk] galaxykeks:
hey there, i have a banking app which reports the root even after activating magisk hide.

Is there anything what i can do?
[Magisk] RandomPooka:
Yes
[Magisk] Ch3vr0n:
Google definitely did something. I'm running stock rom with magisk root March '20 rom. Nothing else, no modules (except systemless hosts), no Xposed,

Cts is false lol. Go figure. Was fine on Feb.
[Magisk] 5m4r7ph0n36uru:
Actually this is literally the first thing I did, when I saw the false atate on my Pixel 2 XL running PixelDust with March SP. But switching the fingerprint using your module doesn't restore ctsProfile to true on my Pixel 2 XL as well. So Google definitely changed something else.
[Magisk] Didgeridoohan:
The post you quoted was about the AT&T March update for the Pixel 4. It was later pulled since they actually had messed it up...

The issue you (and many others) are seeing now with CTS failing is unrelated to what I posted since it doesn't seem to have anything to do with the device fingerprint. There's probably some new check that Google has added that we haven't figured out yet.
[Magisk] zgfg:
Yes

I have two phones rooted with Magisk (last Canary), Huawei P9 with stock Oreo and Xiaomi Mi 9T with Q

I regularly check once every few days and so far, both have been SafetyNet green (P9 last time reinstalled and rooted a year ago and SafetyNet was always passing; Mi 9T also SafetyNet ok since rooted last month)

All of a sudden, since today morning, both rooted phones fail SafetyNet - I am sure I did not (re)install/reconfigure any of them last ten days or two weeks, hence definitely not during the last few days since they have both last time checked and passed the SafetyNet
[Magisk] Wolfcity:
What is the security patch level of your Oreo device?

I have two Motorola devices, Moto G5+, stock Oreo, security patch from 10.2018, Magisk 20.3 and a Moto G 2014 running Ressurection Remix Pie, latest magisk canary, security patch from 09.2919. Both devices are passing cts and basic integrity.

Seems that most devices failing safety net are on a more actual security level, that's why I'm asking.
[Magisk] undert0w:
I tried full uninstall already once with no luck. Did it again now and noticed that it left some module files. Deleted those manually, then I could turn off core mode only and boot ok. Turns out it was the ClockMod that cause the bootloop. I have everything except that up and running again :good:
[Magisk] ipdev:
Hi all.

Not sure if I've followed the last handful of posts correctly but, to add to the ones regarding SafetyNet..

I am getting odd results testing.

So far the only thing I see is older devices (bootloaders??) are still passing CTS.

My eyes are drying out looking at log(s) and prop files looking for a temporary workaround (maybe solution?) that works for me.

There are now three things that keep me guessing.

- Bootloader hide.

Not sure if it is a problem or symptom.

- SELinux

Shows experimental using Rootbeer Fresh on a completely wiped Pixel 3aXL running Google stock on both slots. Bootloader unlocked, no other modifications.

Devices I have that pass CTS include selinux in some kind of ro. [ro.boot..] [ro.build..] ..

This appears to be removed from newer devices ??

- Is there a new SafetyNet check.. vbmeta for example.

[ro.boot.vbmeta.device_state]: [unlocked]

Still looking, just wanted to put this out there incase it might help someone else looking to solve this new CTS puzzle.

Cheers all. :cowboy:
[Magisk] gvsukids:
When I try to patch boot.img from March security update in magiak, the app closes upon pressing "let's go"
[Magisk] ktmom:
From earlier in the thread:

Your choices would be, wait for a Canary update, or use stable
[Magisk] RandomPooka:
Or download the image and flash it in TWRP (or whatever recovery you may use}
[Magisk] zgfg:
Sudden breaking of SafetyNet/CTS Profile as of this week is not caused by a 'recent' OTA or update in Security Patch - my Huawei P9 Android 8 has Security patch: Dec 5, 2018, and my Xiaomi Mi 9T Android 10: Jan 1, 2020
[Magisk] crakos:
Else, What happened?

I can't use some apps while cts is false :(

I tryed install full rom via tpwr and reinstall magisk again with no luck...
[Magisk] zgfg:
Something changed on the Google side (update in Google Play Services or their backend)- SafetyNet API is part of Google Play Services Framework, but it also connects to Google backend servers

https://developer.android.com/training/safetynet/attestation
[Magisk] crakos:
Well, while the cts=false, Is my phone in danger of someone stealing data like banking?

ok thanks, I hope magisk will can fix this soon.
[Magisk] samhhmobil:
I have to add:

Even with "cts-profile: false" it says "SafetyNet status: Success" and the device is listed by Google as "certfied", even today.

But:

With old HTC One M7 (S-OFF), I see no problems:

cts-profile: true

SafetyNet status: Success

Device is certified

Magisk 20.3

MagiskManager 7.5.1

LOS 17.1 Unofficial (Android Q)

The Bootloader is from the latest GooglePlayEdition of Summer 2015.

samhhmobil
[Magisk] zgfg:
Nobody will steal your phone :)

But after the next update of Google Playstore, it will likely show Device is not certified and Google payment services (if you use) and certain apps will probably no more work

Btw, it could be interesting if we check - us who no more pass CTS/SafetyNet against those who still pass, our versions and update dates of Google Play Services and Playstore (see attachment - btw, installation year 2009 is meaningless - disregard that date), by

https://play.google.com/store/apps/details?id=com.weberdo.apps.serviceinfo
[Magisk] hyborian:
Mine is exactly same version number as yours, except last update is 29/Feb. info : My cts not passing.
[Magisk] Ssnurzel:
The versions of my phone.

CTS also not passing.
[Magisk] TheXclusive814:
I was on the January OTA and February and March didn't populate for me via OTA. I ended up skipping February in manual flashing the March via PC
[Magisk] Bonito77:
Cts profile false on

mi9t pro Android 10 , op6 Android 9 ,

Htc m8 android 7 , samsung tab s Android 7.
[Magisk] martyfender:
on my Android 6 and 9 devices that are still passing cts profile, I am on the latest play services beta offered through the Play Store for each device.

Onn 8, Android 9 tablet:

Google Play Services 20.06.16

Google Services Framework 9-5272573

Google Play Store 18.9.22

Nextbook Ares 8A Android 6.0.1 tablet:

Google Play Services 20.06.15

Google Services Framework 6.0.1

Google Play Store 18.9.22
[Magisk] HippoMan:
Detecting and fixing bootloops caused by Magisk modules.

I have an idea about adding some protection to a Magisk-enabled device in order to detect and fix boot loops that occur during the loading of Magisk modules. I wrote a post about it here in a different thread: https://xdaforums.com/showpost.php?p=81953489&postcount=380

Here is a copy of the pertinent details from that post ...

Is there a way that some code outside of a Magisk module itself could check for a boot loop? I'd like to be able to install something that does the following during system startup ...

pre-magisk-startup.sh:

#!/system/bin/sh
[[ -e /path/to/lockfile ]] && {
rm -f /path/to/lockfile
# disable all Magisk modules
# write a message that sits on the screen for a little while, saying that Magisk modules have been disabled
# reboot
}
touch /path/to/lockfile

post-magisk-startup.sh:

#!/system/bin/sh
rm -f /path/to/lockfile

I'd like to cause pre-magisk-startup.sh to always get run during system boot, immediately before any Magisk module initialization takes place.

Then, I'd like the normal Magisk module initialization to begin.

And finally, I'd like post-magisk-startup.sh to get run immediately after all Magisk module initialization has completed.

What do I need to do in order to get these two scripts to run in this manner, possibly during the late_start processing? Is this even possible?

Thank you very much.

.​
[Magisk] JudgeDread11:
From the Canary thread:

For me this worked.
[Magisk] zgfg:
Does it really fix SafetyNet/CTS if you test with independent SafetyNet checkers from PlayStore, not only with SafetyNet check integrated to the Magisk Manager:
[Magisk] Philnicolls89:
Thanks mate, worked for my s10+ ?
[Magisk] rxk:
Is anyone tested magisk root on new galaxy s20 ultra?
[Magisk] hfam:
This all exactly. Everything. Pixel 2, Magisk 20.0, Q on March 2020 patch. Nothing changed through the March update, then within days I had a weird event where my phone restarted (got "restarting" in the middle of doing something innocuous, I didn't trigger it)

I then freaked and immediately checked MM on reboot, sure enough ctsProfile fails red. My Play Store says I'm not certified. I tried clearing cache and data, let it donuts thing, comes back not certified. I tried reapplying the March update and reflashing boot.img, and reinstalling magisk_patched.img, nothing works to resolve it, ctsProfe is still red. I only use Magisk Core to get root, etc. No modules, etc.

I believe also something changed but that untriggered-by-me random "restarting" thing has me spooked maybe it was Play Store/Play Services doing something I didn't catch but the net/net is I have failed ctsProfile and Play Store no longer certified. Super bummed out. I'm confident the master brains behind Magisk will get it sorted, I just don't want a bunch of **** breaking in the meantime. Fingers crossed.
[Magisk] _mysiak_:
Isn't this inbuilt protection enough? It still requires a PC, but it should allow you to remove all modules in case of bootloop due to one of them. As the best practice, I always update Magisk or install modules only when I'm around a PC with working ADB & Fastboot so I can restore the phone if it crashes.

"adb wait-for-device shell magisk --remove-modules"
[Magisk] lyong1390:
好东西。能完全替代xposed框架及其插件的功能就完美了。

Google Translate translation: