Skip to content

adb

Info

What Where
Download https://developer.android.com/studio/releases/platform-tools
Docs https://developer.android.com/studio/command-line/adb
Windows choco install adb
Ubuntu sudo apt -y install adb

Prerequisite

  • Download Minimal ADB and Fastboot
  • Enable dev mode on phone
  • active USB Debugging

Recovery Mode

  1. Power off the phone
  2. Hold the Power button + the Vol Down button to boot into the Bootloader
  3. Select Recovery Mode and press the Power button
  4. If you are trying to get into recovery mode, and see an android on his back with No Command, then press and hold Power, then tap Volume Up once, then release Power. This will display the Recovery Mode Menu

Delete an app on your android phone

Run these commands to delete a specific app .

adb devices # check if your device is visible
adb shell
pm list packages -3 # list hidden system apps
pm uninstall --user 0 <package name>

Install CyanogenMod 12

https://cyanogenmodroms.com (successor is https://lineageos.org/)

adb push cm12.zip /sdcard/
adb reboot bootloader
fastboot oem unlock
fastboot flash recovery twrp.img