레이블이 portrait인 게시물을 표시합니다. 모든 게시물 표시
레이블이 portrait인 게시물을 표시합니다. 모든 게시물 표시

2014년 2월 18일 화요일

ODROID-U2/U3/X/X2(Exynos4412) update

first recovery.
ODROID-U2/U3
http://dn.odroid.com/4412/Android/4.1.2_Feb-12-2014/ODROID-U/
ODROID-X2
http://dn.odroid.com/4412/Android/4.1.2_Feb-12-2014/ODROID-X2/
ODROID-X
http://dn.odroid.com/4412/Android/4.1.2_Feb-12-2014/ODROID-X/


[   ]emmc_self_installer.img.zip12-Feb-2014 13:15146M
[   ]emmc_self_installer.img.zip.md5sum12-Feb-2014 13:1562
[   ]sd_self_installer.img.zip12-Feb-2014 13:15146M
[   ]sd_self_installer.img.zip.md5sum12-Feb-2014 13:1560

Windows users


Linux users

$ unzip sd[emmc]_self_installer.img.zip
$ sudo fdisk -l
$ sudo dd if=./sd[emmc]_self_installer.img of=/dev/sdX

Update complete.
Run ODROID Updater.

ODROID-U2/U3
Input URL http://dn.odroid.com/4412/Android/4.1.2_Feb-19-2014/ODROID-U/update.zip

ODROID-X
Input URL http://dn.odroid.com/4412/Android/4.1.2_Feb-19-2014/ODROID-X/update.zip

ODROID-X2
Input URL http://dn.odroid.com/4412/Android/4.1.2_Feb-19-2014/ODROID-X2/update.zip



If you run flappy bird in Landscape mode then app run like this picture.
Mouse worked well, but multitouch screen do not work.


HDMI Portrait screen and HID multitouch.
Run ODROID Utility app.
Select HDMI Portrait and apply. Reboot.


Boot complete, automatically rotate screen to portrait.



Install Google Mobile Service apps.


2013년 9월 15일 일요일

Portrait screen for ODROID-XU

edit /system/build.pro
add this line.

persist.demo.hdmirotation=portrait



edit /sdcard/boot.ini

ODROIDXU-UBOOT-CONFIG

setenv fb_x_res     "1080"
setenv fb_y_res     "1920"

setenv vout         "hdmi"

setenv left     "56"
setenv right    "24"
setenv upper    "3"
setenv lower    "3"
setenv hsync    "14"
setenv vsync    "3"

setenv hdmi_phy_res "1080"

setenv led_blink    "1"


2013년 7월 12일 금요일

Portrait HDMI for ODROID(Exynos4412)

for Exynos4412(mali)

edit build.prop and add this.

ro.sf.hwrotation=90


http://codewalkerster.blogspot.kr/2013/06/hdmi-screen-rotation-issue-for-odroid.html

edit device/samsung/exynos4/libhdmi/libhdmiservice/SecTVOutService.cpp


#include <cutils/properties.h>

void SecTVOutService::setHdmiRotate(uint32_t rotVal, uint32_t hwcLayer)
{
    //codewalker
    return;


---------------------------------------------------------------------------------------------------------




    void SecTVOutService::setHdmiStatus(uint32_t status)
    {   

        LOGD("%s HDMI cable status = %d", __func__, status);
        {   
            Mutex::Autolock _l(mLock);

            bool hdmiCableInserted = (bool)status;

            if (mHdmiCableInserted == hdmiCableInserted)
                return;

            if (hdmiCableInserted == true) {
                if (mSecHdmi.connect() == false) {
                    LOGE("%s::mSecHdmi.connect() fail", __func__);
                    hdmiCableInserted = false;
                }   
        #if 1  //yqf, 2012-6-18, keep it, first plug in cable with device landscape mode    
            else{ 
                   //added yqf, STAR00030984 & update roate value to hdmi after connect->disconnect->connect
                //codewalker
                int angle = 0;
                char value[PROPERTY_VALUE_MAX]; 
                property_get("ro.sf.hwrotation", value, NULL); 
                if (value != NULL)
                    angle = atoi(value);

                     mSecHdmi.setUIRotation(globalRotate, angle);
            if(mSecHdmi.mRotateInfoChange)
                mSecHdmi.mRotateInfoChange=false;
                    }