as i install magisk and twrp on my mi a2 lite, i already unlocked the bootloader, but i can't install it
when I install magisk it appears:
unsupported / unknown image format
Th1gas said:
as i install magisk and twrp on my mi a2 lite, i already unlocked the bootloader, but i can't install it
when I install magisk it appears:
unsupported / unknown image format
Click to expand...
Click to collapse
image format?
you have to flash Magisk via twrp custom recovery. Download the latest Magisk . zip file from the official site , then flash it with twrp recovery.When you reboot to system install the Magisk manager app, you can download it again from the official Magisk site
I thought the normal Magisk install process was not done via TWRP?
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
That's the only way I've ever installed Magisk on this phone. You need to install it after TWRP (or re-install) because the TWRP installer removes Magisk from the boot image.
a1291762 said:
I thought the normal Magisk install process was not done via TWRP?
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
That's the only way I've ever installed Magisk on this phone. You need to install it after TWRP (or re-install) because the TWRP installer removes Magisk from the boot image.
Click to expand...
Click to collapse
Of course you can install magisk via twrp absolutely normal,and it's way easier ,and faster without bugs ,with cts profile: true and etc.
Hi all. I was trying to root my Mi A2 Lite 4/64gb following this guide: https://magisk.me/root-mi-a2-a2-lite-magisk-install-twrp-recovery/
After install TWRP img and zip, and formated data in TWRP, I've rebooted the system and perform the initial configuration (because the wipe data from TWRP reset all data).
So ok, I made this and updated the TWRP app on play store.
Then I reboot in TWRP mode to proceed the magisk installation and see a "your system has been destroyed" (before enter in twrp)
This sh*t looks fine until the restart, TWRP working until the restart
~Nagareboshi said:
Hi all. I was trying to root my Mi A2 Lite 4/64gb following this guide: https://magisk.me/root-mi-a2-a2-lite-magisk-install-twrp-recovery/
After install TWRP img and zip, and formated data in TWRP, I've rebooted the system and perform the initial configuration (because the wipe data from TWRP reset all data).
So ok, I made this and updated the TWRP app on play store.
Then I reboot in TWRP mode to proceed the magisk installation and see a "your system has been destroyed" (before enter in twrp)
This sh*t looks fine until the restart, TWRP working until the restart
Click to expand...
Click to collapse
Follow this tuto exactly as written and you'll be back on your way
https://github.com/pawelik001/daisyinstall/blob/master/README.md
You can install stock rom with miflashtool
Nxkealen said:
Follow this tuto exactly as written and you'll be back on your way
https://github.com/pawelik001/daisyinstall/blob/master/README.md
You can install stock rom with miflashtool
Click to expand...
Click to collapse
Thanks. Now I want to install GCAM without root :angel:
I'm on Android 9 10.0.18.0, but to enable camera2 api without root I need a patched boot img, in the official topic only have the patched boot up to 10.0.13.0... and to extract a patched boot img from rom 10.0.18.0 I'll need root... so no way to enable camera2 api without root on 10.0.18.0?
I Have difficulties rooting my Z1 compact (amami).
My goal is to have stock rom, rooted with Magisk.
Steps I took:
1. Unlocked the bootloader (manufacturer way)
2. Flashed latest stock rom
3. Booted, installed Magisk manager, downloaded magisk.zip and enabled USB debugging
4. Flashed TWRP through ADB
5. Booted into TWRP, tried to install the zip, I get an error “unsupported image format”
6. If I reboot after faliure, I can’t get into stock rom anymore (just black backlit screen), so I have to reflash stock rom again.
I have tried different versions of TWRP, Magisk, and tried rezipping magisk.zip.
Any help is greatly appreciated.
Same issue here. Will let you know how I solve it.
Edit: My solution, might not be 100% what you were after, but this is good for me:
Reflash stock rom 236 LP with EMMA
Flash kernel v18.1 from here https://forum.xda-developers.com/so...rnel-advanced-14-5-0-242-kernel-v1-0-t3096060 (fastboot flash boot boot.img)
Enter rom and adb reboot recovery (power + voldown didn't work)
Flash Supersu zip
Flash debloater zip from here https://forum.xda-developers.com/cr...p-debloat-lp-690-correct-functioning-t3076161
This nets me a debloated stock 5.1.1 install with root and busybox, all I need. I could never get fastboot flash recovery to boot any rom after flashing from recovery, so after a lot of struggle I'm happy this way.
If Magisk is a must, I would try the method described here https://forum.xda-developers.com/so...m-unrooted-t3682932/post76105039#post76105039
Hello, I was able to successfully turn my Tmobile 7t into an unlocked 7t with magisk + root for a little while.
I went to install the Pixelarity mod and I ran into a bootloop. I had to flash the 10.0.11-GLOBAL-OnePlus7TOxygen_14.O.13_OTA_013_all_2005192145_cc5bf09c02-FASTBOOT zip to get my phone to boot again.
Thankfully my data works but when I went to reflash the patched 10.0.11 zip my phone now bootloops until I reflash the stock Global OTA fastboot.
I've also tried and failed/gotten a bootloop after flashing the global rom fastboot and then trying to root with the all in one tool.
I've tried deleting the magisk module from twrp but I can't as when I go to data---> adb there is no adb folder for me to delete the magisk mod from. Any idea how I can regain magisk/root? Flashing the patched 10.11 img just bootloops and I can't seem to delete the modules from anywhere. Thanks
My goal is to get a GSI with Android 11 or higher installed with the corresponding Mint Kernel. The reason being is I can't Magisk root a GSI (tried various methods like: Magisk patch TWRP recovery, install Magisk zip in recovery) and I believe the ramdisk=no is the problem on the SM-A505W variant of the Galaxy A50. I have rooted Pixel phones easily in the past.
I read a suggestion somewhere that installing Mint Kernel could help make rooting easier since Magisk is pre-installed (true?), but I can't get any GSI + Mint Kernel to boot.
GSIs attempted = lineage 18.1, 19.1, Palladium (android 11), SparkOS, Pixel Experience (android 11, 12)
I've then gone to fetch the corresponding Mint Kernel from https://github.com/FreshROMs/android_kernel_samsung_exynos9610_mint/releases
Is my variant just not able to work with Mint Kernel? I'm sure someone, somewhere knows a GSI and Mint Kernel combo that works and allows for Magisk rooting. If so, pls identify versions and any methods you used.
frustrated
p.s. Magisk 25.2 is my preference as I like this version best so far
p.s.s. I do use the key combo to boot from recovery vs system when trying to boot with Magisk when using only a GSI. Only been able to root stock firmware by Magisk patching AP file and flashing with ODIN, then using key combo VOL_UP + POWER (hold a few seconds) when powering phone to boot.
If you're able to boot a GSI with the stock kernel but not the Mint kernel, it sounds like the latter has some dependencies that a GSI does not provide.
Not having ramdisk should not prevent root. Using the stock kernel and a GSI, flash Magisk in TWRP following the GSI; once you install the Magisk app, you should have root access. This is the method I use on my Tab A 8.0, running the AOSP 13 GSI with the CUK4 kernel.
V0latyle said:
If you're able to boot a GSI with the stock kernel but not the Mint kernel, it sounds like the latter has some dependencies that a GSI does not provide.
Not having ramdisk should not prevent root. Using the stock kernel and a GSI, flash Magisk in TWRP following the GSI; once you install the Magisk app, you should have root access. This is the method I use on my Tab A 8.0, running the AOSP 13 GSI with the CUK4 kernel.
Click to expand...
Click to collapse
After GSI is installed, with stock kernel, once I flash Magisk 25.2 in TWRP (tried several TWRP versions I could find 3.5, 3.6, 3.7...) when I boot with VOL_UP + POWER (held for a few seconds) I either boot into recovery again OR dont have root when booted into android.
I believe this is the procedure (from what I've read).
With stock firmware, I get root holding VOL_UP + POWER (for a few seconds prior to booting). I dont use TWRP in this case, rather ODIN to flash Magisk patched AP file.
GreekFire123 said:
After GSI is installed, with stock kernel, once I flash Magisk 25.2 in TWRP (tried several TWRP versions I could find 3.5, 3.6, 3.7...) when I boot with VOL_UP + POWER (held for a few seconds) I either boot into recovery again OR dont have root when booted into android.
I believe this is the procedure (from what I've read).
Click to expand...
Click to collapse
If you're flashing Magisk in TWRP, you don't need to boot into recovery. The recovery hijack is only for use with the stock recovery; no key combo is needed to enable root.
Again, the Ramdisk field does not have anything to do with whether or not you have root. When in the Magisk app, the Installed field should show the Magisk verision (25200). If it says N/A, you don't have root.
If you continue to have issues, this is what I suggest:
Use Odin to reflash everything back to stock
Flash the latest TWRP build for your device
Boot into TWRP, format both /system and /data (do NOT wipe /boot)
Install GSI to /system
Install Magisk
Reboot to system
V0latyle said:
If you're flashing Magisk in TWRP, you don't need to boot into recovery. The recovery hijack is only for use with the stock recovery; no key combo is needed to enable root.
Again, the Ramdisk field does not have anything to do with whether or not you have root. When in the Magisk app, the Installed field should show the Magisk verision (25200). If it says N/A, you don't have root.
If you continue to have issues, this is what I suggest:
Use Odin to reflash everything back to stock
Flash the latest TWRP build for your device
Boot into TWRP, format both /system and /data (do NOT wipe /boot)
Install GSI to /system
Install Magisk
Reboot to system
Click to expand...
Click to collapse
thanks for the reply.
Followed the above steps, "installed" field = N/A so no root
Can't believe how hard it is to get root on this device with a GSI...
Using TWRP from: https://www.recovery-mode.com/twrp/twrp-3-7-0-for-samsung-galaxy-a50-a505x-update-20221026.html
TWRP file/version download=TWRP_v3.7.0-Unofficial_a50-1666700564.tar
GreekFire123 said:
thanks for the reply.
Followed the above steps, "installed" field = N/A so no root
Can't believe how hard it is to get root on this device with a GSI...
Using TWRP from: https://www.recovery-mode.com/twrp/twrp-3-7-0-for-samsung-galaxy-a50-a505x-update-20221026.html
TWRP file/version download=TWRP_v3.7.0-Unofficial_a50-1666700564.tar
Click to expand...
Click to collapse
Weird. Do you get any errors in TWRP when flashing Magisk?
Were you able to root the stock ROM?
V0latyle said:
Weird. Do you get any errors in TWRP when flashing Magisk?
Were you able to root the stock ROM?
Click to expand...
Click to collapse
Installation completed (appeared) successfully in TWRP. No errors when I read line-by-line. I installed it as a zip.
I can root the stock ROM, but didn't do it on this attempt before installing GSI. I followed the instructions above to a tee just to make sure.
To root the stock ROM I have to magisk patch the AP file (from stock) and flash that with ODIN. Then use special key combo to boot (VOL_UP + POWER) with root.
GreekFire123 said:
Installation completed (appeared) successfully in TWRP. No errors when I read line-by-line. I installed it as a zip.
I can root the stock ROM, but didn't do it on this attempt before installing GSI. I followed the instructions above to a tee just to make sure.
To root the stock ROM I have to magisk patch the AP file (from stock) and flash that with ODIN. Then use special key combo to boot (VOL_UP + POWER) with root.
Click to expand...
Click to collapse
you can't flash magisk as zip to the recovery on old samsung devices "read magisk FAQs for samsung devices". Check out the fresh discord server so that you can get more assistance directly from the dev.