Skip to main content
link added
Source Link
alecxs
  • 4.3k
  • 3
  • 17
  • 34

To (re-)enable adb root you have to modify your prop.default file. This file was traditionally named default.prop and stored inside the ramdisk of boot.img - however, for system-as-root devices it is inside /vendor.

change the line ro.build.type=eng into:

ro.build.type=userdebug

from the Magisk Troubleshoot Wiki:

ADB cannot run as root in production builds

If you're having issues running the ADB root command after installing Magisk this is because of MagiskHide setting a few prop values to known "safe" values. You can get ADB root working again by turning of MagiskHide and rebooting, but if you need MagiskHide for some app or service this could quickly become annoying.

A more convenient solution is to reset ro.build.type and ro.debuggable to their original values (userdebug and 1 respectively). This can be done by using the Magisk resetprop tool (see the Magisk DocumentationMagisk Documentation for details), either by running it directly in a terminal emulator, in a late_start service boot script, or by using the MagiskHide Props Config Magisk module's "Edit MagiskHide props" function.

To (re-)enable adb root you have to modify your prop.default file. This file was traditionally named default.prop and stored inside the ramdisk of boot.img - however, for system-as-root devices it is inside /vendor.

change the line ro.build.type=eng into:

ro.build.type=userdebug

from the Magisk Troubleshoot Wiki:

ADB cannot run as root in production builds

If you're having issues running the ADB root command after installing Magisk this is because of MagiskHide setting a few prop values to known "safe" values. You can get ADB root working again by turning of MagiskHide and rebooting, but if you need MagiskHide for some app or service this could quickly become annoying.

A more convenient solution is to reset ro.build.type and ro.debuggable to their original values (userdebug and 1 respectively). This can be done by using the Magisk resetprop tool (see the Magisk Documentation for details), either by running it directly in a terminal emulator, in a late_start service boot script, or by using the MagiskHide Props Config Magisk module's "Edit MagiskHide props" function.

To (re-)enable adb root you have to modify your prop.default file. This file was traditionally named default.prop and stored inside the ramdisk of boot.img - however, for system-as-root devices it is inside /vendor.

change the line ro.build.type=eng into:

ro.build.type=userdebug

from the Magisk Troubleshoot Wiki:

ADB cannot run as root in production builds

If you're having issues running the ADB root command after installing Magisk this is because of MagiskHide setting a few prop values to known "safe" values. You can get ADB root working again by turning of MagiskHide and rebooting, but if you need MagiskHide for some app or service this could quickly become annoying.

A more convenient solution is to reset ro.build.type and ro.debuggable to their original values (userdebug and 1 respectively). This can be done by using the Magisk resetprop tool (see the Magisk Documentation for details), either by running it directly in a terminal emulator, in a late_start service boot script, or by using the MagiskHide Props Config Magisk module's "Edit MagiskHide props" function.

Post Undeleted by user170470
answered
Source Link
alecxs
  • 4.3k
  • 3
  • 17
  • 34

It is not encrypted, and one way to get backup via adbTo (for what you askedre-). if you back up each partition for its own you will end up with some backup.ab files which basically each contain a single tar archive, similar to twrp backup filesenable (but with additional 1536 bytes headeradb root you have to cut off before extracting)modify your https://android.stackexchange.com/a/171203/170470 For unpacking boot.emmcprop.default file.win AIK is recommended https://forum.xda-developers.com/showthread.php?t=2073775 This file was traditionally named default.prop and stored inside the ramdisk of boot.img - however, for system-as-root devices it is how i would inspect filesinside /vendor. it makes no sense trying to pull whole

change the line / at runtime if you don't know how each stuff is mountedro.build.type=eng into:

ro.build.type=userdebug

from the Magisk Troubleshoot Wiki:

ADB cannot run as root in production builds

If you're having issues running the ADB root command after installing Magisk this is because of MagiskHide setting a few prop values to known "safe" values. You can get ADB root working again by turning of MagiskHide and rebooting, but if you need MagiskHide for some app or service this could quickly become annoying.

A more convenient solution is to reset ro.build.type and ro.debuggable to their original values (userdebug and 1 respectively). This can be done by using the Magisk resetprop tool (see the Magisk Documentation for details), either by running it directly in a terminal emulator, in a late_start service boot script, or by using the MagiskHide Props Config Magisk module's "Edit MagiskHide props" function.

It is not encrypted, and one way to get backup via adb (for what you asked). if you back up each partition for its own you will end up with some backup.ab files which basically each contain a single tar archive, similar to twrp backup files (but with additional 1536 bytes header you have to cut off before extracting) https://android.stackexchange.com/a/171203/170470 For unpacking boot.emmc.win AIK is recommended https://forum.xda-developers.com/showthread.php?t=2073775 This is how i would inspect files. it makes no sense trying to pull whole / at runtime if you don't know how each stuff is mounted

To (re-)enable adb root you have to modify your prop.default file. This file was traditionally named default.prop and stored inside the ramdisk of boot.img - however, for system-as-root devices it is inside /vendor.

change the line ro.build.type=eng into:

ro.build.type=userdebug

from the Magisk Troubleshoot Wiki:

ADB cannot run as root in production builds

If you're having issues running the ADB root command after installing Magisk this is because of MagiskHide setting a few prop values to known "safe" values. You can get ADB root working again by turning of MagiskHide and rebooting, but if you need MagiskHide for some app or service this could quickly become annoying.

A more convenient solution is to reset ro.build.type and ro.debuggable to their original values (userdebug and 1 respectively). This can be done by using the Magisk resetprop tool (see the Magisk Documentation for details), either by running it directly in a terminal emulator, in a late_start service boot script, or by using the MagiskHide Props Config Magisk module's "Edit MagiskHide props" function.

Post Deleted by user170470
Source Link
alecxs
  • 4.3k
  • 3
  • 17
  • 34

It is not encrypted, and one way to get backup via adb (for what you asked). if you back up each partition for its own you will end up with some backup.ab files which basically each contain a single tar archive, similar to twrp backup files (but with additional 1536 bytes header you have to cut off before extracting) https://android.stackexchange.com/a/171203/170470 For unpacking boot.emmc.win AIK is recommended https://forum.xda-developers.com/showthread.php?t=2073775 This is how i would inspect files. it makes no sense trying to pull whole / at runtime if you don't know how each stuff is mounted