Jump to content


Photo

Patch : BackLight on LockScreen

* * * * * 2 votes

  • Please log in to reply
53 replies to this topic

#1
sgoo

sgoo

    Regular

  • Members
  • PipPip
  • 135 posts
  • Devices:SAMSUNG GT-i8000
This patch requires a ROM already patched "NoCert" because, for the modified dll, the system seems not to accepts SDK certifications.

If everything works, the backlight should remain active for 7 seconds ( set by another dll ) --> simply touch the display to reactivate it ( after 7 seconds );
if you want that the backlight has the "Normal" BatteryTimeout, a registry change is needed :

[HKEY_CURRENT_USER\ControlPanel\Backlight\LockLevel]
"LockLevel"=dword:ffffffff


This setting is lost at every softreset --> you can use a simple MortScript in StartUP :

RegWriteDWord( "HKCU","\ControlPanel\BackLight\LockLevel","LockLevel",-1 )

If the dll will not be accepted by the system ( or something is wrong ) you can't wakeup the phone from the standby --> in that case you will need :

- restart ( removing battery );
- disable LockScreen;
- rename the patched dll (eg "-backlight.dll");
- softreset;
[ - delete the renamed dll ].

For those who want to try :

>>> Patched dll <<<

Let me know if everything is OK :P .

UPDATE

Thanks ( 1000 thanks ) to Yohng ( in post N°8 ), that has supplied a correct certificate,
the patch is now applicable to all ROM ( also without "NoCert" patch ).
Here is a cab containing the patch and the MortScript_script for StarUp ( the great MortScript is required :) ) :

>>> LS_BackLight_and_Script by sgoo <<<

1000 thanks to Yohng .

Edited by sgoo, 17 September 2010 - 11:27 AM.

  • 0
Mandi mandi
Posted Image

Posted Image

#2
sgoo

sgoo

    Regular

  • Members
  • PipPip
  • 135 posts
  • Devices:SAMSUNG GT-i8000
PS:

I have wrote :

" ... the backlight should remain active for 7 seconds ( set by another dll ) "

I want to specify that this regards only the backlight timeout when the device is in lockscreen,
not the "normal" backlight timeout ( when the device is not in lockscreen ) that is not touched by this patch.
If 7 seconds of backlight timeout in lockscreen is good for you, it's sufficient replace the dll in "\Windows".

PPS:

I have patched also a dll of the "Samsung Today" to avoid that this force the processor power to "Auto"
( so I can have the Samsung Today + High Power Procesor ) and avoid that this deactive all other plugins
( so I can have simultaneously activated the Samsung Today + other plugins ) ...
... but this is an other story ...

  • 0
Mandi mandi
Posted Image

Posted Image

#3
piotrwinmo

piotrwinmo

    Newbie

  • Members
  • Pip
  • 19 posts
  • Devices:Samsung Omnia 2 i8000
  • Twitter:@eeee

This patch requires a ROM already patched "NoCert" because, for the modified dll, the system seems not to accepts SDK certifications.

If everything works, the backlight should remain active for 7 seconds ( set by another dll ) --> simply touch the display to reactivate it ( after 7 seconds );
if you want that the backlight has the "Normal" BatteryTimeout, a registry change is needed :

[HKEY_CURRENT_USER\ControlPanel\Backlight\LockLevel]
"LockLevel"=dword:ffffffff


This setting is lost at every softreset --> you can use a simple MortScript in StartUP :

RegWriteDWord( "HKCU","\ControlPanel\BackLight\LockLevel","LockLevel",-1 )

If the dll will not be accepted by the system ( or something is wrong ) you can't wakeup the phone from the standby --> in that case you will need :

- restart ( removing battery );
- disable LockScreen;
- rename the patched dll (eg "-backlight.dll");
- softreset;
[ - delete the renamed dll ].

For those who want to try :

>>> Patched dll <<<

Let me know if everything is OK :P .


Is it possible to make installation for regular ROMs?

  • 0

#4
sgoo

sgoo

    Regular

  • Members
  • PipPip
  • 135 posts
  • Devices:SAMSUNG GT-i8000

Is it possible to make installation for regular ROMs?

Sorry piotrwinmo, ( considering the first line you have quoted ) what's a "regular ROM" ???

  • 0
Mandi mandi
Posted Image

Posted Image

#5
Del1701

Del1701

    Enthusiast

  • Members
  • PipPipPip
  • 232 posts
  • Gender:Male
  • Devices:Xperia Neo rooted
  • Twitter:@delwoods
Thanks for this :lol: it works like a charm on my JC2 rom

  • 0
Sony Xperia S Unlocked & Sim Free :D

SOLD Xperia Neo running 2.3.4 (042) uk generic, rooted

I8000 using my own JE3 rom, LZX and 15Mbpp
My Contributions

#6
piotrwinmo

piotrwinmo

    Newbie

  • Members
  • Pip
  • 19 posts
  • Devices:Samsung Omnia 2 i8000
  • Twitter:@eeee
I mean, having JE3 ROM do I need flash custom ROM to apply your change?

  • 0

#7
sgoo

sgoo

    Regular

  • Members
  • PipPip
  • 135 posts
  • Devices:SAMSUNG GT-i8000

I mean, having JE3 ROM do I need flash custom ROM to apply your change?


... You need a cooked rom with the patch "NoCert" applied, that disables the certificates request :lol: .

  • 0
Mandi mandi
Posted Image

Posted Image

#8
Yohng

Yohng

    Enthusiast

  • Members
  • PipPipPip
  • 223 posts
  • Location:Guangzhou
  • Devices:I8000NXXJ...
Thanks a lot !

I modorate another french forum (see my signature) and many users ask for this fix !

Your "backLight fixed" work on any ROM, cooked or not, you just miss to install the corect SDCERT.

I've made a cab with your dll, the BDR key and the cert.

THANK YOU VERY MUCH !

Attached Files


  • 0

The best french forum : PDAphoneAddict.com


#9
sgoo

sgoo

    Regular

  • Members
  • PipPip
  • 135 posts
  • Devices:SAMSUNG GT-i8000
... wooow !!! Yohng !!! thank you so much !!! ... first post updated :lol: .

Edited by sgoo, 17 September 2010 - 02:14 PM.

  • 0
Mandi mandi
Posted Image

Posted Image

#10
Yohng

Yohng

    Enthusiast

  • Members
  • PipPipPip
  • 223 posts
  • Location:Guangzhou
  • Devices:I8000NXXJ...
I can not understand what you speak about this key on reboot ???

On my JH2 I do not need to do anything ?

Edited by Yohng, 17 September 2010 - 05:29 PM.

  • 0

The best french forum : PDAphoneAddict.com


#11
Laruku Jr.

Laruku Jr.

    Regular

  • Members
  • PipPip
  • 137 posts
  • Devices:Samsung i8000 (Omnia II)
Thank you very much! Working flawlessly on Energy Sense 2.5 ROMs. :lol:

  • 0

#12
piotrwinmo

piotrwinmo

    Newbie

  • Members
  • Pip
  • 19 posts
  • Devices:Samsung Omnia 2 i8000
  • Twitter:@eeee
Thanks. It works like a charm. Another one of the most annoying problem fixed.

  • 0

#13
Rufik

Rufik

    Newbie

  • Members
  • Pip
  • 40 posts
  • Devices:Samsung Omnia II

Your "backLight fixed" work on any ROM, cooked or not, you just miss to install the corect SDCERT.
I've made a cab with your dll, the BDR key and the cert.


Really nice! Very useful.

  • 0

#14
nicoscy

nicoscy

    Regular

  • Members
  • PipPip
  • 61 posts
  • Location:Cyprus
  • Devices:omnia 2
thank you very much. works perfect on JH2.

  • 0

#15
boust

boust

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:Samsung Omnia 2
works perfectly thanks

  • 0

#16
sgoo

sgoo

    Regular

  • Members
  • PipPip
  • 135 posts
  • Devices:SAMSUNG GT-i8000

I can not understand what you speak about this key on reboot ???

On my JH2 I do not need to do anything ?


... mmm ... that's very strange, now I am confused.
When I have made this patch ( 2 or 3 previous ROMs ) at every restart the registry key was resetted to "0".
Now this seems softreset/restart resistant . I think something is changed. It would be nice to see if the script
remains necessary for old ROMs. However I think it's always "Melius abundare quam deficere" :lol: .

  • 0
Mandi mandi
Posted Image

Posted Image

#17
ular_king

ular_king

    Regular

  • Members
  • PipPip
  • 133 posts
  • Devices:Omnia II
thanx guys! working on NRGZ28 Sept 18 ROMs

  • 0

#18
Darius P.

Darius P.

    Regular

  • Members
  • PipPip
  • 131 posts
  • Location:lithuania
  • Devices:i8000
Thank's working on original JF5 rom.

How i did:

1. install mortscript.cab (attached file)
2. install LS_BackLight_and_Script by sgoo.cab
3. soft resset.


P.S>This topic must be pined.

Darenas

Attached Files


Edited by Darius P., 21 September 2010 - 07:01 AM.

  • 0

#19
valiwm

valiwm

    Newbie

  • Members
  • Pip
  • 15 posts
  • Devices:samsung i900
Thank's working on original JG4. It works like a charm.

  • 0

#20
Echo30

Echo30

    Regular

  • Members
  • PipPip
  • 134 posts
  • Devices:LG Quantum, Samsung Omnia II
Working perfectly on stock 6.5!!
This is amazing, thanks so much guys. No more having to enable a password lock just to see the lock screen during the day!

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users