[REF][ServiceMode] How to make your Samsung perform dog tricks

aguaz

Senior Member
Jan 16, 2014
136
31
0
No, because CM dev people doesn't seem to know how the SM works and have messed up some of the standard functionality when it come to SM related items and "secret codes". Unfortunayely this is not only true for CM, but also most other AOSP based ROMs. SM is usually provided by a (java) wrapper application to send OEM commands to the baseband where the SM is actually running. So, you can try to install a copy of the Factory and Service related apps, as found on the stock rom of your device (using the same API version).
Is CyanogenMod/android_packages_apps_SamsungServiceMode related to this? And if not what is it?
 
  • Like
Reactions: E:V:A

E:V:A

Inactive Recognized Developer
Dec 6, 2011
1,449
2,212
0
-∇ϕ
I have exactly the same problem after upgrading to 4.4.2, so don't worry, it is Samsung policy. Beside using Shortcut Master app to launch it, here is another workaround:In the Shortcut Master app, open Menu > Search and enter 'usbsettings.usbsettings' to search. Tap on the search result to launch, you can also create shortcut for it.
@vndnguyen : Please stop spamming my threads. I've already removed some of your annoying spam posts, trying to promote your app, and you insist re-posting the same garbage. In this particular case your answer have little to do with the quoted question/issue, and does not contribute to any further understanding. So stay away please!
 
Last edited:

E:V:A

Inactive Recognized Developer
Dec 6, 2011
1,449
2,212
0
-∇ϕ
Hi there, I got a Samsung SM-G906K Galaxy S5 model. Up until the latest stock update (4.4.2 rooted) I used to be able to run the code *#0808# no problem. Now it doesn't work anymore.
You may consider de-compiling the ServiceMode related apps as mentioned in OP and in my other thread. Almost all the secret codes are in there. In your case they've probably blocked direct code dialing, and you may need to enable/disable those other system properties (getprop) mentioned. Common problem is that code exists from command line via "am ... " but not from dialer. Sometimes it's just a matter of re-arranging the "*#"'s or add another.

See this thread.
 
Last edited:
  • Like
Reactions: botwa2000

eheilner

Senior Member
Jan 31, 2014
62
7
0
A easy way to get into this woth out needing to q then 0000. This works on all samsung phones and maybe others stopped working on my sgs4 after mf9 update but my s3 and note 4 and sgs5 are still able to do this method. So just go to system menu and scroll or tap till you find activate this device/ self service let it run through once it shows your plan info hit menu or three dots then pick pst and bam then your in iothiddenmenu pick test mode and your in. Do note tho that sometimes it can take a few minutes for self service to load up. If you click pst and nothing happeneds then you need to downgrade for it to work only seen on sgs4 running into this problem the non spark one.

Hit thanks of this helped anyone out.

---------- Post added at 09:19 AM ---------- Previous post was at 09:14 AM ----------

Factory reset doesn't work. Any other ideas?

Try selfservice hit menu or three dots reset cell data might help.
 

kicker308

New member
Oct 7, 2013
3
0
0
Stuck on; perso sha256 off

My phone is the same as one other user, my phone doesn't have the ;perso SHA256 Off. Please any help would be great. Also what do I press to add my screen shot, nothing above sems to allow me to attach a photo..pin, photo, file nodda..One thing at a time, unlock is more important.
 

kicker308

New member
Oct 7, 2013
3
0
0
unlock sim

Nice post I was wounderin why all was able to enter to service and I with my i9195 no,after reading your post I was able to unter it,unfortunately is different the service menu with the other s4 mini version so cant unlock it :crying:
But that keeps your post ok 100%
Take care
Helen
:cool:
You get your issue resolved with the sim unlock ? I'm having same issue, to not spam this thread can you pm me please. Thanks very much.
 

E:V:A

Inactive Recognized Developer
Dec 6, 2011
1,449
2,212
0
-∇ϕ
Why this does not work on s4 mini eur, cm11? I mean, *#0011#?
Because you don't understand how SM works. SM is located in the baseband FW and the way to access it, is through a wrapper application. If this wrapper application is not present or is using other "codes", you'll not get in. Which is why I don't wanna use CM, and always try to stay close to stock.
 
  • Like
Reactions: lemalelt

aguaz

Senior Member
Jan 16, 2014
136
31
0
SM is located in the baseband FW and the way to access it, is through a wrapper application. If this wrapper application is not present or is using other "codes", you'll not get in.
I've now built cm-11.0 with CyanogenMod/android_packages_apps_SamsungServiceMode.
The app opens up dialing *#*#0011#*#* (yes, that's two "*#" each). However the app stays blank. Also entering Input --> "Q" and Input --> "0000" as suggested elsewhere has no effect.
Any further ideas?


Are the settings btw stored in FW and survive a reboot? Alternatively I'm thinking about a Stock/CustomROM dual boot where you tweak SM settings in stock, then reboot into CustomROM with settings (hopefully) preserved.
 

E:V:A

Inactive Recognized Developer
Dec 6, 2011
1,449
2,212
0
-∇ϕ
I've now built cm-11.0 with CyanogenMod/android_packages_apps_SamsungServiceMode.
The app opens up dialing *#*#0011#*#* (yes, that's two "*#" each). However the app stays blank. Also entering Input --> "Q" and Input --> "0000" as suggested elsewhere has no effect. Any further ideas?
Very nice, but you have to tell me more what device you're using. If it is a Samsung you can download the FW, extract it and reverse the Phone and Service related apps and have a look for the correct OEM_HOOK_RAW (IPC?) sequence that navigates to that SM implementation.

Are you or that code on github by any chance?
 

E:V:A

Inactive Recognized Developer
Dec 6, 2011
1,449
2,212
0
-∇ϕ
One more thing. It is important to start on a freshly rebooted phone, AND you HAVE to hit the BACK button before the input sequence. I have no idea why, just that it doesn't work without hitting back button first, at least for me. Oh, I also noticed that you can combine the Q and the zeros as "Q0000".
 
Last edited:
  • Like
Reactions: meisterpido

aguaz

Senior Member
Jan 16, 2014
136
31
0
that code is on GitHub HERE.
Yes, that's what I took building cm-11.0 for GT-i9192


You probably need to change at least some of the OEM commands in OemCommands.java. And check that the
getEnterServiceModeData() is sending the right code. The way to check is in the stock APK.
I see, why would it be easy.
So the cm app is more of a template for SM or was it written for a specific device only?
 

E:V:A

Inactive Recognized Developer
Dec 6, 2011
1,449
2,212
0
-∇ϕ
So the cm app is more of a template for SM or was it written for a specific device only?
I never worked on CM or any devices with it, so I have no idea. I just know that when it comes to this kind of low level stuff, CM is rarely working and nobody know why or cares to document or inform anyone else about it.