IT이야기2016. 8. 9. 08:31

마켓에서 download받는 것이 아니라 unknown source로 부터 설치해야 이 취약점을 이용할수 있는것으로 알려져있습니다. 하지만 900M대(9억대)나 이 문제를 가지고 있다니 최신폰 아니고서야 패치 안하는 사람이 더 많을텐데 우리가 살아있는안 이 구멍을 이용할수 있을것 같네요.


퀄컴이 안드로이드 쪽에서 독보적이어서 쉽게 드러나는 것도 있지만, 퀄컴이 안드로이드에 큰 구멍으로 보이는 것은 저만 그런가요? 에라이~


보안이 중요한 사람들은 아이폰, iOS로 가는게 너무 당연하고 그렇지 않는 사람들은 너무 바보스럽게 보이겠습니다.

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

http://www.zdnet.com/article/quadrooter-security-flaws-affect-over-900-million-android-phones/

All versions of Android are vulnerable to these flaws, which won't be fully patched until the September security release next month.

Google's Nexus 5X, Nexus 6, and Nexus 6P, HTC's One M9 and HTC 10, and Samsung's Galaxy S7 and S7 Edge are some of those named vulnerable to one or more of the flaws.


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

안드로이드 전버전에 허점…"보안 비상"

http://www.zdnet.co.kr/news/news_view.asp?artice_id=20160808102142&lo=z35

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


1. CVE-2016-2503 discovered in Qualcomm's GPU driver and fixed in Google's Android Security Bulletin for July 2016. 
2. CVE-2016-2504 found in Qualcomm GPU driver and fixed in Google's Android Security Bulletin for August 2016. 
3. CVE-2016-2059 found in Qualcomm kernel module and fixed in April, though patch status is unknown. 
4. CVE-2016-5340 presented in Qualcomm GPU driver and fixed, but patch status unknown. 

Posted by 쁘레드
Programming2016. 2. 28. 08:51

사이노젠은 안드로이드를 구글로 부터 가져오고 싶다며 상당히 안드로이드 최적화에 관심이 많은 집단입니다. 대부분 소스가 공개되어 있으니 찾아보기 좋을것 같습니다.

Qualcomm 코드는 codeaurora.org를 통해서 공개되니 다른 포스트 참조.

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

Cynogenmod.org가 홈페이지

https://wiki.cyanogenmod.org/w/Main_Page ;WIKI, 여기서 source code를 누르면 github로 넘어감

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

https://github.com/cyanogenmod ; 프로젝트 리스트가 나오고


관심있는 프로젝트로 하나 골라 들어가면, 아래는 LGE의 ms8992 kernel project에서 fork한것. V10에 들어가는 kernel이겠죠

https://github.com/CyanogenMod/android_kernel_lge_msm8992


받는것은 github에 가입하고 SSH key가 등록되어 있어야 함.

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

kernel만 있는 프로젝트인데 이것을 빌드하려면...

<TBD>

'Programming' 카테고리의 다른 글

Windows Phone 8 App 개발  (0) 2016.03.04
Windows Mobile 7 phone 구입  (0) 2016.02.28
CodeAurora.org를 통해 Qualcomm 안드로이드 Open Source 받기  (0) 2016.02.28
월간 잡지 마소 폐간  (1) 2015.12.10
Visual Studio 2015 제품군  (0) 2015.11.19
Posted by 쁘레드
Programming2016. 2. 28. 08:26

*Check android release page

https://codeaurora.org/xwiki/bin/QAEP/release


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

git config --global user.email "<EMAIL>"
git config --global user.name "<NAME>"

repo init -u git://codeaurora.org/platform/manifest.git -b release -m LA.BF64.1.2.1-06420-8x92.0.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable

repo sync -j4 -c -q --no-tags

Testing colorized output (for 'repo diff', 'repo status'):
  black    red      green    yellow   blue     magenta   cyan     white 
  bold     dim      ul       reverse 
----------------

Using repo and git
------------
install asciidoc
------------
*build error
/bin/bash: prebuilts/misc/linux-x86/bison/bison: No such file or directory

sudo apt-get ing++-multilibstall bison g++-multilib git gperf libxml2-utils make python-networkx zlib1g-dev:i386 zip
sudo apt-get install python-lunch

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

*build command

lunch msm8992-userdebug

make -j8

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

*kernel only in kernel directory

m -j8 ONE_SHOT_MAKEFILE=build/target/board/Android.mk bootimage

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

'Programming' 카테고리의 다른 글

Windows Mobile 7 phone 구입  (0) 2016.02.28
Cynogenmod project 받아 빌드하기  (0) 2016.02.28
월간 잡지 마소 폐간  (1) 2015.12.10
Visual Studio 2015 제품군  (0) 2015.11.19
Hard core Embedded Programming - no printf() sprintf()  (0) 2015.11.19
Posted by 쁘레드
IT이야기2015. 12. 17. 05:03

저는 삼성 노트4 사용자입니다. 아직도 일년이나 약정이 남아있네요. 배터리 하나가지고 버틸수가 없어서 아마존에서 배터리 2개 셋트를 샀는데... 정품이 아니니 하루가 안가고 (엄청나게 사용하는것이 아닌) 그냥 일반사용 패턴으로 12시간밖에 못갑니다. 특히나 자기전에 배터리 갈고 잤는데 점심때에 앵꼬 난다고 합니다. (이거 멍미?) 나 자는동안 도데체 뭘 한거니. (처음에는 해킹도 의심했습니다. T.T 국정원인가?) 며칠간 계속 모니터링 해보니...

이것들이 일부러 빨리달게하는 이유가 가장 큰것 같습니다.
물론 배터리 퀄리티가 다른것도 이유가 되겠지만 그 이유가 첫번째가 아닌듯. 배터리만 문제라만 배터리 사용 비율은 같아야지요. 기울기가 가파르고 더 빨리 달더라도.
정품이 아닌 배터리를 detect하면 Call standby를 자주 깨어나게하고 화면을 더 밝게 유지하는듯.
나쁜 회사. (지들도 먹고 사려면 어쩔수 없다고 하더라도 욕은 해야지)

12/18 Update: 정품 배터리와 OEM 배터리를 사용하면서 배터리 사용비율을 다시 체크해보니 역시나 다릅니다. 아마존에서 산 OEM배터리인 경우 call standby나 다른 앱들이 계속 배터리를 빨아먹는 상황이 목격되었고, 정품은 그렇지 않습니다. 배터리를 구분하는 것이 확실해보입니다.


Posted by 쁘레드
IT이야기2015. 7. 14. 00:50

저는 애플 주주일뿐 애플제품은 비싸서 살수 없는 가난한 사람이며 애플빠는 아니다는 점을 다시 한번 강조하고 시작합니다. 제 현재 핸드폰은 노트4이며 거의 공짜로 2년계약으로 샀습니다.(애플빠는 아니지만, 애플이 만드는 세상에는 항상 감사하고 삽니다)


정말 10년간 애플의 행보는 믿어지지 않는 일의 연속이네요. 삼성과 애플이 합쳐서 스마트폰 시장 영업이익의 90%를 넘게 차지하던 때도 있었는데, 이제는 삼성은 15%로 폭락했고, 애플이 혼자 92%를 차지하게 됐습니다. 이 결과는 대화면으로 대표되는 아이폰 6가 대히트를 친것과 삼성의 하이엔드 역영까지 다 가져갔기때문에 가능한 결과인것 같습니다. 애플과 삼성의 합은 107%입니다.


결국 하이엔드, 비싸고 좋은 핸드폰은 아이폰 하나이고, 다른 핸드폰은 중저가로 만들어 버린것 같습니다. 너희들끼리 레드오션에서 경쟁해~


http://www.wsj.com/articles/apples-share-of-smartphone-industrys-profits-soars-to-92-1436727458?mod=trending_now_3

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

더욱 놀라운 것은 아이폰6가 7000-8000만대 팔았다면 이번 가을에 발표될 Iphone6S는 8500-9000만대로 20% 정도 더 팔릴것으로 보고 있다고 합니다. 이것이 경쟁자들을 흔들어 놓기위한 작전인지, 실제로 예상하는지 알수는 없지만, 삼성은 이럴 저지하기 위해 갤럭시 S6 마케팅비를 올리고 가격을 낮추고 있으며, 심지어 아이폰과 판매량에서 경쟁 상대도 아닌 노트5를 한달빨리 조기 등판한다고 발표하고 있습니다. 작전이라고 내놓고 있지만 결국 완전 작전에 말리고 있는거지요.


그렇다고 많이 못판다는 생각하는 것은 아닙니다. 2년전 Iphone5가 대히트친것을 생각하면 2년이 지나 교체수요가 이미 어마어마하게 시장에 대기하고 있습니다. 이미 안드로이드에서 하이엔드는 다 죽었다고 해도 될정도로 비싼 안드로이드가 망가진 시장까지 가만하면 9000만대를 목표로 해도 충분하다고 생각됩니다.







애플의 주가는 어떻게 될까요? 계산기좀 두드려봐야겠네요. 현재주가도 여전히 너무 낮다고 생각됩니다. 거져 용돈벌수 있는 기회가 또 오네요. 주가 예상은 다음번 글에서 정리하겠습니다.

http://www.wsj.com/articles/apple-preparing-record-number-of-new-iphones-1436367371


Posted by 쁘레드
Programming2015. 6. 3. 02:57

ARM에 맞는 stable kernel을 관리해주는 사람이 있었네요. 중요한 feature는 back port도 해주고 아주 친절하네요.


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

https://wiki.linaro.org/LSK

Linaro Stable Kernel (LSK)

Overview

Linaro Stable Kernel (LSK) aims to provide a stable basis for system integration of ARM hardware, integrating Linaro developed features available in mainline with kernel.org Long Term Stable (LTS) releases to allow integration of those features in production systems.

Most LSK features can be disabled at either build or run time so are included as part of the core LSK functionality. To support those feature sets which have substantial impacts on the kernel and cannot be disabled at build or run time the LSK is provided in multiple flavours. Currently these are:

  • "Core" - features which can be runtime disabled
  • "Android" - additional changes from AOSP

  • "RT" - the RT patch set adding realtime features to the Linux kernel

The number of flavours is kept to a minimum in order to make selection simpler. As much as possible is in the core LSK in order to ensure that features are as widely available as possible.

Currently the LSK release in Feature mode is base based on kernel version v3.18. Note: details for maintenance mode LSK versions can be found below.

Support

Each Linaro Stable Kernel (LSK) is maintained for two years. During the first year [Feature-Mode], both features and bug fixes are integrated and during the second year [Maintenance-Mode] only bug fixes are integrated. Bug reports should be filed against Linaro Stable Kernel project. Any queries should be directed to the Linaro support system in the first instance.

Adding code to LSK

Any bug fixes which apply to the standard kernel and could be included in a kernel.org LTS release should be submitted there, the kernel.org LTS releases are integrated into the LSK.

New features need to be reviewed by the TSC in discussion with the LSK team. Features should be present in current versions of the upstream kernel or in the process of being integrated there.

Code specific to the LSK should be submitted to the LSK team for review by e-mail using standard kernel submission techniques such as patches in e-mail or git pull requests. The addresses to send things to are:

  • LSK Tech Lead: Kevin Hilman <khilman AT linaro DOT org>

  • LSK Engineer: Alex Shi <Alex.Shi AT linaro DOT org>

  • Linaro Kernel mailing list <linaro-kernel AT lists DOT linaro DOT org>

Please include "LSK feature request" in the Subject line.

The submission should include information to help track upstream work on the feature, in order of preference:

  1. Commit IDs from the standard kernel in the changelogs of the individual patches.
  2. A description of how the equivalent change was made upstream or why it isn't required in LSK (eg, explaining that this is taken care of by features not present in the stable kernel).
  3. References to where out of tree development is happening including contact information for followup.

This will aid ongoing maintenance of the features. Any new features should be discussed with the LSK team in advance to determine the most straightforward approach.

Features in LSK v3.18 [Feature Mode]

Feature

Upstream

ARM64 errata framework

yes, and LTS 3.18

ARM64 errata workarounds

yes, and LTS 3.18

DT files for Juno support

yes

Coresight

no

Coming soon...

KVM

yes, and LTS 3.18

IPA

yes

dm-crypt performance

yes

Getting LSK

Linaro Stable Kernel (LSK) is available in a git repository on git.linaro.org. There are branches for each flavor of the kernel:

Flavour

Kernel version

Branch

Core

v3.18

linux-linaro-lsk-v3.18 *in preview mode, targeting release 15.06*

Android

v3.18

linux-linaro-lsk-v3.18-android *in preview mode, targeting release 15.06*

RT

v3.18

linux-linaro-lsk-v3.18-rt *in preview mode, targeting release 15.06*


Posted by 쁘레드
자동차이야기2015. 5. 30. 10:11

현대자동차에 좋은 뉴스가 하나 나왔네요. 최초로 안드로이드 auto를 2015년 소나타(미국 모델)에 지원한다고 합니다. Navigation이 탑제된 모델에 한정되고 현대딜러에 방문해서 firmware를 업그레이드 받아야 하는거 같습니다. 그래도 한국 특유의 빠르게 움직이는 모습이 보여서 박수를 보내고 싶습니다.


기본적으로 현재 애플과 구글이 자동차시장에서 밀고있는 smartcar의 컨셉은 가지고 있는 스마트폰을 유무선을 통해서 자동차의 display를 통해 테더링하는 것을 말합니다. data통신과 storage는 핸드폰에서 사용하고 자동차에 있는 상대적으로 큰 화면과 speaker/마이크를 사용할수 있지요. 스마트폰에서 아주 다 잘되는 기능이라 어려울것 같지 않은데, 자동차 시장은 정말 느리게 움직입니다.


그런데 현대는 아쉽게도 뚜렷한 방향은 없고 뭐든 닥치는 대로 다하겠다는 작전이라 아직 모르겠습니다. 작년에는 애플 PlayCar를 지원한다고 했었죠. 이러다가는 애플 PlayCar+ 구글 안드로이드 + 자체 솔루션, 결국 뭐하나 잘하는것 없는 회사가 될수도 있습니다. 현대차의 점유율이나 자본력만 보더라도 하나에 집중해서 차별화에 도전하는것이 좋아보입니다. 문어발식이 아니라.



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

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

Hyundai releases first Android Auto smartphone capability to U.S. market

f you purchased a 2015 Hyundai Sonata with a factory-installed navigation system, and have a smartphone with the Android Lollipop 5.0 or higher operating system, you can integrate your car with the new Android Auto software.

Best of all, it’s free. Your local Hyundai dealer will provide a software update to your car’s existing system. It’s the first integration of a smartphone operating system—be it Android Auto or Apple’s CarPlay system—in the U.S. market by a major manufacturer.

We borrowed a 2015 Hyundai Sonata with an early-release version of Android Auto software and a Google Nexus phone to test it out. Generally speaking, the Android Auto system works well, with excellent Google Now voice controls that use natural speech. It’s easy to make and receive calls using your voice, and to compose or listen to text messages. Entering an address is just as easy—Google navigation and traffic info are intuitive. Also, the on-screen buttons and menus are large, easy to read, and straightforward to use.    

One drawback is that Android Auto operates in its own little universe. If you want to switch from listening to music on Spotify over to FM or XM, for example, you have to exit Android Auto. And it takes several steps to back out of the Android environment.

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

http://readwrite.com/2015/05/29/hyundai-and-chevy-roll-out-carplay-and-android-auto-cars

Hyundai's One


Despite GM’s bold, 14-vehicle plan, Hyundai has beaten the American car company to the punch. The Verge reported Tuesday that the first batch of 2015 Sonatas with Android Auto on board have rolled off the assembly line, and that more Hyundai vehicles would come equipped with Android Auto later in 2015. 


Interestingly, where Android Auto is absent from Chevy’s eight-inch MyLink system, so too is CarPlay missing in all of Hyundai’s offerings. 


Back in November, the South Korean auto company issued two different press releases, each claiming that it would offer versions of the 2015 Sonata with Android Auto and CarPlay. As the 2015 model year winds down, Hyundai appears to have only just now pulled off half of its claim, with no whiff of CarPlay at all. I've contacted Hyundai for more information, and will update this post if the company responds. 


Despite the excitement of seeing the software finally accelerating toward the market, the car companies' varying approaches, at least initially, may conjure more questions than answers. 


What happens if a driver buys a car with Android Auto built in, but then switches to an iPhone? If bugs force a navigation application to crash while you're en route, could that pose a safety hazard? Are there other stability or performance issues that come with, say, a Chevy MyLink system that supposedly supports both platforms?


With Hyundai and Chevy both jumping into the smart dashboard game at nearly the same time, there’s at least one question that may have an answer: How long will it take for the rest of the auto industry to follow suit? Probably not long. 


Chevrolet Android Auto and CarPlay photos courtesy of Chevrolet and General Motors; Hyundai Android Auto photo courtesy of Hyundai

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



Posted by 쁘레드
Programming2015. 5. 6. 09:27

Install Android SDK or Android Studio

http://developer.android.com/tools/studio/index.html

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

$ echo "sdk.dir=YOUR_SDK_DIR" > local.properties

You can now sync, build and install the project:

$ ./gradlew assembleDebug # assemble the debug .apk
$ ./gradlew installDebug  # install the debug .apk if you have an
                          # emulator or an Android device connected

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

Gradle?



https://gradle.org

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

gradle 특징

  • Gradle = Ant의 유연성 + Maven의 편리성을 조합해서 만든 빌드 시스템
  • 무료 (오픈 소스)
  • Java, Groovy, OSGi, 등의 프로젝트에서 빌드 관리 제공
  • API 제공
  • 확장성
  • 빌드의 구조화를 제공하고, Multi-Project 빌드를 쉽게할 수 있도록 제공
  • 다양한 방법으로 의존성 관리
  • Groovy DSL(Domain Specific Language) 기반
  • Groovy 기반으로 만들어서 Java 개발자가 쉽게 만들 수 있음 – 의존성 기반 프로그래밍을 위한 언어
  • 필요에 따라 프로그래밍 기법을 활용한 빌드 스크립트 작성
  • 빌드 스크립트는 기존 XML이 아닌 Groovy방식으로 작성
  • 필요한 빌드 로직을 조합하여 사용
  • Gradle Wrapper란 것이 있어서 실행하는 머신에 Gradle이 깔려있지 않아도 빌드 가능
  • 다른 툴과의 통합 및 Migration이 쉬움

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

Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Disk quota exceeded

        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)

        at org.gradle.wrapper.Install.createDist(Install.java:47)

        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129)

        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48)

Caused by: java.io.IOException: Disk quota exceeded

        at java.io.FileOutputStream.close0(Native Method)

        at java.io.FileOutputStream.close(FileOutputStream.java:362)

        at java.io.FilterOutputStream.close(FilterOutputStream.java:160)

        at org.gradle.wrapper.Download.downloadInternal(Download.java:77)

        at org.gradle.wrapper.Download.download(Download.java:45)

        at org.gradle.wrapper.Install$1.call(Install.java:60)

        at org.gradle.wrapper.Install$1.call(Install.java:47)

        at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)

        ... 3 more



'Programming' 카테고리의 다른 글

Busybox - Swiss Army Knife of Embedded Linux  (0) 2015.05.22
Python Web Framework - Pyramid  (0) 2015.05.14
Python REST API framework EVE  (0) 2015.05.06
Linux Kernel Upgrade  (0) 2015.05.04
ZeroMQ, ØMQ  (0) 2015.04.29
Posted by 쁘레드
IT이야기2015. 4. 16. 05:24
삼성 노트4가 아이폰 보다 램도 많고 좋은것도 많은데 윈도우쳐럼 중간중간 Sleep을 하는건지 빠르지도 않고.


5개 App 사용램만 더해보니, 364MB. 그럼 안드로이드가 2GB가량 먹고있는거야? 도대체 뭐가 먹고 있는거야?

며칠전 버라이존 노트4도 롤리팝(lollipop, lp) upgrade가 나와서 바로 update했습니다. update하자마다 카메라를 눌러 사진을 하나 찍는데 crash. 된장. 이런거 테스트도 안하나? 요즘 오픈소스로 quality를 기대한다는 것이 얼마나 어려운가에 대해서 생각하고 있습니다. 역시 모두가 다 인정하는 위대한 제품을 만들려면 open source로는 안되는 걸까요?

'IT이야기' 카테고리의 다른 글

utorrent 지우자~  (0) 2015.04.21
MP3 ID3 한글 깨지는것 - 복구는 불가능한듯  (0) 2015.04.21
Huawei P8  (0) 2015.04.16
Mobile GPU Teardowns/Benchmark  (0) 2015.04.16
Who the heck is Popcorn Time?  (0) 2015.04.15
Posted by 쁘레드