[MOD][29 MAR] Enable on-screen buttons in ICS roms - Nexus S Android Development

-----------------------------------------------------------------------------
Sorry, for personal reasons, I don't have much time to update all my mods.
So from now on, I will update mods for stock(AOSP) ROM only.
-----------------------------------------------------------------------------
{
"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"
}
i know many people say this is useless and meaningless... but i like it because it is very nice for my eyes..
so if you don't like this idea, just don't use this.
---------------------------------------------------------------------------------------------
updated to v3 : see changelog
for Deodexed IMM76D (GSM 4.0.4) : Download
Restore : Download
---------------------------------------------------------------------------------------------
maybe you need Ezekeel's GLaDOS kernel and arifhn's NSTools to disable buttons backlight.
(enable backlight dimmer and set delay to 500)
and howto is here : [HOWTO] enable on-screen buttons in ICS rom
---------------------------------------------------------------------------------------------
changelog [update log]
Code:
[B]03/29[/B]
- IMM76D
- this is the last update from me. sorry!
[B]03/26[/B]
- CM9 v4.0 and Pete 03-16-12
[B]03/15[/B]
- CM9 nightly 20120314
[B]03/03[/B]
- update HTC style mods to HTC "One" style :)
[B]03/01[/B]
- add HTC style mods
[B]02/28[/B]
- AOKP build 26
[B]02/24[/B]
- CM9 v3.0~3.4
[B]02/22[/B]
- AOKP build 25
[B]02/21[/B]
- AOKP build 24
[B]02/15[/B]
- AOKP build 23 version layout fixed
[B]02/14[/B]
- AOKP build 23

Yes!! I am so happy someone found a way to do this. While they can be considered completely pointless on a device that already has buttons, I find them really awesome on the Nesus S. Especially after disabling the backlight on the capacitive buttons.

Koush version works great on BM v5. I'll try the restore file out in a bit.
EDIT: I've removed the google search box before but wasn't able to use the screen space where it used to be. Is there any way to activate that space for widgets etc? I would be a nice tweak to add back a little more useable screen space after applying this tweak.
EDIT2: I noticed that widgets placed towards the of the screen will overlap with the google search box now (genie widget or power control widget as an example).
Backlight dimmer is a must. Looks great in the dark.

irishrally said:
Koush version works great on BM v5. I'll try the restore file out in a bit.
EDIT: I've removed the google search box before but wasn't able to use the screen space where it used to be. Is there any way to activate that space for widgets etc? I would be a nice tweak to add back a little more useable screen space after applying this tweak.
EDIT2: I noticed that widgets placed towards the of the screen will overlap with the google search box now (genie widget or power control widget as an example).
Click to expand...
Click to collapse
Did you change the LCD density to 210?
Sent from my Nexus S using xda premium

Serious_Beans said:
Did you change the LCD density to 210?
Sent from my Nexus S using xda premium
Click to expand...
Click to collapse
I did not. I was hoping I wouldn't have to. I don't like how things pull in towards the center of the screen too much with dpi that low.
EDIT: I just checked at the it's set to 220. I think it changed to 220 after flashing this mod.

I as well think that on-screen buttons aren't as useless and wasteful as everyone makes it seem. It changes the user experience a little bit for the better while sacrificing a little screen space.
For one, it allows you to access the task switcher without holding the home button. A simple tap and you're good to go. I find myself switching apps a lot more often when I had the button available as oppose to the long-press method.
Secondly, the 3 dots for the menu button allow you to see when the button is available in certain apps/screens. This is important in legacy apps as you don't have to guess if there are more options or not (advance settings for Wi-Fi anyone?).
I think everyone should try it at least for a little bit to see how the experience pans out. If nothing else, it give you a taste of how the Galaxy Nexus works which I assume will be many people's next phone.
For those of you that use it, I used 230dpi as my setting. Anything below that and my bookmark widget blends in with the search bar. Also, like someone said above, disable the soft key lights with Backlight Dimmer using NSTools. Just put it at a low value. If you really want to be fancy, you can change the soft keys to other functions. For example, I edit the /system/usr/keylayout/cypress-touchkey to have the Back and Menu button be Vol- and Vol+ respectively while the Search and Home buttons were the equivalent to the power button. This is just some functionality for the buttons so that those of you that don't like reaching up to the physical buttons can have those right at your fingertips.

omg sorry. i changed lcd density to 210 so widget overlapping problem is solved now.

NS4g version pls.
Sent from my Nexus S 4G using Tapatalk

How do you go to menu mode (when only used these 3 buttons)?

lcchan1 said:
How do you go to menu mode (when only used these 3 buttons)?
Click to expand...
Click to collapse
There are three dots when there is a menu mode available. As for the home screen, go into settings through the notification drop down menu.

Enhanced said:
If you really want to be fancy, you can change the soft keys to other functions. For example, I edit the /system/usr/keylayout/cypress-touchkey to have the Back and Menu button be Vol- and Vol+ respectively while the Search and Home buttons were the equivalent to the power button. This is just some functionality for the buttons so that those of you that don't like reaching up to the physical buttons can have those right at your fingertips.
Click to expand...
Click to collapse
Really cool that we can change this so easily. I got the back button to be the power button but I couldn't figure out the volume notation. I tried VOL+ +VOL VOLUP etc.

4G version please!!!!
Sent from my Nexus S 4G using Tapatalk

Is it possible to set capacitive button as notification? I kinda like on screen button

This is very cool
Sent from my Nexus S using Tapatalk

irishrally said:
Really cool that we can change this so easily. I got the back button to be the power button but I couldn't figure out the volume notation. I tried VOL+ +VOL VOLUP etc.
Click to expand...
Click to collapse
It's VOLUME_UP and VOLUME_DOWN.
Sent from my Nexus S using XDA Premium App

Enhanced said:
It's VOLUME_UP and VOLUME_DOWN.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Do you know how to edit this mod for the NS4G? I want the software buttons but this only works on the 3G
Sent from my Nexus S using Tapatalk

I just took the framework-res.apk from the zip and copied to /system/framework, applied permissions, changed lcd density and works good on my NS4G.
edit: bln works, but you need to go back to nstools and enable everytime the screen turns off.
edit2: actually had my value too low for bln, works for me if it is >1000

When I do that I get a boot loop immediately after pasting the apk
Sent from my Nexus S 4G using Tapatalk

kjaved373 said:
I just took the framework-res.apk from the zip and copied to /system/framework, applied permissions, changed lcd density and works good on my NS4G.
edit: bln works, but you need to go back to nstools and enable everytime the screen turns off.
edit2: actually had my value too low for bln, works for me if it is >1000
Click to expand...
Click to collapse
This mod should not have any effect on bln etc.
batting1000 said:
When I do that I get a boot loop immediately after pasting the apk
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
You are supposed to flash these zips in recovery.

I'm using:
Rom:[ROM][25.11.2011] Brainmaster's tweaked ICS MIX v5
Kernel:[KERNEL][25 NOV] franco.Kernel | ICS
Mod:[MOD] Enable on-screen buttons in ICS roms (Kwiboo / Koush)
I'm getting GREAT results. Exchange does FC when it boots up but after that, it's been SMOOTH sailing!
I'm 7.5 hours deep into my battery today and I've used Google wallet 3 times, made a few phone calls and sent 2-3 dozen texts... Still have 77% battery using 100-1000 Conservative... This is PHENOMENAL!!!
GREAT WORK ALL!!!

Related

Task Switcher - VOTE for your favorite key config

EDIT: Jnadke has used the 'Back' key to access the last used programs menu. http://forum.xda-developers.com/showthread.php?t=668267
How do I access the task switcher? long pressing 'home' just takes me back to the home screen.
EDIT: Vote for your favorite task switcher key config and maybe we can get dzo to smile upon us
#1 - Long Press Pwr
{
"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"
}
------------------
#2 - Long Press Green
------------------
#3 - Red + Camera
mrono said:
How do I access the task switcher? long pressing 'home' just takes me back to the home screen.
Click to expand...
Click to collapse
that used to be with the old keymapping
inertone said:
that used to be with the old keymapping
Click to expand...
Click to collapse
isnt it long hold of the menu key now?
thoughtlesskyle said:
isnt it long hold of the menu key now?
Click to expand...
Click to collapse
that flips the screen, which I pretty much never use
I didn't even know there is a task switcher that comes with Myn's build. I use Taskpanel, I don't think there is a short cut key for switching task.
i didnt know either - i use advanced task manager to close programs then just relaunch from home
task switcher would be nice
its built into android
get your hands on any android phone and long hold the home button
a little task switcher comes up
i guess with the new keymapping it disables it
i wonder if myn could incorporate this into his next build
or i think it'd have to be dzo in the next NBH file or something
yeah, there is a built in task switcher, but you need a hardware key to activate it. as previously stated, we used to have a hardware key mapped to it, but no longer. i used to use a combination of NotifTS and Task Switcher (by Tools), which worked pretty well (notifTS gave a notification bar shorcut for Task Switcher, which is a pretty slick customizable task list). Anyone have any other good suggestions?
tatnai said:
yeah, there is a built in task switcher, but you need a hardware key to activate it. as previously stated, we used to have a hardware key mapped to it, but no longer. i used to use a combination of NotifTS and Task Switcher (by Tools), which worked pretty well (notifTS gave a notification bar shorcut for Task Switcher, which is a pretty slick customizable task list). Anyone have any other good suggestions?
Click to expand...
Click to collapse
free advanced task manager on market. It does it all.
I'm a memory nazi - it would be nice to be able to access the built in one lol. I do have the pay version of advanced task manager cuz I'm such a high roller lol
it's a great task killer/manager. but a great task switcher, IMO, is one that takes the fewest clicks to switch between apps, can be accessed while in another app, and is fast - you can't be waiting two, three seconds waiting for the app list to pop up. two actions to change to another app is ideal (one to activate switcher, one to select app), but without a hardware key mapped, this is hard to do.
EDIT: my synopsis: taskpanel, ATK, and notifTS + task switcher are equivalent on number of clicks. notifTS + TS takes a second longer to load, I think because the program isn't actively running (taskpanel, ATK take longer than notifts+TS the first time you click them, then they are super fast, I think they are keeping a process going in the background). on mssmison's rom which actively shuts down apps, the only one that really shows me anything to switch to is notifts+ts, because it can be set to show running and recent apps. so, pick your poison .. .
aside, if you want a task killer, taskpanel and taskiller give you autokill options, and taskiller gives a kill after boot option, taskiller is my pick. taskiller, however, does not allow you to switch to a task with one click (you have to long click) so it loses as a task switcher for that reason alone.
Try TaskOS beta for a one app task switcher like notifTS + TS, has worse lag though, but very customizable (icon size, etc).
berardi said:
I'm a memory nazi - it would be nice to be able to access the built in one lol. I do have the pay version of advanced task manager cuz I'm such a high roller lol
Click to expand...
Click to collapse
me too but the free one is sufficient
tatnai said:
it's a great task killer/manager. but a great task switcher, IMO, is one that takes the fewest clicks to switch between apps, can be accessed while in another app, and is fast - you can't be waiting two, three seconds waiting for the app list to pop up. two actions to change to another app is ideal (one to activate switcher, one to select app), but without a hardware key mapped, this is hard to do.
Click to expand...
Click to collapse
you can access the task wsitcher at all times in notifacation bar.
tatnai said:
it's a great task killer/manager. but a great task switcher, IMO, is one that takes the fewest clicks to switch between apps, can be accessed while in another app, and is fast - you can't be waiting two, three seconds waiting for the app list to pop up. two actions to change to another app is ideal (one to activate switcher, one to select app), but without a hardware key mapped, this is hard to do.
Click to expand...
Click to collapse
Yeah, that's why I don't bother keeping ATM open =/
I wonder does anyone actually use landscape mode? but if we had to hold and wait for the task switcher to popup it would probably be annoying anyways..
berardi said:
I wonder does anyone actually use landscape mode? but if we had to hold and wait for the task switcher to popup it would probably be annoying anyways..
Click to expand...
Click to collapse
to tell you the truth
i HIGHLY doubt it
apps that need landscape automatically switch by themselves
berardi said:
I'm a memory nazi - it would be nice to be able to access the built in one lol. I do have the pay version of advanced task manager cuz I'm such a high roller lol
Click to expand...
Click to collapse
But can you assign it with a button? So that I can jump out of full screen apps like gps.
Re: Task Switcher
I'm a memory nazi - it would be nice to be able to access the built in one lol. I do have the pay version of advanced task manager cuz I'm such a high roller lol
Click to expand...
Click to collapse
But can you assign it with a button? So that I can jump out of full screen apps like gps.
Click to expand...
Click to collapse
afaik we have nothing that can launch from a button right now. holy grail for task switching on Vogue, we had now we just need to get it back.
Re: Task Switcher
I wonder does anyone actually use landscape mode? but if we had to hold and wait for the task switcher to popup it would probably be annoying anyways..
Click to expand...
Click to collapse
to tell you the truth
i HIGHLY doubt it
apps that need landscape automatically switch by themselves
Click to expand...
Click to collapse
i use it when using navigation and at times while web browsing. if we got rid of the button we'd have to get an icon to click to switch.
tatnai said:
i use it when using navigation and at times while web browsing. if we got rid of the button we'd have to get an icon to click to switch.
Click to expand...
Click to collapse
well i must admit
browsing is awesome landscape!!
i think there's a widget that does that...
ima go look for it
inertone said:
well i must admit
browsing is awesome landscape!!
i think there's a widget that does that...
ima go look for it
Click to expand...
Click to collapse
yeah ive tried to find a screen oreintation switch app but never had any luck. if you find it let us know. thanks

Is it possible to replace the menu button with the ICS Task Manager/Multitasker?

Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
joshnichols189 said:
Why not just hold the home button to bring up recent apps..
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
Agree. Home buttons degrade and break.
pachi72 said:
Cuase holding the home button for 1 or 2 seconds its not better than just pressing the menu button.
Click to expand...
Click to collapse
VTEChump said:
Agree. Home buttons degrade and break.
Click to expand...
Click to collapse
Yep, and because given the choice, I'm sure most will opt to use it this way. the menu button is getting deprecated as a hardware button and being implemented more and more inside applications.
Hopefully some more ICS ROM devs will see this and review this suggestion. I would love to know what they have to say about it.
I wouldnt mind a widget to do it either. That shouldnt be to hard to do.
moyajaya said:
Is it possible to replace the menu button with the ICS Task Manager/Multitasker? like in the galaxy Nexus? I think even the icon looks similar in a way to a list of apps. This would be useful especially since ICS deals with this perfectly by showing a menu button when it doesn't detect it as a hardware button.
What do you guys think about this idea?
Click to expand...
Click to collapse
+1.
Regards.
This was the first thing I wanted to do after installing ICS. The capacative buttons are mapped in /system/usr/keylayout/melfas-touchkey.kl;
Code:
key 158 BACK WAKE
key 139 MENU WAKE
I'm just not sure what to replace 'MENU' with. 'TASK'?
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
bootlessjam said:
Hate to double post but I thought I'd share what I've discovered.
I tried replacing 'MENU' with 'APP_SWITCH' in melfas-touchkey.kl and sec_touchkey.kl and got the menu button to act just like the recents button, however there was then no way to access the menu
I had a brief look at the android source code and it looks like the value that decides to show the action overflow button in the toolbar is set depending whether the on screen buttons are being used. Not at all sure about that though and I've seen the new HTC one phones have a hardware recents button replacing the menu so it can't be impossible.
Click to expand...
Click to collapse
Thank you for trying this and letting us know about the results. I was thinking if all fails maybe the search option that appears when you click and hold the menu button could be replaced with the menu?
Clicking the Old menu button = New app switcher
Holding the old menu button = Menu
how about that? I think most apps include a search icon if/when they include search functionality.
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
bootlessjam said:
Had a brainwave today and got it 90% there. I decompiled framework-res.apk and enabled the navigation bar AND resized it to 0. This means the action overflow button shows up in apps without the galaxy nexus-like software keys getting in the way. I then remapped the menu key and it is working like a charm
Of course then there is the little issue of bringing up the menu when using a pre honeycomb app. The simplest solution for me was to use the pen's button+swipe up gesture. This isn't ideal and doesn't even work for people using CM9 or stock ICS.
Here is the modified framework-res for the Team Rocket ROM v1.5:
dl.dropbox dot com/u/2340506/navbarhidden.zip
These forums don't trust me with links
Install with CWM recovery. Don't use it on any other ROM! I can't even guarantee it'll work on every team rocket rom. I'm too lazy to load every ICS ROM but if you post your framework-res.apk I can edit it for you.
After you can remap the hardware keys in /system/usr/keylayout/melfas-touchkey.kl and /system/usr/keylayout/sec_touchkey.kl like I mentioned earlier with Root Explorer or ES File Explorer. I have it set up to mimic the HTC one phones and the galaxy nexus's layout, since I keep the key lights off.
Hopefully this is useful to people. A better way to access the menu on old apps should be easier to do once people start tinkering with the HTC one phones.
Click to expand...
Click to collapse
Great finds! Thumbs up!
Thank you for your efforts!
I would love to try those but I moved back to Gingerbread for the time being. ICS in the note is far from being a daily driver for me. A lots of bugs and battery drains compared to Gingerbread. Hopefully this will change quickly. I trust the dev community and i'm sure they'll beat samsung in having stable ICS releases...
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
moyajaya said:
Back to ICS. Using ICS Stunner 4.3 ROM with the new LP5 kernel and modem. This setup is simply stunning. Best ROM I've tried so far.
Back to subject, how can the process go for AOSP ROMs? Like this one I'm using...
Anyone found any other way around this? Thanks !
Sent from my GT-N7000 using Tapatalk 2 Beta-5
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1450138
I looked into doing the same thing as you did only because I love the tablet layout and holding the home button doesn't bring it up.
In order to get what you and a few others would want on select roms, the source for the framework would have to be adjusted as said in the thread, meaning each dev would have to implement this independently.
The second thing is alread mentioned in this thread, which is changing the key layout.
You can hope that the dev has no issues with inserting it into their build.
NOT changing the source but editing the key layout will only bring up the a Gingerbread styled task switcher. I've tried ;_;
I personally might I add, would just love the same hold the home button functionality while in tablet mode.
evilisto said:
1) change source code related to APP_SWITCH keycode.
platform/frameworks/base/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
from :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0) {
showOrHideRecentAppsDialog(RECENT_APPS_BEHAVIOR_SHOW_OR_DISMISS);
}
return -1;
}
to :
Code:
} else if (keyCode == KeyEvent.KEYCODE_APP_SWITCH) {
if (down && repeatCount == 0 && !keyguardOn) {
try {
mStatusBarService.toggleRecentApps();
} catch (RemoteException e) {
Slog.e(TAG, "RemoteException when showing recent apps", e);
}
}
return -1;
}
2) edit your keylayout files..
/system/usr/keylayout/
for example, if you want to use search key to recent apps on nexus s...
cypress-touchkey.kl
Code:
key 139 MENU VIRTUAL
key 102 HOME VIRTUAL
key 158 BACK VIRTUAL
key 217 APP_SWITCH VIRTUAL
and mxt224_ts_input.kl (it would be better to edit both files..)
Code:
key 158 BACK WAKE
key 139 MENU WAKE
key 217 APP_SWITCH WAKE
key 102 HOME WAKE
Click to expand...
Click to collapse

I hated my nexus and what I did to it

At first I hated(maybe that hated word is causing all the troll hate response, I just didn't really like it although I am fine with it) pretty much everything about the nexus, the onscreen softkey, the google now spot(even when search bar is remove), power button, lockscreen, the stock 4.2 software. It was missing feature that I would like such as different wallpaper on lockscreen, vibrate setting, led, etc. I did not want the phone at all. But I am stuck with it for the next 2 month. I decide to change all the stuff I could. Reason I got a nexus was because my bro order it and have to go out of country before the nexus arrive. I gave my s3 for him to use.
First was the power button, it was not parallel to the volume up button. I had to adjust my hand everytime to turn on the screen and readjust it to unlock my phone. I remapped the power button to the volume up button, I also map the back key to the volume down and the home key to the power. I use GMD gesture app to adjust the volume.
The lockscreen also suck, you can't change wallpaper, etc. There's also the black navbar on the bottom which have no use. Now some will say it's for the google now. Even if you don't use the google now and disable it. The bar is still there. So what the heck. Android is no different then ios. In stock they are both limited to what they want you to change. Just that Android have some more feature. I use widgetlocker to remedy to lockscreen issue.
Next is the softkey or navigation bar. It was bigger then I like and taking up the screen. The actual usable screen was shrunk. It was only a bit taller then the iphone 5. One reason I don't like iphone is because of the screen size. I use hidebar app to disable both the navbar and the status bar. I use GMD gesture to map the home button as a swipe up motion from the middle bottom screen. Back at the bottom left.
And the homescreen, there was no unread dot on the message or phone application. Only on the status bar does it tell you. The home screen also have the stupid google now bar. Even when remove, the space is still there. You can't put icon or widget there. Which is stupid. I had to use apex launcher to fix the stock android home screen and give me my unread dot back.
See how limited stock android is. They made have the feature but not the option for those feature. For example if they have a feature for vibrate, then I want option to change the vibration. Feature to display subtitle on video, I want option to adjust subtitle size. Led notification feature, I want option to adjust it. Feels like apple to me except you can mod it which is why I like Android.
Other issue I have is the slow Led notification. I use lightflow to fix the slowness of it. One thing the hidebar does is prevent the screen when someone call to appear. What I did was use video caller id. It's better and it works perfectly, you can use 1080p music video as your ringtone. I crop up the video to portrait and the video shows fullscreen unstretch HD quality.
After all that, I'm really liking the nexus now. More then the s3, I just didn't like that I have to do all that to make me like it the nexus unlike my galaxy s3 which is basically stock.
Just go back to iPhone
Sent from my Nexus 7 using xda app-developers app
Me leaving this thread:
{
"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"
}
VSAndroid said:
Just go back to iPhone
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
You mean the S3, I loved that phone.
We hate what you did to the general section in the Nexus 4 forums
Tenji7 said:
I did not plan to get the nexus. My brother had order the nexus but it did not arrive on time since he was going out of country on Thursday of that week. So I gave him my unlocked galaxy s3 and to use his nexus 4 when it arrive. When I got it, I hated pretty much everything about the nexus, the onscreen softkey, the google now spot(even when search bar is remove), power button, lockscreen, the stock 4.2 software. It was missing feature that I would like such as different wallpaper on lockscreen, vibrate setting, led, etc. I did not want the phone at all. But I am stuck with it for the next 2 month. I decide to fix all the stuff I could. I came from a iPhone 4(limited, no feature) to a S3(plenty of feature with some option) to a nexus 4(some feature with no option)
First was the freaking power button, it was not parallel to the volume up button. I had to adjust my hand everytime I turn on the screen and readjust it to unlock my phone. What I did to fix that was mod the mapping of the power button to the volume up button, Now I can turn on the screen and unlock my phone without adjusting my hand. I also map the back key to the volume down and the home key to the power. I use GMD gesture app to adjust the volume.
The lockscreen also suck, you can't change wallpaper, remove the clock and leave the lockscreen blank. There's also the black navbar on the bottom which have no use. Now some will say it's for the google now. Even if you don't use the google now and disable it. The bar is still there. So what the heck. Android is no different then ios. In stock they are both limited to what they want you to change. Just that Android have some more feature. I use widgetlocker to remedy to lockscreen issue.
Next is the softkey or navigation bar. It was too big or taking up the screen. The actual usable screen was shrunk. It was only a bit taller then the iphone 5. One reason I don't like iphone is because of the screen size. I use hidebar app to disable both the navbar and the status bar. I also don't care for the status bar. Now what do I do without the softkey. I use the hardware button I mapped explain above. But that would require moving my thumb too much and far. So I use GMD gesture to map the home button as a swipe up motion from the middle bottom screen. Back at the bottom left. This makes it easy to use the phone, you can use tap or hold gesture too. You might ask what about hitting the keyboard space or other stuff on screen while you do slide up gesture. The GMD have feature to fix that. Nothing will be press when you do your gesture. So I can press the space bar on the keyboard if I wanted to and still swipe my thumb up to go to home without pressing the keyboard space bar.
And the homescreen, there was no unread dot on the message or phone application. Only on the status bar does it tell you. The home screen also have the stupid google now bar. Even when remove, the space is still there. You can't put icon or widget there. Which is stupid. See how limited stock android is. They made have the feature but not the option for those feature. For example you have a feature for vibrate, I want option to change the vibration. Feature to display subtitle on video, I want option to adjust subtitle size. Led notification feature, I want option to adjust it. Feels like apple to me. I had to use apex launcher to fix the stock android home screen and give me my unread dot back. Now with the status bar hidden, I have a clock widget that will be useful since it's the only clock on the home screen without the clock on the status bar. I also have a nice looking signal widget so I know if I am getting edge or 4g, and also a simple battery widget.
Other issue I have is the slow and dim Led notification. I use lightflow to fix the slowness of it, but it's still kinda dim. One thing the hidebar does is prevent the screen when someone call to appear. So when someone call, the screen don't come on so you can't answer. What I did was use video caller id. It's better and it works perfectly, you can use 1080p music video as your ringtone. I crop up the video to portrait and the video shows fullscreen unstretch HD quality.
After all that, I'm liking the nexus. I just hate that I have to do all that to make me like it unlike my galaxy s3 which is basically stock. With the s3 I did not mod anything, or install bunch of app to correct it. If anyone have the same issue and don't like the stock nexus, you try what I did.
Click to expand...
Click to collapse
Dude most people buying this phone, I'd say 99.999%, know that the N4 is stock android and doesn't have all that S3 TouchWiz crap installed. Thats why we are buying it.
Is this for real? Lol
Sent from my Nexus 4 using xda app-developers app
Nice try troll.
kzoodroid said:
Dude most people buying this phone, I'd say 99.999%, know that the N4 is stock android and doesn't have all that S3 TouchWiz crap installed. Thats why we are buying it.
Click to expand...
Click to collapse
This is exactly why Samsung and other OEMs won't go with stock Android. This dude will probably go back because he got used to all that crap.
This is probably a troll anyway.
Compare the Nexus series to a street drag car. You don't take the fully loaded leather model with every feature to make it, you take the barebones most powerful model and start from there. You don't waste the resources removing or compensating for those extras you don't care about or need and have only what you want,... Thats what the Nexus series is. Top notch power running minimal resources providing mod ability and fastest performance at a price that can't be beat.
TL;DR. Nexus is the best, yup.
Thanks for highlighting the power and customization of Android. Everyone wants different features in a phone and you showed that you were able to tweak everything you needed and get the phone working just how you wanted, a true testament to the versatility of Android.
Please sell the NEXUS 4 immediately, buy a used SGS3/iPhone and just go away.
We'll all be happier for it. Jesus...
Sent from my Nexus 4
And no ****s were given that day
Sent from my Nexus 4 using xda app-developers app
i think you will feel the difference when you go back to Touchwiz.
Tenji7 said:
I did not plan to get the nexus. My brother had order the nexus but it did not arrive on time since he was going out of country on Thursday of that week. So I gave him my unlocked galaxy s3 and to use his nexus 4 when it arrive. When I got it, I hated pretty much everything about the nexus, the onscreen softkey, the google now spot(even when search bar is remove), power button, lockscreen, the stock 4.2 software. It was missing feature that I would like such as different wallpaper on lockscreen, vibrate setting, led, etc. I did not want the phone at all. But I am stuck with it for the next 2 month. I decide to fix all the stuff I could. I came from a iPhone 4(limited, no feature) to a S3(plenty of feature with some option) to a nexus 4(some feature with no option)
First was the freaking power button, it was not parallel to the volume up button. I had to adjust my hand everytime I turn on the screen and readjust it to unlock my phone. What I did to fix that was mod the mapping of the power button to the volume up button, Now I can turn on the screen and unlock my phone without adjusting my hand. I also map the back key to the volume down and the home key to the power. I use GMD gesture app to adjust the volume.
The lockscreen also suck, you can't change wallpaper, remove the clock and leave the lockscreen blank. There's also the black navbar on the bottom which have no use. Now some will say it's for the google now. Even if you don't use the google now and disable it. The bar is still there. So what the heck. Android is no different then ios. In stock they are both limited to what they want you to change. Just that Android have some more feature. I use widgetlocker to remedy to lockscreen issue.
Next is the softkey or navigation bar. It was too big or taking up the screen. The actual usable screen was shrunk. It was only a bit taller then the iphone 5. One reason I don't like iphone is because of the screen size. I use hidebar app to disable both the navbar and the status bar. I also don't care for the status bar. Now what do I do without the softkey. I use the hardware button I mapped explain above. But that would require moving my thumb too much and far. So I use GMD gesture to map the home button as a swipe up motion from the middle bottom screen. Back at the bottom left. This makes it easy to use the phone, you can use tap or hold gesture too. You might ask what about hitting the keyboard space or other stuff on screen while you do slide up gesture. The GMD have feature to fix that. Nothing will be press when you do your gesture. So I can press the space bar on the keyboard if I wanted to and still swipe my thumb up to go to home without pressing the keyboard space bar.
And the homescreen, there was no unread dot on the message or phone application. Only on the status bar does it tell you. The home screen also have the stupid google now bar. Even when remove, the space is still there. You can't put icon or widget there. Which is stupid. See how limited stock android is. They made have the feature but not the option for those feature. For example you have a feature for vibrate, I want option to change the vibration. Feature to display subtitle on video, I want option to adjust subtitle size. Led notification feature, I want option to adjust it. Feels like apple to me. I had to use apex launcher to fix the stock android home screen and give me my unread dot back. Now with the status bar hidden, I have a clock widget that will be useful since it's the only clock on the home screen without the clock on the status bar. I also have a nice looking signal widget so I know if I am getting edge or 4g, and also a simple battery widget.
Other issue I have is the slow and dim Led notification. I use lightflow to fix the slowness of it, but it's still kinda dim. One thing the hidebar does is prevent the screen when someone call to appear. So when someone call, the screen don't come on so you can't answer. What I did was use video caller id. It's better and it works perfectly, you can use 1080p music video as your ringtone. I crop up the video to portrait and the video shows fullscreen unstretch HD quality.
After all that, I'm liking the nexus. I just hate that I have to do all that to make me like it unlike my galaxy s3 which is basically stock. With the s3 I did not mod anything, or install bunch of app to correct it. If anyone have the same issue and don't like the stock nexus, you try what I did.
Click to expand...
Click to collapse
Man... I don't know what the F**k you just said, Little Kid, but you're special man, you reached out, and you touch a brother's heart.
FallN said:
Please sell the NEXUS 4 immediately, buy a used SGS3/iPhone and just go away.
We'll all be happier for it. Jesus...
Sent from my Nexus 4
Click to expand...
Click to collapse
If you finish reading what I posted, you'll see that I liked my nexus now. I would not give it up. I don't plan on returning the nexus to my bro when he comes back. Plus I did not like the galaxy s3 back button, it's should have been where the menu button was. And regarding the iPhone, you have to kill me to return to that piece of ****.
What a joke of a post, it's not even as interesting as an iphone troll post.
Some poster here sound a lot like the apple user "don't like what iphone have, go get a android" now I see this "Just go back to iPhone"
PS. I like my nexus now after what I did.
Cool story bro
Sent from my Nexus 4 using xda app-developers app

[MOD][9/23] Replace Menu key with Recent Apps, Long-press Home for Menu

Hi everybody, as you can see, I'm brand new to the community. This is actually my first post after the 10-post newbie threshhold. I'm also new to Android phones, though I've tinkered extensively with my Nook Simple Touch and HD+. I'm excited to be able to contribute my first mod, which addresses one of my few complaints about the stock LG ROM. I'm not a big fan of the permanent menu key, and I much prefer to have a recent apps key at the ready. So I did some digging, some decompiling and some smali hacking, and I've come up with a mod that replaces the Menu key with the Recent Apps key and makes a long-press on the Home key pull up the Menu.
Here's a screenshot:
Launcher:
{
"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"
}
** Update 9/24 **
I fixed a glitch where the recent apps button was smaller than the other buttons when in portrait mode. It should look nice now. If you flashed the earlier one, please grab the v0.2 version of the zip. I've updated all the links below.
I'm including links to two TWRP-able zips, as there are two variations of the mod. The first, RecentAppsKey_v0.2.zip just replaces Menu with Recents and makes a long press on home pull up the menu. The second, RecentAppsKey_with_ellipsis_v0.2.zip also patches framework.odex so that the system reports that there is no permanent menu key, which causes apps to display the "vertical ellipsis" overflow menu in the Action Bar. The downside to using this one is that older apps (and even the Settings app in the stock ROM) will display an ugly Menu button at the bottom of the screen if there's no permanent menu key. Personally I prefer to have the vertical ellipsis menu, but I figured some people wouldn't want it.
Also one other thing to mention is that in the little preview images in the "Front Touch Button" settings you'll still see the menu key. When you select it, the recent apps key will be in whatever position the menu key was supposed to be. Also, this mod plays nice with the various themes, so if you want a "Lovely Pink" recent apps key, I guess it's your lucky day Update: if you change the position of the recent apps button by choosing a new layout in settings, you need to reboot your phone afterwards, otherwise the recent apps button won't do anything! I'm looking into a fix for this, but haven't quite got it yet.
*** Update 9/29: AT&T Version! **
Thanks to the help of users Wesley32 and jug6ernaut, there is now an AT&T version of this mod! Please see the AT&T thread for details.
*** Installation ***
Download the zip you want:
RecentAppsKey_v0.2.zip - Just do the key swap, no overflow menu
RecentAppsKey_with_ellipsis_v0.2.zip - Also add the "vertical ellipsis" overflow menu to the action bar
Update:
As requested by stetsonaw, if you just want the vertical ellipsis action bar menu button and want to leave your nav-bar alone, you can flash VerticalEllipsis.zip which will only patch framework.odex to trick the system into thinking you don't have a permanent menu key. You can still summon the menu from the nav-bar as usual, you'll just also have a button in the nav bar.
To install, just put the zip you want somewhere on your device and reboot into TWRP. Install and reboot and you should be good to go.
*** Reverting ***
If you change your mind and would like to go back to stock, flash RevertRecentKeyMod.zip and it will re-flash the files from the stock rom.
*** Source code ***
Update: 9/25
For developers that would like to include this mod in their work, I've attached the modified sources. There are three zips, one for framework.jar to enable the Action Bar Overflow menu, one for android.policy.jar to change the long-press on home behavior to inject a menu key event, and one for LGSystemUI.apk to swap the buttons. Please let me know if you want more details on what exactly was changed.
Would this affect the black nav bar mod?
Edit: Works great, thanks! Nav bar still black.
http://imgur.com/xUcYRxD
Edit 2: The icon seems small, it that intended?
So if i just want the vertical ellipisis, and not worry about changing the keys, since i am using Auto Hide Softkeys, do i just flash the framework.odex? Or are the SystemUI and android.policy.odex files required as well?
I'm also already running another systemui mod, and don't really want to lose it.
stetsonaw said:
So if i just want the vertical ellipisis, and not worry about changing the keys, since i am using Auto Hide Softkeys, do i just flash the framework.odex? Or are the SystemUI and android.policy.odex files required as well?
I'm also already running another systemui mod, and don't really want to lose it.
Click to expand...
Click to collapse
Here's a zip with just the framework.odex: VerticalEllipsis.zip
The one in the OP will also replace the SystemUI and android.policy.odex, so avoid that one!
It should work fine by itself; it's just a one-byte patch to make ViewConfiguration.hasPermanentMenuKey() return false instead of true.
cheami said:
Would this affect the black nav bar mod?
Edit: Works great, thanks! Nav bar still black.
http://imgur.com/xUcYRxD
Edit 2: The icon seems small, it that intended?
Click to expand...
Click to collapse
Great, I'm glad it worked! The icon does seem a bit small. It's just the icon that's included in the standard SystemUI. My guess is that they didn't bother themeing it to match the others since they knew it would be disabled. There is a copy in each theme bundle, but they all seem to be the same.
sefnap said:
Here's a zip with just the framework.odex: VerticalEllipsis.zip
The one in the OP will also replace the SystemUI and android.policy.odex, so avoid that one!
It should work fine by itself; it's just a one-byte patch to make ViewConfiguration.hasPermanentMenuKey() return false instead of true.
Click to expand...
Click to collapse
Is this suppose to give me recents button but keep the same icon?
If not is there a way to keep LG's button but just turn it into a recents with button overflow.
The zip in the post you quoted won't do anything to your navbar; it just makes apps display the three-dot menu onscreen. The zips in the OP will change the menu key into a recent apps key, including changing the icon. They will also change the behavior of the Home key so that a long-press acts like the Menu key instead of pulling up the recent app switcher.
Sent from my VS980 4G using xda app-developers app
sefnap said:
The zip in the post you quoted won't do anything to your navbar; it just makes apps display the three-dot menu onscreen. The zips in the OP will change the menu key into a recent apps key, including changing the icon. They will also change the behavior of the Home key so that a long-press acts like the Menu key instead of pulling up the recent app switcher.
Sent from my VS980 4G using xda app-developers app
Click to expand...
Click to collapse
First off, Thanks for creating making the mods for us...NICE!!!
Also, thanks for the clarification. Installing now.
sefnap said:
Hi everybody, as you can see, I'm brand new to the community. This is actually my first post after the 10-post newbie threshhold. I'm also new to Android phones, though I've tinkered extensively with my Nook Simple Touch and HD+. I'm excited to be able to contribute my first mod, which addresses one of my few complaints about the stock LG ROM. I'm not a big fan of the permanent menu key, and I much prefer to have a recent apps key at the ready. So I did some digging, some decompiling and some smali hacking, and I've come up with a mod that replaces the Menu key with the Recent Apps key and makes a long-press on the Home key pull up the Menu.
Here's a screenshot:
Launcher:
I'm including links to two TWRP-able zips, as there are two variations of the mod. The first, RecentAppsKey.zip just replaces Menu with Recents and makes a long press on home pull up the menu. The second, RecentAppsKey_with_ellipsis.zip also patches framework.odex so that the system reports that there is no permanent menu key, which causes apps to display the "vertical ellipsis" overflow menu in the Action Bar. The downside to using this one is that older apps (and even the Settings app in the stock ROM) will display an ugly Menu button at the bottom of the screen if there's no permanent menu key. Personally I prefer to have the vertical ellipsis menu, but I figured some people wouldn't want it.
Also one other thing to mention is that in the little preview images in the "Front Touch Button" settings you'll still see the menu key. When you select it, the recent apps key will be in whatever position the menu key was supposed to be. Also, this mod plays nice with the various themes, so if you want a "Lovely Pink" recent apps key, I guess it's your lucky day
*** Notes and words of caution ***
This is currently a Verizon-only mod, as that's the one I've got. I've pulled the relevant files from scrosler's rooted AT&T rom, but there are several differences between the two. I also have no way to test an AT&T version, so I'll be shooting in the dark, as it were. I do plan to work up an experimental AT&T version in the next couple of days, and I'll update this thread with a link when that happens. Hopefully some brave souls can test it out.
Also, I have only tested this on a post-OTA device. I don't think that the OTA changed anything relevant, but if you are on a pre-OTA device, I'd recommend pulling the following files from your phone and checking their checksums. You can use adb to pull them, for example:
Code:
adb pull /system/framework/framework.odex
. Then you can use this tool to add a "Checksums" tab to the Properties dialog you get when right-clicking on a file in Windows Explorer. The checksums for the orignal (unmodified) files are:
/system/app/LGSystemUI.apk -- md5: 9a49826cddfaeaf7cb77fc0e3fe0557e
/system/app/LGSystemUI.odex -- md5: e3da7ff9c4bf400fe15d52f21a610955
/system/framework/android.policy.odex -- md5: cc5ca0e503cc603e30f963d1c0b5cba1
And, if you're using the Vertical Ellipsis zip:
/system/framework/framework.odex -- md5: 1e679588d49f00310f07c3a41e71fc52
If you get something else, this could easily break something! Also, if you are pre-OTA and you try this, let us know how it worked out!
*** Installation ***
Assuming everything checks out, you should be good to go, but I'd recommend doing a backup first, just to be safe.
Download the zip you want:
RecentAppsKey.zip - Just do the key swap, no overflow menu
RecentAppsKey_with_ellipsis.zip - Also add the "vertical ellipsis" overflow menu to the action bar
To install, just put the zip you want somewhere on your device and reboot into TWRP. Install and reboot and you should be good to go.
P.S. if anyone is interested in the technical details, I can write up what exactly I changed. It might have to wait a little bit though; I'm posting this at my toddler's nap time, and that could end any minute
Click to expand...
Click to collapse
I'm guessing this is implied, but should a restore to a backup (after flashing this mod) should revert both the icon and the behavior of the home button? I didn't see a zip that reverses out these mods (I mean to say) so should that be the correct process to reverse the changes?
Would it be possible to have a variant of this mod to change the pull down menu button to the recent apps instead of the menu button? I have added the 4th button to the layout. It is a rectangle with an arrow pointing down.
The order would be: Back, Home, Menu, Recent Apps.
giri0n said:
I'm guessing this is implied, but should a restore to a backup (after flashing this mod) should revert both the icon and the behavior of the home button? I didn't see a zip that reverses out these mods (I mean to say) so should that be the correct process to reverse the changes?
Click to expand...
Click to collapse
Yeah, restoring a backup will revert the changes. An "undo" zip is a good idea though! I went ahead and made one up: RevertRecentKeyMod.zip -- I'll edit the OP to include it. This will just flash the stock files back, and should revert all changes.
Has anyone done this on a Pre-OTA device yet?
beddachedda said:
Has anyone done this on a Pre-OTA device yet?
Click to expand...
Click to collapse
Looks like I will be the Guinea pig.
sefnap said:
Hi everybody, as you can see, I'm brand new to the community. This is actually my first post after the 10-post newbie threshhold. I'm also new to Android phones, though I've tinkered extensively with my Nook Simple Touch and HD+. I'm excited to be able to contribute my first mod, which addresses one of my few complaints about the stock LG ROM. I'm not a big fan of the permanent menu key, and I much prefer to have a recent apps key at the ready. So I did some digging, some decompiling and some smali hacking, and I've come up with a mod that replaces the Menu key with the Recent Apps key and makes a long-press on the Home key pull up the Menu.
Here's a screenshot:
Launcher:
I'm including links to two TWRP-able zips, as there are two variations of the mod. The first, RecentAppsKey.zip just replaces Menu with Recents and makes a long press on home pull up the menu. The second, RecentAppsKey_with_ellipsis.zip also patches framework.odex so that the system reports that there is no permanent menu key, which causes apps to display the "vertical ellipsis" overflow menu in the Action Bar. The downside to using this one is that older apps (and even the Settings app in the stock ROM) will display an ugly Menu button at the bottom of the screen if there's no permanent menu key. Personally I prefer to have the vertical ellipsis menu, but I figured some people wouldn't want it.
Also one other thing to mention is that in the little preview images in the "Front Touch Button" settings you'll still see the menu key. When you select it, the recent apps key will be in whatever position the menu key was supposed to be. Also, this mod plays nice with the various themes, so if you want a "Lovely Pink" recent apps key, I guess it's your lucky day
*** Notes and words of caution ***
This is currently a Verizon-only mod, as that's the one I've got. I've pulled the relevant files from scrosler's rooted AT&T rom, but there are several differences between the two. I also have no way to test an AT&T version, so I'll be shooting in the dark, as it were. I do plan to work up an experimental AT&T version in the next couple of days, and I'll update this thread with a link when that happens. Hopefully some brave souls can test it out.
Also, I have only tested this on a post-OTA device. I don't think that the OTA changed anything relevant, but if you are on a pre-OTA device, I'd recommend pulling the following files from your phone and checking their checksums. You can use adb to pull them, for example:
Code:
adb pull /system/framework/framework.odex
. Then you can use this tool to add a "Checksums" tab to the Properties dialog you get when right-clicking on a file in Windows Explorer. The checksums for the orignal (unmodified) files are:
/system/app/LGSystemUI.apk -- md5: 9a49826cddfaeaf7cb77fc0e3fe0557e
/system/app/LGSystemUI.odex -- md5: e3da7ff9c4bf400fe15d52f21a610955
/system/framework/android.policy.odex -- md5: cc5ca0e503cc603e30f963d1c0b5cba1
And, if you're using the Vertical Ellipsis zip:
/system/framework/framework.odex -- md5: 1e679588d49f00310f07c3a41e71fc52
If you get something else, this could easily break something! Also, if you are pre-OTA and you try this, let us know how it worked out!
*** Installation ***
Assuming everything checks out, you should be good to go, but I'd recommend doing a backup first, just to be safe.
Download the zip you want:
RecentAppsKey.zip - Just do the key swap, no overflow menu
RecentAppsKey_with_ellipsis.zip - Also add the "vertical ellipsis" overflow menu to the action bar
Update:
As requested by stetsonaw, if you just want the vertical ellipsis action bar menu button and want to leave your nav-bar alone, you can flash VerticalEllipsis.zip which will only patch framework.odex to trick the system into thinking you don't have a permanent menu key. You can still summon the menu from the nav-bar as usual, you'll just also have a button in the nav bar.
To install, just put the zip you want somewhere on your device and reboot into TWRP. Install and reboot and you should be good to go.
*** Reverting ***
If you change your mind and would like to go back to stock, flash RevertRecentKeyMod.zip and it will re-flash the files from the stock rom. Again, these files are from the post-OTA ROM, so if you're pre-OTA and my mod broke your phone, this won't fix it! In that case you'll want to restore from the backup you undoubtedly took before you started.
P.S. if anyone is interested in the technical details, I can write up what exactly I changed. It might have to wait a little bit though; I'm posting this at my toddler's nap time, and that could end any minute
Click to expand...
Click to collapse
Thank you. Nice job!
sefnap said:
If you get something else, this could easily break something! Also, if you are pre-OTA and you try this, let us know how it worked out!
Click to expand...
Click to collapse
Installed and working great pre-OTA.
Works great! I liked the pull down button, a great idea for such a large screen, but having the recent apps button is great too. Coming from a galaxy nexus this is the best of both worlds. Thanks!
What did you modify in the lgsystemui.apk? I would like to incorporate the changes into another modified UI apk. Thanks.
Beaumac said:
Would it be possible to have a variant of this mod to change the pull down menu button to the recent apps instead of the menu button? I have added the 4th button to the layout. It is a rectangle with an arrow pointing down.
The order would be: Back, Home, Menu, Recent Apps.
Click to expand...
Click to collapse
Yeah, that shouldn't be too hard. I'll see what I can work up today if I have time.
BrianTDI said:
What did you modify in the lgsystemui.apk? I would like to incorporate the changes into another modified UI apk. Thanks.
Click to expand...
Click to collapse
I've removed the attached sources zip, as it had the small icon glitch. Please see the OP for a new one!
sefnap said:
Here's a zip with just the framework.odex: VerticalEllipsis.zip
The one in the OP will also replace the SystemUI and android.policy.odex, so avoid that one!
It should work fine by itself; it's just a one-byte patch to make ViewConfiguration.hasPermanentMenuKey() return false instead of true.
Click to expand...
Click to collapse
Got it working by ripping apart the other zip... I couldn't get my phone to download this one. Nonetheless, combined with Auto Hide Softkeys, i have a menu button on the nav bar only when needed, and a menu button in apps built for it! Only problem is some of the LG software, like the settings menu and Phone have a GIANT menu bar/button at the bottom. I can live with that though!
Thanks man!
Screenshots to follow.

[MOD][GUIDE] Disable Softkeys/Enable Navbar *root only*

This guide will help you disable the Samsung softkeys in the bezel, and enable the Google Navbar.
Warning:
If you disable the keys without enabling the navbar, you will lose home and back navigation, and will be stuck in any app you happen to be in.
Requirements:
Root
File manager with root permission (I used Solid Explorer)
To Enable NavBar:
In root file manager:
open "/system/build.prop"
add this line at the bottom of the file
Code:
qemu.hw.mainkeys=0
Reboot to ensure the Navbar is enabled before moving on
To Disable Softkeys:
In root file manager:
open "system/usr/keylaout/Generic.kl"
This file contains all keymapping. Search for the following keys (158 and 254) and comment them out with a # symbol. They will look like the following:
Code:
# key 158 BACK
# key 254 APP_SWITCH
In root file manager:
open "system/usr/keylaout/gpio-keys.kl"
This file contains all physical buttons. Comment out 172 with a # symbol. It will look like the following:
Code:
# key 172 HOME WAKE
Disable Softkey Backlight:
The Backlight can be disabled in Settings:
Settings: Display: Advanced (section): Touch key light duration: Always off
I found during my testing that sometimes the "Touch key light duration" setting would disappear completely. My original method also included hiding "key 172 HOME" from the Generic.kl, and this seemed to cause that setting to leave. The Home key does not need to be removed in Generic.kl since we are removing it in gpio-keys, so this works out better.
Xposed Framework Alternative:
I was able to make all the changes using Xposed as well, but I found these are simple enough changes without it. Disabling the buttons with "XPosed Additions" also was much less reliable.
MoDaCo Toolkit: System UI: Show navigation bar
XPosed Additions: Buttons
sources:
http://brandtkrueger.wordpress.com/...ation-buttons-on-the-galaxy-s3-requires-root/
http://forum.xda-developers.com/showthread.php?t=2301429
http://forum.xda-developers.com/showpost.php?p=50636011&postcount=4
the.joeba said:
This guide will help you disable the Samsung softkeys in the bezel, and enable the Google Navbar.
Warning:
If you disable the keys without enabling the navbar, you will lose home and back navigation, and will be stuck in any app you happen to be in.
Requirements:
Root
File manager with root permission (I used Solid Explorer)
To Enable NavBar:
In root file manager:
open "/system/build.prop"
add this line at the bottom of the file
Code:
qemu.hw.mainkeys=0
Reboot to ensure the Navbar is enabled before moving on
To Disable Softkeys:
In root file manager:
open "system/usr/keylaout/Generic.kl"
This file contains all keymapping. Search for the following keys (158 and 254) and comment them out with a # symbol. They will look like the following:
Code:
# key 158 BACK
# key 254 APP_SWITCH
In root file manager:
open "system/usr/keylaout/gpio-keys.kl"
This file contains all physical buttons. Comment out 172 with a # symbol. It will look like the following:
Code:
# key 172 HOME WAKE
Disable Softkey Backlight:
The Backlight can be disabled in Settings:
Settings: Display: Advanced (section): Touch key light duration: Always off
I found during my testing that sometimes the "Touch key light duration" setting would disappear completely. My original method also included hiding "key 172 HOME" from the Generic.kl, and this seemed to cause that setting to leave. The Home key does not need to be removed in Generic.kl since we are removing it in gpio-keys, so this works out better.
Xposed Framework Alternative:
I was able to make all the changes using Xposed as well, but I found these are simple enough changes without it. Disabling the buttons with "XPosed Additions" also was much less reliable.
MoDaCo Toolkit: System UI: Show navigation bar
XPosed Additions: Buttons
sources:
http://brandtkrueger.wordpress.com/...ation-buttons-on-the-galaxy-s3-requires-root/
http://forum.xda-developers.com/showthread.php?t=2301429
http://forum.xda-developers.com/showpost.php?p=50636011&postcount=4
Click to expand...
Click to collapse
Does this retain the features of the fingerprint scanner? I know it probably does as though it is in the home button it is technically a separate piece of hardware but it is worth having it laid out clearly.
HughesNet said:
Does this retain the features of the fingerprint scanner? I know it probably does as though it is in the home button it is technically a separate piece of hardware but it is worth having it laid out clearly.
Click to expand...
Click to collapse
I just tried it, and I can confirm it works. It's a bit tricky though, because now the Home button on the Navbar is directly above it on the screen.
Is it possible to switch the orientation of the buttons on the Navbar? example being the Task Manager button is now on the right of the home button and the back button is on the left, but I would like to switch them to be in the same orientation as the Softkeys.
Not threadcrapping, but just curious??? Why do people want to lose screen real estate with a nav bar when we have it below the screen?? Just curious.
suzook said:
Not threadcrapping, but just curious??? Why do people want to lose screen real estate with a nav bar when we have it below the screen?? Just curious.
Click to expand...
Click to collapse
I wanted this so that when I turn the tablet to portrait mode the keys are always on the bottom.
suzook said:
Not threadcrapping, but just curious??? Why do people want to lose screen real estate with a nav bar when we have it below the screen?? Just curious.
Click to expand...
Click to collapse
I only use my tab in landscape mode with Thumb keyboard and getting to the back button with my thumb is a stretch. This won't help me though until I can get it moved to the corner like you can with cm11. The buttons being built into the bezel was actually my biggest concern with buying this.
Disable softkeys and backlight is cool for sure but instead of navigation keys just download "LMT PIE" controls apk and enable left,right, bottom edges.
I use a Nexus 5 phone and picked up screen real estate as the Nexus line don't have softkeys below in the boarder
Nexus 5 via Tapatalk
Do like the old HTC Flyer and have two sets of backlit keys lighting the set that applies for the rotation.
Screen shot anyone?
==========================screenshot right here=======================
{
"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"
}
And, any problems after? yes, small one right here. it blocks a part of the time on the lock screen.
see that 2:50PM??
but anyway this is not a problem for me. I am okay with it.
Also u can no longer taking a screen shot by pressing the power+home. You will need to press the power+volume down.
Q: anyone know how to change the position of that on screen BACK and APP SWITCH buttons? I mean they are the way too much to the left and right. I prefer the one that shows on the Nexus10.
suzook said:
Not threadcrapping, but just curious??? Why do people want to lose screen real estate with a nav bar when we have it below the screen?? Just curious.
Click to expand...
Click to collapse
I mainly use the tablet to read comics (in portrait mode). To do the very small bezel (one of my favorite features!), I found myself constantly hitting the buttons with my thumbs. The NavBar is always oriented on the bottom of the tablet, so this doesn't happen.
Also, anytime you use a full screen application (if the App is written correctly) the NavBar hides itself completely, and reappears with a swipe from the bottom upwards.
ksj0823 said:
Q: anyone know how to change the position of that on screen BACK and APP SWITCH buttons? I mean they are the way too much to the left and right. I prefer the one that shows on the Nexus10.
Click to expand...
Click to collapse
You can use the Xposed framework and module "Xperia/AOSP NavBar Buttons" which puts the buttons much closer together, especially if you enable search and menu buttons (see attached rescaled screenshot). There was a problem with alignment in landscape on my Tab S 8.4 but the author very quickly sorted that, I assume it would work OK on the 10.5 too.
Armpowered said:
You can use the Xposed framework and module "Xperia/AOSP NavBar Buttons" which puts the buttons much closer together, especially if you enable search and menu buttons (see attached rescaled screenshot). There was a problem with alignment in landscape on my Tab S 8.4 but the author very quickly sorted that, I assume it would work OK on the 10.5 too.
Click to expand...
Click to collapse
This module didn't work for me. All installed but would not show soft keys after numerous reboots
finger said:
This module didn't work for me. All installed but would not show soft keys after numerous reboots
Click to expand...
Click to collapse
The module doesn't enable the softkeys, it just positions them better. To enable them you need to do what it says at the beginning of the thread or might be able to do so with the Gravity Box Xposed module.
Armpowered said:
The module doesn't enable the softkeys, it just positions them better. To enable them you need to do what it says at the beginning of the thread or might be able to do so with the Gravity Box Xposed module.
Click to expand...
Click to collapse
**** my bad, didn't read it thoroughly enough. Thanks
Any link to that xposed module? Thanks
Sent from my SM-N900 using Tapatalk
zelduy said:
Any link to that xposed module? Thanks
Click to expand...
Click to collapse
Just search for "Xperia/AOSP NavBar Buttons" within Xposed Installer in download section.
Would it also be possible to have the softkeys ONLY in portrait mode?
I have the Tab S 10.5, and usually use it in landscape mode, where the hard buttons are on the bottom as usual. In this state, I don't need softkeys. Sometimes, I'm holding it in portrait mode, and ONLY WHEN I DO SO, I'd like to have softkeys at the bottom side.
Any way to make this happen?
You may want to consider some sort of Pie Controls. This won't disable the hardware keys, or enable the default Android softkeys, but it will give you easier access to things like Home and Back.
I can't remember what app I used in the past for this, but if you can't find something I can look it up when I'm home. I know it wasn't actually called "Pie Controls" though.
I suggest using GMD gesture control, instead of the buttons. Much quicker and more convenient. Needs root though.

Categories

Resources