[Q] Debug Codes - G2 and Desire Z Q&A, Help & Troubleshooting

Did a search on google and the forums for debug codes for the Vision. Looks like the only one we have is #*#*CHECKIN#*#*
I'm just wondering if anyone has found any others or a list somewhere

I believe, it's actually *#*#CHECKIN#*#*.

These have been posted before in other threads for other HTC devices.
Fieldtest
*#*#7262626#*#*
Testing
*#*#4636#*#*

Related

Short strings not searching

Everyone makes a big deal about not posting until you search the forums. Well how can I search the forums when key terms like VPN and GSM and GPS yield no results because the engin ignores strings shorter than 3 characters.
Is there some way to fix this?
amazing how you have a hermes (according to your signature) and have failed to read this sticky
http://forum.xda-developers.com/showthread.php?t=298893
Because Google search is so unevenly applied for most sites I usually ignore it.
Here's the other thing: google search is kludgy, contextually inept and horribily inconvenient since it's not built into the interface.
And another thing, it's not current. (from the sticky post: "Remember that Google takes a couple of days to "crawl" sites for new info. so results will not show the absolute latest posts.")

Android and HTC definitions thread?

Was just wondering since I am new to HTC and Android if there was a thread/blog with the definitions relating to these two brands as I am sure that i'm not the only one who's not fully clued up, or maybe we should start a thread and sticky it?
e.g listing definitions like:
tethering\wi fi tethering
ROMs\cooked ROMs
Kernel etc etc

[Q] HTC Wimax Manager - ndssGetScanResults() ?

Hi all-
I am relatively new to android development, and the current project I've picked out for myself has proven to be more difficult than I thought it would be.
My goal is to create an app that will tell me about wimax network(s) my phone sees with more detail than you get from the settings application or something. Looking at the WifiManager class in developer.android, it looks like I am looking for the Wimax equivalent to getScanResults() - something that returns the list of networks seen in the last scan.
So after some digging online I found references to a Toggle4G widget that does getSystemService("wimax") to get a WimaxManager object, and uses reflection to get the getWimaxState() and setWimaxState(bool) methods. I used getMethods() on the WimaxManager object, and got a list similar to this one I found on pastebin:
EDIT: new user = unable to post links? Well, here's the pastebin code so you can find it
pastebin: 8ktAtcpm
The method of interest at the moment is ndssGetScanResults(), excerpt from pastebin below:
Code:
I/System.out( 1972): Method Name: ndssGetScanResults
I/System.out( 1972): Parameter Type = [Lcom.sqn.dcc.ScanResult;
Unlike the WifiManager though, it looks like this one takes an array of this ScanResult class instead of returning a list of networks. Not exactly sure how this works. I used java.lang.reflect.array to create an array of ScanResults and invoked the ndssGetScanResults() method, but I dont appear to be getting anything - even when I'm already connected on wimax! Can anyone please explain how to call this method correctly so that it will return what networks the phone sees?
I've searched these forums for ndssGetScanResults and other methods that seemed applicable, but I haven't found anything that appears to answer this question. Any help would be appreciated. Thanks!

Dialer Codes

Hi there,
I've been googling and searching the forums for a while now and can't seem to find many Gnex specific dialer codes...
The only Gnex specific link I have found is http://pastebin.com/3TPQhqDi - however, there seems to be no mention of a LCD test or a RTN test for GSM devices. These are the pretty much the only two I want to use....
Does anyone have any idea how to check the return status of my GSM Nexus running stock JB (I've also tried this method - http://android.stackexchange.com/questions/21101/how-to-tell-if-your-phone-is-refurbished - which states this works on the gnex, but sadly not mine...is it a Verizon thing)? Or how to test the LCD through the dialer? I've tried a few general Samsung and Android codes but, alas - to no avail....
Also, I wondered if someone could shed some light on what some of the codes in the link above will do, as I'm not desperately keen to be calling random service codes on my shiny new device?!
Specifically the "Checkin", "Service Menu" and "TTY Test Mode" (I take it that's not TTY in the Unix console sense?)
Any help much appreciated

[Q] FM Radio API

I am searching for any documentation on the FM Radio API for the HTC One (M8). I have done some searching myself with nothing turning up, so I just wanted to check if anyone else knows something.
I can probably reverse the API if I need, but if someone already has I don't want to duplicate the work.
Thank you
There's not an HTC One (M8)-specific FM Radio API, if that's what you're asking. There's no FM radio support provided by the Android API itself, either. It looks like most, if not all, vendors end up rolling their own. That said, the FM chip used in the M8 is a Qualcomm "Iris" chip (which makes appearances on a few other devices) and while the chip documentation is closed, Qualcomm does apparently provide source code.
I might be of more help if I knew what exactly it is you'd like to accomplish. I would share some links, but I have yet to actually post enough to do that. I'll still try to help you get to some pages that might be helpful.
Github Wiki Page giving a rundown of the mess that is Android FM app development: github [dot] com [slash] mikereidis [slash] androidfm [slash] wiki [slash] Creating-an-Android-FM-app
Radio driver source in the AOSP Git: visit android [dot] googlesource [dot] com and add the path "/kernel/msm/+/android-5.1.0_r0.7/drivers/media/radio" to the URL.
The files beginning with "radio-iris" are the most relevant to our devices.
Let me know if you'd like any more help!
I am trying to make an app that uses the FM radio. And from reading the Creating an Android FM app article it appears that there isn't a publicized api spec for doing this on the HTC One (m8). So I have two choices. I can look at the open source kernle for the chip being used and try to reverse the api from that. Or I can find an application that already uses the FM radio and reverse how they are doing it.
I think reversing an app will be simpler although it might not provide all the possible calls, but unless anyone has a better idea I think that is what I will do.
Thank you KazPinkerton.

Categories

Resources