Problem with Magisk - General Questions and Answers

I have a problem installing Magiks on Motorola G7 Power.
I unlocked bootloader and installed TWRP
Then i flashed Magik and DisablebDM Verity.
My phone was rooted, Installed apps and modules. I renamed Magisk Manager to hide it.
Everything was fine. But then one od apps was still able to see that my bootloader was unlocked so i restored Magisk Manager and renamed it again and i wanted to reboot my device, but it fot stuck in a bootloop so i turned on TWRP to flash Magisk again but all phone files were encrypted. I wiped dataand the files seemed fine. But now if I flash Magisk the phone is stuck in a bootloop and the only thing that is fixing it is using TWRP bootloop fix grom advanced options but the device boots up root checker data it's not rooted properly.
What can I do to fix this and install Magisk?

Re-flash Stock ROM.

jwoegerbauer said:
Re-flash Stock ROM.
Click to expand...
Click to collapse
Can I just flash it through TWRP? Or do I need to use other method?
Sorry but this is my first time rooting device.

You flash a device's Stock ROM by means of ADB
Code:
adb devices
adb reboot sideload
adb sideload <PATH-TO-STOCK-ROM-ZIP-FILE-ON-PC>

dude reading this thread give me headache and some magisk modules could cause bootloop due to incompatibility with your OS going back to stock rom will be provably your best choice or you can try to uninstall the magisk module before the bootloop has happened

Thanks for help but I don't think I'm going to flash my stock rom, I am too scared to do that

Also I don't have any modules installed right now because i wiped my device using TWRP

Sarreos said:
Also I don't have any modules installed right now because i wiped my device using TWRP
Click to expand...
Click to collapse
well at least you can still acccess TWRP thats a good thing

I managed to reboot my system without magisk it just bootloops when I flash it

Sarreos said:
I managed to reboot my system without magisk it just bootloops when I flash it
Click to expand...
Click to collapse
have you tried wipe data/factory reset and wipe cache partition via recovery mode?

I wiped data in recovery mode because the files were encrypted but after that whenever I flash Magisk my phone just gets stuck in bootloop

Sarreos said:
I wiped data in recovery mode because the files were encrypted but after that whenever I flash Magisk my phone just gets stuck in bootloop
Click to expand...
Click to collapse
have you tried tried not using TWRP to install Magisk and using the Magisk Manager apps instead ??
you can download the latest version apk here https://github.com/topjohnwu/Magisk/releases/tag/manager-v8.0.7

You mean the patched image?

Sarreos said:
You mean the patched image?
Click to expand...
Click to collapse
you already have the patched image that the Magisk Manager apps provided?

I have flashable Magisk-v21.4.zip

I was installing it using TWRP

I just remembered that before I rebooted and got stuck in a bootloop I deleted BusyBox module using Magisk Manager.

Sarreos said:
I was installing it using TWRP
Click to expand...
Click to collapse
Currently does your Magisk Manager tell the Magisk version installed ?? if not you don't have Magisk successfully flashed Magisk yet

{
"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"
}

.

Related

[MOD][TEST] ART WhatsApp Fix 4.4

I happened on this post whilst trying to get some SystemUI.apk mods to take on ART:
http://forum.xda-developers.com/showthread.php?p=47604251#post47604251
I tried the modified libart.so file by @cernekee on my Moto X VZW Dev Ed (because a working phone needs to be broken fixed) and it seems to work. I've made a flashable file to remove the leftover WhatsApp parts and flash the new libart.so if you'd like to give it a go.
Steps to install:
1. Switch to ART. (You need to have stock SystemUI.apk and SystemUI.odex - see attached).
2. Flash zip in recovery
3. DO NOT WIPE DALVIK/CACHE
4. Reboot and profit reinstall WhatsApp from Play Store if needed.
As usual, make a backup first and please don't flash this if you are uncomfortable fixing a bootlooped phone!
{
"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"
}
If you screw up and wipe dalvik/cache, just flash the stock libart.so zip (attached) reboot then reflash the Mod.
Will this work on the brazilian firmware?
No clue. But this is a Nexus 5 libart.so and it's working on a Vzw Moto X so it most likely should. This isn't something I'd try with a locked bootloader though.
Just tried here and it's working perfeclty! Thank you!
I didn't even have to reinstall Whatsapp.
One question though: what happens if I try to wipe cache one day? Will it bootloop the phone?
MaKTaiL said:
Just tried here and it's working perfeclty! Thank you!
I didn't even have to reinstall Whatsapp.
One question though: what happens if I try to wipe cache one day? Will it bootloop the phone?
Click to expand...
Click to collapse
Yes but the fix is easy:
Hold power button (shut off) > boot to fastboot > boot to recovery > flash the stock libart.so > reboot > flash nexus 5 libart.so > reboot.
It has happened to me once so far lol.
question
i dont understand what do i have to flash , moto x libart, moto x stock libart , o systm ui odex ... can i help me a bit plx
bastianvy said:
i dont understand what do i have to flash , moto x libart, moto x stock libart , o systm ui odex ... can i help me a bit plx
Click to expand...
Click to collapse
Do you have root and custom recovery?
chaoslimits said:
Do you have root and custom recovery?
Click to expand...
Click to collapse
yes i do
bastianvy said:
yes i do
Click to expand...
Click to collapse
OK.
Make a backup of your phone.
Download all 3 zip files.
Enable ART if you have not done so already
Reboot and let Android optimize itself. Whatsapp should crash at this point.
Reboot into recovery and Flash Moto X_ART_Libart.so.zip
Do NOT wipe cache/dalvik and reboot.:fingers-crossed:
If your phone boots fine, launch Whatsapp. :victory:
If your phone boots but you have no status or notification bar, flash SystemUI_VZW_Odex_Stock.zip; a mod is breaking SystemUI.apk.
If your phone does not boot (most likely because you wiped cache/dalvik), shut it down (hold power button). Then boot into recovery via fastboot and flash Moto X_ART_Libart_Stock.so.zip.
chaoslimits said:
OK.
Make a backup of your phone.
Download all 3 zip files.
Enable ART if you have not done so already
Reboot and let Android optimize itself. Whatsapp should crash at this point.
Reboot into recovery and Flash Moto X_ART_Libart.so.zip
Do NOT wipe cache/dalvik and reboot.:fingers-crossed:
If your phone boots fine, launch Whatsapp. :victory:
If your phone boots but you have no status or notification bar, flash SystemUI_VZW_Odex_Stock.zip; a mod is breaking SystemUI.apk.
If your phone does not boot (most likely because you wiped cache/dalvik), shut it down (hold power button). Then boot into recovery via fastboot and flash Moto X_ART_Libart_Stock.so.zip.
Click to expand...
Click to collapse
thanks ^^, i will let u know how it goes to me, (sorry for my bad english)
is there a whatsapp fix for ART without flashing this file via recovery?
i've only root permissions on my 4.4 AT&T
P910iii said:
is there a whatsapp fix for ART without flashing this file via recovery?
i've only root permissions on my 4.4 AT&T
Click to expand...
Click to collapse
I would strongly advise against touching anything in /system/lib without having a backup via recovery. Don't do it.
Edit: It's especially dangerous if you mistakenly wipe dalvik/cache.
Thank you, i'll wait 4.4.2
Is there any way to flash this on a stock recovery or by any other means? I have 4.4 with stock recovery, SlapMyMoto root and MotoWPNoMo.
dicarli said:
Is there any way to flash this on a stock recovery or by any other means? I have 4.4 with stock recovery, SlapMyMoto root and MotoWPNoMo.
Click to expand...
Click to collapse
The new version of Whatsapp supports ART i guess.... Try it once...

[cofface] [3.1.1-0]Twrp recovery for Huawei Nova2

Hi guys,
I made the TWRP from TeamWin official sources for Huawei Nova2 . You can download the img and flash it from fastboot.
Bootloader unlocked required!
Installation:
Unlock bootloader (skip if you have already unlocked it)
Reboot into fastboot mode
Flash using
Code:
HTML:
fastboot flash recovery cofface_pic_al00_recovery_en.img
Reboot
Download:
AndroidFileHost
Bugs:
When device is encrypted you can't see the files into recovery
Let me know if there are others
if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc:fingers-crossed:
PAYPAL DONATION LINK
email:[email protected]
Unfortunately It is not working!
After flashing your file there is still the Huawei EMUI Bootloader and no TWRP. Bootloader was unlocked before. Fastboot was working fine.
Any idea?
Problem with Google GAPPS
Hi,
Thank you for your tuto and your ROM
I have bought my nova 2 in china.
Do you know how to install GAPPS. I have tried different version (stock, pico,.. ) but it's no use.
Do you know if I have to change the region first ?
Is it ok with your ROM ?
Regards
Perfect
Perfect, thank you!
Not working
Hello,
TWRP ist not working for me, I still have the EMUI bootloader after flash and reboot.
Boot into TWRP Recovery ("fastboot boot cofface_pic_al00_recovery_en.img") is aborted with:
"FAILED (remote: Command not allowed)"
Is there anything I've done wrong?
Thx!
dr.luther.1517 said:
Perfect, thank you!
Click to expand...
Click to collapse
did it work with your Nova 2?
i have got a demo device ( from germany ). Can some one upload his OEM info for a normal device ?
And yeah... it works
Success
Works very well, Thanks !
But ... while playing with it I lost the stock ROM for my Huawei Nova 2.
Since there is no download source available, could anybody share a stock ROM backup so I could restore using Twrp ?
Thanks !
My Nova 2 (PIC-LX9C432) automatically encrypts the disk after the first run, and then TWRP is unable to read /data partition nor do nandroid backups as a result. Can someone guide on how to disable encryption or get TWRP to decrypt data.
I read elsewhere that newer versions of TWRP are able to decrypt if you set a password / screen lock.
WARNING!!!! DO NOT FLASH THIS RECOVERY
Ideally cofface should remove this thread as flashing this recovery causes harm and no good. This TWRP port does not detect nor decrypt encryption on the 'data' partition and hence you will not be able to root your device nor take a nandroid backup.
What's worse, you will loose your recovery partition and will not be able to flash any other stock Nova 2 firmware updates.
If you have not yet flashed recovery and have the stock, please do a backup of your stock recovery and upload for the benefit of those who have lost it because of this recovery. See this thread...
https://forum.xda-developers.com/nova-2/help/help-restore-stock-recovery-t3741034
jusma said:
WARNING!!!! DO NOT FLASH THIS RECOVERY
Ideally cofface should remove this thread as flashing this recovery causes harm and no good. This TWRP port does not detect nor decrypt encryption on the 'data' partition and hence you will not be able to root your device nor take a nandroid backup.
What's worse, you will loose your recovery partition and will not be able to flash any other stock Nova 2 firmware updates.
If you have not yet flashed recovery and have the stock, please do a backup of your stock recovery and upload for the benefit of those who have lost it because of this recovery. See this thread...
https://forum.xda-developers.com/nova-2/help/help-restore-stock-recovery-t3741034
Click to expand...
Click to collapse
Perhaps you could get some tips from nova (1) thread there we had the same problems. But so long we have a working twrp with backup possibility.
Hi, i used this Twrp, but did not notice the error mesaje when i "create" a back up for all my data, then when deleting some things, i went off the road and ended deleting the complete operative system, and know i dont seem to be able to find a room for my phone is a huawei p10selfie(in my country) or huawei nova 2 plus (in the rest of the world) model BAC-L03, sry if i dont use the correct words, since english is not my native lenguaje
I was installing this twrp in Nova 2i and it get bricked ...I can only open TWRP which is just usless i can't flash anything from TWRP coz TWRP is not able to mount anything .Bootloader won't start and even my pc can't detect my phone. Any hope ?
iamramanlmc said:
I was installing this twrp in Nova 2i and it get bricked ...I can only open TWRP which is just usless i can't flash anything from TWRP coz TWRP is not able to mount anything .Bootloader won't start and even my pc can't detect my phone. Any hope ?
Click to expand...
Click to collapse
Nova 2i is Mate 10 Lite! https://forum.xda-developers.com/ma...e--roms-kernels-recoveries--other-development
{
"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"
}

Can I flash an encrypted device?

Hi,
I have a Galaxy Note 4, running on TWRP 2.8.5 and on OS 6.0.1. I am into a tricky issue as the device is encrypted, and I am unable to load to it, as upon booting into the OS it throws a tantrum about the device being encrypted. I'm unable to factory data reset it via the TWRP as well. The device is not rooted. Long story short, I dont care about the contents and I'm willing to flash to the OEM firmware. Will I be able to do this? The device is not carrier locked. Is there any pre-requisites to check?
Please advise, and many thanks.
abhishek_turbo911 said:
Hi,
I have a Galaxy Note 4, running on TWRP 2.8.5 and on OS 6.0.1. I am into a tricky issue as the device is encrypted, and I am unable to load to it, as upon booting into the OS it throws a tantrum about the device being encrypted. I'm unable to factory data reset it via the TWRP as well. The device is not rooted. Long story short, I dont care about the contents and I'm willing to flash to the OEM firmware. Will I be able to do this? The device is not carrier locked. Is there any pre-requisites to check?
Please advise, and many thanks.
Click to expand...
Click to collapse
I would flash the latest TWRP image, format all partitions and then flash the stock firmware or a new rom to get rid of the issue.
LS.xD said:
I would flash the latest TWRP image, format all partitions and then flash the stock firmware or a new rom to get rid of the issue.
Click to expand...
Click to collapse
Hi, thanks for your reply.
When trying to install the rom, I received the error as 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"
}
I tried the following as well but I received the same error when I attempted to install the rom:
1. Go to Wipe > Advance Wipe > Selected system & data > swipe to wipe
2. Went to Wipe > Format Data > typed yes > and wiped successfully.
Hello, what is your phone's model?
LS.xD said:
I would flash the latest TWRP image, format all partitions and then flash the stock firmware or a new rom to get rid of the issue.
Click to expand...
Click to collapse
-Hope- said:
Hello, what is your phone's model?
Click to expand...
Click to collapse
Hi, It is Galaxy Note 4 N910G
Hello, here is the latest twrp for your device
flash it through Odin:
https://dl.twrp.me/trlte/twrp-3.1.1-0-trlte.img.tar.html
Allow modification then go to wipe > format data > type yes
Then reboot to recovery again and flash the rom
-Hope- said:
Hello, here is the latest twrp for your device
flash it through Odin:
https://dl.twrp.me/trlte/twrp-3.1.1-0-trlte.img.tar.html
Allow modification then go to wipe > format data > type yes
Then reboot to recovery again and flash the rom
Click to expand...
Click to collapse
This actually helped. I was able to flash emotion rom, but I'm unable to flash the official samsung rom downloaded from sammobile. I downloaded the rom file twice, but it simply refuses to install, with the error "failed to map file" and "error installing zip file".
Hello,
Official Samsung ROMs are flashed using Odin, twrp only flashes image and zip files not tar files

bootloop in recovery after forced OTA update.

Hi,
I was running the latest stock Android 8 firmware for the op6 with magisk & twrp.
I delayed the firmware update since month then yesterday I was forced to update.
My phone reboot everything was fine. no twrp & no root anymore because of the update.
I booted in latest twrp (fastboot boot twrp.img....) then I flashed the twrp.zip. After reboot I flashed magisk.zip.
After the latest reboot phone stuck for ~30 sec at the warning message saying boot-loader unlock blablalbla. then the phone reboot again and put me in twrp.
What can I do from there ?
Thanks for you help.
Julian.
Do I need to use this method to start from scratch ?
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
You have used the latest blue spark TWRP? If not you should do it
Try booting to the other slot
Deacon-Frost said:
You have used the latest blue spark TWRP? If not you should do it
Click to expand...
Click to collapse
I installed the last twrp on official website its not the one ?
I manage to boot the OS with a factory reset on twrp but I lost all my apps. only magisk app what installed. (because it was installed as a system app?)
I flashed the zip again and now it's everything is working but I can't install netflix... so it seems I'm not systemless :/
if you have any idea on how to make all the things right again it will be nice :good:
thanks for you help
foomanjackel said:
Try booting to the other slot
Click to expand...
Click to collapse
I'm still struggling with this A & B. last time I was on twrp it show me I was on B I think
you need to flash two times the full rom, flash rom flash twrp reboot to twrp, flash rom flash twrp, reboot to twrp flash magisk, reboot
Toni Moon said:
you need to flash two times the full rom, flash rom flash twrp reboot to twrp, flash rom flash twrp, reboot to twrp flash magisk, reboot
Click to expand...
Click to collapse
two time like on A and on B ?
how to boot A to B or B to A ?
when you flash one time and reboot to recovery and flash the rom again,you flash the rom in two slots, you didn't need change slots
I had the same problem, boot loops after rooting the recent OTA update. after soem troubleshooting with TWRP and not really getting anywhere I accidentally wiped the phone (stuck in the Chinese menus, was a mistake). prolly for the best, working great after re-flashing the OTA.
Toni Moon said:
when you flash one time and reboot to recovery and flash the rom again,you flash the rom in two slots, you didn't need change slots
Click to expand...
Click to collapse
Understood !
When I flash magisk for the last step do I need to swipe right "to allow modification"? if I want to be systemless?
A guy is talking about that here and I'm confuse about that => https://forum.xda-developers.com/showpost.php?p=76564294&postcount=6
{
"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"
}

Fail to Boot after after Google Play system update (Boot reason : init_user0_failed)

Hello all,
I wanted to report something that happened to me yesterday:
I recieved the following notification:
{
"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"
}
I selected "RESTART NOW" and when the phone tried to restart, it failed to boot (it didnt even reach the boot animation) and went into recovery. Within recovery there was an option (I think it was called Boot reason) to show the error that prevented the phone to boot into the OS. This was the error:
I tried to pull the files but I couldn't get adb access within the 8T stock recovery. I tried to reboot the phone from recovery but it failed to boot and I was back in the recovery with the same error.
The way that I managed to boot the phone was to select to reboot into recovery (while being in the recovery), and then select to reboot the phone. That, for some reason rebooted the phone and it was able to boot into OS.
My 8T is full stock, with locked bootloader running OOS 11.0.5.6.KB05BA
Hope this is helpfull to someone.
I just received the same notification again. I am not sure if it is regarding the same update as yesterday because it was not applied, or if it is a new one. I have not tried to restart the phone.
I received the same notification but my phone restarted with no issues.
If you can back up the files from internal storage then do that and then flash OOS.
O wow. I'm glad that didn't happen to me either. I don't think you can reflash the OS. I sugget you back up everything just in case it doesn't want to restart later.
You can try manual update Google play system update from:
Security & Lock Screen --> Google Play system update
Btw, I had that notification yesterday, and for now everything is OK, and Google Play system update is "Septembar 1, 2020". Which version is yours?
I am on September 1, 2020. If I tap on it, it checks for updates and then says I need to restart to complete the update.
When I tap says, "your device is up to date"....
So I backed up the phone with the Oneplus Switch app. Copied the folder to my computer (had to zip it becaust the transfer was failing on a .jpg). Selected restart and was faced with the same issue. I restarted again from the recovery (without first rebooting to recovery as in the first post) and I saw a glimpse of the boot animation and then the phone restarted again. After that it booted into the OS and if I check for updated it says that the device is up to date.
Hopefully this will be the end of this issue.
the issue is the canary magisk and secure boot trying a different magisk version repatch boot img and boot it to flash it
I haven't rooted or unlocked the bootloader ever on this phone. My phone is full stock. Locked bootloader running OOS 11.0.6.9.KB05BA. I still get this error when I reboot my phone. Up till now, doing the reboot to recovery "trick" as in the first post, or reboot into fast boot from within recovery, then boot into recovery, then start the phone. Manages to boot the phone.
I just hope that someone can figure out what is causing this.
bad pixel said:
I haven't rooted or unlocked the bootloader ever on this phone. My phone is full stock. Locked bootloader running OOS 11.0.6.9.KB05BA. I still get this error when I reboot my phone. Up till now, doing the reboot to recovery "trick" as in the first post, or reboot into fast boot from within recovery, then boot into recovery, then start the phone. Manages to boot the phone.
I just hope that someone can figure out what is causing this.
Click to expand...
Click to collapse
You can try to download main-component apk from APKmirror, just download latest one (Januari), innstall it, and try redownloading the system update and restart. In my case, it restart just fine. And am on Cyberpunk H2OS 11.0.6.8, BL unlocked, Rooted
see the error, you may flash the third kernel.
just flash back the original boot img, and you can install Google Play System Update successfully.
you may suck in this error screen 1-2 times when reboot with third kernel, just exit and reboot, it will boot into system normally, don't worry.

Categories

Resources