Unless your framework is deodexed, the service.jar file is the only file needed but in your case it is not. So you need to get the complete system/framework folderCan someone pls. patch my file? I tried it now for 4 hours to get it work, but still "No ADB Devices found" and "the system cant find the file" (or something like this.) I'm frustradet...
I need "Mock locations"
Is this file the only one you need?
Adb method works flawlessly on android 8.1 for Sony AOSP roms on X and XZ premium. The trick is to run the program in recovery (with system mounted obviously), to avoid permission issues.