Tag Archives: Cyanogenmod

SSH-Server auf deinem Android (CyanogenMod)

In dem “CyanogenMod” (CM) ist bereits ein SSH-Server eingebaut (Dropbear), dieser ist jedoch standardmäßig abgeschaltet. Hier zeige ich kurz wie du diesen unter Linux / Windows nutzen kannst und dich somit ohne Kabel mit deinem Android (funktioniert nach meinen Tests, nur im lokalen W-Lan) verbinden kannst …  ;-)


1.) Android: Vorbereitungen

adb shell

(adb shell)

mkdir /data/dropbear
cd /data/dropbear
dropbearkey -t dss -f dropbear_dss_host_key
dropbearkey -t rsa -f dropbear_rsa_host_key


2.1) Linux: Vorbereitungen (Debian / Ubuntu)

2.1.1) Installiere den SSH-Client

sudo aptitude install ssh-client

2.1.2) SSH-Schlüssel generieren

ssh-keygen -t rsa

2.1.3) Übertrage den SSH-Schlüssel (öffentlich / public) zu Android

adb push ~/.ssh/id_rsa.pub /data/dropbear/.ssh/authorized_keys


2.2) Windows: Vorbereitungen
PuTTY Download Page

2.2.1) Download “PuTTYgen”

2.2.2) SSH-Schlüssel generieren

Klick auf “Generate” und füge die Zeichenkette, welche du nun im Fenster von puttygen siehst (Beispiel: “ssh-rsa AAAAB3…hclQ==rsa-key-20100227″) in eine Text-Datei auf deinem Desktop ein -> “id_rsa.pub” und speichere (beschütze) deinen “private key”!!!

2.2.3) Übertrage den SSH-Schlüssel (öffentlich / public) zu Android

adb push  C:\Users\[USER]\Desktop\id_rsa.pub /data/dropbear/.ssh/authorized_keys


3.) Android: SSH-Server aktivieren

adb shell

(adb shell)

chmod 600 /data/dropbear/.ssh/authorized_keys
echo "/system/xbin/busybox sh" > /data/dropbear/.profile
chmod 755 /data/dropbear /data/dropbear/.ssh
chmod 644 /data/dropbear/dropbear*host_key
chown root.root /data/dropbear/.ssh/authorized_keys
killall dropbear
dropbear -v -s -g


4.1) Linux: Verbindung herstellen

-> SSH mit public-key Authentifizierung


4.2) Windows: Verbindung herstellen

PuTTY Download Page

4.2.1) Download “putty”

4.2.2) Verbindung zu Android aufbauen

Connection: > “SSH” > “Auth” > wähle deinen gespeicherten “private key” aus …

Session: > gib die IP-Adresse von deinem Android ein und drücke auf Enter



weitere Infos findest du hier:
Howto: Connect to Device with SSH – CyanogenMod Wiki

Android 2.2.3 Froyo (Mod+X => SpicagenMod RC1) – Samsung GALAXY SPICA I5700

I will publish my work (files) here because different forums all over the world use it and I have to update all the posts so that everybody find out that there is a new version of “Mod + X” (SpicagenMod) | here you can get more infos & help from the “Samdroid.Net”-Commuity -> [Dev] SpicagenMod BETA3 & HELPDESK + FAQs + HOW-TO GUIDES


Current version: Mod+X => SpicagenMod RC1


Even if this update should have worked for me without problems, I can not guarantee that this will work for you, so you maybe create a backup of your files before the installation!



If you are updating from any other Android-Version than Froyo (2.2) do wipe data/cache BEFORE installing SGM.
1. Push it to your SDcard, go to recovery and apply pushed file.
2. After complete boot make reboot one more time!

This update won’t wipe your data!





->SpicagenMod RC1 (~ 85M, md5: ec0ad09b51595b974020d882f8323a4f)


->kitchen.voku-online.de (offline for the moment) 








If you have already installed Android 2.2 Froyo -> appy the “Mod + X” via Recovery :) otherwise or if you will have a “clean install” …

1.) Odin + spica_jc3“I570EXXJH6.tar” 

1.1) install driver 
1.2) start Odin, select new files + “spica_jc3.ops” 

1.3) do not connect Spica with you pc -> press “quieter+camera+hang” to boot in the download-mode 

1.4) connect Spica with your pc -> start odin-update

2.) Odin + spica_jc3“i5700_LK2-08_PDA.tar” 

3.) press “quieter+call+hang” -> “Wipe” -> “Wipe data/cache”

4.) Recovery: apply zip-file


PS: here you can find a detailed HowTo but it is only in German language > Android 2.2 Froyo (CyanogenMod) – Samsung GALAXY SPICA I5700




Changelog: SpicagenMod

SpicagenMod Froyo, based on CyanogenMod 6.1.1 & Android 2.2.3

* added "VOKU"-kernel v3.4 (24bpp) as default
* edit sound -> louder [need testing] (asound.conf)
* updated DalvikVM (github.com/voku/android_dalvik)
* updated Bionic-lib (github.com/voku/android_bionic)
* updated WebKit (github.com/voku/android_external_webkit)
* updated png-lib v1.2.47 (github.com/AOKP/external_libpng)
* updated some Apps (Contacts, LatinIME, Browser, ES File Explore, Nemus Launcher,
* .... MediaProvider [gingerbread], Google Maps, YouTube, GoogleVoice,
* .... GooglePlayStore [Market], Music)
* removed some Apps (DSPManager, VpnServices, OpenVPN, QQPlayer)
* fixed SQLite problems - revert last changes (github.com/voku/android_external_sqlite)
* fixed Contakt problem - revert to SM-version (github.com/voku/android_packages_apps_Contacts)
* updated framework -> added "app.keeping for services" (github.com/voku/sm_android_frameworks_base)
* updated framework -> revert "User-to-User signaling Info" (github.com/voku/sm_android_frameworks_base)
* revert orientation-backport from CM9 (github.com/voku/sm_android_frameworks_base)
* added some framework-fixes from CyanogenMod [isc] (github.com/voku/sm_android_frameworks_base)
* added ICS theme (madoreq)
* added new instal-scripts (mpjoe2000)
* default build flags (github.com/voku/sm_android_build)
* updated "SpicaTweak Lite" v1.7.5 (github.com/voku/Android-Tweak) (thx @kiryl)
  - added "fix_permissions"
  - 3G/Edge Tweaks
  - SQLite Tweaks
  - added zipalign-Tweaks

* added "VOKU"-kernel v3.2 (24bpp) as default
* updated some Apps (ES File Explore, k-9 Mail, Gallery3D, DSPManager, Terminal Emulator, Music,
* .... Barcode Scanner v4, QQPlayer, Google Maps, Browser, Phone, DownloadProvider,
* .... UserDictionaryProvider, ApplicationsProvider)
* updated Bionic-lib (github.com/voku/android_bionic)
* updated Busybox (github.com/voku/android_external_busybox)
* updated "Skia Graphics Engine" (github.com/voku/android_external_skia)
* updated WebKit (github.com/voku/android_external_webkit)
* updated "libFLAC" (github.com/voku/android_external_flac)
* updated zoneinfo - 2012b
* updated SQLite (github.com/voku/android_external_sqlite)
* updated DalvikVM (github.com/voku/android_dalvik)
* fixed "su"-problem
* fixed "GPS"-problem
* fixed longgg... boot time
* added new default settings (keep apps [Launcher, MMS, ... ] in memory by default)
* revert framework -> tweak SQLite-settings [need testing] (github.com/voku/sm_android_frameworks_base)
* added framework-features from milaq [froyo] (github.com/milaq/android_frameworks_base)
  - keep apps in memory (e.g.: echo "sys.keep_app_2=com.whatsapp" >> /system/build.prop;)
  - don't start gmaps network location service, if gmaps main isn't running
* added some framework-fixes from CyanogenMod [isc] (github.com/voku/sm_android_frameworks_base)
  - improved widget scrolling speed
* added framework-fixes from codeaurora.org [froyo]
* added framework-fixes from peteralfonso [gingerbread] (github.com/peteralfonso/platform_frameworks_base)
* updated "SpicaTweak Lite" v1.7.1 (voku1987)
  - removed SQLite-Settings
  - edit TCP read/write
  - cleaned up the script
  - more I/O-Tweaks
  - removed zipalign-Tweaks
  - removed extra CPU-settings for Apps
  - Firewall-Tweaks [need testing]

* added "VOKU"-kernel v1.7C [with Qbanin's touch driver] (24bpp) as default
* increased default audio-volume [/system/etc/asound_default.conf]
* updated install-script from SpicagenMod
* updated Android 2.2.2 -> Android 2.2.3 (voku1987)
* updated APN-config [apns-conf.xml] (voku1987)
* updated "block advertising" [hosts] (voku1987)
* updated "SpicaTweak Lite" v1.4.1 (voku1987)
* updated DalvikVM (github.com/voku/android_dalvik)
* updated "Skia Graphics Engine" (github.com/voku/android_external_skia)
* updated Bionic-lib (github.com/voku/android_bionic)
* updated SQLite v3.7.9 (with sync off) (github.com/voku/android_external_sqlite)
* updated su-binary [v3.0.3]
* updated some Apps (Google Maps 6.0.3, Market 3.4.4, k-9 Mail 4.103, Camera, Settings, SMParts,
* .... Phone, LatinIME, RealCalc, Browser, Gallery3D, Superuser 3.0.7, QQPlayer, Google Voice,
* .... ES File Explorer, YouTube, MediaProvider)
* added all default Apps (OpenVPN, "LiveWallpapers"-Apps, DSPManager, ...)
* added "QuickSearchBox"-App => removed "Google QuickSearch"-App
* removed "ApplicationsProvider"-App (mpjoe2000)
* removed Roboto-Font -> added CyanogenMod-Font (voku1987)
* removed auto "zipalign"-script (voku1987)
* updated "Music"-App (github.com/voku/android_packages_apps_Music)
* updated "Gallery3D"-App (github.com/voku/android_packages_apps_Gallery3D)
* fixed safe factory reset [need testing] (mpjoe2000)
* fixed force close -> menu-settings (voku1987)
* fixed DeskClock-App (voku1987)
* updated framework -> tweak SQLite-settings [need testing] (github.com/voku/sm_android_frameworks_base)
* added framework-fixes from CyanogenMod [gingerbread] (github.com/voku/sm_android_frameworks_base)
* added framework-fixes from Android [master] (github.com/voku/sm_android_frameworks_base)
  - but again no theme-compatibility to SGM BETA2.1 !!

* added "FrozenLake v3 with default touch driver" as default (darth_llamah)
* added modified Transpa-Theme (eksajlee & voku1987)
* added Roboto-Font from Android 4.0 (voku1987)
* updated APN-config [apns-conf.xml] (voku1987)
* added boot-sound [off by default] (voku1987)
* added new SGM boot_logo/boot_animation (samdroid.net community)
* added optimized "Gallery3D"-App => removed "QuickPic"-App
* added "Music"-App => removed "MIUI-Music"-App
* added keyboard with multi-language => removed default keyboard (github.com/voku/android_packages_inputmethods_LatinIME)
* added "k-9 Mail"-app v3.800 => removed "Email"-App (code.google.com/p/k9mail/downloads/)
* updated some Apps (Browser, DownloadProvider, Gallery3D, RealCalc, Google Maps, Superuser, ES File Explorer, ...)
* removed some Apps (Facebook, DSPManager, VPN) | if you need it, you can add it by yourself
* updated su-binary [v3]
* updated DalvikVM (github.com/voku/android_dalvik)
* updated Bionic-lib (github.com/voku/android_bionic)
* updated jpeg-lib optimized (github.com/voku/android_external_jpeg)
* updated WebKit (github.com/voku/android_external_webkit)
* update Opencore [optimized mp3] (github.com/voku/sm_android_external_opencore)
* fixed Gallery3D [zoom by pictures from camera] (voku/android_packages_apps_Gallery3D)
* fixed Bluetooth-CarKit-problem
* fixed wifi-dns (LordManta)
* code fixes (voku1987)
  - fixed GPS-Bug
  - fixed YouTube-Bug
  - theme-compatibility to SGM BETA2.1
* added "SpicaTweak Lite" v1.1 -> removed "SSSwitch" (voku1987)
  - some default tweaks without config via ssscfg
* added & updated translations (voku1987)
* added gingerbread backport native power manager service module
* added many framework-fixes via "Fork Queue" from froyo (github.com/voku/sm_android_frameworks_base)
* added framework-fixes from kernelzilla [froyo] (github.com/kernelzilla/android_frameworks_base)
* added framework-fixes from CyanogenMod [gingerbread] (github.com/voku/sm_android_frameworks_base)
* added framework-fixes from LiquidSmoothROMs (gingerbread) (github.com/LiquidSmoothROMs/android_frameworks_base)

* added "VOKU"-kernel v1.7A [with Qbanin's touch driver] (24bpp) as default
* converting to ALL2EXT2 only if it's at EXT2 (luismaf, voku1987)
* updated GPS-config / NTP-config  [gps.conf] (voku1987)
* updated APN-config [apns-conf.xml] (voku1987)
* SGM boot_logo/boot_animation [without yellow color ;)] (samdroid.net community)
* updated / added install-script (voku1987)
* code fixes & clean-up (voku1987)
* optimized build flags (voku1987)
* added Intercept 3D drivers
* added 640x480 Camera with 30FPS to MP4 (maciek4323)
* added "RealCalc"-App => removed "Calculator"-App
* added "LauncherPro"-App => removed "ADWLauncher"-App
* added "MIUI-Music"-App => removed default "Music"-App (jankomuz)
* added "Email"-App with policies fix for Exchange => removed default "Email"-App
* added "QQPlayer"-App => removed "RockPlayer"-App
* added "ES File Explorer"-App => removed default FileManager
* added "QuickPic"-App => removed "Gallery3D"-App
* added default keyboard (android.git.kernel.org/?p=platform/packages/inputmethods/LatinIME.git)
* removed "Genkiller"-App
* updated some Apps (Google Maps, Superuser, Mms, Phone, Contacts, SM-Settings, Settings, Terminal Emulator, Browser...)
* updated "block advertising" (voku1987)
* updated png-lib v1.2.46 (github.com/CyanogenMod/android_external_libpng)
* updated jpeg-lib optimized for armv6 (github.com/mansr/android_external_jpeg)
* updated zlib v1.2.5 (github.com/CyanogenMod/android_external_zlib)
* updated SQLite v3.7+ (with sync off) (voku1987)
* updated libcamera (without sources?!)
* updated dropbear [ssh-daemon] (github.com/tpruvot/android_external_dropbear)
* updated Memory-Cache for webkit (github.com/voku/android_external_webkit)
* updated Sound-Control / Sound-Mixer (github.com/voku/android_hardware_alsa_sound)
* updated default theme-images & animation (voku1987)
* fixed Bluetooth-bug (criminal)
* fixed Market-install-bug (voku1987)
  - download cache will be stored now on your SD-card (/sdcard/.cache/)
* fixed earphone without mic bug
  - hear your caller through the headphones and talking via Mobile
* added faster boot-animation (surV)
* added configurable Bluetooth timeout (voku1987)
* added Norwegian translation (AreEdw)
* added "About ROM" in "Settings"-App (github.com/DroidConcepts/android_packages_apps_DroidConceptsSettings)
* added quieter camera-click-sound (voku1987)
* added "vim" (github.com/CyanogenMod/android_external_vim)
* added "SSSwitch" v1.3.4 (voku1987)
  - I/O Scheduler = BFQ
  - optimized net-settings
  - optimized I/O-settings
  - "low-memory task killer" settings configurable via "ssscfg" in the "Terminal Emulator"-App
  - CPU-settings are disabled by default
  - "keep App in memory"-settings are disabled by default
* added framework-fixes from peteralfonso [gingerbread] (github.com/peteralfonso/platform_frameworks_base)
* added framework-fixes from CyanogenMod [gingerbread] (github.com/CyanogenMod/android_frameworks_base)
* added framework-fixes from android [gingerbread] (github.com/android/platform_frameworks_base)
* added framework-fixes from pcfighter [froyo] (github.com/pcfighter/platform_frameworks_base)

* Android 2.2.2 (AOSP)
* big code clean-up (darth-llamah)
* Bluetooth discoverability configurable (CyanogenMod, nebkat)
* clock text color fixes (nebkat)
* CM FileManager enabled (cadavre)
* DownloadManager and Browser from Gingerbread (nebkat)
* Email policies fix for Exchange (cadavre)
* extended SMS/MMS writing area to 6 lines in portrait (cadavre)
* framework cleanups (nebkat)
* locking in memory fix for Phone, Contacts and Superuser (cadavre)
* modified build flags and scripts (CyanogenMod, LeshaK, guybrusht)
* power button disabled in lockscreen (cadavre)
* PowerWidget - more long-press options (cadavre)
* rotary answer for calls (nebkat)
> RTL for framework and webkit (Y6b, cadavre) [available as additional package]
* SGM logo/anim (samdroid.net community)
* SMParts cleanup (nebkat)
* SMS send to wrong recipient fix (cadavre)
* some build fixes (Piskor)
* status bar PowerWidget new options (nebkat)
* sync off for sqlite databases improves in speed (XDA, cadavre)
* xml importing from CM and SGM fixed (cadavre)
* lockscreen improvements: (CyanogenMod, nebkat)
  - rotary lockscreen unlock drag down
  - music addons
  - battery % info
  - tab vibration on/off
  - mms/phone tab custom apps
* Android fixes: (submitted by Piskor)
  - DNS fix for wifi
  - Change default DNS server for Tethering
  - Introduce a list of all the audio files
  - Telephony: Fix radio state printing
  - Telephony: Process MT SMS with MTI set to 3
  - Fixing counting the number of days in call log screen
  - Change in media scanner to set correct date
  - frameworks/base/telephony: Release wakelock on RIL request send error
  - Changing connect and response timeout
  - Bluetooth OBEX timeout problem
  - Avoid leaking sockets
  - Launcher is missing anti-aliasing
  - java.lang.RuntimeException:Unable to pause activity (com.android.settings.applications.StorageUse)

* new kernel WLAN module to avoid SoDs (Lukiqq)
* final DPad music controls (cadavre)
* final framework theme text colors (cadavre)
* possibility of locking Phone and Contacts in memory so phone can be more like phone (cadavre)
* integrated Intercept3D drivers (cadavre)
* smooth YouTube HQ playing (cadavre thanks to Intercept)
* you can use CM and SM .xml theme files now (cadavre)
* Finnish localization (FI translation team) [fi-rFI]
* GB green clock text color (Freedom)
* Parrot autopairing fix (cadavre)
* latest ADWLauncher (nebkat)
* looping ringtone (criminal)
* avoid immediate turning on/off wifi freeze (cadavre)
* lockscreen overlap fix (cadavre)
* Live Wallpapers enabled (cadavre)
* using OpenVPN-android-settings app (cadavre)
* minor changes (nebkat, piskor, cadavre)

pre-beta-2 (alpha_b2)
* [source] vendor & device trees cleaning and fixing (LeshaK)
* DPad music controls fixes (cadavre)
* SMParts bug fixes (cadavre)
* YouTube hq play fix (cadavre)
* new gapps 20110301 (piskor)
* new Superuser and su lib (cadavre/criminal)
* fix for default statusbar text colors (cadavre)
* OpenVPN fixes (cadavre)
* HU translation (HU translation team)
* SMParts translations (Samdroid.net community)
* "Launcher settings" bug fix (cadavre)
* 3 secs long-press BACK to kill (cadavre)
* minor changes (SM team)

pre-beta-1 (alpha_b1)
* initial build of SM (cadavre)
* added SM-froyo specific prop settings (guybrusht)
* included official Gingerbread theme (cadavre)
* hi-res png for GB theme (Kyojin)
* Ubuntu fonts (cadavre)
* Statusbar music controls (cadavre)
* settings for HOLD button (cadavre)
* keep SU in memory to avoid non-granting su access (cadavre)
* volume button orientation mapping (cadavre)
* orientation listener changes (cadavre)
* wake screen on new notification (f.e. sms, reminder, usb...) (cadavre)
* new CMParts adapted from Gingerbread (cadavre)
* created SMParts based on new CMParts (nebkat)
* framework removals: (cadavre)
- Bluetooth HID
- mouse pointer




Battery Calibration

1.1) Battery Calibration? -> “Calibration needs to be done after flashing a new ROM, but you can calibrate any time you think your battery is miscalibrated. This program does it by removing the batterystats.bin system file. The OS generates a new clean batterystats file soon, thus any fake information from the previous ROM is removed.
It’s suggested, but not necessary, to let the phone fully discharge after calibration, then charged to 100% without break.” 

1.2) Battery Calibration! -> “If anyone has a battery drain after an update/kernel change, wipe batterystats via recovery. At first, charge your phone to 100% when it’s on. turn it off and connect the charger again. Wait till the battery on the screen says “battery fully charged”. Disconnect the charger & reboot directly into the recovery and wipe the batterystats.” 

PS: maybe you can also try this App for calibrate your battery -> Easiest way i found to calibrate my battery

2.) More Battery Life Out of Your Android
What do you do when your battery is about to die …??

2.1) Use the Power Widget to Easily Toggle GPS, Bluetooth, Wireless, and Screen Brightness

2.2) 3G - requires a lot of power, so you can choose “2G Only” 

2.3) Backlight – adjust the backlight to be less bright (Settings –> Display –> Brightness)

2.4) Wi-Fi – disable Wi-Fi when you don’t need it

2.5) Bluetooth – disable Bluetooth when you don’t need it

2.6) GPS – disable GPS when you don’t need it

2.7) Disable Apps that Sync Constantly

For example you can use the “k-9″-Email App instead of the built-in Email application and activate the Push technology from “k-9″ to get you mails. 

2.8) Background-Apps

Try the OS Monitor-App to see how much resources your running Apps consume!!!

But also other background-apps like twitter, facebook etc. can reduce the battery-time, so you can change the Update-Interval (Settings –> Background Updates) or try e.g. “MinFreeManager”-app or “SSSwitch” and configure the kernel settings to kill background-apps without installing a app for killing apps BUT this will reducing the multitasking features from your phone! 

2.9) More general Information

-> Complete Guide to Maximizing Your Android Phone’s Battery Life – How-To Geek

3) Battery Manager Apps

Maybe you can also try a Battery Manager App, but I don’t need/use it and if you try the above tips I think you will also not need it 
- “SuperPower
- “JuiceDefender




You can download more Apps for Spica here -> APKitchen  Files for Spica  (sugarsync.com is free (5 GB)) & here you can find some -> Wallpapers for Android 

Android Debug Bridge (adb) – HowTo

In diesem Blog-Post beschreibe ich ein wenig die Funktionen der “Android Debug Bridge” (adb), dies ist ein Programm um von einen PC (Linux, Windows, MAC) mit dem Android-Handy zu kommunizieren, ich habe in diesem HowTo Windows verwendet. Adb ist im “Android-SDK” enthalten.

1. Vorbereitung

Als erstes müssen wir uns die Android-SDK herunterladen und installieren.

1.1) Treiber
Wenn du dein Handy noch nie mit deinem PC verbunden hast, musst du ggf. auch noch die Treiber installieren.

Windows XP” -> “SAMSUNG New PC Studio” -> Download-Link

Windows 7” -> “SAMSUNG Kies“ -> Download-Link

1.2) Download

1.3) Installation
android-sdk*.zip entpacken wir als erstes, dann kopieren wir “android-sdk-windows” nach C:\ und starten den darin enthaltenen “SDK Manager.exe”.


1.4) USB Debug aktivieren
USB debug auf dem Handy aktivieren…
Einstellungen – Anwendung – Entwicklung: „USB-Debugging“
…und danach dein Android per USB mit dem PC verbinden.

2.) ADB-Kommandos

Nun starten die die Windows-Kommandozeile…


… und können nun folgende Befehle ausführen.
# in folgndes Verzeichnis wechseln
cd C:\android-sdk-windows\platform-tools
# ADB-Hile anziegen lassen
adb -h
# zeigt die angeschlossenen Android-Geräte an
adb devices
# Android wird neu-gestartet
adb reboot
# Android wird im Recovery-Modus gestartet
adb reboot recovery
# dumping Debug Information (~ tail -f /var/log/everything.log) ;-)
adb logcat
# der allgemine Befehl für Kommandos
adb [-s ] 
# startet die Android-Konsole, dann kannst
adb [-s ] shell
# zeigt das Android-Logfile an (~tail -f /var/log/everything)
adb logcat
V —> Verbose (lowest priority)
D —> Debug
I —> Info
W —> Warning
E —> Error
F —> Fatal
S —> Silent (highest priority, on which nothing is ever printed)
# z.B. alle Error-Meldungen anziegen lassen
adb logcat *:E
radio  —> View the buffer that contains radio/telephony related messages.
events —> View the buffer containing events-related messages.
main   —> View the main log buffer (default)
# z.B. alle Event-Meldungen anziegen lassen
adb logcat -b events
# installiert ein App von deinem PC aus
adb install \
# Upload eine Datei von deinem PC (localfile) zum Handy
adb push  
# Download eine Datei von Handy zu deinem PC
adb pull  

In dem CyanogenMod – Wiki gibt es noch weitere hilfreiche Befehle: http://wiki.cyanogenmod.com/index.php?title=ADB

— die nachfolgenden Befehle werden in der “adb shell” ausgeführt —

Dabei können die meisten der folgenden Befehle können auch in anderen Linux-Systemen verwendet werden… :-)

# zeigt das Android-Logfile an (~tail -f /var/log/everything)
# zeigt Kernel-Debug Infos an
# zeigt die System-Apps an (ls = dir unter Windows)
ls /system/app/
# zeigt die installierten Apps an
ls /data/app/
# zeigt Daten auf deiner SD-Karte an
ls /mnt/sdcard/
# zeigt den Inhalt einer Datei an oder kopiert diese auch, wenn nötig
cat lall.txt
cat lall.txt > lall_copy.txt
# zeigt an wer du bist ;-)
# zeigt die laufenden Prozesse an
#zeigt die Systemauslastung an
top | tail
# zeigt alle eingehängten Partitionan an
# grep filtert z.B. Ausgaben
mount | grep system
# root-Rechte erhalten (su = substitute user)
# alle Partition können nun beschrieben werden
remount rw
# z.B. die Partition /system kann nun beschrieben werden (read & write)
remount rw /system
# die Partition /system kann nun nicht mehr beschrieben werden (read only)
remount ro /system
# z.B. löscht ein System-App (rm = del unter Windows)
rm /system/app/
# löscht ein installiertes App
rm /data/app/

PS: Da ich den “Cyanogenmod” bei mir installiert habe, stehen mir noch viele weitere Programme wie z.B. einen SSH-Server (dropbear), wget… zur Verfügung, :-) die hier gezeigten Befehle sollten aber auch ohne diesen Mod funktionieren.