Fastboot
fastboot devices fastboot getvar all 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 reboot recovery fastboot reboot emergency # fastboot flashing unlock fastboot oem unlock #fastboot erase data
TWRP
https://twrp.me/faq/openrecoveryscript.html
adb reboot recovery
adb shell twrp wipe data
adb shell twrp wipe cache
adb shell twrp wipe dalvik
#adb shell twrp wipe system
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 adb reboot edl
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
Control android from Linux
https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md
#sudo snap install scrcpy sudo apt install ffmpeg libsdl2-2.0-0 adb wget \ gcc git pkg-config meson ninja-build libsdl2-dev \ libavcodec-dev libavdevice-dev libavformat-dev libavutil-dev \ libswresample-dev libusb-1.0-0 libusb-1.0-0-dev git clone https://github.com/Genymobile/scrcpy cd scrcpy ./install_release.sh /usr/local/bin/scrcpy
HTC One M7
# install rwrp https://dl.twrp.me/m7univ/twrp-3.5.2_9-0-m7univ.img.html # flash https://sourceforge.net/projects/opengapps/files/arm/20210730/open_gapps-arm-10.0-pico-20210730.zip/download?use_mirror=netcologne&r=&use_mirror=autoselect https://androidfilehost.com/?w=files&flid=319646&sort_by=date&sort_dir=DESC fastboot reboot recovery # boot to recovery adb reboot recovery adb shell twrp wipe data adb shell twrp wipe cache adb shell twrp wipe dalvik # flash lineageos adb shell twrp sideload zip from host adb adb sideload Downloads/lineage-18.1-20210111-UNOFFICIAL-m7.zip # OPTIONAL: flash open gapps adb shell twrp sideload zip from host adb adb sideload Downloads/open_gapps-arm-11.0-pico-20210730.zip # reboot to system adb reboot
HTC M8
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 https://download.lineageos.org/m8 #fastboot flash recovery twrp-3.4.0-1-m8.img fastboot flash recovery Downloads/lineage-17.1-20210305-recovery-m8.img #adb sideload lineage-17.1-20201009-nightly-m8-signed.zip adb sideload Downloads/lineage-17.1-20210305-nightly-m8-signed.zip https://opengapps.org/ adb sideload Downloads/open_gapps-arm-10.0-nano-20210311.zip
SP Flash Tool - Download SmartPhone Flash Tool
# complie libpng sudo apt install build-essential zlib1g-dev cd mkdir src wget https://ppa.launchpadcontent.net/linuxuprising/libpng12/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz tar Jxfv libpng_1.2.54.orig.tar.xz cd libpng-1.2.54 ./configure make sudo make install sudo ln -s /usr/local/lib/libpng12.so.0.54.0 /usr/lib/libpng12.so sudo ln -s /usr/local/lib/libpng12.so.0.54.0 /usr/lib/libpng12.so.0
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
Run Android apps under Linux with waydroid
https://waydro.id/index.html
https://docs.waydro.id/usage/install-on-desktops
https://wiki.postmarketos.org/wiki/Waydroid
Allow write for unprivileged user
# /etc/udev/rules.d/70-android.rules SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
Download APK packages
https://apps.evozi.com/apk-downloader/?id=com.yunyi.smartcamera
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
https://www.gsmofficial.com/category/tool