Question Cannot activate Magisk after MUI Update - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

Hello,
I had a working Setup with TWRP + Magisk.
Then I had the stupid idea to accept the OTA update to MIUI 14.0.6.0 (eu).
As I lost my root permissions, I decided to install Magisk again. I used the boot.img from the rom and installed it via fastboot from magisk_patched-XXXX.img.
When I look into the Magisk App (v26.1), it still states: "Installed N/A".
I also tried to flash the patched boot image via TWRP, but there is no way to gain root access anymore :/
Current Version: MIUI V14.0.6.0.TKHCNXM | stable
Can somebody give me a hint, what i'm doing wrong? I also tried to flash the _a and _b slot...
Thanks,
Stefan

stefan_at_localhost said:
Hello,
I had a working Setup with TWRP + Magisk.
Then I had the stupid idea to accept the OTA update to MIUI 14.0.6.0 (eu).
As I lost my root permissions, I decided to install Magisk again. I used the boot.img from the rom and installed it via fastboot from magisk_patched-XXXX.img.
When I look into the Magisk App (v26.1), it still states: "Installed N/A".
I also tried to flash the patched boot image via TWRP, but there is no way to gain root access anymore :/
Current Version: MIUI V14.0.6.0.TKHCNXM | stable
Can somebody give me a hint, what i'm doing wrong? I also tried to flash the _a and _b slot...
Thanks,
Stefan
Click to expand...
Click to collapse
You'll want to use fastboot to boot recovery (not flash)
And install the recovery via the on device gui
Also, I would use orangefox recovery, it was built from twrp, but has more features.
Use "method 2" in this guide:
https://theandroidrush.com/how-to-flash-orangefox-recovery-on-xiaomi-phone/

Hi,
I flashed the patched magisk boot via orangefox, but no success. Magisk still N/A
Step1: Patch boot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step2: Flash via TWRP or Orangefox
no screenshot available
Step3: Result, no Magisk (N/A)
I don't understand this. Is there a greater change in MUI14?
I also installed the Magisk APK via TWRP and Orangefox, but no other result.
Thanks,
Stefan

After serveral hours of debugging I found out, that there was a post on the net, which recommended to install the debug version of Magisk. This was a first step into the right direction. But the GUI crashed and removed the Magisk App.
The strange thing was, that all other whitelisted root apps worked. But no access to change the Whitelist.
So I tried to get the GUI back. But there was no way.
When I installed the APK, it was automatically killed and removed :/
After reinstalling via the xiaomi.eu repair (update) script I decided to to try an older Magisk Version (26.0). This crashed also, but I was able to re-run the app again.
Finally it seems that Magisk implemented a change, that crashes with my MIUI version. I will observe this and try to file a bug report.

Related

Pass Safety NET on Official China ROM using Magisk Module, and Without losting OTA!

This thread well be helpful for users who have Official China Beta or China Stable ROM! I'll made MAGISK Module for Pass Safety NET and use Gpay on this rom without losting OTA on my Redmi K20.
For More detail on my telegram channel MOD EDIT: Link Removed
I tested on my devices MI 9/9T. Everything works as it should. Everything that you do, you do at your own peril and risk!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After flashing Module no need flash Gapps, i already add it to the module! Google Backup system also work!
Tutorial:
1. Download FULL ROM what you have installed on your Device. And flash it via Orang Fox TWRP without wipe.
2. Download module
3. Download Google Pay fix.
4. Remove all the gapps if there are any, and were installed via the Google play installer, install Orange Fox TWRP and flash the full rom for the recovery of your smartphone so that there is support for the future. In device storage you find folder FOX - DONT DELETE IT!!
5. Download Magisk 19.3 and install it, then install module through twrp. DONT UPDATE MAGISK to 20+!!!
6. Make wipes Cache, Dalvik / ART Cache and flash GooglePay-fix.
7. Reboot into the system.
8. Open the Magisk manager and hide only Play services Unstable like on screenshot hide
must be already hiden, if yes - dond hide other apps from google.
Next, go to the modules item and install module again. Reboot smartphone. Download Gpay and enjoy.
IMPORTANT! AFTER EACH OTA, FLASH MAGISk AGAIN, AS IF THE FIXES WERE BEEN CORRECTED IN BOOT.IMG, the magisk unistall automaticaly. After re-installing Magisk, make wipes from point 6. THE MAGISK DOES NOT UPDATE !
Is it still working on MIUI 12.5 China Beta Rom?
THREAD LOCKED
On account of no valid download link available.
Regards,
shadowstep
Forum Moderator

I think my phone is stuck in a boot loop

So I decided to root my phone and put Lineage OS on it today. It has been a while since I did this so I followed this guide https://highonandroid.com/android-smartphones/how-to-root-pixel-2-or-pixel-2-xl-easiest-method/. I did use updated versions of TWRP and Magisk but it won't boot past this screen below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any help would be really appreciated guys.
Mikeando89 said:
So I decided to root my phone and put Lineage OS on it today. It has been a while since I did this so I followed this guide https://highonandroid.com/android-smartphones/how-to-root-pixel-2-or-pixel-2-xl-easiest-method/. I did use updated versions of TWRP and Magisk but it won't boot past this screen below.
View attachment 5168879
Any help would be really appreciated guys.
Click to expand...
Click to collapse
Without even knowing what OS version you are on, or whether you are on Stable, Beta or Canary Magisk, or how you installed Magisk, or whether you installed or temporarily booted up TWRP, I'll make a couple of suggestions:
If you are on Android 11, you can't install TWRP and Magisk together. You will have to temporarily boot up TWRP with fastboot to flash Magisk, or alternatively, patch the stock boot image with Magisk and fastboot flash the patched boot image.
Also, Stable Magisk is not compatible with Android 11. You should be using Beta 21.1 (or latest Canary).
I would start there.
Mikeando89 said:
So I decided to root my phone and put Lineage OS on it today. It has been a while since I did this so I followed this guide https://highonandroid.com/android-smartphones/how-to-root-pixel-2-or-pixel-2-xl-easiest-method/. I did use updated versions of TWRP and Magisk but it won't boot past this screen below.
View attachment 5168879
Any help would be really appreciated guys.
Click to expand...
Click to collapse
1) Never use a guide from 3 years ago
2) Heres how i flash most ROMS (aforementioned fastboot TWRP only included. Substitute the ROM zip name for LOS): https://forum.xda-developers.com/t/rom-pixel-2-xl-official-protonaosp-11-3-0.4188109/post-84079085
3) Actually heres the same info (including bonus links to TWRP) on the last page in the LOS thread youre referring to, which begs the question, why are you reading 3 year old guides offsite, and NOT the actual OP and last page or so (to see if theres issues/etc)of the ROM thread of the ROM youre installing? Thats bonkers : https://forum.xda-developers.com/t/...2-2-xl-december-17-2020.4165919/post-84138395
Always a good idea to actually read the OP (and last few pages) of the ROM thread of the ROM youre installing....you wouldnt have needed to ask anyone for help....
Mikeando89 said:
So I decided to root my phone and put Lineage OS on it today. It has been a while since I did this so I followed this guide https://highonandroid.com/android-smartphones/how-to-root-pixel-2-or-pixel-2-xl-easiest-method/. I did use updated versions of TWRP and Magisk but it won't boot past this screen below.
View attachment 5168879
Any help would be really appreciated guys.
Click to expand...
Click to collapse
Reading the step by step guide you linked, don't put your files in the fastboot folder. I suggest you download the platform tools from google and flash the stock google images then start over with the LOS installation.
Thanks for your replies everyone. I understand that I really didn't provide much detail. I have now fixed the problem. I have flashed LOS 18.1, NiKGapps and Magisk 21.1. Only problem I am having now is the finger print works with the lockscreen but not with apps such as PayPal or Enpass.

(BS3) Not rooted but banking app see my phone is rooted!

Hello
My phone is Black shark 3 Global version KLEN 2008060OS00MP3.
I've rooted it before using @KM7 rooting guide, i forgot to back up the recovery stock, only backed up Boot.img, yesterday i decided to unroot my phone, so i flashed first the stock boot but the phone doesn't update because it has TWRP installed.
After that i tried to flash MP4 through 1027 local update but it gives "error ota 20"
I did another try that i flash DPX beta global rom through local update, it accepted the install and switched to SLOT B, but i felt that this rom isn't stable with touch so i decided to twrp Back up @mr. Fros global MP3 backed up rom.
My problem now that i can't use banking apps because Saftey net error bypass and banks see my phone as rooted and also i can't update to mp4, mp5 . Etc
Any solution please?
Fully non rooted but banking app see it rooted
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
deathcode0 said:
Hello
My phone is Black shark 3 Global version KLEN 2008060OS00MP3.
I've rooted it before using @KM7 rooting guide, i forgot to back up the recovery stock, only backed up Boot.img, yesterday i decided to unroot my phone, so i flashed first the stock boot but the phone doesn't update because it has TWRP installed.
After that i tried to flash MP4 through 1027 local update but it gives "error ota 20"
I did another try that i flash DPX beta global rom through local update, it accepted the install and switched to SLOT B, but i felt that this rom isn't stable with touch so i decided to twrp Back up @mr. Fros global MP3 backed up rom.
My problem now that i can't use banking apps because Saftey net error bypass and banks see my phone as rooted and also i can't update to mp4, mp5 . Etc
Any solution please?
Click to expand...
Click to collapse
You have to flash the stock recovery with the same exact version of your current ROM (which is global MP3) , otherwise it won't work.
Try to uninstall magisk app (apk), or reset to factory, then try again. See if it's still see it as rooted or not.
slashyuz6 said:
You have to flash the stock recovery with the same exact version of your current ROM (which is global MP3) , otherwise it won't work.
Try to uninstall magisk app (apk), or reset to factory, then try again. See if it's still see it as rooted or not.
Click to expand...
Click to collapse
I got hands on Qfil KLEN2008060OS00MP3 global stock rom, i will firstly extract recovery.img and flash it through adb and check if internal updates going through or not. If not then i will flash the whole rom using Qfil.
About magisk, i already uninstalled but bank app still detecting. I checked Saftey net and got that result :
Check screenshot

Question Rooted Pixel 6 Pro - no longer receiving updates

Hi all, I have rooted my pixel 6 pro since day 1 and always used the magisk way of patching and restoring images for updates, since the February update Google tells me updates are no longer supported on my device per screenshots, anyone else had this issue and know how to resolve it?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You might want to backup, uninstall magisk in the app, reboot. Then full reset/wipe and reboot. Then manually update to the latest May 2022 version using adb or the android flash tool. Something has gone awry with your software. Better to be safe than sorry.
Just used the android flash tool and flash the latest image without the wipes, then reroot, should fix it all.
Gytole said:
Just used the android flash tool and flash the latest image without the wipes, then reroot, should fix it all.
Click to expand...
Click to collapse
But with my device rooted and my bootloader unlocked won't that throw me into a boot loop? Then I'll have to completely wipe and restore no?
zamarax said:
But with my device rooted and my bootloader unlocked won't that throw me into a boot loop? Then I'll have to completely wipe and restore no?
Click to expand...
Click to collapse
Nope! Quite the opposite if I get stuck in a bootloop I just use the flash tool to fix it. No loss of data, but you need to re-boot the magisk boot image then reflash in magisk afterwards as it will completely remove magisk
So I did what you suggested and now my device is stuck in a boot loop with corrupt data, I did however patch the boot.img previously when I tried to send it to the device via ADB so I'm going to try to push that now and see what happens. Here are the options I selected for Android Flash Tool.
Second attempt with not selecting 'Disable Verity' and 'Disable Verification' worked successfully.
Thank you, I really appreciate it!
zamarax said:
Second attempt with not selecting 'Disable Verity' and 'Disable Verification' worked successfully.
Thank you, I really appreciate it!
View attachment 5608917
Click to expand...
Click to collapse

Problem rooting F41 with magisk and Android 12

Hi, i have rooted a few phones in the past without problems but it´s my first samsung and nothing seems to work... Read a lot a tutorials, tried a lot of things and for now, no success in any...
I'm on the latest version of Android (12) - ZTO-F415FUBS2CVF1
I did unlock the bootloader without problems... Extracted stock rom boot.img, patched it with magisk 22104. Put it inside a boot.tar, flashed it in Odin with success:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After the patch, i always go straight to stock recovery and wipe data...
It´s really weird, when i install magisk, after the flash, it only says this:
I also did try to follow magisk instructions and flash the whole stock rom with the AP patched but it gives me an vbmeta error, so i reverted to stock firmware and kept trying to patch only boot.img...
Also tried to revert to android 11 with Odin but it gives me an wrong version error on download mode...
I don´t know if i'm using the wrong magisk version, or something is missing in the tutorials... Also tried to find something here but nothing seems to work... Can someone help me ?
Same problem here. VBmeta is giving me a lot of trouble.
Loking foward for a solution...
Hi guys...
Anyone have any luck rooting this f.... android 12 on Samsung M21s? It sucks.
I cant hold it anymore...
A beg a little help .
A want my cell phone back. kkkk
Regards...
.
Hi! When you get that in magisk can you direct install?
ps. I do not have this device but I rooted Samsung so I may be able to help
RodrigoC82 said:
Hi, i have rooted a few phones in the past without problems but it´s my first samsung and nothing seems to work... Read a lot a tutorials, tried a lot of things and for now, no success in any...
I'm on the latest version of Android (12) - ZTO-F415FUBS2CVF1
I did unlock the bootloader without problems... Extracted stock rom boot.img, patched it with magisk 22104. Put it inside a boot.tar, flashed it in Odin with success:
View attachment 5700249
View attachment 5700251
After the patch, i always go straight to stock recovery and wipe data...
It´s really weird, when i install magisk, after the flash, it only says this:
View attachment 5700257
I also did try to follow magisk instructions and flash the whole stock rom with the AP patched but it gives me an vbmeta error, so i reverted to stock firmware and kept trying to patch only boot.img...
Also tried to revert to android 11 with Odin but it gives me an wrong version error on download mode...
I don´t know if i'm using the wrong magisk version, or something is missing in the tutorials... Also tried to find something here but nothing seems to work... Can someone help me ?
Click to expand...
Click to collapse
Can I see the error? It may be because flashing just the ap in the first place shrunk your space.

Categories

Resources