1. HaTaX's Avatar
    So I was messing around with Discord a little and wanted to see if I could get it working. Version 1.3.5 from about a year ago was the last to load, but it no longer has any connectivity. Testing 1.4.5 showed the start of crashing behavior on BB10, at least with the same behavior that 2.6.1 also shows; looks like it's going to start and then disappears / crashes.

    I've narrowed it down to where it looks like it can load it's native library okay (libdiscord.so) but crashes somewhere down the line when setting things up. I'll chase it down a little more later, but for me it's not the biggest loss to not have voice capability. At least I can see everything on the screen and navigate through channels.

    These are the original links for 2.6.1 which is now outdated
    (LATEST BUILD AT BOTTOM OF THIS POST):
    https://mega.nz/#!DJQjhbLS!lQJn7T4rS...wwHYLtOdz9qM3c

    https://drive.google.com/file/d/0B5P...I1SmljY2c/view

    It's been patched using Colbolt's Play Services Patcher to make things easier for those of you that have his google services patches installed.

    Previous patched version - 2.7.3 (Depreciated, check below for newer version):
    https://mega.nz/#!fYYnSBjY!imPEbwBwa...zaa47lHKoh_x-0

    https://drive.google.com/open?id=0B5PXX0Ohx8YvZE9QbmN4b2NHWlE


    LATEST VERSION - 3.9.0 :
    https://mega.nz/#!yAIXmL7S!mCjjC6yVD...JJ44C-NESuWit4

    https://drive.google.com/open?id=0B5...0JNOEZXeWttSnc
    Last edited by HaTaX; 06-12-17 at 12:55 PM.
    undefinederror and KK_GIR like this.
    05-13-16 09:00 PM
  2. HaTaX's Avatar
    250+ views and no comments as of yet? Anyone try this out, is it working for you if you did?

    Took a little deeper look at the native library and it looks like it loads just fine, but when a call is made to connect to a server, disconnect from a server, and something in the initialization call cause it to crash. The patched version above just avoids ever loading libdiscord.so, and as such will just display 'Voice services aren't supported on your device yet, stay tuned!'. This might be fixable and might not, getting a core dump from a native library is no fun on a BB10 device.
    Last edited by HaTaX; 05-14-16 at 05:55 PM.
    05-14-16 02:40 PM
  3. stealthbob's Avatar
    Working nicely thanks...agreed as well, don't need the voice anyway
    05-20-16 10:59 AM
  4. HaTaX's Avatar
    05-30-16 02:10 PM
  5. dragon1234's Avatar
    Big thanks, 2.6.9 works perfectly and no voice is better than nothing.
    I tried to patch 2.7.3 but it probably needs more than just a patch.
    06-07-16 10:33 AM
  6. HaTaX's Avatar
    I tried to patch 2.7.3 but it probably needs more than just a patch.
    Yeah, I actually modify one of the smali files before recompiling & packaging it in the Play Services Patcher. Basically I block loading of the library within 'VoiceEngineDiscord.smali', specifically the 'tryInitializeLibDiscord' method. I've discovered a few other ways to do this but modifying that function seems to be the cleanest as it gives the user a 'Voice doesn't work with this device' message and saves a little memory by not loading the library.

    Going as far as patching the actual library file has proven to be a little more difficult, I can block a few calls within it and it no longer crashes but also doesn't ever connect to the voice server. It just sticks in a 'connecting' state with the changes. Seems it's calling the setup & init routines asynchronously and so a callback handler is most likely where it's crashing. If I put more time into it I might be able to figure out how to get it to work, but it'd take a lot more effort then put into the simple patch above.

    I'll get 2.7.3 patched up and posted.
    06-07-16 12:51 PM
  7. HaTaX's Avatar
    06-07-16 01:05 PM
  8. dragon1234's Avatar
    I looked at how you coded it, and creatively copied and pasted your modified code in the version 2.7.8: I give you full credit for it.
    https://drive.google.com/open?id=0B6...mhiYThoUlhoeDA
    HaTaX likes this.
    07-06-16 10:43 AM
  9. HaTaX's Avatar
    I looked at how you coded it, and creatively copied and pasted your modified code in the version 2.7.8: I give you full credit for it.
    https://drive.google.com/open?id=0B6...mhiYThoUlhoeDA
    Kudos on taking the initiative to get the new version patched! I actually just patched it up yesterday without checking back here. I'll provide a few more links to it just for redundancy sake, this is 2.7.8 with no voice:

    https://drive.google.com/open?id=0B5...XV0SnBTNzZZdkE

    https://mega.nz/#!iJJHULaK!MZ4urQfJP...OUOwn9Ufaup1NI
    07-07-16 01:16 PM
  10. Cyanide192's Avatar
    Dumb question here, do I just download the apk and install? I keep getting the unable to install message.
    07-29-16 09:00 AM
  11. lutinotmalin's Avatar
    Hey HaTaX, thanks for your great job, I was so glad to finally run Discord on my Q10 after months and months of attempts.

    Any new updates about Discord Client with no voice ?

    I'm currently running the last one you posted (2.7.8) but maybe it's outdated now.

    Thanks again, cheers from France

    Posted via CB10 with a mighty French Q10
    Last edited by lutinotmalin; 01-08-17 at 11:08 AM.
    09-29-16 04:09 PM
  12. lutinotmalin's Avatar
    Up ! Anything new there ? :-)

    Posted via CB10 with a mighty French Q10
    01-08-17 11:08 AM
  13. Indir's Avatar
    Installed the last version from this thread, it works well. Are there any new versions since then that still work on BB10?

    Posted via CB10
    Last edited by Indir; 02-11-17 at 11:43 PM.
    02-11-17 09:49 PM
  14. KK_GIR's Avatar
    So I was messing around with Discord a little and wanted to see if I could get it working. Version 1.3.5 from about a year ago was the last to load, but it no longer has any connectivity. Testing 1.4.5 showed the start of crashing behavior on BB10, at least with the same behavior that 2.6.1 also shows; looks like it's going to start and then disappears / crashes.

    I've narrowed it down to where it looks like it can load it's native library okay (libdiscord.so) but crashes somewhere down the line when setting things up. I'll chase it down a little more later, but for me it's not the biggest loss to not have voice capability. At least I can see everything on the screen and navigate through channels.

    These are the original links for 2.6.1 which is now outdated
    (LATEST BUILD AT BOTTOM OF THIS POST):
    https://mega.nz/#!DJQjhbLS!lQJn7T4rS...wwHYLtOdz9qM3c

    https://drive.google.com/file/d/0B5P...I1SmljY2c/view

    It's been patched using Colbolt's Play Services Patcher to make things easier for those of you that have his google services patches installed.

    LATEST VERSION - 2.7.3 :
    https://mega.nz/#!fYYnSBjY!imPEbwBwa...zaa47lHKoh_x-0

    https://drive.google.com/open?id=0B5...E9QbmN4b2NHWlE


    Thank you a lot!!
    I've been sooo painful to use Skype on my Q10, but today, youve just save me from the ****.
    03-15-17 01:13 AM
  15. Raestloz's Avatar
    My Z10 says unable to install this app. Does someone know what the problem is?

    Posted via CB10
    06-11-17 12:38 AM
  16. HaTaX's Avatar
    My Z10 says unable to install this app. Does someone know what the problem is?

    Posted via CB10
    You've got the unpatched version of it installed, you need to remove the version you've currently got installed before trying to install the patched version
    06-12-17 12:49 PM
  17. HaTaX's Avatar
    I had a need to update this for my Passport so I thought I'd post up the latest version I modified, 3.9.0 is now in the OP if anyone still needs it.
    06-12-17 12:56 PM
  18. Indir's Avatar
    Thanks! I'll try it right away! Would you be bothered to write a tutorial on how you patch the apks, so people might try themselves in the future?

    Posted via CB10
    06-17-17 11:32 AM
  19. Emmerich's Avatar
    Is there any working version of the latest build?
    09-08-17 05:16 AM
  20. InUrKitchin's Avatar
    Would also love to see the latest build patched. Not concerned at all with the Voice portion, just looking / hoping for everything else in the latest version.
    11-17-17 05:52 PM
  21. krishgokulk's Avatar
    STATEBANK ANYWHERE. apk file has installed but can't start

    Posted via CB10
    11-22-17 07:43 PM

Similar Threads

  1. No decent email filter
    By oldsoul123 in forum BlackBerry Priv
    Replies: 4
    Last Post: 04-14-17, 04:18 PM
  2. Why can't I free call on LINE?
    By Rizal Khoiruddin in forum Ask a Question
    Replies: 6
    Last Post: 05-28-16, 05:53 PM
  3. Priv is Stuck on Feb security update on AT&T
    By Pappa Midnight in forum BlackBerry Priv
    Replies: 21
    Last Post: 05-26-16, 06:00 AM
  4. No BBM car app
    By Mikepoint in forum General BBM Chat
    Replies: 2
    Last Post: 05-16-16, 12:52 PM
  5. Great deal on BlackBerry Playbook Rapid Travel Charger on Amazon UK
    By loreburne in forum General BlackBerry News, Discussion & Rumors
    Replies: 3
    Last Post: 05-14-16, 01:57 AM
LINK TO POST COPIED TO CLIPBOARD