Last active
July 31, 2019 16:09
-
-
Save notpushkin/038cbb73073e468778eb6a714096a990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reboot to recovery and connect via adb shell: | |
twrp wipe system | |
twrp wipe data | |
twrp install /sdcard/lineage-*.zip | |
twrp remountrw | |
setprop persist.service.adb.enable 1 | |
setprop persist.service.debuggable 1 | |
setprop persist.sys.usb.config mtp,adb | |
setprop persist.sys.root_access 2 | |
setprop ro.setupwizard.mode DISABLED | |
# leave adb shell and push your adb key: | |
adb push ~/.android/adbkey.pub /data/misc/adb/adb_keys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment