====== android ======
===== Android Backup unter Debian =====
sudo aptitude install android-tools-adb
./adb shell ls -l -a | grep '^[^l]' | sed -e 's/^d.* \([^ ]*\)\r$/mkdir sav\/\1; .\/adb pull \/\1 sav\/\1/' -e 's/-.* \([^ ]*\)\r$/.\/adb pull \/\1 sav\/\1/' | /bin/bash
- list all files
- ignore links
- for
* files : output an adb pull command
* directories : make the dir (in case we pull sth empty) and output an adb pull command
- execute everything in bash
===== Android single APK-Installer Backup unter Debian =====
adb shell pm list packages
adb shell pm path com.example.someapp
adb pull /data/app/com.example.someapp-2.apk
===== clockwork mod recovery =====
install fastboot
aptitude install android-tools-fastboot
===== execute AT commands =====
send command:
adb shell
$ su
# echo "AT\r" > /dev/smd0
# cat /dev/smd0
read reply:
adb shell
$ su
# echo "AT\r" > /dev/smd0