[Q] Unlock screen - HD Mini Themes and Apps

Good day, all, this is my first post.
Is there anyway to wake up the screen with other hard buttons instead of the the power button?
I don't feel like pressing the power button so often every time I want to use the device.
Is there any application or setting to change that?
It would be of great help. THX

Try to change:
HKCU\\ControlPanel\Keybd\DevicelockWhenSuspend
from 1 to 0 and soft reset.

fighter7139 said:
Try to change:
HKCU\\ControlPanel\Keybd\DevicelockWhenSuspend
from 1 to 0 and soft reset.
Click to expand...
Click to collapse
my registry is by default set to 0, but i have to press always the power button.
so what's the difference?

Takissc5 said:
my registry is by default set to 0, but i have to press always the power button.
so what's the difference?
Click to expand...
Click to collapse
.........?

Can't find one
Sorry, I am a real newb in this.
All I found under HKCU\ControlPanel\Keybd are ChangeBackVKeyCode and ChangeHomeByPostMessage.
I didn't see DeviceLockWhenSuspend.
I use PMH registry.
Where went wrong? Plz instruct me
Great thx

Takissc5 said:
my registry is by default set to 0, but i have to press always the power button.
so what's the difference?
Click to expand...
Click to collapse
Have you got "DefaultKeyLock" under "keybd"?
philton said:
Sorry, I am a real newb in this.
All I found under HKCU\ControlPanel\Keybd are ChangeBackVKeyCode and ChangeHomeByPostMessage.
I didn't see DeviceLockWhenSuspend.
I use PMH registry.
Where went wrong? Plz instruct me
Great thx
Click to expand...
Click to collapse
These are folders. Below them, there must be some dword keys.

fighter7139 said:
Try to change:
HKCU\\ControlPanel\Keybd\DevicelockWhenSuspend
from 1 to 0 and soft reset.
Click to expand...
Click to collapse
fighter7139 said:
Have you got "DefaultKeyLock" under "keybd"?
under "keybd" i have two folders "changebackvkeyCode" and "ChangeHomeByPost".
DeviseLockWhenSuspend is a dword value set by default to 0. Under "keybd" there is something like (Default) and when i tap on it gives me "name" (Default) and "string" which is empty that is no value or letters.What should I do?
Click to expand...
Click to collapse

Sorry man, I don't know.
For some devices works with "DeviceLockWhenSuspend", for some others works with "DefaultKeyLock".

Are you using any 3rd party lock app?

fighter7139 said:
Try to change:
HKCU\\ControlPanel\Keybd\DevicelockWhenSuspend
from 1 to 0 and soft reset.
Click to expand...
Click to collapse
What is the diference making that?

Waking up device with any key.
It works for some devices.

I dont have that pastes...

I really don't know about mini.
For example, see these:
Leo
http://forum.xda-developers.com/showthread.php?t=673424
Topaz
http://forum.xda-developers.com/showthread.php?t=774479

fighter7139 said:
Are you using any 3rd party lock app?
Click to expand...
Click to collapse
no.. i am amateur...

As i said, I don't know which path must be changed for mini.

Related

[MOD] Use the backlight botton for NOTIFICATIONS...

Hi all,
as you can see in this video,
http://android.hdblog.it/2010/06/20...a-della-presentazione-italiana-del-24-giugno/
Click to expand...
Click to collapse
there are two backlighted bottons on our Galaxy S; once is the BACK botton, the second one is OPTIONS botton.
Now, probably we can remap the OPTIONS botton for use it like a NOTIFICATION LED!
I suppose that: if we have one message/email or one unaswered call, the light of the option botton could PULSE..!!!
I think that this is the best solution for our NON-LEDED-PHONE...
What do you think?? Probably we can work on!!
Let me know!!
great idea.. definitely worth it..
one thing nice about i9000 is the home button wakes the phone
raspdeep said:
great idea.. definitely worth it..
one thing nice about i9000 is the home button wakes the phone
Click to expand...
Click to collapse
Thanks mate, i've contacted OBrian, as soon as possible I start to try and work on it...
First of all i need the source but i don't know why i cant download it from samsung. Somebody can upload the source on another server?
Second, i'll try to find the files that map the bottons
In the end, if is possible (but i need the help of our cheefs) i can work on it...
Waitin'...
socket84 said:
Thanks mate, i've contacted OBrian, as soon as possible I start to try and work on it...
First of all i need the source but i don't know why i cant download it from samsung. Somebody can upload the source on another server?
Second, i'll try to find the files that map the bottons
In the end, if is possible (but i need the help of our cheefs) i can work on it...
Waitin'...
Click to expand...
Click to collapse
definitely worth it !!!!!! thank you in advance
Archius said:
definitely worth it !!!!!! thank you in advance
Click to expand...
Click to collapse
If somebody wants to help me, is appreciated!!
Fist of all we have to discover where the botton configuration files are..
Great Idea i'll download the source and try for a look but im not too good
it will take a while, till the file ist uloaded but i'll edit my post and add the link
is netload ok ?
Jonas.M said:
it will take a while, till the file ist uloaded but i'll edit my post and add the link
is netload ok ?
Click to expand...
Click to collapse
Thanks man, never mind, i've downloaded it... I'm searching the files...
kk i'm searching too
Jonas.M said:
kk i'm searching too
Click to expand...
Click to collapse
Tried to search "key", there are alot of file in kernel folder, but they seems to be unusefull...
Probably we need a dump, not the source...
Searchin'....
does it light up while booting?
Jonas.M said:
does it light up while booting?
Click to expand...
Click to collapse
I don't know... I'm waitin' two Galaxy S for early July, so we need to wait somebody that have the phone right now...
But i can search on youtube...
it seams, that they only light up if you use them
but i cant find any video that shows the booting properly
Jonas.M said:
it seams, that they only light up if you use them
but i cant find any video that shows the booting properly
Click to expand...
Click to collapse
Yes, but they light up, i think this is enough
I saw a video of the boot on youtube but i don't find it... damn!
Boot:
http://www.youtube.com/watch?v=n_G51c7hxbU
Click to expand...
Click to collapse
No lights up...but maybe the part of the video that we need is too short..
They do not light up under the boot.
But you can trigger them/use them while booting.
Elinsa said:
They do not light up under the boot.
But you can trigger them/use them while booting.
Click to expand...
Click to collapse
Probably, but we need to activate them any time we loose a call or we have a message/email...
I see that the bottons are capacitives, not phisicals...
Yes, they are touchbuttons. If you need any help from me since I have the phone already let me know.
Code:
case ACPI_BUTTON_NOTIFY_STATUS:
input = button->input;
if (button->type == ACPI_BUTTON_TYPE_LID) {
acpi_lid_send_state(button);
} else {
int keycode = test_bit(KEY_SLEEP, input->keybit) ?
KEY_SLEEP : KEY_POWER;
input_report_key(input, keycode, 1);
input_sync(input);
input_report_key(input, keycode, 0);
input_sync(input);
}
acpi_bus_generate_proc_event(button->device, event,
++button->pushed);
break;
is the KEY_SLEEP the back key ?
Jonas.M said:
Code:
case ACPI_BUTTON_NOTIFY_STATUS:
input = button->input;
if (button->type == ACPI_BUTTON_TYPE_LID) {
acpi_lid_send_state(button);
} else {
int keycode = test_bit(KEY_SLEEP, input->keybit) ?
KEY_SLEEP : KEY_POWER;
input_report_key(input, keycode, 1);
input_sync(input);
input_report_key(input, keycode, 0);
input_sync(input);
}
acpi_bus_generate_proc_event(button->device, event,
++button->pushed);
break;
is the KEY_SLEEP the back key ?
Click to expand...
Click to collapse
No, this is the sleep/power phisical button...

Change circle button

Is there a way to make the circle button not to be recognized as the back button on an jelly bean rom ?
Particularly on emulators like n64oid where the back button toggles a bar, it's really annoying
I tried modifying the keylayout but it completely bugged up several other keys
Any help here ?
Thanks in advance...
I would also like to know.
Gingerbread and ICS instructions too if possible.
you need to edit a keymap file , not sure where it is on jb
Sent from my R800i using Tapatalk 2
even when u edit the keymap, not every app will detect it properly..., and u risking mess up other key, this is never ending bug story with un-official (non beta) ICS & JB Rom..
I TRIED modifying the keylayout files, but it messed so much other keys that I abandonned, perhaps I did it incorectly ?
It messed up the home key and most of the keypad, just for changing 305 to BUTTON_B
EDIT : fixed it : found a mirror of a fix, and it worked flawlessly thanks for the help anyway
DarkVarano said:
I TRIED modifying the keylayout files, but it messed so much other keys that I abandonned, perhaps I did it incorectly ?
It messed up the home key and most of the keypad, just for changing 305 to BUTTON_B
EDIT : fixed it : found a mirror of a fix, and it worked flawlessly thanks for the help anyway
Click to expand...
Click to collapse
Please share!
Why dont people share!?
ermacwins said:
Why dont people share!?
Click to expand...
Click to collapse
Its already been shared. But it doesnt fix the circle button issue for certain applications that require the sony framework.
chery2k said:
Its already been shared. But it doesnt fix the circle button issue for certain applications that require the sony framework.
Click to expand...
Click to collapse
Where is this fix? because my circle button is fine now but the select button now acts as back. What needs to be changed? I will ask some of the Nexus 4 devs to make the neccessary changes.
ermacwins said:
Where is this fix? because my circle button is fine now but the select button now acts as back. What needs to be changed? I will ask some of the Nexus 4 devs to make the neccessary changes.
Click to expand...
Click to collapse
Post #1 requires you to make changes to your build prop. Note this doesn't fix circle button 100% correctly.
http://forum.xda-developers.com/showthread.php?t=1862722
chery2k said:
Post #1 requires you to make changes to your build prop. Note this doesn't fix circle button 100% correctly.
http://forum.xda-developers.com/showthread.php?t=1862722
Click to expand...
Click to collapse
Thanks, but I think I have sussed it shortly after my last post without any build prop editing. though when I save the profile in sixaxis it doesnt show the profile in the app but there is an output file on the sdcard. I will post the details later. Dev was very helpful

Remapping the home button

Ive been trying to make my home button function the same as the power button. First I made a nandroid and rebooted andthen went here--> System/usr/keylayout/generic.kl and changedkey# whatever-said-home to say POWER. rebooted and it didn't work, it worked just like normal. Then I went back and changed every key that said home to power anywhere in the keylayout directories and still, it works like normal! Any advice or knowledge to help me solve this puzzle?
Thanks!
Sent from my Kangadore 64
I'm on an aokp build BTW and I tried the button remapping app as well. Stubborn button =
Sent from my Kangadore 64
Well for starters, did you reboot?
There should be a thread in one of the US variants forums that tells you about the key layouts.
Theres also an app that will give you info on what button you just pushed.
Been a while so cant remember the name and dont know if itll be compatible, but maybe someone else does and will chime in.
Sent from my SGH-T999 using xda app-developers app
I've rebooted with every change. I tried theapp that tells you what button you pushed but it doesn't show what the power or home buttons key in as, its in the FAQ of the app I don't know what the issue is, I can change other buttons around but this one refuses to cooperate.
Sent from my Kangadore 64
mrtoast said:
I've rebooted with every change. I tried theapp that tells you what button you pushed but it doesn't show what the power or home buttons key in as, its in the FAQ of the app I don't know what the issue is, I can change other buttons around but this one refuses to cooperate.
Sent from my Kangadore 64
Click to expand...
Click to collapse
You have to edit the sec-keys.kl file to whatever you want then reboot. Generic.kl only takes effect if sec-keys.kl isn't there. So edit sec-keys.kl then reboot and you should be golden
Sent from my Galaxy Nexus using Tapatalk 2
@OP....
Got a better idea. Download apex launcher, and download screen off and lock.....
Open apex settings, behavior settings, home button...
Have it launch screen off and lock when pressed. Your phone will now turn off when you press the home button from your home screen.
Viola
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
mrtoast said:
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
Click to expand...
Click to collapse
Could you be specific as to what you changed exactly. I am also interested in this...... Thanks!
mrtoast said:
@elesbb That worked like a champ! Thank you very much
Sent from my Kangadore 64
Click to expand...
Click to collapse
Glad it worked!
dls5375 said:
Could you be specific as to what you changed exactly. I am also interested in this...... Thanks!
Click to expand...
Click to collapse
all they did was change what function the home button does. Look at a few posts up to see the file they changed and it's quite self explanatory, you will see a list of four buttons and their default assignments. Then you can either disable one by putting a # in front of the entire line or change them to say make the home function as a camera button.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Glad it worked!
all they did was change what function the home button does. Look at a few posts up to see the file they changed and it's quite self explanatory, you will see a list of four buttons and their default assignments. Then you can either disable one by putting a # in front of the entire line or change them to say make the home function as a camera button.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
OK, I got it....just change HOME to POWER and reboot....thanks
dls5375 said:
OK, I got it....just change HOME to POWER and reboot....thanks
Click to expand...
Click to collapse
No problem. Let us know if you run into any issues!

[Mod] Restore Power Saver

If you are stock Sense ROM and you want power saver in the toggles use a root explorer and go to:
system/customize/CID/default.xml
Carefully remove:
<item name="def_hide_ui_user_powersaver">1</item>
<item name="def_hide_ui_powersaver_connectivity">1</item>
reboot
I made a backup first. Not responsible if this jacks up your phone.
Pull down the notification bar, click on the toggles and there it is, power save.
You could also probably put a 0 where the 1 is to turn hide off.
Sent from my HTC6500LVWBLU using Tapatalk 4
If I've helped, please hit the thanks button
tylerlawhon said:
You could also probably put a 0 where the 1 is to turn hide off.
Sent from my HTC6500LVWBLU using Tapatalk 4
If I've helped, please hit the thanks button
Click to expand...
Click to collapse
Thanks. I was going to try to REM or # in front of the line but wasn't sure if that was how it is done Android/Linux.
Nitsuj17 posted this awhile ago ?
andybones said:
Nitsuj17 posted this awhile ago ?
Click to expand...
Click to collapse
I sure wouldn't want to steal anyone's thunder, Andy. Could you point me to his post? I don't see how I missed it, I've been crawling the Verizon HTC One forum since this thing was released. I kept seeing the "Verizon took out Battery Saver, here's Qualcomm's solution: Snapdragon™ BatteryGuru" floating to the top in the themes and apps, so I thought I'd post this mod.
If it is sure enough a dupe, mods please delete.
chip.hughes said:
I sure wouldn't want to steal anyone's thunder, Andy. Could you point me to his post? I don't see how I missed it, I've been crawling the Verizon HTC One forum since this thing was released. I kept seeing the "Verizon took out Battery Saver, here's Qualcomm's solution: Snapdragon™ BatteryGuru" floating to the top in the themes and apps, so I thought I'd post this mod.
If it is sure enough a dupe, mods please delete.
Click to expand...
Click to collapse
oh I'm sorry brother, I didn't mean to make it seem like you were stealing thunder, he posted it in my thread, I didn't realize this was a how-to, sorry!!!
another way to do this MOD, I find it better as you don't have to delete anything
<item name="def_hide_ui_user_powersaver">1</item>
change to
<item name="def_hide_ui_user_powersaver">0</item>
you will find the power saver in settings now
andybones said:
oh I'm sorry brother, I didn't mean to make it seem like you were stealing thunder, he posted it in my thread, I didn't realize this was a how-to, sorry!!!
another way to do this MOD, I find it better as you don't have to delete anything
<item name="def_hide_ui_user_powersaver">1</item>
change to
<item name="def_hide_ui_user_powersaver">0</item>
you will find the power saver in settings now
Click to expand...
Click to collapse
Thanks, man. These things are toys to me, a sometimes relaxing hobby, my platform is mainly Windows. If this were a batch file I'd just REM in front of a line I wanted to ignore. Wasn't sure what changing something would do. I made sure I had a current backup before I pulled the trigger.
andybones said:
oh I'm sorry brother, I didn't mean to make it seem like you were stealing thunder, he posted it in my thread, I didn't realize this was a how-to, sorry!!!
another way to do this MOD, I find it better as you don't have to delete anything
<item name="def_hide_ui_user_powersaver">1</item>
change to
<item name="def_hide_ui_user_powersaver">0</item>
you will find the power saver in settings now
Click to expand...
Click to collapse
where in settings ? i dont see it under power ?
red rage said:
where in settings ? i dont see it under power ?
Click to expand...
Click to collapse
I guess that is if you follow Andy's. I found it by pulling down the notification bar and hitting the toggles button. You should see power save.
chip.hughes said:
I guess that is if you follow Andy's. I found it by pulling down the notification bar and hitting the toggles button. You should see power save.
Click to expand...
Click to collapse
weird, I have it in settings as well doing that method I mentioned.
andybones said:
weird, I have it in settings as well doing that method I mentioned.
Click to expand...
Click to collapse
yea i get it in the quick settings but not in settings
red rage said:
yea i get it in the quick settings but not in settings
Click to expand...
Click to collapse
Very weird. Its in setting in my ROM and that was the only changes I made
andybones said:
Very weird. Its in setting in my ROM and that was the only changes I made
Click to expand...
Click to collapse
lol i dont know should i wipe delvik and chach ?
red rage said:
lol i dont know should i wipe delvik and chach ?
Click to expand...
Click to collapse
a data wipe may be needed.. not sure.
andybones said:
a data wipe may be needed.. not sure.
Click to expand...
Click to collapse
What will I lose if I wipe my data partition?
HTC One s-off
Lexworth said:
What will I lose if I wipe my data partition?
HTC One s-off
Click to expand...
Click to collapse
wipe data partition=factory reset
I thought the default.xml file is only read once at the first initial start of the rom only; meaning only after you do a factory reset on the device?
carm01 said:
I thought the default.xml file is only read once at the first initial start of the rom only; meaning only after you do a factory reset on the device?
Click to expand...
Click to collapse
Dunno. I know after the mod and a reboot, power save showed up in the toggles and seems to work. When I click it, screen dims for instance. If you touch the dots, you get the screen with the three choices, CPU power, display, and vibration. All seem to work. You don't see it in settings and you don't see the big ugly icon in the notification bar, but I like this better.
chip.hughes said:
Dunno. I know after the mod and a reboot, power save showed up in the toggles and seems to work. When I click it, screen dims for instance. If you touch the dots, you get the screen with the three choices, CPU power, display, and vibration. All seem to work. You don't see it in settings and you don't see the big ugly icon in the notification bar, but I like this better.
Click to expand...
Click to collapse
I have tried changing the value as suggested by Andy and deleting the settings, and it will not show for me at all... the only thing i have done was debloat the stock odex rom and hide the location icon, that's as far as mods that i have done to date
carm01 said:
I thought the default.xml file is only read once at the first initial start of the rom only; meaning only after you do a factory reset on the device?
Click to expand...
Click to collapse
This is true, also what I said above as well

[Q] Enable Software Buttons

Is there any way currently to enable software buttons on this phone? I just can not stand capacative buttons, they are simply awful in my opinion.
edda123 said:
Is there any way currently to enable software buttons on this phone? I just can not stand capacative buttons, they are simply awful in my opinion.
Click to expand...
Click to collapse
The only way I see enabling them is by enabling One Hand Mode. Of course the screen size is reduced then. With root it may be possible.
If rooted, you can try this:
http://www.gizbeat.com/2021/disable-or-enable-the-on-screen-virtual-software-keys-in-android/
There are also a few 3rd party apps that may help on Play.
Maybe it is worth buying this phone if I can fully disable the capacative buttons. Root is something I always acquire so that wouldn't be an issue. Exciting!
edda123 said:
Maybe it is worth buying this phone if I can fully disable the capacative buttons. Root is something I always acquire so that wouldn't be an issue. Exciting!
Click to expand...
Click to collapse
This works with JB and KK. Not sure about LP and ZenUI. I can give it a try for you.
Soft keys are a go, adding 'qemu.hw.mainkeys=0' to build.prop.
Couldn't get capacitive buttons to disable though. Edited both generic.kl and ***asus***.kl, but they stayed enabled. Not sure if further fiddling could get it accomplished or not.
Disabling capacitive buttons
Chinaphonearena said:
Soft keys are a go, adding 'qemu.hw.mainkeys=0' to build.prop.
Couldn't get capacitive buttons to disable though. Edited both generic.kl and ***asus***.kl, but they stayed enabled. Not sure if further fiddling could get it accomplished or not.
Click to expand...
Click to collapse
In order to disable those annoying you need to edit "system/usr/keylayout/ftxxxx_ts.kl" rather than formers... As you know commenting those lines :
# key 158 BACK WAKE VIRTUAL
# key 102 HOME WAKE VIRTUAL
# key 139 APP_SWITCH WAKE VIRTUAL
:good:
Chinaphonearena said:
Soft keys are a go, adding 'qemu.hw.mainkeys=0' to build.prop.
Couldn't get capacitive buttons to disable though. Edited both generic.kl and ***asus***.kl, but they stayed enabled. Not sure if further fiddling could get it accomplished or not.
Click to expand...
Click to collapse
When I went to build prop to add it, it was commented out. I deleted # but still no softkeys
lordpipa said:
When I went to build prop to add it, it was commented out. I deleted # but still no softkeys
Click to expand...
Click to collapse
Edit the model number prop. If you have the 64GB/4GB WW version, go into:
build.ze551.dual.2p3GHz.prop
Add the line there
Code:
qemu.hw.mainkeys=0
Reboot and enjoy soft keys.
Harfainx said:
Edit the model number prop. If you have the 64GB/4GB WW version, go into:
build.ze551.dual.2p3GHz.prop
Add the line there
Code:
qemu.hw.mainkeys=0
Reboot and enjoy soft keys.
Click to expand...
Click to collapse
I have the 4gb/32gb. Still the same place?
lordpipa said:
I have the 4gb/32gb. Still the same place?
Click to expand...
Click to collapse
Should be if it's the 2.3GHz version (which I think all 4GB RAM builds are).
Give it a shot. Worst case scenario... Nothing happens and you try a different prop.
Harfainx said:
Should be if it's the 2.3GHz version (which I think all 4GB RAM builds are).
Give it a shot. Worst case scenario... Nothing happens and you try a different prop. [emoji14]
Click to expand...
Click to collapse
It did but takes a whole lot of space, lol. Tnx again!!
how to transparent softkey?
Chinaphonearena said:
Soft keys are a go, adding 'qemu.hw.mainkeys=0' to build.prop.
Couldn't get capacitive buttons to disable though. Edited both generic.kl and ***asus***.kl, but they stayed enabled. Not sure if further fiddling could get it accomplished or not.
Click to expand...
Click to collapse
does this require root access? (newb here)
Anyone tried on latest stock MM ww134?
I tried adding on buildprop and buildprop 2.3ghz. Reboot and nothing happens.
i am trying since couple of days, still no use..
adding qemu.hd.mainkeys=0 is not showing any keys, i have a ZE551 model, and editing the build.prop is not doing anything

Categories

Resources