Tuesday, January 17, 2017

adb, fastboot command สำหรับจัดการ android device

ก่อนใช้จะต้องเปิด USB Debug Mode ก่อน 
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot reboot
fastboot oem unlock (for all Google-branded Nexus devices)
adb reboot bootloader
adb reboot recovery
fastboot devices
fastboot flash recovery your_recovery_image.img

$ adb backup -apk -shared -all
$ adb shell grep ro.product.name system/build.prop

What is - Orange Pi Plus 2

Orange Pi คือ คอมพิวเตอร์ขนาดเล็ก ลักษณะภายนอก เหมือนกับ Rasberry Pi แต่ Orange Pi จะมีราคาถูกกว่าเยอะ ข้อเสียก็คือ community มีขนาดเล็กกว่า Rasberry Pi มาก  รุ่นที่สั่งซื้อมาใช้เป็นรุ่น Orange PI +2 


CPU
H3 Quad-core Cortex-A7 H.265/HEVC 4K
GPU
·Mali400MP2 GPU @600MHz
·Supports OpenGL ES 2.0
Memory (SDRAM)
2GB DDR3 (shared with GPU)
Onboard Storage
TF card (Max. 64GB) / MMC card slot , up to 2T on 2.5 SATA disk
16GB EMMC Flash
Onboard Network
10/100/1000M Ethernet RJ45
Onboard WIFI
Realtek RTL8189ETV, IEEE 802.11 b/g/n
Video Input
A CSI input connector Camera:

Supports 8-bit YUV422 CMOS sensor interface

Supports CCIR656 protocol for NTSC and PAL

Supports SM pixel camera sensor 

Supports video capture solution up to 1080p@30fps
Audio Input
MIC
Video Outputs
Supports HDMI output with HDCP 

Supports HDMI CEC

Supports HDMI 30 function

Integrated CVBS

Supports simultaneous output of HDMI and CVBS
Audio Output
3.5 mm Jack and HDMI
Power Source
DC input can supply power, but USB OTG input don’t supply power
USB 2.0 Ports
Four USB 2.0 HOST, one USB 2.0 OTG
Buttons
Power Button(SW4), Recovery Button(SW3), Uboot Button(SW2)
Low-level peripherals
40 Pins Header,compatible with Raspberry Pi B+
GPIO(1x3) pin
UART, ground.
LED
Power led & Status led
Other
IR input
Supported OS
Android, Ubuntu, Debian, Rasberry Pi Image
ข้อดี

  1. ราคาถูก เมื่อเทียบ spec  กับ RasberryPI
  2. มีหน่วยความจำ NAND มาให้ในบอร์ด 
  3. Lan Gb

ข้อเสีย  

  1. สายไฟ ต้องใช้ของ OrangePi เอง ไม่สามารถใช้ microUSB ได้ 
  2. community เล็ก หาข้อมูลลำบากเวลามีปัญหา แต่ปัจจุบันแก้ไขได้โดยใช้ community ของ Armbian