yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] revolt1:
menus home back 30p please in portrait and landscape
[Samsung Galaxy Nexus] scream944:
can someone make "recent-home-back-menu" nav bar for me?

Thanks!
[Samsung Galaxy Nexus] mottchew:
Recents button not working on "menu back home recent search" v2 by the way.

Also, I would love this with battery percent circle mod too.
[Samsung Galaxy Nexus] neok44:
quick question about "menu-BACK-HOME-SEARCH-menu"

does it have long press enabled for recent?
[Samsung Galaxy Nexus] dwang:
+1
[Samsung Galaxy Nexus] digweed4me:
MENU-BACK-HOME-RECENT-SEARCHv2.zip

When i press recent navbar took me to like gingerbread recent apps and i cant kill it.
[Samsung Galaxy Nexus] andrew.matten:
hey i was just wondering if you can compile my SystemUI i tried to compile it but it doesn't work
[Samsung Galaxy Nexus] Jiia:
404 on the file. I had some problems with compiling and here's how it finally worked.

1. When using the command "apktool if framework-res.apk" ALWAYS use APKTool 1.4.2 because if you use 1.4.3 your built apk's will not work.

2. When decompiling and building SystemUI, use 1.4.3.

3. When you've compiled your SystemUI, find the original SystemUI.apk and copy these files to the root of your new SystemUI.apk.

- META-INF

- resources.apk

- classes.dex

- AndroidManifest.xml

4. Now just push the file and all should be good.

If you get errors during compilation see the error messages to find out what you did wrong.
[Samsung Galaxy Nexus] mistm:
I couldnt get it working... got System FC. I tried to make my own layout: BACK, HOME, RECENT, SEARCH, menu
[Samsung Galaxy Nexus] andrew.matten:
hey can you upload the SystemUI because i did what you said it gives me the same problem

thanks

EDIT i got it to work thanks
[Samsung Galaxy Nexus] bobbbyliight:
Loving this forum already. But can I get a home,menu,back and recents? Thanks in advance
[Samsung Galaxy Nexus] simple23227:
Hello, not sure if u r taking requests on smaller dpi, but can i get back-home-recent-menu in 30 dpi, please.

Thanks sooo much.
[Samsung Galaxy Nexus] Nicuz95:
I've a bug, images below.

This is my code: [x]

Images: [1] - [2]

Thanks in advance :D
[Samsung Galaxy Nexus] willl03:
This!! Great mod my friend, thank you
[Samsung Galaxy Nexus] ChrisJ951:
Which was this for btw? Also working on other request, will upload in an hour or so if all goes well. Also unless custom PNGs are provided I'm not doing custom colors/icons as those are part of the image and not an xml edit
[Samsung Galaxy Nexus] anton2009:
Awesome job man. Back Home Menu Search would be awesome :D
[Samsung Galaxy Nexus] dictionary:
For back, menu, recents, home. As well as back, home, recents, menu. Thanks man!
[Samsung Galaxy Nexus] ChrisJ951:
Taking a break, will upload more later. Sorry for the wait on the links but xda doesn't seem to want to let me upload.

Edit:

Also if you download one please add pics for others, and tell me if anythings wrong. I didn't feel like flashing all of them to test and I'm not 100% sure the tool i made works for all combinations
[Samsung Galaxy Nexus] solarus2011:
Would love to see my old faithful....

Back...Home...Recent...Search in 30dpi Nav bar!

P.S. I've got to get a programming Android for dummies book!! Great work Matt.
[Samsung Galaxy Nexus] ChrisJ951:
Try this out

http://multiupload.biz/h126hzac209v/back-home-recent-search-30_MultiUpload.biz.zip.html
[Samsung Galaxy Nexus] neok44:
can someone tell me if:

"menu-BACK-HOME-SEARCH-menu"

has long press on home for recent?
[Samsung Galaxy Nexus] ChrisJ951:
It doesn't, I havent worked in long pressing yet

Edit: I'll look at it later but do you know if any mod/rom supported long presses of virtual navigation keys? If so do tell as they'd help figure out how to add it
[Samsung Galaxy Nexus] dictionary:
Only ones built from Source, as far as I know. Aokp is one.
[Samsung Galaxy Nexus] ChrisJ951:
Thanks. And would there be any interest in a tool to create a cwm with the navigation bar in the order specified? There's only one bug left (which is if you don't include the standard 3 navigation buttons, recent apps breaks and becomes the old one).
[Samsung Galaxy Nexus] revolt1:
menu home back in 30dpi
[Samsung Galaxy Nexus] dictionary:
I'd be interested for sure.
[Samsung Galaxy Nexus] solarus2011:
Excellent...no I don't accidentally hit the launcher icon when using Google Now :-) No biggie but the only thing I would change in any of the four or more button arrangements (especially the four button ones) is to widen the width between buttons, if possible of course.

Great work. Thanks a ton.
[Samsung Galaxy Nexus] ChrisJ951:
Mind posting a photo? They should be evenly spaced if I did it right (never tested it)

Also program is up

http://multiupload.biz/91q6gwoenirr/Nav Bar Editor_MultiUpload.biz.rar.html
[Samsung Galaxy Nexus] solarus2011:
They are spread evenly just wish the buttons were spread out a little further from each other. But its the same as with ICS Roms like AOKP anyway so I'm used to it.

Also just noticed when the phone is locked but the screen is on the search key is not hidden like the rest of the keys.

Thanks for the tool. Definitely gonna give it a try.
[Samsung Galaxy Nexus] revolt1:
I'm looking just for menu home back in a 30 help a brotha out
[Samsung Galaxy Nexus] ironfisted:
Can you do the [ menu home back recent ] with this system ui from jakes version 1.8 please for verzion wireless gnex
[Samsung Galaxy Nexus] ChrisJ951:
Upload the framework-res.apk too please

I'll do it later tonight or tomorrow
[Samsung Galaxy Nexus] ironfisted:
sorry, missed that

http://dfgas.minus.com/mqeGgQEpX/

that is both
[Samsung Galaxy Nexus] dallastx:
Custom Nav Bars search v2 work for Toroplus i am on Vicious Jelly Bean ToroPlus. Unfortuanlly the recents button still shows all apps in a square in v2.. Cant swipe them away.
[Samsung Galaxy Nexus] ock:
Thanks MattJ951 for the very detailed guide.

I've made a custom version with a power key, attached below. Hope you won't mind this mod of your mod ;)
[Samsung Galaxy Nexus] dallastx:
Can you do one in the exact order with the search key instead of power? The v2 uploaded recent is still the old one. Please :)
[Samsung Galaxy Nexus] ChrisJ951:
Are you saying this one doesn't work?

http://multiupload.biz/eshw7sqb6vxr/Back-Home-Recent-Search-Menu_MultiUpload.biz.zip.html

which one are you specifying exactly?

Not at all, might add that into the program in the first post. Not sure what keys people would be interested in so i just went with the default
[Samsung Galaxy Nexus] ock:
the system-ui.apk in Back-Home-Recent-Search-Menu_MultiUpload.biz.zip doesn't seem to be signed, missing META-INF folder
[Samsung Galaxy Nexus] revolt1:
menu home back in 32dpi
[Samsung Galaxy Nexus] willl03:
The mod is great, the only thing that needs to be fixed are the buttons staying visible while on the lock screen

Edit: and clicking the menu button while on lock screeen unlocks the phone!
[Samsung Galaxy Nexus] revolt1:
is there a link for menu home back in 30dpi
[Samsung Galaxy Nexus] ChrisJ951:
This is an issue that will need to be fixed in source afaik. The issue is that something other than the xml (i.e. the coding) only hides certain icons, and unhides later. It also seems to break if you use the same one twice (this is assigning the same id to two different objects).

Also if anyone uploads a power png I can add it in.

I'm going to look into fixing my app for accounting for different dpi's tomorrow. Check back then. I'm uploading a Menu-home-back at the standard dpi now though

MENU-HOME-BACK

http://multiupload.biz/00y7lri0e9sg/mhb_MultiUpload.biz.zip.html
[Samsung Galaxy Nexus] revolt1:
thank you I'll be waiting
[Samsung Galaxy Nexus] elroy944:
Can you please add SEARCH - RECENT - HOME-BACK - MENU?
[Samsung Galaxy Nexus] albsat:
Please can you add a 3 button nav with:

Recent - Home - Back?

Thank you
[Samsung Galaxy Nexus] ironfisted:
Did you get my link that had the framework-res.apk in it?
[Samsung Galaxy Nexus] ChrisJ951:
Getting to yours now

Also:

Recent-home-back:

http://multiupload.biz/35o7nlpjq8gp/rhb_MultiUpload.biz.zip.html

search-recent-home-back-menu

http://multiupload.biz/xh35pno4wuvj/srhbm_MultiUpload.biz.zip.html

Custom Icon's will be visible on the lockscreen (I can't fix it yet, sorry). As for the menu being pushed so far to the side, edit layout_width on each of the keys.

Also for the framework-res.apk or SystemUI.apk seems corrupted for the ones you uploaded. You can try this though:
[Samsung Galaxy Nexus] ironfisted:
Try?
[Samsung Galaxy Nexus] brutalness:
Is there any of these that will work with Toro?
[Samsung Galaxy Nexus] revolt1:
anyupdate
[Samsung Galaxy Nexus] ChrisJ951:
Sorry, I was trying to just edit the SystemUI.apk using my framework-res.apk but even that didnt work. Maybe try reuploading them?

Yeah, I have it working with other DPIs but now I'm trying to work out the alignment as they wont be centered
[Samsung Galaxy Nexus] ironfisted:
here i got them decompiled

http://i.minus.com/1341419474/hQubHjRFM6p7Stc2VquQBg/d2fqlbW7D3XbF/apkdecompiledjellybelly1.8.zip

Will that work for you?
[Samsung Galaxy Nexus] racerklm:
Thanks for your guide Matt, it's helped me a whole lot. I had to add the extra lights out button and my menu button in landscape mode.
[Samsung Galaxy Nexus] ChrisJ951:
No problem. Also does anyone know the correct spacing for different dips? I don't feel like testing a bunch of variations to see which works best. If anything I'll try with weights if nobody knows
[Samsung Galaxy Nexus] ironfisted:
I asked in aokp room with no answer, sorry.
[Samsung Galaxy Nexus] ChrisJ951:
It's fine. I got the weight working manually so now I just need to edit my program to do it. (Too lazy to do it all by hand)
[Samsung Galaxy Nexus] ironfisted:
understandable. did the decompiled systemui and framework help you out at all? i didn't see any errors when i did it :D
[Samsung Galaxy Nexus] Nicuz95:
So, i've just to edit it with "fill_parent" or i have to use a specific width?
[Samsung Galaxy Nexus] ChrisJ951:
Specific width. I'll be posting up a new tool within an hour that should do everything automatically for you if you provide a SystemUI.apk and framework-res.apk
[Samsung Galaxy Nexus] ChrisJ951:
Try replacing navigation_bar.xml with this

http://pastebin.com/AsAZC0hs
[Samsung Galaxy Nexus] ironfisted:
well that didn't work so i copied over the file from the one you did already and that worked, kinda. i have a menu button on my lockscreen that unlocks my phone. any ideas how to get rid of this on the lock screen?
[Samsung Galaxy Nexus] ChrisJ951:
I currently do not know of a way to fix it, sorry. And glad you got it working.
[Samsung Galaxy Nexus] ironfisted:
a friend of mine is wondering if you can do search back home recent.

Thank you

he plans on converting search to power menu
[Samsung Galaxy Nexus] ChrisJ951:
Will do it in a bit.

Also v2 is uploaded http://multiupload.biz/pd38otyel3a6/NavBarEditorv2_MultiUpload.biz.rar.html

It now supports custom heights and fixes centering issues.

Seeing as this thread grew more than I expected it to, please repost any unfifilled request as I'm not entire sure which ones I've missed.
[Samsung Galaxy Nexus] skitty:
Back, menu, home, recent please
[Samsung Galaxy Nexus] dictionary:
First post. You didn't even check it, Lol. I'm just waiting on a Bavaria menu home recents with the Nexus S menu. Or I'll make it when I get home. ;p
[Samsung Galaxy Nexus] skitty:
So it is. I missed the updates on the op
[Samsung Galaxy Nexus] ironfisted:
anyone got a battery mod working on these? i tried to decompile systemui from one of our roms and i get something about bad magic numbers
[Samsung Galaxy Nexus] Nicuz95:
But if i want to do manually, how should i know the exact width? There is a way?
[Samsung Galaxy Nexus] nbeebe24:
Great job on this sir! One thing I missed most about aokp was my nav bar layout but thanks to you I'll be rockin JB now. I have 2 questions though... where do I modify the navigation bar height and do you know if it's possible to change the DPI? I have unsuccessfully changed the density on Paul's rom.

Also, I've tried the mod on each JB ROM, it just seems you forgot to sign the apk (easy fix), but its confirmed working. Thanks again man! Check it out
[Samsung Galaxy Nexus] ironfisted:
Could you give me a copy of your systemui with the battery mod in it please
[Samsung Galaxy Nexus] androidtoy09:
Can someone make me a configuration like this? PLEASE! :fingers-crossed:
[Samsung Galaxy Nexus] nbeebe24:
Yes I can do that
[Samsung Galaxy Nexus] ChrisJ951:
I was under the impression systemUI and framework-res didn't need to be signed. I've also yet to have issues flashing them on mine so it's possibly rom dependent?

Here you go:

http://multiupload.biz/59iijhf8g4pd/sbhrms_MultiUpload.biz.zip.html
[Samsung Galaxy Nexus] nbeebe24:
Not sure why it worked for you and not me but I have to sign every app I modify with apktool. The zip didn't work on any of the versions I tried until I signed it
[Samsung Galaxy Nexus] ChrisJ951:
Mind telling me the command to sign it? I'll add it into my app and upload any new ones signed. Thanks
[Samsung Galaxy Nexus] nbeebe24:
I didn't use a command. Just copied the Meta-INF and AndroidManifest XML from the original SystemUI apk
[Samsung Galaxy Nexus] elroy944:
Wow this one looks awesome, can you make this one with the back button and the recent apps button switched (so search, recent, home, back, menu)
[Samsung Galaxy Nexus] ChrisJ951:
Those should already be included... strange, I'll look into it later i guess

Here you go:

http://multiupload.biz/rqdfcuhw7qxz/srhbm_MultiUpload.biz.zip.html
[Samsung Galaxy Nexus] bhilgeman:
Recent-home-back-search-menu doesn't have search in it. I downloaded twice and flashed twice, but no search button shows up.. Is the link wrong? Thanks
[Samsung Galaxy Nexus] ChrisJ951:
This one should work:

http://multiupload.biz/2fl9egnk01sd/rhbsm_MultiUpload.biz.zip.html

also updated the main post.

pic:

Figure i should add more pics lol
[Samsung Galaxy Nexus] bhilgeman:
Wow that was fast. Thank you!
[Samsung Galaxy Nexus] androidtoy09:
you the man! :good:
[Samsung Galaxy Nexus] ironfisted:
mattj951: they are saying that the menu would be fixed if you mod the navbarview.smali. i know nothing about this though :(
[Samsung Galaxy Nexus] ChrisJ951:
What menu issue are you having? It works fine for me
[Samsung Galaxy Nexus] ironfisted:
it is on the lockscreen too and it unlocks the phone if you just hit the menu button. unlocked it twice now in my pocket, lol.

I thought that you said you had no fix for that.
[Samsung Galaxy Nexus] dictionary:
Mine stays on (back, home, recents, menu) on the lockscreen but doesn't unlock. When I go into an app that dims the buttons, there are only 3 dots on the bottom, not 4. Not a big deal, just letting it be known.
[Samsung Galaxy Nexus] ChrisJ951:
Ah I thought you were implying the button didn't work at all. I'll look into it later. Can you post a link to where you found that?
[Samsung Galaxy Nexus] ironfisted:
they were telling me in the teamkang channel on irc.
[Samsung Galaxy Nexus] ChrisJ951:
I'd be interesting in listening in on the channel. Mind linking / posting info?
[Samsung Galaxy Nexus] mistm:
I've tried to do that and I am getting UnsupportedClassVersionError exception. Any idea? I am using jdk1.6.0_25 64bit.

Exception in thread "main" java.lang.UnsupportedClassVersionError: navbar : Unsu
pported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa
der.java:56)
[Samsung Galaxy Nexus] dhy8386:
I get the exact same error. Installed the latest JDk from java too just to be safe
[Samsung Galaxy Nexus] dhy8386:
Actually, that error comes because you need to install the latest java. Go here and install: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html

My issue now is that the .bat file and by default the navbar.jar is not decompiling the files. Its runs through says its decompiling but doesn't do it so it errors out. To test, i decompile both files calling apktool directly (i had to use a modified apktool.jar because i was getting bad magic values. i used this one http://rootzwiki.com/topic/24894-patch-one-apktool-to-rule-them-all/). I then get the proper decompiled folders. The program runs and i can choose my layouts and height. But then when it goes to recompile it hangs, obviously because its not calling properly i guess?
[Samsung Galaxy Nexus] djmcnz:
Yep, that was my experience using the latest version of java.

It doesn't seem to decode framework-res.
[Samsung Galaxy Nexus] dhy8386:
Use the apktool in my post above.

Another update. I got it to decompile. You need to have your system.apk and framework-res.apk in the top level folder where the apktool resides. I had copied mine over the existing files in the system/app and system/framework folders.

Now my only issue is that it hangs on compiling. I am going to test compiling manually to make sure that works.
[Samsung Galaxy Nexus] jnr21:
Can you make back-menu-home-search-recents?
[Samsung Galaxy Nexus] dhy8386:
OK. Systemui decompiles and recompiles fine manually. When I run the program, make my edits, and then try to recompile manually I get exception errors. Still trying to solve.
[Samsung Galaxy Nexus] dhy8386:
Matt. First this is great stuff. I got everything working but had to make some edits. Let me highlight a few things.

1) The download you provided, has a system and framework apk in the system/app and system/framework folders. I would delete them because it is confusing.

2) Users, and maybe im just dense, should put their roms system.apk and framework-res.apk in the main NavBarEditor folder.

3) The packaged apktool and aapt.exe did not work for me for decompiling and compiling. I had to use the following version, which also requires that you pull out the classes.dex file before decompiling and then after everything is recompiled, you have to drop the classes.dex back into the systemui.apk in the ZIP that is created. http://www.mediafire.com/file/sjfd30gta83wmoh/Working_APKtool.zip

4) I think you may have mentioned this but if you are going to build a nav bar with a search button, you need to put these two images (ic_sysbar_search and ic_sysbar_search_land) in your decompiled systemui/res/drawable-xhdpi folder or it will not recompile after you make the changes via the program to your navbar.

5) I flashed the resulting ZIP in recovery and it works! almost. The new navbar has my correct buttons but because I did not include a menu button (only bhrs) the resulting bar has no room for the menu softkey when certain apps make it visible in the navbar. Thus i cannot get to the menu option.

Also any new buttons created beyond stock show on the lock screen. is that right?
[Samsung Galaxy Nexus] ChrisJ951:
You would have to guess. It's easier with weights, put everything in a linearlayout and then assign each linearlayout a weight of one (alternatively run my program and copy the section of the xml to do with the buttons)

1) Done

2)Added in new readme

3)I believe this is dependent on the ROM you use. The included one works for Bigxie's v1. I've added a note in the new readme

4)Added into readme, since I only ever do mine based on bixie's I usually skip the decompile step I added these in once awhile ago and forgot to mention it or include it in the zip.

5)I'm not sure how to fix this currently, apparently there's something you can change in the smali, but I'll have to look into that later.

Thanks for the info btw and here is a fixed version for the menu.

---Will upload shortly----

I'll include both as this one makes menu invisible but still leaves room for it (which some people don't like i'd imagine. Maybe I'll add in an option later.

http://multiupload.biz/9cnfansi5zn1/rhbsm48_MultiUpload.biz.zip.html
[Samsung Galaxy Nexus] ChrisJ951:
Delete: Somehow the above post was posted twice
[Samsung Galaxy Nexus] djmcnz:
Can you make the menu button permanently visible without changing the smali?

I'm manually editing but is respects the smali and hides it... do you use @id/menu or a custom one?
[Samsung Galaxy Nexus] ironfisted:
Mattj951: how did you get the search button added? i added it to the navbar xml and it won't compile anymore

i want to take this and http://i.minus.com/1341507074/Uv-TumF5pO1ykVSaty_1bQ/dbkzVTVPuDOzUf/natemodsv2modded.zip and add the search button to it at the beginning. i have figured out how to move the buttons around but i was not sure how you added custom buttons. if i could just copy some files from you other files i can do that too.

Thank you

---------- Post added at 12:00 PM ---------- Previous post was at 11:54 AM ----------

Mattj951: my issue is when i change the line to this android:id="@id/custom_search"
[Samsung Galaxy Nexus] djmcnz:
Add custom_search to ids.XML follow the pattern in the file. With some versions of apktool you can put @+id/... and it will add it for you.
[Samsung Galaxy Nexus] djmcnz:
Okay, so using a custom ID I can get the menu to show all the time... but, it now shows on the lock screen as previously reported.

Anybody know what in NavigationBarView.smali needs to change?

.method public setMenuVisibility(Z)V
.locals 1
.parameter "show"

.prologue
.line 251
const/4 v0, [COLOR="Red"]0x0[/COLOR]

invoke-virtual {p0, p1, v0}, Lcom/android/systemui/statusbar/phone/NavigationBarView;->setMenuVisibility(ZZ)V

.line 252
return-void
.end method

Doesn't seem to do the trick... :(
[Samsung Galaxy Nexus] bobbbyliight:
Can someone make a [home, menu, back and recents] thanks
[Samsung Galaxy Nexus] dermann:
Has it always been this string that has hidden the menu button for the lock screen? Please say it is so, so that my search can be over.
[Samsung Galaxy Nexus] djmcnz:
No, that's my problem - changing that has no effect and I can't find the correct reference... :crying:
[Samsung Galaxy Nexus] dhy8386:
I am pretty sure its because there is some animation hide transition reference and the new buttons need to be added to it. But its probably smali stuff and way above my head.
[Samsung Galaxy Nexus] djmcnz:
Well, I can work with smali so if you have any references I will look.

Currently syncing AOSP source (ICS of course) to see if I can find it in the debugger but that will take *ages*.
[Samsung Galaxy Nexus] revolt1:
still looking for menu home back 30dpi please
[Samsung Galaxy Nexus] djmcnz:
And... hmm... my custom menu button has long-press! It opens search/Now. Is this normal?

It's fantastic. :victory:
[Samsung Galaxy Nexus] dhy8386:
Ok. I found info about it. But the smali files are different as are some of the variables i think. I tried to edit but i lose my nav buttons. Have a read of this:

http://rootzwiki.com/topic/13730-how-totutsoftkey-mod/

And after OP post, look at this in that thread:

http://rootzwiki.com/topic/13730-how-totutsoftkey-mod/page__st__90#entry351987

His paste bin is very helpful. I was trying this using layout of back, home, recent, search, menu. Maybe this needs to be adjusted for each kind of layout? Invalid reference?

Have a look.
[Samsung Galaxy Nexus] djmcnz:
Reading now...
[Samsung Galaxy Nexus] dhy8386:
In case you were wondering I am sitting here waiting for your magic to happen :)
[Samsung Galaxy Nexus] djmcnz:
lol - you can do something else now, I've seen nothing obvious so am retiring for the evening...