Contextservice stopped FIX - Galaxy S 5 Q&A, Help & Troubleshooting

Last night I experienced the following error: "Context service has stopped."
I tried to replace the corrupted APK file with the attached APK (I had nandroid backupped that one) and surprisingly it worked!
So:
1. Download the APK file from below or your own working nandroid backup
2. paste and overwrite the corrupted one (location: system/priv-app)
3. Optional: delete the odex file
4. Reboot device
Please let me know if it worked!
NOTE: I have the international version SM-G900F, running Android 4.4 Kitkat NOT 5.0, so I don't know if it will work there or the apk will be different.

booyah!
Thank you thank you thank you soooo mf'ing much!!! It worked for my s5 and it was so obnoxious having to see the context service window pop up 2 to 3 times, sometimes 4, when trying to complete a stupid simple task...ahhh its like taking a fresh breath of air now that its fixed. You rock thank you so much!

Thank you for this Fix. It worked perfectly.
rubentjuuuhh said:
Last night i experienced a error. Context service has stopped.
I tried to replace the APK file with the newer and corrupted one i had land surprisingly it worked!
So:
1. Download the APK file from below
2.paste and overwrite the corrupted one (location: system/priv-app)
3. Optional: delete the odex file
4.reboot device
Please let me know if it worked!
NOTE:I have the international version SM-G900F
Click to expand...
Click to collapse
I Wish I would have looked this up sooner.
Thank you for this fix, your awesome.

Related

Re-install AccountAndSyncSettings.apk

I accidentally deleted the AccountAndSyncSettings.apk file. Does anyone have a backup of the file? Please help. Thanks in advance.
Snag it from a stock .zip rom in the development section. Just extract and find it (Same data structure as your filesystem).
i am also having the same issue. I have already found the stock rom from and moved the apk file with root explorer, but it won't allow me to install. Any input on how you solve this would be great.
Sorry for reviving the thread. Could someone post the AccountAndSyncSettings.apk and odex for the stock rom. I tried downloading the stock rom file but couldn't find the files that I need. Thanks so much!
Use the search feature, I posted this link for a pretty long period now.
http://www.mediafire.com/download.php?r1mrbtsep2k84kb
This includes AccountAndSync.apk/odex so remove that if you don't want it.
Thanks so much, I put the files back and it's fixed now. You're a life saver!
Menu
Did you get Accounts and Sync option back on your menu list under Settings? I have accountandsyncsettings.apk under the System/app folder but there is still no menu option.
xoulsinz said:
Thanks so much, I put the files back and it's fixed now. You're a life saver!
Click to expand...
Click to collapse
Hi, could you explain how exactly you managed to re-install the .apk, because I already replace it, rebooted and tried installing it manually, but it wont install or show up in the list of applications under settings, and I'm trying to update OTA to gingerbread and it keeps saying that "AccountandSyncSettings.apk was not found". I would really appreciate your help.

[Q] Accidentally removed DownloadProvider.apk

Hi All,
I have a rooted european TPT and I did something really dumb today: I nuked DownloadProvider.apk, thus killing any download functionality.
I downloaded the OTA update roms and had a look in there but they only have patches for the APK and not the file itself. I have been unable to find a full ROM image to use either, one linked from here was on Megaupload so that's gone.
May I beg someone to send me this APK please or point me to where I can find an image of the original ROM? Many thanks in advance for any help you can provide.
baz8080 said:
Hi All,
I have a rooted european TPT and I did something really dumb today: I nuked DownloadProvider.apk, thus killing any download functionality.
I downloaded the OTA update roms and had a look in there but they only have patches for the APK and not the file itself. I have been unable to find a full ROM image to use either, one linked from here was on Megaupload so that's gone.
May I beg someone to send me this APK please or point me to where I can find an image of the original ROM? Many thanks in advance for any help you can provide.
Click to expand...
Click to collapse
Looks like i'm sending out a lot apks today. Which ROM version do you have?
Hi Koshu,
I have ThinkPadTablet_A310_02_0037_0075_UK. It would be great if you could help.
Thanks,
Baz.
baz8080 said:
Hi Koshu,
I have ThinkPadTablet_A310_02_0037_0075_UK. It would be great if you could help.
Thanks,
Baz.
Click to expand...
Click to collapse
Hmm UK, i don't have that version but i can give you 0075_US. Hopefully it helps:
http://koshu.de/DownloadProvider.zip
You, sir, are an absolute star
I just did an adb push to /system/app and rebooted and all is good! Thank you so much.
Koshu said:
Hmm UK, i don't have that version but i can give you 0075_US. Hopefully it helps:
Hi
I have the same problem. Deleted the downloadprovider and I guess also the downloadprovider.UI.
I'm on 2.3.4 root. Build nr: 4.0.2.A.0.42.
What to do with the other file in the zip apart from the .apk and how to set the permissions when moving the .apk to the system/app folder?
thanks
Click to expand...
Click to collapse
wan2bee said:
Hi
I have the same problem. Deleted the downloadprovider and I guess also the downloadprovider.UI.
I'm on 2.3.4 root. Build nr: 4.0.2.A.0.42.
What to do with the other file in the zip apart from the .apk and how to set the permissions when moving the .apk to the system/app folder?
thanks
Click to expand...
Click to collapse
The other file is the odex just copy it in /system/app like the apk. The files need the permission 644. You can set them i.e. with Terminal Emualtor or with adb:
Code:
su
busybox mount -o rw,remount /system
chmod 644 /system/app/DownloadProvider.*
Unfortunately I did the same mistake like baz8080 .
Can you please help me with DownloadProvider for A310_02_0039_0089_WE?
I still have the apk and restored it to /system/app but the odex is missing and I'm still not able to download anything
Thanks in advance
Anybody?
I found DownloadProvider.apk + odex from 0076_WE
Is there any way to apply the patches from the update (0086_WE and 0089_WE) manually just on these two files?
Edit:
Solved it!
Hello all,
I'm a complete noob in Android and programing, and accidentaly deleted DownloadProvider.apk (using root unninstaller), and trying to remove another app that came installed in my Samsung Galaxy Y Pro Duos...
Can anybody help me with a solution that doesn't need programing and/or advanced knowledge of Android? All works fine, except I cant install any apps, from Google Play or other source...
Helpr neede really really bad...
Thanks to you all
Exe557 said:
Anybody?
I found DownloadProvider.apk + odex from 0076_WE
Is there any way to apply the patches from the update (0086_WE and 0089_WE) manually just on these two files?
Edit:
Solved it!
Click to expand...
Click to collapse
Please help me I have the same problem. I can't download anything since yesterday so please help me
I delete download provider.apk and its odex file.
For MMX nitro a311 4.4.2 version..
Can anyone provide me this file... Plz Plz
Lenovo A5000 DownloadProvider.apk
Hello
I removed DownloadProvider.apk by miatake with kingroot uninstall , and now playstore always pending wont start download , ned help plz to get thia apk again and how to.make it work
Pleasssssssseee
Things to do
baz8080 said:
Hi All,
I have a rooted european TPT and I did something really dumb today: I nuked DownloadProvider.apk, thus killing any download functionality.
I downloaded the OTA update roms and had a look in there but they only have patches for the APK and not the file itself. I have been unable to find a full ROM image to use either, one linked from here was on Megaupload so that's gone.
May I beg someone to send me this APK please or point me to where I can find an image of the original ROM? Many thanks in advance for any help you can provide.
Click to expand...
Click to collapse
Things To Do
You must have root access to your phone
1. copy and paste "Download Provider ui" folder to /system/apps of your root folder.
2. copy and paste "Download Provider" folder to /system/priv-app of your root folder.
3. give permission like other apps in the folder and install both apk inside each folder with your root explorer with root installer package i used "fx file explorer pro".
4. Done restart your mobile.
5. you need to have google play store updated and google play services updated to latest version

[Q] Trouble with screen auto rotate when rooted, or rooted ROM ?

Hello, I have just wasted about a day of my time on this issue.
Problem:
When I root my S4, running Kitkat, or load custom Kitkat ROM - wanamlite in my case, then the auto rotate screen feature stops working.
The problem is not in the HW - the camera app, which rotates labels on the screen based on orientation - kept working through all the trouble.
Details:
- I decided to root my S4, mainly to be able to install xposed/xprivacy and Titanium Backup
- first, I rooted the stock ROM, using the chainfire method. Worked fine
- I did not install custom recovery at this point
- removed few modules in TB
- noticed that the screen auto rotate stopped working
- restored the removed modules in TB, auto rotate still not working
- installed TWRP and Wanamlite. Screen rotation first worked, but after some time ( and my guess is after few reboots ), screen auto rotate failed again.
I was unable to fix this, so I had to go back to stock ROM ( Swiss FNB9 ), to get the phone working again.
Searching on Google, it seems that few of the Samsung devices have this problem of screen auto-rotation not working after rooting....
Before I try rooting again, is this a known problem ? Any fix with a high degree of reliability ?
Thanks for any info, Paul.
paulcc said:
Hello, I have just wasted about a day of my time on this issue.
Problem:
When I root my S4, running Kitkat, or load custom Kitkat ROM - wanamlite in my case, then the auto rotate screen feature stops working.
The problem is not in the HW - the camera app, which rotates labels on the screen based on orientation - kept working through all the trouble.
Details:
- I decided to root my S4, mainly to be able to install xposed/xprivacy and Titanium Backup
- first, I rooted the stock ROM, using the chainfire method. Worked fine
- I did not install custom recovery at this point
- removed few modules in TB
- noticed that the screen auto rotate stopped working
- restored the removed modules in TB, auto rotate still not working
- installed TWRP and Wanamlite. Screen rotation first worked, but after some time ( and my guess is after few reboots ), screen auto rotate failed again.
I was unable to fix this, so I had to go back to stock ROM ( Swiss FNB9 ), to get the phone working again.
Searching on Google, it seems that few of the Samsung devices have this problem of screen auto-rotation not working after rooting....
Before I try rooting again, is this a known problem ? Any fix with a high degree of reliability ?
Thanks for any info, Paul.
Click to expand...
Click to collapse
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Repulsa said:
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Click to expand...
Click to collapse
Wow, very much appreciated! This worked perfectly for my S4 with KitKat.
Today I noticed my auto screen rotation stopped. I googled around, tried many work-arounds, but none of them helped. A hard reset didn't work, a soft reset didn't work, Bluetooth/GPS/WiFi off didn't help, calibration using an app didn't work, etc.
I rooted my phone (as I had before, but because of the hard reset I had to root it again), installed Root Explorer, and put the libgnustl_shared.so file in the System/lib folder (while mounted R/W). I rebooted and BAM! Auto screen rotation was back again!
jupkeyope said:
Wow, very much appreciated! This worked perfectly for my S4 with KitKat.
Today I noticed my auto screen rotation stopped. I googled around, tried many work-arounds, but none of them helped. A hard reset didn't work, a soft reset didn't work, Bluetooth/GPS/WiFi off didn't help, calibration using an app didn't work, etc.
I rooted my phone (as I had before, but because of the hard reset I had to root it again), installed Root Explorer, and put the libgnustl_shared.so file in the System/lib folder (while mounted R/W). I rebooted and BAM! Auto screen rotation was back again!
Click to expand...
Click to collapse
Glad that fixed your issue mate Have a nice day.
Repulsa said:
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Click to expand...
Click to collapse
That fixed it indeed !! Thanks man ! I had problems pasting the file into that directory but the "root browser" app from the play store could paste it. Then changed permissions, rebooted and ... back is screen rotation !!! Thanks !! :good:
---------- Post added at 04:09 AM ---------- Previous post was at 03:58 AM ----------
BTW, so it seems the problem is that when you uninstall samsung HUB (which I indeed did), it removes that particular file. See: http://forum.xda-developers.com/showpost.php?p=49604191
Repulsa said:
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Click to expand...
Click to collapse
this solves the problem of the motion sensor? My s4 stopped working screen rotation and motion sensor ... stopped after uninstalled some apps by TB
sensor motion
its solve
Hi, Besides hitting the THANKS button, I would like to give following information for other users:
I have PhilzTouch installed and tried to flash the zip file severel times, But everytime after wiping cache part. and dalvik I noticed that nothing changed.
So I did the copy/paste action as described and after rebooting it worked.
Hi All,
I had the same issue when i rooted my device, and lost the rotation and use the method described here to fix the issue.
But after reboot the phone it will keep popping the message " Unfortunately, Samsung Hub has stopped" and it won't go away or let me do anything on the phone, as soon as i hit the OK button it will popup again.
Any possible fix for that, Please !!!
Thank you all.
In English, please...
Repulsa said:
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Click to expand...
Click to collapse
Can someone help me with this, please... I have no idea what this means.
1) I downloaded the file
2) The instructions say to move the libgnustl_shared.so file into System>>Lib. When I download the file, libgnustl_shared.so is already in a folder called System>Lib...
3) Someone else said to FLASH via recover or something?? What does that mean? Can someone explain this in straightfoward terms? Thank you.
In that case, you should try to replace the existing file with the new one.
You just need to set up the parameters of the file (permissions into rw r r) as explained before. You can do it with ES Explorer for instance.
No need to do something else, just reboot.
Sent from my GT-I9505 using XDA Free mobile app
HEEELP !!!!!!!!!!!!!!!!!!!!
Repulsa said:
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Click to expand...
Click to collapse
Please help if done every thing you said ive flashed it using touched based cwm ive flash my stock files before to unbrick pls help
Repulsa said:
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Click to expand...
Click to collapse
That really works on my S4. But my hand motion sensor(air gesture) still does not work. How 2 fix it?
I followed the instructions to the T and still no luck. What else could it be?
Repulsa said:
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Click to expand...
Click to collapse
dude you're my friggin hero...no joke...
Galaxy S4 Screen Rotation
Repulsa said:
download and flash libgnustl_shared.so via recovery. Or if your phone is rooted , Copy and paste to System>>lib and change permission to rw-r--r-- . Reboot . Have a nice day.
Click to expand...
Click to collapse
Hello,
Still trying to fix my screen rotation. I reinstalled samsung hub but it dod not fix anything.I have gotten the above file into my system here, device storage-download-system-lib-libgnustl_shared.so
It does not open with any apps and under the menu button I show
hidden files
file extension
catagories
or Select directories
I cant find the right place to change permission to rw-r--r--
thanks for your help.
dave
davekane said:
Hello,
Still trying to fix my screen rotation. I reinstalled samsung hub but it dod not fix anything.I have gotten the above file into my system here, device storage-download-system-lib-libgnustl_shared.so
It does not open with any apps and under the menu button I show
hidden files
file extension
catagories
or Select directories
I cant find the right place to change permission to rw-r--r--
thanks for your help.
dave
Click to expand...
Click to collapse
Use a rootexplorer mate. And try again
Sent from my SM-G900F using Tapatalk
changin permission parameters for getting screen rotation
OK, easy, my first question was and has been "how to change the permissions".
And alone, not being an Android Geek, I succeeded !!!
First use Root Explorer, with it copy and paste (or move) the " libgnustl_shared.so" file in the "\system\lib" directory.
Once it's done (always with Root Explorer) apply a finger on this new file, a menu appears and choose "Permissions". Then there, keep only Read on the three lines, and only Write on the first line. Then click on OK.
And reboot your system.
Amazing, it's working, like the first day and before you rooted it...
Thanks again for your solution.
thanks
works great on i9505 kitkat. don't forget to reboot
no permission
im getting this when i try to do it,
"changing permissions was not successful. please note that some file systems do not allow permission changes"
anyone know how to get around this??
cheers

I deleted my samsungcamera2.odex . Does anyone have a copy or any ideas?

Hey guys,
I tried out the Note 3 Camera (I found it buggy and crashed, couldn't even use the front facing camera). I went to delete it and rename the stock camera app to samsungcamera2.apk but of coarse it's not showing up in the launcher or working because I deleted the corresponding ODEX file.
I made a CWM nandroid backup which I've got on my computer and phone but nothing I've tried has been successful in recovering the ODEX file. I tried with my paid Titanium Backup and the camera was in the list but when I went to restore it, it's disappeared.
I have an i9506 (international). I've tried unyaffs-x86-win but it won't work, I suspect because of the EXT4 file system. I've also tried some undeleting programs and nandroid browsers on the device (one keeps asking for busybox which is installed and the other just sit there forever).
If there's no way or I can't find it online I'll have to restore the backup in CWM (it took me so long to set everything up nicely too )
Any ideas or advice welcome
I figured it out, here's what I did for reference:
system.ext4.tar.a in Windows
Rename to have .tar extension and open with 7zip. It had an error but opened anyway and I pulled the files from there and copied to /system/app.
Job done! :good:
where can i download stock camera? thank you

Stock Gallery not installing

Hi. I accidentally deleted my stock gallery app so I re-downloaded it (from here: http://forum.xda-developers.com/showthread.php?t=2449815) to try to install it again. Apparently I can't just re-install it because it's a system app so it keeps telling me that it's not installed. I tried a file manager to move the apk file into the system/app folder and changed the permission to rw--r--r--. I restart after that and now I can find the gallery app installed on my phone, but it crashes right away every time I try to open it ("Gallery has stopped working"). It also doesn't work whenever I go into camera and tap on the photo browser box because it also says gallery stopped working.
I'm on Kitkat right now with root access and I can't for the life of me figure out what I'm doing wrong. Please help!
joline4 said:
Hi. I accidentally deleted my stock gallery app so I re-downloaded it (from here: http://forum.xda-developers.com/showthread.php?t=2449815) to try to install it again. Apparently I can't just re-install it because it's a system app so it keeps telling me that it's not installed. I tried a file manager to move the apk file into the system/app folder and changed the permission to rw--r--r--. I restart after that and now I can find the gallery app installed on my phone, but it crashes right away every time I try to open it ("Gallery has stopped working"). It also doesn't work whenever I go into camera and tap on the photo browser box because it also says gallery stopped working.
I'm on Kitkat right now with root access and I can't for the life of me figure out what I'm doing wrong. Please help!
Click to expand...
Click to collapse
First, are you on NC2 leak or NC4 OTA? I'm not sure if it matters with a gallery apk but you never know.
If you're on NC2 leak go to Beans thread here : http://forum.xda-developers.com/showpost.php?p=52088473&postcount=1
If you're on NC4 go here : http://forum.xda-developers.com/showpost.php?p=53508270&postcount=1
1) Next, I'd download the rom for whatever you're on NC2 or NC4.
2) Extract rom zip with 7zip or Winrar or whatever your zip extraction program is.
3) Look for the secgallery.apk and pull the apk from the folder and transfer to your phone on your sd card.
4) Once on your sd card use your file explorer with root access. I prefer Root Explorer, if you don't have it it's worth buying to me.
5) Push the secgallery apk to system/priv-app and set permissions to rw-r--r--, then reboot and see if that helps.
6) If you still have problems try going to settings>application manager>all>then look for gallery and clear cache and see if that works
I don't know if you should use the apk you got from that link you posted as I don't know if it's been altered or not. It might be as easy as you putting that secgallery apk you have already in system/priv-app instead of system/app but let's be on the safe side. That's why I said download Beans stock rooted roms.
Hopefully this works for you.
EDIT: After going through both roms I have on my pc it appears the gallery is the same so I pulled it and uploaded here for you : http://d-h.st/9TK Let me know once you have it so I can take it down.
TheAfroSamurai said:
First, are you on NC2 leak or NC4 OTA? I'm not sure if it matters with a gallery apk but you never know.
If you're on NC2 leak go to Beans thread here : http://forum.xda-developers.com/showpost.php?p=52088473&postcount=1
If you're on NC4 go here : http://forum.xda-developers.com/showpost.php?p=53508270&postcount=1
1) Next, I'd download the rom for whatever you're on NC2 or NC4.
2) Extract rom zip with 7zip or Winrar or whatever your zip extraction program is.
3) Look for the secgallery.apk and pull the apk from the folder and transfer to your phone on your sd card.
4) Once on your sd card use your file explorer with root access. I prefer Root Explorer, if you don't have it it's worth buying to me.
5) Push the secgallery apk to system/priv-app and set permissions to rw-r--r--, then reboot and see if that helps.
6) If you still have problems try going to settings>application manager>all>then look for gallery and clear cache and see if that works
I don't know if you should use the apk you got from that link you posted as I don't know if it's been altered or not. It might be as easy as you putting that secgallery apk you have already in system/priv-app instead of system/app but let's be on the safe side. That's why I said download Beans stock rooted roms.
Hopefully this works for you.
EDIT: After going through both roms I have on my pc it appears the gallery is the same so I pulled it and uploaded here for you : http://d-h.st/9TK Let me know once you have it so I can take it down.
Click to expand...
Click to collapse
Oh my goodness, you're a life safer! It finally worked after spending many hours trying to figure out what was wrong. I guess it's because I use the wrong apk and also because I put it in the wrong folder in the system root. After I downloaded the apk you provided, I moved the file to system/priv-app and changed the permission. After rebooting, gallery is now working perfectly fine again instead of crashing.
Thank you so much for your help! I really couldn't have figured this out on my own without your information!
joline4 said:
Oh my goodness, you're a life safer! It finally worked after spending many hours trying to figure out what was wrong. I guess it's because I use the wrong apk and also because I put it in the wrong folder in the system root. After I downloaded the apk you provided, I moved the file to system/priv-app and changed the permission. After rebooting, gallery is now working perfectly fine again instead of crashing.
Thank you so much for your help! I really couldn't have figured this out on my own without your information!
Click to expand...
Click to collapse
That's what's up... ?
Glad I could help you out, it's no problem at all.
Sent from the Note 3 of The Afro Samurai

Categories

Resources