yashsingh1/xdaforums huggingface dataset:
[Magisk] JohnRogers23:
Recovery-less Allwinner tablet lost root

I have a weird Allwinner A83T tablet (brand name Deerbrook). Through an annoying chain of tools, starting with KingRoot, and switching to SuperSU, I got Magisk on it as a root solution, which worked great despite there not being any custom recovery for the tablet.

Until the update to 13.1 and now 13.2. I installed the Magisk Manager and when it loaded up it tells me I'm not rooted. I still got the notification to update Magisk itself on /boot, which it somehow seems like it did. Now when I start root apps it sometimes asks me if I want to allow permission, but when I click yes, forever, it doesn't actually work.

I know this is a shot in the dark, but can anyone give me any advice for how to proceed? Or how to get a custom recovery for this thing so I can manually flash Magisk?
[Magisk] callumbr1:
I'm running the latest magisk manager... however I keep getting a notification of an update and to update?
[Magisk] rogirogi:
Is it ver5.0.6?
[Magisk] callumbr1:
5.0.5
[Magisk] KFloyd:
lost root,12.0, Nexus 5x

So I foolishly enabled busybox in Magisk and immediately lost root. Looking online everyone is just saying 'disable busybox in settings' but that's not an option:

I've deleted cache/data, I've reflashed Magisk (without uninstalling, just tried to reflash over existing), rebooted repeatedly with no luck.

How can I get root back with 12.0 on my 5x? Do I need to uninstall then just reinstall? I've got a NExus 5x running PureNexus.

(and no, not ready to jump to 13.1 yet after reading all the issues 5X users are having, 12 has been working ok until now)

Thanks in advamce

-F

(WTF? sorry for the huge screenshot)
[Magisk] rogirogi:
Latest Magiskmanager is 5.0.6.

You must update it.
[Magisk] theandroidguy:
Deleted post
[Magisk] Gerard15799:
Ermmm..guys...what does that mean?
[Magisk] Artim_96:
That means some Asus phones will refuse to boot when unsigned bill l bootloaders are loaded. If it doesn't affect you ignore it, if it does find out if your phone allows other signing keys than Asus' own ones. If so there probably is done guide or even changed version of Magisk in your devices forum to flash the boot image with Magisk's changes and your own signing keys.

Since there is no way to tell which devices need singed boot images and whether they support custom singing keys there won't be support for that in the near future.

Chainfire posted some explaination over on his G+ page about that topic. Check that out for further information
[Magisk] DallasBelt:
If you own an ASUS Zenfone 2, you can check this thread.
[Magisk] Gerard15799:
Oh no...I own an Asus Zenfone 2 laser...but it's ok I understand it now...I just wanted to ask what that means..
[Magisk] divineBliss:
SuperSU is currently not supported by the newer Magisk versions :( . If you search SuperSU in this thread, you will find references to this.
[Magisk] Hassanator:
Is it just me or checking safetynet is taking ages to do? I don't know why it's so much slower compared to before. I still pass it but it takes forever to check.
[Magisk] serajr:
First time playing with magisk (13.2) and nothing seems to work (attached pics and logs)!

- Xperia stock 7.1.1 firmware

- Patched stock kernel (disabled dm-verity and sony ric)

Any tip/advice would be great... thanks in advance!
[Magisk] sorashinici:
I used apps2sd foldermount and it's worked with systemless root on magisk 12.0(without install foldermount module) but when it's update to magisk 13.2 any foldermount doesn't work ? Please fix it (i tried magisk 13.1 but bootloop)

My device xiaomi redmi 3s thanks :)
[Magisk] JohnRogers23:
Thank you for your reply. I am aware and I no longer use SuperSU on my tablet, but I had to use it as a step to get Magisk originally. I don't know if trying to root it again will help me get Magisk back.
[Magisk] adekboreanaz:
Go to developer option, enable USB debugging and enable install via USB
[Magisk] :
Hi guys. My oneplus X running aospa 7.2 is not passing safetynet with magisk 13.1. i don't know what to do to get it to work. Magisk hide is enabled btw
[Magisk] SynaTech:
13.1 didn't work for me, however 13.2 is working great, thanks for the fast fix!
[Magisk] gentetonta:
Hi. First of all thank you for the attention. I tried to disabling Magisk Hide and still didn't work. I checked the FAQ and your page, but it was impossible for me getting the J5000fn drivers for doing a logcat, because I'm now using ubuntu (I think that the solution to this is pretty simple, but I can't see it :silly:). After that, I put Magisk in 'Core only mode' and Gmail worked then. I'll have more time in the next month, and I will try to fix it. For the moment, it's OK for me.

Thanks again.
[Magisk] Pkt_Lnt:
All you need it this. Getting adb drivers is a stupid windows thing, not needed in linux. :highfive:

apt get android-tools-adb
apt get android-tools-adbd
apt get android-tools-fastboot
[Magisk] Mr. Cube:
Can anybody tell me if the official Viper4Android module works with Magisk 13.2?

Root and safetynet works for me but modules wont work.

Phone: Xperia Z5, LineageOS 14.1

thx
[Magisk] B0nb0n:
Hello, looks like google broke the safety net YET AGAIN (stop fixing it when it's not broken god damnit, google), I have the Magisk 13.2 installed, is there any known fix at this time or will I have to wait for the next magisk update? Thanks.
[Magisk] Tripledrop:
Thank you very much for the advice, I've tried force closing, opening again and it's started working..

Checked again a while later, back to saying rooted but no root permission..

Cleared app data, then all ok but would not pass safetynet (it did before).

Went core only, rebooted, still no safetynet

Unchecked core only, rebooted, now passes safetynet but back to saying rooted but no root permission lol

Already tried reflashing

Annoying but I guess not the end of the world!

Edit. So I tried uninstalling and reflashing 13.2.. Now can't seem to pass safetynet at all :(

Basically, every time I load magisk manager I get a different result, but now always fails safetynet
[Magisk] donk165:
So it seems I cannot pass safetynet tests now. I'm on the 13.2 version. I managed to play pokemon go only about 30 mins ago but now it is saying my device is incompatible with it and in magisk it says I don't pass the safetynet tests. Has there been a safetynet update or something?
[Magisk] shadavis08:
Magisk clears safety net sometimes when I clear repo cache but then it'll fails again later. Like right now its failing.!?
[Magisk] Xennet:
Yup....

SAFETY NET FAILING AGAIN !!!!
[Magisk] RepeatingDigits:
I passed safetynet like 30 minutes ago, but right now it's failing.

Wonder what happened, because all I've done is install some apps.
[Magisk] giovaorama:
Hi to all.

There is a way to definitely disable the addon.d survival script.

On my LG v500 this automatic install cause a bootloop after the update of the LineageOS.

If I delete this script, flash the nightly, boot to Android and then reboot to recoveryvto flash magisk, instead all go well.

Maybe this script can look for a file in the MagiskManager folder and if present then it can quit.

Regards

Inviato dal mio LG-V500 utilizzando Tapatalk
[Magisk] espionage724:
Also confirming SafetyNet isn't passing. However, even after uninstalling Magisk, I still fail SafetyNet :/
[Magisk] tool666schism:
Safetynet failing again. Come on google chill the **** out.
[Magisk] B0nb0n:
It was really a **** move from nitantic to start using the safety net when 99% of spoofers don't even use android phones but use emulators so it doesn't even affect them. But anyway, the Magisk dev usually fixes the safety net pretty fast in my experience, which is really nice of him, so hopefully it won't take too long this time.
[Magisk] donk165:
Yeah same here, I assume I passed the test when I was playing PoGO only about 30 mins ago. But now it isn't working

---------- Post added at 08:25 PM ---------- Previous post was at 08:21 PM ----------

Yeah man, I agree. I only have root for titanium backup and FasterGPS when I change ROMs or get a ROM update. I don't spoof and never have. A friend plays PoGO and can spoof without root. So it doesn't stop the spoofers, it just annoys the tech savvy users who play.
[Magisk] jakito:
Just did a clean flash because I thought it was an error...turns out I'm not the only one not passing safetynet again. Should have came here before ?
[Magisk] :
Yeah looks like we will need a new update. That's fine the dev is very fast at updating so that's fine
[Magisk] InsaneNutter:
Sadly I can confirm Safetynet is now failing. Pokemon Go was working an hour ago, however no longer does.
[Magisk] Motawa88:
This is even worse of a cat and mouse game than ja
[Magisk] fireXtract:
My Nexus 6p on stock Nougat 7.1.2 with Magisk 13.2/5.0.6 is failing safetynet. Same for my HTC One M8 rooted stock.
[Magisk] Didgeridoohan:
No suggestions, sorry... It might be a device incompatibility. See if there's an issue on GitHub for your device and this problem. If not open one and attach a copy of your boot image and the recovery log(s).

Honestly, I've no idea... :D Best bet to figure it out is to capture a logcat from the crash.

Where do you get the boot image? Extract it from your factory image/firmware/ROM.

I think you already got your answer, but here are some more details: https://www.xda-developers.com/psa-...broke-titanium-backup-substratum-heres-a-fix/

Uninstall, reinstall (and clear data for the Manager).

Looks like /magisk is mounted read-only (Magisk log). Previously I've seen users fix that by reinstalling or switching kernels.

It's not been updated for v13+, no... There are workarounds you can use meanwhile... Take a look at post #16317.
[Magisk] theandroidguy:
I'm also using LOS 14.1, I flashed the module but the apk was missing so I manually pasted the V4A apk inside the "magisk/v4a/system/priv-app/ViPER4Android" folder using Root browser and set the permission to rw-r-r, rebooted, installed the drivers and rebooted again
[Magisk] SohamD:
Yes. Same here. Any workaround?
[Magisk] jhobc:
Safenet broken here even when I remove Magisk
[Magisk] coto39:
Same here
[Magisk] Hassanator:
I know I've had the same issue honestly the best solution is to flash the uninstaller and reflash Magisk 13.2 zip, wipe the davlik/cache then reboot system. Once it starts go to Magisk enable core only mode, reboot then go to Magisk try safetynet check, if fails go to settings and turn off then on Magisk hide then try it again (at this point when you click the side menu you should be able to see only magisk, settings and about. Now if you just leave the app and enter it again everything should be back to normal and you pass safetynet. Try that i believe in you :)
[Magisk] InsaneNutter:
Not from what I can gather at the moment, i've tried the Universal SafetyNet Fix and removing Magisk, it seems to fail regardless.
[Magisk] Tripledrop:
Thanks again.. I tried all that, same issue.. However the safetynet issue appears to now be a universal issue, so I'll wait until that's fixed, try the new version, hopefully that'll solve things!
[Magisk] woozie.2007:
I just downloaded the stock zip and i extracted the boot.img from it. I flashed with fastboot or twrp, the same result. You want to say to extract from the phone?
[Magisk] TheWolf59:
yes same problem for me..
[Magisk] Didgeridoohan:
Next step would be to restore your backup from before you started flashing stuff. If you don't have one (which you really should), I'd try to first dirty flash your ROM and if that doesn't work just wipe and start over.
[Magisk] SohamD:
It says not rooted and still unable to pass Safetynet even after uninstalling Magisk :(
[Magisk] woozie.2007:
Thank you sir, i have a backup but is made after i flashed and rooted with magisk v 11.6, so i think is the same problem. I haven't a clean backup. It is possible to changed any files magisk 11.6 and that's the reason for any other version of magisk not works?
[Magisk] atilla88:
Same here, on my nexus 7 2013 and my s7 edge now safetynet fail. It was working perfectly 30 minutes ago
[Magisk] SYnN420:
Same here. Did anyone notice if there was an update for google play services or something?
[Magisk] MusicHeat:
same here
[Magisk] loadie:
I got mine to work by flipping namespace to Global in the manager app
[Magisk] swa100:
Failing here too
[Magisk] Hassanator:
Fair enough sorry I couldn't help

EDIT: My safetynet is failing too now Google must've caught up
[Magisk] Feenfleisch:
The same here too
[Magisk] Didgeridoohan:
SafetyNet checks for root, root apps, Xposed, permissive SELinux, unlocked bootloader and possibly some other thing I can't remember right now.

Honestly... No idea. Tech support over forum is often near impossible. :laugh: It is possible there's been some corrupting of your /data partition.
[Magisk] Thinkofname:
That was a pretty fast update from Google to SafetyNet
[Magisk] MusicHeat:
rip
[Magisk] zeratos:
Can I pass safetynet by flashing boot.img or uninstalling magisk? I am using stock EMUI but I do have an unlocked bootloader. :/
[Magisk] MusicHeat:
I tried both on huawei p10,still won't pass.You need to install stock rom.
[Magisk] windyzje:
Can't also pass safetynet, pokemon go throws "Unable to authenticate. Please try again" message when logging in.

Is it going to be an endless battle between magisk and google? :D
[Magisk] InsaneNutter:
Most likely, it's a shame really as the main reason I have a custom rom is to be current with Android security updates. Sadly more apps are penalising us for this.
[Magisk] big_b0sss:
Very strange, both my lg g3 intl version and Samsung j500fn had magisk. When Google updated safetynet I tried u install zip of magisk. Lg g3 passed safetynet test but j5 wouldn't. Not sure why
[Magisk] nathanchance:
Thread temporarily closed so everyone sees this.

The flood of "SafetyNet isn't working for me either!" posts are not helpful, at all. Please refrain from posting further, it will be looked into. Please do not forget that not passing SafetyNet is 100% NORMAL AND INTENDED when you have an unlocked booloader or running custom firmware. These are workarounds and they will be worked around in turn.

The Flash

Forum Moderator

EDIT: Thread is reopened... I will be cleaning any SafetyNet posts for a while to keep the thread clean for real issues.
[Magisk] paed808:
This isn't a "Safetynet not working post". This is a how to fix Safetynet post.

Someone on the magisk github published a script that you can run that will fix the Safetynet not passing issue. (For now)

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

You can put the script in /system/etc/init.d and use Universal Init.d Enabler and it will run on reboot.

Just a quick fix for now.

pastebin mirror

http://paste.ubuntu.com/25109465/
[Magisk] L.F.B.:
Confirmed working in my 3 devices!

The 4 commands and the file for working on every reboot! ??
[Magisk] crimemastergogo9999:
I am new to this. Should i download as text from pastebin and then place the file in the location?
[Magisk] paed808:
Copy and paste from pastebin, use a root file manager (be careful with root in a file manager obviously!) and create a new text file, name it 95magiskfix or something like that, paste what you copied in the text file, change permissions of the text file to 755 (700 is probably fine also, but I do 755), download Universal Init.d by Androguide.fr from the Play Store, grant Universal Init.d root access, and reboot.
[Magisk] L.F.B.:
Other fix from terminal:

Download terminal emulator from play storeif u dont have one.

Open terminal and paste "su" and touch enter key

Ok, now you have # and super user access.

Now copy and paste the 4 lines commands and enter key again.

resetprop --delete init.svc.magisk_pfs
resetprop --delete init.svc.magisk_pfsd
resetprop --delete init.svc.magisk_service
resetprop --delete persist.magisk.hide

You should see confirmation wen u see ">" symbol.

Now test saftynet sheck will pass!

You have to redone on every boot or use the script file from [MENTION=4549135]paed808[/MENTION] post above with universal init.d app, and will run auto on every boot?
[Magisk] crimemastergogo9999:
Universal init.d says my kernel doesn't support init.d. Do i have to switch kernels?
[Magisk] Bobthahog:
Deleted
[Magisk] Daman5202:
Confirmed! This worked like a charm, thanks for the workaround
[Magisk] Bobthahog:
+1
[Magisk] Bobthahog:
And no you don't have to switch kernels. That is what the app is for. I had tried with Kernel Aduitor and it did not work but I downloaded Universal init.d and it worked perfectly.
[Magisk] SohamD:
More importantly, why does it have to be an endless battle between Niantic and it's legit playerbase?
[Magisk] angelus_kun:
sad, my kernel is not supported im on RR weekly build for MOTO G5 plus potter
[Magisk] joeyfong:
Since 13.2, my hbm widget (https://goo.gl/wQauqa) cannot working with magisk, any one have the same issue?
[Magisk] Pkt_Lnt:
Works fine here as it always has.
[Magisk] ReaperXIII:
- Sony Stock ELF Boot: Please refer to the info when flashing Magisk in custom recovery

What is the info I need to follow? I got a Sony Z2 running ExistenZ MM/EliteKernel V3
[Magisk] joeyfong:
It just popped up and said not rooted or not compatible.
[Magisk] Rush94:
try magisk v13.1

Even I was having the same issue in 13.2

and I flashed 13.1 with the above script everything is working now :D
[Magisk] kavee.gauravjoshi:
Device - Oneplus 2

ROM - RR Unofficial (with inbuilt Magisk for root)

While flashing the ROM, when it comes to flashing Magisk at the end, i am getting following message (copied from the log)

--- Start ---

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

* Magisk v13.2 Installer

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

- Mounting /system, /vendor, /cache, /data

- Device platform: arm64

- Constructing environment

- Adding addon.d survival script

- /data/magisk.img detected!

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

* Magisk v13.2 addon.d

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

- Found Boot Image: /dev/block/mmcblk0p35

- Unpacking boot image

mount: losetup failed 1

mv: bad '/sbin': No such file or directory

MagiskBoot v13.2(1320) (by topjohnwu) - Boot Image Modification Tool

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

--- End ---

Basically even though the success message appears, one of the lines in Magisk installer shows - Unable to repack boot image

So after boot, my modules disappear (tried Clear Repo Cache from settings and still modules don't appear) and saftynet fails (with ctsProfile: false and basicIntegrity: false).

Also, trying to install modules doesn't work. Mobile just hangs on installing module zip through Magisk Manager. I have to restart the device.

What can be causing this?

Here is the link for the complete log from TWRP: https://www.dropbox.com/s/hm05ez0rrx...overy.log?dl=0

I tried removing modules, uninstalling magisk, reflashing. So you might find those logs as well.

Apologies for the long post.
[Magisk] Surfinette:
I tried your method but it doesn't seem to work: I don't see the ">" confirming symbol.

I also installed the init.d script, but safetynet still doesn't pass.

Is this supposed to work with Magisk v12 as well ?

I'm still on v12 (because with my device I will lose data decryption if I upgrade to v13).
[Magisk] alroger:
5. No, shouldn't. I used to have both phh SU and the ROM's SU installed. Just didn't use the ROM's SU. But then you can't Disable Root throught Magisk Manager. Gotta remove all other SU stuff if you want to able to disable root temporarily.

Yes, you can flash nightlies, OTAs, kernels, whatever. Just remember, after flash:

-remove whatever SU comes with the ROM.

-flash Magisk again. (no need to re-flash any Magisk modules).

ie: I was using OMNIROM, and everyday I had a nightly to flash. All I had to do is put the Magisk ZIP in /sdcard/OpenDelta/FlashAfterUpdate and everything would keep on working after my nightly update. (that folder tells the OpenDelta (Omni's OTA app) to flash Magisk after any OTA updates).
[Magisk] SilverSix:
So just like Xposed. Then the process isn't as tedious as I thought. Exodus also has OpenDelta... WAIT YOU CAN DO THAT?!?!?!

I have to manually flash nightly, Xposed, a custom font zip, a custom boot animation, and the APN fix just in case... YOU CAN AUTOMATE THOSE??? omg, TIL.

I'll track down exactly what Exodus uses for root, find a flashable zip that removes it, then put everything else in the FlashAfterUpdate folder. Now I gotta learn how to control the order in which those zips are flashed, because this time, order matters. lol

Thank you so much, man!
[Magisk] alroger:
No, order still doesn't matter, because whatever is in the FlashAfterUpdate in OpenDelta is flashed AFTER the OTA update.

If you get all the stuff you need converted to Magisk modules, then you wouldn't have to flash anything else besides Magisk!
[Magisk] AtField:
hi guys, i'm actually new to magisk, just flashed everything and it works as expected. I just have a question, i tried reading some pages here in the topic but i couldnt understand if i can do it.

I'm using cerberus and i've always converted it to system app, but if i could i wanted to install cerberus to system "systemlessy" trough magisk, is that possible?Sorry for the noob question and thanks in advance.
[Magisk] unknown00:
stupid question - do you need to continually have root on to use xposed modules? i know you need root to install xposed, but can you unroot and still use all modules fine after install?
[Magisk] knpk13:
No, the xposed framework itself doesn't require root(even for installation). You just need a custom recovery that can flash xposed. But some modules might need root, some don't.
[Magisk] JudgeDread11:
Read the first 3 post from the OP
[Magisk] GrischaK:
How to do 3. step for removing all ROM's SU. I have installed SuperSU, then unroot it with this app and delete this app.

In Recovery flashed magisk and phhSU with the Magisk module from the first site here.

How to install a Magisk module - phh SU like the Magisk Manager apk?

With the original phhSU I can't switch root of in Magisk Manager and I have completely reinstall the custom rom with named resurrection remix.

Thanks! The whole day I am tried to run the new pokemon go app:mad::mad::mad::mad::mad:
[Magisk] SilverSix:
So you can flash Magisk before removing root? So far, I thought root needed to be gone for Magisk to be properly flashed, which means the SuperSU removing zip needs to go right after nightly flash.
[Magisk] AtField:
I've read the first 4 posts two times, and I understand the theory, i just cant understand how i should do this in reality.

From what I understood, magisk replaces the files in /system with the files listed in /magisk/mymodname/ , am i wrong?

So i guess i have to install cerberus to /magisk/cerberus/app, am i right?

Edit: i also have to add auto_mount in /magisk/cerberus directory I think

edit 2: i've made this zip https://mega.nz/#!W1dAGKgD!hxlYS8-BfDUblcc-8mEHvCzd3LGIhDyy8jmQSVyWMvY

Can you please tell me if this is right? I cant understand if i also need to add auto_mount.
[Magisk] ghenxx:
galaxy s5 verizon (g900v)

I flashed back to stock as requested, but now when I try to flash magisk I get:

finding update package

opening update package

verifying update package

E: footer is wrong

E: signature verification failedfinding update package

opening update package

verifying update package

E: footer is wrong

E: signature verification failed

then it reboots.

I can't install TWRP because I don't have root/unlocked boot, I can't install root because that defeats the whole purpose of getting systemless root, and I can't unlock the bootloader without root. I need better instructions :\
[Magisk] liverpool1208:
how do i remove /system/xbin/su, /data/su.img, /sbin/su files? i'm using a samsung s6.. i removed/unrooted xpose and supersu.. but don't know how to find /system/xbin/su, /data/su.img, /sbin/su files in my phone. i tried using "my files" but can't seem to find any system files ...