Wi-Fi working on CyanogenMod 9 on Huawei U8185

So I just got Wi-Fi working on CyanogenMod 9 on Huawei U8185: I’m using the Atheros AR6kSDK kernel driver and wpa_supplicant 0_6_X, so it’s kinda ghetto… 😉 Right now Wi-Fi scanning, WPA2, and DHCP work, but for some reason DNS isn’t working so, while you can reach hosts outside your network, you can’t actually browse… Continue reading Wi-Fi working on CyanogenMod 9 on Huawei U8185

Fix for Dalvik compile error on CyanogenMod 9

I started getting this error while compiling CyanogenMod 9 (Android 4.0.x) last week: dalvik/vm/native/dalvik_system_Zygote.cpp: In function ‘int setrlimitsFromArray(ArrayObject*)’: dalvik/vm/native/dalvik_system_Zygote.cpp:199:19: error: aggregate ‘setrlimitsFromArray(ArrayObject*)::rlimit rlim’ has incomplete type and cannot be defined struct rlimit rlim; ^ dalvik/vm/native/dalvik_system_Zygote.cpp:222:43: error: ‘setrlimit’ was not declared in this scope err = setrlimit(contents[0], &rlim); ^ make: *** [out/host/linux-x86/obj/SHARED_LIBRARIES/libdvm_intermediates/native/dalvik_system_Zygote.o] Error 1 make: ***… Continue reading Fix for Dalvik compile error on CyanogenMod 9

Hardware rendering of SurfaceFlinger on Qualcomm Adreno GPUs

When I first started porting CyanogenMod to the Huawei U8185 I was blown away by the performance of Qualcomm’s Adreno 200 GPU; paired with the Adreno 200 GPU, the U8185’s msm7225a Snapdragon architecture made for a snappy and pleasurable experience on ICS. Meanwhile, its cousin (the U8150) could barely handle its stock Android 2.2, leave… Continue reading Hardware rendering of SurfaceFlinger on Qualcomm Adreno GPUs

GPS working on Huawei U8185 on CyanogenMod 9

Thanks to the awesome work from CyanogenMod developers, bringing up Qualcomm hardware on AOSP is extremely easy; it took me all of two minutes to get GPS working on the Huawei U8185 on CyanogenMod 9. Here are the changes I had to make to get GPS working on this little handset: BoardConfig.mk # GPS BOARD_USES_QCOM_GPS… Continue reading GPS working on Huawei U8185 on CyanogenMod 9

Calls partially working on U8185 on CyanogenMod 9

I recently got GSM working on the Huawei U8185 on CyanogenMod 9. SMS, USSD, SIM Toolkit, etc were all working, but for some reason making telephone calls wasn’t; the call would initiate, crash to the home screen, and then continue in the background. During the crash the audio would route to the loudspeaker for a… Continue reading Calls partially working on U8185 on CyanogenMod 9