projects
/
android-command-line.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
202399c
)
rsync and reflash latest cyanogen build
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 1 Oct 2010 21:49:54 +0000
(23:49 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Fri, 1 Oct 2010 21:49:54 +0000
(23:49 +0200)
cyanogen-reflash.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/cyanogen-reflash.sh
b/cyanogen-reflash.sh
new file mode 100755
(executable)
index 0000000..
1565520
--- /dev/null
+++ b/
cyanogen-reflash.sh
@@ -0,0
+1,9
@@
+#!/bin/sh -x
+
+dir=`date +%Y-%m-%d`
+dir=cyanogen
+
+rsync --progress -v android:/srv/cyanogen/out/target/product/dream_sapphire/{boot.img,recovery.img,system.img,android-info.txt} $dir
+adb reboot-bootloader
+sudo ./fastboot devices
+sudo sh -c "ANDROID_PRODUCT_OUT=$dir/ ./fastboot flashall"