Magisk flash via Odin failed, how to install properly or unroot - Samsung Galaxy A50 Questions & Answers

So I tried magisk patching the stock ap image, flashing in Odin failed, it sent the device into emergency recovery mode, which I fixed flashing the stock images from Odin.
It now detects root or modification, magisk detects a modified boot image but also failed through its own patching image and flashing within the manager app.
So I'm wondering how do I install magisk properly or unroot so I can use nfc payment.

Related

Anyone with Magisk install April update yet?

If so what version of Magisk, TRWP, etc did you use and was it successful or any snags along the way?
I plan on manually flashing the OTA when I get home tonight, just curious if any others have had success or failures.
I just flashed the full image (not OTA) without issues. Initially flashed Magisk v20.3 and then used MM to update to v20.4. Finally, used EX Kernel Manger to download / flash latest kernel.
I flashed the OTA, and installed Magisk 20.3, everything went smoothly
My updating procedure is flashing update image without -w then sideloading twrp & sideload flash kernel & magisk, but i have changed my laptop, idk if its something to be done on the laptop or in the phone, as i flashed april update but now when sideload flashing in twrp the pc wont send file to phone it just keeps blank & wont flash zip
Nightf0x_007 said:
My updating procedure is flashing update image without -w then sideloading twrp & sideload flash kernel & magisk, but i have changed my laptop, idk if its something to be done on the laptop or in the phone, as i flashed april update but now when sideload flashing in twrp the pc wont send file to phone it just keeps blank & wont flash zip
Click to expand...
Click to collapse
I find that the USB setting gets reset on reboot. I always have to tap to change the option again.

A current year guide to flashing twrp and installing ROM?

Does anyone have a new guide to flashing twrp and then installing a custom ROM? I've followed older guides but I just cannot get past flashing twrp. When I flash it and boot into twrp, I try to flash the DM no Verity zip but it fails with error 1 every time. If I try to flash a custom ROM, it will install but then the phone will only boot into download mode when I choose reboot system in twrp. If I turn phone off and turn back on, it goes straight into download mode again. I even tried flashing a no DM Verity no encryption or something like that zip which does flash but then after installing custom ROM I still can't boot into it.
I have the s9 F variant.
cliffyboro said:
Does anyone have a new guide to flashing twrp and then installing a custom ROM? I've followed older guides but I just cannot get past flashing twrp. When I flash it and boot into twrp, I try to flash the DM no Verity zip but it fails with error 1 every time. If I try to flash a custom ROM, it will install but then the phone will only boot into download mode when I choose reboot system in twrp. If I turn phone off and turn back on, it goes straight into download mode again. I even tried flashing a no DM Verity no encryption or something like that zip which does flash but then after installing custom ROM I still can't boot into it.
I have the s9 F variant.
Click to expand...
Click to collapse
Same as some older guides
Instead of using the no-verity zip try using the zip from this guide
May have to rename the zip file to add " quota " to it
eg: abc.zip to abc_quota.zip
[Deprecated] Universal DM-Verity, ForceEncrypt, Disk Quota Disabler [11/2/2020]
Hi all! For the past couple of months, I've been looking into making a more universal solution to disable dm-verity and forceencrypt. Needing to take different zips, modify them for different devices, and then cross your fingers when you switch...
forum.xda-developers.com

Question Bootloop after magisk on 12.5.3.0.RKHEUXM

Hello, this morning I found my poco f3 updated to Miui 12.5.3.0 (I was on 12.5.0.0) even though I had automatic updates disabled. After the automatic update I lost my root via magisk and twrp in recovery. No problem, I got twrp installed again, then I proceeded to install magisk v23.0 from TWRP, as I had done after 12.5.0.0. update.
Afterwars phone is stuck in a bootloop. I reflashed stock boot image, recovering the phone, but I ave been unable to install magisk in 12.5.3.0, I tried copying boot.img to the phone, then using magisk manager to patch the boot image, then flash the patched image trough fastboot, with the same result.
Anyone knows how to make magisk work in this new update?
Thank you
suloku said:
Hello, this morning I found my poco f3 updated to Miui 12.5.3.0 (I was on 12.5.0.0) even though I had automatic updates disabled. After the automatic update I lost my root via magisk and twrp in recovery. No problem, I got twrp installed again, then I proceeded to install magisk v23.0 from TWRP, as I had done after 12.5.0.0. update.
Afterwars phone is stuck in a bootloop. I reflashed stock boot image, recovering the phone, but I ave been unable to install magisk in 12.5.3.0, I tried copying boot.img to the phone, then using magisk manager to patch the boot image, then flash the patched image trough fastboot, with the same result.
Anyone knows how to make magisk work in this new update?
Thank you
Click to expand...
Click to collapse
Try flashing the older patched boot.img on the new stock firmware.
On the 12.5.3.0 ill patched boot.img from 12.5.1.0 and all right.
Thanks for your replies. It seems the problem was a module I had installed being incompatible with the update (smali patcher). I tried removing the module from /data/odb/modules/ via twrp after installing magisk (also via twrp) and everything finally booted just fine!
But I hope this time disabling automatic updates works as intended
i have the same issue of auto updated and lost my root access.
Which boot.img I should Magish'd to get the root access again?
Currently installing my twrp
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
3. after that is done, if you were using a custom kernel, reflash it now
4. if you were using magisk, reflash it now
if Flash Current TWRP fails, go to Backup > Refresh Sizes and try Flash Current TWRP again
Click to expand...
Click to collapse
Currently at the Resizing stage
Edit 1: failed, I have the error bootctrl error that prevent me from installing after resizing.
I have flashed the twrp3.5.2 directly to boot resulting in bootloop and needed to install the Boot.img from the 12.5.1 from the previous bulit
Edit: actually I can ignore that error.
Magisk installed but safety checked failed even I have the "universal safety check module installed "
Also the app thoax isn't working
I'd try removing all magisk modules, installing stock 12.5.3, then using magisk apk to create patched boot.img and flash it with fastboot (fastboot flash boot magisk_boot_patched.img)
Also, maybe try flashing bot boot_a and boot_b? I had a problem were my active boot partition changed and phone became even more broken.
suloku said:
Thanks for your replies. It seems the problem was a module I had installed being incompatible with the update (smali patcher). I tried removing the module from /data/odb/modules/ via twrp after installing magisk (also via twrp) and everything finally booted just fine!
But I hope this time disabling automatic updates works as intended
Click to expand...
Click to collapse
Might wanna also uncheck Automatic system updates in the Developer settings to be safe.
suloku said:
But I hope this time disabling automatic updates works as intended
Click to expand...
Click to collapse
There is a setting in the Xiaomi system updater that had by default checked auto-update. That setting need to be disabled/unchecked as well.
Since you have root with Magisk, can also Force stop or debloat the updater app, so the system will not update itself.
suloku said:
Thanks for your replies. It seems the problem was a module I had installed being incompatible with the update (smali patcher). I tried removing the module from /data/odb/modules/ via twrp after installing magisk (also via twrp) and everything finally booted just fine!
But I hope this time disabling automatic updates works as intended
Click to expand...
Click to collapse
I had the same issue on Redmi Note 9 Pro (joyuse). Based on your tip I've removed some modules from `data/adb/modules` and my device is finally booting normally. Thanks!

Correct way to install twrp and magisk on xt1952-4?

Whenever I flash TWRP or Lineage recovery I lose wifi. It refuses to turn on. I can flash TWRP, magisk, bootloop fix and magisk will work fine but I have no wifi.
Update: I managed to get Magisk working by installing the apk, copying the boot.img from the rom zip and patching it then flashing it back using adb fastboot.
I can't get a recovery to work though, I tried flashing TWRP and it put me into a bootloop until I flashed back the magisk modded boot.img

Question No way to install twrp

Used odin and installed magisk. Its fully rooted.
Any atempt of installing twrp with odin( installing on AP option) makes all rom to be erased.
Installed twrp cant use backup or flash anything because of errors.
Installation through fastboot is impossible because it gets stuck in "entering fastboot mode"
Help me guys

Categories

Resources