linux:android-source-compile-galaxy-nexus
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:android-source-compile-galaxy-nexus [2012/08/08 20:37] – percy | linux:android-source-compile-galaxy-nexus [2013/08/20 14:50] – [Recovery] percy | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== Google Official build guide ===== | ===== Google Official build guide ===== | ||
- | https:// | + | - https:// |
- | https:// | + | |
- | http:// | + | |
===== jdk1.6: ===== | ===== jdk1.6: ===== | ||
Line 13: | Line 13: | ||
http:// | http:// | ||
+ | Download it and move to /opt: | ||
+ | chmod +x jdk-6u31-linux-x64.bin | ||
+ | ./ | ||
+ | After install, | ||
+ | export JAVA_HOME=/ | ||
+ | export JRE_HOME=/ | ||
+ | export CLASSPATH=.: | ||
+ | export PATH=$JAVA_HOME/ | ||
+ | Use java -version to check it is correct: | ||
+ | < | ||
+ | java version " | ||
+ | Java(TM) SE Runtime Environment (build 1.6.0_31-b04) | ||
+ | Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) | ||
+ | </ | ||
===== VirtualBox Share: ===== | ===== VirtualBox Share: ===== | ||
Line 28: | Line 41: | ||
| | ||
+ | ===== ClockworkMod Recovery ===== | ||
+ | Download recovery here: | ||
+ | http:// | ||
+ | |||
+ | http:// | ||
+ | |||
+ | fastboot flash recovery recovery-clockwork-6.0.1.0-maguro.img | ||
+ | |||
+ | ===== Install su/ | ||
+ | |||
+ | < | ||
+ | adb root | ||
+ | adb remount | ||
+ | adb push su /system/bin | ||
+ | adb push Superuser.apk /system/app | ||
+ | adb shell chmod 06755 / | ||
+ | adb shell chmod 06755 / | ||
+ | </ | ||
+ | ===== Enter fastboot mode ===== | ||
+ | |||
+ | Volume UP+DOWN+Power | ||
+ | |||
+ | ===== gapps download ===== | ||
+ | http:// | ||
+ | |||
+ | jb: | ||
+ | ===== fastboot ===== | ||
+ | USAGE: | ||
+ | |||
+ | 1. fastboot flash system system.img | ||
+ | 2. fastboot flash boot boot.img | ||
+ | 3. fastboot -w | ||
+ | NOTICE:it will format the sdcard,so need backup the data on sdcard first. | ||
+ | |||
+ | |||
+ | ===== Recovery ===== | ||
+ | fastboot flash recovery recovery-clockwork-6.0.1.0-maguro.img | ||
+ | |||
+ | Root step: | ||
+ | 1.boot to fastboot mode. | ||
+ | 2.flash the recovery | ||
+ | 3.push su& | ||
+ | 4.reboot. | ||
| | ||
+ | Now use SuperSU to manager the root list: | ||
| | ||
+ | http:// | ||
+ | |||
+ | NOTICE: |
/var/www/dokuwiki/wiki/data/pages/linux/android-source-compile-galaxy-nexus.txt · Last modified: 2016/05/05 13:07 by 127.0.0.1