how to use logcat to get the SPC code - Nexus 5 Q&A, Help & Troubleshooting

hello everybody !
currently i apply this thread on my nexus 5 http://forum.xda-developers.com/google-nexus-5/general/radio-enable-lte-band-3-nexus-5-d820-t2928561
but i stopped on this step, i'don't where should i put this logcat
adb shell
logcat -d | grep "commandId\ 200"
to get the SPC code, because on the Nexus 5 Field Test mode app, i cant type letters, only numbers. i think should i put the logcat on another place but i don't know .. please help

thanks to "maidenboston"

how
Chouiyekh said:
thanks to "maidenboston"
Click to expand...
Click to collapse
How did u solve this bro lemme know asap

ecftv said:
How did u solve this bro lemme know asap
Click to expand...
Click to collapse
ok, so by following this steps on topic :
- Install the app Nexus 5 Field Test mode
- Make sure you have the phone rooted
- Enable usb debugging
- Now you need to obtain your SPC code. For doing it open Nexus 5 Field Test Mode App, got to settings (view), then LTE, and click on edit. At the same time use logcat to get the SPC code
you should use it on "adb " and you will get the spc code

Related

How to get MSL without calling Sprint?

Any suggestions? I tried the Market app but it won't work. Thanks!
Have you tried checking getprop for ril.MSL manually or using EPST and checking the logcat output?
I'm running CM7 and I don't know if this method will work for all roms or if you aren't rooted but here's how I found mine:
Download alogcat app from Market and open it. Press menu>filter and type msl in the filter.
Go to your dialer and enter *#*#DATA#*#* then when the menu comes up choose Edit.
When it asks for your msl, enter 6 random numbers and you will get a message that the code was incorrect.
Long press home and choose alogcat app. In the data, it shows what your msl is.
Sent from my VEGAn-TAB using Tapatalk
krohnjw said:
Have you tried checking getprop for ril.MSL manually or using EPST and checking the logcat output?
Click to expand...
Click to collapse
Yes. Do this. It worked for me. You don't even need EPST.
1. Plug your phone into your computer.
2. Open a command line (assuming you have installed the sdk and all that good stuff.)
3. Type
adb shell getprop
and adb will spit out a long list of information. Look through it for
ril.msl 123456
Of course yours won't say 123456 -it will have your 6 digit msl.
Or...
You should be able to download
Terminal Emulator for free from the market.
Open it.
Type in...
su
Hit enter. Type in...
getprop
Should do the same. I will test and see and report back.
Yep. This is definitely the easiest way. Just did it.
Sent from my Nexus S 4G using XDA Premium App
thepolishguy said:
...
Terminal Emulator for free from the market.
Open it.
Type in...
su
Hit enter. Type in...
getprop
Should do the same. I will test and see and report back.
Yep. This is definitely the easiest way. Just did it.
Sent from my Nexus S 4G using XDA Premium App
Click to expand...
Click to collapse
Just tried it, super simple. Just follow the above's instructions and look for ril.msl
I just use connectbot from the market.
open it and select local from the drop down menu in the bottom left and type whatever into the nickname field. I usually type pigpoptart.
then type su and hit enter
then type getprop ril.MSL and hit enter
your msl should be the 6 digit number underneath
make sure you capitalize the MSL part
debh945 said:
I'm running CM7 and I don't know if this method will work for all roms or if you aren't rooted but here's how I found mine:
Download alogcat app from Market and open it. Press menu>filter and type msl in the filter.
Go to your dialer and enter *#*#DATA#*#* then when the menu comes up choose Edit.
When it asks for your msl, enter 6 random numbers and you will get a message that the code was incorrect.
Long press home and choose alogcat app. In the data, it shows what your msl is.
Sent from my VEGAn-TAB using Tapatalk
Click to expand...
Click to collapse
Brilliant! Thank you.
In Terminal Emulator, enter
Code:
getprop ril.MSL
download this.
get the MSL Reader app. With one click it tells you in .5 seconds.
;-)
ronnienyc said:
get the MSL Reader app. With one click it tells you in .5 seconds.
;-)
Click to expand...
Click to collapse
Except, as stated in OP, that app does not work on the Nexus S
debh945 said:
Except, as stated in OP, that app does not work on the Nexus S
Click to expand...
Click to collapse
The OP did not say which app was tried...
n/m this isn't relevant anymore.
Supply msl lockcodes (sprint only)
Hey guys if you need help with getting the MSL for your devices look me up. It's only $15 via paypal and a for sure method to make sure you get the right code. The only information you need to supply is the DEC number under your battery and the phone number for the device. Contact info listed below:
Tiffany Womack
ASC Technician
cell: (512) 537-5456
email: [email protected]
tmac9127 said:
Hey guys if you need help with getting the MSL for your devices look me up. It's only $15 via paypal and a for sure method to make sure you get the right code. The only information you need to supply is the DEC number under your battery and the phone number for the device. Contact info listed below:
Tiffany Womack
ASC Technician
cell: (512) 537-5456
email: [email protected]
Click to expand...
Click to collapse
We'll get right on it. NOT
You can do it for free. Run alogcat then type a dialer code that will require msl purposely type in the wrong msl. Then search the logcat for msl and you will find it.
Sent from my Nexus S 4G using xda premium
Get QPST it's in there
Didn't find the ril.MSL in the file
thepolishguy said:
Yes. Do this. It worked for me. You don't even need EPST.
1. Plug your phone into your computer.
2. Open a command line (assuming you have installed the sdk and all that good stuff.)
3. Type
adb shell getprop
and adb will spit out a long list of information. Look through it for
ril.msl 123456
Of course yours won't say 123456 -it will have your 6 digit msl.
Or...
You should be able to download
Terminal Emulator for free from the market.
Open it.
Type in...
su
Hit enter. Type in...
getprop
Should do the same. I will test and see and report back.
Yep. This is definitely the easiest way. Just did it.
Sent from my Nexus S 4G using XDA Premium App
Click to expand...
Click to collapse
Dear i tried both the methods but no ril.MSL is there in build.prop
Can u let me know the Other way how can i get the MSL Of HTC ONE (Sprint)

How to save a logcat?

Because a problem with an app and supersu right after entering the Sim pin, I'd need to post a logcat dump, but honestly I never did it.
How can I do that?
Does logcat contains private information like imei, tel numbers contact and so on?
zooster said:
Because a problem with an app and supersu right after entering the Sim pin, I'd need to post a logcat dump, but honestly I never did it.
How can I do that?
Does logcat contains private information like imei, tel numbers contact and so on?
Click to expand...
Click to collapse
Logcat doesnt give any private information away and it is done via the adb command:
adb logcat > log.txt
This will save the logcat to log.txt file. Or there is a tool in the Sensation Themes and Apps section that gets logcats easyily - search for it
zooster said:
Because a problem with an app and supersu right after entering the Sim pin, I'd need to post a logcat dump, but honestly I never did it.
How can I do that?
Does logcat contains private information like imei, tel numbers contact and so on?
Click to expand...
Click to collapse
i found it for you man http://forum.xda-developers.com/showthread.php?t=1838323
But it's always needed a computer... Isn't there a way to save it directly on the phone?
zooster said:
But it's always needed a computer... Isn't there a way to save it directly on the phone?
Click to expand...
Click to collapse
Download alogcat from Play Store
zooster said:
But it's always needed a computer... Isn't there a way to save it directly on the phone?
Click to expand...
Click to collapse
You could run "logcat > log.txt" (ignoring the quotes) from a terminal on the phone.
Make sure you go to a sensible directory first so you know where it's been saved. I'd suggest "cd /sdcard".

[Q] splash screen

i dont know what i did but y splash screen is gone the red warning is still there however the screen is black and at the top of the screen has two lines going across the screen
any ideas on what i did and info on how to repair it would be greatly appreciated
thanks guys
babarnard said:
i dont know what i did but y splash screen is gone the red warning is still there however the screen is black and at the top of the screen has two lines going across the screen
any ideas on what i did and info on how to repair it would be greatly appreciated
thanks guys
Click to expand...
Click to collapse
download this and put it on the root of your sd card
http://dl.dropbox.com/u/51546348/splash1.nb0
plug in to your pc get to your cmd prompt
adb shell
su
dd if=/sdcard/splash1.nb0 of=/dev/block/mmcblk0p14
let it send to the partition.........
reboot
enjoy
i cant get the link to work there is nothing there
hanks forthe reply
Its working for me from mobile, if your on a pc , right click and save link.....or here's a second one to try.....
http://db.tt/5Pv9c5fw
Sent from my One X using Tapatalk 2
got the link thanks
now be patient with me noob here
what do i type in the cmd window to make it work
thanks again
Make sure debugging is enabled in your phone settings
In cmd window go to your adb folder
Type:
adb devices
Hit enter and you should see your device serial
Type:
adb shell
Hit enter
su
Hit enter
dd if=/sdcard/splash.nb0 of=/dev/block/mmcblk0p14
Hit enter
Reboot your phone and your done
Sent from my One X using Tapatalk 2
ok thanks for the effort to steer me in the right direction but this is way over my head
i will just put up with the screen for now
just not that computer savvy
thanks anyway
ok i got the adb and sdk stuff installed but this is what i get
C:\Users\Bruce Barnard>adb shell
sh-3.2#
and now im really lost any other help is appreciated
thanks guys
just use terminal emulator on your phone. instructions are the same, but skip straight to "su" as you dont need to enter adb shell.
how do i go about doing this
i am new to all of this stuff
sorry for being a pain to everyone
thanks again guys
babarnard said:
ok i got the adb and sdk stuff installed but this is what i get
C:\Users\Bruce Barnard>adb shell
sh-3.2#
and now im really lost any other help is appreciated
thanks guys
Click to expand...
Click to collapse
Type
sh-3.2#dd if=/sdcard/splash1.nb0 of=/dev/block/mmcblk0p14
Sent from my One X using Tapatalk 2
now i get this /sdcard/splash1.nb0: cannot open for read: No such file or directory
sh-3.2#
maybe i should just give up and leave things alone so i dont screw it up any worse
obviously dont know what im doing
You know, you can easily flash a custom splash screen without any of this stuff.
http://forum.xda-developers.com/showthread.php?t=1814075
now that is alot easier
thanks for the great direction
babarnard said:
now i get this /sdcard/splash1.nb0: cannot open for read: No such file or directory
sh-3.2#
maybe i should just give up and leave things alone so i dont screw it up any worse
obviously dont know what im doing
Click to expand...
Click to collapse
For future reference.. sh-3.2 is the user and # is the end of the prompt..
Meaning you only type
dd if=/path/to/file of=/dev/block/mmcblk0p14
Sent from my HTC One X-
ok thanks
but the way ielvis gave me is much easier for noobs
thanks again to all for trying to help me out
this site is fantastic for helping others out

reboot problem G3 D850

hi guys
i have a weird problem, every time i turn on or restart my phone it keep rebooting
when i remove my sim card phone work great.
when i insert sim card phone keep rebooting again until i connect it to the charger
what is wrong with my g3 D850 ? :crying:
i live in iran so sry for my bad english :d
any tips?
I was having the same problem but only with one Rom that was stock based. Switched ROMs and have had no issues since
jasonpantuliano said:
I was having the same problem but only with one Rom that was stock based. Switched ROMs and have had no issues since
Click to expand...
Click to collapse
what rom you use?
king_siavash said:
hi guys
i have a weird problem, every time i turn on or restart my phone it keep rebooting
when i remove my sim card phone work great.
when i insert sim card phone keep rebooting again until i connect it to the charger
what is wrong with my g3 D850 ? :crying:
i live in iran so sry for my bad english :d
Click to expand...
Click to collapse
To get a decent answer, it may be best for you to run a logcat.
Folks the best way to help with device issues is to post a logcat.
The Android logging system provides a mechanism for collecting and viewing system debug output. Logs from various applications and portions of the system are collected in a series of circular buffers, which then can be viewed and filtered by the logcat command. You can use logcat from an ADB shell to view the log messages.
For complete information about logcat options and filtering specifications, see Reading and Writing Logs.
For more information on accessing logcat from DDMS, instead of the command line, see Using DDMS.
Syntax
[adb] logcat [<option>] ... [<filter-spec>] ...
You can run logcat as an adb command or directly in a shell prompt of your emulator or connected device. To view log output using adb, navigate to your SDK platform-tools/ directory and execute:
Click to expand...
Click to collapse
Here are 2 excellent XDA threads explaining Logcat "How to"
[Tutorial] How To Logcat <<< explains how.
[GUIDE] Installing ADB/SDK and How to make a logcat
Or, this app from the market can allow you to create one direct from your device>>> aLogcat ROOT
While we can say we have problems, we (the community) are by no means Android mind readers
So help others, help you... logcat, it may help save the life of another frantic flasher :good:
The Rom was 855 minus 5.

d820 MSL code

hello to all, i will explane exactly what i try to do, in order for you to be able provide me the best answer.
i got a nexus 5 few days ago, its the d820 model. the lte is not working in my region, i found a guide who show how to change the lte bands from usa to europe. thats the guide:
http://forum.xda-developers.com/google-nexus-5/general/radio-enable-lte-band-3-nexus-5-d820-t2928561
in the step where i should go into nexus 5 field test mode app, i go to app, choose the lte and then edit, and then my phone ask me for a service code.
i start look for what is this code he ask me after reading little i understand it something called MSL code.
i look alot on how to get this code, i try all kind of methods and codes to find it, try to download app to check it, non worked, i get no number.
any one know how can i get it?
Tricky. Why didn't you get a d821?
Sent from my Nexus 5 using Tapatalk
because i didnt know all that.
but i see this method work for other ppl, when they do what that post say it give them the msl code, and then they move on to other steps and it working for them.
why isnt it working for me?
ok i solved it. here is what i did if some1 else got this problem:
you need adb ofc.
i downgarded to android 4.4
then i root it.
install the app "nexus 5 test field mode"
then open CMD on widows, go to ADB folder, type "adb logcat"
at this point cmd will write all kind of things.
now open nexus 5 test field go to LTE the edit , after press edit logcat will show u the MSL of your phone.
it will look something like this:
D/QC_RIL_OEM_HOOK(18638): sendOemRilRequestRaw returns value = 10
V/LG_SVC_ITEMS(18638): length =6 responseBytes=REMOVED itemValue=******
D/LG_SVC_ITEMS(18638): getCommands commandId 200 = ******-END
D/LG_SVC_CMD(18638): itemID = 200, Value = ******
the ******* is where ur code will show up.
NOTE: there are much easyer ways to do that, i did all above only after all other things i tryed faild.

Categories

Resources