Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,801 Members 40,133 Now Online
XDA Developers Android and Mobile Development Forum

[SCRIPT]Sprint GNex MSL Finder v1.2 [Updated 12.4.12] - Find your MSL the easy way!

Tip us?
 
-viperboy-
Old
(Last edited by -viperboy-; 4th December 2012 at 04:51 PM.)
#1  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12,839
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
Angry [SCRIPT]Sprint GNex MSL Finder v1.2 [Updated 12.4.12] - Find your MSL the easy way!




MSL Finder is a very simple script that will find your MSL on your Sprint Galaxy Nexus. Some might think "Well, why use this when we have apps like MSL Finder?" As of now, none of the MSL readers in the market can find the MSL. I have tested this extensively on Team EOS build 5 and it works for me just fine every time. I also flashed this with the latest TWRP. If you have any issues, please let me know!


What does this script do?
  • Install Busybox if not installed
  • Find the MSL
  • Save it automatically to your sdcard (/sdcard/msl.txt)
  • Read MSL from saved file
  • Delete MSL file


How do I install it?

If you download the flashable.zip below:
  • Download the file below and put it on your sdcard
  • Reboot to recovery and flash!

If you download the non-flashable.zip below:
  • Extract the .zip
  • Place "msl" in /system/bin
  • Place "busybox" in /data/local (if you don't have busybox installed already)
  • Set all permissons on /system/bin/msl via Root Explorer or similar

OR

Use adb to set the permission
Code:
adb shell chmod 777 /system/bin/msl

How do I use it?
  • Open Terminal Emulator, or similar (NOTE: You can do "adb shell" and run it from there as well)
  • Type "su" (lowercase, no quotes - approve Superuser request if prompted)
  • Type "msl" (lowercase, no quotes)
  • Follow the prompts
  • NOTE: This was designed to run at stock font size on Terminal Emulator
  • NOTE: The correct code to enter is *#*#DATA#*#*, the directions might have a typo within the script. Will be fixed in next build.


Credits and thanks
  • -viperboy- for the script
  • bigrushdog for implementation!
  • myn for the idea to capture MSL!
  • drdrewdown for the instructions!
  • Let me know if I missed anyone!



Download
MSL Finder v1.1 FLASHABLE - https://dl.dropbox.com/u/6621763/Spr...inder_v1.2.zip
MSL Finder v1.1 NON-FLASHABLE (just the .zip) - http://bit.ly/IGpbwx
The Following 33 Users Say Thank You to -viperboy- For This Useful Post: [ Click to Expand ]
 
-viperboy-
Old
(Last edited by -viperboy-; 27th April 2012 at 07:19 AM.)
#2  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12,839
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
FAQ

Q: Can I run the script without root?
A: No, because we are reading the logcat from the phone, we need root access. However, if you forget to type su before running, the script will attempt to run as root anyway.

Q: Why isn't the option for reading or deleting the MSL present?
A: The script knows if the file exists or not. If you don't see the options, a valid MSL has not been found
 
-viperboy-
Old
(Last edited by -viperboy-; 4th December 2012 at 04:52 PM.)
#3  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12,839
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
Changelog

v1.2
  • Fixed typo for the code to be dialed

v1.1
  • Added busybox check and install
  • Clear screen everytime main menu loads

v1
  • Initial Release
 
malibu_23
Old
#4  
malibu_23's Avatar
Senior Member
Thanks Meter 119
Posts: 959
Join Date: May 2007
Location: Chicago
Thx homie. Worked great.
Stock rooted


Sent from my Galaxy Nexus


Nexus 10/Galaxy Nexus
Both rooted and customized to my approved level of awesomeness...
 
bigrushdog
Old
#5  
bigrushdog's Avatar
Recognized Developer
Thanks Meter 6,082
Posts: 3,162
Join Date: Apr 2007
Location: Fontana, CA

 
DONATE TO ME
Ha nice work bro. You snuck this one past me. But I'm downloading now.
 
tridogg97
Old
(Last edited by tridogg97; 27th April 2012 at 06:18 PM.)
#6  
tridogg97's Avatar
Senior Member
Thanks Meter 58
Posts: 356
Join Date: Jun 2007
Location: ATLANTA
? Why doesn't msl work for debug menu. Thanks Viper it does work for data menu though.

Sent from my Galaxy Nexus using xda premium
 
mocsab
Old
#7  
mocsab's Avatar
Senior Member
Thanks Meter 630
Posts: 2,339
Join Date: Aug 2011
Location: West Milwaukee
Default What is MSL?

I would imagine the fact that I don't know what MSL is - demonstrates that I don't need to download this - but my curiousity is piqued -

What is MSL ? Why do I want to find it ?

Another nooblike question I am sure - don't worry - it won't be the last -
My Phone Galaxy S5 G900T
My Rom: AICP - 6.0 - KK 4.4.4_r2 | PAC MAN
My Recovery: TWRP
Kernel: KT-SGS5 - with KTWEAKER
My Carrier - ATT




Former Devices: ☆Galaxy Note 3☆HTC ONE☆Galaxy S IV☆Galaxy Note II☆Galaxy S3☆EVO 4g LTE☆Nexus☆Epic 4G☆Treo(W)☆Palm Treo☆(P)
 
jesusice
Old
#8  
jesusice's Avatar
Senior Member
Thanks Meter 1,038
Posts: 3,022
Join Date: Dec 2010
Quote:
Originally Posted by tridogg97 View Post
? Why doesn't msl work for debug menu.

Sent from my Galaxy Nexus using xda premium
I noticed that too. But it does work for *#*#data#*#* which is where the good stuff is.





Quote:
Originally Posted by mocsab View Post
I would imagine the fact that I don't know what MSL is - demonstrates that I don't need to download this - but my curiousity is piqued -

What is MSL ? Why do I want to find it ?

Another nooblike question I am sure - don't worry - it won't be the last -
MSL is Master Security Lock. It is unique to your phone and is needed to gain access to certain parts of your phone. Get your MSL and in the dialer input *#*#3282#*#* and then input your MSL. You will now be able to edit many things having to do with your radio and network connection that you probably should not be messing with

- in layman's terms cuz they're the only ones I know
The Following User Says Thank You to jesusice For This Useful Post: [ Click to Expand ]
 
-viperboy-
Old
#9  
-viperboy-'s Avatar
Recognized Developer - OP
Thanks Meter 12,839
Posts: 7,684
Join Date: Jun 2007
Location: PA

 
DONATE TO ME
Quote:
Originally Posted by bigrushdog View Post
Ha nice work bro. You snuck this one past me. But I'm downloading now.
Sorry dude haha didn't wanna blow up your twitter/IRC/gTalk about it late last night lol

Sent from my Galaxy Nexus using Tapatalk 2
 
Wordlywisewiz
Old
#10  
Wordlywisewiz's Avatar
Senior Member
Thanks Meter 226
Posts: 1,123
Join Date: Nov 2011
Location: Brattleboro

 
DONATE TO ME
Viperboy does it again!

Sent from my Galaxy Nexus using xda premium

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes