To install an app as a system app on LineageOS 23.2 with rooted debugging enabled, follow these steps:
This will remount the system partition as read-write.bashadb root adb remount
/system/priv-app/ or /system/app/ directory:
bashadb push your_app.apk /system/priv-app/
bashadb shell chmod 644 /system/priv-app/your_app.apk
bashadb reboot
If you have Magisk installed, you can use the App Systemizer module:
Would you like detailed instructions for using the App Systemizer module or troubleshooting permission issues?