XNepster / oxygen-for-p500

Automatically exported from code.google.com/p/oxygen-for-p500
https://github.com/lixar/robolectric
0 stars 0 forks source link

navigation bar / softkeys in status bar #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Why was the navigation bar disabled on this ROM? There are not even softkeys on 
the status bar :( please have some consideration for cellphone users who 
sometimes drop their phones on the toilet (my hardware keys don't work because 
of this)

I tried enabling them by editing the framework but I'm new to this and the 
framework has a weird .odex format...

Please, please for the love of God enable this feature ;- ;

Thanks.

Original issue reported on code.google.com by zeratos1...@gmail.com on 20 Oct 2012 at 2:31

GoogleCodeExporter commented 9 years ago
I'm not going to add a feature to enable this. If you can edit the 
framework-res then go right ahead...

Original comment by mihai.an...@gmail.com on 20 Oct 2012 at 8:31

GoogleCodeExporter commented 9 years ago
I can edit the framework-res, but don't I need to edit the framework.odex for 
the modification to work? Furthermore, there are no lines about the navigation 
bar on the vool.xml file on your framework-res :/

Well, sorry to bother you and thanks for the answer.

Original comment by zeratos1...@gmail.com on 21 Oct 2012 at 4:50

GoogleCodeExporter commented 9 years ago
I edited the framework-res.apk, changed the settings required for the 
navigation bar to work, it doesn't work, it gives a bootloop. :/

Original comment by zeratos1...@gmail.com on 21 Oct 2012 at 6:23

GoogleCodeExporter commented 9 years ago
Ok so I did a little research and the navbar is not disabled in the rom. BUT...
The config_showNavigationBar is NOT in values/bool.xml but in values/config.xml

Also the odex file is created when making an "odexed" rom. Grab the android 
kitchen and deodex it... it will put the odex file back in the apk. I don't 
know why you have an odex file in your rom because my rom is not odexed. That 
is quite weird...
Just to be on the safe side grab framework-res.apk from the zip file and modify 
it.

Now a question to you since this just popped in my mind... Are you sure you are 
using the ICS version of the rom? The ICS version in deodexed BUT the GB 
version is odexed...

Original comment by mihai.an...@gmail.com on 21 Oct 2012 at 7:54

GoogleCodeExporter commented 9 years ago
There is no config.xml in the values folder :/

I did a search in all the folders and there is no "config.xml" on the 
framework-res.apk from the oxygen-for-p500_1.0.0 ROM. :/

About the odex thing it seems I was trying to edit the 2.8 version (GB), with 
no luck.

Original comment by zeratos1...@gmail.com on 21 Oct 2012 at 9:17

Attachments:

GoogleCodeExporter commented 9 years ago
Try this one...

Be sure to clear dalvik and cache after pushing to the phone.

Original comment by mihai.an...@gmail.com on 21 Oct 2012 at 9:37

Attachments:

GoogleCodeExporter commented 9 years ago
It worked like a charm, thanks a lot for this. :D

Could I ask you what files do I need to edit in order to add the menu button on 
the navigation bar? I have only two working buttons on my phone and I keep 
remapping them in order to keep using the phone. ._. !

Original comment by zeratos1...@gmail.com on 21 Oct 2012 at 10:38

Attachments:

GoogleCodeExporter commented 9 years ago
I have no idea... I think it's a bit more complex than editing one file...

Original comment by mihai.an...@gmail.com on 21 Oct 2012 at 7:08

GoogleCodeExporter commented 9 years ago
NVM, the button is there, it just changes to a 3 squares animation on apps and 
stuff, thanks for taking your time to help me. (:

Original comment by zeratos1...@gmail.com on 21 Oct 2012 at 9:03

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi guys, this procedure is always good for the 1.1.0 version of this rom? If 
not, someone can write a little "how to" and I will try to do this on my own. 
Thank you very much for your help.

I think that the navigation bar is the only thing that lack in this rom, if you 
want to add it in your rom, I think that a lot of people appreciate it.

Mihai, a special thanks for all your hard work, your rom is awesome!

(Sorry for my English, I do my best.)

Original comment by dannycoo...@gmail.com on 9 Dec 2012 at 7:48

GoogleCodeExporter commented 9 years ago
I enjoyed the discussion above and share your concern for inclusion of nav bar 
in Oxygen ICS 1.1.0 ROM. Did you get a solution, if so please help me to 
resolve the issue.

Original comment by dasd...@gmail.com on 15 Feb 2013 at 5:34

GoogleCodeExporter commented 9 years ago
Yes, he gave me a modified framework that enabled the navigation bar, let
me get home and I'll upload it for you, if you can't wait you can use the
LMT launcher, it enables the PIE control and it works better than the
navigation bar anyways. :D

Original comment by zeratos1...@gmail.com on 21 Feb 2013 at 6:26

GoogleCodeExporter commented 9 years ago
Here is the modified framework he gave me:

http://oxygen-for-p500.googlecode.com/issues/attachment?aid=1290006000&name=fram
ework-res.apk&token=KI-BM8qLjxzvhcm74BmR3oDwQKo%3A1361600029143

it's the same he uploaded.

2013/2/21 gato miau <zeratos1984@gmail.com>

Original comment by zeratos1...@gmail.com on 23 Feb 2013 at 6:15