alanorth / android_device_huawei_u8150

Huawei IDEOS U8150 build configuration for CyanogenMod 7
9 stars 6 forks source link

Lag after using Camera or Phone applications #2

Closed alanorth closed 13 years ago

alanorth commented 13 years ago

After using the camera or phone applications the device is very laggy... turning off/on the screen fixes it. I haven't seen anything particularly telling in the logs, so I'm not sure where to start.

Could it be memory related?

LalitMaganti commented 13 years ago

It's because of sensors.default.so. It seems that it can only be taken from a very specific place. My build runs fine but once it too had the same problem.

alanorth commented 13 years ago

You mean like different stock ROMs have different sensors.default.so?

LalitMaganti commented 13 years ago

I think so. That seems to be the only explanation.

alanorth commented 13 years ago

Holy crap, you're right. I just pulled the sensors.default.so from your proprietary_vendor_huawei tree and it's lag free. That's crazy, but I'm glad.

I can't remember which stock ROM mine's from... either the Kenya Safaricom one or maybe Thailand...

LalitMaganti commented 13 years ago

I think my one was pulled all the way back from marcnvidic's build.

alanorth commented 13 years ago

Wow, that lib is much better. It's amazing... like night and day, haha.

alanorth commented 13 years ago

I'm wondering what performance differences there could be between other proprietary libs we're using, such as gralloc... I wonder if it's worth conducting a survey and comparing performance benchmarks or something?

LalitMaganti commented 13 years ago

Might be worth something. Or we could just diff the files and see if there was any differences for any of the other files.