Issue installing Magisk - Magisk

Hi.
I'm trying to install Magisk on a Lenovo Tab 4 8 Plus.
I've unlocked my bootloader and flashed LineageOS 17.1 and GApps.
I've set the tablet up but realised I need to install Magisk. I've downloaded v21.2 zip ( and 21.1 ) and tried flashing them via TWRP. TWRP isn't my default recovery I boot into that first.
In TWRP I'm selecting Install and then the v21.1 or v21.2 zip file. Everything appears OK but I get as far as 'Adding addon.d survival script' and nothing further seems to happen.
Powering off the tablet brings it backup on Lineage OS and nothing has changed.
Any ideas ?
Thanks

Here's Jonny said:
Any ideas ?
Click to expand...
Click to collapse
Perhaps try the patch image method instead:
Installation
The Magic Mask for Android
topjohnwu.github.io

Thanks I'll try that in the morning.
I take it I should be following this: https://topjohnwu.github.io/Magisk/install.html#patching-images
Thanks

Thanks, I've not installed Magisk using the patch.
I'm trying to change my fingerprint using this post HERE
So I've installed Install MagiskHide Props Config and Busybox for Android NDK.
How do I open a terminal to enter the commands ?
Thanks

Just download a terminal emulator from F-Droid or the Play Store.
You've got more instructions on how to use the module in its docs:
MagiskHidePropsConf/README.md at master · Magisk-Modules-Repo/MagiskHidePropsConf
This tool is now dead... Contribute to Magisk-Modules-Repo/MagiskHidePropsConf development by creating an account on GitHub.
github.com

Thanks I had downloaded Termux but didn't realise I needed su first !

Related

[Magisk/Root/Xposed/Busybox]Huawei P9 Lite

-This methode is old but working with emui 4 Android MM (6). Not work with Android N (7).
-Xposed not work in systemless mode if your Android security patch is >= november 2016
-Try to search the last version of zip files and apk on google, the version on this tutorial is old.
Hi!
This tutorial will install Magisk, phh's superuser, xposed and busybox on your Huawei P9 lite device!
Tested on a VNS-L31C432B151 version but normally work on all VNS-L31 and VNS-L21.
Magisk will allow you to "hide" the root... not realy just hide because Magisk and phh's superuser systemless edition create the root outside the system folder!
Magisk feature for common user:
-"hide" root (PokémonGo, Androidpay, banking app, ... all work!) work with
-Magisk not only allow you to replace existing file and directories, but also support adding new files and directories into system!
-Update OTA work! (not tested by me)
For more detail visite this post: http://forum.xda-developers.com/android/software/mod-magisk-v1-universal-systemless-t3432382
Phh's superuser work at 100% on this device
After a lot of Xposed version tested I can say that Xposed systemless edition is by far the best for P9 lite!
DONT install busybox on system folder!
Ok let's go:
1 Update your system on last emui version and swipe data/factory reset to get a clean and untouched device!
2 Unlock your bootloader (see multiple method on this forum)
3 Install TWRP 3.0.2.0 (see multiple method on this forum)
4 Download this files: Magisk V6.zip / phh's superuser 17.zip / xposed-v86.5-sdk23-topjohnwu.zip / Magisk Manager.apk / XposedInstaller_by_dvdandroid.apk. Put all this files on your externalSD.
5 Go to TWRP recovery and flash in order [Magiskv6.zip > phh's_superuser.zip > Xposed-v.86.5.zip] also reboot your device.
6 When you are on the homescreen go reboot again.
7 Install Magisk Manager.apk and XposedInstaller.apk, then go to the playstore download and install Phh's SuperUser app AND Busybox meefik. Reboot after this step.
8 Open your setting app and allow permission SD card to Busybox.
9 Open Busybox >> settings. Remplace the path file /system/xbin/ with /data/busybox/ and check "Remplace Applets". Also go Menu Zip Archive and download this zip.
10 Go on TWRP recovery and flash the busybox zip file.
10 please perform 3 or 4 reboot
DONE!
So, please try to open yours setting app. if it appears you have done! If not, please try again this method
Now, go Magisk Manager (app) and switch root togle off, launch your protected against root app and normally work!
(Dont need reboot between switch root off/on!)(Selinux switch work, but not persist a boot)
Have fun!
Well done. Works perfect.
The are no files any more
Links are dead
deleted
Evas0r said:
Battery draining after the process...
Is this xposed fault?
Click to expand...
Click to collapse
yes u have to flash another version
Did anyone try this on Nougat/Android 7?
Alexander33 said:
Did anyone try this on Nougat/Android 7?
Click to expand...
Click to collapse
TWRP with this [RECOVERY]Revolution Recovery Android Nougat {15-12-16} Beta .9 in Nougat but anything I tried to flash failed.
Is there anything one can do to get Pokémon Go working while having all of these installed?
Alexander33 said:
Did anyone try this on Nougat/Android 7?
Click to expand...
Click to collapse
Hey, man I've tested it on my Huawei P9-LITE B370 and it all works perfectly. To flash Magisk, you need this custom recovery (https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356)
this really helped me thanks
Helped me alot. Still, post is a bit old, so what I did on b380 version:
FLASH RECOVERY twrp-3.1.1-0-venus.img
FLASH KERNEL Elite+Kernel+for+P9+Lite+CxxB3xx+v10.1.zip
ROOT with Magisk-v13.0(96f8efc).zip
INSTALL busybox archive via recovery to /sbin (for me it installed on /system/xbin, still ok.)
REBOOT after each step
Finally works ! :good:
is this Magisk work on Huawei P9?
I have Emui 5.0 and Android 7.0. I flashed everything except xposed but I still can't use Pokémon Go or Snapchat. Is it beacause i can't flash xposed? And when yes, how can I fix it?
Lg ThePrinoob
ThePrinoob said:
I have Emui 5.0 and Android 7.0. I flashed everything except xposed but I still can't use Pokémon Go or Snapchat. Is it beacause i can't flash xposed? And when yes, how can I fix it?
Lg ThePrinoob
Click to expand...
Click to collapse
flash magisk v13
simo255 said:
flash magisk v13
Click to expand...
Click to collapse
Ok, I will test it!
I installed magisk v13 and got the app but it when it check safety net it doesnt work. What should I do?
ThePrinoob said:
I installed magisk v13 and got the app but it when it check safety net it doesnt work. What should I do?
Click to expand...
Click to collapse
enable magisk hide and see if usb debugging is enabled
simo255 said:
enable magisk hide and see if usb debugging is enabled
Click to expand...
Click to collapse
Okey thank you it worked.
Hey,
If I open the camera app or snpachat I cant make any picture so I have a blackscreen. What should I do? And in youtube or Instagram I cant see videos, they dont load and I also cant hear any sound.
Sorry for my bad english.

[TOOL] Magisk Module Manager for recovery v2.5 (Magisk 19)

Since mm isn't working on new Magisk 19, I took it for inspiration and created a simple manager, just for bypass some "bootlooper" module.
Just install it using recovery and run on terminal /data/media/magisk.
v1.0 - Initial build. Enabling and disabling functions
v2.0 - Added module removal function
v2.5 - No need to use storage to work. May avoid issues. Some others minor changes.
All thanks to
- topjonhwu for Magisk
- VR25 for mm
- TWRP team
- Me? Idk
Great work dev[emoji106], thanks
doesn't works for me (doesn't list modules)
mrhamed said:
doesn't works for me (doesn't list modules)
Click to expand...
Click to collapse
To list modules the script needs to write on /cache or /data. It will choose by itself.
Please send some screenshot of issue.
Looks very promising, especially enjoy having a GUI for this.
mrhamed said:
doesn't works for me (doesn't list modules)
Click to expand...
Click to collapse
I'm working to make script use no external files, so script will depends completely on your recovery binaries.
Hope to release it soon.
I suffer a boot freeze because of a bad module.
Cannot use TWRP and don't have module like Magisk Core Only installed.
I cannot boot to rooted system because of bad module.
Can boot non-rooted system only.
For my device LYA (Mate 20 Pro) which for rooting is using root-through-recovery-boot I can patch boot image with whatever Magisk edition which I assume is the best way to recover the device without full wipe.
Can a Magisk version be easily built which will either skip loading custom modules or delete them during boot? After successfully booting rooted I would flash a standard Magisk.
mikeos said:
I suffer a boot freeze because of a bad module.
Cannot use TWRP and don't have module like Magisk Core Only installed.
I cannot boot to rooted system because of bad module.
Can boot non-rooted system only.
For my device LYA (Mate 20 Pro) which for rooting is using root-through-recovery-boot I can patch boot image with whatever Magisk edition which I assume is the best way to recover the device without full wipe.
Can a Magisk version be easily built which will either skip loading custom modules or delete them during boot? After successfully booting rooted I would flash a standard Magisk.
Click to expand...
Click to collapse
I don't know if I got it correctly.
Well... commonly modules won't survive after Magisk removal.
If you can't access TWRP for flash Magisk uninstaller or disable the problematic module, you can try to flash or even boot the ROM's stock kernel through fastboot.
But if such module did others modifications into data, so you'll have to reflash whole ROM.
Are you planning on publishing this on magisk repo?
This has saved my bacon at least 4 times since installing it, many thanks Adriano
Saved me from bootloop module, works like a charm!
Adriano-A3 said:
Since mm isn't working on new Magisk 19, I took it for inspiration and created a simple manager, just for bypass some "bootlooper" module.
Just install it using recovery and run on terminal /data/media/magisk.
v1.0 - Initial build. Enabling and disabling functions
v2.0 - Added module removal function
v2.5 - No need to use storage to work. May avoid issues. Some others minor changes.
All thanks to
- topjonhwu for Magisk
- VR25 for mm
- TWRP team
- Me? Idk
Click to expand...
Click to collapse
It gives me the error "WTF?! The directory was here just now! It's gone! Please try again... Exiting..."
Thx bro, you saved my day
PixelHead0_0 said:
It gives me the error "WTF?! The directory was here just now! It's gone! Please try again... Exiting..."
Click to expand...
Click to collapse
Same here, on Samsung S10+ with August update, latest Magisk and Twrp.
very useful for android 10, thank you sir !
I can't understand how to run it on the terminal
will it work with Magisk 20.0??
Sivabalan said:
will it work with Magisk 20.0??
Click to expand...
Click to collapse
have you tried it? does it work on magisk 20.1
Confirmed working with Magisk 20.1, thanks a ton for this!
working on 20.2 + android 10

[Q] How can I correctly uninstall EdXposed?

Hey! I recently got banned from Snapchat and I now want to uninstall that thing.
I installed the Magisk modules: Riru - Core & Riru - EdXposed
I installed the EdXposed Installer apk
How do I completely remove EdXposed? (I saw an uninstaller at the EdXposed Github. Do I need this?)
Just delete the edxposed modules, the app, and that's it
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Fedray said:
Just delete the edxposed modules, the app, and that's it
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Click to expand...
Click to collapse
Does EdXposed modify files on the system partition? Or only Xposed?
SebiAi said:
Does EdXposed modify files on the system partition? Or only Xposed?
Click to expand...
Click to collapse
That's the advantage of magisk modules, they don't modify anything on your system, if you disable or delete them everything goes back to original
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Fedray said:
That's the advantage of magisk modules, they don't modify anything on your system, if you disable or delete them everything goes back to original
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Click to expand...
Click to collapse
I mean the apk itself. Does it modify system files?
SebiAi said:
Hey! I recently got banned from Snapchat and I now want to uninstall that thing.
I installed the Magisk modules: Riru - Core & Riru - EdXposed
I installed the EdXposed Installer apk
How do I completely remove EdXposed? (I saw an uninstaller at the EdXposed Github. Do I need this?)
Click to expand...
Click to collapse
Just flash the uninstaller zip from here, and it'll remove all remnants of EdXposed. I had a look at the flashable zip and it is deleting the modules created in Magisk Manager as well as the following two folders (which don't get removed if you just remove the modules from Magisk Manager):
/data/misc/riru/modules/edxposed/
/data/misc/riru/modules/edxp/
shadowstep said:
Just flash the uninstaller zip from here, and it'll remove all remnants of EdXposed. I had a look at the flashable zip and it is deleting the modules created in Magisk Manager as well as the following two folders (which don't get removed if you just remove the modules from Magisk Manager):
/data/misc/riru/modules/edxposed/
/data/misc/riru/modules/edxp/
Click to expand...
Click to collapse
Can I flash this through Magisk Manager? I don't have TWRP installed.
SebiAi said:
I mean the apk itself. Does it modify system files?
Click to expand...
Click to collapse
No
chalseu said:
Can I flash this through Magisk Manager? I don't have TWRP installed.
Click to expand...
Click to collapse
No
Sent from my Xiaomi Mi 8 Lite through Tapatalk
chalseu said:
Can I flash this through Magisk Manager? I don't have TWRP installed.
Click to expand...
Click to collapse
If you don't have TWRP, then just delete the following folders (if they exist for you) using a root file explorer and reboot, you should be good:
/data/adb/modules/riru_edxposed/
/data/adb/modules/riru_edxposed_sandhook/
/data/adb/modules/riru_edxposed_whale/
/data/misc/riru/modules/edxposed/
/data/misc/riru/modules/edxp/
anyone tried on android 10 yet ??
got bootloop on gsi
TheUndertaker21 said:
anyone tried on android 10 yet ??
got bootloop on gsi
Click to expand...
Click to collapse
Successfully uninstalled on Pie (uninstalled apk, disabled both Riru Modules, Reboot, Boot in TWRP, Flashed uninstall)
shadowstep said:
If you don't have TWRP, then just delete the following folders (if they exist for you) using a root file explorer and reboot, you should be good:
/data/adb/modules/riru_edxposed/
/data/adb/modules/riru_edxposed_sandhook/
/data/adb/modules/riru_edxposed_whale/
/data/misc/riru/modules/edxposed/
/data/misc/riru/modules/edxp/
Click to expand...
Click to collapse
I've deleted the riru folder since I've also uninstalled the Riru - Core module thinking it was necessary. Now, I'm afraid to reboot. Lol
chalseu said:
I've deleted the riru folder since I've also uninstalled the Riru - Core module thinking it was necessary. Now, I'm afraid to reboot. Lol
Click to expand...
Click to collapse
most likely impossible that it will bootloop.
I'm on android 10 (lineageOS 17) and followed the instructions from the Youtube Vanced telegram channel.
1. Download and install MagsikHide Props Config via Magisk (download link below) then Reboot
2. Download any Android Terminal Emulator
3. Type "su" then "props" WITHOUT quotation marks
4. Type "1" for Edit device fingerprint
5. Type "f" for Pick a certified fingerprint
6. Type "18" for Xiaomi
7. Type "17" for Xiaomi Pocophone F1
8. Type "y" for yes
-Would you like to activate device simulation?
Type "n" for no
9. Then reboot by typing "y"
After all that, you can check the SafetyNet. If both passes, congrats!
Click to expand...
Click to collapse
It triggered both ctsProfile and basicIntegrity. The edXposed uninstaller was a .bin file, and after I renamed it to .zip and flashed it in TWRP the safetyNet issues still remain.
No bootloop though.
I uninstalled the Edxposed Manager app. Switched in Magisk Manager Settings to "Core only Mode" and rebooted. Then cleared cache of play services and cache and storage of play store after force stopping both. Deactivated "Core only Mode" and rebooted. SafetyNet Check passes again.
Nevermind
I read the instructions in the prior post wrong.
Works now
lucidBrot said:
I'm on android 10 (lineageOS 17) and followed the instructions from the Youtube Vanced telegram channel.
It triggered both ctsProfile and basicIntegrity. The edXposed uninstaller was a .bin file, and after I renamed it to .zip and flashed it in TWRP the safetyNet issues still remain.
No bootloop though.
I uninstalled the Edxposed Manager app. Switched in Magisk Manager Settings to "Core only Mode" and rebooted. Then cleared cache of play services and cache and storage of play store after force stopping both. Deactivated "Core only Mode" and rebooted. SafetyNet Check passes again.
Click to expand...
Click to collapse
The only method that's working flawlessly as of Aug 2020. Thanks kind stranger
Fedray said:
NoNo
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Click to expand...
Click to collapse
Can I flash this via ADB sideload?
I installed EdXposed but it bootloops if I try to boot my phone with root enabled. If I flash a non-rooted bootloader, then I can boot.
So now what I want to do is uninstall an EdXposed that's installed on a phone without root -- is that possible by any chance? Probably not?
Edited to add: And there's no TWRP available (Android 11 Pixel 4a).
I solved my problem; here's how:
1.
Code:
fastboot flash magisk_patched.img
2. Boot into the bootloop, and connect USB. Adb is usable during the bootlooping!
3.
Code:
adb shell magisk --remove modules
4. Reboot into safe mode.
5.
Code:
adb shell su
6.
Code:
rm -rf /data/misc/riru/
7. Reboot!
eater99999 said:
I solved my problem; here's how:
1.
Code:
fastboot flash magisk_patched.img
2. Boot into the bootloop, and connect USB. Adb is usable during the bootlooping!
3.
Code:
adb shell magisk --remove modules
4. Reboot into safe mode.
5.
Code:
adb shell su
6.
Code:
rm -rf /data/misc/riru/
7. Reboot!
Click to expand...
Click to collapse
I have the same problem, but after step 3 my phone is automatically reboots to Bootloader Mode.
How did you manage to go to Safe mode from there?

[ROOT] Root Android 11 GSI Phh Any ROM

How to ROOT android 11 PHH Any ROM
This these steps have been tested in Havoc OS 4.1 Treble PHH
Credits SuperSu apk PHH
Credits Scripts @washinson
I upload files and Scripts from two threads to update this method. SuperSu apk from Phh Aosp 11 and Scripts from treble enabled fórum
[Steps]
1. download phh superuser zip
https://forum.xda-developers.com/attachments/phhs-superuser-ab-zip.4542918/
2. Flash PHH superuser in TWRP
3. Download supersu.apk
me.phh.superuser
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
4. Reboot your ROM android 11
5. install supersu.apk
6. test your ROOT with any app
7. the system is rooted
8. Enjoy
Original Thread credits PHH
Please repport
Please use twrp 350 to root a30
Thanks my friend @mp4008
hacker812c said:
Thanks my friend @mp4008
Click to expand...
Click to collapse
Thanks bro
Please twrp 3.5 download link
mp4008 said:
Thanks bro
Please twrp 3.5 download link
Click to expand...
Click to collapse
Link test my friend
[TWRP] [UPDATED 3.5.0] Twrp a30s 3.5.0 (A307x)(Unnoficial)
You Void Will Waranty TWRP 3.5.0 FOR ALL SAMSUNG GALAXY A30S 1. Install Twrp3.5.0(A307x)(Stable).tar to ap slot using Odin. Download Here: https://mega.nz/folder/rpNX0KpD#aVqY1xLL7Z8hENcR7M-Hyg 2. Boot the A30s into TWRP and mount...
forum.xda-developers.com
Thank you very much
mp4008 said:
Thank you very much
Click to expand...
Click to collapse
Reply If root run perfectly
Best regards
Magisk 22
Release Magisk v22.0 · topjohnwu/Magisk
RESTORE THE EXISTING MAGISK MANAGER BACK TO NORMAL BEFORE UPGRADING IF HIDDEN! Another major Magisk release! This time our focus is not the core Magisk implementation, but rather on improving the w...
github.com
how to install magisk 22 from recovery using APK
first download the magisk apk
then enter recovery twrp
now enter the install menu and look for the magisk APK file
even if your recovery is not recent it will not be able to view the APK file
now enter the file manager and rename the APK file to zip
In this point ready now you can flash magisk 22 even with old recovery twrp
NikGapps download
NikGapps - Browse /Releases at SourceForge.net
A Custom Google Apps Package that Suits Everyone Needs!
sourceforge.net
hacker812c said:
how to install magisk 22 from recovery using APK
first download the magisk apk
then enter recovery twrp
now enter the install menu and look for the magisk APK file
even if your recovery is not recent it will not be able to view the APK file
now enter the file manager and rename the APK file to zip
In this point ready now you can flash magisk 22 even with old recovery twrp
Click to expand...
Click to collapse
To install magisk in this way, is the whole procedure at the beginning of the post necessary?
What twrp do I use to root A30 android 11
I get updater error 7 on my A51 with HavocOS. I need root quick as I have to flash my migrate stuff.

[Solved][Question] How to delete /system/xbin files via Magisk Module?

Today I have installed Built-In BusyBox module by zgfg to overwrite meefik's busybox binaries in /system/xbin which I couldn't remove due Resource or Device Busy error.
Then I found out that busybox is one of the ways to detect modified android so I want to remove it but module unfortunately doesn't come with uninstaller so I am stuck with busybox in my /system/xbin directory with no way to remove. All I found on Magisk's docs is to replace files or directories not remove them but 2018's version said that removal is possible, just that it is hassle or something.
Can anyone help?
Additional info: I don't have any Custom Recovery and don't tell me to get one.
Click to expand...
Click to collapse
NOTE! To help others with same problem I am planning to compile answer as Magisk Module so please open PR in this repo:
Click to expand...
Click to collapse
GitHub - UltraStudioLTD/BuiltIn-BusyBox-Uninstaller: Uninstall busybox
Uninstall busybox. Contribute to UltraStudioLTD/BuiltIn-BusyBox-Uninstaller development by creating an account on GitHub.
github.com
Have you tried removal via TWRP?
How to disable Magisk modules without Magisk and TWRP recovery
Hi, I installed an incompatible Magisk module in the past, which cause bootloop of my phone. Co I dirty flashed my ROM (Pixel Experience) to get my phone work again. My current situation is that I cannot flash Magisk because an incompatible...
forum.xda-developers.com
lemon567 said:
Have you tried removal via TWRP?
How to disable Magisk modules without Magisk and TWRP recovery
Hi, I installed an incompatible Magisk module in the past, which cause bootloop of my phone. Co I dirty flashed my ROM (Pixel Experience) to get my phone work again. My current situation is that I cannot flash Magisk because an incompatible...
forum.xda-developers.com
Click to expand...
Click to collapse
I don't have TWRP and I can't install any Custom Recovery.
Please don't tell me to follow that or this instructions to install them, I followed everything and still no luck.
What you could do is enter safmode of your phone (Google how to enter safe mode for your phone) and remove the files manually or use the BusyBox cleaner zip and flash it in magisk manager and if you're lucky it will remove it
Release v1.29.0-YDS-201807132149 · yashdsaraf/bb-bot
Bot to compile, package and release busybox for all android architectures - Release v1.29.0-YDS-201807132149 · yashdsaraf/bb-bot
github.com
Unfortunately safe mode in my phone is kinda broken, I think. Cause every 3rd party app was not only disabled but also disappeared like magic. Also I don't trust unknown ZIPs so I haven't tried that link.
**I solved problem by disabling every Magisk module I had, rebooting and after that it succeed in deletion with no problem**

Categories

Resources