Android Things - Aplicativos IoT padronizado para Indústria 4.0
Neste artigo veremos como trabalhar com o Android Things. Esta tecnologia pode ser a padronização de soluções IoT, como também uma luz para a segurança neste setor, pois a padronização de um sistema operacional torna mais gerenciável as correções de vulnerabilidades para a Indústria 4.0.
[ Hits: 8.746 ]
Por: Alessandro de Oliveira Faria (A.K.A. CABELO) em 23/09/2017 | Blog: http://assuntonerd.com.br

05/06/17 21:37:45.039 INFO : Intel(R) Platform Flash Tool Lite V 5.8.3.0 x64 (build on Friday February 24th 2017, 05:21:16 UTC) 05/06/17 21:37:45.040 INFO : Using xFSTK Downloader version: 2.0.0 05/06/17 21:37:45.044 INFO : Using DFU Downloader version: 0.8.4 05/06/17 21:37:45.044 INFO : Using DnX Firmware Downloader version: 1.0.0.0 (API: 3.0.0.1108(DBG)) " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " 05/06/17 21:38:19.630 INFO : [Port 3] Command `Notify Run 'flash-all.sh' to flash and boot the device.` succeed 05/06/17 21:38:19.630 INFO : [Port 3] Flash success (duration=00:00:34.440) 05/06/17 21:38:19.642 INFO : Platform Flash Tool Lite exited with code 0Se habilitou com o comando screen o monitoramento do console anteriormente, teremos as seguintes informações durante a atualização do firmware/bootloader:
******* PSH loader *******
PCM page cache size = 192 KB
Cache Constraint = 0 Pages
Arming IPC driver ..
Adding page store pool ..
PagestoreAddr(IMR Start Address) = 0x04899000
pageStoreSize(IMR Size) = 0x00080000
*** Ready to receive application ***
Edison IA32 CPU Firmware
Copyright (C) 1999-2016, Intel Corporation. All rights reserved.
IA32 FW: CPU 3.1 (INTELFDK) [2016.02.24:15.14]
Other FW: OEM 3.1 (OEMHOOKS); SCU BS 00B0.0003, RT 00B0.0049; C 0000.0045
PSH B018.2B2B; IFWI 00ED.1D0E; PL 824
Hardware: SOC B0 800; 406A8; 50504:292929:505:4E4E
Starting OS recovery
OS recovery complete
Resetting platform
Após gravar o bootloader (ou firmware), o sistema reiniciará, para verificar se tudo esta funcionando corretamente, execute o comando a seguir:
1b2f21d4e1fe0129 fastbootAgora descompacte o arquivo androidthings_edison_devpreview_3.zip, entre na pasta recém criada e execute o comando flash-all para gravar a imagem do Android.
target reported max download size of 117440512 bytes sending 'gpt' (33 KB)... OKAY [ 0.010s] writing 'gpt'... OKAY [ 0.148s] " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " OKAY [ 0.195s] writing 'oem_b'... OKAY [ 0.864s] finished. total time: 2.122s Successfully flashed your Edison. rebooting... finished. total time: 0.101sSe habilitou com o comando screen o monitoramento do console, novamente teremos as seguintes informações durante a atualização do firmware/bootloader:
******************************
PSH KERNEL VERSION: b0182b2b
WR: 20104000
******************************
SCU IPC: 0x800000d0 0xfffce92c
PSH miaHOB version: TNG.B0.VVBD.0000000c
microkernel built 11:24:08 Feb 5 2015
******* PSH loader *******
PCM page cache size = 192 KB
Cache Constraint = 0 Pages
Arming IPC driver ..
Adding page store pool ..
PagestoreAddr(IMR Start Address) = 0x04899000Starting download of 34304 bytes
downloading of 34304 bytes finished
fb_mmc_flash_write: updating MBR, Primary and Backup GPT(s)
........ success
Erasing blocks 1024 to 9216 due to alignment
........ erased 4194304 bytes from 'u-boot'
Starting download of 384180 bytes
..
downloading of 384180 bytes finished
Flashing Raw Image
........ wrote 384512 bytes to 'u-boot'
Starting download of 10625024 bytes
..........................................................................
" " " " " " " "
" " " " " " " "
" " " " " " " "
" " " " " " " "
downloading of 61493312 bytes finished
Flashing Sparse Image
........ wrote 61493248 bytes to 'gapps_b'
Starting download of 4788468 bytes
....................................
downloading of 4788468 bytes finished
Flashing Sparse Image
........ wrote 4788224 bytes to 'oem_a'
Starting download of 4788468 bytes
....................................
downloading of 4788468 bytes finished
Flashing Sparse Image
........ wrote 4788224 bytes to 'oem_b'
resetting ...
Se tudo foi atualizado com sucesso a ferramenta ADB apresentara o seguinte resultado:
List of devices attached Edisonb74661ad device@Pronto! Vamos para a configuração do Android Things!
Criando um invejável serviço de backup em CD-R com gravação multi-sessão
ARToolKit: Criando aplicativos de Realidade Aumentada
OpenVino: Inteligência Artificial em tempo real sem GPU
Apache Cassandra NoSQL, uma tecnologia emergente
Python com SL4A - A camada de script do Android
Assumindo o controle do teu Android com ADB
Processing - Programação para dispositivos móveis
Hello Android! Meu Primeiro APP
IA Turbina o Desktop Linux enquanto distros renovam forças
Como extrair chaves TOTP 2FA a partir de QRCODE (Google Authenticator)
Linux em 2025: Segurança prática para o usuário
Desktop Linux em alta: novos apps, distros e privacidade marcam o sábado
IA chega ao desktop e impulsiona produtividade no mundo Linux
Atualizando o Fedora 42 para 43
Como saber se o seu e-mail já teve a senha vazada?
Como descobrir se a sua senha já foi vazada na internet?
Warcraft II Remastered no Linux? (7)
O programa assinador digital (5)









