How to enable volume key wake up in sense ROM [2.3.5], heard that we need to edit android plicy .jar, could anyone say the procedure to edt and make it Volume key wake up enable?????
Its enabled in wildchild rom. I looked up for the android policy edit methods. but they are very difficult and went way over my head. so I gave up.:laugh:
It's a build.prop tweak for sense but I don't have it with me now.
May u please say the steps as i will try tooo.....
rezo609 said:
It's a build.prop tweak for sense but I don't have it with me now.
Click to expand...
Click to collapse
It's more than just a build.prop tweak.
Someone mentioned android.policy.jar and that is correct.
You also have to modify the keyboard layout files.
Take apart WildChild ROM for a reference, or else just scour the XDA forums for specifics (search on "smali editing", which is what you'll need to do for the aforementioned .jar file)
Good luck,
True now I remember
Tigger31337 said:
It's more than just a build.prop tweak.
Someone mentioned android.policy.jar and that is correct.
You also have to modify the keyboard layout files.
Take apart WildChild ROM for a reference, or else just scour the XDA forums for specifics (search on "smali editing", which is what you'll need to do for the aforementioned .jar file)
Good luck,
Click to expand...
Click to collapse
Yeah smali also with some java things i have even downloaded it but seriously i couldn't understand a thing I wanted to use vol rocker as media prev/next
Tigger31337 said:
It's more than just a build.prop tweak.
Someone mentioned android.policy.jar and that is correct.
You also have to modify the keyboard layout files.
Take apart WildChild ROM for a reference, or else just scour the XDA forums for specifics (search on "smali editing", which is what you'll need to do for the aforementioned .jar file)
Good luck,
Click to expand...
Click to collapse
Hi there,
I'm using your Wildchild 2.0 ROM (great work, BTW....:good and I was just wondering if there's a noob-proof way to disable the unlock-with-volume-keys function: phone keeps waking up while it's in my pocket, and battery dries up
TIA
joemontana8 said:
Hi there,
I'm using your Wildchild 2.0 ROM (great work, BTW....:good and I was just wondering if there's a noob-proof way to disable the unlock-with-volume-keys function: phone keeps waking up while it's in my pocket, and battery dries up
TIA
Click to expand...
Click to collapse
1. Navigate to this directory on your phone:
\system\usr\keylayout
2. Modify the file "marvel-keypad.kl" by removing the following lines:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
(Delete the entire lines)
3. Perform the same mod on the file "qwerty.kl"
4. Reboot.
5. If works, click Thanks and buy me a beer. If you're short on time, just buy me a beer.
My Dear developers and newbees Like me, Finaly I tried this Method and Works like charm..... Thank you thank you thank u.............
I tried in Two Roms
(Stock and Jikantaru, Both Works as No prbm in that.....)
http://forum.xda-developers.com/showthread.php?t=1164777
finance.resat said:
Yeah smali also with some java things i have even downloaded it but seriously i couldn't understand a thing I wanted to use vol rocker as media prev/next
Click to expand...
Click to collapse
I tried as Just to Wake up android using volume keys and It works....
My friend said there is a App name as "Button Mapper" that may help u :laugh:, try that toooooo from Play Store.
Tigger31337 said:
1. Navigate to this directory on your phone:
\system\usr\keylayout
2. Modify the file "marvel-keypad.kl" by removing the following lines:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
(Delete the entire lines)
3. Perform the same mod on the file "qwerty.kl"
4. Reboot.
5. If works, click Thanks and buy me a beer. If you're short on time, just buy me a beer.
Click to expand...
Click to collapse
Works a treat :good:
Thanks given - beer will follow ASAP
Thanks again, mate
balakrishnan111 said:
I tried as Just to Wake up android using volume keys and It works....
My friend said there is a App name as "Button Mapper" that may help u :laugh:, try that toooooo from Play Store.
Click to expand...
Click to collapse
I know that But I want volume keys too. Means I wanted volume long press to change track.
joemontana8 said:
Works a treat :good:
Thanks given - beer will follow ASAP
Thanks again, mate
Click to expand...
Click to collapse
My pleasure.
Tigger31337 said:
1. Navigate to this directory on your phone:
\system\usr\keylayout
2. Modify the file "marvel-keypad.kl" by removing the following lines:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
(Delete the entire lines)
3. Perform the same mod on the file "qwerty.kl"
4. Reboot.
5. If works, click Thanks and buy me a beer. If you're short on time, just buy me a beer.
Click to expand...
Click to collapse
Hello. I just did what you said, and now not only that it doesn t wake when i press vol, but the volume rocker doesnt work at all.
How can i reverse that so at least i can use the vol rocker?
EDIT. I rewrited mannualy those words and the vol rocker works again.
Still, i tried pretty much everything i found here and still my phone dont wake on vol keys.
i m on stock 2.3.5 and my power button is broken.
Please help if you can!
And thanks!
Related
hi
i've seached all over here and modaco and cant find a solution
i had this feature on a HD rom but i've flashed back to MCR
when i click the optical joystick once i want the screen to "wake"
and then when i click it again (double click) i want it to "unlock"
i dont mind editing apk's or the bravo-keypad.kl
i dont want an app to do it (cos i think there is one out there)
i just want to change the framework on my existing rom to allow this please
any links, help or support would be greatly appreciated
thanks!
newcastlepunto said:
hi
i've seached all over here and modaco and cant find a solution
i had this feature on a HD rom but i've flashed back to MCR
when i click the optical joystick once i want the screen to "wake"
and then when i click it again (double click) i want it to "unlock"
i dont mind editing apk's or the bravo-keypad.kl
i dont want an app to do it (cos i think there is one out there)
i just want to change the framework on my existing rom to allow this please
any links, help or support would be greatly appreciated
thanks!
Click to expand...
Click to collapse
Don't know if it will work on your rom but from LeeDroid's site.
leedroid. protogenlabs. com / customization/
(remove spaces)
scroll down and find D-PAD to Wake & Unlock. flash the download from recovery.
Don't know if you will count this as an app but this is much as I know.
I don't know how to edit the bravo-keypad.kl
Hope it helps
Modaco custom rom supports trackpad wake already i think. For unlock you need a kernel with it enabled and also an edited htclockscreen.apk
ephumuris said:
Modaco custom rom supports trackpad wake already i think. For unlock you need a kernel with it enabled and also an edited htclockscreen.apk
Click to expand...
Click to collapse
yeah it supports wake, its unlock i want
any idea which kernal supports it?
thanks
How to hide the combined Status Bar on ICS (root required!)
I think many ppl are searching for a solution to hide the status bar on ICS, since the Hacks from Honeycomb doesnt work on ICS.
Note that this is really a "Hack" since it forces Android to stop a services that is flagged as "important".
As usual, you are solely responsible if you brick your device!!! Install this Hack at your own risk!!!
Click to expand...
Click to collapse
The Hack is tested on [ROM][ICS] Team Eos ICS 1.0.0 (umts_everest). Let others know if you have experiences with other roms. I´ll update this post after ur feedback.
Requirements:
MOD
- a rooted Xoom
- attached ZIP file (all credits to [email protected])
HOW TO
- SwipePad https://market.android.com/details?id=mobi.conduction.swipepad.android
Click to expand...
Click to collapse
Installation
The attached ZIP file contains
ToggleBar.apk
android.policy.jar
Settings.apk
1st - Install ToggleBar.apk and replace:
/system/framework/android.policy.jar
/system/app/Settings.apk
Click to expand...
Click to collapse
using RootExplorer or equivalent or use ADB to push.
2nd - Reboot your device
Now you´ve got a new option to hide allow hiding the statusbar under Settings -> Display
Click to expand...
Click to collapse
Exemplary use for end-users
- Install SwipePad from the Market
- Setup SwipePad to launch ToggleBar
Click to expand...
Click to collapse
Have fun hide your system bar where its not needed
NOTE FOR DEVS
Please read the diff.txt to adopt changes for your own rom.
Dont forget to give credits to [email protected] for his work on this mod!!
Click to expand...
Click to collapse
If you find this useful, hit the Thanks button.
Check out my tutorial How to turn off your screen (e.g. while plugged into hdmi)
v 0.5
- initial release
Click to expand...
Click to collapse
v 1.0
- add new settings to the display section to permanent hide the status bar
- based on Maxime's CombinedBar auto hide feature for ICS CM9
- no more need to kill systemUI
- no known issues
Click to expand...
Click to collapse
I would like to try this but I don't wanna be the guinea pig.
There's nothing super risky in changing the services.jar.
Make a backup of yours and you can push it back with ADB if you got a bootloop.
Nice, and thanks.
Wish there was a way to incorporate this into my app without needing the external jar file to be replaced (like it is in HC).
I have an app on Market that is a Kiosk browser app, but currently only for Honeycomb. It'd be sweet if it could work for ICS as well
Simonetti2011 said:
Nice, and thanks.
Wish there was a way to incorporate this into my app without needing the external jar file to be replaced (like it is in HC).
I have an app on Market that is a Kiosk browser app, but currently only for Honeycomb. It'd be sweet if it could work for ICS as well
Click to expand...
Click to collapse
I don't think there is a way to do it without a "special" version of the jar (policy or services)
In HoneyComb you could hide the bar, but with ICS Google remove that option, now the bar is "enforced" due the soft buttons and notification stuff.
new version online. see first post!
thx dabidu
Maybe this could go to the development section.
I add the .diff file with all the required changes on the source code to get the toggle the bar on and off, so anyone building a new rom from souce could implement this "feature"
dubidu said:
Maybe this could go to the development section.
I add the .diff file with all the required changes on the source code to get the toggle the bar on and off, so anyone building a new rom from souce could implement this "feature"
Click to expand...
Click to collapse
Can you post the file?
double1 said:
Can you post the file?
Click to expand...
Click to collapse
Its included in the zip file linked in the first post
I try this on eos 68. Its working with a big BUT.
No way to trigger the status bar back in application. Rotate the screen didnt work either.
Most of apps on market do not have exit button. So i can only use restart using log press power button.
I hope you could add the toggle setting on log press power button. That will do the jobs.
Thread Moved.
gamming said:
I try this on eos 68. Its working with a big BUT.
No way to trigger the status bar back in application. Rotate the screen didnt work either.
Most of apps on market do not have exit button. So i can only use restart using log press power button.
I hope you could add the toggle setting on log press power button. That will do the jobs.
Click to expand...
Click to collapse
Did you read my example on how to use in the first post?
You can, at least, launch the included app to toggle visibillity
aeros0ul said:
Did you read my example on how to use in the first post?
You can, at least, launch the included app to toggle visibillity
Click to expand...
Click to collapse
I understand about how to use. But if you could change the setting apk to include in display setting menu. Why not add it to the long press power button menu where the shutdown, reboot recovery and soo on.
It would become easy to use without need extra swipe application.
Just advice. No need to angry.
Nb: when using mxvideoplayer playing movies. Cannot toggle the status bar. But dice player just fine.
Amazing mod, you dont even need swipe pad. Thanks man.
You can just change back and forth from settings, sometimes after you select the bar again, it wont show, make a rotation and it will show again.
gamming said:
Why not add it to the long press power button menu where the shutdown, reboot recovery and soo on.
Click to expand...
Click to collapse
That would be a feature for a custom rom. Just request the dev of your favorite custom rom to included this mod
I forget to backup my
android.policy.jar
Settings.apk
Can anyone share them? Thx!
omnia1994 said:
I forget to backup my
android.policy.jar
Settings.apk
Can anyone share them? Thx!
Click to expand...
Click to collapse
Get the original files from the original update.zip
There is no way to return to home screen from most applications so the only way to exit is to reboot - bunk. Uninstalled.
Radddogg said:
There is no way to return to home screen from most applications so the only way to exit is to reboot - bunk. Uninstalled.
Click to expand...
Click to collapse
did you read the first post on how to use this mod?
his post let’s you make your Galaxy Y Menu & Back buttons a small vibrate.
Note : Need Rooted Phone {
Tutorial of vibrating Menu & back keys:
1. Download a Root Browser free version from Play Store Link.
2. Open it & allow SU permissions.
3. Navigate to /system/usr/keylayout/qwerty.kl and open querty.kl in text editor.
4. Now find & change these original values to the bold text below:
+ Change “KEY 158 BACK VIRTUAL“
+ Change “KEY 229 MENU VIRTUAL“
+ Change “KEY 139 MENU VIRTUAL“
+ Change “KEY 59 MENU VIRTUAL“
5. Now save it and wait it grants SU access again.
6. Now reboot or restart your phone & enjoy!
Unvibrate:
1. Edit qwerty.kl and change your values from VIRTUAL to WAKE_DROPPED.
2. Save it and wait till it grants SU access.
3. Reboot your restart your phone.
I am not responsible for any damage so try it at your own risk!
mrappbrain said:
his post let’s you make your Galaxy Y Menu & Back buttons a small vibrate.
Note : Need Rooted Phone {
Tutorial of vibrating Menu & back keys:
1. Download a Root Browser free version from Play Store Link.
2. Open it & allow SU permissions.
3. Navigate to /system/usr/keylayout/qwerty.kl and open querty.kl in text editor.
4. Now find & change these original values to the bold text below:
+ Change “KEY 158 BACK VIRTUAL“
+ Change “KEY 229 MENU VIRTUAL“
+ Change “KEY 139 MENU VIRTUAL“
+ Change “KEY 59 MENU VIRTUAL“
5. Now save it and wait it grants SU access again.
6. Now reboot or restart your phone & enjoy!
Unvibrate:
1. Edit qwerty.kl and change your values from VIRTUAL to WAKE_DROPPED.
2. Save it and wait till it grants SU access.
3. Reboot your restart your phone.
I am not responsible for any damage so try it at your own risk!
Click to expand...
Click to collapse
Is another thread like this,if im not wrong.
funny95 said:
Is another thread like this,if im not wrong.
Click to expand...
Click to collapse
yup there is,
Thnx..
Sent from my GT-S5830i using xda premium
....
Hit ThanX If I helped you !!
Lalit Patil said:
Thnx..
Sent from my GT-S5830i using xda premium
....
Hit ThanX If I helped you !!
Click to expand...
Click to collapse
Talk about revivng a dead thread
PHONE SLOW CLICK ME?
_____________________________________
"No one lives in the slums because they want to. It's like this train. It can't run anywhere except where its rails take it."- Cloud[FFvii]"
TingTingin said:
Talk about revivng a dead thread
Click to expand...
Click to collapse
exactly..lawl
funny95 said:
Is another thread like this,if im not wrong.
Click to expand...
Click to collapse
Don't freaken qoute the op
Sent from my S100 using xda premium
Hmmm, I know this vibrating thing from 7 months.. someone posted it last year..
these noobs! lol!
copy and paste!
He posted like he can edit [.kl] and [.so] files, lol!
we don't need broadcom to release the improved drivers, this noob will do it!
kaustubh.rockstar said:
Hmmm, I know this vibrating thing from 7 months.. someone posted it last year..
these noobs! lol!
copy and paste!
He posted like he can edit [.kl] and [.so] files, lol!
we don't need broadcom to release the improved drivers, this noob will do it!
Click to expand...
Click to collapse
LOL..! :thumbup:
Rom: Hyperion 8
Kernel: Savie's kernel
Theme: My own modification
Trolled !
MOD: Search Key as a Power Button
This is my first real contribution to the Defy Android Development and Im very proud to contribute (small contribution) after all this forum has taught me and has make me choose my defy over any latest iPhone or big and new Android phone ^^
This MOD works perfectly on any ROM (cm7 cm9 cm10 miui mokee os.. so I imagine it works in every rom out there) and its pretty easy to do (although if someone knows how to make .zips to directly flash it from cwm I would appreciate it and include it in this post ^^)
This MOD does the following, it turns the seach key to your power button and in my opinion it is a good option because it increased life expectancy of our strong defy's (btw power button will work the same, and it will still be needed to unlock our defy since the touchscreen keys dont work when our defy is off)
If you press the search key your defy will go to sleep, as if you pressed once the power button, and if you do a longpress on the search key the power menu will show up (shut down reboot screenshot etc.. )
you only need a root explorer to edit system files I did it with root explorer btw
go to system > usr > keylayout and open qwerty.kl and X (the one above) with a text editor..
in both files----> key 217 SEARCH WAKE_DROPPED change it to ---> key 217 POWER WAKE
NOTE: make sure after this change that key, POWER and WAKE are in exactly the same collumn as before (insert one spacebar after POWER to move WAKE to the right position!
To end with, check permisions of both files (they didn't change for me but just in case) it should be:
X X 0
X 0 0
X 0 0
X= tick 0=untick
If you don't understand this just compare the permisions with any other file of that folder
RESTART then WALA!
Well, not all roms. Basically, all custom roms. Stock roms use a different set of files to mapping the phone. Still, values are correct and can be applied to any Rom, you just have to know which files mapping hardware keys on your Rom. This kind of things could make that you can even power up your phone with menu button or search with back button or whatever you want
Enviado desde mi MB525 usando Tapatalk 2
espaciosalter20 said:
Well, not all roms. Basically, all custom roms. Stock roms use a different set of files to mapping the phone. Still, values are correct and can be applied to any Rom, you just have to know which files mapping hardware keys on your Rom. This kind of things could make that you can even power up your phone with menu button or search with back button or whatever you want
Enviado desde mi MB525 usando Tapatalk 2
Click to expand...
Click to collapse
well, I read about touchkeys (search home etc..) and if they aren't fisical you can't powerup/unlock etc, in the defy case, it would only be possible to do it with volume or power up button (as we all do) by the way, can anyone link me to a how to create a .zip to do this? or could someone do it and I put it in the first post? ^^ its good to know how to do it but people will find easier to flash the .zip
This awesome idea for save our defy power button life please port to wiui Jb
mariosanoguera said:
well, I read about touchkeys (search home etc..) and if they aren't fisical you can't powerup/unlock etc, in the defy case, it would only be possible to do it with volume or power up button (as we all do) by the way, can anyone link me to a how to create a .zip to do this? or could someone do it and I put it in the first post? ^^ its good to know how to do it but people will find easier to flash the .zip
Click to expand...
Click to collapse
Nah this is just fine I think ..... This is the dev section afterall where we come to learn stuff and do stuff ourselves and anyways your instructions are great ...... anyone that has flashed a rom before must be able to follow this at least I mean it's changing two values with a text editor then resetting the permissions of the files... I mean this is easier than rooting the defy.
But if you still want to make a flashable zip search in the defy general section AL did a great tutorial a while back
Btw great work
I have one question .....
it should me 217 SEARCH WAKE_DROPPED to 217 POWER WAKE
or
217 SEARCH WAKE_DROPPED to 217 POWER WAKE_DROPPED ???????
Please reply....
Euro_Rules said:
I have one question .....
it should me 217 SEARCH WAKE_DROPPED to 217 POWER WAKE
or
217 SEARCH WAKE_DROPPED to 217 POWER WAKE_DROPPED ???????
Please reply....
Click to expand...
Click to collapse
Like the first one 217 POWER WAKE
Sent from my MB526 using xda app-developers app
cyrusct82 said:
Like the first one 217 POWER WAKE
Sent from my MB526 using xda app-developers app
Click to expand...
Click to collapse
Thanks
This is a cool mod, thanks for posting it, but I think it's more appropriate for the General section than Dev. Moved there.
Can we also assigned other 3 buttons ??????
& How.... ?
Euro_Rules said:
Can we also assigned other 3 buttons ??????
& How.... ?
Click to expand...
Click to collapse
Same principle... Just look at the original state of your keymap file (depends on if your have stock or custom Rom) in /system/usr/keylayout and then play with the values.
Enviado desde mi MB525 usando Tapatalk 2
espaciosalter20 said:
Same principle... Just look at the original state of your keymap file (depends on if your have stock or custom Rom) in /system/usr/keylayout and then play with the values.
Enviado desde mi MB525 usando Tapatalk 2
Click to expand...
Click to collapse
How Can you explain ? I am using Custom ROM (Mokee OS)..
Can someone make zip for this pls ???
Would be really helpful in using other cu
stom roms.
It Killed my Search key light
Guys please use this MOD at your own risk.. i tried this nd it killed my search key light... (DEFY+ MB526)
Any one tried in stock rom
Sent from my MB525 using Tapatalk
Joshua_CE said:
Guys please use this MOD at your own risk.. i tried this nd it killed my search key light... (DEFY+ MB526)
Click to expand...
Click to collapse
How can u expect a Key to work for both functions... ?
Just revert back to old config (hope u have taken backup ) your Search key light will work again
Flashable Zips
H! Guys,
I made flashable zips for the above MOD.
Do test and let me know... Will work on almost all Custom Roms.
Thanks,
Ashish
ashish386 said:
H! Guys,
I made flashable zips for the above MOD.
Do test and let me know... Will work on almost all Custom Roms.
Thanks,
Ashish
Click to expand...
Click to collapse
Nice Work.. !!
Hello!
Thank you for this mod, it works on my Desire S as it supposed to!!!
I have a broken power button so i mapped my search key to act as it. Now i was wondering would it be possible to map "long press search button" to "long press power button" ONLY. As i use sweep2wake -> search button wakes the phone and puts the phone to sleep too. I would like that the sweep2wake would do the waking and sleeping, and long pressing the search button would just open the "boot menu" . When i disable the sweep2wake search button doesnt wake my phone again. Which is what i want but then i have to remap my volume controls to wake it up.
Just small things, but i think this is the place to ask?
Peace!
Sweep2wake would be so sweet on our Defy
Sent from my Defy green lense using xda-developers app
Follow the method to make this process easier.
*//I am not responsible for any damage, so try it at your own risk.
1. Open Root Explorer & allow SU permissions.
2. Navigate to /system/usr/keylayout/
qwerty.kl and open qwerty.kl in text
editor.
3. Now find & change these original
values to the bold text below:
[size=+2]+ Change “KEY 158 BACK VIRTUAL“
+ Change “KEY 229 MENU VIRTUAL“
+ Change “KEY 139 MENU VIRTUAL“
+ Change “KEY 59 MENU VIRTUAL“[/size]
5. Now save it and wait it grants SU
access again.
6. Now reboot or restart your phone &
enjoy!
Click to expand...
Click to collapse
Unvibrate:
1. Edit qwerty.kl and change your values from VIRTUAL to WAKE_
DROPPED
2. Save it and wait till it grants SU
access.(rw-r--r--)
3. Reboot your restart your phone.
Click to expand...
Click to collapse
imElectronica said:
Follow the method to make this process easier.
*//I am not responsible for any damage, so try it at your own risk.
Unvibrate:
Click to expand...
Click to collapse
Old trick bro!! I think ever one knows it!! Or we already have one thread about it to!!
But nice one who don't know it!!
Work !
Sent from my GT-S5360 using xda app-developers app
1hewarlock said:
Old trick bro!! I think ever one knows it!! Or we already have one thread about it to!!
But nice one who don't know it!!
Click to expand...
Click to collapse
I know it...i post it again for newbies...some of the xda member only check only new thread, not check the olds so they ignor about some common stuff..
Work !
Click to expand...
Click to collapse
wht is it quesn or feedback.
imElectronica said:
I know it...i post it again for newbies...some of the xda member only check only new thread, not check the olds so they ignor about some common stuff..
wht is it quesn or feedback.
Click to expand...
Click to collapse
By the way this trick is awesome!! by making soft keys vibrate u r confirm that key is presses because our soft keys are irresponsibe!!
great trick!!
1hewarlock said:
Old trick bro!! I think ever one knows it!! Or we already have one thread about it to!!
But nice one who don't know it!!
Click to expand...
Click to collapse
1hewarlock said:
By the way this trick is awesome!! by making soft keys vibrate u r confirm that key is presses because our soft keys are irresponsibe!!
great trick!!
Click to expand...
Click to collapse
Yes...I's true.
Works
Sent from my GT-S5360 using xda app-developers app