User Tools

Site Tools


tutorials:android

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
  1. list all files
  2. ignore links
  3. for
    • files : output an adb pull command
    • directories : make the dir (in case we pull sth empty) and output an adb pull command
  4. 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
tutorials/android.txt · Last modified: 2014/03/10 09:02 by nine