====== Cyanogenmod on Samsung/Google Galaxy Nexus ==
===== Install CM ==
* Google Galaxy Nexus (GSM) entry page: http://wiki.cyanogenmod.org/w/Maguro_Info
* Using this [[http://wiki.cyanogenmod.org/w/Install_CM_for_maguro|main manual]]
* To [[http://www.technipages.com/galaxy-nexus-enable-usb-debugging|enable Enable USB Debugging]], we first need [[http://www.technipages.com/android-developer-options-is-missing|Developer Options]]
* Get "SDK Tools Only" at http://developer.android.com/sdk/index.html :?:
* Download cm-10.2.1-maguro.zip from http://download.cyanogenmod.org/?device=maguro&type=stable
Original OS: Android 4.3
# ./fastboot devices
0A3C2D8E0D009009 fastboot
0d4512fcb1089fec2aded8037962c098 recovery-clockwork-6.0.4.7-maguro.img
md5: 0d4512fcb1089fec2aded8037962c098
Direct Download: cm-10.2.1-maguro.zip
md5sum: c4eda6a6d210b5b30bdf6c3d9645e9d1
c4eda6a6d210b5b30bdf6c3d9645e9d1 cm-10.2.1-maguro.zip
Reboot the device into recovery: Volume Up or Volume Down to select Recovery mode, then press Power to confirm your selection.
=> Lead into Recovery recovery-clockwork-6.0.4.7-maguro: ok
"error: insufficient permissions for device" => "adb kill-server" and then run "adb devices"
Still error => "Reboot system now" from Recovery: Confirm all questions with default "no"
adb reboot bootloader
recovery: backup and restore
md5: 1f51b5cc6370c1f45dc951109b6ce6ed
1f51b5cc6370c1f45dc951109b6ce6ed gapps-jb-20130813-signed.zip
===== adb ==
==== Install ==
FIXME Linux 64 needs [[slack_multilib]]: http://stackoverflow.com/questions/2710499/android-sdk-on-a-64-bit-linux-machine
- Enable USB-debugging on the device!
- Download: https://developer.android.com/sdk/ -> search for android-sdk for Linux
- Unpack in /usr/local
- Run android-sdk-linux/tools/android
- Deselect everyting
- Select only Tools -> Android SDK Platform tools
- Create symlinks in /usr/local/bin
- Run SDK manager periodically to check for updates
See http://wiki.cyanogenmod.org/w/Doc:_adb_intro
==== Usage Examples ==
adb devices
adb shell
cd /sdcard/DCIM/Camera
adb pull /sdcard/DCIM/Camera
adb push someLocalDir /sdcard/osmand/tracks
See http://wiki.cyanogenmod.org/w/Adb_--help
===== MTP ==
Permits an file access over USB.
[[https://github.com/hanwen/go-mtpfs|go-mtpfs]] allows mounting of the phone via MTP. It has prebuild binaries. But beware, directory moves do not work!
===== SSHd ==
http://wiki.cyanogenmod.org/w/Doc:_sshd
===== Other ==
Original Accu SN: EB-L1F2HVU
Ordered original replacement 2016-01-12 at www.akku500.de for 13,95 €