Jump to content


GPS crashes with CM7 Gen2

- - - - -

  • Please log in to reply
91 replies to this topic

#41
OckoTomBrok

OckoTomBrok

    Newbie

  • Members
  • Pip
  • 23 posts
  • Devices:ZTE Blade (German BASE lutea)
  • Twitter:@OckoTomBrok
Hi,

1) There was a bug report already, but it was closed due to the "Nightly"-rule. Partially I can understand that, but as we are one a new platform, which is the only supported by now, I personally would like an exception... but that's just my 2 cents. It has been deleted by now (was here: http://code.google.c...detail?id=3553)

2) I try to work on a workaround as I had this one time where all apps where running fine, after the first satellite fix was archived (see earlier post here). <strike>I never could reproduce that until I discovered the option "clear aiding data" in the GPSTest app (https://market.andro...e=search_result). When I delete the aiding information before I try a fix in GPSTest it always (5 times) get a fix without reboots. However it takes a while (I suppose, because it doesn't know on which part of the earth it is) and until now I couldn't use the fix to switch to other Apps. </strike> However, possibly it's a start. Can someone try that on a N41 phone? Would love to go back to the newest nightly...

Will try more as soon as I recharged my phone ;-)

Best,
Jan

Edited by OckoTomBrok, 21 April 2011 - 06:05 PM.


#42
dibbles

dibbles

    Addict

  • Members
  • PipPipPipPipPip
  • 804 posts
  • Gender:Male
  • Location:Earth, for now
  • Interests:Life and family :)
  • Devices:San Fran - OMC - Moto Xoom
I can't try that as I'm on a 2.2 ROM now, as you have read.
I do take your point about not being able to file a bug report about the nightlies. I also wish an exception was made as this n41 build was the first "proper" nightly that worked, without needing to amend in anyway, for the GEN 2 converted phones.


#43
OckoTomBrok

OckoTomBrok

    Newbie

  • Members
  • Pip
  • 23 posts
  • Devices:ZTE Blade (German BASE lutea)
  • Twitter:@OckoTomBrok
Ok, my last procedure didn't survive furhter testing. In the moment I get the best result with the following procedure:

Every time you need GPS:
1) Disable GPS
2) Reboot phone
3) Enable GPS
4) Start your GPS-App

If you GPS is fixed your can switch (via Home button) to any other App... When you stop your app and loose GPS fix it's likley that you next GPS-fix (without manual reboot) will reboot you phone. The same is true if your phone foes to sleep...

Hope this helps all, who need their GPS at least from time to time...

Please tell me if it works for you!

Best,
Jan


#44
kallt_kaffe

kallt_kaffe

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,182 posts
  • Gender:Male
  • Devices:Nexus 4 + 10 + Asus Fonepad
Here, try to replace /system/lib/hw/gps.blade.so with the attached version and let me know if it stops the crashes.

EDIT: Removed file, doesn't work...

Edited by kallt_kaffe, 21 April 2011 - 08:27 PM.

Blog - App

#45
doubleluckstur

doubleluckstur

    Regular

  • Members
  • PipPip
  • 144 posts
  • Gender:Male
  • Location:Norwich, England
  • Devices:Nexus 4
  • Twitter:@doubleluckstur

View Postkallt_kaffe, on Apr 21 2011, 19:03, said:

Here, try to replace /system/lib/hw/gps.blade.so with the attached version and let me know if it stops the crashes.

with this, gps functionality breaks.

Nexus 4. That is all.

#46
kallt_kaffe

kallt_kaffe

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,182 posts
  • Gender:Male
  • Devices:Nexus 4 + 10 + Asus Fonepad

View Postdoubleluckstur, on Apr 21 2011, 21:23, said:

with this, gps functionality breaks.
gen1 or gen2?

Blog - App

#47
doubleluckstur

doubleluckstur

    Regular

  • Members
  • PipPip
  • 144 posts
  • Gender:Male
  • Location:Norwich, England
  • Devices:Nexus 4
  • Twitter:@doubleluckstur

View Postkallt_kaffe, on Apr 21 2011, 19:45, said:

gen1 or gen2?

gen 2.

Nexus 4. That is all.

#48
kallt_kaffe

kallt_kaffe

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,182 posts
  • Gender:Male
  • Devices:Nexus 4 + 10 + Asus Fonepad

View Postdoubleluckstur, on Apr 21 2011, 21:54, said:

gen 2.
Hmmm... I've only tried it on a CM7 version I compiled myself today. I'll have to try it with N41 myself.

Blog - App

#49
doubleluckstur

doubleluckstur

    Regular

  • Members
  • PipPip
  • 144 posts
  • Gender:Male
  • Location:Norwich, England
  • Devices:Nexus 4
  • Twitter:@doubleluckstur

View Postkallt_kaffe, on Apr 21 2011, 20:12, said:

Hmmm... I've only tried it on a CM7 version I compiled myself today. I'll have to try it with N41 myself.

oh... I tried it on a version I compiled today aswell.. I'm not sure about N41 either xD What happens is theres no gps icon in the status bar and gps functionality seems to be broken / non-existant.

Edited by doubleluckstur, 21 April 2011 - 08:21 PM.

Nexus 4. That is all.

#50
kallt_kaffe

kallt_kaffe

    Hardcore

  • Developer Team
  • PipPipPipPipPipPip
  • 1,182 posts
  • Gender:Male
  • Devices:Nexus 4 + 10 + Asus Fonepad

View Postdoubleluckstur, on Apr 21 2011, 22:20, said:

oh... I tried it on a version I compiled today aswell.. I'm not sure about N41 either xD What happens is theres no gps icon in the status bar and gps functionality seems to be broken / non-existant.
Correct, I must have mixed up the files. It doesn't work for me either.

Blog - App

#51
doubleluckstur

doubleluckstur

    Regular

  • Members
  • PipPip
  • 144 posts
  • Gender:Male
  • Location:Norwich, England
  • Devices:Nexus 4
  • Twitter:@doubleluckstur

View Postkallt_kaffe, on Apr 21 2011, 20:28, said:

Correct, I must have mixed up the files. It doesn't work for me either.

ah... well I'm glad it's not just me..  :)

Nexus 4. That is all.

#52
JobSup

JobSup

    Regular

  • Members
  • PipPip
  • 64 posts
  • Devices:ZTE-1001 (German ZTE Blade)

View PostOckoTomBrok, on Apr 21 2011, 10:30, said:

Why did you use the converter? Your phone is Gen2 and N41 as well...? Just to get the old kernel in the system?

To replace the kernel with the one kallt_kaffe build. He is using slightly different sources. But that didn't work, stil crashed.

The only stable combination for me is to use Nightly39 with the ver3 converter (not the universal one). That runs stable with GPS. I just inject the new libaudio.so for the SIP routing fix.

I tried to open a ticket but is has been closed because of the (in this case stupid) 'no nightly' policy... Anyway, maybe it caught the devs attention.


#53
ThrashMan

ThrashMan

    Diehard

  • MoDaCo Ad Free
  • PipPipPipPip
  • 464 posts
  • Gender:Male
  • Location:Miserable old git!
  • Devices:ZTE Blade [UK 512MB TFT]
I disabled location by wireless and the GPS didn't crash :-?


#54
burstlam

burstlam

    Enthusiast

  • MoDaCo Ad Free
  • PipPipPip
  • 283 posts
I am using this comination and gps works like a charm

N41 with KK's convertor /w ahb  v1
google map 5.2.1 (brut version)

don't know if there is anything related with google map version.


#55
ahngau

ahngau

    Regular

  • MoDaCo Ad Free
  • PipPip
  • 56 posts
  • Devices:ZTE Blade

View PostJobSup, on Apr 23 2011, 00:45, said:

To replace the kernel with the one kallt_kaffe build. He is using slightly different sources. But that didn't work, stil crashed.

The only stable combination for me is to use Nightly39 with the ver3 converter (not the universal one). That runs stable with GPS. I just inject the new libaudio.so for the SIP routing fix.

I tried to open a ticket but is has been closed because of the (in this case stupid) 'no nightly' policy... Anyway, maybe it caught the devs attention.
Good tip. Tried nightly 42 together with ver3 convertor for 6 hours now. A lot of GPS and compass use,  zero reboot


#56
Matthew Ferguson

Matthew Ferguson

    Enthusiast

  • Members
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:London
  • Devices:Orange San Francisco/ZTE Blade

View Postburstlam, on Apr 22 2011, 18:29, said:

I am using this comination and gps works like a charm

N41 with KK's convertor /w ahb  v1
google map 5.2.1 (brut version)

don't know if there is anything related with google map version.

What Gen are you on?

Orange San Francisco Black OLED Gen2
SanDisk 16GB Class 2 SD
Recovery: ClockworkMod 4.0.1.5
System: Simple Stir Fry Full b27

#57
zabtcent

zabtcent

    Newbie

  • Members
  • Pip
  • 29 posts
  • Location:Sweden
  • Devices:ZTE BLADE
TESTED on N52. Used Aura and Google Maps..If you turn "off" wireless location(network and WIFI) option and leave only GPS-satellites "on" no reboot. Before reboot after 1-2 min..hope it helps


#58
sm4tik

sm4tik

    Addict

  • Members
  • PipPipPipPipPip
  • 507 posts
  • Gender:Male
  • Location:Jyväskylä
  • Devices:Blade
I'm just wondering, does anyone know what chipset the blade is using for gps and are there any other devices using the same one running gingerbread? I guess it's a stupid question, since if there was a way to use these gps files with blade, it would've been done already..


#59
dadashi

dadashi

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,157 posts
  • Gender:Male
  • Devices:MonteCarlo + HTC EVO 3D
I've tested both aura and navigon using cm-N54 and both apps are force closed....your tip doesn't work...I can't find a CM-N52...

Edited by dadashi, 24 April 2011 - 10:12 PM.

MonteCarlo + HTC EVO 3D

#60
KACE_231

KACE_231

    Diehard

  • Members
  • PipPipPipPip
  • 305 posts
  • Devices:Orange San Francisco (White)
Just some info about the GPS reboot:

I recently upgraded to GEN2 via TPT, installed CM7-n54, and I get reboots when I use a GPS application (google navigation)

Previously I was on GEN1 running CM7-n54 with the kk_kernel... with that I did not experience any reboots,

clearly the issue is in the kernel

PS> I can open google navigation perfectly fine, it seems once the gps has got a fix on my location it reboots

<a href="http://giffgaff.com/...ffiliate/gagira" target="_blank"><img src="http://giffgaff.com/...r/06_250x52.png" width="250" height="52" alt="Get a free Giffgaff Sim" /></a>




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users