yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] piopawlu:
icnot - source code

Here is the source code.. It's a bit messy, because it's just a temporary solution.. I am writing a proxy driver for allledmgr.. so that I can see what way the bluetooth and battery drivers control the blue/red leds..

However I do not have much time now.. as I am working as a trainee in UK :/

Feel free to modify this source code, and post here if you have written anything nice and useful :)
[Windows Mobile Development and Hacking General] jbstix:
I see no one has been here in a while... but I just have a simple question.

Can I use this app, to Enable my LED on my Treo 750 to blink green while in Service? I know it will blink Red when no service.

Man, this would be very cool to enable this on my phone.

I just upgraded to the 750, and used a 650 for over a year and got use to the Blinking LED.

I tried the hermled.exe(Demo) and it worked fine, I just need to know how to enable the LED.

Thanks for the help and the cool app!!!

Thanks for the help!!! a
[Windows Mobile Development and Hacking General] icemantwilight:
Any updates on this? I'm keen to do things like strobe the LED's on incoming calls. Is it possible to hook that?
[Windows Mobile Development and Hacking General] saumaun:
I have to say, that would be the SH!T

If anyone could do that for the mogul i will bow down before you!
[Windows Mobile Development and Hacking General] mrmrmrmr:
piopawlu,

thanks for making this out and publishing the source code.

I am trying to write an application which could make notifications with LEDs.

unfortunately I am just using Visual Studio and don't know low level coding.

I write apps in C#.

Could you please tell me how to use your cpp code in my C# app ?
[Windows Mobile Development and Hacking General] mrmrmrmr:
I think I made it.

I created a wm6 dll in c++ with your code. (dll attached to this post)

Then I imported that dll in my c# source.

Here's how I call the funciton in c++ dll:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace ledcontrol
{
public partial class Form1 : Form
{
[DllImport("hermesleddrv.dll")]
public static extern void sethermled(int led, int state);
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
sethermled (1,1);
}
}
}

now, I couldn't figure out how to call your function "setled" for different leds.

in your code, you have this line:

typedef enum teLEDS{LED_RED, LED_GREEN, LED_BLUE, LED_L_GREEN, LED_AMBER}eLED;

But I didn't understand the integer values for different leds.
[Windows Mobile Development and Hacking General] mrmrmrmr:
my application to control leds

Here is my application to control leds of HTC Hermes.

With one of the exe you can turn on/off any of the leds in any color.

The other one is a background application which will blink leds in different colors.
[Windows Mobile Development and Hacking General] belinea:
Cool app. Thanks for working on it!

Can you implement the feature to add paramters to the cmd tool.

Like:

ledcontrol.exe /blue /red --> light up the blue an red LED

ledcontrol.exe /red blink 100 --> blink red LED in 100ms intervall
[Windows Mobile Development and Hacking General] mrmrmrmr:
I can do that but piopawlo had already posted an app which runs like that.

did you check it ?
[Windows Mobile Development and Hacking General] belinea:
I know. But the version has bugs and I thougt you have rewritten some parts of the code from piopawlo.
[Windows Mobile Development and Hacking General] mrmrmrmr:
what problems did you have with that ?
[Windows Mobile Development and Hacking General] NP9660:
Works your app also on Artemis ? Thnx in advance
[Windows Mobile Development and Hacking General] belinea:
Can someone port the C++ sample code below from is mrmrmrmrsample into Visual Basic?

I have tried this:

Public Declare Function sethermled Lib "hermesleddrv.dll" (ByVal led As Integer, ByVal state As Integer)

and call it with:

sethermled(1,1)

But it aborts with a error message.
[Windows Mobile Development and Hacking General] mrmrmrmr:
which dll are you using ?

in my first post I sent a hermesleddrv.dll which requires 2 integers as arguments.

but if you are using the hermesleddrv.dll from the cab file you will have to give 1 string and 1 integer values as parameter.

first parameter is led color (string)

possible values:

"rred" : right red led

"rgreen" : right green led

"lgreen" : left green led

"lblue" : left blue led

"rorange" : right orange led

second parameter is:

1 : led on

0 : led off
[Windows Mobile Development and Hacking General] belinea:
Thanks for the hint.

I have tried the second DLL now. But it quits with "NotSupportedException"

Load DLL with

Set a LED with

I think a made a mistke in the Public Declare Function.
[Windows Mobile Development and Hacking General] belinea:
I got it. Here is the correct code for Visual Basic:

Set the led with

mrmrmrmr: Many thanks for providing this DLL.

Can you implement a "blink" to your hermleddrv.dll? Like

led([color], [0,1], [blink_length ms], [interval ms)

?
[Windows Mobile Development and Hacking General] mrmrmrmr:
I will try to do that.

But to make the blink intervals reasonable, I have to put threading functions in the dll.

However, I know a little about C++ coding and I have to learn threading.

I will try it when I'm home.
[Windows Mobile Development and Hacking General] belinea:
There is a little problem with controling the LEDs.

After using the DLL the system cannot drive the LEDs anymore.

- Bluetooth on --> normal LED is flashing blue --> no fuction after HERMLED DLL

- WLAN on --> normal LED is flashing green --> no function after HERMLED DLL

- new SMS, MMS, or eMail --> normal LED is flashing amber --> no function after using HERMLED DLL
[Windows Mobile Development and Hacking General] twolf:
this is a nice app, working ok in my magician, but how can i stop the rainbow led blink application? can I use something like ledcontrol.exe /off in a shortcut?

thanks for the application :D
[Windows Mobile Development and Hacking General] mrmrmrmr:
well it's a process running at the background. the only way to stop it is killing the process through some task manager.

maybe I could write some function to kill the process when the exe is run again.

but I don't know how I can do that.

if a good developer show me how to do that, I can implement it.

otherwise, it has to wait till I learn how to do it.
[Windows Mobile Development and Hacking General] mrmrmrmr:
I also noticed that. But it seems as a normal behaviour.

We are forcing the led to act as different.

After some time (like 5 minutes) the leds turn to normal behaviour.

Btw, do you still need implementation of blink feature to the DLL ?

After thinking a little, I realized that blink function should be implemented in the main application, not the DLL.

Because, blinking is actually making the led turn on , waiting for the interval and then making the led turn off , then wait for the interval.

So you can call the DLL several times for turning on and off from your application. (actually I did it in my main application)

If I implement blinking in the DLL, you won't be able to stop it because once you call the DLL function it will go on until you kill that thread. Not a good idea.
[Windows Mobile Development and Hacking General] twolf:
the problem is that nothing shows up in the task manager to kill...i have to reset the phone in order to make the (strangely appropriate for christmas) blinking lights to stop.

:)
[Windows Mobile Development and Hacking General] skandler:
But the amber notification function (right amber LED on new message or event notification) doesn´t works after 5 minutes. The right LED is blinking green only. Can you confirm this behaviour?

Ok, i will do this.
[Windows Mobile Development and Hacking General] mrmrmrmr:
well, to see the exe running you have to use an advanced task manager.

I an recommend "Task Manager v2.8" by FdcSoft

it's freeware and you can find it here:

http://www.dotfred.net/

Btw, I am still working on an option to stop the lights when the exe is run second time.

But it might take some time.
[Windows Mobile Development and Hacking General] twolf:
thank you very much, ill wait for your solution then, no hurries...

maybe i can find a way to link it to the 'phone ringing' function.

:D
[Windows Mobile Development and Hacking General] mrmrmrmr:
well then...

a surprise for you !

attached ringingleds app will do what you want.

of course you'll need the hermesleddrv.dll that was previously posted.

if you want this feature activated on startup just put it in the startup folder.

I can also create an installation cab which would place the app on startup if anyone wants...

thanks for your idea :)
[Windows Mobile Development and Hacking General] twolf:
I appreciate the effort, but id doesnt work on wm2003... :(

It gives an error and the leds dont blink anymore, until I reset the device.
[Windows Mobile Development and Hacking General] elFahd:
im very sorry how can i install this on my prophet?

i really have no idea
[Windows Mobile Development and Hacking General] belinea:
There is another issue: The right LED goes off when the device goes into standby. :(

The left one is lighten up fine, even the device is in standby.
[Windows Mobile Development and Hacking General] mrmrmrmr:
wm2003 ?

the app is meant to work for HTC Hermes. So you should be using at least WM5 or WM6

why wm2003 ?
[Windows Mobile Development and Hacking General] mrmrmrmr:
I am not sure if it will work on Prophet. But you can try it if your device has 2 leds.

just put the exe and the dll files on the same directory and start the exe from file explorer.

when you receive an incoming call the leds should start blinking.

I will create an installer later but I noticed some bugs on the app. So I just have to fix them first.
[Windows Mobile Development and Hacking General] twolf:
I have a Magician, I know I wasnt supose to use this tool, because it was made for a diferente PPC, but the previous EXE worked fine in wm2003, hehehe

:D

The only diference was that the magician only has one green led, other than that, all worked fine in it (in the previous EXE, not this one).
[Windows Mobile Development and Hacking General] mrmrmrmr:
unfortunately, the latest exe has some sstem state checks which use the WM6 SDK procedures. This is how it detects incoming call.

so it won't run on your device; I am sorry.
[Windows Mobile Development and Hacking General] mrmrmrmr:
Hermes users,

this new exe has some fixes. Please use it and let me know any problems you come acrosss.
[Windows Mobile Development and Hacking General] twolf:
no problem, but is it possible to just give me the old ledcontrol.exe but with a close option? (or close on double open)

pretty please?

:D
[Windows Mobile Development and Hacking General] Altuswire:
I believe I read this quest early on in this post, but curious can this also be done on a device with 1 LED (Samsung SGH-i617, WM6 Standard)?

Also read originally individual was willing to donate to the developer :) Likewise here, if it can. LED is severely lacking; solid red (charge), green (done), flash blue (bluetooth), magenta (data access, missed call, sms)

Problem is for a missed call etc, it blinks for about 10 sec then stops. The whole point {my opinion} for having the notification is knowing something needs attention on the phone without having to actually check the screen.

There are currently no options that are setable that I can see to control this feature, nor have I been able to locate the proper key in the registry that has any effect. I have seen through post there are similar programs for the Kaiser, would love to see something like it for this device.
[Windows Mobile Development and Hacking General] mrmrmrmr:
it should be possible to control one-led device's led.

but to do that you need to know how it's led device is controlled.
[Windows Mobile Development and Hacking General] Altuswire:
Looking around in the registry I found the following (going on the presumption it's a driver)

HKLM\Drivers\BuiltIn\NLed

Dll - nleddrvr.dll

There are other references to the LED located throughout the registry.
[Windows Mobile Development and Hacking General] mrmrmrmr:
good.

now you have to find how this dll is controlled. I mean, which procedures does it include and how you call them from an application.
[Windows Mobile Development and Hacking General] Altuswire:
Sorry, way over my head. Was just reading on here that it had been done for another device was curious about a newer device. I've looked all over for possibly registry fixes etc. So this post caught my eye
[Windows Mobile Development and Hacking General] dechutes:
I have a Sprint Mogul and I am trying to use Hermled to disable all my led's all the time. It works great when I run it and stops all the lights, but when I put the phone to sleep the green service light starts blinking agian. Anyone know how to fix this?
[Windows Mobile Development and Hacking General] nonegiven:
use LED killer instead of hermled
[Windows Mobile Development and Hacking General] jma306:
Google-stop the blinking LED.
[Windows Mobile Development and Hacking General] dechutes:
led killer doesn't turn off the bluetooth light and it doesn't keep the right led off during charging. Is there no way to make hermled work for the mogul?
[Windows Mobile Development and Hacking General] Madremiha:
hi everybody i have the htc elf and i really would like to change the blinking led permanent in blue. maybe in editing the htc_lib.dll which is in registry "builtin nled". someone know how to procede? thanks by advance!! sorry for my english i'm french.
[Windows Mobile Development and Hacking General] no2chem:
j'ai deja fait un programme pour cet effet, regarde : http://xdaforums.com/showthread.php?t=371391

pardon mon francais,

je suis americain =p
[Windows Mobile Development and Hacking General] uiskibum:
Check out NueLED http://www.1800pocketpc.com/tag/nueled. On my 8525(Hermes) i was able to set the bluetooth led as my blinking status led. I may work for some of you or it may not.
[Windows Mobile Development and Hacking General] Altuswire:
Is it possible to have the blue charge light on a Motorola Q do anything for message notifications and such? Would be nice, obviously, if it would flash on a missed call or message.
[Windows Mobile Development and Hacking General] Greg.Bucci:
SetLED

I tried using the SetLED function but once I call this function the LED is permanently on or off.

For example, if I call SetLED(LED_BLUE, LED_ON) then whether or not bluetooth is on the blue LED will blink (perfect). Then if I call SetLED(LED_BLUE, LED_OFF) the LED goes off (again perfect) but at this point if I actually turn bluetooth on I would expect the blue LED to work again but it doesnt. Likewise, if I set it on while bluetooth is on, and then turn bluetooth off, I would expect the LED to go off without having to call set off.

Is there any way to get it back to "normal" mode? (I waited the 5 min but it doesn't resume normal operations... I even waited an hour. Only a soft reset seems to let the system take control again.)
[Windows Mobile Development and Hacking General] tft:
im surprised no one created a real program with options.

while the LED might seem useless it's can be useful if you're creative ;)

i have a touch which has two LEDs.

would be cool to simultaneously blink both LED on incoming call/message

something like:

simultaneously blink amber+red on messages

simultaneously blink blue+red on incoming call

blink red when no service

.. and perhaps some options to vibrate/pulse for sms messages.

i'll make a generous contribution to anyone that can whip something up.
[Windows Mobile Development and Hacking General] Katos:
Hack led on eten x500, x500+, x800

Hi guys,

Can you help us to control LEDs on eten devices.

There is no AllLedMgr in registers,

only \NLed\dll nleddrvr.dll 6472 byte

and \GSMLED\dll spkphn.dll

All necessary information I will provide you.

Thanks a lot.

Katos

PS:

nueLED, Hermes don't work!!!
[Windows Mobile Development and Hacking General] zeruzzer:
very interested in this topic...

got an acer n310 (wm6.1) - any chance to reassign my leds??

thank you
[Windows Mobile Development and Hacking General] fischtoeter:
Hi all,

the programm is runnung fine , but: after some time (2 or 3 minutes) the LED simply turns off. No more notification at all.

Can you please help me out ?

regards

Thomas
[Droid RAZR M Q&A, Help & Troubleshooting] xKroniK13x:
Recently, my device is having some issues with the aux. port on top of the phone: it will play fine, however, if I move the phone (or even hit a bump in the car) the music will stop like I unplugged the cable. I then have to hit resume on Pandora. This happens on all music apps and with any aux cable. So question... Is the aux. port soldered to the main board? If so, how difficult of a repair is this typically? Or has anyone else had this? I can suck it up if I need to until I get a new device, but I'm not scared to do some hardware repair!

Sent from my RAZR M from Tapatalk Pro.
[Droid RAZR M Q&A, Help & Troubleshooting] radiopayola:
I've had this issue ever since buying my phone used and have gotten used to it. Try a different 3.5 cable. I picked up some flat cables from Amazon, and while they looked neat, they were terrible for this problem.
[ONE Q&A, Help & Troubleshooting] Thymo:
What's up guys,

So i'm having an issue with my gallery crashing every time i reboot untill i go into CM's file manager go to system/app and install the .apk again.

Problem started after i updated to 38R and persisted to 44S.

Any idea how to fix this?

I captured a logcat with the error message so you can take a look.

http://pastebin.com/AAZP0uGg
[ONE Q&A, Help & Troubleshooting] Thymo:
bump
[ONE Q&A, Help & Troubleshooting] Thymo:
another bump.

Could someone atleast give a suggestion on what might be the problem??
[ONE Q&A, Help & Troubleshooting] Thymo:
Does anyone even read this? bump

It's giving me a RuntimeException.

"E/AndroidRuntime( 4503): java.lang.RuntimeException: Unable to get provider com.cyngn.gallerynext.common.BeamProvider: java.lang.ClassNotFoundException: Didn't find class "com.cyngn.gallerynext.common.BeamProvider" on path: DexPathList[[zip file "/system/framework/com.google.android.media.effects.jar", zip file "/system/app/GalleryNext.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]"
[ONE Q&A, Help & Troubleshooting] Heisenberg:
Of course people have read it. Perhaps nobody knows what's causing your problem or how to fix it. We can't just expect answers to every question we ask.

Transmitted via Bacon
[ONE Q&A, Help & Troubleshooting] Thymo:
Ok. Managed to fix it. Here's how i did it:

Started by just going to /system/app and installing GalleryNext.apk to the /data partition.

After that when it was working again i went into Titanium Backup and to the Gallery app. (Which now shows "(updated)" next to it).

Long press that and select "Integrate update into ROM."

Reboot and the issue is resolved. :victory:
[General Topics] dreamwave:
Here are all the Cyanogenmod 12 apps (lollipop) that I was able to build. I hope it works for everyone!

Just a word of warning, the zip file currently doesn't seem to play nicely with ES and it's extraction and viewing techniques, but if you extract with ARK in ubuntu then push the files over it works perfectly

(zip currently uploading in drive, I'll upload a folder too but my upload speed on fairpoint is awful...about 500 kilobits/s at most)

EDIT: zip file here: https://drive.google.com/file/d/0BxwYn8K9RD7ZOUlWMmpXQXVRMkk/view?usp=sharing

folder in the works

EDIT 2: folder here, apps being uploaded: https://drive.google.com/folderview?id=0BxwYn8K9RD7ZRDN2bFdhd3E2UFk&usp=sharing
[General Topics] dreamwave:
bump/apps updated with latest source
[General Topics] emoboy (Official Name!):
lol ! AWESOME:p
[General Topics] adithya2306:
Thanks a lot!!!!
[XDA Assist] :
Can i use g2tweaksbox on g3 for g flex lockscreen.if it can make any harm please tell me or please give me the apk for g flex lockscreensetting. Help me.
[XDA Assist] :
Flashing anything not made for your specific device usually leads to issues or even a bricked device. ?
[Huawei MediaPad, T-Mobile SpringBoard] Z e k:
Hi,

where to find ( if exist ) EMUI 3.0 for mediapad 7D-501L ( internationnal version with full 4G support ) ?

if i flash a 503 version, did i lost 800mhz 4G frequency ? can back to 501L rom ?

actualy , i am on 7D-501LV100R001C136B001 ( android 4.2.2 , emui 2.0 , 320dpi ) , and software update say no update available ....

and other question, did u think that we cans have lollipop one day ? or huawei totaly forget their users ?

(sorry for my english)
[Huawei MediaPad, T-Mobile SpringBoard] potatohead:
as of now, EMUI 3.0 roms for 501u and 503L are still in beta (in China), if all go well, the final versions will be released to public end of Dec 14 or early 15.

my guess is once the EMUI 3.0 roms for 501u and 503L are released, 501L's will follow closely as they are near clones of each other (with the addition of google services and different radio firmware in 501L); I simply don't see Huawei intentionally antagonizing the rest of the market outside China when only a little additional work over and above what they have already put in is required.

stay tuned to Huawei Deutsche / Taiwan / HongKong websites for latest info.
[Sprint Samsung Galaxy S III] metalhead131:
My Samsung Galaxy S3, which I got last April, came to me from Virgin Mobile (same model as Sprint) running Samsung's build of 4.1.2. When the update came, I upgraded to 4.4.2, rooted, and eventually flashes Philz and CarbonROM. My knox has been tripped. Can anyone tell me what update the Knox bootloader came with, and why I can't revert to it? I believe it came with the 4.4.2 update, but I'm not totally sure. So, why can't I revert to a Knox free build and bootloader? I have read that it causes a brick, but how and why can't I simply get rid of the Knox bootloader by flashing over it and going back to stock 4.1.2? Any help is appreciated.
[Sprint Samsung Galaxy S III] mattzeller:
It's a efuse, so if you try to revert to pre-knox it trips the efuse and bricks. Knox is geared towards enterprise and, I would guess, government users as a security measure. Unless it is going back to Samsung you don't need to worry about Knox being tripped.
[Sprint Samsung Galaxy S III] metalhead131:
Thanks. Can you tell me what an efuse is, and what it has done to brick the device? What part bricks it, and why can't you get rid of whatever bricks it? I viewed a YouTube video where someone did it on a note 3. Sorry for the noob questions.

Is it possible to format everything and force updates to whatever partition particular items are in? Thanks. It probably won't go to Samsung ever.
[Sprint Samsung Galaxy S III] mattzeller:
Here's a pretty good article about it:

http://omegadroid.co/wanted-knox-void-warranty-0x1/
[Sprint Samsung Galaxy S III] CNexus:
http://xdaforums.com/showthread.php?t=2541343

In short, it's not possible because the system physically breaks something inside your device and uses that as a flag for whether you have tripped Knox or not

You brick when you try to downgrade because low level parts of the system besides the bootloader get flashed properly, but when it gets to the bootloader Knox tells it that it can't be flashed so it will fail there. From there, you are stuck with a system that is running two sets of incompatible low-level firmware and so the phone refuses to boot in a mixed state such as that