Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
64 votes
Accepted

How does Magisk work?

Most part of your question is covered in Magisk Documentation. I will quote one of my previous answers to a different question, with some unnecessary details :) PREREQUISITES: To have a comprehensive ...
Irfan Latif's user avatar
  • 20.6k
7 votes

How does Magisk work?

Magisk provides root access by providing a working "root" binary mounted at /sbin/magisk. Any application that tries to run this binary will bring up Magisk to grant them root access, which is in turn ...
iBug's user avatar
  • 7,767
6 votes
Accepted

What is 02 in the magisk patched vbmeta.img?

According to this piece of source code by Intel, there is an uint32_t starting at position0x78 (120) and ending at 0x7b (124). This location is marked as "flags from the AvbVBMetaImageFlags ...
Grimoire's user avatar
  • 2,959
5 votes
Accepted

init: cannot execve('/system/bin/custom.sh'): Permission denied

As evident from init source code: ... static bool ExpandArgsAndExecv(const std::vector<std::string>& args) { ... return execv(c_strings[0], c_strings.data()) == 0; } ... if (...
Irfan Latif's user avatar
  • 20.6k
5 votes
Accepted

How do I install systemless SuperSU in Samsung?

If you are using stock Android 6 and newer you can only have systemless root because of security restriction. So if you root your phone running stock Android 6, you will have systemless root. Because ...
Walter Wolf's user avatar
5 votes
Accepted

Switch over from systemless root to system (traditional) root

I had this very issue some time ago. In my case, this Reddit post helped. Basically, to migrate to the traditional system root, you need to have the TWRP recovery installed, the latest SuperSU ...
Grimoire's user avatar
  • 2,959
5 votes

What are the changes made to Magisk?

References: State of Magisk: 2021 by John Wu (you need a medium account to access (free) Explanation by Chris Renshaw (better known as osm0sis on XDA) Magisk is dropping support for hiding root ...
beeshyams's user avatar
  • 41.1k
4 votes
Accepted

Can't remove bloatware after rooted

You don't have to root your device for debloating. System apps can be "uninstalled" from adb shell adb shell pm disable --user 0 <pkgname> (actually that will disable the app. Do this ...
alecxs's user avatar
  • 4,074
4 votes
Accepted

How to boot system-as-root device always as rooted?

If you go through How Magisk works and How to manually root a phone it would be easy for you to figure out why it's impossible to achieve what you are looking for. init is the very first process ...
Irfan Latif's user avatar
  • 20.6k
4 votes
Accepted

Enable /system write in TWRP - Systemless root

It appears that the issue was TWRP's fault. To make the /system partition writeable, one could: Uncheck the checkbox near Mount system partition read-only, in the Mount section of TWRP (screenshot at ...
Grimoire's user avatar
  • 2,959
4 votes
Accepted

How to find that I am rooted with Systemless

I have systemless root and a few ways The superuser su binary will not be found in /system/xbin/, like in normal system-based root. See Systemless Root On your terminal emulator enter which su , it ...
beeshyams's user avatar
  • 41.1k
3 votes
Accepted

How to fix "dmesg: klogctl: Permission denied" for normal user on Android?

dmesg calls C library's klogctl wrapper function for kernel's syslog syscall which reads kernel's ring buffer by accessing /dev/kmsg character device. adb shell dmesg returns permissions denied error ...
Irfan Latif's user avatar
  • 20.6k
3 votes

How do I install systemless SuperSU in Samsung?

Sometimes the need for a systemless installation of SuperSU is not detected by the installation script, to force this to occur follow the following steps. Start TWRP 3.0 or higher on the device Go to ...
acejavelin's user avatar
  • 6,197
3 votes
Accepted

Where can I add xposed modules to systemless xposed framework?

From Magisk tap downloads and search for Xposed Choose Xposed version corresponding to your Android version- choose the version by rovo89 Tap on the module, on the next screen it will prompt you to ...
beeshyams's user avatar
  • 41.1k
2 votes

com.whatsapp_preferences.xml periodically gets overwritten how to prevent that from happening

Changing the permissions of the file can solve the problem. Get the WhatsApp system group, you can use: ls -la /data/data/com.whatsapp Let's ...
St0rm's user avatar
  • 816
1 vote

Emulating port redirection (port 53) without root

Try Daedalus, which uses Android's non-root proxy system. This enables it to intercept DNS requests to the regular port 53, and forward them to the server you want to use, and use non-standard ports. ...
Walf's user avatar
  • 111
1 vote

Can a Samsung receive OTA updates normally with a systemless root?

No, no matter how you root your device, you won't get Android updates unless you flash a newer rom on Android which may cause you to have to wipe your phone. It also depends on what you use, if you ...
Ethan miller's user avatar
1 vote

How to make SELinux permissive with `systemless-root` on a `system-as-root device`?

I am searching for any way to inject them permanently. As explained in my answer to your previous question: How to make SELinux injected rules persistent without unpacking-packing boot.img? you need ...
Irfan Latif's user avatar
  • 20.6k
1 vote
Accepted

What feature of Android provide security to reset the /system changes on reboot?

Removing avb checks form boot.img/ramdisk/fstab.qcom has fixed the issue.
Vatish Sharma's user avatar
1 vote

How to Have Device Encryption With Magisk Systemless Root Installed?

This was an old problem with Lineage OS based ROMS, where the encryption just didn't work properly. The problem is that ones the encryption is set, it cannot be changed in the GUI. However, I had a ...
falhumai96's user avatar
1 vote
Accepted

Lucky Patcher broke my Google Play services

I had similar issue, this was how I resolved mine: Open Magisk Manager Tap on Setting Enable Magisk Core Reboot the device. After rebooting: Open Lucky Patcher Go to Toolbox Tap on Install modded ...
Ray's user avatar
  • 26
1 vote

Lucky Patcher broke my Google Play services

The real issue here is that Lucky Patcher breaks some Google Play Services when you apply inApp or Remove Google Ads patch. The fix here is to Roll back those changes you made to whatever app or ...
TheG33k's user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible