Gain adb root.
$ adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"
Download Magisk-v14.0 and extract it somewhere. Download MagiskManager.
Gain adb root.
$ adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"
Download Magisk-v14.0 and extract it somewhere. Download MagiskManager.
| export default function(file, api) { | |
| const j = api.jscodeshift; | |
| const { expression, statement, statements } = j.template; | |
| return j(file.source) | |
| .find(j.ClassProperty) | |
| .replaceWith(p => { | |
| p.node.end++; | |
| return p.node; | |
| }) |
| ### BEGIN INIT INFO | |
| # Provides: bluetooth-agent | |
| # Required-Start: $remote_fs $syslog bluetooth pulseaudio | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Makes Bluetooth discoverable and connectable to 0000 | |
| # Description: Start Bluetooth-Agent at boot time. | |
| ### END INIT INFO | |
| #! /bin/sh |