nueCPL-Power 0.1 Build 132 Available

by no2chem 23. July 2009 09:03

nueCPL-Power 0.1 Build 132 is now available for donators who would like to preview it in the download repository, under nueTools->nueCPLPower v0.1 (not nuePowerCPL). I’ll add search functionality to the download repository, as well as work on tidying it up soon. Please note that this version is alpha quality and I am aware of the following issues, most of which will be resolved in the next build:

(1) No old generation GSM (prior to Rhodium/Topaz) support
(2) Old power applet is not disabled
(3) No configuration settings (backlight, USB charging, etc. in tasks)
(4) Occasional flickering of battery percent bar while charging
(5) Not all supporting modules are listed

Tags: , , ,

nueTools

nueCPL-Power

by no2chem 22. July 2009 20:26

nuecplpower-preview2I’m in the process of rewriting nueCPL-Power to work with WM 6.5, and among other things, use skinnable controls that I’ve developed. In addition, I’ve integrated the FreeType rendering engine for better font display, and made use of DejaVu Condensed for overall better, crisper text. The applet in its current state looks something like to the right. I’m guessing I’ll release an early beta soon via the donator cp, and a public release soon after its stable and all the bugs have been worked out.

Tags: , , , ,

nueROM | nueTools

nueShortcutMaker

by no2chem 30. April 2009 19:28

nueShortcutMakernueShortcutMaker is a tool I made after I decided I needed to make a lot of shortcuts and … counting the number of characters after the “#” sign wasn’t my idea of fun. It comes with drag/drop support and direct-write-to-device support as well. Would probably make an invaluable part of any ROM kitchen (i.e. feel free to add it as a tool to your ROM kitchen, as long as you attribute credit), though I wouldn’t be surprised if someone already wrote one (I didn’t find one anyway, except inside other programs)… You’ll need .NET 3.5 installed to use it. Let me know if you find it useful.

Download: nueShortcutMaker

Tags: , ,

nueTools

nueSIPStylus

by no2chem 29. April 2009 22:15

nueSIPStylusPer onesolo’s request, nueSIPStylus is complete – it allows for automatic changing of  SIP based on if stylus is inside device or outside device.

It also supports querying the position of the stylus (CDMA only) at boot, fixing a “bug” in the keyboard driver where the position of the stylus is not updated on restart until you take the stylus in or out.

Everything else should be fairly self explanatory, but if you want deterministic results, I would recommend uninstalling nueSIPDefault or disabling the SIP control in nueKBLight if you have either one of those installed. Several services deciding on which SIP should be in use couldn’t be a good thing…

Download: nueSIPStylus

Tags: , ,

nueTools

Checking for stylus position change

by no2chem 29. April 2009 17:46

Cobaltikus asked if it was possible to detect stylus position change without the registry. After carefully inspecting keyboard driver, it appears that the registry is the best way. You would use code that looks like this:

VOID StylusThread()
{
	HANDLE	hEvents[2];
	HKEY	hKey;
	DWORD	dwSize = sizeof(DWORD);
	DWORD	dwStylusPosition = NULL;

	RegOpenKeyEx(HKEY_CURRENT_USER, _T("ControlPanel\\Keybd"), NULL, NULL, &hKey);
	
	hEvents[0] = CeFindFirstRegChange(hKey, FALSE, REG_NOTIFY_CHANGE_LAST_SET);
	hEvents[1] = CreateEvent(NULL, FALSE, FALSE, _T("NueSIPStylus\\KillSIPThread"));
	
	ResetEvent(hEvents[1]);

	while (TRUE)
	{
		if (WaitForMultipleObjects(2, hEvents, FALSE, INFINITE) == WAIT_OBJECT_0)
		{
			DWORD dwPrevious = dwStylusPosition; //save previous position
			RegQueryValueEx(hKey, _T("StylusOutStatus"), NULL, NULL, (LPBYTE) &dwStylusPosition, &dwSize);
			if (dwPrevious != dwStylusPosition)
			{
				//only change if StylusOutStatus was value that changed
				doSIPChange(dwStylusPosition);
				//don't forget to reset the event
				CeFindNextRegChange(hEvents[0]);
			}
		}

		else
		{
			//Wait failed, or kill event set
			break;
		}
	}

	//Clean up
	CeFindCloseRegChange(hEvents[0]);
	CloseHandle(hEvents[1]);
	RegCloseKey(hKey);
}

Okay, maybe that was a shameless test of if the prettify code plugin is working correctly. And I apologize for the lack of commented code (Actually, this code segment has way more comments than I typically do….)

Also, contrary to what I posted earlier, it is possible to query the current position of the stylus, although there is no nice API to do it. For those who know how to query GPIOs on the device, you want GPIO 0x25, at least on the RAPH800/DIAM500 (CDMA) devices, htc-linux.org doesn’t specify for GSM devices…

On the RAPH100 (GSM), it looks like there is no interrupt, and that the stylus thread waits for a named event - “StylusEvent”, and queries “KSC1:”, the MicroP controller on the position of the stylus. Fortunately, both drivers write the registry “StylusOutStatus” value, so as long as you query that, you’ll be okay.

nueSIPStylus will query the GPIO on CDMA devices and set the stylus position in the registry at boot, remedying the “take stylus out, soft reset, and put stylus back in before OS boots” problem, at least on CDMA devices.

Tags: ,

nueTools | Development

nueClockControl

by no2chem 15. April 2009 12:59

Screen24 I figured out how to change the clock speed of the ARM11 (main processor) on the CDMA Touch Pro and Diamond, and wrote nueClockControl to control it.

This version works on CDMA devices only, I’ll consider making a GSM version if there is enough interest. Currently you can only underclock, I’m not even sure if overclocking is a possibility yet.

I also don’t know if underclocking will improve your battery life. I just know that running the device at 19.20 MHz is horribly slow and you shouldn’t try it unless you’re in for some pain.

Anyway, be sure to leave feedback if you’ve done any kind of testing.

Download: nueClockControl

Tags:

nueTools

nueNullKB

by no2chem 13. April 2009 23:42

Screen23Nothing really exciting, but nueNullKB is a new version of nullKB which doesn’t use ATL and most importantly, correctly supports the keyboard icon in VGA mode (it no longer looks like a stretched icon). Not having to load ATL should speed things up, but any speedup is probably negligible.

If you don’t know what nullKB is, its used for hiding the SIP when you’re using an external input method such as a hardware keyboard. Credit goes to Beemer for the original version.

Download: nueNullKB

Tags:

nueTools

nueNaviKeyboard

by no2chem 8. April 2009 21:37

So, in the last few hours I’ve really learned to hate how HTC drivers are structured, and probably gained some insight into keyboard latency issues. I’m not really sure if its HTC’s fault or if its some quirks with WM… I’m not going to point any fingers.

Anyway, here is a early beta of NueNaviKeyboard. I say early beta because I haven’t completely tested everything yet. It comes with overrides to the home and back key (they are remapped as left/right softkey) and you can change this using the buttons UI (Start>Settings>Buttons). Additionally, applications should be able to see the softkeys as regular buttons now.

There is one known issue with Manila, which is that Manila will interpret home/back on its own, no matter what you do. This isn’t the same problem as AE button plus; this only occurs when you have manila open.

If you wish to add some more overrides, take a look at layout.nnk, it should have comments so you can modify stuff to your liking. Just know that the sample stuff is in the old format (I think the main difference is you need to add an extra set of virtual keys). Anything that not in the table is handled by the driver. One quirk – don’t remap up/down/left/right yet because auto-repeat is not handled.

Also, I’ve only tested this on the CDMA Touch Pro, I’d imagine it would work on other devices with a navpad as well. Also, this early beta doesn’t really come with an uninstaller, so after you uninstall it you need to STOP the NAV1: device, go to \Windows and delete HTCNavi.dll, then soft reset again to restore the old driver. If you don’t understand the sentence above, I advise you to not install it =).

nueNaviKeyboard
v0.5, Cabinet File (.cab) | 51.43 KB | 202 downloads
Click here for other and older versions.
 

Tags:

nueTools

NueNaviKeyboard

by no2chem 8. April 2009 09:16

No, this isn't a release yet, but I'm almost done and would like to have some input -

NueNaviKeyboard is a small dll that takes about 5kb and lets you remap the navipad buttons (finally). Which means you can set home, back, talk and end to whatever action you want (im guessing a lot of people would like them to map to softkeys). It's configured with the buttons UI (Settings>Personal>Buttons). Theres also a layout file which allows you to manually remap buttons. Additionally, this also means that programs will finally be able to recognize the navipad buttons as regular buttons (such as on the Titan).

I do have a few questions though as I finish this up -
Is there any software the already has this functionality? I know GScroll does, but it uses the HTCSensorAPI and is kind of big.
Is there any use for long-press home/back?

Tags:

nueTools

Server-Side Bug in nueGPSSecurity

by no2chem 30. December 2008 11:05

There was a server side bug in nueGPSSecurity 1.2 that may have exposed location information for about 3-4 users that uses the “track” feature. It has since been fixed on the server. Remember, nueGPSSecurity only saves the last 5 minutes of recorded data when you use “track” (And soon enough, it will purge the data every 2 days).

Tags:

Critical Updates | nueTools

Disclaimer
Windows Mobile is a registered trademark of Microsoft Corporation in the United States and other countries.

Wei Enterprises is not affiliated in any way with Microsoft, HTC, Sprint, or any other wireless carrier/phone manufacturer otherwise mentioned on this site.

Copyright 2012 2009 Wei Enterprises