Questions tagged [magisk]
For questions specific to the Magisk systemless interface and its GUI application, Magisk Manager
188
questions
0
votes
0
answers
19
views
Samsung Galaxy S21 with Odin3 did not root or flash for some reason
I just flashed my Samsung Galaxy S21 with Odin3 and it said "PASS!" and then it reset and rebooted. But it did not say "The phone is not running Samsung's official software" or ...
0
votes
0
answers
76
views
Run a root script using Magisk mount space
There are many questions on this site about running a root script but none using Magisk mount space.
I have a Pixel 6a and came across this post (65) in a thread dedicated to improve the speaker ...
1
vote
1
answer
43
views
Spotify turns into "Google Assistant" and crashes
This is a weird one - I'm running Magisk rooted Lineage on a Pixel 4a
When I reboot, Spotify is renamed to Google Assistant and I get a popup saying "Google Assistant keeps stopping", and ...
2
votes
1
answer
68
views
Mounting an extra partition as a fake external SD card
Nowadays phones don't have SD cards anymore, but some have a ton of storage. So, I was thinking of creating a fake external SD card using an extra partition to be able to store all of your zip ...
1
vote
0
answers
45
views
Is there some way to prevent myself from shutting down my [rooted] phone in some specific cases?
This is question is basically an acknowledgement that I'm very f-ing lazy.
First, I'm on a Pixel 6 Pro running stock A13, rooted and filled with Magisk modules.
I needed to find a way to guarantee I'...
1
vote
0
answers
59
views
There aren't executable/binaries inside the folder lib/x86 of Magisk-v26.1.apk file
I'm trying to enable KVM for SM-A600G (Samsung Galaxy A6 with exynos7870). I'm following the tutorial by raspiduino:
At point 7:
Step 7: Download latest Magisk apk and change the .apk extension to ....
1
vote
0
answers
126
views
Is there anyway to patch /apex using Magisk?
As part of Project Mainline, Google decided to pack a number of files in .apex modules which are located in /system/apex which upon boot, are extracted and mounted in /apex.
For example: the contents ...
2
votes
1
answer
68
views
With magisk, how to bypass boot-time password input?
I have an phone with magisk and termux installed, and now functions as a mini server at home. Whenever I need to reboot the phone, I need to manually unlock the phone with GUI to get termux running, ...
1
vote
0
answers
147
views
Prevent Bypassing Android Verified Boot in custom ROM
Installing custom rom needs unlocked bootloader. so I unlocked bootloader.
I built a custom android 12 rom with AVB enabled for system and boot partitions and flashed it.
if I Installing apk through ...
1
vote
1
answer
61
views
Mount a MicroSD to all namespaces on Android 11
I'm trying to mount a MicroSD. As I understand it, this should be done in the global namespace. Root - Magisk.
I tried:
su --mm -c mount -t sdfat /dev/block/mmcblk0p1 /storage/0123-4567
nsenter -t 1 -...
2
votes
0
answers
245
views
My Samsung device is rooted but Magisk is "not installed"
I have a Samsung A7 2018 (SM-A750F) Android 10 A750FXXU5CVJ2, today I rooted my phone through patching the AP file in Magisk v25.2 installed on my stock firmware, then I flashed the patched AP using ...
0
votes
1
answer
1k
views
Upgrading Magisk to latest version: Boot image kernel_dtb was patched by old (unsupported) Magisk
I installed a custom ROM (MIUI Splitfire) on my phone with Magisk 23.0v.
Later I saw Magisk update, so I decided to upgrade to the latest version which is 25.0v from the app and got this error:
- ...
2
votes
1
answer
121
views
whoami: bad uid 0 / Magisk vs. Toybox
I replaced old /system/bin/toybox with a new binary from http://landley.net/toybox/bin then I created symlinks with for i in $(./toybox); do ln -s toybox $i. There is su in symlinks.
Now I cannot open ...
-1
votes
1
answer
121
views
Where does Magisk look for image files?
I'm attempting to root a Nexus 5x. I've installed Magisk 25.2 but I don't know where to place the image file so that Magisk can find it. When I select "Select and Patch a File", Magisk ...
0
votes
0
answers
57
views
init.rc won't run iptables-restore but runs iptables
I have this code in /system/etc/init/fw.sh that works great:
on post-fs-data
exec u:r:magisk:s0 -- /system/bin/iptables -P INPUT DROP
But the line below does not work:
exec u:r:magisk:s0 -- /...
3
votes
0
answers
128
views
How find large files with QDirStat on Android 11 with root?
I want to list all files in my phones /data volume using QDirStat, or something simular.
On my phone, I've used DiskUsage (com.google.android.diskusage) before, but I find the visualization lacking.
I ...
1
vote
0
answers
373
views
Error Installing Zip AND unzip error?
Hardware details:
poco x3 NFC
Issue:
I'm trying to install some external modules. Getting errors from Magisk and TWRP.
I've verified the integrity of the modules after having re-downloaded them: ...
1
vote
0
answers
768
views
Why does Magisk not run my script on boot?
I have Android 10, Samsung a7. I have root by custom firmware + Magisk.
I tried to put script in:
/data/adb/service.d/myscript
/data/adb/post-fs-data.d/myscript
/system/etc/init.d/myscript
But it ...
0
votes
0
answers
466
views
Magisk fails on the latest Android 13 boot image
I have a boot.img file that Magisk says "unknown/unsupported image format" trying to patch. It's a valid working boot image and can be flashed and booted. It's also the latest android 13 ...
1
vote
1
answer
465
views
stuck on boot-loop
I experimented with custom roms, my phone cant load system, i get the start vibration with redmi screen looped. I have redmi note 9 pro max, i got lineage os 18.1 working for month, i tired upgrading ...
0
votes
1
answer
787
views
How to flash boot partition from the phone itself?
I already have Magisk installed by patching boot_b — the current boot partition. Therefore I have root privilege and can access it through the su command in Termux. The issue is that when I update ...
2
votes
0
answers
1k
views
How do hackers change (mask) IMEI numbers?
Recently, I saw a "Google Pixel 3XL" with a seller, and he claimed that its IMEI number had been changed. When I asked, how did he know that? He said this is because of the "Magisk"...
0
votes
0
answers
30
views
Add pkt, apt or any other packet manager onto the Oneplus Nord
On my phone any kind of packet manager is missing. With that - presumably - it is possible to install python on Android. Not even dpkg or rpm are available (curl would be available though). Is there ...
1
vote
0
answers
915
views
How can I install Magisk alongside LineageOS on my S10?
I have an S10, which was not bound to any carriers. I managed to install LineageOS and GApps following the steps from LineageOS' official site for my model and everything seems to work perfectly. ...
3
votes
0
answers
164
views
Create custom SELinux domain using magiskpolicy
Tried to make custom domain for an app that is installed from PlayStore. I created a module that would patch the policy at boot and edited system/etc/selinux/plat_seapp_contexts to assign the app my ...
0
votes
0
answers
89
views
Create boot.img from compiled kernel
I am trying to install Magisk on a RePhone. The only operating system related download I found (on the company's website or anywhere else) is this: https://myrephone.com/opensource.7z
That seems to be ...
1
vote
0
answers
369
views
How do I extract the boot image from my ROM on my phone to modify with magisk? [duplicate]
I am trying to root my phone and I need to extract the boot img from the ROM on my phone preferably using the phone itself. Then I will modify the boot img with magisk.
How can I extract the boot ...
1
vote
1
answer
361
views
Undoing MagiskHide or updating magisk without the GUI (perhaps by using magisk --install-module)?
I have magisk installed on my phone – binary & daemon version 22.0:MAGISK (22000). It is great. I had to install MagiskHide to enable a banking app that otherwise did not work.
I used the option ...
1
vote
0
answers
95
views
ALLDOCUBE kPad Magisk
Before you ask, I cannot use TWRP or any custom recovery since I couldn't find any for my device.
I have spend over a day trying to flash Magisk on my kPad I got for Prime Day. Every single time, it's ...
1
vote
0
answers
73
views
Help me root my Vivo Y83
So i somehow unlocked bootloader of my Vivo Y83 (vivo1802).
but now after flashing magisk patched boot image my phone goes on bootloop.
and after flashing back original boot.img phone comes back up
...
7
votes
0
answers
6k
views
What is a vbmeta partition?
One of the optional steps of the Magisk installation steps says,
(Optional) If your device has a separate vbmeta partition, you can patch the vbmeta partition with command:
fastboot flash vbmeta --...
0
votes
1
answer
2k
views
Magisk 25+ on a custom ROM: ramdisk + vbmeta, but no boot.img
According to the release notes in Magisk v25 there was significant rewrite. The installation instructions advocated now say flashing Magisk in recovery is
This installation method is deprecated and ...
0
votes
0
answers
180
views
Moto G7 Plus Pixel OS 12 Cannot Pass SafetyNet check
I have a Moto G7 Plus.
I installed the Pixel OS 12 Plus. I installed Magisk 25.1. I enabled both Zygisk and Enforce DenyList. In the DenyList, I only selected the Google Play Services, enabled all the ...
0
votes
1
answer
2k
views
Magisk: Failed to patch: Unsupported image format
I'm trying to root a Pixel 5a using Magisk (24.3). I've downloaded the barbet-rd2a.211001.002-factory-dbed3a6f factory image, pushed it to the phone, and tried to patch it with Magisk.
However, the ...
1
vote
1
answer
225
views
Device cannot access Internal Storage without elevated rights
After my NANDroid restore didn't work as expected, flashed a clean ROM + Magisk.
When booted to system, internal storage is not accessible (regular File Manager, MTP, adb shell, MiXplorer's Internal ...
0
votes
2
answers
240
views
NexiPay app and Magisk
I'm trying to run a banking app called NexiPay (I guess it's available only in italy), but it doesn't start because it recognizes my system as rooted. I'm running LineageOS 15 (Android 8.1) and GApps.
...
1
vote
0
answers
209
views
How to make file executable and belong to my user on Android (rooted phone)
I've put an executable into my /sdcard folder, and here it is:
-rw-rw---- 1 root everybody 4128608 2022-05-28 18:46 hello_world
it belongs to root. I tried
citrus:/sdcard $ chown citrus:citrus ...
1
vote
0
answers
354
views
Problems booting into recovery magisk (Android 12)
I rooted my Samsung Note 10 running Android 12/One UI 4.1 using Magisk in recovery mode a few weeks ago, however since then I have only managed to successfully boot with Magisk once. I have tried many ...
1
vote
0
answers
875
views
How to enable both "diag" and "rndis" port of Android?
I have One Plus Nord device which is rooted using Magisk. I am able to enable the usb tethering(rndis) and capturing modem logs(diag) separately using the libusb program. But the requirement is to ...
0
votes
1
answer
8k
views
How to fix Kali NetHunter app crashing every time?
Kali NetHunter app is crashing on a rooted Android. Root installed with Magisk and Kali NetHunter installed with nethunter-generic-arm64.
Phone details: Redmi Note 11 (MIUI 13 - Android version 11)
I'...
0
votes
0
answers
1k
views
How to repack Magisk boot image? (Magisk installed)
everyone.
I have a OnePlus 5t, updated to Android 9 and Project Treble.
I have my own Magisk module for my own tweaks, but I am not satisfied. I found that I need a patched init.rc in order to have ...
1
vote
0
answers
27
views
reboot won't work after rom flash
I successfully flashed a pre-rooted stock rom (C.17) using SP Flash Tool on my Realme 6 but after that, reboot won't work. When I tried to reboot (using power button or adb) it just shuts down so I ...
1
vote
0
answers
23
views
Init services does not start at Boot time
I flashed Patch Boot.img via fastboot after flash device start normally but didn't get Root Access..
When i try to get boot logcat i observed that my device didn't start init services at boot time...
...
2
votes
1
answer
1k
views
manually upgrade Magisk on Samsung S10 without losing data
I had a working Samsung S10 which was already rooted with Magisk (v20.*). Due to a Magisk update (v24.1) my root got broken... So I need the manual way.
I successfully patched the stock "recovery....
0
votes
1
answer
386
views
Is possible pass SafetyNet with official Xposed Framework?
I know LSPosed passes SafetyNet on Magisk but I want pass SafetyNet on official Xposed Framework.
Is possible with modules like HiddenCore, or maybe a snet.jar or framework patching trick?
0
votes
1
answer
129
views
Why LSPosed slows down screenshot take?
My phone is Samsung Galaxy M20 (OneUI 2.0 - Android 10) and I use the latest Magisk v24.3 (24300). After installing LSPosed, my phone takes screenshots more slowly.
Why? Is possible to fix this? If ...
1
vote
1
answer
724
views
Installed magisk after LineageOS upgrade and now wifi doesn't work
I have a OnePlus 7 Pro. I had LineageOS 17 (Android 10) with microG, magisk, and vanced on it running just fine for almost a year. I upgraded the Android version to 11 first (which LineageOS ...
3
votes
0
answers
916
views
Rooting android with the dirty pipe vulnerability
there is a newly discovered Linux Vulnerability has which lets you inject code in root processes (source), i have been looking into it but failed to pull anything off, for what i understand to gain ...
0
votes
0
answers
302
views
"The Magic", that Magisk isn't supposed to do
I have magisk 24 which I futilely tried to downgrade using XDA's guide but did not succeed, which is the 2nd part of my Question . There is something v interesting I note ( not sure how long its ...
5
votes
1
answer
5k
views
Bypassing advanced root / modded framework detection
In the past,solutions for preventing root detection were centered around safety-net, Magisk hide or XPosed modules like Sudo hide. With Magisk 24.1 plus Magisk Hide isn't an option and modules like ...