[Q] Tracing Error Messages - Android Q&A, Help & Troubleshooting

Hey all, I'm not actually sure where to post this, so I'll give this subforum a shot. I'm a hardware guy. I don't develop, but I need some guidance on my research topic so I'm turning to those of you who know what I don't.
I'm working with a software deveopment board based around the Snapdragon II and I'm performing some tests on it. At the moment I can't divulge the nature of the tests, but I can tell you that I'm working specifically with one of the cameras. During my tests, I am monitoring the board via a serial connection and ADB, and I see errors pop up and the camera application crashes. I've uploaded a screenshot of the ADB output for those of you who are interested, but since I'm new, you can't see it. PM me if you want to see it.
My question is this: How would I go about figuring out where these errors came from? I'd like to know if this is a driver issue, an application issue, a kernel issue, or something else.
Thanks for looking!

Related

[Q] Replace WL1270 module?

I wanted to reply to this post but can't because I haven't made ten posts.
I've been reading up a bit on the BT thing, and was wondering how reasonable it would be to look into replacing the wireless module.
Even though these modules are made for OEM designs they can be bought from places like mouser. I don't think I would be able to get the datasheet from RFM since they ask to request it, and let you sign a NDA with lots of questions.
Has anybody been looking into this option seriously? I don't really know a lot about the software part of this operation, but wouldn't mind looking into the HW part.
As sidenotes:
* has anybody used the UART port used initially for hacking the device for other purposes such as controlling external hardware, or is this out of the question?
* Any chance the NT would get USB host connection somehow? Is this something that is currently being looked into or just not feasable?
regards
Hi,
* @AdamOutler has been the one using UART as far as i know, so if you have questions about it you should PM him (he's the man)
* I think devs are trying to first get Bluetooth working before USB host, i know in the nook color is possible and im sure they have it in their to-do list but will take sometime. one step at the time. If you want to know about the bluetooth issue they are having then check this thread http://forum.xda-developers.com/showthread.php?t=1554956 and here http://forum.xda-developers.com/showthread.php?t=1553040
~ Veronica
Hi Veronica,
The post I refer to is in one of the threads that you link to.
The chip/module in the NT is the WL1270, which (according to the manufacturer), just isn't capable of BT. The WL1271 has that capability, hence the question about desoldering the module in the NT and swapping it with it's sister that has BT capability...
Or I really should have missed something...

afreechart legend issues

Hi all,
I have been using afreechart to get some charts in an app I have been trying to develop (very very slowly). However I noticed that, when I plot a XYLineChart, the lines for each data series do not show up in the legend. See attached image. It seems odd, as it can get the info about the series, such as the name, but it does not display the line. Has anyone bumped into this? Any idea?
Cheers
what is odd is that I installed the exact same app with the exact same code to generate the graphs on a phone running GingerBread and the graphs and legend showed up exactly as expected, while they misbehave on ICS or JellyBean. Oh well it seems like nobody has any experience with this library. I tried to contact the devs of this library and got no response or support, so maybe it is time to consider a different way to display my graphs.
Cheers
Questions should be asked in Q&A forums, not Development forums.
Thread moved.
Archer said:
Questions should be asked in Q&A forums, not Development forums.
Thread moved.
Click to expand...
Click to collapse
I stand corrected. My apologies :good:
I am not sure if this is any use to anyone, but I found the solution and I thought I'd post it here for future reference.
The thing that pointed me in the right direction was the fact that the graphs would behave perfectly on the emulator, independently from what version of Android the emulator was running. That made me think that maybe the hardware acceleration (which if I am not mistaken was introduced with HoneyComb) had something to do with this. A bit of googling showed me that other graphics libraries had similar issues on ICS and JellyBean, so I tried switching off the hardware acceleration for the chart view:
Code:
chartView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
lo and behold, the graphs and the legends show up just as expected on any device.
Hope this saves some time to someone in the future.
Cheers
maurimauri29 said:
I am not sure if this is any use to anyone, but I found the solution and I thought I'd post it here for future reference.
The thing that pointed me in the right direction was the fact that the graphs would behave perfectly on the emulator, independently from what version of Android the emulator was running. That made me think that maybe the hardware acceleration (which if I am not mistaken was introduced with HoneyComb) had something to do with this. A bit of googling showed me that other graphics libraries had similar issues on ICS and JellyBean, so I tried switching off the hardware acceleration for the chart view:
Code:
chartView.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
lo and behold, the graphs and the legends show up just as expected on any device.
Hope this saves some time to someone in the future.
Cheers
Click to expand...
Click to collapse
thanks a lot man. that line of code was exactly what I was needed.

[Q] Software dev questions

Seeing as I don't have 10 posts yet, I have to post here -.-
So here's my down into the rabbit hole story and question;
Anyhow, in regards to software dev, the M$ sdk is sorely lacking in ability to mess with stuff (i.e. contacts, keyboard, etc). So, I decided to look further into how to go about a semi legal way of making a native app to run on it, fell into the qualcomm stuff, and gobi stuff, ended up looking more into the processor and gpu, etc. Ran into the 8960 hardware hacking thread (very informative if you want to help find a way to jtag it). Which lead me to here (even though I've been watching these threads with great interest) to see the status on the unlocking of the device.
Anyhow, I want to know, because I'm fairly new at this I only have a basic understanding of how it all fits together, what would be the best method to gain access to the outgoing call functions of the phone? And, I mean DIRECTLY. Would one need to 'unlock' the phone to allow a software interface to do that, or could one write a code using the gobi sdk? I understand that WP8 doesn't allow a dev to write to the contacts info, but there has to be a way to circumvent this. I'm unsure of which rabbit hole I should be going down to find my answers. And, screw the SDK, it does nothing I want it to do (i.e. write to the internal contacts, and yes, I know about the contactstore).
And also, a link to a very informative post on FFU's would be nice
Any help?

[Q] E980 brick with QHSUSB_DLOAD showing.

Ok a few days ago I wasnt paying attention and I installed a ROM on my LG Optimus G and when I restarted, it did not reboot. I have read a number of different forum topics on the subject and done a number of things to attempt to fix it.
From what I read, when the device shows up as QHSUSB_DLOAD in device manager, it is end game.
Ok well I did not immediately give up. I found and installed the Qualcomm drivers. I tried LG FlashTools. Of course to no avail.
This guy on EBAY (item 281151982662) will fix it for $24.99. I think that is a fine deal and since I have exhausted my other options, I was preparing to send it off to him.
AND THEN I found a link to "www(dot)zpsjbbs(dot)com/thread-5097-1-1.html -THIS FORUM POST that implies it may be fixable still with a software solution!!
The challenge is of course, that the post is written in Chinese. Google can translate and I feel I will be able to decipher it and search for and find the various pieces of software and try it out.
Question I have is, is it worth the time? Is it possible? Has anyone tried this method? Anyone have English explanation of it?
Thanks in advance. This is my first post here so I can not post links.
http://webchat.freenode.net/?channels=lg-optimus-g
Try catching Shelnutt2 on this link. This has come up in the past and from memory there is a Qualcomm tool availible, but I am not sure if anyone ever got it to work. There were hex files needed if I remember correctly.
Please , can you tell us what went wrong ?? so no one else tries it if they read it ??
Ive played with the Programs, Its QPST and the hope that it offers up is limited, but Im not a dev either. I can get it to a certain point and that's it, u need hex's off a working phone to get another part of the phone to say ok to get another part of it working... or so it seems, but Im all in on this if anyone wants to dable, this would cure a lot of woes if we hammered this topic. To JTAG my phone it cost 60 bux so the ebay deal if hes credible, is a good deal

I've hit the notorious "Unfortunately, bluetooth has stopped" crash/restart error

I've hit the notorious "Unfortunately, bluetooth has stopped" crash/restart error
Firstly I would like to ask if anyone has found a satisfactory solution to this problem. When the bluetooth is turned on, it will turn off and on multiple times necessitating a clear cache/data/force stop to kill it. I've done a factory reset (actually me and my Dad both have the same phones, on mine a factory reset worked, but his it did not). I've rooted the phone. I've tried modifying the bt_config.xml in the bluedroid folder. Everything I've tried doesn't seem to work. My Dad is about to buy a new phone which we really can't afford right now.
Secondly I would like to ask now that I've rooted the phone, could I possibly flash a new rom with a modified and/or newer version of Android and would that possibly fix the bluetooth problem? Also what advantages could I expect from new roms? Where can I find them, how do I install them and how do I backup? I realize there's a lot of this information on here and abroad the internet but the only problem is most of the info I see is from 3-4 years ago (for obvious reasons), it's all spread out and frankly overwhelming.
I'm not asking anyone to make a detail personal post explaining all the steps of everything to me, but I would appreciate a push in the right direction. Including how to make a full backup of everything, and also tips on making sure I don't actually delete important information for my device specifically. Again I'm not asking YOU (whoever's reading this) to make me any kind of special detailed reply, but rather a push, but in sort of the right order etc. For instance you might point me to an existing thread that tells me out to back up stuff, and then point me to another that tells me about roms, and another about how to install them.
That is point me to threads where everything I need is in it, rather than just "Go look in these threads and here's some tips." Like I said it's all like spread out, so one might say you can do this and the other thing, and some other threads might refute or say there's problems, and frankly it just boggles my mind. I would call myself a tech-normie that is, I can follow directions, I know some about technology so I'm not a newbie, but I'm far from expert.
So please, point me in the right direction, and I hope I've been polite and clear enough. Thank you!
Keith Weatherby II

Categories

Resources