Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cloverdale
Old
(Last edited by cloverdale; 29th April 2011 at 02:31 PM.)
#1  
cloverdale's Avatar
Senior Member - OP
Thanks Meter 145
Posts: 1,597
Join Date: Feb 2009
Location: Washington DC
Default com.htc.bgp force close [(ACTUALLY) FIXED 04/29/2011]

EDIT: After studying some logs, and struggling with this issue for some time, I am happy to say I have finally figured out why this happens, and how to fix it.

The issue is with the calendar, which is why what is written below would work for a short time, before the problem would resurface. If you navigate into the calendar settings, you will see an option within Calendar View Settings to "Include Weather". What is happening, regardless of whether this is checked, is upon the gps turning on, and in set intervals afterward, the calendar tries to check the weather. When it does not find the proper apk, the com.htc.bgp message appears.

Quote:
How To Fix

The files that need to be replaced are WeatherProvider.apk and WeatherProvider.odex (WeatherProvider.zip), which I have attached below for convenience. Simply replace these files using the method you prefer (adb, terminal, root file browser), remembering to remount /system as rw, then fix_permissions and reboot.

Alternatively, I made a flashable version (com.htc.bgp_fix_flashable-signed.zip), which you need only flash from recovery and reboot.


I recently started getting notices that com.htc.bgp stopped and needed a force close. Though it seemed not to affect anything, it was annoying.

It happens when one removes the sense apps (though I have not narrowed down exactly which ones).

To fix this, go to settings, applications, manage applications, then clear data in Calendar, Calander Provider, and Gmail.
Attached Files
File Type: zip com.htc.bgp_fix_flashable-signed.zip - [Click for QR Code] (176.3 KB, 701 views)
File Type: zip WeatherProvider.zip - [Click for QR Code] (16.8 KB, 464 views)
Empirical evidence can never establish mathematical existence - nor can the mathematician's demand for existence be dismissed by the physicist as useless rigor. Only a mathematical existence proof can ensure that the mathematical description of a physical phenomenon is meaningful.
-- Richard Courant
The Following 2 Users Say Thank You to cloverdale For This Useful Post: [ Click to Expand ]
 
jesusice
Old
#2  
jesusice's Avatar
Senior Member
Thanks Meter 1012
Posts: 3,000
Join Date: Dec 2010
Thank you! It was starting to really annoy me.

EDIT: It's back.

^ Shift Faced
 
ColeSloth
Old
#3  
Member
Thanks Meter 1
Posts: 49
Join Date: May 2010
Came back on me too. Cleared delvik as well. I may have to try and track down all the weather app crap I removed to stop it if no one can figure out a better way.
 
jesusice
Old
#4  
jesusice's Avatar
Senior Member
Thanks Meter 1012
Posts: 3,000
Join Date: Dec 2010
According to Elixer that process is started by ConnectToPCService. Hope that helps. I no longer get but I'm back to stock with all HTC junk intact, just Sprint crap removed.

^ Shift Faced
 
teharchitekt
Old
#5  
Junior Member
Thanks Meter 1
Posts: 13
Join Date: Feb 2011
Code:
http://forum.xda-developers.com/showthread.php?t=659325
 
cloverdale
Old
#6  
cloverdale's Avatar
Senior Member - OP
Thanks Meter 145
Posts: 1,597
Join Date: Feb 2009
Location: Washington DC
Check the OP for a real fix to this issue.
Empirical evidence can never establish mathematical existence - nor can the mathematician's demand for existence be dismissed by the physicist as useless rigor. Only a mathematical existence proof can ensure that the mathematical description of a physical phenomenon is meaningful.
-- Richard Courant
 
mikeroth
Old
#7  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2011
How do you "flash" from recovery & reboot
 
m.gabro
Old
#8  
Junior Member
Thanks Meter 1
Posts: 19
Join Date: Apr 2011
does this work on other htc phones?
i flashed this on a desire hd running leedroid 3.0.2 but i still get the FC
din clear data after flashing

note: i used a no sense script but left myhtc and htclocationservice intact
 
jovirex
Old
#9  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Mar 2012
Default problem parsing package

i had downloaded the said files but when I tried to install the files,it says problem parsing the package..how to fix this?

thanks,
Jovirex

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more

XDA University: Porting ClockworkMod Recovery to New Devices

Having a good recovery makes the process of modifying, tweaking, maintaining, … more