I logged out and logged in again and it now looks ok!!
anyway, Attached to the post is the .rar that contains your framework-res.apk, you will need to replace this yourself. Either create a flashable zip, or adb it over. You can try root explorer, but some people (see last post yesterday) say it can cause issues! Obviously untested by me, so please do take a backup (either nandroid or of your framework-res.apk)...
I just decompiled and recompiled (without any modification) using this apktool attached to this post... I then made the changes and compiled again, with no errors (again!)
Hello,
I followed this guide and successfully added the on screen buttons to my CM9 build. However, i just want to ask, if there is a way i just get the Menu key, home key and the back key?
Hello,
I followed this guide and successfully added the on screen buttons to my CM9 build. However, i just want to ask, if there is a way i just get the Menu key, home key and the back key?
Thanks. Also, thanks for the amazing guide.
So you want to remove the "Recent Apps" key - or replace it with a Menu button that is there full time?
If you want menu key there all the time, it will show on lockscreen too, all the time!!
Dont Forget to Hit the Thanks Button
Creator of
Sign Up Today To Bring Your Idea To Android
Check out - www.mattman.org - for all below downloads + more!
So you want to remove the "Recent Apps" key - or replace it with a Menu button that is there full time?
If you want menu key there all the time, it will show on lockscreen too, all the time!!
Yeah i wish i could get only those three keys (Used to samsung's key layout) . I guess i will have to stick with AOKP then. Anyways, thanks for the amazing guide. Very easy to understand for a guy (like me) who never tried modding!
Yeah i wish i could get only those three keys (Used to samsung's key layout) . I guess i will have to stick with AOKP then. Anyways, thanks for the amazing guide. Very easy to understand for a guy (like me) who never tried modding!
No no, you cando it... just the menu key will always show (unless you built from source, and can modifiy it yourself)...
Decompile SystemUI.apk - navigate to res/layout/navigation_bar.xml, and then you'll see all the xml writing...
The first linear layout is the first set of keys...
Highlighted below - Blue is Back, Red is Home, Sky Blue is Recent Apps, Magenta is Menu... The ones inbetwwen are spacing...
Obiously below is not a smiley, it is just that it is easier to view in quote tags than code tags!
No no, you cando it... just the menu key will always show (unless you built from source, and can modifiy it yourself)...
Decompile SystemUI.apk - navigate to res/layout/navigation_bar.xml, and then you'll see all the xml writing...
The first linear layout is the first set of keys...
Highlighted below - Blue is Back, Red is Home, Sky Blue is Recent Apps, Magenta is Menu... The ones inbetwwen are spacing...
Obiously below is not a smiley, it is just that it is easier to view in quote tags than code tags!
You will need to play around with and make it all look how you want, you can delete, add or change how you want it!!
See the below screen shots I had of my old desire, with added buttons in too!
Need any help, feel free to post, I'll see if I can help!!
Hey man, thanks for your help. appreciate it a lot!
I will modify the script as per you told me in your last post but first, i gotta solve the problems i have been having after compiling. I made edits to framework, compiled, and signed (it's not needed i guess) the apk.
After this, i booted to recovery, cleared dalvik cache, clear system data, and then pushed the Apk via Adb. And after it boots up, i can see the nav bar and even use it. but the trebuchet and android keyboard got FC. Did push and install nova via adb so i can work it, but nothing works. Everything FCs. Any solution?
Also, I read in this thread that the framework-res could be buggy. How can i know if it's buggy or not? I have attached the apk in this post below. Thanks for your help!
Do you know if the permissions are correct? Maybe fix permissions in recovery?
Also, I have never ever signed any system app, just alway leave the signatures in place.. that could be it..? Maybe try again with signing?
Sent from my HTC One X using xda premium
Dont Forget to Hit the Thanks Button
Creator of
Sign Up Today To Bring Your Idea To Android
Check out - www.mattman.org - for all below downloads + more!
Do you know if the permissions are correct? Maybe fix permissions in recovery?
Also, I have never ever signed any system app, just alway leave the signatures in place.. that could be it..? Maybe try again with signing?
Sent from my HTC One X using xda premium
Thanks for your help so far man!! It looks promising! I'll try It as soon as i reach home.
After looking for errors and compiling the framework again and again for nearly 6 hours restlessly, I finally managed to get it working without errors!! Works well and finally i can use the most stable ROM for my device easily (Capacitive keys are broken). I was pushing the framework-res to ROM zip and setting compression mode to normal, instead of store mode. Silly me!
And for the most amazing part, i asked how can i mod them to show menu keys at all times. Well, now, I don't need it anymore. As soon as i enable the navbar, CM9 gives me an option in system settings to customize what keys would i like to have in navbar. Awesome stuff!
Thanks mattmanwrx for your help! Thanks evilisto for this amazing guide.
Most of us take the simple act of waking up our devices and having a quick glance at the … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?