Android

http://www.panticz.de/android

Fastboot

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

ADB
https://developer.mozilla.org/de/Firefox_OS/Debugging/Installing_ADB

#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

Recovery
https://techrrival.com/flash-recovery-adb-fastboot/

adb devices
adb reboot bootloader

Siteload image

adb sideload lineage-17.1-20200914-UNOFFICIAL-m7.zip

# install sdk

sudo apt-get install -y sun-java6-jdk
wget http://dl.google.com/android/android-sdk_r08-linux_86.tgz -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

HTC

flash TWRP and LineageOS on a HTC One M8:
 
adb reboot bootloader
fastboot oem get_identifier_token
 
# Download Unlock_code.bin from htcdev.com
https://www.htcdev.com/bootloader/token-submitted
 
fastboot flash unlocktoken Unlock_code.bin
fastboot flash recovery twrp-3.4.0-1-m8.img 
adb sideload lineage-17.1-20201009-nightly-m8-signed.zip
adb sideload open_gapps-arm-10.0-micro-20201010.zip

SP Flash Tool - Download SmartPhone Flash Tool
https://spflashtool.com/download/
https://spflashtool.com/download/SP_Flash_Tool-5.1916_Linux.zip

sudo wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.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/libpng12.so.0 .
sudo adduser username dialout
newgrp - dialout
 
wget -q http://spflashtool.com/download/SP_Flash_Tool_exe_Linux_64Bit_v5.1520.00.100.zip -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
done
 
 
# 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 com.android.wallpaper.holospiral
rm -r com.android.wallpaper.livepicker
 
/data/dalvik-cache # rm *Wallpapers*
 
 
 
pm uninstall class.name.of.package
 
 
pm disable com.package 
# market in emulator (1.6 only)
wget http://member.america.htc.com/download/RomCode/ADP/signed-dream_devphone_userdebug-img-14721.zip -P /tmp/
unzip /tmp/signed-dream_devphone_userdebug-img-14721.zip -C /tmp
cp /tmp/system.img ~/android-sdk-linux_86/platforms/android-8/images

# create new android 2.2

# Links
http://developer.htc.com/adp.html

# dropbox
https://www.dropbox.com/android
wget http://dl.dropbox.com/u/6993309/Dropbox.apk -P /tmp/ && adb install /tmp/Dropbox.apk

# xbmc remote
http://code.google.com/p/android-xbmcremote/downloads/list
wget http://android-xbmcremote.googlecode.com/files/XBMC_Remote_v0.8.3_r688_signed.apk -P /tmp/ && adb install /tmp/XBMC_Remote_v0.8.3_r688_signed.apk

# sipdroid
http://code.google.com/p/sipdroid/downloads/list
wget http://sipdroid.googlecode.com/files/Sipdroid-1.5.5.apk -P /tmp/ && adb install /tmp/Sipdroid*.apk

# netcounter
http://www.jaqpot.net/netcounter/
wget http://www.jaqpot.net/netcounter/netcounter-0.14.1.apk -P /tmp/ && adb install /tmp/netcounter*.apk

# unyaffs
sudo wget http://unyaffs.googlecode.com/files/unyaffs -O /usr/sbin/unyaffs
sudo chmod a+x /usr/sbin/unyaffs

# my apps
https://market.android.com/details?id=com.google.android.apps.maps - Navigation
https://market.android.com/details?id=com.noshufou.android.su - Grant and manage Superuser rights for your phone
https://market.android.com/details?id=com.tencent.research.drop - Video player, with FLV support on HTC Wildfire
xmc remote
https://market.android.com/details?id=com.bolutions.sms - Free SMS send
https://market.android.com/details?id=com.skype.raider - VoIP an chat
mixzing
https://market.android.com/details?id=com.maxmpz.audioplayer - Music Player with folder support
Astro
barcode scanner
https://market.android.com/details?id=com.google.android.apps.chrometophone - Send URL to you phone from browser
dropbox
ebay
https://market.android.com/details?id=com.farproc.wifi.analyzer - Wifi finder
https://market.android.com/details?id=com.keramidas.TitaniumBackup - Backup and restore your whole mobile device

trapster
mybidder
öffi
ssh droid
terminal emulatro
connect b
contact2sim

Extact android backup
wget http://unyaffs.googlecode.com/files/unyaffs
chmod 777 unyaffs
./unyaffs system.yaffs2.img

Android on PC
http://www.jide.com/en/remixos-for-pc#downloadNow

Xioami
https://c.mi.com/global/miuidownload/index

Links
http://www.android-x86.org/
http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html - Install ADB And Fastboot Android Tools In Ubuntu Via PPA
http://www.heise.de/software/download/special/pfiffige_android_apps/b73_2 - Top 40 Android apps
http://theunlockr.com/2010/03/10/how-to-create-a-goldcard/
http://developer.android.com/
http://www.androidpolice.com/2010/04/16/complete-guide-how-to-fully-back-up-and-restore-your-android-phone-using-nandroid-backup-and-clockworkmod-rom-manager/
http://www.kandroid.org/android_pdk/bring_up.html
http://www.androidenea.com/2009/06/android-boot-process-from-power-on.html
http://developer.nvidia.com/tegra/downloads - nVidia Tegra
http://mobiledownload.skype.com/go.php?k=3.17035 - Skype for Android
http://code.google.com/p/unyaffs/downloads/list - unyaffs is a program to extract files from a yaffs image