yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] djmcnz:
Okay... well, I can take a look for you but not tonight (it's midnight now). Perhaps tomorrow but also no promises, I tend to have to spread my time around.

At the very least I can post my files tomorrow and you can trowel through them to see if you learn anything by taking a look.

I can promise you it's possible... it took me a while (longer than I expected actually) but I got 5 perfect buttons (once you've set them all up the order is very easy to change).
[Samsung Galaxy Nexus] djmcnz:
Edit look - 1111 'thanks' - how harmonic.

Edit: I'm a dumb-arse and it's late... I even replied to myself... going to bed... :)
[Samsung Galaxy Nexus] dilat3d:
Nothing to be sorry for!

I can wait until CM10 ... I ran stock JB for a week or so but I had some issues w/ Google Now so I figured I'd wait until there's an official release which I think may resolve some issues I had (specifically w/ certain cards not updating properly)
[Samsung Galaxy Nexus] ChrisJ951:
From my understanding the standard buttons can be hidden because they have pre-defined IDs.

For example for home, this method is defined to get the id:

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NavigationBarView;->getHomeButton()Landroid/view/View;

The actual method is later defined as

.method public getHomeButton()Landroid/view/View;
.locals 2

.prologue
.line 144
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/NavigationBarView;->mCurrentView:Landroid/view/View;

const v1, 0x7f0c0012

invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

move-result-object v0

return-object v0
.end method

It is then hidden through this method:

.line 231
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/NavigationBarView;->getHomeButton()Landroid/view/View;

move-result-object v6

if-eqz v1, :cond_6

move v3, v5

:goto_6
invoke-virtual {v6, v3}, Landroid/view/View;->setVisibility(I)V

If you notice getHomeButton() returns a constant

const v1, 0x7f0c0012

which is defined in /res/public :

<public type="id" name="home" id="0x7f0c0012" />

The issue is adding any new id to this list prevents apktool from being able to compile it and reusing an id prevents the functions from working.

If we could either figure out the id when it's running (since i'm currently using "@+id/custom_search" to use it, instead of defining it myself) then we could theoretically hide them all on the lock screen.

----------------------------------------------------

If you like my work please consider looking at my timer app:

http://xdaforums.com/showthread.php?t=1763430
[Samsung Galaxy Nexus] djmcnz:
Have a look at my code a few pages back and you'll see how to do it using the same methods.

You can add an id without causing a problem with apktool... :confused:

Add the id to ids.xml and encode it again, a new value will be created in public.xml. Also, if you put @+id/... in your xml most versions of apktool will add it to both ids.xml and public.xml.
[Samsung Galaxy Nexus] ChrisJ951:
Thanks, will look into this.

----------------------------------------------------

If you like my work please consider looking at my timer app:

http://xdaforums.com/showthread.php?t=1763430
[Samsung Galaxy Nexus] renna1992:
thank you for your work.

just tried it myself and it is working perfect :)
[Samsung Galaxy Nexus] ChrisJ951:
V3.1 is released and supports swapping the H to a 4G

http://multiupload.biz/5k6sfyu3kb7n/bhr-48dip-100BatteryMod-4g_MultiUpload.biz.zip.html
[Samsung Galaxy Nexus] msimsi10:
Could you please make a nav bar in this order?

back-menu-home-recents-search

Thanks!!!
[Samsung Galaxy Nexus] griesj81:
Is there a way to get back-smenu-home-recents and have circle battery included/able to work with circle battery? Also, if you can tweak it so the menu works right in landscape, along with the lock screen fix. I had it flashed earlier with s menu and it didn't work in landscape. I would also try to flash the navbar mod while having the battery mod running and the navbar would take over the battery mod, and vice versa. Thanks, and I need all the help i can get (I'm just a careful beginner)
[Samsung Galaxy Nexus] ChrisJ951:
http://multiupload.biz/4631lbuvzqpg/bmhrs-48dip-100BatteryMod_MultiUpload.biz.zip.html

Keys will show on lockscreen and I haven't bothered with landscape yet.

Otherwise for back-NexusSMenu-home-recents with the circle battery:

http://multiupload.biz/h224d3h4tyon/bmhr-48dip-100BatteryMod-NexusSMenu_MultiUpload.biz.zip.html
[Samsung Galaxy Nexus] griesj81:
Couldn't download the link, so instead downloaded the home-menu-back-recents to my gnex. Looks good. Gonna take a little bit to get used to the different placement, but just like my old incredible (with recents instead of search). but works great, includes circle battery mod too! Thanks!
[Samsung Galaxy Nexus] ChrisJ951:
Mind if I know which webbrowser you use? I've never had issues with multiupload but a few people do. (I use chrome personally). Anyways here is a rapidshare link:

https://rs209p1.rapidshare.com/file...-100BatteryMod-NexusSMenu_MultiUpload.biz.zip
[Samsung Galaxy Nexus] Bobb_o:
When I install one of the mods it gets rid of my battery mod. When I re-install the battery mod the nav bar mod goes away. Is there any way to have both?
[Samsung Galaxy Nexus] eservant:
Is it possible to have bmhr-36dip- with the 4g icon and a text battery mod
[Samsung Galaxy Nexus] chiniseboy:
Thanks!
[Samsung Galaxy Nexus] griesj81:
I use the normal browser in android. I have the chrome browser, maybe I should start to use that more. The downloads wouldn't work because they would get partway through, then would fail and when I would try to re-download the file, it would say that it couldn't be re-downloaded. I was using a slower internet than my usual LTE though, which may have caused the the download to stall though one of the file share sites, and possibly not allowing me to re-download it. I will try to download this new one. It should work now since at the moment I have LTE. Thank you for the concern. And also, would landscape be a part of v4? I know the lock screen is in v4 and was just curious as to an eta on possible updates (ballpark estimate is fine)
[Samsung Galaxy Nexus] albsat:
Will this application work for current and future ASOP builds like Bugless Beat for example?
[Samsung Galaxy Nexus] naijaguy:
BACK-HOME-RECENT-MENU Automated downloads works on stock JRO03C 4.1.1 for me. Going to try out one with search now.
[Samsung Galaxy Nexus] phoenix2217:
Ok so this is going to be a big request but if someone fills it for me I will love you long time.

I need:

Menu(nexus menu please), Back, Home, Recents,Search

Droid Razr buttons for all but menu (Only if possible, if not I'll take normal :))

What's the battery mod? If it's circle I'll keep stock. if not battery mod please :)

42 DPI

Thanks!!

*Edit*

I felt like kinda a jerk asking for the Razr buttons without providing anything. I've zipped the back, recents and home button.
[Samsung Galaxy Nexus] JamesInsights:
Hi OP,

I am using the Bigxie 4.1.1 ROM and wanted like four buttons smaller.. I realised you had one which was:

MENU-BACK-HOME-RECENT-SEARCH

I realised you had this:

back-home-recent-search 30dp

Assumed that it would mean a smaller bar, question is, will it work on Bigxie 4.1.1? Not sure about this V1 V2 stuff but it's the one which came out yesterday, (12 July)

And 30 dp
[Samsung Galaxy Nexus] ChrisJ951:
I think for v4.0 I'll add landscape support. Until then only supporting portrait, sorry. Here's the buttons in portrait mode at 42dpi:

http://multiupload.biz/ds7nupmf4mfb/mbrs-42dip-razr_MultiUpload.biz.zip.html

It works for me on 4.1.1 and it seems for some other people too at least
[Samsung Galaxy Nexus] phoenix2217:
No problem on the landscape mode man. Thanks so much!!!
[Samsung Galaxy Nexus] n0yd:
Would it be possible to request a BACK-HOME-RECENT-MENU one but with the big horizontal menu button, like when you set static menu in CM9 or AOKP? Also with landscape support for the menu button, cause currently it seems to go away in landscape mode. If you could do this I would greatly appreciate it.

EDIT: Sorry, Lanscape already works, didn't notice at first because its so small especially in landscape. Almost l;ike it becomes smaller DPI. It also only shows in certain situations in landscape. Not during the laucnher or chrome, for instance.

Thanks
[Samsung Galaxy Nexus] phoenix2217:
Chris,

I noticed the zip says mbrs with no home. Can I have menu(nexus style) back home recents search?

Also for some reason system UI crashed :( I'm going to upload my system UI and Framework-res for you. It's from JellyBelly 3.4.

Again thank you for your help and I'm sorry for being a pest.
[Samsung Galaxy Nexus] msimsi10:
After I flashed the nav bar change my Power menu doesn't work anymore it just reboots when I try to bring it up. The screenshot still works tho. Is there a fix for this and is anyone else experiencing this?
[Samsung Galaxy Nexus] griesj81:
Ok, I have a few photos. Anyone see some problems with these?

If you can fix this bug with the navbar, then that would help me out greatly. It seems to not keep refreshing itself. Is there a way to manually refresh a Rom?
[Samsung Galaxy Nexus] tristan202:
Got tired of doing it manually, so gave this a shot. No doubt it is easier than doing it manually, but for me it didn't work at all.

I was trying the files from the 4.1.1 ota.

First of all, it didn't sign the apk's, so I had to do that myself. After signing, SystemUI fc constantly.

Guess it's back to doing it by hand again.
[Samsung Galaxy Nexus] chiniseboy:
Dear Chris,

Could you kindly help bulid a update files for me? I try but bulid it under th V3.1 Version, but have the aapt.exe can read memory error when compiling the framework-res.apk, I change the apktool.jar as v3.0, can generate the update file, but after update it via the CWM, can not into system, always still in the second screen.

Android version : JB 4.1.1 (GN YAKJU VERSION)

navigation buttons:bhrm, 100% battery mod, 32dpi hight

View attachment SystemUI.apk

View attachment framework-res.zip

many thanks.
[Samsung Galaxy Nexus] chiniseboy:
It's OK now! I bulid it on another PC,It's working normal now, thank you and pls. ignore it.
[Samsung Galaxy Nexus] rophiroth:
what dpi can I set?
[Samsung Galaxy Nexus] ChrisJ951:
Sorry about that, try this zip (Haven't tested it but it should work): http://multiupload.biz/g3ytk2y6z5zr/mbhrs-42dip-razr_MultiUpload.biz.zip.html

Did you have a custom power menu before this? Other than a custom ROM or custom power menu I don't know why this would occur

System apks don't need to be signed and they should work fine. I'm guessing it has to do with your ROM as only you and a minority of others have had this issue. It should auto-zip in the META-inf folder

So when including icons it seems I used the circle battery mod icons, while leaving the stock settings for battery reporting. (Seems you downloaded one without the battery mod, but still had the icons replaced, updating the main post to 3.1.1 to fix that)
[Samsung Galaxy Nexus] lcheng1:
Is it just me, or is the back button a little too far to the left?
[Samsung Galaxy Nexus] ChrisJ951:
Well I made everything evenly spaced. The home button is centered with both buttons equally spaced from it. I'm not the best at visual UI, but if you like I can shift it over some if you link me to which one you downloaded.

Also, would you mind linking to your background? It's really cool.
[Samsung Galaxy Nexus] lcheng1:
I downloaded 3.1, using the stock SystemUI and framework-res from the bigxie's stock JB ROM. It's 34 DPI.

Here's the wallpaper!
[Samsung Galaxy Nexus] ChrisJ951:
How shifted do you want it btw? And thank you for the wallpaper link
[Samsung Galaxy Nexus] lcheng1:
I'm actually not sure. As long as it's centered. I can measure it later on though.
[Samsung Galaxy Nexus] OtavioMalzone:
Hi from brazil :)

First, sory for my bad english. I'm from Brazil and I'm taking classes :P

Could you make a flasheable .zip just to change the navbar to:

36dpi(landscape and normal);

stock gray glow, with fastglow;

white 3 stock icons(back, home, recent);

white 3 dot menu icon on the right, it just shows up when need it (stock).

WHILE I'M TESTING YOUR MODS, YOU MAKE THIS MOD.

WHE GOT A DEAL? :)

(gnex 4.1.1, deodexed, JRO03C)
[Samsung Galaxy Nexus] stanrc:
I would also be very interested in this exact configuration.
[Samsung Galaxy Nexus] dictionary:
If anyone wants, I made a "back, home, menu, recents" in 48dpi, and a "back, home, nexus S menu, recents" in 46dpi

Only issue is that the glow animation is no longer rounded, but a square block.

Edited because what the heck is "lo her" lol
[Samsung Galaxy Nexus] OtavioMalzone:
I testet it

I tested and here, the 4g mod, just shows the blue bars,

no 4g, 3g or nothing shows up.

the battery mod works fine.

the navbar mod doesnt work... but i tried other people navbar mod and

it works fine....
[Samsung Galaxy Nexus] griesj81:
So the links from the first post are now all updated to version 3.1.1 or you are in the process of doing that?
[Samsung Galaxy Nexus] Ringo.C:
thank you!!!
[Samsung Galaxy Nexus] teniente_dan:
I have one problem, the battery mod does not show the correct battery level

i tried to do wipe cache & dalvik and still the same, any idea? I'm on JB JRO03C, and i used my own files to do the mod

at least the nav bar mod is working properly ;)

regards
[Samsung Galaxy Nexus] naijaguy:
Please can you tell me what to edit in the SystemUI to make the Nav bar transparent? I've looked every where for it. Thanks.
[Samsung Galaxy Nexus] zimphishmonger:
v311 doesnt output 100% battery mod even if you say y, just fyi. great tool though
[Samsung Galaxy Nexus] bobbbyliight:
hey i was wondering if there is any way to put the multi-reboot mod in this? i think this would be great.

---------- Post added at 12:55 PM ---------- Previous post was at 12:19 PM ----------

ok so i got into a bootloop. but i also flashed this over a natemodz i had running. can that be the case? someone reply please and thank you.
[Samsung Galaxy Nexus] ztkryan:
This is what I get when I try to run the tool. My java should be up to date(just downloaded and installed and added to PATH today) running W7 64bit.

Output as follows:

*********************************

1)Make sure SystemUI.apk and framework-res.apk are in

the top folder (the same one as this program)

2)In the icons folder, replace any of the buttons with

pngs of the icons you want

3)Hit enter when done

*********************************

Decompiling SystemUI.apk

Decompiling framework-res.apk

Copying Icons from Icons Folder

Enter navigation bar order

m = menu, h = home, r = recent, s = search, b = back, p = power

i.e. mhbr for menu home back recent

Exception in thread "main" java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoa

der.java:58)

Caused by: java.io.FileNotFoundException: SystemUI\res\layout\navigation_bar.xml

(The system cannot find the path specified)

at java.io.FileOutputStream.open(Native Method)

at java.io.FileOutputStream.<init>(FileOutputStream.java:212)

at java.io.FileOutputStream.<init>(FileOutputStream.java:104)

at java.io.FileWriter.<init>(FileWriter.java:63)

at navbar.main(navbar.java:157)

... 5 more
[Samsung Galaxy Nexus] nexus.prime:
Hi ChrisJ951, big thanks for your work!

Could you look into this guide and implement into your AutoApplication?

http://rootzwiki.com/topic/30278-how-to-step-by-step-guide-to-add-menu-and-search-soft-keys/
[Samsung Galaxy Nexus] yellowdie:
Hey, awesome guide! Thanks! Do you know how to make it so you can long-press on an icon to do do something else? I made a menu key and I want to long-press it to get recents. I read elsewhere that I need to add "systemui:keyRepeat="true"" to make the key long-pressable (I love how easy it is to make up words these days), but then what do I do? Do I add the code for the second function immediately after it? Thanks again!
[Samsung Galaxy Nexus] diamond_4g64:
Has anyone changed their nav for a win 7 style nav bar? I have seen it in ics but the procedure works only on a specific rom on ics...

Sent from my MB502 because my other phone is bricked...nah i keed i keed!
[Samsung Galaxy Nexus] kaluoshi:
Great work!!! :D btw i didn't get how to run the tool. i mean, i downloaded the rar file, extracted it, put systemui.apk and framework-res.apk in each folder and runned .bat file, but a window appear and desappear in a few seconds. i have missed something? thanks :)

P.S. the icons are 160x96. i have icons downloaded from a xda thread, but they are 120x96. can i use them? Again, thanks :)
[Samsung Galaxy Nexus] exadeci:
There is an issue I think with 4.2 the framework changed, I uploaded the files so you can see the changes

Framework is too big to be attached so here they are:

https://dl.dropbox.com/u/16395058/SystemUI.apk

https://dl.dropbox.com/u/16395058/framework-res.apk
[Samsung Galaxy Nexus] abnormalreply:
NONE of these links work :[

http://multiupload.biz/zyfnlhgyuurh/recent-home-back-menu_MultiUpload.biz.zip.html#.ULgvE4dm6pk

Can someone re-up please?
[Samsung Galaxy Nexus] silver03wrx:
Whats with the downlinks?

They direct me to other places that. Want me to sign up. And pay .
[Samsung Galaxy Nexus] ashinh:
would be good if we can add power button by this.

I prefer power/search at the right/left side.
[Samsung Galaxy Nexus] ivanisevic82:
Hello, sorry for my english, I have same questions from "basic user".

This bar is ONLY for stock android?

Or I can install it in a android with a different rom?

Is possible to make it show and hide like a normal app...or is something to more difficult to make appear and disappear (so only one installation ad it remain)?

thank you!
[Samsung Galaxy Nexus] ChrisJ951:
If you can send me the image I'll do it. I've never seen it before.

----------------------------------------------------

If you like my work please consider looking at my timer app:

http://xdaforums.com/showthread.php?t=1763430
[Samsung Galaxy Nexus] dictionary:
I'll look for it. Just a heads up though, on the one I flashed (back, menu, recent, home) the recent key doesn't work.
[Samsung Galaxy Nexus] ChrisJ951:
Which ROM are you using? I've been taking screenshots from bigxies v1
[Samsung Galaxy Nexus] dictionary:
I THINK this is the big menu ( http://rootzwiki.com/topic/23645-big-menu-icon-from-aokp/) and I'm on Jelly Belly v2.1. The recents icon is visible on the lock screen, and doesn't work whenever I hit it.
[Samsung Galaxy Nexus] ChrisJ951:
Can you try one of the updated zips to see if it works for you? I only have Bigxie's v1 installed and don't feel like backing up all my data right now to test other roms. If one of the others works I'll add it in for you
[Samsung Galaxy Nexus] dictionary:
You just updated the back, menu, recents, home? (By the way I checked, and the link I sent you does indeed contain the proper large menu icon. :)).

I'll flash one of the other zips now and let you know
[Samsung Galaxy Nexus] ChrisJ951:
Yeah, one of the zips after I updated them all to v2/v3. Also toss me a link to your rom (or preferably send me your framework-res.apk) and I'll swap it out for that if it doesn't work for you. Just give me some time to download it. I won't be able to test it but it should work at least if I compile the apk from your ROMs framework-res.

Also added MENU-BACK-HOME-RECENT-SEARCH
[Samsung Galaxy Nexus] dictionary:
ROM: http://xdaforums.com/showthread.php?t=1738197

V2 for the back, menu, recents, home still results in recents key not working. Menu, back, home, search, menu works perfectly though.
[Samsung Galaxy Nexus] Jiia:
Here's a working MENU - HOME - BACK for latest Modaco build, both side menus disabled. Thanks so much to MattJ951 for figuring out why my builds weren't working :) I'll be accepting requests too but you'll have to send me your SystemUI.apk and framework-res.apk since Modaco's one is very different from stock.
[Samsung Galaxy Nexus] g51363:
awsome !! thank you!

menu - home - back in a smaller dpi (24dpi for exemple :p) would be perfect!!
[Samsung Galaxy Nexus] dialmformostyn:
As you're kindly accepting requests, I'll throw mine into the hat just in case :-)

Menu* - Search - Recents - Home - Back - Menu* @ 30p both in landscape and portrait.

* always both active and invisible.

Whether made or not, thanks for the effort you've made on this thread.
[Samsung Galaxy Nexus] dictionary:
Yup, on newest build with recents (menu, back, home, recent, search) the recents isn't working either. Maybe incorrect code? The glow animation on it is also like a square box. I'll try flashing to bigxie and see if it works, since I really love the back menu recent home layout. I really appreciate you doing this!!
[Samsung Galaxy Nexus] ChrisJ951:
Thought it was force closing for you, misunderstood the error. I should be able to fix it in a few min

Only doing portrait mode, would you still like it done?
[Samsung Galaxy Nexus] dialmformostyn:
If you've the time and inclination, it'd greatly appreciated, old biscuit, thank you!
[Samsung Galaxy Nexus] revolt1:
menue home back in 30dpi in portrait and landscape please
[Samsung Galaxy Nexus] ChrisJ951:
Fixed recent button, will get to the new requests later today
[Samsung Galaxy Nexus] daddymatt:
Can you do a BACK HOME MENU with a recents when you long press home? I've always had a home button (i9100/Note) and am use to holding home for recents.
[Samsung Galaxy Nexus] dictionary:
Recent key working! Only problem is it's old style Lol. Oh bugger, haha. Bigxie v2

Edited for typing fail
[Samsung Galaxy Nexus] ChrisJ951:
Yeah, going to take a break but idk if there is a hardware key for the newer app switching, which is what this fix uses. I think I know the correct way to do it (fixing some id's, but I'll test it out in an hour or so when i get back)
[Samsung Galaxy Nexus] dmcconachie:
Do these change the recents menu too? I now only get icons and can't swipe anything away!
[Samsung Galaxy Nexus] dictionary:
Yup, two posts above yours, then one post above yours. :). He's working on it.
[Samsung Galaxy Nexus] dmcconachie:
Oops, I should learn to refresh before I reply! :o

Cheers.

---------- Post added at 08:50 PM ---------- Previous post was at 08:39 PM ----------

Can I make a request then while I'm here...

Back - Home - Recent - Search

Menu on both sides, hidden when not in use

Is it possible to define both Primary and Secondary (on hold) functions using this method too?

And any chance of having the CM9 battery too?

Also, using the existing Menu-Back-Home-Recent-Search... the Recent and search buttons are visible on the lock screen!
[Samsung Galaxy Nexus] ChrisJ951:
Have it fixed, I'll upload it and fix the guide soon.
[Samsung Galaxy Nexus] ChrisJ951:
Uploaded Fixes, will get to new request later today
[Samsung Galaxy Nexus] dictionary:
Fixed!!! You rock! I don't even care if you make a version with the large menu icon. Lol. Thanks so much
[Samsung Galaxy Nexus] skitty:
Could you do a Back, Menu, Home, Recent please?

Thanks
[Samsung Galaxy Nexus] HashTagHell:
I'm really in need of a

Back, Home, Recent, Menu

Thanks in advance.
[Samsung Galaxy Nexus] eyeisdasteve:
Might as well make a request.

Recent,Home,Back,Search,Menu

Thanks in advance.
[Samsung Galaxy Nexus] albsat:
please please, can you make a :

Menu, Recent, Home, Back

Thank you a lot.
[Samsung Galaxy Nexus] Nicuz95:
I'm unable to recompile SystemUI.apk when i do it, i get some errors..
[Samsung Galaxy Nexus] Lakers3408:
Looks & works great!

Can you please make a

Small Menu, Home, Back, Recent

In blue color would be awesome!

Thank you
[Samsung Galaxy Nexus] kevguillot:
I would like one please. Recent Back Home Big Menu

Thanks!
[Samsung Galaxy Nexus] mzimand:
Any chance of adding the 1% battery mod to t your navigation bar mod?

If so how about:

Back, Home, Recent, Search, Menu

With xoom circle battery

Thanks