android

Flash LineageOS on Google Pixel 2 XL (taimen)

Prepare
https://wiki.lineageos.org/devices/taimen/install

Enable debug mode on phone
Enable OEM unlocking
Enable USB debugging
 
adb reboot bootloader
fastboot flashing unlock
# confirm with keys
adb reboot bootloader

Boot TWRP
https://dl.twrp.me/taimen/twrp-3.5.2_9-0-taimen.img.html
https://dl.twrp.me/taimen/twrp-3.5.2_9-0-taimen.img

fastboot boot Downloads/twrp-3.5.2_9-0-taimen.img
 
adb shell twrp wipe data
adb shell twrp wipe dalvik

LineageOS image
https://download.lineageos.org/taimen
https://mirrorbits.lineageos.org/full/taimen/20211118/lineage-18.1-20211118-nightly-taimen-signed.zip

adb sideload Downloads/lineage-18.1-20211118-nightly-taimen-signed.zip

OPTIONAL: Open GApps
https://opengapps.org/?api=11.0&variant=nano

# Download: ARM64 / 11.0 / nano
https://jztkft.dl.sourceforge.net/project/opengapps/arm64/20211119/open_gapps-arm64-11.0-nano-20211119.zip
 
adb sideload Downloads/open_gapps-arm64-11.0-nano-20211119.zip

Links
https://wiki.lineageos.org/devices/taimen/

Xiaomi Mi A2 Lite (daisy)

Enable USB-Debugging and unlock phone

# Connect phone to computer
Settings > About Phone > Build number > tap 7x times to become developer
Settings > Advanced > Developer Options > OEM unclocking
 
# Connect phone to Wifi
Settings > Advanced > Developer Options > USB Debugging > OK
Allow access with your computer RSA key

Unlock phone

adb devices
adb reboot bootloader
fastboot oem unlock

Boot bootloader

Power Off phone
Hold volume_down + power
 
OPTIONAL: Recovery phone with original Xiaomi image to update firmware

Flash custom image
ArrowOS download: https://get.mirror1.arrowos.net/download.php?token=oD03QRrG9umnU1Egj6VspKXNwaiIlcYSOqbfCdyP4x8WzMtT7kL2hHZFJAv5&version=arrow-11.0&variant=community&device=daisy
OpenGA apps: https://netix.dl.sourceforge.net/project/opengapps/arm64/test/20210130/open_gapps-arm64-11.0-pico-20210130-TEST.zip

LineageOS: Samsung Galaxy Note 3

Download LineageOS image
https://download.lineageos.org/hlte

wget https://mirror.selfnet.de/lineageos/full/hlte/20200425/lineage-16.0-20200425-nightly-hlte-signed.zip -P /tmp

Andorid Apps (arm, nano)
https://opengapps.org/?api=9.0&variant=nano

wget https://netix.dl.sourceforge.net/project/opengapps/arm/20200429/open_gapps-arm-9.0-nano-20200429.zip -P /tmp

Compile Heimdall (tested with v1.4.2)

sudo apt-get install -y build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev
 
git clone https://gitlab.com/BenjaminDobell/Heimdall.git /tmp/Heimdall
cd /tmp/Heimdall
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
 
# test
cd bin/
./heimdall version

Boot phone to recovery mode
Vol- + Home + Power

Download recovery file
https://twrp.me/Devices/

Install androidscreencast under Ubuntu

# install android sdk

# install java
wget http://dl.dropbox.com/u/4170695/scripts/install.sun-java6-jre.sh -O - | bash -

# set path to android sdk
PATH=$PATH:~/android-sdk-linux_86/tools

# start android sdk server
adb start-server

# start androidscreencast
wget http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/androidscreencast.jnlp -P ~/
javaws ~/androidscreencast.jnlp

# Links
http://code.google.com/p/androidscreencast/

Android

http://www.panticz.de/android

adb shell COMMAND
adb pull PATH
adb push FILE PATH

# adb repository
#dep?# sudo add-apt-repository -y ppa:nilarimogard/webupd8
#dep?#sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot

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

# 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