yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Roughy:
Logcat contains the expected output this time, but EdXposed is doing something very weird.

All the hooks appear to be inserted correctly ( if Sandhook's logs are to be believed ), but the module entry gets called 3 times /simultaneously/, and it looks like all of the hooks are called 3 times too.

Line 4176: 07-16 21:55:06.349 1865 1865 I EdXposed-Bridge: Exi/LoadPackageHook, Module loaded in com.touchtype.swiftkey
Line 4176: 07-16 21:55:06.349 1865 1865 I EdXposed-Bridge: Exi/LoadPackageHook, Module loaded in com.touchtype.swiftkey
Line 4176: 07-16 21:55:06.349 1865 1865 I EdXposed-Bridge: Exi/LoadPackageHook, Module loaded in com.touchtype.swiftkey

Xposed module's wait for Xposed to call a method, in which the module performs its setup process. Exi checks that it's in the right process, then prints the above message here.

If this were 3 separate processes doing something weird we'd be all good, but they're all in 1865: the same process. This results in every hook being inserted and called 3 times, which is definitely going to break a lot of things.

This is a problem on EdXposed's side, more specifically in XposedBridge apparently: https://github.com/rovo89/XposedBridge/issues/225

Assuming nothing else is going wrong, it might be possible to work around the problem by setting a value at the entry point and skipping initialization if it is already set.

What's strange is that this is all happening in parallel. The hook initialization is supposed to occur on the main thread, blocking the process from continuing until it has finished. That clearly isn't what it is doing.

If it is no on the main thread then it is not blocking the process. This is bad because some of these hooks absolutely need to be in place before Swiftkey itself starts doing work. This would break things.

In any case, let's see if setting a flag is enough to keep it from executing multiple times, and if that solves the rest of the problems. Give the update below a go:

https://www.mayulive.com/swiftkeyexi/swiftkeyexi-2.3.3.apk

Assuming it always get called 3 times, you should expect something like "Module already loaded in package " + lpparam.packageName + ", exiting" twice. It is printed to both Logcat and XposedBridge.

Let me know how you fare

Or give YAHFA a go as suggested by Primokorn above
[Xposed Framework Modules] Alexey71:
Version 2.3.3 and YHFA did not help. Some functions of the module still stop working (Swipe Mode, Space Up-Swipe mode)
[Xposed Framework Modules] Roughy:
Exi for Swiftkey 2.3.4 release

2.3.4 [18.07.2019 ] - Compatibility ( Stable: 7.3.3.12 Beta: 7.3.5.18 )

Changes in 2.3.4

Fixed

- Compatibility targeting 7.3.5.18 ( Predictions )

- Workaround for module entry being called multiple times by XposedBridge

The Xposed Installer app does not appear to be refreshing properly and may not list the latest version.

Please download it directly from the Xposed Repository below using a browser.

Download:

Exi for Swiftkey on Xposed module repository

My own mirror of all versions

Notes:

Compatibility

They renamed ClipboardCandidate to ClipboardShortcutCandidate

That is all.
[Xposed Framework Modules] oroboros74:
Thanks for the prompt update!
[Xposed Framework Modules] Roughy:
No duplicate events this time ( though not prevented by my attempted fix ).

Still Sandhook, if you thought you YHFA at the time the logs were created.

Apart from that, nothing appears to be going wrong, as far as one can tell by the logs.

Hook setup does its thing, sandhood states that they were inserted, and the few of them that produce additional log output are doing so.

There were a number of users who had trouble with EdXposed, and then just had the problem magically resolve itself. They tried all the usual clearing cache solutions and such, so I cannot say exactly what any of them did.

I have also come across devices where you simply cannot hook certain methods. Usually the solution would be to figure out what methods cannot be hooked and trying to find some replacement, but that isn't really possible with a module as complex as Exi. I have no way of reproducing the problem so I wouldn't be able to track them down anyway.

Alas, I don't think there is anything I can do on my side to resolve this.

You are probably going to to have to look around the various Xposed/EdXposed for solutions suggestions by other people there.
[Xposed Framework Modules] Tchania:
[MENTION=6797900]Roughy[/MENTION]

Many thanks sir, just updated SwiftKey and was about to write that it seems all working fine but then found out the module is already updated targeting 7.3.5.18!
[Xposed Framework Modules] Alexey71:
I return back to official xposed magisk. Module 2.3.3/2.3.4 fixed my problem after reboot, when swift not started. Now working good, Thx

Eh, again not start swiftkey after reboot :(
[Xposed Framework Modules] kos25k:
Hello.I would like 2 things.

1)when we press on a word to correct a letter,always this happens.is very iritating.

2)if possible,at first word of sentence,first letter to be always on caps lock.I always manually edit it.

Thanks!!
[Xposed Framework Modules] BaschtlWaschtl:
First Word caps is a SwiftKey setting
[Xposed Framework Modules] Roughy:
You've sure put a lot of work into this.

The apklinker copy of the 7.3.2.19 apk is only 12.14mb, meaning it's only the base apk included in the android app bundle. This will always crash on launch.

Apkmirror's copy seems complete.

Last I tried out Tai-Chi it worked fine on Nougat, but failed ( usual toast warning message ) on Pie.

From what I recall it would fail midway through the hooking process, so there's a specific part of it that it's unhappy about.

I'd give it another go on Nougat, but in TaiChi 5.3.1 the "Module Manager" is nowhere to be found; Tai-Chi menu only has "download modules", which is just a list of links.

I think it was in that menu before? or in a side menu? In any case, I can't find it anywhere. No reason it wouldn't still be working on nougat though, it's Oreo and Pie that seems to be the problem.
[Xposed Framework Modules] alwynjoshy:
[MENTION=6797900]Roughy[/MENTION] Is there any possibility of Magisk module instead of xposed one's
[Xposed Framework Modules] KaMyKaSii:
No, both work differently. Xposed works with code injection and Magisk works with file replacement and shell scripts.
[Xposed Framework Modules] Tchania:
Working fine on 7.3.6.16.

Tested emojies, number row cursor move, space bar shortcuts, swift shortcut on the top bar thingy.
[Xposed Framework Modules] alwynjoshy:
Thanks for the reply

Okay so Magisk can't replace xposed right. Now days no more new modules are launching on xposed so i thought will magisk replace xposed
[Xposed Framework Modules] Roughy:
There's a version history in the top post with the specific version of Swiftkey that Exi targeted with each release.

You are probably looking at 1.3.4 or 1.4.1 :

1.4.1 [ 11.04.2018 ] - Hardware key remapping, undo/redo, transparent keyboard ( Stable: 7.0.2.15, Beta: 7.0.2.14 )

1.3.4 [ 23.01.2018 ] - Bug fixes, compatibility fixes ( Stable: 6.7.5.31, Beta: 6.7.6.17 )

Given that the version jumped from 6.x to 7.x, I imagine that's where they dropped kitkat support.

However, 1.4.1 contains no compatibility changes, so it may work too.

Back with these older version you'll want to make a habit of completely cleaning the app's data, as the thing-that-looks-for-classes-to-hook was a bit too lenient and would reuse the results from the previous version if they were similar enough. Good in theory, bad because the similarity score wasn't calculated properly back then.

There's also the cursor-getting-stuck-when-swiping issue to look out for, and lots of other annoyances.
[Xposed Framework Modules] Roughy:
Magisk itself does not replace Xposed, but the EdXposed magisk module does.
[Xposed Framework Modules] Alexey71:
Hi. Custom search does not work. Always google?
[Xposed Framework Modules] Roughy:
Back when that hook was added, Bing was the only search engine available.

As a result, the hook requires that you have Swiftkey configured to use Bing. Only then will the custom search engine setting be applied.

If you're always getting googled I'm guessing it's a safe bet that you've got it set to Google instead.
[Xposed Framework Modules] XtraWater:
Hello. The latest SwiftKey Beta update broke the module.
[Xposed Framework Modules] Tchania:
Thanks for the heads-up
[Xposed Framework Modules] DayatXD69:
Can we get Exi for Simple Keyboard?

Exi for SwiftKey is so Awesome, but it's more Ram use. I thinking maybe bring this feature to Simple Keyboard it's so Awesome because it's fast and lightweight and I love it
[Xposed Framework Modules] kruuvi:
Bummer :(, I mistakenly updated to the latest version and now I can't revert back - not even with TBU...
[Xposed Framework Modules] Roughy:
Exi for Swiftkey 2.3.5 is up on my own mirror

Edit: Now also on xposed module repo.

There were a lot of problems to sort through but I'm pretty sure everything is working.

Any problems will be non-obvious ones.

Targets stable 7.3.6.19 ( Everything but custom sounds works ) and beta 7.3.7.18 ( everything works as far as I am aware ).

Will push actual release and write up the release post in the morning.

Sleeps now.
[Xposed Framework Modules] XtraWater:
Thank you sir. Awesome.
[Xposed Framework Modules] Tchania:
Man... Thank you so much. I'm excited every time you push an update.
[Xposed Framework Modules] accurate40:
Can the colour of the key be changed? i.e. Change the A, B, C, letter to black colour.
[Xposed Framework Modules] Pariah24:
I have lost the Exi button on the toolbar after updating to the latest supported beta. Does anyone else have this issue??
[Xposed Framework Modules] bieuzy:
Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[Xposed Framework Modules] kruuvi:
Thank you very much!
[Xposed Framework Modules] darcijr09:
Hey. I've just rooted my new Moto G6 plus (android pie) with Magisk and EdXposed. Installed latest swiftkey beta and Exi. No swipe-related features are working... no selection, no hotkeys, no expanded suggestions (popups and everything else work tho...). I've been poking every setting in swiftkey and Exi. What should I do next? Thanks.
[Xposed Framework Modules] Roughy:
Make sure you are using a the correct version of the Module with the correct version of Swiftkey, because compatibility, or just post what version of everything you are using.

Xposed Installer log.

Logcat is generally the most helpful. Full log or filtered by messages tagged with "Exi/"
[Xposed Framework Modules] darcijr09:
Here we go:

Magisk 19.3/Manager 7.3.2 (224)

Riru - core 19.4

EdXposed 0.4.5.1_beta(4463)

Swiftkey Beta 7.3.7.18

Exi 2.3.5

It's been 2 hours and logcat is still being generated... idk what's happening, since it's the first time I'm doing this.
[Xposed Framework Modules] darcijr09:
I couldn't seem to find that file so I just deleted cache from app manager.

Then I force-closed Swiftkey and Exi and reopened them.

My layout is Brazilian Portuguese (QWERTY) and as for the settings... should I turn them back to stock?

Edit: I've created a custom theme, if that matters.
[Xposed Framework Modules] poison77:
Amazing App,

Thanks.
[Xposed Framework Modules] maumaus:
Hi

Since the last update of Exi 'disable jumping cursor' doesn't work.

Before that update its seemed fine. I'm on the corresponding app versions.

Thanks for the module BTW... Long time user!

*edit:

My bad I'm on .19 and not .18

But it seemed it happened since the module update. When I got time I'll check older (.18) versions of SwiftKey if it works or not.

Thanks!
[Xposed Framework Modules] Roughy:
You are indeed correct.

There strange thing here is that the exact same hook is used to prevent the cursor from jumping to the end of the word after swipe-selection, which seems to be working correctly.

Something is weird, but this problem is luckily limited to 7.3.6.19 and doesn't affect 7.3.7.18, so the next stable Swiftkey release should be fine.

7.3.7.18 brought some very significant changes, and it's a wonder it's still compatible with previous versions as it is. 7.3.7.18 remains the actual target version.

The previous version of the module ( 2.3.4 ) should still be compatible with the 7.3.6.19 and probably does not have this issue. 2.3.5 will probably be required after the next stable update though.
[Xposed Framework Modules] Roughy:
The file I mentioned would be in Swiftkey's files directory ( /data/data/com.touchtype.swiftkey.beta/files ).

Clearing the either app's cache will not remove it it.

Having said that, everything checks out, you even have the exact same armv7 apk as I do ( CRC32 ddad2f21 ).

Tried with the Brazillian Portugese layout and a custom theme without running into any problems.

I might suspect Pie-specific hook issues, but would expect at least one other report from other users.

All in all this means the most likely cause if EdXposed shenanigans, which we have had plenty of in the past.

In past cases it has generally come down to clearing doing clean installs and clearing device caches and stuff.

I can't link you exact posts, but there have been a number of EdXposed with issued who got everything sorted, without there ever being any very specific steps.
[Xposed Framework Modules] darcijr09:
Well guess what? I've got everything sorted out by... simply getting rid of Swiftkey Beta and moving to normal version. Or as you said, maybe it just needed a fresh install no matter the version... strange things happen lol. Anyway, thank you for your support and for making this awesome app.

Ps.: I'd like to let you know about a really small issue that occurs to me since "ever": if I swipe to move the cursor up or down between lines, when finger is released it goes back one line. In order to stay in the intended spot, I need to go one line further or swipe to the sides. Not a dealbreaker though.

Feeling bad for my English haha...
[Xposed Framework Modules] maumaus:
Thanks for confirming and sorting it out. I'll try to wait it out till next release. Thanks!
[Xposed Framework Modules] Roughy:
> Swiping cursor between lines

Oh god, how long has that been a thing?

I'll... I'll fix that. Along with everything else.
[Xposed Framework Modules] Alexey71:
Module stop working
[Xposed Framework Modules] darcijr09:
Don't worry, take your time :)
[Xposed Framework Modules] Tchania:
On 7.3.8.15 everything seems to be working fine.

I was a bit scared to update haha but made a backup with titanium backup and went ahead.
[Xposed Framework Modules] ZellZoy:
So I finally started using this again after getting edxposed. Was hard to live without it. One minor issue, the Lenny face seems to be missing some spaces. I was gonna use a custom panel to make my own but figured I'd mention it. The current one looks like this (͡°͜ʖ͡°) but should ideally look like this ( ͡° ͜ʖ ͡°)
[Xposed Framework Modules] Roughy:
I love it when the most serious active bug we have is an emoji missing spaces.

I'll correct it the next time I have to fix something else, which with any luck will not be any time soon.
[Xposed Framework Modules] iamMG:
Is it possible to add a 'Search Emoji' feature, like in Whatsapp Emoji and GBoard?
[Xposed Framework Modules] 3lambda:
It's already there somehow

Just type the emoji word you want and it'll be showing in word suggestion

Exemple : sun
[Xposed Framework Modules] oroboros74:
I'd love to see a list of all the keywords for the emojis, especially for some of the more obscure ones.
[Xposed Framework Modules] ZellZoy:
Awesome. I guess it's worth nothing that the custom emoji panel doesn't really play nice with long emojis like ( ͡° ͜ʖ ͡° ) :

https://imgur.com/v4oYLUb
[Xposed Framework Modules] BadToThePhone:
Is it possible to add spacing between each row? I would like to add space between the L key and the backspace key. I would like to make the rows wider.

Also is there a way to customize the secondary punctuations in the period key like you did with the space bar? Thanks

[MENTION=6797900]Roughy[/MENTION]
[Xposed Framework Modules] Roughy:
You have to configure the column width for each panel.

It defaults to the width of a single ( color ) emoji, so it gets split into multiple lines to make it fit.

The exception to this is the recent-emoji panel, which does some expensive work to display them on a best-fit basis, but this only works because there it will only ever display 15 emoji or so.
[Xposed Framework Modules] Roughy:
Messing with key spacing should technically be possible now, though I haven't tried actually messing with it, nor do I really intend to do so.

Would need some pretty fancy configuration tools on Exi's side to make it useful.

Customize the secondary punctuations in the period key... like I did with the space bar? Not sure what you are referring to here.

You should be able to add popup keys to the period key, just like you can with any other key. The only different is that the "delete existing keys" option doesn't work for that one.
[Xposed Framework Modules] BadToThePhone:
Spacing the rows would be nice if you do decide to try or get around to it. I don't need specific key spacing.

So what you are saying is I can't delete the question mark or exclamation point from the period key and just have a period or comma?

Is it possible to hide the period key and extend the space bar over the period keys place?

[MENTION=6797900]Roughy[/MENTION]
[Xposed Framework Modules] Roughy:
Indeed. For some reason removing all the other popups keys doesn't work the same way as it does for the other keys, so you're stuck with whatever is already there.

Extending the space bar to cover the comma key should in fact be possible. Would probably have to mess with the sizing of the comma key too.

But again, theoretically a thing but nothing something I have confirmed, nor do I have any intention of adding it.

That would just be a simple on-off thing though, so I might actually give that a go sooner or later.

Add it to the github issues list maybe.
[Xposed Framework Modules] BadToThePhone:
If you could cover the comma or period key or both that would be nice. Then you can customize the space bar to anything to use any punctuation or letter. Extending the spacebar over those 2 keys would be helpful.

In the 3rd paragraph what are you taking about to add to github?

Thanks
[Xposed Framework Modules] AlDollaz:
New SwiftKey 7.3.8.16 is working with Exi.
[Xposed Framework Modules] Tchania:
Working fine with SwiftKey 7.3.9.

But I think emojies appear bigger than before (not a problem though).
[Xposed Framework Modules] Taracair:
Guys, from some time I have a bad thing happening to me with SwiftKey.

It tends to cut the last letter of the word I'm typing.

I don't know if it's the SwiftKey itself or Exi. I have fiddled with some Exi settings but haven't changed anything major.

Do you also experience that issue?
[Xposed Framework Modules] Tchania:
Never experience such problems in my case.

Have you tried disabling exi module to see if it's related to exi?

Or maybe reinstall both SwiftKey and exi.
[Xposed Framework Modules] alwynjoshy:
How to get older versions of Swift keyboard, tried so many apks and all of them are get broke after installation, tried titanium backup still not works
[Xposed Framework Modules] Tchania:
What do you mean by broke?
[Xposed Framework Modules] alwynjoshy:
You see after installation app it shows as broken icon
[Xposed Framework Modules] Tchania:
I don't know why this happens.

Maybe try installing only one keyboard (I see you have beta as well).
[Xposed Framework Modules] alwynjoshy:
No brother both have different package anme and stuffs so that is not the issues, new swiftkey builds like it cant be only installed from playstore, i downloaded around 5 apks all having same issues, i have the titanium backup of old apk but restoration also fails [MENTION=6797900]Roughy[/MENTION]
[Xposed Framework Modules] anagramgenius:
You get that because it is a split apk. AFAIK, titanium backup fails to restore split apks. Even if it restores, it force closes when you open it.
[Xposed Framework Modules] alwynjoshy:
the picture you see is an regular installation not titanium backup restore
[Xposed Framework Modules] alwynjoshy:
[MENTION=6797900]Roughy[/MENTION] exi not working after 3 reboots, the exi only module has the issue all other has running fine. I have collected all the logs please look into.

Thanks for you work
[Xposed Framework Modules] anagramgenius:
I know. You can't install a split apk like a normal apk via package installer and expect it to work without force closing or sometimes a broken icon.
[Xposed Framework Modules] KaMyKaSii:
As stated, you cannot install splitted apks as if they were regular (full) apks. I recommend that you install Aurora Store to properly download and install splitted apks, you just need to know the version code of the old SwiftKey you want to downgrade.

https://t.me/AuroraSupport
[Xposed Framework Modules] alwynjoshy:
Wow, that was great info, thanks brother
[Xposed Framework Modules] Lilith:
Hi, does anyone else have a problem with the emoji button? Whenever I press it, the keyboard crashes. You can type out the name of the emoji and it will show up as predicted without any problem, but the button doesn't work. I'm on Pie, Note 10+.
[Xposed Framework Modules] alwynjoshy:
Which exposed usung, aee you using any custom emojis, try every simple steps like clear the cache, dissable eny emojis, or add new emoji panel in exi like that

---------- Post added at 03:32 PM ---------- Previous post was at 03:31 PM ----------
[Xposed Framework Modules] Lilith:
Thank you so much, just opening the emoji panel from exi fixed it! Don't know how I didn't think of that, even though I did clear cache beforehand, this worked! ??️

Update: when flashing joypixels emojis, it crashes again. I guess I'll have to stick to stock ones, until this is fixed..
[Xposed Framework Modules] alwynjoshy:
There is more emojis on magisk try that
[Xposed Framework Modules] Tchania:
7.4.0.16 not working with exi, except emoji I think (I don't remember how stock emojies are shown).
[Xposed Framework Modules] Tchania:
[MENTION=5881351]alwynjoshy[/MENTION], did you succeed in restoring SwiftKey? I ran into the same problem but solved it now. Let me know if you haven't solved it yet. I'll share what I did.
[Xposed Framework Modules] einachtsmann:
Today with enabled exi, SwiftKey not load the keyboard Layout. Still all Black. But Buttons work. Disable exi and I See the Layout.
[Xposed Framework Modules] alwynjoshy:
What did you do, let others know the solution, i installed stable version and its works fine with edxposed
[Xposed Framework Modules] 3lambda:
For me it works, I have no issue

Latest SwiftKey beta and latest exi
[Xposed Framework Modules] XtraWater:
Unfortunately move the cursor with swipe space bar and the hot keys (all / copy / paste) stoped to work with the latest SwiftKey beta version..
[Xposed Framework Modules] Tchania:
Anyone wanting to revert back to previous version of SwiftKey will run into the issue of the app crashing or not installing at all.

Here is how you can solve it.

Download the wanted version of SwiftKey from apkpure, it's an xapk file not apk.

Then I downloaded and install the apkpuke app.

From the apkpuke app head to go to Me section, then app management, and head to apk/xapk management tab (the last on the right).

Once there you will be able to see the xapk that you downloaded (given you gave the app storage access permission).

Tap on it to install.

Done.

Going back to the app, it looks like yoh can just install apkpuke and search for SwiftKey then go to version history and pick the one you want right from there without the need to download from apkpuke website.

If anyone want a video guide for it let me know, to share the link here, um when I make it :P
[Xposed Framework Modules] JhinCuatro:
oxygen os, oneplus 7 pro. The quick menu for me has been hit and miss lately.. How to fix it there is a global solution.
[Xposed Framework Modules] mrjuniork:
As a senior member you should know to not quote the OP. Tagging the dev should do the job :good:

And you should give more information regarding your issue, for example what version of SwiftKey you are using.