2014년 4월 26일 토요일

gcc 4.7, g++ 4.7 install on 12.04 LTS

1. Update apt repositories

$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update

2. Check

$ sudo apt-cache search "g\+\+"

3. Install

$ sudo apt-get install gcc-4.7 g++-4.7

4. Set as a default gcc

$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.6
$ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.7 40 --slave /usr/bin/g++ g++ /usr/bin/g++-4.7
$ sudo update-alternatives --config gcc
then Select gcc-4.7

5. Confirm

dokyun@redbomb-server:~$ g++ --version
g++ (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dokyun@redbomb-server:~$



2014년 4월 15일 화요일

Cyanogenmod source code build env setup ( cm-11 )


You must setup android development enviroment before getting source code cm-11 .
Refer to
http://dokyunblog.blogspot.kr/2012/07/android-tool-chain-install.html

  • Download cyanogenmod source code

$ mkdir ~/cm-11
$ cd ~/cm-11
$ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
$ repo sync

It take over than 1 hour....keep patient
Refer to https://github.com/CyanogenMod/android/tree/cm-11.0

  • Download device specific source code

Run build enviroment setup script.
dokyun@redbomb-server:~/cm-11$ source ./build/envsetup.sh

Then execute lunch command


2014년 4월 12일 토요일

LG G Pad install stock rom


1. Go into download mode.
 Power off , push volume up/down and power button simultaniouly for a while
when it shows "dwonload mode" box on the screen,

2. go lg mobile downloda center
http://www.lgmobile.co.kr/lgmobile/front/download/retrieveDownloadMain.dev

3. follow as below

























4. Then LG Mobile Support Tool pop-up

5. Install USB driver then connect G-Pad

6. Then select 부가기능 > 업그레이드 오류복구

In my case it takes about 11 minutes...

2014년 4월 11일 금요일

LG G Pad 8.3 v50020a Custom recovery install (TWRP)


There are a lot of methos to unlock bootloader and intall custom recovery for old version of LG G Pad. I tried to those methods...but noting works

Only the below,works under v50020a, before doing this, you must root device.

http://forum.xda-developers.com/showthread.php?t=2698267

In my case, adb reboot recovery command does not works after intalling TWRP.
but I can go into custom recovery mode by key combination.

After installing , you can see below messages when it boot as recovery mode but nothing happens


Refer to below, end of this video show how to go into recovery mode by key combination after TWRP install.

http://www.youtube.com/watch?v=_tOtfF6gKkg