[Q] Google play store error 491 with CyanogenMod 9.1 Beta 5 for S5830i

Search This thread

handyflo

Senior Member
Jul 21, 2014
85
7
Hi all,
I use the mentioned custom rom and getting after every download from google play store the following error:

I use this Rom & GApps Version:
CyanogenMod 9.1 Downloads:
Beta 5: http://www.mediafire.com/download/md...ve_Beta_05.zip
Google Apps:
http://www.androidfilehost.com/?fid=23501681358561026

ClockworkMod Recovery:
Version 6.0.1.2: http://xdaforums.com/gala...comcm-t2805391
Version 5.0.2.8: http://xdaforums.com/show....php?t=2649487

is this a known issue with this beta version 5 and the gapps version? How to get rid of him? I already tried to delete / wipe the cache und removed & add my google id without success, I used this howto guide:
http://androidfact.com/google-play-error-491/
 

Attachments

  • Screenshot_2014-07-22-09-07-07.png
    Screenshot_2014-07-22-09-07-07.png
    53.6 KB · Views: 409
  • Screenshot_2014-07-22-09-08-04.png
    Screenshot_2014-07-22-09-08-04.png
    134.5 KB · Views: 351
  • Screenshot_2014-07-22-09-08-16.png
    Screenshot_2014-07-22-09-08-16.png
    146.1 KB · Views: 329
  • Like
Reactions: Nightly Coder
D

Deleted member 5617821

Guest
Hi all,
I use the mentioned custom rom and getting after every download from google play store the following error:

I use this Rom & GApps Version:
CyanogenMod 9.1 Downloads:
Beta 5: http://www.mediafire.com/download/md...ve_Beta_05.zip
Google Apps:
http://www.androidfilehost.com/?fid=23501681358561026

ClockworkMod Recovery:
Version 6.0.1.2: http://xdaforums.com/gala...comcm-t2805391
Version 5.0.2.8: http://xdaforums.com/show....php?t=2649487

is this a known issue with this beta version 5 and the gapps version? How to get rid of him? I already tried to delete / wipe the cache und removed & add my google id without success, I used this howto guide:
http://androidfact.com/google-play-error-491/

Use the instructions from the following guide,

Android Fix: Error 491 in Google Play Store

Don't forget to clear out the data and cache of Google apps mentioned in the guide right after you remove your GMail account. If the first method doesn't work, then try the second one. Do post the result. Hope I Helped :)
 
D

Deleted member 5617821

Guest
This guide did not help ether, I tryed both methods without sucess, still error 491.
Is this maybe a ROM bug, because some user seems to be the same issue as well mentioned in:

http://xdaforums.com/showthread.php?t=2118645

Even the playstore fix mentioned in:
[TOOL][ZIP] Play Store 492-498 fixer by Lopicl

did not work

The playstore fix is for error 492-498 and not for 491. You can understand the Google errors and its possible solution from the following guide,

[Help Thread] Google play errors Explained (with fixes)

As for the error 491, try repeating the first method but this time make sure to delete the Google Play updates too when you remove your account. As far as I know error 491 is not a rom bug. Most of the people had this problem solved just by removing the Google account, clearing out the cache associated with Google Play & Play services, uninstalling the Play updates, rebooting and finally adding the Google account again followed by installing the updates. Do post the result. Hope I Helped :)
 

handyflo

Senior Member
Jul 21, 2014
85
7
still no change, did exactly all things mentioned on the website. Besides, there was no option to deinstall the google service update.
The only eplanation I can see it must be a rom bug.

anyone who has the same problem with this mobile and rom version?
 

alois_jolliet

New member
Jul 23, 2014
1
0
I have the same problem with my 5830i,

Mod Edit
Discussion of Warez is not allowed on XDA



Sorry for bad english ;)

Sent from my MD_LIFETAB_P9516 using XDA Free mobile app
 
Last edited by a moderator:

seanwlk

Senior Member
Jul 27, 2014
249
76
/root
OnePlus One
OnePlus 5T
i got the same error and i've tryed everything above does anyone have a solution?? To install apps i need to access the google play from chrome and download the apk with "Apk downloader" (i think it's kinda illegal...) but at least i can have apps.

I'm using Cyanogenmod 9 beta 5 on s5830i
 

hojuruku

Member
Feb 5, 2011
35
6
www.eflbazaar.com
ditto with galaxy y

Hi all,
I use the mentioned custom rom and getting after every download from google play store the following error:

I use this Rom & GApps Version:
CyanogenMod 9.1 Downloads:
Beta 5: http://www.mediafire.com/download/md...ve_Beta_05.zip
Google Apps:
h Http://www.androidfilehost.com/?fid=23501681358561026

I'm using same from from same author for galaxy y. I confirm its a from issue. We need different gapps me thinks......
 

Nightly Coder

Member
Aug 7, 2014
30
33
Austria
The playstore fix is for error 492-498 and not for 491. You can understand the Google errors and its possible solution from the following guide,

[Help Thread] Google play errors Explained (with fixes)

As for the error 491, try repeating the first method but this time make sure to delete the Google Play updates too when you remove your account. As far as I know error 491 is not a rom bug. Most of the people had this problem solved just by removing the Google account, clearing out the cache associated with Google Play & Play services, uninstalling the Play updates, rebooting and finally adding the Google account again followed by installing the updates. Do post the result. Hope I Helped :)

For general google errors this is true, but in this case, the error is caused by missing DRM (Digital Rights Management) libraries and binaries.
I have looked through the source code to find the specific files, and compiled them using the BroadcomCM.

Now everything is working fine =)

---------- Post added at 10:06 PM ---------- Previous post was at 10:01 PM ----------

still no change, did exactly all things mentioned on the website. Besides, there was no option to deinstall the google service update.
The only eplanation I can see it must be a rom bug.

anyone who has the same problem with this mobile and rom version?

It is "kind of" a rom bug, the source code of the rom is working fine, but some of the libraries weren't included in the final build.
So I've added it via the gapps package, and now everything is working fine.

You can try my gapps package.
It's working for me. Tested with CM 9.1 Beta 5.
 
  • Like
Reactions: hrc3000

handyflo

Senior Member
Jul 21, 2014
85
7
After several days of investigation I've found the solution.
A specific library and a binary was not included in the ROM (which is apparently needed by Google Play).

I read the log files, searched the missing files and compiled the corresponding source code using the BroadcomCM repository.
I included the missing files in the Google Apps package and added some lines to the updater-script, and voila a working Google Play :cool:

Changelog:
  • Added libdrmframework_jni.so to /system/lib
  • Added drmserver to /system/bin
  • Modified updater-script to set the permissions
Credits:
  • bieltv.3, Alberto96, Psyke83, Spacecaker, Lopicl.00 for BroadcomCM (which I used to compile the binaries and libraries)
Info:
  • For CM 9 aka. ICS

PS:
Can someone post a link to this thread in the "CyanogenMod 9.1 - BroadcomCM" - Thread, that would be great.
Because I've no permissions to do that :/
Well done nightly coder [emoji106] big thx for the fix and investigation. Because I don't have the right to post in the linked cm9 thread maybe someone else can link this fix to the related thread.
 
  • Like
Reactions: Nightly Coder

Nightly Coder

Member
Aug 7, 2014
30
33
Austria
Well done nightly coder [emoji106] big thx for the fix and investigation. Because I don't have the right to post in the linked cm9 thread maybe someone else can link this fix to the related thread.

I'm glad someone is using my package, because I've put a lot of work into it.
And serving at least one person, really makes it worth it :victory:

I saw in your screenshots, that you are also speaking German :)
Schöne Grüße aus Österreich
 
  • Like
Reactions: hrc3000

JCVillegas78

Senior Member
Jul 30, 2013
112
27
Makati City
After several days of investigation I've found the solution.
A specific library and a binary was not included in the ROM (which is apparently needed by Google Play).

I read the log files, searched the missing files and compiled the corresponding source code using the BroadcomCM repository.
I included the missing files in the Google Apps package and added some lines to the updater-script, and voila a working Google Play :cool:

Changelog:
  • Based on GoogleApps_GearCM_CM9_20140711
  • Added libdrmframework_jni.so to /system/lib
  • Added drmserver to /system/bin
  • Modified updater-script to set the permissions
Credits:
  • bieltv.3, Alberto96, Psyke83, Spacecaker, Lopicl.00 for BroadcomCM (which I used to compile the binaries and libraries)
Info:
  • For CM 9 aka. ICS
  • Install it with CWM (Cache Wipe not necessary, but recommended)

(Update: Apparently there is a signing issue with the GoogleApps_GearCM_CM9_20140711, which my google package is based on.
Therefore I will make a new update package as soon as possible, which is using the Official Google Apps as a base.)

Will it work with Galaxy Y (Totoro) too??
Reply Asap.. :)

Sent from my GT-S5360 using XDA Premium 4 mobile app
 

Nightly Coder

Member
Aug 7, 2014
30
33
Austria
Will it work with Galaxy Y (Totoro) too??
Reply Asap.. :)

Sent from my GT-S5360 using XDA Premium 4 mobile app

Yes, it will work. But you should check if you are having the same problem.

Look into your /system/lib/ folder and search for "libdrmframework_jni.so".
Do the same with your /system/bin/ folder and search for "drmserver".

If both files are missing, then this Google App Package will fix your Error.
The libraries and binaries are also working for Totoro.

PS:
Just wait a few minutes, I'm currently writing/posting a new/better version.
Stay tuned :)

Best regards
 
Last edited:

hrc3000

Senior Member
Jan 26, 2014
73
8
Yes, it will work. But you should check if you are having the same problem.

Look into your /system/lib/ folder and search for "libdrmframework_jni.so".
Do the same with your /system/bin/ folder and search for "drmserver".

If both files are missing, then this Google App Package will fix your Error.
The libraries and binaries are also working for Totoro.

PS:
Just wait a few minutes, I'm currently writing/posting a new/better version.
Stay tuned :)

Best regards

I've checked system and found libdrm1-jni.so & libdrmframerwork.so but not "libdrmframework_jni.so" ofc there's not drmserver in system/bin.

I have already installed gapps who throws error 491 if I want to install your version should I delete them first and then install your package or just flash your over these ones I do have right now.
 
Last edited:

Nightly Coder

Member
Aug 7, 2014
30
33
Austria
I do have already installed gapps who throws error 491 if I want to install your version should I delete them first and then install your package or just flash your over these ones I do have right now.

If you have already installed a google apps package, which throws a 491 error, you should uninstall it first.
Because my previous google apps package (or the GearCM package) has old certificates, and therefore you cannot update Google Play Services, which is needed by some apps.

First Option
Therefore I recommend, that you uninstall the old version first.
Here is a detailed guide on how to do this [GUIDE] How to fix and upgrade Google Play Services.

Second Option
If you don't have stored data on your phone, you can also flash the rom again to delete your system partition.
Then you can install my new package without uninstalling the previous package.

Best regards
 
Last edited:
  • Like
Reactions: hrc3000

hrc3000

Senior Member
Jan 26, 2014
73
8
If you have already installed a google apps package, which throws a 491 error, you should uninstall it first.
Because my previous google apps package (or the GearCM package) has old certificates, and therefore you cannot update Google Play Services, which is needed by some apps.

First Option
Therefore I recommend, that you uninstall the old version first.
Here is a detailed guide on how to do this [GUIDE] How to fix and upgrade Google Play Services.

Second Option
If you don't have stored data on your phone, you can also flash the rom again to delete your system partition.
Then you can install my new package without uninstalling the previous package.

Best regards

Therefore it is very important that you don't delete the google apps manually with a Root Explorer.
Shizzle I did it like literally 5 mins ago. What should I do now?

EDIT: I'll re-install ROM.
 
Last edited:

Nightly Coder

Member
Aug 7, 2014
30
33
Austria
Shizzle I did it like literally 5 mins ago. What should I do now?

First Option
Flash your rom again. And install my package afterwards.

Second Option
Pull the "packages.xml" file from your device and search the following Strings:

  • "/system/app/GooglePlayStore.apk"
  • "/system/app/GoogleContactsSyncAdapter.apk"
  • "/system/app/GoogleLoginService.apk"
  • "/system/app/GoogleServicesFramework.apk"
  • "/system/app/NetworkLocation.apk"

And then delete the complete "<package ... > ... </package>" element, where you found the string.
Afterwards you can install my google apps package.

Hope this helps.
 
  • Like
Reactions: hrc3000

hrc3000

Senior Member
Jan 26, 2014
73
8
First Option
Flash your rom again. And install my package afterwards.

Second Option
Pull the "packages.xml" file from your device and search the following Strings:

  • "/system/app/GooglePlayStore.apk"
  • "/system/app/GoogleContactsSyncAdapter.apk"
  • "/system/app/GoogleLoginService.apk"
  • "/system/app/GoogleServicesFramework.apk"
  • "/system/app/NetworkLocation.apk"

And then delete the complete "<package ... > ... </package>" element, where you found the string.
Afterwards you can install my google apps package.

Hope this helps.

By "yours google apps package" you mean this one: [*] gapps-full-ics-broadcomCM-20120317-signed.zip - 52 MB -
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Google Apps for BroadcomCM Beta 5

    I've created a new thread for this topic.
    You can find it here [GAPPS] Google Apps for BroadcomCM Beta 5.
    3
    Will it work with Galaxy Y (Totoro) too??
    Reply Asap.. :)

    Sent from my GT-S5360 using XDA Premium 4 mobile app

    Yes, it will work. But you should check if you are having the same problem.

    Look into your /system/lib/ folder and search for "libdrmframework_jni.so".
    Do the same with your /system/bin/ folder and search for "drmserver".

    If both files are missing, then this Google App Package will fix your Error.
    The libraries and binaries are also working for Totoro.

    PS:
    Just wait a few minutes, I'm currently writing/posting a new/better version.
    Stay tuned :)

    Best regards
    2
    First Option
    Flash your rom again. And install my package afterwards.

    Second Option
    Pull the "packages.xml" file from your device and search the following Strings:

    • "/system/app/GooglePlayStore.apk"
    • "/system/app/GoogleContactsSyncAdapter.apk"
    • "/system/app/GoogleLoginService.apk"
    • "/system/app/GoogleServicesFramework.apk"
    • "/system/app/NetworkLocation.apk"

    And then delete the complete "<package ... > ... </package>" element, where you found the string.
    Afterwards you can install my google apps package.

    Hope this helps.

    By "yours google apps package" you mean this one: [*] gapps-full-ics-broadcomCM-20120317-signed.zip - 52 MB -
    1
    Yes just use the mentioned small or big gaps package and the playstore will work again. Ein Grosses Dankeschön aus Deutschland geht nach Österreich zum nightly coder
    1
    This guide did not help ether, I tryed both methods without sucess, still error 491.
    Is this maybe a ROM bug, because some user seems to be the same issue as well mentioned in:

    http://xdaforums.com/showthread.php?t=2118645

    Even the playstore fix mentioned in:
    [TOOL][ZIP] Play Store 492-498 fixer by Lopicl

    did not work