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

2016년 2월 26일 금요일

How to install kodi v17.0(Krypton) for 4K on ODROID-C2

The kodi v16 Jarvis app has 4K video bugs.

Visit kodi site and download kodi v17.

Open CM FileManager and select Download folder.

Select and Install.

Enjoy 4K video without resolution resizing bug.

2016년 2월 25일 목요일

Google Play Store on ODROID-C2.






Visit http://dn.odroid.com/GAPPS and download GAppsInstaller_lollipop.apk

Install




Rebooted and log in google.

 Check Play store version.

If you Installed youtube app, You must update Google Play services too.


If you update Google Play service, You will go though this situation.
I do not have solution for that. You must reinstall android image.

Check Play store version like this. Play store will update automatically.


Fist Update Google Store and must update Google Play Services later.