Post this on the thread 'bout CM12 by Jo-san but now it was closed... so I think better make a independent thread.
Could sb help me with soft nav keys: I love to use virtual nav bar and I can edit build.prop to have it on, but how to deactivate (permanently, or occasionally maybe...) the original soft key below the scr!? I mean to have them no functional and no light. Is it simple to only edit sys files or else!?
In stock MIUI ROM they have made a function to do this (deactive/reactive) in the quick toggle buttons... Could that be ported to other ROMs!?
And btw once I have virtual nav bar, how to mod it (transparency, immersive mode,....) like in LG G4!?
Thanks so much!
Try Gravity Box with Xposed installed.
I think it have everything u need
You can't disable the buttons below the screen with GravityBox, as far as I know. I was only able to turn off all the functions, including the soft keys.
quasimodo03a218 said:
Post this on the thread 'bout CM12 by Jo-san but now it was closed... so I think better make a independent thread.
Could sb help me with soft nav keys: I love to use virtual nav bar and I can edit build.prop to have it on, but how to deactivate (permanently, or occasionally maybe...) the original soft key below the scr!? I mean to have them no functional and no light. Is it simple to only edit sys files or else!?
In stock MIUI ROM they have made a function to do this (deactive/reactive) in the quick toggle buttons... Could that be ported to other ROMs!?
And btw once I have virtual nav bar, how to mod it (transparency, immersive mode,....) like in LG G4!?
Thanks so much!
Click to expand...
Click to collapse
Swapped down from the top screen to access the toggles page. Here you can deactivated the navigation buttons. Then Under setting → addtional setting → button, to off the navigating button light. Hope it help.
Sent from my Redmi Note 2 using Tapatalk
Go to /system/usr/keylayout
Find Generic.kl and edit with an editor.
Put a # and a space in front of;
key 139 menu
key 158 back
key 172 home
Go to /system and open build.prop with an editor. Change;
qemu.hw.mainkeys=1 to qemu.hw.mainkeys=0
Dont forget to make backups first.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
dedebekri said:
Go to /system/usr/keylayout
Find Generic.kl and edit with an editor.
Put a # and a space in front of;
key 139 menu
key 158 back
key 172 home
Go to /system and open build.prop with an editor. Change;
qemu.hw.mainkeys=1 to qemu.hw.mainkeys=0
Dont forget to make backups first.
View attachment 3572895
View attachment 3572896
Click to expand...
Click to collapse
Great guide! Thanks man!!!
Related
Greetings! I truly dislike the “corner-buttons” on the XPERIA mini/active phone dialer during a call and I have tried to customize and modify the “SemcPhone.apk” with the latest android-sdk to make it look like the image below. (image is taken from an XPERIA ARC mod made by 本日2発目です、すみません)
I have been trying to do the same with XPERIA ACTIVE SemcPhone.apk without any success, this is the only apk in my system/app that I am having problems with to modify/customize without getting force-close errors and network problems.
Has anyone here at XDA modded the SemcPhone.apk with success? Please inform us regarding this and post previews if possible. I do not want to change the default dialer theme, I only want to re-arrange the button placements as seen in the image below during a call instead of the default un-practical corner buttons.
Cheers
Preview img below:
Greetings! Does anyone have a modified “SemcPhone.apk” for XperiaActive/Mini/x10 that looks like the image below?
I have decompiled the original SemcPhone.apk and modified the layout and graphics but the phone enters “Force Close” loop with the new signed file and I find it impossible to modify this . I can modify all the other system files in my phone beside “SemcPhone.apk” on the stock rooted 0.62 rom. I would appreciate any help.
The reason I want to modify this file is because I am having a very hard time to sometimes hit the “END CALL” button with the default tiny 4 corner buttons. The tiny buttons are just not practical, especially for those of us with big hands/fingers. I sometimes have to press the “END CALL” button several times. A big large red “end call” button would indeed be much more usable.
Image preview:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
PS. The right image is taken from the MIUI Phone.apk and that does not work when renamed to SemcPhone.apk
I would also like to have something like that!
manipars said:
Greetings! Does anyone have a modified “SemcPhone.apk” for XperiaActive/Mini/x10 that looks like the image below?
I have decompiled the original SemcPhone.apk and modified the layout and graphics but the phone enters “Force Close” loop with the new signed file and I find it impossible to modify this . I can modify all the other system files in my phone beside “SemcPhone.apk” on the stock rooted 0.62 rom. I would appreciate any help.
The reason I want to modify this file is because I am having a very hard time to sometimes hit the “END CALL” button with the default tiny 4 corner buttons. The tiny buttons are just not practical, especially for those of us with big hands/fingers. I sometimes have to press the “END CALL” button several times. A big large red “end call” button would indeed be much more usable.
Image preview:
PS. The right image is taken from the MIUI Phone.apk and that does not work when renamed to SemcPhone.apk
Click to expand...
Click to collapse
None of these 2 will work, as both are made to work on ICS phones and will require different framework. Looks like quite a lot of work to make it.
See the files from this post
Give a thanks for the dev that ported that apps!
Hello all. I tried to search for it but didn't found anything.
I'm trying to remove some softkeys from a ROM for the Galaxy Note. The Galaxy Note has a hw home button and capacitive back and menu buttons. The thing is, I like tablet ROMs because they use the screen better, but all of them come with Home, Menu and Recent Apps soft buttons added. On TW modded roms you can also find a multiwindow button to launch apps in multiwindow mod (looks like a "^"). So I just want to keep this button (maybe Recent apps too, I'll decide it later). I know how to decompile apks and edit xml's. What I want to know is which apks I need to edit and which xmls in said apps I need to edit/remove entries. I already tried to edit SystemUI.apk and tw_systembar.xml (deleted the entries for Home and Back), but UI crashed on startup and never come up again. If you can point to a good tutorial, it would also be great!
Just to make it clear, this is what I want to do, from this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
to this:
Thanks a lot for your help, it's much appreciated!
did you find out how to remove these buttons?
you can try editing build.prop and typing qemu.hw.mainkeys=1 But i dont know if that works on tablet roms
Sent from my U8160 using xda premium
AragornPE said:
Hello all. I tried to search for it but didn't found anything.
I'm trying to remove some softkeys from a ROM for the Galaxy Note. The Galaxy Note has a hw home button and capacitive back and menu buttons. The thing is, I like tablet ROMs because they use the screen better, but all of them come with Home, Menu and Recent Apps soft buttons added. On TW modded roms you can also find a multiwindow button to launch apps in multiwindow mod (looks like a "^"). So I just want to keep this button (maybe Recent apps too, I'll decide it later). I know how to decompile apks and edit xml's. What I want to know is which apks I need to edit and which xmls in said apps I need to edit/remove entries. I already tried to edit SystemUI.apk and tw_systembar.xml (deleted the entries for Home and Back), but UI crashed on startup and never come up again. If you can point to a good tutorial, it would also be great!
Just to make it clear, this is what I want to do, from this:
to this:
Thanks a lot for your help, it's much appreciated!
Click to expand...
Click to collapse
Any clues? I want this mod also, thank you.
I'd like to have the statusbar at the bottom of the screen like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Is this possible by editing some xml stuff in the systemUI.apk or framework-res.apk? I am using the stock rom and dont want to flash a custom rom.
While researching for this topic I found answers that this is just the tablet mode. But I dont want the tablet mode, I just want the phone mode with the statusbar at the bottom.
Any hints how I can achieve that would be great
mugendon said:
I'd like to have the statusbar at the bottom of the screen like this:
Is this possible by editing some xml stuff in the systemUI.apk or framework-res.apk? I am using the stock rom and dont want to flash a custom rom.
While researching for this topic I found answers that this is just the tablet mode. But I dont want the tablet mode, I just want the phone mode with the statusbar at the bottom.
Any hints how I can achieve that would be great
Click to expand...
Click to collapse
I am searching for this too,i just want the statusbar i am on alcatel 997 right now stock rom
You can use a mod called Realoaded ICS for CM9, also what rom are you using?
mugendon said:
I'd like to have the statusbar at the bottom of the screen like this:
Is this possible by editing some xml stuff in the systemUI.apk or framework-res.apk? I am using the stock rom and dont want to flash a custom rom.
While researching for this topic I found answers that this is just the tablet mode. But I dont want the tablet mode, I just want the phone mode with the statusbar at the bottom.
Any hints how I can achieve that would be great
Click to expand...
Click to collapse
I don't know how but i'm just adding my take on this, Even if you got the status bar on the bottom by xml editing, You'd need to edit more things also because the status bar would pull down still and wouldn't pull up automatically .
this would be awesome especially for those who have large screens and difficult to deal with the top of the screen , no such things like this? any app even? for nougat?
*Deleted*
I would love to have my statusbar on bottom with
notification blind expanding UPWARD instead of down.) statusbar can sit just above the navbar or beside soft keys.
I tried XUtilities mod after reading about this option but I'm on an LG Optimus F7 stock 4.1.2 JB Custom Kernel (Freedom lite) and it doesn't work.
I've tried modding "LGSystemUi" before, but lost Statusbar and Navbar after putting modded apk back, so DEFINITELY need very concise step by step. OOOOOR if someone is feeling very charitable,
I would happily upload/link my LGSystemUi and or Framework-res apk's for one with skills FAR above MY paygrade to do the edits.
Whoever answers my call for help, thank you eternally, in advance!
- TheJackalsMARK
P.S.
Here are my SystemUI and Framework-res If someone can do this. (NOT holding my breath but HEY, you never KNOW, right?)
This is a trick I found for older Android versions I thought I can share!!This works for all Android versions!
This tweak adds the soft keys to your S5 along with the hard keys fully functional!! I wanted the true AOSP feel and now I'm reaching there!!!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This supposedly works on any phone!
Steps:
1. Root your phone!
2. Add the following line to the bottom of your build.prop file! (/system/build.prop)
Code:
qemu.hw.mainkeys=0
3. Save and reboot!!!
See screen shot below to see my result!!! Do comment and show screenshots of your screens!!
If you want to disable your hard keys below screen, then do the following:
1.Navigate to /system/usr/keylayout
2.Open Generic.kl using any text editor
3.Find the following lines,
key 158 BACK
key 172 HOME
key 254 APP_Switch
4. Add a # symbol before these lines, like this
#key 158 BACK
#key 172 HOME
#key 254 APP_Switch
5. Save and Close, Reboot Phone
6. Tadaaaa!
Warning: Don't mess with the other lines, it may prevent your phone from switching on! or you may lose functionality!
Hit thanks if you like this!!!!
Works on att s5 active.
SM-G870 Peace
you know a way to disable the hard keys if i enable soft keys i dont want them to be enabled ??
babanasor said:
you know a way to disable the hard keys if i enable soft keys i dont want them to be enabled ??
Click to expand...
Click to collapse
I'm uploading the tweak in my first post!
I've added the key disable guide!!!
So goood
jawzf said:
I'm uploading the tweak in my first post!
Click to expand...
Click to collapse
this is sooooo goooddd thank you man now i am gone try it out :victory:
babanasor said:
this is sooooo goooddd thank you man now i am gone try it out :victory:
Click to expand...
Click to collapse
do hit thanks!!
I found it overlaps the bottom of some Samsung apps like dialer
Spacemonkie4207 said:
I found it overlaps the bottom of some Samsung apps like dialer
Click to expand...
Click to collapse
can't help it.. Thats samsung's fault..
jawzf said:
can't help it.. Thats samsung's fault..
Click to expand...
Click to collapse
Yep
How can I properly customize my power off menu for my (rooted) device, running an Android 9 ROM?
So far I've tried these:
Button customization appsNone of them work for the Power button.
Some XPosed Modules?Found some stuff like NeoPowerMenu, but none of those work.
TaskerFound this trick on Reddit, using Tasker.
Basically, it's waiting for the stock power menu to show, hide it, then replace with your own.
This process is really GLITCHY, as the stock power menu is still shown for a few moments, then hidden.
Replace Power button with something else! (current, working method)I've edited /system/usr/keylayout/generic.kl, making the POWER key become the VOLUME_MUTE key (which does not exist on my phone anyway).
Then, I use traditional button customizers to launch my own app on VOLUME_MUTE key long press, and simulate the POWER key on VOLUME_MUTE key short press.
However, there are a few drawbacks:
- POWER key does not work when screen off. I must wake my phone using other keys such as the HOME hard key.
- As the POWER key is simulated through an app, the response is slow. I have to wait a second before the screen actually turns off.
Hack to launch script from hardware keys? (not working)Followed this guide to disable the power button's normal function.
Then I followed this guide to launch a script using the power button.
The script fails to launch, even after pressing on that button.
So, I'm asking whether there are:- Any API or library (possibly Root or Xposed, preferably available on Xamarin), that helps me to replace the power off menu.
- Any patch to SystemUI.apk that might help me replace the menu.
- Any open source power menu replacing applications that are currently working.
Actually solved that problem by decompiling SystemUI.apk and messing around with GlobalActionsDialog.
showOrHideDialog()
Actually converted my Android 11 power off menu to this after a few simple tweaks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
trungnt2910 said:
Actually solved that problem by decompiling SystemUI.apk and messing around with GlobalActionsDialog.
showOrHideDialog()
Actually converted my Android 11 power off menu to this after a few simple
trungnt2910 said:
Actually solved that problem by decompiling SystemUI.apk and messing around with GlobalActionsDialog.
showOrHideDialog()
Actually converted my Android 11 power off menu to this after a few simple tweaksView attachment 5322721
Click to expand...
Click to collapse
Click to expand...
Click to collapse
What tweeks you made brother?
I wanna add reboot to recovery to power menu without any app or module, can you please help me
razs.originals said:
What tweeks you made brother?
I wanna add reboot to recovery to power menu without any app or module, can you please help me
Click to expand...
Click to collapse
have u found a way yet !