aboutsummaryrefslogtreecommitdiff
path: root/research
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-04-18 20:34:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-04-18 20:34:58 -0300
commit90e054b52bf76737120d7b4f531b10ca3d7b746a (patch)
tree1d3f5a7a1f6e181fdca484cd079aa4fdada2b806 /research
parent9928d1aa7d6ffa1ec7987fb44f2916835134242d (diff)
downloadblog-90e054b52bf76737120d7b4f531b10ca3d7b746a.tar.gz
blog-90e054b52bf76737120d7b4f531b10ca3d7b746a.tar.bz2
Adds research/smartphone
Diffstat (limited to 'research')
-rw-r--r--research/smartphone.mdwn109
1 files changed, 109 insertions, 0 deletions
diff --git a/research/smartphone.mdwn b/research/smartphone.mdwn
new file mode 100644
index 0000000..c40e711
--- /dev/null
+++ b/research/smartphone.mdwn
@@ -0,0 +1,109 @@
+[[!meta title="Smartphone"]]
+
+Pesquisa rápida sobre smartphones.
+
+Objetivo
+--------
+
+* [LineageOs](https://lineageos.org).
+
+Prós
+----
+
+* Código mais aberto.
+* Risco menor de backdoors.
+* Google Apps não-mandatório.
+
+Contras
+-------
+
+* Menos base de aplicativo.
+* Atualizações de segurança mais lentas.
+* Redução de segurança por conta to root?
+
+LineageOS
+---------
+
+* [Update and build preparation](http://lineageos.org/Update-and-Build-Prep/).
+* [Moto E surnia builds](https://download.lineageos.org/surnia).
+* [Verifying builds](http://wiki.lineageos.org/verifying-builds.html).
+
+### Destravamento
+
+ # stretch onwards: sudo apt install adb fastboot
+ sudo apt install android-tools-adb android-tools-fastboot
+
+ 1 20160410 14:55:06 user@box:~ $ adb reboot bootloader
+ 0 20160410 14:55:22 user@box:~ $ fastboot devices
+ 0012711246 fastboot
+ 0 20160410 14:55:40 user@box:~ $ fastboot oem get_unlock_data
+ ...
+ (bootloader) [...]
+ OKAY [ 0.235s]
+ finished. total time: 0.235s
+ 0 20160410 14:56:01 user@box:~ $ fastboot oem unlock $code
+ ...
+ (bootloader) Check 'Allow OEM Unlock' in Developer Options.
+ FAILED (remote failure)
+ finished. total time: 0.007s
+ 1 20160410 15:30:32 user@box:~ $ fastboot devices
+ 0012711246 fastboot
+ 0 20160410 15:30:49 user@box:~ $
+
+## Recovery
+
+Usando o [TWRP para Moto E surnia](https://twrp.me/devices/motorolamotoelte.html):
+
+ adb reboot bootloader
+ fastboot flash recovery recovery.img
+ fastboot reboot
+
+Instalação manual de apps
+-------------------------
+
+ adb install app.apk
+
+Upgrade
+-------
+
+Procedimento:
+
+* Atualizar ROM.
+* Atualizar apps via F-Droid.
+* Atualizar apks manualmente.
+* Alguns apps podem ser auto-autualizáveis.
+
+Arquivos
+--------
+
+Movendo arquivos do sdcard para o armazenamento interno:
+
+ adb shell
+ cd /storage/emulated/0
+ mv /storage/1FAC-34C3/Music/* Music/
+
+Backups
+-------
+
+* [Full Phone Backup without Unlock or … | Samsung Galaxy Nexus](https://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351).
+* [How to use ADB backup to back up your unrooted phone - Pocketables](http://www.pocketables.com/2012/09/how-to-use-adb-backup-to-back-up-your-unrooted-phone.html).
+
+ adb backup -all
+ adb restore backup.ab
+
+Dicas
+-----
+
+* [Hide Certain Files in Android Music Player (or Photo Gallery)](http://www.guidingtech.com/15563/hide-certain-files-android-music-player-photo-gallery/):
+
+ touch /storage/emulated/0/SomeApp/Media/.nomedia
+
+* [Validating the Android 4.2.2 RSA fingerprint](https://shred.zone/cilla/page/374/validating-the-android-422-rsa-fingerprint.html):
+
+ awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl md5 -c | \
+ awk '{print $2}' | tr '[:lower:]' '[:upper:]'
+
+Referências
+-----------
+
+* [List of custom android firmware](https://en.wikipedia.org/wiki/List_of_custom_Android_firmware).