AOKP Anyone?

Discussion in 'Xiaomi Mi 2 / Mi 2S' started by grondinm, Jul 5, 2013.

  1. Now that we have a device tree and proprietary blobs we should be able to build almost any rom(as far as i understand) So i tried to build AOKP which worked just fine to build and boot(after some modifications..see bellow) But some apps where missing. namely camera,torch and a file manager. Not sure what went wrong...

    Here is what i had to do to get it to build.

    In the local_manifest provided:

    <?xml version="1.0" encoding="UTF-8"?>
      <remote name="mitwo"
              fetch="git://" />
        <!-- CM replacements -->
      <remove-project path="hardware/qcom/audio-caf" name="CyanogenMod/android_hardware_qcom_audio-caf" />
      <remove-project path="system/core" name="CyanogenMod/android_system_core" />
      <!-- Local projects -->
      <project path="system/core" name="mitwo-dev/android_system_core" remote="mitwo" revision="cm-10.1" />
      <project path="hardware/qcom/audio-caf" name="mitwo-dev/android_hardware_qcom_audio-caf" remote="mitwo" revision="cm-10.1" />
      <!-- device -->
      <project path="device/xiaomi/aries" name="mitwo-dev/android_device_xiaomi_aries" remote="mitwo" revision="cm-10.1" />
      <!-- Vendor -->
      <project path="vendor/xiaomi" name="mitwo-dev/proprietary_vendor_xiaomi" remote="mitwo" revision="cm-10.1" />
    Had to make this change from this:
    <remove-project path="system/core" name="CyanogenMod/android_system_core" />
    to this
    <remove-project path="system/core" name="AOKP/system_core" />
    Then i had to move the file they provide in mitwo-dev/android_device_xiaomi_aries from device/xiaomi/aries/ to vendor/aokp/products/ and change this:

    PRODUCT_NAME := cm_aries
    PRODUCT_NAME := aokp_aries

    also had to pull 2 files from device as the got removed from proprietary blobs. rild and
    MSephiroth and TiKaZz like this.
  2. Alright well once again(this happens to me all to often) I realized that even tho i though i had moved the file i actually had just copied it [​IMG] not sure if that could have caused this issue but chances are it did not help...after deleting this file and doing a repo sync everything works now. Now time to read up on git and fork some repos...altho just noticed still missing Torch app...
    MSephiroth, jbrans and TiKaZz like this.