2016년 7월 2일 토요일

언더싱크 정수기 설치

산본은 구 신도시라서 아파트가 모두 지은지 20년은 넘어서 배관에서 녹물이 나옵니다.
보시는 것 처럼 간단한 필터를 설치 해 보았지만 금방 누렇게 변해서 도져히 그냥은 못 살겠더라구요.



그래서 정수기를 이마트에서 정수기를 알아 봤는데 렌탈? 개념에 필더를 교환해 주는 방식은 제일 싼게 60만원 이상이더 군요.


그나마 싼게 정수기 설치 해주고 자가 필터 교환 방식이 20만원 정도 더 군요.


인터넷에 찾아 보니 자기 설치, 자가 필터 교환 방식의 정수기가 아주 저렴한 가격이 더군요. 필터 포함 약 4만원 정도 입니다. 그래서 주문...



처음에는 저기에 연결하려고 시도...




그냥 사이 배관 연결 부위에 연결...



설명서에 나와 있는 것 처럼 필터를 연결 하고 보니 위에 있는 구멍이 뚜껑에 맞는 구멍이랑 사진처럼 밑으로 호수를 연결해야 합니다. 참고 하세요.



배관을 이미 잘라서 전 본체를 상하 뒤집어 설치


전동 드릴로 구멍을 냈습니다.





4만원에 자가 언더 싱크 정수기 설치 끝~~

2016년 6월 23일 목요일

How to install Google Play Store on ODROID


We support Open Gapps update packages(http://opengapps.org/).

First, Check version. 

ODROID-C2

Install v1.0(Marshmallow)9 version or higher.
odroidc2-eng 6.0.1 MOB31K odroidc2-eng-s905_6.0.1_master-9 test-keys


Install v1.8(Lollipop)241 version or higher.
odroidc2-eng 5.1.1 LMY47V odroidc2-eng-s905_5.1.1_master-241 test-keys

ODROID-C1/C1+/C0
Install v3.0(KitKat)426 version or higher.
odroidc-eng 4.4.2 KOT49H odroidc-eng-s805_4.4.2_master-426 test-keys

Install v1.0(Lollipop)15 version or higher.
odroidc-eng 5.1.1 LMY48W odroidc-eng-s805_5.1.1_master-15 test-keys


Open Browser app and go to http://opengapps.org.
ODROID-C2/C1/C1+/C0
Check ARM, 5.1, micro  and download.

You must select ARM not ARM64, because ODROID-C2 is 32bit OS.

You have to choose between nano and micro.

ODROID-C1/C1+/C0
Check ARM, 4.4, micro  and download.
You have to choose between nano and micro.


Open ODROID Utility app.
Select "Package install from storage".

Select "File Manager".
Open Download folder.
Select "open_gapps-arm-5.1-micro-20160623.zip"

Select "Process" and system will be reboot.

Recovery...

Select "Google Now Launcher".





To use the Google Play Store, GappsInstaller app is no longer necessary.
You can now use the latest version of the Google Play Store.

2016년 3월 30일 수요일

Automatically match the density for ODROID-VU7.



Edit boot.ini for ODROID-VU7.

setenv hdmimode "800x480p60hz"
# HDMI/DVI Mode Configuration
# This will enforce the signal type of display
# "hdmi" - For HDMI interface
# "dvi" - For DVI interface
setenv vout_mode "dvi"

If you use the low resolution screen like the ODROID-VU7, you need to edit the lcd_density value manually to show the navigation bar properly.
Change “ro.sf.lcd_density=160” to “ro.sf.lcd_density=120” in build.prop file.

$ su 
# mount -o rw,remount / 
# vi /system/build.prop 
# reboot 



We will automatically match the density without modification.

Make set_density.sh

---------------------------------------------------------------------------
sleep 5
SIZE="Error type 2"

while true
do
case $SIZE in
Error*)
echo "wm not ready"
sleep 1
SIZE=`wm size`
if [ "$SIZE" == "" ]; then
SIZE="Error type 2"
fi
;;
Physical*)
if [ "$SIZE" == "Physical size: 800x480" ]; then
wm density 120
break
else
wm density 160
break
fi
;;
esac
done
---------------------------------------------------------------------------

$ adb remount
$ adb push set_density.sh /system/bin/

Edit /init.odroidc2.board.rc

---------------------------------------------------------------------------
service auto_density /system/bin/set_density.sh
    class main
    user root
    group root
    oneshot
---------------------------------------------------------------------------




2016년 3월 28일 월요일

How to expand userdata partition on ODROID-XU3/4 by Gparted.

I want to expand userdata partition to install app more.

Check current partition information.

system partition   | /dev/sdx2 | 1GByte
userdata partition | /dev/sdx3 | 2GByte
cache partition     | /dev/sdx4 | 256Byte
fat partition          | /dev/sdx1 | All the rest


Remove cache and fat32 partition. If you modified boot.ini backup first.

Select userdata partition and resize. I will resize twice.


userdata parition : 4GByte.


Create new partition for fat like picture.
assign 256 for cache on 'Free space preceding (MiB):'




Create new partition for cache like picture.

Complete.


This also applies to ODROID-C1.



2016년 3월 18일 금요일

How to update ODROID-C2 Android in slow internet.

If you select 'Check online update', You must stay this activity until to finish download.


If you close ODROID Utility, You will fail to update.

Open browser and download updatepackage-odroidc2-eng-s905_5.1.1_master-xxx.zip



Run ODROID Utility and select menu 'Package install from storage.'


 Select 'File Manager'


Select 'Download/updatepackage-odroidc2-eng-s905_5.1.1_master-xxx.zip'


Wait a second and click 'Proceed'


2016년 3월 3일 목요일

dual booting android and Ubuntu on ODROID-C2



I made dual booting image for ODROID-U3.
http://codewalkerster.blogspot.kr/2014/03/dual-booting-android-and-ubuntu-on.html?m=1

We will make dual booting image for ODROID-C2.

Make bootable android media(eMMC or SD).

http://odroid.com/dokuwiki/doku.php?id=en:c2_release_android

Download ODROID-C2 Ubuntu Image.

http://odroid.com/dokuwiki/doku.php?id=en:c2_release_linux_ubuntu



Copy rootfs and boot partition of ODROID-C2 Ubuntu to your desktop Ubuntu.

- mount disk wrote ODROID-C2 ubuntu image on your desktop PC.

c2/ubuntu/ubuntu64-16.04lts-mate-od* on /media/codewalker/boot type vfat (ro,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks2)
c2/ubuntu/ubuntu64-16.04lts-mate-od* on /media/codewalker/rootfs type ext4 (ro,nosuid,nodev,uhelper=udisks2)


$ mkdir odroid-c2_ubuntu
$ cd odroid-c2_ubuntu
$ mkdir boot
$ sudo cp -a /media/username/boot/* boot/
$ mkdir rootfs
$ sudo cp -a /media/username/rootfs/* rootfs/

- unmount ubuntu disk.


Delete rootfs/aafirstboot

$ rm -rf rootfs/aafirstboot

Edit rootfs/etc/fstab

$ sudo vi rootfs/etc/fstab
LABEL=VFAT /media/boot vfat defaults,rw,owner,flush,umask=000 0 0

Chagne userdata partition UUID.

- Insert disk wrote android image on your desktop PC and unmount /dev/sdX4.
$ sudo umount /dev/sdX4
$ cat rootfs/etc/fstab 
LABEL=VFAT /media/boot vfat defaults,rw,owner,flush,umask=000 0 0

UUID=e139ce78-9841-40fe-8823-96a304a09859 / ext4 errors=remount-ro,noatime 0 1

$ sudo tune2fs /dev/sdX4 -U e139ce78-9841-40fe-8823-96a304a09859

Copy ODROID-C2 Ubuntu files to android disk.

$ mv /media/username/VFAT/boot. ini  /media/username/VFAT/boot. ini.android
$ cp boot/* /media/username/VFAT/
$ sudo cp rootfs/* /media/username/e139ce78-9841-40fe-8823-96a304a09859/ -a
$ sync

Make script to change OS.

in Ubuntu
$ vi boot_android.sh
------------------------------------------------------------------------
#!/bin/bash
sudo mv /media/boot/boot.ini /media/boot/boot.ini.ubuntu
sudo mv /media/boot/boot.ini.android /media/boot/boot.ini
sudo reboot
------------------------------------------------------------------------
#chmod +x boot_android.sh


in Adnroid
$ su
# mount -o rw,remount /
# vi /system/bin/boot_ubuntu.sh
------------------------------------------------------------------------
#!/bin/sh
mv /storage/internal/boot.ini /storage/internal/boot.ini.android
mv /storage/internal/boot.ini.ubuntu /storage/internal/boot.ini
reboot
------------------------------------------------------------------------
# chmod 777 /system/bin/boot_ubuntu.sh