Movendo arquivos do sdcard para o armazenamento interno:
# Arquivos: cópia completa
#adb pull $base files/
adb shell
# Remover cache multimídia do backup
cd /storage/emulated/0
#rm -rf files/Music
mv /storage/1FAC-34C3/Music/* Music/
Backups
# Arquivos: cópia completa básica
-------
#adb shell ls -1 $base | grep -v ^Music | while read file; do
# adb pull $base/$file files/
#done
* [Full Phone Backup without Unlock or … | Samsung Galaxy Nexus](https://forum.xda-developers.com/galaxy-nexus/general/guide-phone-backup-unlock-root-t1420351).
# Arquivos: cópia incremental básica
* [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 shell ls -1 $base | grep -v ^Music | while read file; do
adb-sync --delete --reverse $base/$file files/
done
adb backup -all
Restauro
--------
A partir de um sistema recém-instalado:
# Arquivos: cópia completa
#for file in `ls $backup`; do
# adb push $backup/$file files/
#done
# Arquivos: cópia incremental
for file in `ls $backup`; do
adb-sync --delete $backup/$file files/
done
# Configurações
adb restore backup.ab
adb restore backup.ab
## Subir músicas
Podem ser enviadas a partir de acervos compatíveis com o [playlister](https://git.fluxo.info/playlister/about/):
playlist-copy <playlist> adb
Dicas
Dicas
-----
-----
* [Hide Certain Files in Android Music Player (or Photo Gallery)](http://www.guidingtech.com/15563/hide-certain-files-android-music-player-photo-gallery/):
## Escondendo arquivos do mídia player
touch /storage/emulated/0/SomeApp/Media/.nomedia
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):
Via [Hide Certain Files in Android Music Player (or Photo Gallery)](http://www.guidingtech.com/15563/hide-certain-files-android-music-player-photo-gallery/).
## Checagem de fingerprint do ADB
awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl md5 -c | \
awk '{print $1}' < ~/.android/adbkey.pub | openssl base64 -A -d -a | openssl md5 -c | \
awk '{print $2}' | tr '[:lower:]' '[:upper:]'
awk '{print $2}' | tr '[:lower:]' '[:upper:]'
Via [Validating the Android 4.2.2 RSA fingerprint](https://shred.zone/cilla/page/374/validating-the-android-422-rsa-fingerprint.html).
## Instalação manual de apps
adb install app.apk
## Movendo arquivos do sdcard para o armazenamento interno
* [Modificações de hardware](https://web.archive.org/web/20160402005909/https://people.torproject.org/~ioerror/skunkworks/moto_e/).
* [List of custom android firmware](https://en.wikipedia.org/wiki/List_of_custom_Android_firmware).
* [List of custom android firmware](https://en.wikipedia.org/wiki/List_of_custom_Android_firmware).
* [Fossdroid: Free and open source Android apps](https://fossdroid.com/).
* Backups:
* [Android: How to Backup Contacts and SMS Messages | chombium's blog](https://chombium.wordpress.com/2012/09/30/android-how-to-backup-contacts-and-sms-messages/), but requires root on recent androids.
* [GitHub - stachre/dump-contacts2db: Bash script that dumps contacts from an Android contacts2.db to stdout in vCard format. Especially helpful when the device is inop or missing, with only a contacts2.db file available (from backup, etc.) to migrate contac](https://github.com/stachre/dump-contacts2db).
* [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).