Skip to content
Snippets Groups Projects
Unverified Commit 90e054b5 authored by rhatto's avatar rhatto
Browse files

Adds research/smartphone

parent 9928d1aa
No related branches found
No related tags found
No related merge requests found
[[!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).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment