The rom is cm-11-20140804-SNAPSHOT-M9-maserati.zip
In the android 4.4.2, I can modify the android.policy.jar file to allow me wake up my phone using volume button. Or in old CM system, there has a option allows me to wake up my phone using volume button.
But in this version of CM11, they removed this option, so how can I wake up my phone using volume button.
I have tried modify the /data/data/com.android.providers.settings/databases/settings.db but it works only for the first 5 mins since screen goes off.
I tried to locate the file \smali\com\android\internal\policy\impl\KeyguardViewMediator.smali in android.policy.jar, but it has gone.
Related
I've been looking for a method to wake up my N8000 by volume key and finally I found Xposed mod which can achieve that
and tested on my N8000 and confirmed working 100%
Download this Modaco toolkit:
http://loadbalancing.modaco.com/download.php?file=com.modaco.toolkit.apk
1- After downloading the Modaco toolkit setup the modaco.toolkit.apk file like normal
2- open Xposed installer then tab on modules
3- check the Modaco toolkit option then open it by pressing it and wait 2 seconds till it opens the list of options
4- go to "device Specific" and press HTC One
5- press to mark "Enable Volume Wake" option
6- press back twice to Xposed installer home page and press "Framework"
7- press Install/Update then reboot
This was made for HTC One but confirmed working on My N8000 device stock rooted 4.1.2
setup on your own risk
To download Xposed Installer from here:
https://github.com/rovo89/XposedInstaller
Best Regards
I no its not tested nor do you have the device. But NY chance this would work for 8013? If not is there any files I could give you?
is there a mod for CM12 5.0.2 on screen buttons? Please the home button is dead so I need on screen buttons and plus there look really cool lol
edit your /system/build.prop (use CM file manager), and add this line:
Code:
qemu.hw.mainkeys=0
that's it, reboot and you will have on-screen "navigation bar".
andrei53 said:
edit your /system/build.prop (use CM file manager), and add this line:
Code:
qemu.hw.mainkeys=0
that's it, reboot and you will have on-screen "navigation bar".
Click to expand...
Click to collapse
Doesn't work, always says denied
Edit: changed to r/w changed prop now nothing appears after s3 mini logo. Just blank screen
brooker88 said:
Doesn't work, always says denied
Click to expand...
Click to collapse
You need to use a text editor that supports root access mode.
Use CM's built-in File Manager and its editor. To enable root access, go to Settings -> General Settings -> Access Mode, and pick something other than "safe".
andrei53 said:
You need to use a text editor that supports root access mode.
Use CM's built-in File Manager and its editor. To enable root access, go to Settings -> General Settings -> Access Mode, and pick something other than "safe".
Click to expand...
Click to collapse
Will try in a min thanks, do you know how I disable hardware keys after this? I can't stop them from lighting up, bln app doesn't work either
Edit: it worked thanks so much! Been trying for hours to get on screen keys ����
brooker88 said:
Will try in a min thanks, do you know how I disable hardware keys after this? I can't stop them from lighting up, bln app doesn't work either
Edit: it worked thanks so much! Been trying for hours to get on screen keys ����
Click to expand...
Click to collapse
To disable hardware button backlight, Settings -> Buttons -> Backlight.
There you can also set Recents Button -> both long and short press -> no action
The only thing not possible to disable currently is the back button.
andrei53 said:
To disable hardware button backlight, Settings -> Buttons -> Backlight.
There you can also set Recents Button -> both long and short press -> no action
The only thing not possible to disable currently is the back button.
Click to expand...
Click to collapse
I tried that already, and the bln app but still lights up. Guess its cause I'm using f kernel.thanks for all your help
Just a warning, I've installed the Sophia-L10_V100R001C00B616 EMUI 3.0 firmware and discovered that there's no way to adjust the system (keyclicks etc) volume separately from the notification/ringtone volume. If you want a decently loud ringtone you have to deal with offensively loud keyclicks. Even root-required volume tools can't work around it.
Pretty disgusting and fatal bug IMHO, currently downloading the Sophia-L10_V100R001C00B136 and will downgrade ASAP. Doesn't anyone test this ****?
Or you can just disable the click sound or unlock sound in the sound menu, and activate only the vibration feedback.
It is not a weird behavior of the software, android 4.4 is made that way. For more options we need CM, AOSP or an xposed plugin.
Is that actually true? I know that the notification/ringer volume link is a 4.4 thing that is annoying a lot of people, but the system volume link isn't mentioned that I can see.
Anyway I'll go ahead with the downgrade now that the files are finally down and report back.
OK, you're correct - the earlier ROM also has no independent control of the system volume, however the system volume seems to be hardcoded significantly lower - the keyclick volume still changes with the ringtone/notification volume, but the keyclicks are nowhere near as loud. That's appearing for all apps that play 'system' sounds so it's not just the files themselves being lower volume.
FYI the downgrade itself went very smoothly, I used the official rollback package:
http://consumer.huawei.com/nl/support/downloads/detail/index.htm?id=40724
And then installed the latest EMUI 2.3 ROM for my regional variant:
http://consumer.huawei.com/tw/support/downloads/detail/index.htm?id=40521
All update.app files were force installed (vol + / vol - / power) in the sequence listed (two files from the rollback package, one file from the latest ROM). No issues.
After the installation of the latest ROM I rooted using iroot, no problems.
How to add reboot or screen recoder things when pressing power button
Hello guys.
This thread only for stock user .as we all know in stock rom when we press power button then there only power off option. So today ill share method to add commands like reboot,reboot to recovery, e.t.c
1. U need a rooted phone
2.xposed installed
3.browse to download module in xposed three search for (APM+) Android power menu.
4.Then activate and reboot
5.Then open (APM+) there you'll option to add commands there choose what you want to add..
Thanks to APM+ devs
And thanks to rovo89 for xposed
yeah...nice one.
Thanks for sharing this great..APM+
On previous versions of the CM roms and on MIUI you could swap the back and menu/recent app buttons to mimic the input you're most familiar with back-home-recent (nexus/pixel style) or recent-home-back (Samsung style).
Coming from nexus and AOSP based devices you would be more familiar with the order being BACK ----- HOME ----- RECENT APPS
You can generally find swap buttons from
Settings>Buttons>Swap buttons
It currently isn't available in the LineageOS 14.1 ROM by @xiaobai112220
To swap the button config you would have to open and edit System/usr/keylayout/synaptics_dsx.kl and set it as the following
Code:
key 139 BACK VIRTUAL
key 102 HOME VIRTUAL
key 158 APP_SWITCH VIRTUAL
key 143 WAKEUP
To solve this mess, I've created two flashable zip files.
If you want your left button for navigating back and right button for recent (Nexus/Pixel style)
Flash "Swap Buttons Back Home Recent.zip" in your recovery
This will be your order.
BACK-----HOME-----RECENT
If you want your left button for recent and right button for navigating back (Samsung style)
Flash "Swap Buttons Recent Home Back.zip" in your recovery
This will be your order.
RECENT-----HOME-----BACK
Downloads(Refer Download section or links below):
This will work on most of the LineageOS based ROMs, if it doesn't let me know..
Thank you!
ru1dev said:
On previous versions of the CM roms and on MIUI you could swap the back and menu/recent app buttons to mimic the input you're most familiar with back-home-recent (nexus/pixel style) or recent-home-back (Samsung style).
Coming from nexus and AOSP based devices you would be more familiar with the order being BACK ----- HOME ----- RECENT APPS
You can generally find swap buttons from
Settings>Buttons>Swap buttons
It currently isn't available in the LineageOS 14.1 ROM by @xiaobai112220
To swap the button config you would have to open and edit System/usr/keylayout/synaptics_dsx.kl and set it as the following
Code:
key 139 BACK VIRTUAL
key 102 HOME VIRTUAL
key 158 APP_SWITCH VIRTUAL
key 143 WAKEUP
To solve this mess, I've created two flashable zip files.
If you want your left button for navigating back and right button for recent (Nexus/Pixel style)
Flash "Swap Buttons Back Home Recent.zip" in your recovery
This will be your order.
BACK-----HOME-----RECENT
If you want your left button for recent and right button for navigating back (Samsung style)
Flash "Swap Buttons Recent Home Back.zip" in your recovery
This will be your order.
RECENT-----HOME-----BACK
Downloads(Refer Download section or links below):
This will work on most of the LineageOS based ROMs, if it doesn't let me know..
Click to expand...
Click to collapse
Working 100%.
Thank you! Thank you! Thank you! A million times, thank you!
Now, if good guy @xiaobai112220 would put this (or even better, the "Settings->Buttons->Swap buttons" option that you described) in the Lineage 14.1 Capricorn build, that'd be super duper. Until then, this fixes my OCD.
Thanks again! :good: :good: :good:
thanks mate,perfectly working ...
Thanks, much appreciated.
Would this work with changing the capacitive buttons when using MIUI? I'm guessing not.
Edit: This app did the job on my RN3P. https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper
Pumpino said:
Would this work with changing the capacitive buttons when using MIUI? I'm guessing not.
Edit: This app did the job on my RN3P. https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper
Click to expand...
Click to collapse
yes it will work
Delete this (my) post.
Hi,
doesn't it have to be
Code:
key 139 BACK VIRTUAL
key 102 HOME VIRTUAL
key 158 MENU VIRTUAL
key 143 WAKEUP
just to switch the buttons?
Otherwise the menu key can't be configured in the settings.
That was the case on my phone.
I attached a modified file which did the job for me.
Regards
Webrat
I am on the Oneplus 3T and I have the same issue. Is there a flashable zip to do the same for a oneplus 3T?
Three days ago I flashed Swap Buttons *.zip* file from @ru1dev and it worked perfectly fine. Yesterday somehow I encrypted my phone while flashing a new version of Lineage. So I decrypted my phone again and in the process my phone got wiped completely. Funny thing though, swap buttons remained intact. Great work @ru1dev, thanks a lot. :good:
Want to change into : recent-home-back with zip file.... clear dalvik/cache - install zip with twrp - clear dalvik/cache- reboot ....... no Menu to swap buttons in settings
Im on hexa rom from 17.may.....any idea ?!?
Didn't work for me either, you can do it manually by editing the file mention in the OP and swaping the codes for back and recent. That worked for me after a reboot
yipieee...in the new Hexa Build 5/23 it works with flashing the zip from post 1....
great...and big Thanks
help me
Hi I got swap button in setting but it doesn't turn on anyway
I really want my back button in the right side
Flash file from recovery but doesn't work
Crdroid last version lineage based
Yeah this isnt working on Aicp 12.1....even with flashing with twrp
IT's really useful,but it can be changed in the setting.
We can input "swap buttons" in the Search Bar,and we can find it which is available.
How can i make it work in Los 15.1?
Unlimited Studying said:
We can input "swap buttons" in the Search Bar,and we can find it which is available.
Click to expand...
Click to collapse
If this does not work, maybe you use localisation, change you language on English and reboot, and find again 'swap buttons' :good:
After flashing the recent-home-back my button still the same back-home-recent , how to change the code?
---------- Post added at 09:38 AM ---------- Previous post was at 08:52 AM ----------
Why my keylayout directory empty?
No need for LineagsOS 15.1
Can be change in settings:
System -> Buttons -> Additional buttons -> Swap buttons