I uninstalled/deleted a system privileged app (from /system/priv-app) by mistake. Where can I get the apk of it? My /system/priv-app/DocumentsUI is empty obviously. Putting any 3rd party DocumentsUI.apk in it results in bootloop. I have a custom rom (Aosp extended).
Flashing the /system again would fix the problem I think. Just want to make sure if this will make the condition worse or im going alright?
The way I did it was a little different.. I made a full twrp backup. Wiped everyhing. Flashed the stock rom. Copied the DocumentsUI.apk from twrp. Wiped again. Restored the backup. Placed the copied apk into /system/priv-app/DocumentsUI. Everything worked perfectly!