Skip to content
cm7 config files for Huawei u8120
Pull request Compare This branch is even with joilaroi:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
U8120Parts
firmware
include/linux
libaudio
overlay
prebuilt
recovery
setup_fs
Android.mk
AndroidBoard.mk
AndroidProducts.mk
BoardConfig.mk
README
UsbController.cpp
device_u8120.mk
extract-files.sh
recovery.fstab
setup-makefiles.sh
system.prop
unzip-files.sh
vendorsetup.sh

README

Edit vendor/cyanogen/vendorsetup.sh to add a lunch “combo” for the U8120:
add_lunch_combo cyanogen_u8120-eng

Add a makefile for the u8120:
cp vendor/cyanogen/products/cyanogen_u8220.mk vendor/cyanogen/products/cyanogen_u8120.mk

Edit vendor/cyanogen/products/cyanogen_u8120.mk, replacing occurances of “u8220″ with “u8120″ (pay attention to case!).
Use common sense. Basically, tailor the new makefile to be U8120 specific. 
Pay specific attention to the paths to makefiles and such, as they need more intelligence than just a search/replace…

Edit vendor/cyanogen/products/AndroidProducts.mk to add the following line:
$(LOCAL_DIR)/cyanogen_u8120.mk \
This tells the build system where to find the device’s makefile.

Check out a copy of my u8120 device tree:
cd device/huawei
git clone git://github.com/joilaroi/cm7_device_u8120.git

Copy proprietary files
either by running extract-files.sh with a device connected in 
or by running unzip-files.sh with a u8160 stock rom placed in as u8120_update.zip

Set up the build environment:
. build/envsetup.sh
brunch u8120

Something went wrong with that request. Please try again.