
In Linux the directory location is $HOME/.android/. In Lollipop, the ADB keys (after authorization) are saved in /data/misc/adb/adb_keys. Verify options are not present before do it: adb shell "grep '' /system/build.prop" adb shellĮcho '# Enable ADB' > /system/build.propĮcho '=1' > /system/build.propĮcho '=1' > /system/build.propĮcho '=mtp,adb' > /system/build.propįor the RSA verification that you asked to bypass, I don't know whether it would work in your device, but it worked in my little experiment. Push build.prop back into the device adb push /your-dir/build.prop /system/Įcho -n 'mtp,adb' > /data/property/.
Get the build.prop file adb pull /system/build.prop /your-directory. Now push the file back in the device adb push /your-directory/ /data/property.
Now open that file in a texteditor and edit it to mtp,adb and save. Get the file in your system using adb pull /data/property/ /Your directory. Now type adb shell mount data and adb shell mount system to mount the respective directories. type and enter adb devices to check if the device is connected in recovery mode. Now open terminal/CMD in computer and go to platform-tools/. Connect the device to Mac or PC in recovery mode. Same as "Settings > Developer Opcions > USB debugging" ON