I'm just playing around with Android Studio and I'm trying to figure out how to Download a file into /system.
I understand I need root for this and I already got that part working, the only trouble I'm having is with
request.setDestinationInExternalPublicDir("/system/", "test.jpg");
The goal is to download a file and save it to /system with the file name being test.jpg.
So the end is the file is located at /system/test.jpg.
The issue with this is that DownloadManager is saving it to internal storage and is creating a new folder named 'system'.
I can tell it has something to do with setDestinationInExternalPublicDir
but I'm just not sure what to change it to.
Thanks again