Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
odroid-c1:software:building_android [2017/08/14 16:16]
61.43.211.62 ↷ Links adapted because of a move operation
odroid-c1:software:building_android [2019/07/16 15:54] (current)
tony.hong ↷ Links adapted because of a move operation
Line 17: Line 17:
 ==== Android kitkat ==== ==== Android kitkat ====
 === 4.4.2 v3.2 == === 4.4.2 v3.2 ==
-<​code>​+<​code ​bash host>
 $ mkdir odroid-c1 $ mkdir odroid-c1
 $ cd odroid-c1 $ cd odroid-c1
Line 24: Line 24:
 </​code>​ </​code>​
 === 4.4.4 v3.3 == === 4.4.4 v3.3 ==
-<​code>​+<​code ​bash host>
 $ mkdir odroid-c1 $ mkdir odroid-c1
 $ cd odroid-c1 $ cd odroid-c1
Line 31: Line 31:
 </​code>​ </​code>​
 ==== Android lollipop ==== ==== Android lollipop ====
-<​code>​+<​code ​bash host>
 $ mkdir odroid-c1 $ mkdir odroid-c1
 $ cd odroid-c1 $ cd odroid-c1
Line 44: Line 44:
  
 ==== Android Kitkat ==== ==== Android Kitkat ====
-<​code>​+<​code ​bash host>
 $ export ARCH=arm $ export ARCH=arm
 $ export CROSS_COMPILE=arm-linux-gnueabihf- $ export CROSS_COMPILE=arm-linux-gnueabihf-
Line 57: Line 57:
  
 ==== Android Lollipop ==== ==== Android Lollipop ====
-<​code>​+<​code ​bash host>
 $ export ARCH=arm $ export ARCH=arm
 $ export CROSS_COMPILE=arm-linux-gnueabihf- $ export CROSS_COMPILE=arm-linux-gnueabihf-
Line 72: Line 72:
 ===== Download ===== ===== Download =====
 Once Android build is completed, you will have all necessary files to download into your MicroSD/​eMMC. If you already have a boot media and can switch to **fastboot** mode in U-boot, you can proceed to update while executing below commands one by one or ignore particular steps.\\ Once Android build is completed, you will have all necessary files to download into your MicroSD/​eMMC. If you already have a boot media and can switch to **fastboot** mode in U-boot, you can proceed to update while executing below commands one by one or ignore particular steps.\\
-[[getting_start:​adb_fastboot| How to use fastboot]]+[[getting_started:​adb_fastboot| How to use fastboot]]
 ==== Boot loader ==== ==== Boot loader ====
-<​code>​+<​code ​bash host>
 $ 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 ​bash host>
 $ fastboot flash dtb out/​target/​product/​odroidc/​meson8b_odroidc.dtb $ fastboot flash dtb out/​target/​product/​odroidc/​meson8b_odroidc.dtb
 $ fastboot flash boot out/​target/​product/​odroidc/​kernel $ fastboot flash boot out/​target/​product/​odroidc/​kernel
Line 86: Line 86:
  
 === KitKat === === KitKat ===
-<​code>​+<​code ​bash host>
 $ fastboot flash system out/​target/​product/​odroidc/​rootsystem.img $ fastboot flash system out/​target/​product/​odroidc/​rootsystem.img
 $ fastboot flash userdata out/​target/​product/​odroidc/​userdata.img $ fastboot flash userdata out/​target/​product/​odroidc/​userdata.img
Line 93: Line 93:
  
 === Lollipop === === Lollipop ===
-<​code>​+<​code ​bash host>
 $ fastboot flash system out/​target/​product/​odroidc/​rootsystem.img $ fastboot flash system out/​target/​product/​odroidc/​rootsystem.img
 $ fastboot flash cache out/​target/​product/​odroidc/​cache.img $ fastboot flash cache out/​target/​product/​odroidc/​cache.img
Line 101: Line 101:
  
 === Kikkat === === Kikkat ===
-<​code>​+<​code ​bash host>
 $ fastboot flash recovery out/​target/​product/​odroidc/​recovery.img $ fastboot flash recovery out/​target/​product/​odroidc/​recovery.img
 $ fastboot flash logo out/​target/​product/​odroidc/​hardkernel-720.bmp $ fastboot flash logo out/​target/​product/​odroidc/​hardkernel-720.bmp
Line 107: Line 107:
  
 === Lollipop === === Lollipop ===
-<​code>​+<​code ​bash host>
 $ fastboot flash recovery out/​target/​product/​odroidc/​recovery.img $ fastboot flash recovery out/​target/​product/​odroidc/​recovery.img
 $ fastboot flash logo out/​target/​product/​odroidc/​hardkernel-720.bmp.gz $ fastboot flash logo out/​target/​product/​odroidc/​hardkernel-720.bmp.gz
Line 116: Line 116:
 This is the same way how Hardkernel team create Android release image and most easiest way to have bootable media on your **ODROID-C1** if you proceed one more build step. This is the same way how Hardkernel team create Android release image and most easiest way to have bootable media on your **ODROID-C1** if you proceed one more build step.
 This procedure combine all required image files created by Android build into single file, **out/​target/​product/​odroidc/​selfinstall-odroidc.bin**. This procedure combine all required image files created by Android build into single file, **out/​target/​product/​odroidc/​selfinstall-odroidc.bin**.
-<​code>​+<​code ​bash host>
 $ make selfinstall $ make selfinstall
 </​code>​ </​code>​
 ==== Using Updatepackage.zip ==== ==== Using Updatepackage.zip ====
 **out/​target/​product/​odroidc/​updatepackage-odroidc-signed.zip**. **out/​target/​product/​odroidc/​updatepackage-odroidc-signed.zip**.
-<​code>​+<​code ​bash host>
 $ make updatepackage $ make updatepackage
 </​code>​ </​code>​