Project Samsung S7 LineageOS: Difference between revisions

From JoBaPedia
Jump to navigation Jump to search
Line 15: Line 15:
  . ~/.profile
  . ~/.profile
  adb version
  adb version
=== Prepare S7 for ADB ===
* Open Settings, and select “About”.
* Tap on “Build number” seven times.
* Go back, and select “Developer options”.
* Scroll down, and check the “Android debugging” or “USB debugging” entry under “Debugging”.
* Plug your device into your computer.
* On the computer, open up a terminal/command prompt and type adb devices.
* A dialog should show on your device, asking you to allow usb debugging. Check “always allow”, and choose “OK”.

Revision as of 15:50, 7 September 2019

Samsung S7 LineageOS

Preparation

Get ADB

mkdir ~/LineageOS
cd ~/LineageOS
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip
unzip platform-tools-latest-linux.zip
echo '
 if [ -d "$HOME/LineageOS/platform-tools" ] ; then
   export PATH="$HOME/LineageOS/platform-tools:$PATH"
 fi' >> ~/.profile
. ~/.profile
adb version

Prepare S7 for ADB

  • Open Settings, and select “About”.
  • Tap on “Build number” seven times.
  • Go back, and select “Developer options”.
  • Scroll down, and check the “Android debugging” or “USB debugging” entry under “Debugging”.
  • Plug your device into your computer.
  • On the computer, open up a terminal/command prompt and type adb devices.
  • A dialog should show on your device, asking you to allow usb debugging. Check “always allow”, and choose “OK”.