Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c1_building_android [2016/08/02 10:52] codewalker [Android] |
en:c1_building_android [2016/10/25 17:21] (current) codewalker [Android kitkat] |
||
---|---|---|---|
Line 15: | Line 15: | ||
This command will initiate to download Android source tree for **ODROID-C1**. | This command will initiate to download Android source tree for **ODROID-C1**. | ||
==== Android kitkat ==== | ==== Android kitkat ==== | ||
+ | === 4.4.2 v3.2 == | ||
<code> | <code> | ||
$ mkdir odroid-c1 | $ mkdir odroid-c1 | ||
$ cd odroid-c1 | $ cd odroid-c1 | ||
$ repo init -u https://github.com/hardkernel/android.git -b s805_4.4.2_master | $ repo init -u https://github.com/hardkernel/android.git -b s805_4.4.2_master | ||
+ | $ repo sync | ||
+ | </code> | ||
+ | === 4.4.4 v3.3 == | ||
+ | <code> | ||
+ | $ mkdir odroid-c1 | ||
+ | $ cd odroid-c1 | ||
+ | $ repo init -u https://github.com/hardkernel/android.git -b s805_4.4.4_master | ||
$ repo sync | $ repo sync | ||
</code> | </code> | ||
Line 65: | Line 73: | ||
==== Boot loader ==== | ==== Boot loader ==== | ||
<code> | <code> | ||
- | $ sudo fastboot flash bootloader out/target/product/odroidc/u-boot.bin | + | $ fastboot flash bootloader out/target/product/odroidc/u-boot.bin |
</code> | </code> | ||
==== Linux kernel ==== | ==== Linux kernel ==== | ||
<code> | <code> | ||
- | $ sudo fastboot flash dtb out/target/product/odroidc/meson8b_odroidc.dtb | + | $ fastboot flash dtb out/target/product/odroidc/meson8b_odroidc.dtb |
- | $ sudo fastboot flash boot out/target/product/odroidc/kernel | + | $ fastboot flash boot out/target/product/odroidc/kernel |
</code> | </code> | ||
==== Android ==== | ==== Android ==== | ||
These three files contains Linux utilities, Android frameworks and pre-installed Android applicatioins as well as necessary files to run Android. These three files will be flash into its own partition dedicated, please find [[http://odroid.com/dokuwiki/doku.php?id=en:c1_partition_table#android_partition_table|the partition table]] pre-defined for each partition's size. | These three files contains Linux utilities, Android frameworks and pre-installed Android applicatioins as well as necessary files to run Android. These three files will be flash into its own partition dedicated, please find [[http://odroid.com/dokuwiki/doku.php?id=en:c1_partition_table#android_partition_table|the partition table]] pre-defined for each partition's size. | ||
+ | |||
+ | === KitKat === | ||
<code> | <code> | ||
- | $ sudo fastboot flash system out/target/product/odroidc/rootsystem.img | + | $ fastboot flash system out/target/product/odroidc/rootsystem.img |
- | $ sudo fastboot flash userdata out/target/product/odroidc/userdata.img | + | $ fastboot flash userdata out/target/product/odroidc/userdata.img |
- | $ sudo fastboot flash cache out/target/product/odroidc/cache.img | + | $ fastboot flash cache out/target/product/odroidc/cache.img |
+ | </code> | ||
+ | |||
+ | === Lollipop === | ||
+ | <code> | ||
+ | $ fastboot flash system out/target/product/odroidc/rootsystem.img | ||
+ | $ fastboot flash cache out/target/product/odroidc/cache.img | ||
</code> | </code> | ||
==== Misc ==== | ==== Misc ==== | ||
These file are not mandatory for Android to use, but useful for further features. **recovery.img** helps you to update Android system, **ODROID-C1** use this for installatioin. **hardkernel-720.bmp** is to show a logo on your HDMI display on boot and disappear when Android display subsystem is initiated. | These file are not mandatory for Android to use, but useful for further features. **recovery.img** helps you to update Android system, **ODROID-C1** use this for installatioin. **hardkernel-720.bmp** is to show a logo on your HDMI display on boot and disappear when Android display subsystem is initiated. | ||
+ | |||
+ | === Kikkat === | ||
+ | <code> | ||
+ | $ fastboot flash recovery out/target/product/odroidc/recovery.img | ||
+ | $ fastboot flash logo out/target/product/odroidc/hardkernel-720.bmp | ||
+ | </code> | ||
+ | |||
+ | === Lollipop === | ||
<code> | <code> | ||
- | $ sudo fastboot flash recovery out/target/product/odroidc/recovery.img | + | $ fastboot flash recovery out/target/product/odroidc/recovery.img |
- | $ sudo fastboot flash logo out/target/product/odroidc/hardkernel-720.bmp | + | $ fastboot flash logo out/target/product/odroidc/hardkernel-720.bmp.gz |
</code> | </code> | ||
===== How to create Android bootable media with empty MicroSD/eMMC ===== | ===== How to create Android bootable media with empty MicroSD/eMMC ===== |