Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,782 Members 45,835 Now Online
XDA Developers Android and Mobile Development Forum

[Q] HTC One strange G-Sensor problem

Tip us?
 
CryptoCombat
Old
(Last edited by CryptoCombat; 17th January 2014 at 01:34 AM.)
#11  
Junior Member - OP
Thanks Meter 3
Posts: 27
Join Date: Oct 2013
Location: Houston, TX

 
DONATE TO ME
Quote:
Originally Posted by LibertyMarine View Post
I'll analyse over the weekend. this is quite some data. I'll write a short program that reads it out^^
I parsed them into excel using csv format mode. Check out sheet two for a graph. the orange line (labeled sum) is the sum of the x,y and z readings' absolute values. there's some very interesting data in the magnetometer file. anytime I really hammered down on the gas, the magnetic field shot up. Beyond 100 in a spot or two in sum!
Attached Files
File Type: xlsx accelerometer.xlsx - [Click for QR Code] (259.3 KB, 4 views)
File Type: xlsx magnetometer.xlsx - [Click for QR Code] (208.6 KB, 6 views)
 
LibertyMarine
Old
#12  
LibertyMarine's Avatar
Senior Member
Thanks Meter 142
Posts: 435
Join Date: Sep 2013
Quote:
Originally Posted by CryptoCombat View Post
I parsed them into excel using csv format mode. Check out sheet two for a graph. the orange line (labeled sum) is the sum of the x,y and z readings' absolute values. there's some very interesting data in the magnetometer file. anytime I really hammered down on the gas, the magnetic field shot up. Beyond 100 in a spot or two in sum!
ok, I think the accelometer looks ok. but the magnetic field is indeed very strange. Today I tested it too.. but there was no special effect to the magnetic field.
Maybe ask your bike vendor if the bike emmits electromagnetic radiation. If yes, it's totally ok that your magnetometer on your phone mesures this. If not, there might be another reason.
But sorry, I can't give you more informations or ideas. But if I think about something possible I'll notify you.

---------- Post added at 05:34 PM ---------- Previous post was at 05:19 PM ----------

Quote:
Originally Posted by CryptoCombat View Post
I parsed them into excel using csv format mode. Check out sheet two for a graph. the orange line (labeled sum) is the sum of the x,y and z readings' absolute values. there's some very interesting data in the magnetometer file. anytime I really hammered down on the gas, the magnetic field shot up. Beyond 100 in a spot or two in sum!
Sorry, I checked your accelometer graph again. You calculated the sum the wrong way. The actual way to calculate it is:

sum = √(a₁ + a₂ + a₃)

And with that you get this graph:

Feel free to hit the thanks button if I helped
Remember - Quote or mention me if you expect an answer!
[GUIDE][FIX] Solve Bootloops and no OS on phone!

Proud owner of a 315p Explorer
 
CryptoCombat
Old
#13  
Junior Member - OP
Thanks Meter 3
Posts: 27
Join Date: Oct 2013
Location: Houston, TX

 
DONATE TO ME
Interesting update: with no headphones plugged in, the skipping does not occur. I started a playlist through the built in speakers and after a very fast drive it was on track to the second.

I'm guessing the magnetic field generated by the alternator is causing induction feedback in the headphone wires. Otherwise I'm stumped.

Sent from my HTC One using XDA Premium 4 mobile app
Current Phone: HTC One (m8)
* Unlocked, Unlocked Bootloader, S-Off, Rooted
* Android Revolution HD, Sense 6 ROM
* Harmon Kardon Audio enabed
* Wireless Charger installed.

Current Tablet: Google Nexus 7 (grouper)
*Unlocked Bootloader, Rooted
*USBRom on Cyanogenmod

Old phones in order:
HTC One (m7)
Apple iPhone 4S
Apple iPhone 4
Apple iPhone 3GS
 
stldaniel
Old
#14  
Junior Member
Thanks Meter 0
Posts: 17
Join Date: Oct 2013
Default mmm

try a differnet pair of headphones maybe?
 
CryptoCombat
Old
#15  
Junior Member - OP
Thanks Meter 3
Posts: 27
Join Date: Oct 2013
Location: Houston, TX

 
DONATE TO ME
Quote:
Originally Posted by stldaniel View Post
try a differnet pair of headphones maybe?
Yup. That's my next step. Sadface, these Beats earbuds are nice

Sent from my HTC One using XDA Premium 4 mobile app
Current Phone: HTC One (m8)
* Unlocked, Unlocked Bootloader, S-Off, Rooted
* Android Revolution HD, Sense 6 ROM
* Harmon Kardon Audio enabed
* Wireless Charger installed.

Current Tablet: Google Nexus 7 (grouper)
*Unlocked Bootloader, Rooted
*USBRom on Cyanogenmod

Old phones in order:
HTC One (m7)
Apple iPhone 4S
Apple iPhone 4
Apple iPhone 3GS
 
LibertyMarine
Old
#16  
LibertyMarine's Avatar
Senior Member
Thanks Meter 142
Posts: 435
Join Date: Sep 2013
Quote:
Originally Posted by CryptoCombat View Post
Interesting update: with no headphones plugged in, the skipping does not occur. I started a playlist through the built in speakers and after a very fast drive it was on track to the second.

I'm guessing the magnetic field generated by the alternator is causing induction feedback in the headphone wires. Otherwise I'm stumped.

Sent from my HTC One using XDA Premium 4 mobile app
why didn't you mention or quote me? I would have been able to answer... but I didn't get any notification. Yes.. maybe, because this graph was quite strange. You can make an isolation with another magnetic field that compensates these fluctiations.
Feel free to hit the thanks button if I helped
Remember - Quote or mention me if you expect an answer!
[GUIDE][FIX] Solve Bootloops and no OS on phone!

Proud owner of a 315p Explorer
 
vvelvetelvis
Old
#17  
vvelvetelvis's Avatar
Senior Member
Thanks Meter 64
Posts: 360
Join Date: Feb 2011
Location: Sacramento
i am so glad i found this post. i just got my one and am having the exact same problem. i even have htc sending me a new pair of headphones. i was going to try using my old s3 headphones but the one wont even recognize them when i plug them in.

i have to say, all your graphs and math is way to much for me. all i know is my phone hates my motorcycle. whats really weird is, i can make it on the streets to the fwy. its once i get on the fwy that things go all skippy.

did you ever find a solution?
Samsung galaxy s3 - cm10 nightly

Thanks for all the help on these forums.
 
CryptoCombat
Old
(Last edited by CryptoCombat; 30th May 2014 at 03:45 PM.)
#18  
Junior Member - OP
Thanks Meter 3
Posts: 27
Join Date: Oct 2013
Location: Houston, TX

 
DONATE TO ME
Quote:
Originally Posted by vvelvetelvis View Post
i am so glad i found this post. i just got my one and am having the exact same problem. i even have htc sending me a new pair of headphones. i was going to try using my old s3 headphones but the one wont even recognize them when i plug them in.

i have to say, all your graphs and math is way to much for me. all i know is my phone hates my motorcycle. whats really weird is, i can make it on the streets to the fwy. its once i get on the fwy that things go all skippy.

did you ever find a solution?
I didn't get a notification about this post. Solution is to use almost any other headphones for anyone else having this problem. The Beats buds that shipped with the m7 Beats model have flat wires which as a general rule are much more susceptible to electrostatic interference.
Current Phone: HTC One (m8)
* Unlocked, Unlocked Bootloader, S-Off, Rooted
* Android Revolution HD, Sense 6 ROM
* Harmon Kardon Audio enabed
* Wireless Charger installed.

Current Tablet: Google Nexus 7 (grouper)
*Unlocked Bootloader, Rooted
*USBRom on Cyanogenmod

Old phones in order:
HTC One (m7)
Apple iPhone 4S
Apple iPhone 4
Apple iPhone 3GS
 
vvelvetelvis
Old
#19  
vvelvetelvis's Avatar
Senior Member
Thanks Meter 64
Posts: 360
Join Date: Feb 2011
Location: Sacramento
Quote:
Originally Posted by CryptoCombat View Post
I didn't get a notification about this post. Solution is to use almost any other headphones for anyone else having this problem. The Beats buds that shipped with the m7 Beats model have flat wires which are much more susceptible to electrostatic interference.
That is kind of what I did. I got a pair of skull candy headphones without the mic. Hard to find a pair without the mic. They still have a flat cable but work great.
Samsung galaxy s3 - cm10 nightly

Thanks for all the help on these forums.

Thread Tools
Display Modes


XDA PORTAL POSTS

Slate Calendar Helps You Organize Your Life

Without calendars in some form or another, most of our lives would be utter chaos. Unless you are … more

Shane Francis to Talk Android, Robotics, and Vision at XDA:DevCon 2014

Our international xda:devcon 14in Manchester, UK on the weekend of … more

LG G Watch Tool is a Toolkit all Owners Need

The LG G Watch is one of the first two devices hitting the market rocking the highly anticipated … more

Benchmark Your CPU Performance with Mini CPU Integer Script

When it comes to device testing, there are two types of people on XDA. The first … more