Skip to content

Instantly share code, notes, and snippets.

View azizbekian's full-sized avatar

Andranik Azizbekian azizbekian

  • Yerevan, Armenia
View GitHub Profile
@azizbekian
azizbekian / README.md
Created November 26, 2017 06:02 — forked from aldur/README.md
OnePlusRoot

Root OnePlus5 without unlocking the bootloader

Gain adb root.

$ adb shell am start -n com.android.engineeringmode/.qualcomm.DiagEnabled --es "code" "angela"

Download Magisk-v14.0 and extract it somewhere. Download MagiskManager.

@azizbekian
azizbekian / gist:35ac59201fd3e4df4ef0d537b3c6f05b
Created September 13, 2016 14:35 — forked from lttlrck/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote