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.
Related
After Root open beta 17 stook on boot logo
Any solution
Amar5373 said:
After Root open beta 17 stook on boot logo
Any solution
Click to expand...
Click to collapse
Well is it really too hard to explain your problem in proper sentences? So you wanted to root your phone. What did you use? Magisk? SuperSU? Which version? I can't help you if you don't provide information..
I have the same problem. Neither SuperSu nor Magisk works.
persa2011 said:
I have the same problem. Neither SuperSu nor Magisk works.
Click to expand...
Click to collapse
supersu not working please help
Use SuperSu 2.82
2.82 works fine for me! Many thanks!
My Steps For Stock OB17 Zip *Same Steps for Magisk V12 Or SuperSu V2.82*
Code:
Flash latest TWRP From Blu_Spark V35 Or Stock TWRP
Format Data Reboot TWRP
Wipe All
Copy [URL="http://downloads.oneplus.net/oneplus-3/oneplus_3_oxygenos_openbeta_17/"]OB17[/URL], [URL="https://forum.xda-developers.com/devdb/project/dl/?id=25000"]TWRP V35[/URL], [URL="http://www.supersu.com/download"]SuperSU V2.82[/URL] To Internal Storage
Flash OB17
Select Flash IMG, Install TWRP Reboot TWRP (So Stock Rom Doesn't Replace With Stock Recovery)
Wipe Cache/Dalvik
Flash SuperSU
Reboot = Profit
*Optional*
Take A Backup Of Rooted Boot IMG (If You Flash A Custom Kernel And Run Into Issues You Can Restore Rooted Boot IMG With Ease)
Flash Kernel Of Choice (Beware Because Of No Source Code And Kernel Changes Might Be Some Issues With Custom Kernels)
TO root latest beta an stable version you can follow this guide:
Hi everyone.
I had a issue and i really want help
I had unlock the OEM,and after installing the twrp and format data (to remove the forced encrypt), i had flash the Disable_Dm-Verity_ForceEncrypt zip file.
Okay, after that i have restarted the device and configure as my away to use, after that, booted on recovery again and flashed the magisk.
But i wanna encrypt my device, and when i go to configs->security and encrypt area, says that my device its not encrypted. Okay, i followed the steps and when i gonna try to encrypt the device, the process start and... some seconds after, the phone just restart and nothing has done.
The onlys changes that i have made on system is: root and flashed a splash.img(without that stupid warning of unlocked bootloader)
I really want to encrypt my device, so, if i get stolen, the thief wont get my user data.
Can anyone help me?
Flash the stock rom and and don't flash the encryption disabler next time. You don't need to install TWRP to flash Magisk either, you can just boot it and then flash Magisk. Also you don't even need TWRP, you can just follow the guide in the forum to install Magisk by booting the magisk patched boot.img for your version of the stock ROM and then install Magisk manually via Magisk Manager.
TL;DR : Flash stock ROM and do the same things except flashing dm-verity-disabler, you don't need that for Magisk or TWRP.
marstonpear said:
Flash the stock rom and and don't flash the encryption disabler next time. You don't need to install TWRP to flash Magisk either, you can just boot it and then flash Magisk. Also you don't even need TWRP, you can just follow the guide in the forum to install Magisk by booting the magisk patched boot.img for your version of the stock ROM and then install Magisk manually via Magisk Manager.
TL;DR : Flash stock ROM and do the same things except flashing dm-verity-disabler, you don't need that for Magisk or TWRP.
Click to expand...
Click to collapse
Thanks sir, i will try!
marstonpear said:
Flash the stock rom and and don't flash the encryption disabler next time. You don't need to install TWRP to flash Magisk either, you can just boot it and then flash Magisk. Also you don't even need TWRP, you can just follow the guide in the forum to install Magisk by booting the magisk patched boot.img for your version of the stock ROM and then install Magisk manually via Magisk Manager.
TL;DR : Flash stock ROM and do the same things except flashing dm-verity-disabler, you don't need that for Magisk or TWRP.
Click to expand...
Click to collapse
Sir, i really need twrp now, its there any way i can enable encrypt after rooting the device? (to sure that, if gets stolen, the data need to be wipped out or the password must be given on twrp)
Same issue, i tried to encrypt on security menu,reboot and nothing was done.
@edit
Better, without TWRP, i can flash other zips via magisk/stock recovery?
mrkeitsuke said:
Sir, i really need twrp now, its there any way i can enable encrypt after rooting the device? (to sure that, if gets stolen, the data need to be wipped out or the password must be given on twrp)
Same issue, i tried to encrypt on security menu,reboot and nothing was done.
@edit
Better, without TWRP, i can flash other zips via magisk/stock recovery?
Click to expand...
Click to collapse
I'm not sure what you're trying to do here, do you want to have TWRP + stock encryption?
If so you can just boot TWRP and flash the TWRP installer package (.zip) inside TWRP to do that. And you don't need to change anything, currently I have TWRP installed and encryption enabled on my Stock ROM.
But if you're trying to get TWRP's own encryption, sadly that doesn't work.
You can also use TWRP without flashing/installing it, just go to the directory TWRP is stored in, open a command line, connect your phone and boot it with this command :
Code:
fastboot boot twrp.img
then flash whatever you'd like.
DO NOT lock your bootloader after you flash something on TWRP, this will most probably brick the device.
marstonpear said:
I'm not sure what you're trying to do here, do you want to have TWRP + stock encryption?
If so you can just boot TWRP and flash the TWRP installer package (.zip) inside TWRP to do that. And you don't need to change anything, currently I have TWRP installed and encryption enabled on my Stock ROM.
But if you're trying to get TWRP's own encryption, sadly that doesn't work.
You can also use TWRP without flashing/installing it, just go to the directory TWRP is stored in, open a command line, connect your phone and boot it with this command :
Code:
fastboot boot twrp.img
then flash whatever you'd like.
DO NOT lock your bootloader after you flash something on TWRP, this will most probably brick the device.
Click to expand...
Click to collapse
I want to stick with the stock rom rooted, with the twrp installed and the user data encrypted
So i can flash things through TWRP even i have encrypt enabled?
@edit
dont worry about bootloader, i will keep unlocked
It's perfectly fine to have TWRP and/or Magisk and encryption using stock ROM.
Flash stock ROM (erase user data)
Install TWRP
install Magisk
Don't flash the encryption Disabler. As its name implies, it disables the automatic encryption of the userdata partition.
a1291762 said:
It's perfectly fine to have TWRP and/or Magisk and encryption using stock ROM.
Flash stock ROM (erase user data)
Install TWRP
install Magisk
Don't flash the encryption Disabler. As its name implies, it disables the automatic encryption of the userdata partition.
Click to expand...
Click to collapse
:highfive: i had done this and... i think its working!!! :crying::crying::crying:
(crying for emotion, almost thirty factory resets to get an good result :crying::crying::crying
Anyway, if anything bad occurs, i will update here, thanks a1291762 and marstonpear
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?
The magisk apk, when flashed in TWRP flashes as normal but the app does not show up in the ROM, and the phone doesn't get rooted.
I had this problem on both ArrowOS and Syberia OS now, and I clean flashed both times directly from MIUI.
Can anyone help me out with this?
Install the magisk app
Rename magisk.apk to magisk.zip (only change the last 3 letters) and install it from TWRP-recovery.
zhyylz0201 said:
Install the magisk app
Click to expand...
Click to collapse
I already tried, this happened -
Iceman66 said:
Rename magisk.apk to magisk.zip (only change the last 3 letters) and install it from TWRP-recovery.
Click to expand...
Click to collapse
It didn't work either, when I open magisk app it shows this -
Download Canary version of Magisk (23001) from Github: https://raw.githubusercontent.com/topjohnwu/magisk-files/canary/app-debug.apk
Rename app-debug.apk to app-debug.zip and flash it with TWRP
Iceman66 said:
Download Canary version of Magisk (23001) from Github: https://raw.githubusercontent.com/topjohnwu/magisk-files/canary/app-debug.apk
Rename app-debug.apk to app-debug.zip and flash it with TWRP
Click to expand...
Click to collapse
No change
Other method is patching boot.img with magisk manager. You can find some tutorials with google. Extract the boot.img from ROM.zip, put in on internal memory of your phone and patch it with magisk manager app on your phone.
Than flash the patched boot.img with adb or TWRP. You need an extractor tool to get the boot.img from the rom.zip.
Iceman66 said:
Other method is patching boot.img with magisk manager. You can find some tutorials with google. Extract the boot.img from ROM.zip, put in on internal memory of your phone and patch it with magisk manager app on your phone.
Than flash the patched boot.img with adb or TWRP. You need an extractor tool to get the boot.img from the rom.zip.
Click to expand...
Click to collapse
I am using a custom kernel, will that change the process?
You need to reflash the custom kernel again after flashing the patched boot.img, but first check if your phone is rooted. (check in magisk app or install a root check app.)
The boot backup that I took before I flashed my custom kernel is the one that needs to be patched right?
If this isn't the case, can you guide me on how to get the boot.img? I only see payload.bin in my ROM.zip .
Okay, thank you for your help everyone
I ran into a different problem - when I install the patched boot.img, I get magisk but then I boot into TWRP and flash TWRP and my custom kernel, and I lose my root.
Dhruv.m said:
Okay, thank you for your help everyone
I ran into a different problem - when I install the patched boot.img, I get magisk but then I boot into TWRP and flash TWRP and my custom kernel, and I lose my root.
Click to expand...
Click to collapse
You have to patch the boot IMG with the TWRP already flashed, our phone doesn't have a recovery partition, so it's saved in the boot partition and installing Magisk from TWRP deletes the recovery, here is a good tutorial:
TWRP + Root
Hi all. Hope you are good and safe from Covid-19. If you like TWRP as your recovery and want to keep root access as well, I am going to show you how to do that. Because if you take the stock boot.img and patch it via magisk, you will lose TWRP...
forum.xda-developers.com
hello
I have rooted my device with magisk patch boot image and it work .my device is rooted.
but when I restart my device root has lost.
I have try 3-4 time this process but each time after device restart root has lost.
pls help...
miui version- miui global 14.0.3
magisk version - 26.1
wakram001 said:
hello
I have rooted my device with magisk patch boot image and it work .my device is rooted.
but when I restart my device root has lost.
I have try 3-4 time this process but each time after device restart root has lost.
pls help...
miui version- miui global 14.0.3
magisk version - 26.1
Click to expand...
Click to collapse
I suggest you install the latest Orang fox recovery if you don't have it or if you don't have custom recovery. Ive had issues with magisk "sticking" bc of the installed recovery. Flash Magisk zip via recovery then reboot to system and make sure it's still there. Make a copy of magisk zip and rename it "uninstall.zip" Then reboot to recovery and flash uninstall.zip. Then reboot to system then again to recovery and reflash Magisk zip. You can also try installing magisk alpha
Aserar said:
I suggest you install the latest Orang fox recovery if you don't have it or if you don't have custom recovery. Ive had issues with magisk "sticking" bc of the installed recovery. Flash Magisk zip via recovery then reboot to system and make sure it's still there. Make a copy of magisk zip and rename it "uninstall.zip" Then reboot to recovery and flash uninstall.zip. Then reboot to system then again to recovery and reflash Magisk zip. You can also try installing magisk alpha
Click to expand...
Click to collapse
i don't want to install custom recovery.[ bcz of ota update].
is there any way to fix this issue?
Flash Magisk zip
wakram001 said:
i don't want to install custom recovery.[ bcz of ota update].
is there any way to fix this issue?
Click to expand...
Click to collapse
Most people will have minimum to no experience regarding your situation honestly since its rare to root without the safty of a custom recovery. I think you should ask in the main magisk XDA thread or consider a custom recovery. Its hard to pinpoint the reason in this situation
Aserar said:
Most people will have minimum to no experience regarding your situation honestly since its rare to root without the safty of a custom recovery. I think you should ask in the main magisk XDA thread or consider a custom recovery. Its hard to pinpoint the reason in this situation
Click to expand...
Click to collapse
ok now I will consider custom recovery.( twrp ).