aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-12-29 19:51:52 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-12-29 19:51:52 -0200
commit8685fd883fb6fc2be7696e9b2c32388326c3c13e (patch)
treeabe1253fc1f934852111998d801ed5afead8b14b
parent5f7b04b2036200bd80721b6b3a42af9577ffda4d (diff)
downloadblog-8685fd883fb6fc2be7696e9b2c32388326c3c13e.tar.gz
blog-8685fd883fb6fc2be7696e9b2c32388326c3c13e.tar.bz2
Updates research/smartphone
-rw-r--r--research/smartphone.md25
1 files changed, 7 insertions, 18 deletions
diff --git a/research/smartphone.md b/research/smartphone.md
index 519453a..ceda244 100644
--- a/research/smartphone.md
+++ b/research/smartphone.md
@@ -79,8 +79,7 @@ Destravamento
Este procedimento é específico para alguns aparelhos para que o bootloader
possa ser desbloqueado, como é o caso do modelo escolhido:
- # stretch onwards: sudo apt install adb fastboot
- sudo apt install android-tools-adb android-tools-fastboot
+ sudo apt install adb fastboot
1 20160410 14:55:06 user@box:~ $ adb reboot bootloader
0 20160410 14:55:22 user@box:~ $ fastboot devices
@@ -124,28 +123,18 @@ incluindo a ativação do ADB:
Backups
-------
-Usaremos o [adb-sync](https://github.com/google/adb-sync) e o [adb-export](https://github.com/snatik/adb-export) através do script [android-backup](https://git.fluxo.info/scripts/tree/android-backup).
+Usaremos o [adb-sync](https://github.com/google/adb-sync) e o
+[adb-export](https://github.com/snatik/adb-export) através do script
+[android-backup](https://git.fluxo.info/scripts/tree/android-backup):
+
+ android-backup <phone-name>
Restauro
--------
A partir de um sistema recém-instalado:
- # Base remota
- base="/sdcard"
-
- # Arquivos: cópia completa
- #for file in `ls files`; do
- # adb push files/$file $base/$file
- #done
-
- # Arquivos: cópia incremental
- for file in `ls files`; do
- adb-sync --delete files/$file/ $base/$file/
- done
-
- # Configurações
- adb restore backup.ab
+ android-restore <phone-name>
## Subir músicas