fastboot devices
fastboot flash recovery recovery.img
fastboot flash boot_a twrp-3.3.0-2-tissot.img
fastboot boot twrp-3.3.0-2-tissot.img
# fastboot flashing unlock
fastboot oem unlock


#dep?# sudo add-apt-repository -y ppa:nilarimogard/webupd8
sudo apt-get install android-tools-adb android-tools-fastboot
adb shell COMMAND
adb pull PATH
adb push FILE PATH


adb devices
adb reboot bootloader

Siteload image

adb sideload

# install sdk

sudo apt-get install -y sun-java6-jdk
wget -P /tmp/
tar xzf /tmp/android-sdk_r*-linux_86.tgz -C ~/
echo "export PATH=\${PATH}:${HOME}/android-sdk-linux_86/tools" >> ~/.bashrc
# copy file to android
adb push /home/user1234/file.txt /sdcard
# ADB: error: insufficient permissions for device
adb kill-server
sudo adb start-server
adb devices


flash TWRP and LineageOS on a HTC One M8:
adb reboot bootloader
fastboot oem get_identifier_token
# Download Unlock_code.bin from
fastboot flash unlocktoken Unlock_code.bin
fastboot flash recovery twrp-3.4.0-1-m8.img 
adb sideload
adb sideload

SP Flash Tool - Download SmartPhone Flash Tool

sudo wget -q -O /tmp/libpng12.deb && dpkg -i /tmp/libpng12.deb && rm /tmp/libpng12.deb
dpkg -x libpng12-0_1.2.54-1ubuntu1.1_amd64.deb
ln -s ./usr/lib/x86_64-linux-gnu/ .
sudo adduser username dialout
newgrp - dialout
wget -q -P /tmp
unzip /tmp/SP_Flash_Tool_exe_Linux_*.zip -d /tmp/
cd /tmp/SP_Flash_Tool_exe_Linux_*/
# sudo add-apt-repository ppa:rock-core/qt4
#sudo apt update
#sudo apt install libqtwebkit4
sudo ./flash_tool
adb shell pm list packages -f
adb shell am start -a android.intent.action.DELETE -d package:com.s0up.goomanager
# remoutn system
mount -o remount,rw /dev/block/mtdblock3
# move apk to sdcard ?
for i in VideoEditor.apk CMWallpapers.apk CMUpdater.apk Mms.apk; do
    cp /system/app/$i /mnt/sdcard/apk/$i
    rm /system/app/$i
    ln -s /mnt/sdcard/apk/$i /system/app/$i
# install
adb install <app.apk>
# uninstall
adb uninstall <package name>
cd /data/data
rm -r com.tmobile.themechooser
rm -r com.tmobile.thememanager
rm -r
rm -r
/data/dalvik-cache # rm *Wallpapers*
pm uninstall
pm disable com.package 
# market in emulator (1.6 only)
wget -P /tmp/
unzip /tmp/ -C /tmp
cp /tmp/system.img ~/android-sdk-linux_86/platforms/android-8/images

# create new android 2.2

# Links

# dropbox
wget -P /tmp/ && adb install /tmp/Dropbox.apk

# xbmc remote
wget -P /tmp/ && adb install /tmp/XBMC_Remote_v0.8.3_r688_signed.apk

# sipdroid
wget -P /tmp/ && adb install /tmp/Sipdroid*.apk

# netcounter
wget -P /tmp/ && adb install /tmp/netcounter*.apk

# unyaffs
sudo wget -O /usr/sbin/unyaffs
sudo chmod a+x /usr/sbin/unyaffs

# my apps - Navigation - Grant and manage Superuser rights for your phone - Video player, with FLV support on HTC Wildfire
xmc remote - Free SMS send - VoIP an chat
mixzing - Music Player with folder support
barcode scanner - Send URL to you phone from browser
ebay - Wifi finder - Backup and restore your whole mobile device

ssh droid
terminal emulatro
connect b

Extact android backup
chmod 777 unyaffs
./unyaffs system.yaffs2.img

Android on PC


Links - Install ADB And Fastboot Android Tools In Ubuntu Via PPA - Top 40 Android apps - nVidia Tegra - Skype for Android - unyaffs is a program to extract files from a yaffs image