yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S III] holysmokesbatty:
Haha, I'm gonna get back to tearing it apart too.

---------- Post added at 07:02 PM ---------- Previous post was at 06:55 PM ----------

.method public setMenuVisibility(Z)V
.registers 3
.parameter "show"

.prologue
.line 251
const/4 v0, 0x0

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

.line 252
return-void
.end method

.method public setMenuVisibility(ZZ)V
.registers 5
.parameter "show"
.parameter "force"

.prologue
.line 255
if-nez p2, :cond_7

iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/NavigationBarView;->mShowMenu:Z

if-ne v0, p1, :cond_7

.line 260
:goto_6
return-void

.line 257
:cond_7
iput-boolean p1, p0, Lcom/android/systemui/statusbar/phone/NavigationBarView;->mShowMenu:Z

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

move-result-object v1

iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/NavigationBarView;->mShowMenu:Z

if-eqz v0, :cond_16

const/4 v0, 0x0

:goto_12
invoke-virtual {v1, v0}, Landroid/view/View;->setVisibility(I)V

goto :goto_6

:cond_16
const/4 v0, 0x4

goto :goto_12
.end method

Is what it is stock.
[Sprint Samsung Galaxy S III] Darth Pooh:
No... hmmm... registers, leave that, not locals... New variable numbering convention perhaps?
[Sprint Samsung Galaxy S III] holysmokesbatty:
Amusingly, I just dropped the stock SystemUI.apk back in and reboot. Menu button is back.
[Sprint Samsung Galaxy S III] Darth Pooh:
I edited, sorry, I'm at a party and I might be... not sober.

---------- Post added at 09:26 PM ---------- Previous post was at 09:23 PM ----------

well right, if you want stock nexus experience at 42 dpi, all edits are in the frameworks.

You want to mess with button configuration, ordering, graphical and behaviors, that's in the systemui.
[Sprint Samsung Galaxy S III] holysmokesbatty:
Got it. I think that stuff is a little above my skill level currently.

Thanks, man.
[Sprint Samsung Galaxy S III] mahootzki:
Damn! I KNEW you wouldn't be able to ... lmao

Thanks for your help.

Is there a mod with the menu dots on the side too?

sent from Brooklyn NY using a Galaxy S lll
[Sprint Samsung Galaxy S III] holysmokesbatty:
Redownload and reflash, I messed up, but it's fixed now.
[Sprint Samsung Galaxy S III] FrameCityJackal:
That never worked with my parents...I always got a ass whoopin if I tried that...just sayin lol :p
[Sprint Samsung Galaxy S III] zanderman112:
I've tried lol. Did not work out so well.

Posted by Mr. Z's Galaxy S3.
[Sprint Samsung Galaxy S III] kr0matik:
Can I get a 36 dpi with hard keys? I really like the low profile, sleek look. If it's too much to ask for it's cool. I know you guys are always busy. If not I'll try and get used to 42
[Sprint Samsung Galaxy S III] Mr Ian B:
Is it possible to please get the blue 4 nav mod for CM10 that has the following options? I was using this mod on the 8/10 and 8/12 CM10 builds but, no longer works on the CM10 8/15 build. Whatever size you decide is fine with me.

Nav buttons were:

back

home

settings

multi-task

Thanks for your great work,

Ian B
[Sprint Samsung Galaxy S III] holysmokesbatty:
I can try tonight when I get home. But that won't be until about 1am mountain time.
[Sprint Samsung Galaxy S III] Mr Ian B:
Sir, you are the MAN, period.

I like the 4 options at the bottom like before specially on the home screen so I don

t have to pull down the notification bar to get to the settings option.

Thanks again,

Ian B
[Sprint Samsung Galaxy S III] bisby:
Im pretty sure before the SGS3 came out me and my buddy discussed this as a possibility.

Would be awesome to have this as a baseline toggleable part of cyanogenmod
[Sprint Samsung Galaxy S III] kr0matik:
Check out AOKP for sprint galaxy s III in the original development section. It has toggleable soft keys. Only bad thing about the ROM is LTE is broken.
[Sprint Samsung Galaxy S III] zanderman112:
Someone committed it once, but it never got merged(last i saw).

I want them toggleable as well, having to flash modified frameworks gets annoying.
[Sprint Samsung Galaxy S III] Darth Pooh:
42 dpi BACK RECENT HOME MENU (always on)

Only 8/18 nightly
[Sprint Samsung Galaxy S III] holysmokesbatty:
I went to do this last night and my apktool is borked, I haven't had time to try and figure out what happened. So thanks!
[Sprint Samsung Galaxy S III] Mr Ian B:
YEEEEEEEEEEEEESSSSSSS, thank you!!

Ian B
[Sprint Samsung Galaxy S III] Darth Pooh:
I guess I can't kill off development of this then... seems popular. How many people actually use this? I'm serious? I need to really know... who lurks and uses this. If it's not enough I'm not going to bother keeping up with nightly builds; if it is in demand tho, I will and might consider doing custom builds.
[Sprint Samsung Galaxy S III] holysmokesbatty:
I use it, but I have my setup rebuilt, so I can maintain my own. I also prefer the regular Nexus style, which is A LOT easier to put together.

I would say if this IS maintained, maybe a once a week deal. Or any time that there are serious framework and SysUI changes.
[Sprint Samsung Galaxy S III] zanderman112:
I *would* still be using this, but I kinda jumped over to stock rooted LG8 >_> the CM10 issues are killing me.

However, I'd totally be happy with this on Stock, Rooted, Odexed LG8 ;)

(Im only kidding, that is not a request, unless someone happens to want to do that for me.)

Posted by Mr. Z's Galaxy S3.
[Sprint Samsung Galaxy S III] K0NRT15:
will this work on Paranoid?

Sent from my Sprinting Paranoid SGSIII *K0NRT15*
[Sprint Samsung Galaxy S III] silkassassain:
Any luck with adding the search button?
[Sprint Samsung Galaxy S III] holysmokesbatty:
No, you would have to build from the PA framework-res.
[Sprint Samsung Galaxy S III] Darth Pooh:
Isn't there one for that? I think the edits for the Touchwiz ROMS are totally different. But, I could take a peak, LG8?

---------- Post added at 03:42 AM ---------- Previous post was at 03:41 AM ----------

I can add the search button, but, why would I? That's a weird request, I can't think of a single application that really uses it. Well, one that hasn't been depreciated at least... Lol

This might be better for you...

Euroskank has the Navigation Bar mod built in with customization

http://xdaforums.com/showthread.php?t=1832548
[Sprint Samsung Galaxy S III] Noxey:
I realize this is the sprint thread, but does this work for the att i747? Considering it's just a framework mod I wasn't sure.
[Sprint Samsung Galaxy S III] zanderman112:
Probably not safely. It might boot, but will likely have issues.

Posted by Mr. Z's Galaxy S3.
[Sprint Samsung Galaxy S III] I Am 4Play:
if i can get a nexus style that works with nightly

back

home

multi

I would be in hogs heaven :D
[Sprint Samsung Galaxy S III] Darth Pooh:
Sorry guys, I'll be back later tonight... fantasy draft and I'll fill all orders then!
[Sprint Samsung Galaxy S III] holysmokesbatty:
You can always pull the SystemUI.apk out of the one that's posted.
[Sprint Samsung Galaxy S III] pacifik.fuzion:
For anybody wanting to know, the 8.18 blue nav bar works on the 8.20 cm10 nightly.
[Sprint Samsung Galaxy S III] mrg02d:
I vote that this be kept up with the nightlys. Can we have the capacitive keys turned off as well with cm10?

---------- Post added at 09:54 PM ---------- Previous post was at 09:05 PM ----------

For me it's extremely buggy. Causes my camera to be all wonky as well as has the soft keys light up after being turned off.
[Sprint Samsung Galaxy S III] Lolanerd:
Do you have a mod that'll just turn off the capacitive buttons and remap home to camera? I run aokp and it already has the soft key options. Regardless, thanks for the awesome mod man
[Sprint Samsung Galaxy S III] holysmokesbatty:
There's an option in GSIII settings for capacitive backlights, for some reason they never stay after a reboot.

For the record, I've had no trouble with with the 08/18 build and 08/20 CM. Looks like there are some framework changes coming in the next nightly, so we can update then.

You can make the changes in /system/usr/keylayout manually if you have any form of root browser (Root Explorer or Solid Explorer are both great!) Generic.kl change Key 172 to CAMERA, and in sec_touchkey.kl change keys 139 and 158 to (undefined). If you don't feel comfortable, I could probably toss together a mod for it.

Here you go, KL changes only for AOKP, Softkeys off, Home key remapped to Camera.
[Sprint Samsung Galaxy S III] holysmokesbatty:
Updated regular Nexus style and Blue style to 08/21.

The .smali work for getting the button order changed is currently beyond my skill level so I'll leave that to Darth Pooh to update if/when he feels like it.
[Sprint Samsung Galaxy S III] monstaX:
Hey everyone, I'm really sorry I haven't kept up the development. I have football and school starts next week so I might now have much time. Grade school = 8 hours a day of work + Football+ Girls. Lol. But huge thanks to Darth Pooh and holeysmokesbatty for putting out updates on a daily basis. I saw you guys have been pretty advanced and I'm jelly now (jealous). Editing smali files and everything!!! I like it!! But anyways, since a lot of people like the home remap I will make a short tut today here on this thread on how to DIY!! Its pretty easy. Do not be afraid
[Sprint Samsung Galaxy S III] holysmokesbatty:
Hey man, no worries. Those things are WAY more important than a little mod. I plan to keep it up for the community. I almost started a new thread last night, but decided not to clutter up the board.
[Sprint Samsung Galaxy S III] I Am 4Play:
My hero
[Sprint Samsung Galaxy S III] monstaX:
Tut for camera remap: Go into /system/usr/keylayout/ and there should be a bunch of .kl files you can edit these through your phone or your computer. For your phone just use an app like Es File Explorer and give it root permissions. Now just navigate to /system/usr/key layout/ and edit Generic, sec_keys, sec_touchkeys. Just look for any instance of "HOME" and rename it to "CAMERA" then save each file. And reboot. If it doesn't work try editing more of the kl files. Specifically the ones with "sec" in the filename.

I believe I can make a zip so it can be universal for any ROM on the GALAXY S 3 only. I'll look into that.
[Sprint Samsung Galaxy S III] mmvic:
x2
[Sprint Samsung Galaxy S III] nbeebe24:
This is off topic but do you know how to make the capacitive keys always on? I'm on aokp build 1 and the keys shut off after like 15 seconds
[Sprint Samsung Galaxy S III] Darth Pooh:
I had to go back to stock ROM today... my son's daycare tried calling me three times and all three times my phone rebooted on me and twice on me calling them. Not good.

I'll try doing what I can but as you can see, as monstaX is a student, I'm a teacher and this isn't my slow time of year, especially since I'm the guy who makes everyone's schedules... teachers and students.
[Sprint Samsung Galaxy S III] pacifik.fuzion:
are you running the tmobile version of build 1 on sprint?
[Sprint Samsung Galaxy S III] nbeebe24:
Yes
[Sprint Samsung Galaxy S III] holysmokesbatty:
I'll keep up with the basic versions (Nexus style and Nexus Blue) since those are ridiculously easy.
[Sprint Samsung Galaxy S III] Lolanerd:
If we do a wipe, does this reset or do we have to change it manually?
[Sprint Samsung Galaxy S III] Mr Ian B:
Mod working flawlessly with the CM10 8-23 build.

Ian B
[Sprint Samsung Galaxy S III] holysmokesbatty:
I meant to mention that last night. Thanks.
[Sprint Samsung Galaxy S III] holysmokesbatty:
Looks like it still works on 08/24.

I'll just keep testing them every nightly release, and update when I get bootloops. XD

I'll be my own guinea pig!
[Sprint Samsung Galaxy S III] monstaX:
Yes a wipe will reset this. And if you want to undo it without wiping just rename all the instances of CAMERA to HOME
[Sprint Samsung Galaxy S III] mrg02d:
Looks like it crashes things on 8/27?
[Sprint Samsung Galaxy S III] blackhand901:
Yep. 8/27 boot loops.

Sent from my galaxy s3
[Sprint Samsung Galaxy S III] holysmokesbatty:
Alright, updated for 08/27. This should stop the bootloops. :D

I'm also planning to make a different build for myself that includes a few other changes. Reverting Home key back for the ability to unlock with the front button, since we can't figure out how to make it work otherwise. Also a few more bools edits. One being Lockscreen rotation.

If anybody is interested I could post that one too.
[Sprint Samsung Galaxy S III] agrenwa:
I'm interested, I would like to also have the capacitive buttons working for menu and back, or maybe if we could set back button to search would be perfect
[Sprint Samsung Galaxy S III] zanderman112:
Just sharing as its relevant :)

Enable Software Buttons on Any Galaxy S III Running CM10 - http://pulse.me/s/cGDYa

Posted by Mr. Z's Galaxy S3.
[Sprint Samsung Galaxy S III] holysmokesbatty:
Well I couldn't get the lockscreen rotate to work, might be something deeper than a simple bools switch, and I'm pretty basic level with this stuff.

I can vouche that the 08/27 mod works with 08/28.

As for the capacitive buttons staying on, I suppose I could do another mod that doesn't touch the usr/keylayout folder which is where the keychanges are happening. Beyond that there are actually options to change the hardware keys in the System menu in CM10 settings. It just disappears if you disable the softkeys.

In order to get this to work you'll have to reflash the Nightly, which should be fine since a new one dropped recently. :D

That will replace the tweaked .kl files with the originals, and this just replaces the framework-res to turn on the softkeys.
[Sprint Samsung Galaxy S III] holysmokesbatty:
Looks like a build.prop edit and turning off front keys... interesting...
[Sprint Samsung Galaxy S III] mrg02d:
While this mod works on 8/28 it causes extreme lag for me. I have tried different kernels, different governors, and wiping. Could someone confirm this?
[Sprint Samsung Galaxy S III] zanderman112:
I heard you can also do a local.prop edit(somewhere in /data) instead if you want it to persist after flashing new builds

Posted by Mr. Z's Galaxy S3.
[Sprint Samsung Galaxy S III] holysmokesbatty:
Not having that problem, running the blue (but they're both the same framework so it shouldn't matter) and KToonsez kernel.
[Sprint Samsung Galaxy S III] mrg02d:
Bugger...Clean install or dirty flash on top of 8/27?
[Sprint Samsung Galaxy S III] holysmokesbatty:
Dirty. 08/27 was clean though.
[Sprint Samsung Galaxy S III] kyoon19:
anyone getting infinite boot screen w/ the newest cm10 rom.
[Sprint Samsung Galaxy S III] zanderman112:
Well, that makes sense considering all of the changes since the last version of this was made.

Usually, not a good idea to flash old mods on new ROMs. Especially ones that are updated on a daily basis.

Posted by Mr. Z's Galaxy S3.
[Sprint Samsung Galaxy S III] mrg02d:
Boot loops on 9/14 build. Could we get it updated please? Or how about a guide as to what is done each time to make it work with cm10 changes?
[Sprint Samsung Galaxy S III] kyoon19:
I can confirm this mod works on the newest build.

http://xdaforums.com/showpost.php?p=29739389&postcount=122
[Sprint Samsung Galaxy S III] mrg02d:
Yeah, but I really like the blue and the smaller size. Maybe someone could show us how to mod the one that works?
[Sprint Samsung Galaxy S III] holysmokesbatty:
First of all, I recommend downloading APK-Multitool created by raziel23x to do the decompiling/recompiling of framework-res. For some reason later version don't have the .exe installer, so I linked to the old one, you can just copy the updated files from the latest version after that.

Decompile the framework-res.apk, go into /res/values/dimens.xml change these lines;

<dimen name="navigation_bar_height_landscape">48.0dip</dimen>
<dimen name="navigation_bar_width">48.0dip</dimen>

all you have to do is change the "48.0dip" to either 42, or 36 depending on your preference.

Now in the same /res/values/ folder, open bools.xml and edit this line:

<bool name="config_showNavigationBar">false</bool>

Change "false" to true.

That's the edit made for turning on nav bar at a lower dpi.

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

For the blue icons, you just inject the modified blue image files (in the zip attached) into the SystemUI.apk using 7zip (it retains the signature of the apk file) into /res/drawable-xhdpi. That part is really simple.

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

Changing the physical button is a matter of editing .kl files in usr/keylayout. For those, edit sec_touchkey.kl, sec_keys.kl and Generic.kl.

In sec_touchkey just change MENU and BACK to either VIRTUAL or (undefined)

In sec_keys and Generic change Button 172 from HOME to CAMERA.

All the files you need are included in the zip, all the .xml edits are for 42 dpi nav bar. I also tossed in an empty update .zip, you can just dump the files into it, PLEASE make sure all the folders are listed properly inside of the /system folder;

kl files go in /system/usr/keylayout

framework-res.apk goes in /system/framework/

SystemUI.apk goes in /system/app/

Hope this helps, I tried to make it as simple as I could.

Just PM me if you need anymore help.
[Sprint Samsung Galaxy S III] mrg02d:
So what exactly is getting changed that causes this to go nuts with cm10 occasionally?
[Sprint Samsung Galaxy S III] holysmokesbatty:
Typically something in framework that a new change is dependent on.
[Sprint Samsung Galaxy S III] jaigandhi5:
Will this mod work on a AT&T/Rogers/Bell S3 running CM10?
[Sprint Samsung Galaxy S III] etnpnys:
Sorry if it's been a while here... I have the Sprint S3 and it's rooted - I have not flashed any ROM on it at all. I'm about to go to Hawaii and so I'm shopping for a waterproof case, but all screen functions are rendered useless underwater because it doesn't recognize any taps. So I want to remap the shutter to the HOME button. Ideally, tapping HOME would still turn on the phone and return me to the home screen, and then maybe we can remap the longpress on the BACK button to be multitasking, and longpressing HOME would give me camera launch and shutter. Is this possible?

I changed button 172 to CAMERA in both sec_keys.kl and Generic.kl, but that basically just made my HOME button do absolutely nothing. I reverted it back and my buttons are currently normal.
[Sprint Samsung Galaxy S III] monstaX:
Did u do a reboot after editing? Wherever it says HOME, rename to CAMERA. In most of the files in /system/usr/keylayout
[Sprint Samsung Galaxy S III] etnpnys:
Whoa - so there are more locations than the ones that I specified above? And yes I rebooted. Here's another question though now: it didn't work so I restored my backup files and the home button STILL does nothing! Now what! ?
[Sprint Samsung Galaxy S III] monstaX:
When I did this, I just renamed everything in ever file that said "home" to "CAMERA" not sure which ones did it. But I believe if you search, you can find modified APK's to where they are modified so that once the camera is opened it remaps for that particular time when it is open.
[Sprint Samsung Galaxy S III] etnpnys:
Well, I backed up what I needed and reset my phone back to factory. To my chagrin, it looks like this didn't do a single thing to the /System directory, so my home button continued to be completely inoperable. Now, I know that it physically worked still because I could boot into Recovery and use it to select items and what-not, so whatever went wrong was due to my fiddling with the *.kl files. So, how does one go about restoring the /System directory? Formatting it in Recovery and flashing a new ROM. I didn't want to do this, but I flashed CM10.1 and it gave me everything I was looking for - at least for Hawaii in a week. I was able (through CM settings) to set the power button to shutter, the menu button to App Switcher (long press for Menu still), Home button stays Home (with a long press to Google Now). With the exception of the photos taken not looking *as* good, I guess this'll do until I get back.
[Sprint Samsung Galaxy S III] Jahspree:
Great job on the MOD. This works great with themes. Was able to change the color of the software buttons to blue. Here's a screenshot
[Sprint Samsung Galaxy S III] monstaX:
NIce man! I was working on this last night but I couldn't manage to recompile systemui.apk. I will just use 7-zip then! Whoo!
[Sprint Samsung Galaxy S III] pastert33:
I flashed thisnand got stuck in a boot loop. Flashed the undo and was still in a loop. Will try again after the phone charges.

Edit: tried this on AOKP for those wondering
[Sprint Samsung Galaxy S III] Jahspree:
It is my understanding that this is only for cm10
[Sprint Samsung Galaxy S III] Jahspree:
Here's another option monsta.
[Sprint Samsung Galaxy S III] Darth Pooh:
Yeah, different frameworks between the two even tho they are both AOSP. Bootloop will occur if you flash this on anything other than the 7/26 build of CM10
[Sprint Samsung Galaxy S III] x_SCOS_x_ELITE:
may I ask how you were able to compile the app after decompiling what tool did you use. I was trying to do this a while ago but could not recompile without errors. Thanks in advance
[Sprint Samsung Galaxy S III] monstaX:
That's looks great man. I will start working on different colors. Cyan blue for now.
[Sprint Samsung Galaxy S III] wpjessie:
Advanced settings page has option to turn of capacitive lights under the sensors tab.

This is a mod I've been waiting for since getting the phone, coming from OG Epic I missed the camera button. Woot!
[Sprint Samsung Galaxy S III] monstaX:
Same here!! My epic is to small lol. The option under sensor tab doesn't work for me.
[Sprint Samsung Galaxy S III] wpjessie:
Odd, it has worked well for me. Can't stand those lights when using the phone at night...

I'll do a fresh install and try to find out if there's another setting that is keeping it from working as it should.
[Sprint Samsung Galaxy S III] monstaX:
Its been confirmed by me guys. Its a cm10 thing. It should be working. But I'm about to put up the blue u asked for it package. Its ready I just accidently have the back buttons to enlarged
[Sprint Samsung Galaxy S III] Jahspree:
Make sure automatic brightness is Off then reboot
[Sprint Samsung Galaxy S III] Mr Ian B:
Flashed it tonight on my Sprint CM10 rom and works like a charm. Applied über jelly theme and now the buttons are blue.

Great mod,

Ian B
[Sprint Samsung Galaxy S III] Darth Pooh:
I do wish the menu button were the bigger one on the left, not the three small dot one on the right, it's sometimes hard to tap, especially in the xda app.
[Sprint Samsung Galaxy S III] XxSilent.NightmarexX:
i want to install this but i think they look too big. is there a way i can resize them???
[Sprint Samsung Galaxy S III] w8setter:
Will this work on the 7/28 build...
[Sprint Samsung Galaxy S III] monstaX:
I will change size on next build. 32 dp. And no this probably won't work on 7/28 build. I will start today.
[Sprint Samsung Galaxy S III] Darth Pooh:
Is there a way to alter the menu button style for this mod ? The vertical three dot on the right has a very small tap area, sometimes it requires two or three tries. Have you tried the Menu style like the capacitive button it replaces on the S3? I can supply a screen shot if you aren't sure what I mean...
[Sprint Samsung Galaxy S III] monstaX:
I can make it bigger but it might look wrong. Finally got my internet working!! About to up for the 7/28 build
[Sprint Samsung Galaxy S III] El Nivek:
Is it possible to make the home button the lock button and the power button the camera button?

Sent from my iPhone
[Sprint Samsung Galaxy S III] monstaX:
Yes sir it is
[Sprint Samsung Galaxy S III] monstaX:
The zips are ready. My internet is acting up. And I can't upload from my phone. It says failure :(
[Sprint Samsung Galaxy S III] Darth Pooh:
Where's your PayPal? Link?
[Sprint Samsung Galaxy S III] monstaX:
Do this for free bro. Thanks if you were going to donate. I am only 16 years old haha