Hey guys please help me coz in my Samsung Galaxy S2 when I press the power button and turn back on there is no lock screen appearing and when I hold it directly turns off. I have tried factoey reseting still not helping and also the solution given in previous forum using android terminal
su
echo -n ON > /efs/imei/keystr
sync
reboot
Also DOESN'T SEEM to work but worked for many people.... Please help me
Naimul01 said:
Hey guys please help me coz in my Samsung Galaxy S2 when I press the power button and turn back on there is no lock screen appearing and when I hold it directly turns off. I have tried factoey reseting still not helping and also the solution given in previous forum using android terminal
su
echo -n ON > /efs/imei/keystr
sync
reboot
Also DOESN'T SEEM to work but worked for many people.... Please help me 
Click to expand...
Click to collapse
Here is the solution :
Tools Needed:
1. Hex Editor
2. Root Explorer
Steps to restore:
1. Using root explorer locate the /efs/imei/ folder. In that folder there should be a file called keystr. In my case the file was missing which is why the lock screen was missing and was causing my problems.
2. using root explorer create a new file called keystr
3. also in root explorer open the file keystr in text editor and type ON
4. Save the file and then set rw permission for the keystr file. Set 644 permission as rw-,r--,r--.
5. now go into hex editor and locate the /efs/imei/keystr file.
6. using hex editor the first two values in green should be 4f and 4e. all others should be 00.
6. make sure you save the file.
7. reboot.
Hope this helps you..if it does then dont forget to hit the thanks button :thumbup:
Sent from my GT-I9100 using xda app-developers app
Thanks alot it works like a charm
Sent from my GT-N7100
Related
im looking for a screen dimmer mod like the one that was being used in Homebase. i know there are some market apps like screen dimmer but these are not the same. the mod im talking about lowers the minimum screen brightness by lowering the current being delivered to the backlight itself. there's an old thread about it here http://forum.xda-developers.com/showthread.php?t=1245332&highlight=manual
i havent been able to get it to work on wetdream. ive tried both pushing the framework apk with adb and manually editing the files with apk manager but the first caused a bootloop and the latter a bunch of google FC.
anyone know if there is a working mod(or how to get this one working) to set the minimum screen brightness lower?
i got it working with gingermod, for some reason it didnt work on wetdream. if anyone is interested here what you do
1. Download APK manager
2. Grab framework-res.apk from your phone under \system\framework\ (you can use root explorer or adb push) and place it in the "place-apk-here-for-modding" folder
3. Run Script.bat and select option 9
4. go to projects\framework-res.apk\res\values\arrays.xml and edit your values with the ones roger posted in my link above
5. Once edited, compile the apk using option 11
6. Is this a system apk. Ans: y
7. Qn: Aside from the signatures...least. Ans: y
8. Prompt: In the apk manager folder u'll find a keep folder..... done then press enter on this script. Press any key to continue . . . go to "keep" folder and delete resources.arsc and then press any key
once that is done you can also change the current that is drawn from the screen from the default 25mA to 5mA by using terminal or adb shell (this mod will help with battery life)
heres the command
su
cd sys/bus/i2c/drivers/lm3532/0-0038/leds/lcd-backlight
echo 17 00 > registers
reboot
for a more detailed explanation on what you are doing with these commands check out roger's thread in the above post.
My lockscreen isnt there... I updated to ICS and it was there for a while but now whenever i press the button to turn my phones screen on it skips the lock screen.
I miss it ;(
anyone know how to get it back
Settings/security/screen lock
Im having the same issue, never get the lockscreen on any ICS Rom, do i need to odin to stock ICS and then root and reinstall the Rom?
Go to settings, security and then choose lock screen type you want.
oops! accidentally beamed from my awesome NEXUS S!
Che k to see if you have a timeout set. I have mine on immidiate so wheb i push the button it locks right away.
Sent from my SAMSUNG-SGH-I717 using XDA Premium HD app
If u have 14 toggle in ur notifications bar, try swiping to the right and hit lock icon... Might have bumped it by accident ;-)
Sent from my SAMSUNG-SGH-I717 using XDA
nope tried both of those still getting nothing...ive tried reinstalling the ROM about 4 times already...everything works but i just cant get the lockscreen to come up...
deadbeatcocoa said:
I figured out my problem! Appears that when I was creating the keystr file, I added the extension .txt ...
So here is the solution that have been posted on other threads
i actually figured out a way to restore my lock screen back.
Note: This involves messing with the efs folder. So do this at you own risk
also, your phone must be rooted in order to do this.
Tools Needed:
1. Hex Editor
2. Root Explorer
Steps to restore:'
1. Using root explorer locate the /efs/imei/ folder. In that folder there should be a file called keystr. In my case the file was missing which is why the lock screen was missing and was causing my problems.
2. using root explorer create a new file called keystr
3. also in root explorer open the file keystr in text editor and type ON
4. now go into hex editor and locate the /efs/imei/keystr file.
5. using hex editor the first two values in green should be 4f and 4e. all others should be 00.
6. make sure you save the file.
7. reboot.
Click to expand...
Click to collapse
Here you guys are! this is the only method that works, i tried everything, do this and reboot your phone a couple times, make sure the file stays there and enjoy your lockscreen!
Hi guys, please help me
Home button, lock screen not working , and pressing the power button does not pops the menu . I know this is something to do with the keystr
but my keystr is there in imei folder.
I read the threads and found some solutions
1) I tried using the terminal emulator method. Doesn't work
2) Tried using the root explorer method (deleted the keystr, added new file and making sure the file is ON )
Help
3) I read in some forum about using Hex editor can anyone tell me how do I do this?
Please help. Thanks
P.s. I actually fixed the problem but it came back again after a few days.
extremeken said:
Hi guys, please help me
Home button, lock screen not working , and pressing the power button does not pops the menu . I know this is something to do with the keystr
but my keystr is there in imei folder.
I read the threads and found some solutions
1) I tried using the terminal emulator method. Doesn't work
2) Tried using the root explorer method (deleted the keystr, added new file and making sure the file is ON )
Help
3) I read in some forum about using Hex editor can anyone tell me how do I do this?
Please help. Thanks
P.s. I actually fixed the problem but it came back again after a few days.
Click to expand...
Click to collapse
If the file already exists and contains ON, also make sure the permissions on the file are at least 644, or rw-,r--,r--.
ctomgee said:
If the file already exists and contains ON, also make sure the permissions on the file are at least 644, or rw-,r--,r--.
Click to expand...
Click to collapse
how do i check this? thanks
extremeken said:
how do i check this? thanks
Click to expand...
Click to collapse
Root explorer, long click the file, permissions.
ive read on other threads that you can disable the capacitive buttons on the GT-i9300 by going inputting '#' in front of lines 'key 132 back' and 'key 158 menu'. however when i remove the '#'s my capacitive buttons still stay disabled. how to i re enable them?
remove the #, check the permissions and reboot
ive removed the '#'s but i dont know what you mean by the permissions. is that superSu? if it is ive rebooted the phone and still they wont work.
check the file permissions with a file manager and make sure they're so the same as the other files in the folder
Glebun said:
check the file permissions with a file manager and make sure they're so the same as the other files in the folder
Click to expand...
Click to collapse
Thank you sooo much!! it worked
hi guys
this simple method to exit factory mode(for no power options issuse-no network problem-or iemi code probelm(give a test maybe this fix network problem or power menu options)---work for wifi problem and others.) ..i have test it on my phone..and i like to share it..
i have discovered this by me.
first you should be rooted.
then open es file manager (download form play store)...press menu key>click on tools >root explorer (click on)>allow root permission>then choice
mount r/w...make / rw and /system r/w.
after that go to system dirctory(/) >efs>factoryapp>open factorymode file by text editor(choice es editor)
you will see value >ON >>change it to OFF...word should be in caps. then save file.
then open keystr >choice es note editor>you will see ON>change it to >OFF....save it.:laugh:
then press menu key(while you are in es file manager) on your phone ...press on tool>root explorer>mount r/w
change path / and /system to ro....then ok.
after that restart your phone and you will never see factory mode notification.
i wish this help..tell me if it works.
mode
hisham2630 said:
hi guys
this simple method to exit factory mode(for no power options issuse-no network problem-or iemi code probelm(give a test maybe this fix network problem or power menu options)---work for wifi problem and others.) ..i have test it on my phone..and i like to share it..
i have discovered this by me.
first you should be rooted.
then open es file manager (download form play store)...press menu key>click on tools >root explorer (click on)>allow root permission>then choice
mount r/w...make / rw and /system r/w.
after that go to system dirctory(/) >efs>factoryapp>open factorymode file by text editor(choice es editor)
you will see value >ON >>change it to OFF...word should be in caps. then save file.
then open keystr >choice es note editor>you will see ON>change it to >OFF....save it.:laugh:
then press menu key(while you are in es file manager) on your phone ...press on tool>root explorer>mount r/w
change path / and /system to ro....then ok.
after that restart your phone and you will never see factory mode notification.
i wish this help..tell me if it works.
Click to expand...
Click to collapse
if this not work change from on to off.
What is factory mode? I've never seen this.
factory mode
Sir_Eagle said:
What is factory mode? I've never seen this.
Click to expand...
Click to collapse
when something miss with files in /system/efs/.
you will see a notification that tell you (factory mode:some functions will not work properly,wifi disabled,exit factory mode to user mode).
you will see that your wifi disabled....or sometimes see a yellow banner on your screen tell you about your phone specification and there is
something wrong...
so you should came back to user mode to use your device properly.