projects
/
android-command-line.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
incremental pull of new media files
[android-command-line.git]
/
cyanogen-reflash.sh
1
#!/bin/sh -x
2
3
dir=`date +%Y-%m-%d`
4
dir=cyanogen
5
6
rsync --progress -v android:/srv/cyanogen/out/target/product/dream_sapphire/{boot.img,recovery.img,system.img,android-info.txt} $dir
7
adb reboot-bootloader
8
sudo ./fastboot devices
9
sudo sh -c "ANDROID_PRODUCT_OUT=$dir/ ./fastboot flashall"