Thursday, February 12, 2026

Configure Android 5.1 features with root access

Permanent USB Debugging

echo "mtp,adb" > /data/property/persist.sys.usb.config

chmod 644 /data/property/persist.sys.usb.config

echo "1" > /data/property/persist.service.adb.enable

chmod 644 /data/property/persist.service.adb.enable

reboot


MagiskHidePropsConf useless

acc useless

adb shell "magisk --remove-modules" // OR rm -rf /data/adb/modules/*

reboot


Launch Magisk > Settings > Superuser > Enable Tapjacking > Allow for ADB

adb shell su -c "settings put global development_settings_enabled 1"

adb shell su -c "settings put global adb_enabled 1"


Disabling Google Play Services

pm disable-user --user 0 com.google.android.gms

Package com.google.android.gms new state: disabled-user

pm disable-user --user 0 com.android.vending

Package com.android.vending new state: disabled-user


To re-enable:

adb shell su

pm enable com.google.android.gms

pm enable com.android.vending

Do NOT delete APK unless you know what you’re doing.

No comments:

Post a Comment