DHD LED - Tri-colour Confirmed - Desire HD General

Does anyone what the LED is on the DHD. It seems to display only Green or Orange.
However to display orange it means it has to have 3 primary colour LEDs in it.
Dear XXX,
Thank you for contacting HTC.
Yes,it is a tri-color LED.
We don't support any software that directly controls it.
To send a reply to this message or let me know I have successfully answered your question log in to our ContactUs site using your email address and your ticket number XXXX.
Sincerely,
Bo
HTC
Click to expand...
Click to collapse

I was wondering the same too. Any insight anyone?
Sent from my Desire HD using XDA App

Evostance said:
Does anyone what the LED is on the DHD. It seems to display only Green or Orange.
However to display orange it means it has to have 3 primary colour LEDs in it.
Click to expand...
Click to collapse
Now that you mentioned it, I'm curious.

I remember reading in another thread that the original desire has a multi colour led whereas the one on the desire hd can only do green and orange.
Sent from my Desire HD using XDA App

gamesmachine said:
I remember reading in another thread that the original desire has a multi colour led whereas the one on the desire hd can only do green and orange.
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
Its 1 LED. To make orange you need to mix colours

Perhaps the diode is Bi-color -|}-|}- can only emitting green or green and red together

boris0985 said:
Perhaps the diode is Bi-color -|}-|}- can only emitting green or green and red together
Click to expand...
Click to collapse
Yeah, so might be able to make red?
Sent from my Desire HD using XDA App

It flashes red when low on battery already))
Sent from my Ginger Garnished HTC Desire HD

It flashes red when low on battery already
Click to expand...
Click to collapse
Really? Maybe I did not pay enough attention, but I think I didn't see red on the DHD.
The directory /sys/class/leds has these sub-directories/symlinks:
amber
button-backlight
flashlight
green
keyboard-backlight
lcd-backlight
You can write a number to the brightness files therein, like
echo 1 >/sys/class/leds/amber/brightness
echo 1 >/sys/class/leds/green/brightness
Amber and green together is a bit more yellowish than amber alone.

Does that actually work?
What are you using to map to those files. I found them when using Astro but couldnt open them

Yes, it works - even without root. I used the shell. With QuickSSHd on the phone you can ssh into the phone from your PC.

I copied the files to my PC and opened them with Notepad++ but they're blank.
Am I doing something wrong?
Also, the Desire had this issue, however a college installed Handcent and it installed a blue folder into that directory...now he has a blue LED. However if he tries to make a magenta colour it wont work.
Theres something in these folders we need

Probably the programs that you are using do something wrong. I tried with Black Moon File Browser and Text Edit and it worked. I could write a 1 or 0 and save it.

elmicha said:
Probably the programs that you are using do something wrong. I tried with Black Moon File Browser and Text Edit and it worked. I could write a 1 or 0 and save it.
Click to expand...
Click to collapse
I can do that using Astro. But that either means on or off. Doesnt mean I can edit the colours
EDIT: Just realised each of those files is an RGB value...or not since they're the same in all

I'm watching this very intently because I'm astounded that HTC would include an LED with such a limited choice of colours after all their previous phones. It's one of the visual customisations you can make to your phone and I really miss my blue LED :/

Can I mod perhaps move this to the development section?

There was a great app made by britoso for the nexus one that used the led on the nexus one as a CPU usage indicator, blue low usage, green medium, yellow Med/high and red high, it was freaking amazing.... he knows everything there is to know about tweaking this.
JD
Sent from my Ginger Garnished HTC Desire HD

Evostance said:
I copied the files to my PC and opened them with Notepad++ but they're blank.
Am I doing something wrong?
Also, the Desire had this issue, however a college installed Handcent and it installed a blue folder into that directory...now he has a blue LED. However if he tries to make a magenta colour it wont work.
Theres something in these folders we need
Click to expand...
Click to collapse
Man, you can't open those file and expect to find something in it. It's not something really stored on the filesystem but sort of link to comunicate with a device (in this case the led). In UNIX (hence in linux) every device is abstracted by a filesystem object (block or character) .

smog said:
Man, you can't open those file and expect to find something in it. It's not something really stored on the filesystem but sort of link to comunicate with a device (in this case the led). In UNIX (hence in linux) every device is abstracted by a filesystem object (block or character) .
Click to expand...
Click to collapse
Actually there is something in them. The brightness files control how bright the LED is ranging from 0-255. Change the content of this file and you can change the default state of the LED.
What I think we need to be looking at is how Handcent creates a blue LED folder on the Desire Classic as this too only had a orange/green Led
Sent from my Desire HD using Tapatalk

I found that thread on the Desire forum, but what I gather from it is that they didn't create any directory or change the device drivers, but simply found the directories already being there.

Related

Camera Flash LED flashlight

Now I know this has probably been asked before and I did search but found nothing. Is there a way to programatically turn the flash LED on (at certain intensities preferably) and off, and/or for different lengths of time? This is of course for myTouch 3GS but a generic way for more compatibility would be great. Example code would be greatly helpful if you can provide some.
Sent from my ROOTED myTouch 3G Slide using XDA App
You didn't search too hard cuz there is already a thread about this in the mt3gs forum...if you search the mt3gs, well...its there...
Here ill save you the trouble...go to market and download "LED Desire Light"...
Then report this thread to the mods and have them delete it since its a useless repeat thread...you can do that by clicking the exclamation point in the top right corner of your first post...thanks.
-BMFC
I did search that forum specifically I just apparently used different terms than you. Downloading an app doesn't really help if I need code does it? Which terms did you use?
Sent from my ROOTED myTouch 3G Slide using XDA App
look for the flashlight controller device file under /sys/devices/...
from what i've seen, sending a 0, 127 or 255 to the file turns it off, on-permanently, on-for-a-short-duration respectively.
Other values may work too.
i.e echo 255 > /sys/devices/...../flashlight/brightness

[Q] LED in cm7?

Hi. I noticed that my LED doesnt flash for any type of notification. I switched ROMs today and am running cm7. Anyone else having this problem?
Doesn't work for me either
Sent from my HTC Intruder using XDA App
yeah I commented on it in the CM7 Nightlies thread
Well it doesnt blink but it stays on when the screen is locked.
.. works for me...
Signatures are fancy.
Major bug. ):
Sent from my Liberty using XDA App
Syed, these types of posts should be in the CM7 nightlies thread. We're discussing these early build issues exhaustively.
you don't need to make new threads for nightly builds of a rom. they are designed to be experimental, unsupported, use-at-your-own-risk, builds.
some helpful links...
CM7 nightly download page
CM7 nightly discussion
CM7 nightly changelog
keeping up with the above links should keep you informed with all the things going on in each nightly rom.
Hey,
I noticed one thing. I used to have LeeDroid ROM and that one allowed me to use Green, amber, blue, white and also pink LED diod. Unfortunately CM7 allows just green, amber and blue, there is also magneta and cyan shown but it does not work. Any idea??
devcager said:
Hey,
I noticed one thing. I used to have LeeDroid ROM and that one allowed me to use Green, amber, blue, white and also pink LED diod. Unfortunately CM7 allows just green, amber and blue, there is also magneta and cyan shown but it does not work. Any idea??
Click to expand...
Click to collapse
what phone are you on?
zervic said:
what phone are you on?
Click to expand...
Click to collapse
Well, being that you're in the Aria section.................
cHarley04 said:
Well, being that you're in the Aria section.................
Click to expand...
Click to collapse
He is in the wrong section as the Aria only has a red and green led. It does not have an rgb led.
cHarley04 said:
Well, being that you're in the Aria section.................
Click to expand...
Click to collapse
well, seeing that he had the "LeeDroid ROM" which doesn't exist on the Aria............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Ok question is anyone able to use HTC sync with cm7.. I was not able to get it to sync so I went back to froyo 008...
Sent from my HTC Liberty using XDA App
HTC Sync... which is owned by HTC and only works with HTC software.... does not work with original AOSP ROMs as it is not HTC.
Thanks I like CM7 but with over 400 client and personal numbers in my phone I need HTC sync. I appreciate the help though
Sent From my HTC Aria Liberty Using XDA App
A.Taylor.1920 said:
Thanks I like CM7 but with over 400 client and personal numbers in my phone I need HTC sync. I appreciate the help though
Sent From my HTC Aria Liberty Using XDA App
Click to expand...
Click to collapse
Sync your contacts with your phone using htc sync. Go get a gmail account. Turn on gmail account sync. And then all of those contacts will sync automatically to any android phone you log into. No more having to plug your phone into a computer to sync it up.
Sent from my Liberty using XDA App
Another way to do this is to export all your contacts to the SD. Then import them after the install. Worked for me when going from 2.1 stock to cm7 RC1.
"Do you mind if I turn up the AC?"
we digress..
Anyway..
=HTC Aria CM7RC1 (not Nightly)=
Everything is working great on the phone BUT I notice that the notification LED is now red-orange instead of the original green. Is there a way to customize the LED color to different notifications or even change the color for all notifications?
Its a different color for certain apps mainly it orannge but I think Facebook makes it flash green.
Signatures are fancy.

[REQUEST][Q] Customising Messages.APK

Fair warning: I'm a newb.
So basically all I'm trying to do is edit the Messages app that comes with Virtuous Unity. Have tried to do what I want but either APK Editor v0.4e genuinely won't let me do anything or I'm doing something wrong because when I try to open the APK file itself (attached) nothing happens!
I'm trying to do the following things to said app:
1. Allow messages to be sent by pressing Enter on the hard keyboard instead of inserting a new line (am using a Desire Z)
2. Change some aesthetics
a) White text on a black background at thread selection
b) Black background in a thread
c) Black background for message input (all) and contact (new message) areas
d) White text for sending, yellow for receiving
e) Remove bubbles so text takes up an entire line
f) Increase font size in a thread to 24
I know its alot to ask for (at least I think so) but can someone please do this for me or at the very least tell me where I've gone wrong?
Edit: I've added the Stock 2.2 Messages APK and also the Messages APK included in Virtuous - they're almost identical so be careful. Both use HTC Sense BTW, not sure if that's going to be a problem.
I think you can't do the first modification with apktool, because you have to change the code of the program, but if you have the source (or is this the AOSP mms app?) I can modify it to you, but as I'm not at home you have to wait until next Saturday.
Sent from my MB525 using XDA Premium App
PsHegger said:
I think you can't do the first modification with apktool, because you have to change the code of the program, but if you have the source (or is this the AOSP mms app?) I can modify it to you, but as I'm not at home you have to wait until next Saturday.
Click to expand...
Click to collapse
I honestly don't know but surely said code can be ripped from one of the G1(HTC Dream)s custom Sense ROMs?
Scythe01 said:
I honestly don't know but surely said code can be ripped from one of the G1(HTC Dream)s custom Sense ROMs?
Click to expand...
Click to collapse
If the custom rom's source is available then it's possible
Sent from my MB525 using XDA Premium App
PsHegger said:
If the custom rom's source is available then it's possible
Click to expand...
Click to collapse
Am guessing I either have to ask them directly or decompile the zip file the ROM is in and comb through it looking for what I need. :/
Bump.
Been away for abit and only just checked.
Bump.
Nobody else interested in helping?

Can you make screen flash on email ?

Can you make screen flash on email ?
At the moment I have to wakeup the Nexus 7 all the time to monitor email
You can activate notifications by sound and by flashing led. No need to unlock to see or hear. But to address your question, I don't know of any screen flashing app.
Groid said:
You can activate notifications by sound and by flashing led. No need to unlock to see or hear. But to address your question, I don't know of any screen flashing app.
Click to expand...
Click to collapse
thanks
how do I activate the LED. didn't even know there was one
colonel said:
thanks
how do I activate the LED. didn't even know there was one
Click to expand...
Click to collapse
Nexus 7 doesn't have a led notification light.
Sent from my HTC Sensation using xda app-developers app
gsmyth said:
Nexus 7 doesn't have a led notification light.
Click to expand...
Click to collapse
Oops, my bad. I'm so used to my Bionic I forget the N7 only has sound notifications. In the Gmail account settings you can set a sound notification for each message received, so you might be more likely to hear it.
Look in the apps section of xda, there are 2 apps, something like buttonled or noled. I'll post a link if I come across it again.
Here you go:
http://forum.xda-developers.com/showthread.php?t=730692&highlight=noled
Buttonled won't work with a nexus, but try noled
Sent from my Nexus 7 using Tapatalk HD
Or just try Tasker, its hard to master, but whren you do, you can do like anything you want with it

[IDEA] Extending DOT VIEW Notifications For Other Apps

We all know that HTC launched the Dot View Case along with the HTC One M8 which impressed a quiet a lot of us. But one of the drawbacks it had was the lack of support for apps other than the system apps.
Also recently Shen posted a tweet showing some progress in the right direction which definitely brought light to our hopes.
So I came across this idea which will help speed this up and could be ready in a few weeks.
My idea is to make use of an app called Dynamic Notifications which is available in the Play Store. For those who don't know, it like the Active Notification found on the Moto X.
So what we can do is replace the icons in the app with the ones similar to the Dot View icons. I have already ripped apart the Dot View App to get my hands on the font used which I have attached below. So using this font we can simple create icons like the one I have attached.
I know it would be inappropriate to modify someone else's work but we could take the permission of the developer and if possible the developer of the app could himself take this project up.
I already tried this but I am kind of novice in app modding and keep getting installation errors.
The icon which I make has white font with transparent background so you might not see the thumbnail but click on it to view it.
AshritShetty said:
We all know that HTC launched the Dot View Case along with the HTC One M8 which impressed a quiet a lot of us. But one of the drawbacks it had was the lack of support for apps other than the system apps.
Also recently Shen posted a tweet showing some progress in the right direction which definitely brought light to our hopes.
So I came across this idea which will help speed this up and could be ready in a few weeks.
My idea is to make use of an app called Dynamic Notifications which is available in the Play Store. For those who don't know, it like the Active Notification found on the Moto X.
So what we can do is replace the icons in the app with the ones similar to the Dot View icons. I have already ripped apart the Dot View App to get my hands on the font used which I have attached below. So using this font we can simple create icons like the one I have attached.
I know it would be inappropriate to modify someone else's work but we could take the permission of the developer and if possible the developer of the app could himself take this project up.
I already tried this but I am kind of novice in app modding and keep getting installation errors.
The icon which I make has white font with transparent background so you might not see the thumbnail but click on it to view it.
Click to expand...
Click to collapse
did you sign the app? that could explain the installation errors
Hi, Of interest if you install NOLed notifications app from market - which should show flashing squares on screen in stead of LED - designed for phones with no LED, but cool with this case as you should see different colours for each app - only odd side effect - it flashes time and weather when you have notifications - not its own squares - would be good if someone could code something without this side affect.
ssojyeti2 said:
did you sign the app? that could explain the installation errors
Click to expand...
Click to collapse
I used APK Manager to decompile and then recompile the .apk file. Do you know of a better way to do the same ?
kfasheldon said:
Hi, Of interest if you install NOLed notifications app from market - which should show flashing squares on screen in stead of LED - designed for phones with no LED, but cool with this case as you should see different colours for each app - only odd side effect - it flashes time and weather when you have notifications - not its own squares - would be good if someone could code something without this side affect.
Click to expand...
Click to collapse
Thanks for sharing, I will try and look into it !
Hey,
I've been trying to do the same thing. I also got stuck at resigning the app.
I'm trying to replace HTC voice assist with Google now.
The logcats implied that I needes to be signed with HTCs certificates. Does that make sense?
Any suggestions?
Sent from my HTC6525LVW using Tapatalk
Finally I was able to over come the signing problem and could get the app to install. The default size of the images used in the app was 216 X 216 which according to me was very small and the icon displayed is as shown in attachment 1.
After which i increased the size to 400 X 400 but sadly the image is now being chopped off from the sides.
This according to me is because of the image size set in the app which I don't know how to edit.
If it would be very kind if someone could help / guide me with this one.
I have also attached the .apk file if anyone is interested in looking into it
David 617 said:
Hey,
I've been trying to do the same thing. I also got stuck at resigning the app.
I'm trying to replace HTC voice assist with Google now.
The logcats implied that I needes to be signed with HTCs certificates. Does that make sense?
Any suggestions?
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
I used this app called APK Edit from the PlayStore to overcome the signature problems
David 617 said:
Hey,
I've been trying to do the same thing. I also got stuck at resigning the app.
I'm trying to replace HTC voice assist with Google now.
The logcats implied that I needes to be signed with HTCs certificates. Does that make sense?
Any suggestions?
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
If you can do this please let me know!
AshritShetty said:
I used this app called APK Edit from the PlayStore to overcome the signature problems
Click to expand...
Click to collapse
You used this - https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor ?
It seems that you can only replace the resources with this but now edit the actual code. Is that true or did I miss something?
David 617 said:
You used this - https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor ?
It seems that you can only replace the resources with this but now edit the actual code. Is that true or did I miss something?
Click to expand...
Click to collapse
Yes, its the same app.
Initially I thought the process will be as easy as replacing the images but now when I see, I need to edit the code to resize the images for which I will have to use the traditional methods like APK Manager.
But editing the code is beyond the scope of my knowledge and so will be looking forward to others.
I'm comfortable editing the code, I'm just lost as to how I repackage and replace the old apk.
Maybe if you find anything on that you can post it here and we can get to work on it together...
Thx
Sent from my HTC6525LVW using Tapatalk
When I make a apk into a signed zip I use this:
https://play.google.com/store/apps/details?id=zip.me
Don't know if it is any relevance to this thread but it's worth a try.
Sent from my HTC One_M8 using Tapatalk
David 617 said:
I'm comfortable editing the code, I'm just lost as to how I repackage and replace the old apk.
Maybe if you find anything on that you can post it here and we can get to work on it together...
Thx
Sent from my HTC6525LVW using Tapatalk
Click to expand...
Click to collapse
I hope this guide is of help to you : http://droidcandy.weebly.com/how-to-use-apk-manager.html
My upcoming Xposed module will include notifications for all apps:
(Text at the bottom auto scrolls to show all text)
And a dialer... http://i.imgur.com/0pzY76H.jpg
And music metadata/controls.
And a game of Snake, cause why not, https://twitter.com/MohammadAG/status/467642113266421760
MohammadAG said:
My upcoming Xposed module will include notifications for all apps:
(Text at the bottom auto scrolls to show all text)
And a dialer... http://i.imgur.com/0pzY76H.jpg
And music metadata/controls.
And a game of Snake, cause why not, https://twitter.com/MohammadAG/status/467642113266421760
Click to expand...
Click to collapse
This is cool!
I recognise your handle. Did you used to frequent Nokia Users forum way back when?
Sent from my HTC One_M8 using Tapatalk
Chris_c81 said:
This is cool!
I recognise your handle. Did you used to frequent Nokia Users forum way back when?
Sent from my HTC One_M8 using Tapatalk
Click to expand...
Click to collapse
NokiaUsers and talk.maemo.org
MohammadAG said:
My upcoming Xposed module will include notifications for all apps:
(Text at the bottom auto scrolls to show all text)
And a dialer... http://i.imgur.com/0pzY76H.jpg
And music metadata/controls.
And a game of Snake, cause why not, https://twitter.com/MohammadAG/status/467642113266421760
Click to expand...
Click to collapse
Awesome work my friend !
Also thank you for creating the 3 Finger Screen Lock Mod :laugh:
But wouldn't it be possible to achieve this without the need to root ? For example by modifying the Dot View App ?
AshritShetty said:
Awesome work my friend !
Also thank you for creating the 3 Finger Screen Lock Mod :laugh:
But wouldn't it be possible to achieve this without the need to root ? For example by modifying the Dot View App ?
Click to expand...
Click to collapse
As an art user I'd love this.
Sent from my 831C using XDA Free mobile app
I'm not a big fan of smali editting, especially with Dot View being a Play Store package, so no, sorry.
Sent from my HTC One_M8 using Tapatalk

Categories

Resources