FORUMS
Remove All Ads from XDA

[HOWTO] Enable Hidden Menus for Verizon Galaxy S4

245 posts
Thanks Meter: 111
 
By vacaloca, Senior Member on 31st May 2013, 12:38 PM
Post Reply Email Thread
Since VZW and Samsung Level 2 support didn't know the answer, here is how to enable the hidden menus on the dialer screen for the Verizon GS4. Previously, there was a 'master' code that enabled the hidden menus. Now it is a filesystem based check. Boo!

Due to editing /system/build.prop and /efs/carrier/HiddenMenu you MUST be rooted. Also, you must be on a stock TouchWiz-based ROM. This will not work on CM builds/etc. At a very minimum, hiddenmenu.apk must be present on your stock device for this to work, but possibly others, so beware of ROMs that remove 'bloat' APKs.

1) Add the following line* to /system/build.prop
Code:
sys.hiddenmenu.enable=1
Edit: I noticed that after I hosed build.prop, it was replaced when I loaded the default system image, so in fact, step 1 above is not necessary, at least for the Verizon variant. This means that once you do step #2 below, the changes made to /efs/carrier/HiddenMenu will persist after an Odin restore of the NoWipe Factory Image posted here. What this means is that root is only required to make the modification, and one could revert to stock afterwards with the hidden menus enabled.

2) Change the contents of /efs/carrier/HiddenMenu from OFF to ON

3) Reboot.

4) Try it out! Go to the phone dialer and enter *#06# (show MEID) as a test.

For more codes that worked on the S3 that (may) also work on the S4, see below:
http://androidforums.com/samsung-gal...des-found.html

Having the hidden menus enabled is particularly useful for those who want to disable WiFi Power Saving mode -- I was having issues with an access point at work, but sadly disabling it didn't fix the problem. Otherwise, the hidden menus are useful to test your sensors/display/etc or just looking around in general. Enjoy!

For those that are NOT rooted, there is an alternative to get to SOME of these menus, but it is not a free app (currently $1.99). It's called "Sammy S Mode". Note that I am not affiliated with the developer, I just bought it to test if the menus were present before I dug deeper into finding out how to fully enable the hidden menus on my Verizon Galaxy S4. When I have time in the next day or so, I'll try to figure out how the app calls the menus, and update the post if I find a free solution for those that are not rooted.
---

* Note: I added the "sys.hiddenmenu.enable=1" line right after the "persist.cne.feature=0" one, but I don't think it matters where you add it. Just be careful editing this file. I managed to get my phone boot-looping, probably because I used notepad to edit the file and it added Windows CR/LFs to it, and had to use the NoWipe Factory Image posted here to restore my phone. The second time around I used Root Explorer's built in text editor and it worked fine.

In case anyone is curious how I figured this out, click here.
Mods: Thanks for moving this to the development section since it fits better here.

---

I wanted to compile a list of the ones that seem useful or new in general and working for me:

*#197328640# Service Mode
*#0228# BatteryStatus
*#0*# Screen/Sensor/Vibration/Touch/Speaker/LED/etc testing -- even gives out raw values for light sensor, barometer, etc in real time
*#2263 RF Band Selection
*#66336 MDM Randump Mode (defaults to OFF)
The Following 44 Users Say Thank You to vacaloca For This Useful Post: [ View ] Gift vacaloca Ad-Free
 
 
31st May 2013, 02:44 PM |#2  
Member
Thanks Meter: 13
 
More
Thanks OP! Confirmed to be working on my Verizon S4. Followed your guide with the same placement in build.prop and using root explorer.
The Following User Says Thank You to lagvoid For This Useful Post: [ View ] Gift lagvoid Ad-Free
31st May 2013, 07:04 PM |#3  
ThugosaurusRex's Avatar
Senior Member
Thanks Meter: 61
 
More
Thanks, worked great! :thumbup:

Sent from my SCH-I545 using xda app-developers app
The Following User Says Thank You to ThugosaurusRex For This Useful Post: [ View ] Gift ThugosaurusRex Ad-Free
31st May 2013, 09:04 PM |#4  
Junior Member
Thanks Meter: 2
 
More
I can't be rooted due to work MDM. I hope an alternative method is found. I hate the constant wifi notification.
31st May 2013, 09:15 PM |#5  
OP Senior Member
Thanks Meter: 111
 
More
Quote:
Originally Posted by dmichael

I can't be rooted due to work MDM. I hope an alternative method is found. I hate the constant wifi notification.

If you were talking about the menu on the S3 that opened "HiddenMenuWifiOffload" dialing *#6335623#, this does not work on my S4. In fact, it stopped working after a software update on the S3. There is a temporary solution that is lost on reboot. I tried it and it works for me. See link below:

http://androidcommunity.com/how-to-r...y-s-4-20130527
The Following 2 Users Say Thank You to vacaloca For This Useful Post: [ View ] Gift vacaloca Ad-Free
1st June 2013, 03:41 AM |#6  
OP Senior Member
Thanks Meter: 111
 
More
For anyone that needs to get to a service menu without being rooted, here is the basic idea. You'll have to get a launcher or shortcut app that supports creating shortcuts to activities.

Code:
Intent localIntent1 = new Intent("android.intent.action.MAIN");
localIntent1.putExtra("keyString", "0011");
localIntent1.setClassName("com.sec.android.RilServiceModeApp", "com.sec.android.RilServiceModeApp.ServiceModeApp");
startActivity(localIntent1);
I'll expand later using a free app that supports doing that when I get it to work on my end. In the meantime, here's a very simple app that can serve as a template to place the values above:
http://viralpatel.net/blogs/android-...rtcut-example/

Edit 1: A free app can be used to create the shortcut. It is called Manual Intent Shortcuts.
The Following User Says Thank You to vacaloca For This Useful Post: [ View ] Gift vacaloca Ad-Free
2nd June 2013, 03:10 AM |#7  
Senior Member
Thanks Meter: 52
 
More
Not working for me, did exactly what was posted. I even posted the line in the same place

Sent from Verizon Galaxy S4
2nd June 2013, 03:52 AM |#8  
OP Senior Member
Thanks Meter: 111
 
More
Quote:
Originally Posted by tCizler

Not working for me, did exactly what was posted. I even posted the line in the same place

Sent from Verizon Galaxy S4

I should note that this only works if you're running a stock ROM. If you're running CM or some other non-TouchWiz ROM or missing hiddenmenu.apk this won't work. I have added this to the OP.
2nd June 2013, 11:52 AM |#9  
Senior Member
Thanks Meter: 52
 
More
Quote:
Originally Posted by vacaloca

I should note that this only works if you're running a stock ROM. If you're running CM or some other non-TouchWiz ROM or missing hiddenmenu.apk this won't work. I have added this to the OP.



Yep, stock and rooted

Sent from Verizon Galaxy S4
2nd June 2013, 12:24 PM |#11  
OP Senior Member
Thanks Meter: 111
 
More
Quote:
Originally Posted by tCizler

Not working for me, did exactly what was posted. I even posted the line in the same place

Quote:
Originally Posted by tCizler

Yep, stock and rooted

The only thing I can think of is perhaps there is a space in the /efs/carrier/HiddenMenu file that is failing the code check. It is an exact match:
Code:
    if (new File(this.HIDDENMENU_ENABLE_PATH).exists())
      try
      {
        String str = read(this.HIDDENMENU_ENABLE_PATH);
        if (str.equals("ON"))
          return true;
You can also issue the command when USB debugging is set/connected to PC:
Code:
adb shell getprop sys.hiddenmenu.enable
or
Code:
getprop sys.hiddenmenu.enable
from a terminal emulator app on your phone to verify that the property is set correctly. Either command should return the value input -- 1 in this case.

I'll see if I make a recovery flashable update.zip to make it easier for everyone.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes