Hello!
I've sucessfully installed LineageOS on my Realme X2 (RMX 1993) according to this post: https://forum.xda-developers.com/realme-x2/development/rom-lineageos-17-1-t4084139
For this, I unlocked the bootloader and installed the twrp recovery according to this post: https://forum.xda-developers.com/re...very-unofficial-twrp-realme-x2-t4011231/page3
I also installed the avb_patch.
Now, I wanted to install magisk. For this i looked at the installation instructions on https://topjohnwu.github.io/Magisk/install.html
According to the system checks made there, the Realme X2 is NOT A/B, but IS using system-as-root. Therefore I downloaded the stock recovery image, and patched it with the magisk manager app. I flashed the patched image as recovery.
Now I can boot into lineageos, via the recovery, but the magistk manager tells me that the device is not rooted. What have I done wrong?
Additionally, if i boot into the bootloader and tell the bootloader to boot into recovery, the boot process stops at an icon telling me to charge the phone, although it is fully charged. Nothing else happens.
@moeetz Hi, did you figure out how to properly install Magisk?
Related
I'm not new to these things, but this time it seems I'm totally stuck.
What have I done till now?
- unlocked bootloader
- checked Anti-Version -> 4
- followed step 5 in this thread
What have I gained?
- I'm able to boot into TWRP and also to install several ZIPs. But every ZIP I install goes into bootloop. I have to flash the uninstaller-versions and then my phone works totally normal.
- I tried to install Magisk v16.0, v16.3 and v16.7, no success with each of them.
- I patched boot-image through Magisk itself -> also no success, still bootloop
What haven't I done yet?
- used lazyflasher to permanently flash TWRP as recovery
What are my phones creds?
- I'm on MIUI 9.6.3.0
If I'm right I can't flash any MIUI-version below 9.5.19.0 because of Anti 4. How will I be able to install Magisk and have a working phone? I found a thread where several links were included, one of them showing to some kind of ROM-kitchen, where I'd have the choice to create a custom ROM-zip with Magisk included (among other things like wallpapers, ringtones, which ROM-Version) but I can't find the link anymore. Would that be a possibility? Installing a MIUI beta 10?
just try using lazy flasher...
Ok, maybe I identified my problem: I have to booot into TWRP and flash the recovery within TWRP and afterwards I can install Magisk.
Can someone please confirm?
Tischbein said:
Ok, maybe I identified my problem: I have to booot into TWRP and flash the recovery within TWRP and afterwards I can install Magisk.
Can someone please confirm?
Click to expand...
Click to collapse
Yes exactly..
Thanks, worked this way.
I was attempting to install TWRP on my Mi A2 Lite running Android One 9.0, so I can root it with magisk. I unlocked the bootloader, followed twrp.me/xiaomi/xiaomimia2lite.html (I can't post links, since I'm a new user), but when I tried to boot recovery mode after the TWRP install, it said the system was damaged (android one still booted fine,
it was just the recovery). I thought maybe it was because I couldn't decrypt data because of the password lock on TWRP. So I booted TWRP through fastboot again and wiped the system, then retried installing TWRP. It once again claimed to have successfully installed, and I stupidly tried installing Magisk right after. After that point, OS would no longer boot. I tried getdroidtips.com/v10-0-1-0-pdlmifj-pie-mi-a2-lite/ , but the install failed on an error. I'm going to just assume I erased the OS, how can I restore it. Any help would be appreciated, thanks!
Edit:
I'm dumb, I just used the flash tool....
Just download the latest firmware from the following URL and flash it with Miflash.
https://en.miui.com/getrom.php?r=354&m=yes&app=false
You don't need TWRP to root this phone. I would suggest you to check out this guide:
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
Just forget about our TWRP, it's kinda buggy.
A couple months ago I once tried to install Magisk on RMX1991 by following official guide (on non-rooted phones), [Magisk 20.4, stock ROM C14, TWRP 3.3.1-19]. It failed and went into "the current image(boot/recovery) have been destroyed and cannot boot" screen, but I managed to restore to stock ROM and stock recovery. Today, I went for another attempt since new version of stock ROM and TWRP have been released [Magisk 20.4, stock ROM C17, TWRP 3.4.0], it failed and went into the same screen again.
I believed that someone must had installed Magisk on their X2 successfully, what steps did you followed to be able to achieve that?
How did you managed to restore the stock after the "the current image(boot/recovery) have been destroyed and cannot boot" screen?
AldRezaine said:
How did you managed to restore the stock after the "the current image(boot/recovery) have been destroyed and cannot boot" screen?
Click to expand...
Click to collapse
I had exactly the same issue, so I followed this guide:
https://forum.xda-developers.com/realme-x2/how-to/to-stock-rom-howto-t4014773
My phone was bootloader unlocked, with custom recovery flashed, and bootlooped. I downloaded the stock recovery image from the thread above (second post contains dl links), and flashed it using fastboot. I now lost TWRP but got the stock recovery back. I downloaded the latest original rom for my china edition RMX1991, and put it on an sd card (internal storage is also fine)
Latest RMX1991 china:
https://www.realme.com/cn/support/software-update
Latest RMX1993 EU:
https://www.realme.com/eu/support/software-update
Full original rom repo:
https://realmeupdater.com/downloads/archive/
You can't flash these with TWRP, but since we have the original recovery back in place we can now flash it. After installing the rom, do a wipe from recovery and you should be good.
After that, I started experimenting with lineageos again, and indeed confirmed that installing magisk 7.3 or 7.2 cause a bootloop, and using their magisk uninstaller makes the phone usable again.. I'm very interested if someone knows how to get magisk to run properly on the X2
Steps I followed to get root:
Unlocked bootloader
Flashed twrp
Rebooted device. (this step is important, or else you'll get stuck in bootloop)
Booted back into twrp again.
Flashed latest magisk
Reboot.
I've unlocked my Bootloader and all via beta-test program from DCUnlocker. I wanted to install TWRP & Magisk and I have following every step available from sir Supersonic's guide, but whenever I opened recovery, it always shows stock recovery (eRecovery) even though my CMD states that the flash recovery was succesfull and I never let my phone boot up in order not to replace the TWRP just like any android devices normal recovery procedures.
https://imgur.com/rOdXWSR
can someone find a solution of this problem?
I have OnePlus7T Indian version. I was on 11.0.9.1 and rooted with Magisk Canary version. There was an Update to Magisk which I accidentally installed with OTA option instead of full. Now my phone is not booting. It goes into original recovery mode or fastboot only. How can I recover from this? I tried to flash the magisk patched image file and it shows as flashed but when I reboot I again reach original recovery / fastboot menu only. Please help!!
Problem solved but don't know how. I was trying many things and when I used Tool All in One to flash TWRP the phone rebooted into the system. Not even sure if TWRP is installed or not but everything is working now and phone is rooted. Not sure how it got resolved. Magisk is updated to latest version.
jesrani said:
Problem solved but don't know how. I was trying many things and when I used Tool All in One to flash TWRP the phone rebooted into the system. Not even sure if TWRP is installed or not but everything is working now and phone is rooted. Not sure how it got resolved. Magisk is updated to latest version.
Click to expand...
Click to collapse
Most likely changed slot accidentally when it crashed and then corrected on multiple interventions
HueyT said:
Most likely changed slot accidentally when it crashed and then corrected on multiple interventions
Click to expand...
Click to collapse
Hi. I am again having same problem. I updated Magisk Manager and Magisk and some other apps and phone was not booting. After many tries it again booted but all the modules in Magisk were off. So I switched them on and rebooted the phone and now it is just not booting. I tried to use Tool All In One to flash a TWRP but now there is no recovery. The phone is either not booting (stuck on Circle dot rotating) or just going into fastboot, does not go into recovery. I was on OOS11. I tried flashing original recovery through the tool but it fails. Any way out of this mess??
jesrani said:
Hi. I am again having same problem. I updated Magisk Manager and Magisk and some other apps and phone was not booting. After many tries it again booted but all the modules in Magisk were off. So I switched them on and rebooted the phone and now it is just not booting. I tried to use Tool All In One to flash a TWRP but now there is no recovery. The phone is either not booting (stuck on Circle dot rotating) or just going into fastboot, does not go into recovery. I was on OOS11. I tried flashing original recovery through the tool but it fails. Any way out of this mess??
Click to expand...
Click to collapse
[OP7T][OOS 11.0.5.1 HD65AA/BA] Unbrick tool to restore your device to OxygenOS
Disclaimer: By attempting any of the processes listed in this thread you accept full responsibility for your actions. I will not be held responsible if your device stops working, catches fire, or turns into a hipster and claims to have been...
forum.xda-developers.com
This will wipe your data. Otherwise, you can try manually fastboot flash each individual files of oos11 rom:
⭐[ROM][STOCK] 11.0.9.1-GLOBAL-OnePlus7TOxygen_14.O.35_GLO_0350_2206171459-FASTBOOT
Created my own FASTBOOT Rom can anybody test this out, to see if it works please? Used to "Restore the Firmware" on your phone or when bricked you cannot downgrade or upgrade with FASTBOOT Roms, you must be on the same (Firmware Update Global...
forum.xda-developers.com
HueyT said:
This will wipe your data. Otherwise, you can try manually fastboot flash each individual files of oos11 rom:
Click to expand...
Click to collapse
Thanks. I managed to boot the phone but having root problems. After spending a number of hours doing various trials and checking Xda threads I managed to get it to boot again but root was lost.
I again read more articles and learnt that I have to flash recovery to both partitions so I used Tool All in one, changed active slots and flashed the magisk patched image from this thread i think on both slots. But i am not sure. I managed to get root but the Magisk manager was not getting installed.
I tried few other things and finally i am now not able to root again. Phone is booting after I flash a recovery but I am not sure if it will boot if restarted or go into loop.
Can anyone explain the proper procedure and sequence to follow for rooting and which files to use.
I am on OOS11.09.1
jesrani said:
Thanks. I managed to boot the phone but having root problems. After spending a number of hours doing various trials and checking Xda threads I managed to get it to boot again but root was lost.
I again read more articles and learnt that I have to flash recovery to both partitions so I used Tool All in one, changed active slots and flashed the magisk patched image from this thread i think on both slots. But i am not sure. I managed to get root but the Magisk manager was not getting installed.
I tried few other things and finally i am now not able to root again. Phone is booting after I flash a recovery but I am not sure if it will boot if restarted or go into loop.
Can anyone explain the proper procedure and sequence to follow for rooting and which files to use.
I am on OOS11.09.1
Click to expand...
Click to collapse
[OP7T][Stock/Magisk v23.0] OxygenOS 11.0.9.1.HD65AA boot.img
OnePlus 7T OxygenOS 11.0.9.1.HD65AA Global boot.img Stock: https://mega.nz/file/CV9B2I5A#kIjb0ST0XvAn1yJTMi56hdz1asi-d_LH0uaOCcfrA2g Magisk v23.0 Patched: https://mega.nz/file/eFcygLwb#U0m48VlQekyhrKAEC3Oc56yfxdbjGmGhiwgndU-Grwc Note: DISABLE...
forum.xda-developers.com
HueyT said:
[OP7T][Stock/Magisk v23.0] OxygenOS 11.0.9.1.HD65AA boot.img
OnePlus 7T OxygenOS 11.0.9.1.HD65AA Global boot.img Stock: https://mega.nz/file/CV9B2I5A#kIjb0ST0XvAn1yJTMi56hdz1asi-d_LH0uaOCcfrA2g Magisk v23.0 Patched: https://mega.nz/file/eFcygLwb#U0m48VlQekyhrKAEC3Oc56yfxdbjGmGhiwgndU-Grwc Note: DISABLE...
forum.xda-developers.com
Click to expand...
Click to collapse
Hi. I already used these boot images but I was still having a problem. I had flashed the stock image to both partitions and then the Magisk patched image also but either I was not rooted or Magisk App not working. Finally got things to work by installing TWRP to partition a I believe. I changed active partition to a and then flashed the twrp recovery. Again changed active to b and booted and had root. I had to install Magisk Canary 25210 version only as other versions did not install. After checking on net it seems this version is faulty. So I installed Magisk Delta, then installed Magisk using Direct Install option, rebooted, checked regular Magisk Manager and showed the same Magisk version. Removed all modules from old Magisk Manager and unstalled the app. Setup Magisk Delta modules, hide, SuList as well as apps like LSPosed, HMA etc and now everything is working again.
I still am not very sure where the recovery is installed, on partition a or b? And if a difference recovery is installed on each partition what happens? I am pretty sure I had not installed TWRP on partition b. I am also assuming that once I set a partition as active and flash a recovery in fastboot that recovery is flashed to that partition, is this correct? Things are working but I don't know if the phone will go to recovery mode from system, I have not tried that. So I am not very clear yet but still got things to work.
jesrani said:
Hi. I already used these boot images but I was still having a problem. I had flashed the stock image to both partitions and then the Magisk patched image also but either I was not rooted or Magisk App not working. Finally got things to work by installing TWRP to partition a I believe. I changed active partition to a and then flashed the twrp recovery. Again changed active to b and booted and had root. I had to install Magisk Canary 25210 version only as other versions did not install. After checking on net it seems this version is faulty. So I installed Magisk Delta, then installed Magisk using Direct Install option, rebooted, checked regular Magisk Manager and showed the same Magisk version. Removed all modules from old Magisk Manager and unstalled the app. Setup Magisk Delta modules, hide, SuList as well as apps like LSPosed, HMA etc and now everything is working again.
I still am not very sure where the recovery is installed, on partition a or b? And if a difference recovery is installed on each partition what happens? I am pretty sure I had not installed TWRP on partition b. I am also assuming that once I set a partition as active and flash a recovery in fastboot that recovery is flashed to that partition, is this correct? Things are working but I don't know if the phone will go to recovery mode from system, I have not tried that. So I am not very clear yet but still got things to work
Click to expand...
Click to collapse
Only data partition is shared. All else have both A and B parts