intermediaterepresentation / android_device_htc_endeavor

HTC Endeavor device
18 stars 24 forks source link

Led strange behaviour on #36 #35

Closed lrbpereira closed 12 years ago

lrbpereira commented 12 years ago

Can't get my led to work normally.

In the charge works fine ... Colour Red...

But in the text and call the led doesn't light up. And before it worked but the colour was of... Green instead of red or orange...

tgascoigne commented 12 years ago

Yeah, I know what's wrong. Fixing this up now..

lrbpereira commented 12 years ago

Many thanks:)

If you can post tbe fix on xda? And merge it on :)

tgascoigne commented 12 years ago

I wont bother putting the fix on xda since it's pretty minor, but so long as it gets merged in time it should be in the next build. If you'd like I'll upload the lib here so you can push it yourself.

lrbpereira commented 12 years ago

Would be nice to do so :)

tgascoigne commented 12 years ago

I've uploaded a zip containing the fixed lights.tegra.so here. It's not a flashable zip, you'll have to push the lib inside to /system/lib/hw/ :)

lrbpereira commented 12 years ago

Stupid question, first time here. How toI Download the lib?

lrbpereira commented 12 years ago

Sorry, didn't saw this last post. Many thanks

lrbpereira commented 12 years ago

It doesn't work! Screw my auto brightness to max... All the time??

tgascoigne commented 12 years ago

argh, really? Let me have a bit of a play around..

edit: Are you sure you flashed it correctly? You should be doing something like adb push lights.tegra.so /system/lib/hw/

When I pushed that .so to my device it works perfectly

lrbpereira commented 12 years ago

Im moving it using rootexplorer... Not on my pc atm...

Get full brightness and can't lower it... Get also no backlight on the keys and erratic led function...

tgascoigne commented 12 years ago

Yeah, you'll get those symptoms if it can't find the library

lrbpereira commented 12 years ago

Well but with rootexplorer you can, no diference btw that and adb...

tgascoigne commented 12 years ago

Perhaps it hasn't set the permissions up properly. Are you positive a /system/lib/hw/lights.tegra.so file exists?

tgascoigne commented 12 years ago

Try flashing this via recovery instead: http://tom.gascoigne.me/lights_fix_flashable.zip

lrbpereira commented 12 years ago

Nice, out works! Strang thing really! With root explorer it shoulded work...

Very grateful.

SMS notification binks green, is that the proper couloir?

Cheers

ChillingSilence commented 12 years ago

Also, doesn't seem to blink while in deep-sleep? Running new factory reset Build 38.

tgascoigne commented 12 years ago

This was fixed in pull request 34, any other problems can go in a new issue