PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Software
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-2009, 10:04 PM
santod's Avatar
"MODS"
Offline
Pocket PC: Touch Pro 2/Thunderbolt
Carrier: Verizon Wireless
Location: NorCal
 
Join Date: Sep 2008
Posts: 3,984
Reputation: 22765
santod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
LightJacker-backlight fix


Universal backlight fix, Lightweight hook


What it is. LightJacker is an universal program launcher that keeps the display backlight from turning off. It was made with TomTom in mind (and its endemic backlight problems), but it should work with any application, game, GPS navigation software, and so on.

Advantages. LightJacker is better than other apps that do the same thing, because:
  • it doesn't require installation, it is stand-alone
  • it doesn't install any boot-start program that will slow down your phone
  • it is a native program, not requiring you to install the .NET framework, Mortscript or other runtimes
  • it doesn't require to be started before the target application and to be closed afterwards
  • when you are not using the target application, the screen will turn off as usual instead of staying lighted permanently
  • it doesn't mess with your personal phone's settings such as backlight or power saving settings
  • in fact, LightJacker doesn't touch your phone's operating system at all
  • you don't have to place ugly icons in the Start menu, because LightJacker's .lnk file can have your app's icon
  • it's lightweight, taking away only 13K of disk space

technical details
LightJacker works by injecting a custom dynamic-link library (.dll file) into the target program's executable file (.exe file), a technique commonly referred to as "hooking", and then controlling various aspects of the target program by means of another common technique, "window subclassing".
This means that, in future, LightJacker may be expanded to include other fixes, or features like programmable key-to-key and key-to-mouse translation, to help apps that only support devices with a touchscreen work on the Smartphone. Installation instructions
Copying LJ on the phone. Extract the Zip archive contents in your target application's folder. You will have two new files: ljack.exe and ljackh.dll.

Creating the shortcut. It's highly recommended that you use the new automatic shortcut generator that has been added to the bottom of this page, in which case you only need to copy the resulting file in your Start Menu folder, and you're all set.
Alternatively you can still do it on your phone using Total Commander, or on your PC with ActiveSync and Notepad. To do so, run through the following steps; here afterwards we'll assume your app's executable file name is app.exe.

  1. Browse to your app folder and create a shortcut to ljack.exe there
  2. Open the newly created shortcut with your text editor (open, not run!). You will see a text line similar to this:
    34#"\Program Files\Your App\ljack.exe"
  3. Edit the line as follows, making appropriate changes to the paths:
    34#"\Program Files\Your App\ljack.exe" app.exe?\Program Files\Your App\app.exe,101
    Notes:
    • you need not change the first number (34 in this example)
    • after the question mark, there are no quotes in the path
    • after the comma there is the Resource ID for the icon that will be shown as the icon for the shortcut; normally it is 101 as in this example, but in case it's not, use Resource Hacker to find it out
  4. Save the shortcut and exit the text editor; the shortcut file should now have the target app's icon
  5. Rename the shortcut file as you like and move it to your Start menu folder (that is, to "\Windows\Start Menu")
  6. Hope it works and enjoy your lit screen
Troubleshooting
Since LightJacker uses underground and undocumented techniques, you may incur in problems while using it. As previously said, it doesn't touch your system, so these issues may bother you at most until you soft-reset your phone.

If it fails for any reason it can understand, LightJacker displays an error with a numeric code:
  • error 2 - no target .exe specified in the command line, or no command line altogether
  • error 4 - LightJacker couldn't find the .exe file you specified
  • errors 3, 5, 6 - internal errors

As a diagnostic feature, LightJacker makes some beeps on the speaker when it kicks in. You may hear one, two or more beeps a few seconds after you have started your app, and a last one circa 15 seconds later. Version history
Version 1.0.3 (11.08.2009)
  • Removed command line option: "-e"
  • Client auto-shutdown after 15 secs for freeing memory
Version 1.0.2 (04.08.2009)
  • Initial release
Download
LightJacker is compatible with Windows Mobile 5 upwards; your phone must be app-unlocked!
Please keep the included Readme.txt file containing contact information into the Zip archive when redistributing. Thank you.

downloadLightJacker 1.0.3

automatic shortcut generator
Use the form on the webpage below to create your own shortcut file (.lnk file) without having to do anything on your phone.

Attention Firefox users! This form does not work well with your web browser's "security features" - you will download an empty file. Please visit this page using Opera, the latest Internet Explorer, or any other browser. Thank you for your patience. Shortcut data
example: \Program Files\Navigator\TomTom Navigator.exe
Full target path (your program):

example: TomTom Navigator
Name (what you'll see in Start Menu):


http://w1.ozone.mine.nu/default.asp?c=index_lj
__________________

~My Ultimate WVGA Wallpapers Collection~
Donations accepted not expected!



Last edited by santod; 09-21-2009 at 10:08 PM.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > Windows Mobile Software


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 01:14 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com