z3ntu / cyanogenmod_fairphone_fp1

Stuff for building Cyanogenmod for Fairphone
1 stars 0 forks source link

Build instructions

Note: It doesn't work yet!

Follow http://wiki.cyanogenmod.org/w/Build_for_one to get all prerequisites until: "Initialize the CyanogenMod source repository"

Download Cyanogenmod 11.0 (this will take about an hour with a decent internet connection (75 MBit/s)

Get Fairphone specific Android Kernel and Android Device: Copy local_manifest.xml from this repo into .repo/local_manifests/ (you may have to create this folder)

Now connect your device to your Computer (you need a working ADB connection)

You "should" (actually it's not good) get an error, which says that copying throttle.sh failed, if not skip the next part.

You also should get an error that a file with the name audio in the filename failed to copy. As long as there are not two of these errors it is fine.

Run vendor/cm/get-prebuilts.

Now you have to patch driver_nl80211.c. For that download driver_nl80211.patch from this repo and place it in ~/android. And then execute:

Start building (this will take a REALLY long time, probably at least 1.5 hours!)