[MOD] PRL Write Enabler for Sprint Galaxy S4 [MDC][MDL][MJA]

ChadH42

Senior Member
Sep 28, 2010
1,371
400
113
New Jersey
First off this work is based on Digiblur's PRL Write Enabler from the Sprint Galaxy S3 forum. I simply modified it & packaged it for our Sprint Galaxy S4 devices.

Here is the original S3 post that this was found in... http://forum.xda-developers.com/showthread.php?t=2159054

Also, post #8 below provides additional info.

I tested it by flashing with TWRP and it worked on my stock, rooted S4 with the MDC and MDL releases.

If you're on a stock rooted Rom and not using TWRP, you can just copy the HiddenMenu.apk from inside the zip file downloaded into /system/app/ and overwrite the one that's there. (You'll need a root enabled file browser to do this of course).

Thanks to Unknownforce here is a version for MJA...
http://www.androidfilehost.com/?fid=23212708291676468

Enjoy!!
 
Last edited:

VicFreeze

Senior Member
Aug 4, 2009
96
49
0
This certainly will save me from having to use CDMA WS to switch like I just did yesterday. 55014 was not working well for me in my market so I switched back to 25014.
 

VicFreeze

Senior Member
Aug 4, 2009
96
49
0
Keeps aborting for me
You mean the install of the zip?

If so, you can pull the APK out of the zip and replace HiddenMenu.apk in the system folder (make a backup first). You may want to also set the permissions to rw-r-r after replacing the system app. Reboot, then you should be good to go.
 

MoHoGalore

Senior Member
May 24, 2012
4,283
3,118
0
Farmington
@ChadH42,

I know it seems like I'm harping on you but I'm really not..

You need to update the OP on - 1. What is this? 2. What does this do? 3. Why is this in the Development Section.. ?

A good OP leads to less questions.. Development Sections aren't for information. That would be considered a Discussion Thread that belongs in General.

Let's keep the Dev section clean from the start.

My suggestion - Edit the OP on the What's/Why's?/How To's and you won't get posts like mine.
 

VicFreeze

Senior Member
Aug 4, 2009
96
49
0
What this MOD does (in case the OP takes a little while to chime in)

What this MOD does is modifies our ##DATA# (select View) menu to allow for the PRL Write option to appear and function. With this menu option, the user can change their PRL on the fly from the device itself by placing a copy of the desired PRL in the root directory of Internal Storage and name it "test.prl" (no quotes), dial ##DATA# (choose View), tap Write PRL, tap the sub-menu option Write PRL ---wait--- and then the device reboots with the test.prl PRL applied upon reboot. Not every PRL works and sometimes it takes a couple of tries.

A tip for multiple PRL options is to, of course, keep a folder of the PRLs you like and keep them labeled in there. Copy the desired PRL to proper place as needed and just remember to rename the copy to "test.prl". Switch back and forth as you please. I hope this helps clear some confusion and helps some find purpose with the MOD like I have.

For a clear set of instructions that I did not want to just copy verbatim, check the link below. Also, if you are having issues with the zip not installing in CWM, just extract the APK from the ZIP (inside the system/app folder), use Root Explorer or your favorite root-access file explorer to place the APK in the APP folder, apply the proper permissions and reboot.

Ref from the GS3: http://forum.xda-developers.com/showthread.php?t=1748516
 

jayjay7411

Senior Member
Jan 26, 2010
749
131
0
So I unzipped the file, replaced the hidden menu original apk with the new one, then set permissions, rebooted, then tried ##3282# and the view and edit options do not appear.. .. It just blanks out the items I just entered

Sent from my SPH-L720 using Tapatalk 2
 

ChadH42

Senior Member
Sep 28, 2010
1,371
400
113
New Jersey
So I unzipped the file, replaced the hidden menu original apk with the new one, then set permissions, rebooted, then tried ##3282# and the view and edit options do not appear.. .. It just blanks out the items I just entered

Sent from my SPH-L720 using Tapatalk 2
Did you clear Cache when you rebooted?

What ROM are you using?
 
Last edited:
  • Like
Reactions: WMWolverine

ChadH42

Senior Member
Sep 28, 2010
1,371
400
113
New Jersey
+1...same thing is happenening to me...Im on force rom. when i type in the dialer code it just blanks out.
I just tried this mod with the Force ROM and it did the same thing (blank options). The only thing I can think of is that it works with the odex version of the stock ROM so maybe its a problem with deodex ROMs of which Force is one.
 

jayjay7411

Senior Member
Jan 26, 2010
749
131
0
O okay. Its currently not a necessary thing for me at the moment, just nice for when I travel to Alabama. Hopefully later on someone gets it working on deodex.

Sent from my Nexus 4 using Tapatalk 2
 
  • Like
Reactions: lilmikeyv

VicFreeze

Senior Member
Aug 4, 2009
96
49
0
I just tried this mod with the Force ROM and it did the same thing (blank options). The only thing I can think of is that it works with the odex version of the stock ROM so maybe its a problem with deodex ROMs of which Force is one.
I am actually running it on the Rooted Stock DeOdexed ROM. So I don't think it is an Odex/DeOdex issue...might be a Force ROM issue.

Also, moot point for Force ROM (1.0+) anyway because the PRL Write mod is already included with that.
 
Last edited:

Sterist

Senior Member
Sep 30, 2011
645
123
0
Galaxy S, quadrant 2
I'm also having this problem and I'm pretty sure it was working this morning. I haven't flashed anything since then.

edit-- I tried:

1. wiping both cache's
2. killing background process "OIThiddenmenu"

neither fixed it.
 
Last edited:

Unknownforce

Retired Recognized Developer
Nov 18, 2008
2,044
4,268
0
Just an FYI, OP, I get Error Status 6 when trying to flash this via recovery, which indicates one of two things. Either the format of the file is incorrect or there is a syntax error. The syntax looks fine, but opening in basic Notepad shouldn't "look pretty" like it currently does. So it's likely it was edited with a non-Unix-compatible text editor like Notepad or MS-Word...

To make modifications to an updater-script (or just about any Android/Linux files like this) you need something like Notepad++ or gVim.

Anyways, I did a quick test with this, and it does in fact not work on my ROM as it is, but I see why it's failing, but I don't know what exactly it's trying to reference yet. (It fails with an id number instead of a name, so I'll have to de-compile some things to find it.)

I'm not sure it's a ROM issue or a MOD issue yet. (meaning it might have to be updated for each custom ROM, depending on how they are configured) But I'll track it down and update when I can.
 

ChadH42

Senior Member
Sep 28, 2010
1,371
400
113
New Jersey
Just an FYI, OP, I get Error Status 6 when trying to flash this via recovery, which indicates one of two things. Either the format of the file is incorrect or there is a syntax error. The syntax looks fine, but opening in basic Notepad shouldn't "look pretty" like it currently does. So it's likely it was edited with a non-Unix-compatible text editor like Notepad or MS-Word...

To make modifications to an updater-script (or just about any Android/Linux files like this) you need something like Notepad++ or gVim.

Anyways, I did a quick test with this, and it does in fact not work on my ROM as it is, but I see why it's failing, but I don't know what exactly it's trying to reference yet. (It fails with an id number instead of a name, so I'll have to de-compile some things to find it.)

I'm not sure it's a ROM issue or a MOD issue yet. (meaning it might have to be updated for each custom ROM, depending on how they are configured) But I'll track it down and update when I can.
Thanks for all your help here..

I had the error status 6 problem in the beginning and thought I fixed it. You are correct that I used MS WordPad to edit the files.
 
  • Like
Reactions: WMWolverine

Unknownforce

Retired Recognized Developer
Nov 18, 2008
2,044
4,268
0
Thanks for all your help here..

I had the error status 6 problem in the beginning and thought I fixed it. You are correct that I used MS WordPad to edit the files.
I think TWRP can read the non Unix type characters, which is why it works on a different recovery.

I'm hoping it's a mod issue and I can just modify the mod to work universally regardless of the rom. But we'll see.

Sent from my SPH-L720 using xda app-developers app
 
  • Like
Reactions: ChadH42
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone