LED in Lumia 930? - Windows Phone 8 Q&A, Help & Troubleshooting

So, recently I played with Cfgmgr library. According to Windows Sysdev, LED GUID is
Code:
DEFINE_GUID (HWN_DEVINTERFACE_NLED,0x6b2a25e2, 0xaaf5, 0x482c, 0x99, 0xa5, 0x62, 0x05, 0xcd, 0xcc, 0x17, 0x6a);
I used a CM_Get_Device_Interface_List function to check it and function found this: \\\\?\\ACPI#QCOM0D50#0#{6b2a25e2-aaf5-482c-99a5-6205cdcc176a}, which according to registry is LED notification device. So, does LED really exists or this is just a generic driver?
And if it really exist, I just need a working CreateFile and DeviceIoControl functions.
What do you think guys?

lukjok said:
So, recently I played with Cfgmgr library. According to Windows Sysdev, LED GUID is
Code:
DEFINE_GUID (HWN_DEVINTERFACE_NLED,0x6b2a25e2, 0xaaf5, 0x482c, 0x99, 0xa5, 0x62, 0x05, 0xcd, 0xcc, 0x17, 0x6a);
I used a CM_Get_Device_Interface_List function to check it and function found this: \\\\?\\ACPI#QCOM0D50#0#{6b2a25e2-aaf5-482c-99a5-6205cdcc176a}, which according to registry is LED notification device. So, does LED really exists or this is just a generic driver?
And if it really exist, I just need a working CreateFile and DeviceIoControl functions.
What do you think guys?
Click to expand...
Click to collapse
Lumia 930 have notification LED but it`s not active.. They were rumours about enabling it in win10

yzmaster said:
Lumia 930 have notification LED but it`s not active.. They were rumours about enabling it in win10
Click to expand...
Click to collapse
I could try to enable it, but I facing lot's of restrictions and permission errors.

Related

Scrolling trhough lists (e.g. Contacts) with GSensor

Hi all,
i just played a bit with the GSesnor SDK and i got a nice idea for a good extension to the Diamond:
An application which lets you scroll up/down through lists by tilting your diamond.
I got a little Test app working with the GSensor SDK, but i couldn't figure out yet how to bring windows mobile to scroll up or down in the active control.
Does anyone have an idea for this?
Btw: i am using C#/Compact Framework 3.5
I think this would be a great thing for the diamond since i do not realy like scrolling though lists with my fingers/pencil...
Thanks for any help and suggestions!
Little late to the Party Juniaaaaa LINK
Sergio PC said:
Little late to the Party Juniaaaaa LINK
Click to expand...
Click to collapse
Thanks for the Info.
But as AFAIK there is also just the idea for it but also no solution.
So still:
If anyone know an hint for my question i will be very grateful.
Using unmanaged keybd_event function you can send up and down keystrokes to the the active window.
VOID keybd_event( BYTE bVk,
BYTE bScan,
DWORD dwFlags,
DWORD dwExtraInfo
);
[DllImport("coredll")]
extern static void keybd_event(byte virtualKey, byte scanCode, uint flags, uint extraInfo);
You'll need to look up the virtual key code values, and the value of KEYEVENTF_KEYUP to make it work. Just create an unmanaged smart device project and set the values to a variable that you can inspect...

Starting to code for Windows Phone 8

Hi there,
I would like to start coding for WP8 - however, there are no books yet. That is why I just installed VS Express 2012 for Windows Phone and try to make a flashlight app which just has one button that switches on or off the led of my Lumia 920. I know how to make button, but I don't find any code that shows how to use the flashlight...
Can you please help me...?
For managing the flashlight use the camera api, I think.
There is no book for WP8 yet (or not? ), but you can easliy teach on the WP7.5, because it's a subset of WP8 API. For the rest use MSDN or even the Object Browser.
Why do you need a book? You can download documentation from visual studio or use msdn.
mcosmin222 said:
Why do you need a book? You can download documentation from visual studio or use msdn.
Click to expand...
Click to collapse
Of course you can do this. But it's much easier to learn using book thank msdn+ google. Especially if you haven't used silverlight\wpf before.
Try this, it is for Windows Phone 7 but it's free!
http://blogs.msdn.com/b/microsoft_p...mming-windows-phone-7-by-charles-petzold.aspx
There's a book from Microsoft Press called "Windows Phone 8 Development Internals", I've recently started reading it and it seems like a good one.
http://blogs.msdn.com/b/microsoft_p...opment-internals-preview-1-available-now.aspx
ap3rus said:
There's a book from Microsoft Press called "Windows Phone 8 Development Internals", I've recently started reading it and it seems like a good one.
http://blogs.msdn.com/b/microsoft_p...opment-internals-preview-1-available-now.aspx
Click to expand...
Click to collapse
Thanks for this

[Q] How can i receive the hardware key button event On Windows phone 8 App?

How can i receive the hardware key button event On Windows phone 8 App?
I have many problem,
I developed the WP8 App in the WP Device OEM Manufacturers.
So I can access to "OS, Device Driver, App".
But there are various MS documents, By First Time,
The developement is too hard.
The WP 8 is available features are very limited. The Windows CE / WM is a very different behavior.
I want to access the OS Layer by the API (Funtion)
Back button : Success. I found this key event.
Home button : ??? (I don't know)
Search button : ??? (I don't know)
Volume Up / Down : Just working volume.
Camera Key : Can i change the default camera app?
Power Key : Can i optionally lock the power key?
OEM Key (Barcode Key) : Push the button, I want to execute the My App?
Have you ever used these methods can I?
- Named Event
- SendMessage / PostMessage
- Other Communication
I guess the Key-Point "How can i communicate Device driver <-> App"
I am studying now the following Function.
- Service Agent
- IPC
Please help me any infomation the you think good... Have a nice day.
Whoa... you're writing a driver for WP8 and trying to have it talk to an app? Or are you writing an app that you want to have talk to some existing driver? Sorry, it's not really clear.
From an app, itself, there's no public API to see any hardware button keypress except Back, maybe Focus (half-press on camera), and maybe Shutter (full-press on camera). The OS handles everything, and intentionally doesn't let apps interfere.
Now, if you're writing something that isn't a traditional "app" - for example, if you're an OEM - then that's a different story.
I will study the more infomation on side by WP8 OS Driver.
Thanks a lot for your comment.
I will be studying the more knowledge from WP8 OS Position.
and I will share the more good information.
[1st Goal]
1. Click the HW key button (OEM Button).
2. The device driver will catch the HW key intrrupt (Event).
3. [It is not clear] And Set the event.
4. [It is not clear] If i can use the native code like a Win32 API, I use it or other api.
5. If i can the catching The event notification, Do Sometiong!!!
A) Execute the alternertive App.
B) Work the Something on the background App(Service).
GoodDayToDie said:
Whoa...
you're writing a driver for WP8 and trying to have it talk to an app?
-> this is the other engineer's task.
Or are you writing an app that you want to have talk to some existing driver?
-> this is my task. But we are on Team. So we are being cross-checked.
Sorry, it's not really clear.
From an app, itself
, there's no public API to see any hardware button keypress except Back
-> I could catched by the below method.
protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
, maybe Focus (half-press on camera)
, and maybe Shutter (full-press on camera).
-> I found this document about camera on MSDN.
but I was not yet confirmed.
The OS handles everything, and intentionally doesn't let apps interfere.
Now, if you're writing something that isn't a traditional "app"
- for example, if you're an OEM - then that's a different story.
-> As you think, we are onI think found this document about camera on MSDN.
but I was not yet confirmed.
Click to expand...
Click to collapse
What do you mean by "OEM Button"?
If you are developing for an OEM, you have access to APIs which mare mortals like the rest of us do not have access to(not "legally" at least). There are internal documents specifying on how to use such APIs. You should probably consult the documentation Microsoft gives you on the matter, rather than asking here...
and btw, i would be more careful on shouting out infos about the OEM i work with...
Thank you for quick answer every time.
I understand what you're talking about "OEM & legally".
That's important part of project.
I don't want to confuse somebody by this question.
but i just have my lack about the WP8 knowledge.
I will try to consult on Microsoft.
Once again thank you.

[Q] Windows 10 TP on Lumia Icon/930?

Hey guys. I've been waiting to try out Windows 10 TP on my Lumia Icon ever since it was announced. When build 10051 was revealed with support for many more phones, I was excited. The Icon was even part of the initial flight list. However, it never became available. Build 10052 was the same. I know that there is a way to install it on non-supported phones with an SD card, but the Icon doesn't have one. Is there anything else that can be done? I remember trying it unofficially on my 1520 using a proxy spoof. I also know that the Insider app was patched to prevent this. Is there any other way, or am I forced to wait until Microsoft gets around to it?
Gabe Aul has even revealed on twitter that the 930/Icon scaling issue has been fixed. However, the fix is not available to Insiders. Help please.
Get a registry editor running (I use Root Tool on Samsung; you should try CustomWPSystem/CustomPFD), and do this to emulate a 1520 (it's a similar architecture):
[HKEY_LOCAL_MACHINE\System\Platform\DeviceTargetingInfo]
"PhoneManufacturer"="NOKIA"
"PhoneManufactrerModelName"="RM-938"
"PhoneModelName"="Lumia 1520"
Then, sign-in to Windows Insider, fast ring, take the update, boot, go back to windows insider and repeat. If you don't like the size of the fonts you can change it through the registry or just start out with values for the 830, which are posted elsewhere. If you use Verizon and have CDMA issues, try the values for the Lumia 928 (NOKIA, RM-860_nam_usa_100, Lumia 928); that may provoke downloading provisions for Verizon.
G.moe said:
Get a registry editor running (I use Root Tool on Samsung; you should try CustomWPSystem/CustomPFD), and do this to emulate a 1520 (it's a similar architecture):
[HKEY_LOCAL_MACHINE\System\Platform\DeviceTargetingInfo]
"PhoneManufacturer"="NOKIA"
"PhoneManufactrerModelName"="RM-938"
"PhoneModelName"="Lumia 1520"
Then, sign-in to Windows Insider, fast ring, take the update, boot, go back to windows insider and repeat. If you don't like the size of the fonts you can change it through the registry or just start out with values for the 830, which are posted elsewhere. If you use Verizon and have CDMA issues, try the values for the Lumia 928 (NOKIA, RM-860_nam_usa_100, Lumia 928); that may provoke downloading provisions for Verizon.
Click to expand...
Click to collapse
Thank you. How do I install a registry editor on the Icon?
G.moe said:
Get a registry editor running (I use Root Tool on Samsung; you should try CustomWPSystem/CustomPFD), and do this to emulate a 1520 (it's a similar architecture):
[HKEY_LOCAL_MACHINE\System\Platform\DeviceTargetingInfo]
"PhoneManufacturer"="NOKIA"
"PhoneManufactrerModelName"="RM-938"
"PhoneModelName"="Lumia 1520"
Then, sign-in to Windows Insider, fast ring, take the update, boot, go back to windows insider and repeat. If you don't like the size of the fonts you can change it through the registry or just start out with values for the 830, which are posted elsewhere. If you use Verizon and have CDMA issues, try the values for the Lumia 928 (NOKIA, RM-860_nam_usa_100, Lumia 928); that may provoke downloading provisions for Verizon.
Click to expand...
Click to collapse
Upon further research I discovered that I need an SD card to install CustomWPSystem or .CustomPFD Another dead end
SuperCana said:
Upon further research I discovered that I need an SD card to install CustomWPSystem or .CustomPFD Another dead end
Click to expand...
Click to collapse
Try Root Tool.
G.moe said:
Try Root Tool.
Click to expand...
Click to collapse
Is this the right app? : http://www.windowsphone.com/s?appid=e29fe9cf-074d-49f6-83c1-c3a7b5658653&signin=true
I find it odd that Microsoft allowed this on the Store.
Edit: The app needs to be on the SD card to work. No dice ?
SuperCana said:
Is this the right app? : http://www.windowsphone.com/s?appid=e29fe9cf-074d-49f6-83c1-c3a7b5658653&signin=true
I find it odd that Microsoft allowed this on the Store.
Edit: The app needs to be on the SD card to work. No dice ��
Click to expand...
Click to collapse
Actually it's this version: http://www.windowsphone.com/en-us/store/app/root-tool/f4acc009-ea1e-4063-9bab-fec50195aa1e
But you're right, I forgot about the SD requirement; sorry.
G.moe said:
Get a registry editor running (I use Root Tool on Samsung; you should try CustomWPSystem/CustomPFD), and do this to emulate a 1520 (it's a similar architecture):
[HKEY_LOCAL_MACHINE\System\Platform\DeviceTargetingInfo]
"PhoneManufacturer"="NOKIA"
"PhoneManufactrerModelName"="RM-938"
"PhoneModelName"="Lumia 1520"
Then, sign-in to Windows Insider, fast ring, take the update, boot, go back to windows insider and repeat. If you don't like the size of the fonts you can change it through the registry or just start out with values for the 830, which are posted elsewhere. If you use Verizon and have CDMA issues, try the values for the Lumia 928 (NOKIA, RM-860_nam_usa_100, Lumia 928); that may provoke downloading provisions for Verizon.
Click to expand...
Click to collapse
Thanks! This worked on my HTC One M8. (Lumia 1520 method) Everything is a bit smaller though, but i don't mind.
crystaljordan said:
Thanks! This worked on my HTC One M8. (Lumia 1520 method) Everything is a bit smaller though, but i don't mind.
Click to expand...
Click to collapse
You can change that via the registry; I can't remember the keys off the top of my head but they're around. You can also enable the navigation bar like you're used to if it didn't do it automatically.
G.moe said:
You can change that via the registry; I can't remember the keys off the top of my head but they're around. You can also enable the navigation bar like you're used to if it didn't do it automatically.
Click to expand...
Click to collapse
Does this also make the keyboard bigger? the buttons are way harder to hit than in 8.1. That's the only thing that really annoys me.
Navigation bar is visible but i am not able to hide it. I already found the registry keys to edit the settings but i haven't enabled write access in the registry yet.
Edit: Can't seem to get write access to that part of the registry. Already tried root tool and custompfd (applied the hacks to get it working for both). Do you know how to write in HKLM\Software\Microsoft\Shell\NavigationBar ?
Edit2: changed phone to lumia 830. Font size and keyboard are back to normal. Although i liked to small font size, the keyboard was pretty hard to use.

DNG registry help

Hi guys, just registered, first post because I don't really if there's any other community that could help me.
I've got a Lumia 735 and an itch to squeeze as much out of its camera as possible. Ive unlocked the phone and got CustomPFD Registry Editor on there, as well as vcREG and WPTweaker. Under the hunch i can enable DNG output (based on the fact the phone has the same SOC hardware as the 830, which is fully capable of doing so) I've added a few registry keys with mixed results.
HKLM\SOFTWARE\OEM\Nokia\Camera\Barc (DNGDisabled, DWORD 0) (BarcVersion, String 0.81) (IsEnabled DWORD 1)
i.imgur.com/biWpkx3.png
I've got the options appearing in the settings menu, and significant lag when they're turned on and I start taking photos (feels like the data is being written). However nothing shows up in Rawer, the phone's file manager, on the PC with Photoshop, nothing. They don't seem to be saving.
I've noticed there are additional DNG related keys in HKLM\SOFTWARE\OEM\Nokia\Camera\RFC\Resolution (DNGCapture_NeededBufferSize DWORD 10778368), so I've got a hunch there are more keys struck from the registry I need to have active before it starts saving my uncompressed data.
Does anyone have a Lumia 830 (or a phone that can output DNGs out of the box) with CustomPFD Registry Editor installed, that could check if there are keys i'm missing? I love this 735 and essentially turning it into a Pureview device would make my day.
Thanks a ton!
SimonHinton said:
Hi guys, just registered, first post because I don't really if there's any other community that could help me.
I've got a Lumia 735 and an itch to squeeze as much out of its camera as possible. Ive unlocked the phone and got CustomPFD Registry Editor on there, as well as vcREG and WPTweaker. Under the hunch i can enable DNG output (based on the fact the phone has the same SOC hardware as the 830, which is fully capable of doing so) I've added a few registry keys with mixed results.
HKLM\SOFTWARE\OEM\Nokia\Camera\Barc (DNGDisabled, DWORD 0) (BarcVersion, String 0.81) (IsEnabled DWORD 1)
i.imgur.com/biWpkx3.png
I've got the options appearing in the settings menu, and significant lag when they're turned on and I start taking photos (feels like the data is being written). However nothing shows up in Rawer, the phone's file manager, on the PC with Photoshop, nothing. They don't seem to be saving.
I've noticed there are additional DNG related keys in HKLM\SOFTWARE\OEM\Nokia\Camera\RFC\Resolution (DNGCapture_NeededBufferSize DWORD 10778368), so I've got a hunch there are more keys struck from the registry I need to have active before it starts saving my uncompressed data.
Does anyone have a Lumia 830 (or a phone that can output DNGs out of the box) with CustomPFD Registry Editor installed, that could check if there are keys i'm missing? I love this 735 and essentially turning it into a Pureview device would make my day.
Thanks a ton!
Click to expand...
Click to collapse
Did you solve it? Some time ago I managed to save DNG using that method (I only created those three values in HKLM\SOFTWARE\OEM\Nokia\Camera\Barc key) but after I hard reset my phone, that method just doesn't work. Absolutely no idea why...
Mine is not working either. Did you solve?

Categories

Resources