yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] dieusev:
Hello,

Isn't there a way to make a simple Lucky patcher patch for the NSFW mod or even a modded APK (Since my OP3T gets uncertified as soon as I install Xposed...).

Envoyé de mon ONEPLUS A3003 en utilisant Tapatalk
[Xposed Framework Modules] ImADev:
You've got to keep in mind that you're using the buggy unofficial version of Xposed. MIUI is known to have issues with it too.

Someone could probably modify the app. I personally wouldn't want to keep patching it every time there's an update though.
[Xposed Framework Modules] dieusev:
Forgot to add in my last post : "a Magisk mod would be great also. I'm going to try to do that by myself. Though I'm not a genius developer (yet)".

Edit : not enough time to work on it with all the stuff I have to do for the Uni.
[Xposed Framework Modules] PaulaTheKoala:
So does this mod just remove the 'safe' parameter and change the 'client' parameter to 'chrome'?

I no longer have a device that supports xposed and I'm attempting to patch the Gboard APK but it doesn't seem to be working...
[Xposed Framework Modules] ImADev:
You've got to replace the whole user agent string, remove "&safe=high" and change all 3 client strings to something else.
[Xposed Framework Modules] xdamattxda:
Guy who needs help

Hey ImaDev,

So a rather complete opposite to what you created- I am trying to find a way to completely porn proof my phone. Ive finally been able to find software to block apps I dont need, loaded a safe browser, and have a buddy who holds the keys restricting me from making changes :p Porn has been a part of my life for the past 20 years, reeking havoc. I know it is not a problem for everyone, but there is a LARGE group trying to block it from their own lives/the lives of their children.

Problem-

The Gboard keyboard is still a place I can find nsfw/porn gifs (minimal though. I'd have to search for an hour to pull just a small handful :p). It's actually the only place on my phone now I can find porn! So I'm getting SO CLOSE!

Solution/Request!

You are obviously a pretty damn smart guy to have what seems like the ONLY module that makes changes to Gboard (from what I've seen... maybe theres others, I dont know).

Can you please make a module that either removes the gif function, stops the animation, or pulls nothing for search results? (Or if there is any other way you can think of)

Thank you so much for your time.
[Xposed Framework Modules] SnZ:
Hi [MENTION=6610308]ImADev[/MENTION],

unfortunately it doesn't work for me:

Xposed 88.2

Android N 7.1.2 (API 25)

Redmi Note 4 (AOSP)

Module 1.1

How do I debug?
[Xposed Framework Modules] ImADev:
Open up the Xposed installer and check the logs. You might see errors.

As long as you're using the latest version of Xposed this should work for everyone. All you need to do is click on "GIF" and enter a search term.
[Xposed Framework Modules] SnZ:
Thanks for reply but unfortunately no error logs. Maybe I try to check that later
[Xposed Framework Modules] Ytim08:
Dope mod, unfortunately only works with Xposed so passing safetynet is impossible. I read a post earlier about a magisk version but it was abandoned. So is it possible to do this directly by editing files in the Gboard folder?
[Xposed Framework Modules] Not So Pro:
Could you possibly let us know what exactly we have to do? I'd love to just mod the gboard apk to have this done since Xposed is not out for SDK 26 yet.

EDIT: Looking at your code I can see where you replace the user-agent string with "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Mobile Safari/537.36". Just trying to find out where that is in the Gboard files. Also I used grep on the decompiled Gboard apk and found no instances of "&safe=high". Looking further into this.

EDIT 2: I believe I just found everything I need to edit. Changed the user agent string and the others now. Recompiling and will let everyone know if it works.
[Xposed Framework Modules] Not So Pro:
So I've gotten it to compile and install but completely forgot about Google's signature check. Not sure if I will actually be able to make this work.
[Xposed Framework Modules] UL7RA:
Can something like this be made for SwiftKey too?
[Xposed Framework Modules] alfat696:
latest not working
[Xposed Framework Modules] gingerboy92:
I know my request doesn't have anything to do with the current module's feature, but the module's name is nsfw gboard, so i do think that my request is still relevant. Is it possible to add features that will enable the users to open a certain app in incognito mode? Currently the gboard only use incognito mode with a few app that specifically enable the feature(chrome incognito and firefox beta private mode etc), but i'm looking for ways to enable it in other apps. I guess the simplest solution would be a manual NSFW toggle.
[Xposed Framework Modules] Gggggas:
Was just gonna post it. It can't look up any GIFs.
[Xposed Framework Modules] alfat696:
same
[Xposed Framework Modules] Gggggas:
Latest update let us search for GIFs but the module ain't working now.
[Xposed Framework Modules] Gggggas:
[MENTION=6610308]ImADev[/MENTION] I don't mean to bother you Dev but we freaking love your mod , it's been some days and I'm already missing it ?
[Xposed Framework Modules] ImADev:
I'll see if I can update the module to support newer versions. Hopefully it's a simple fix and Google hasn't completely changed everything.
[Xposed Framework Modules] Gggggas:
Thanks for the reply Dev , appreciated
[Xposed Framework Modules] ImADev:
I've released the update :)

Supports only Gboard 6.8 and newer (until Google changes enough that the module stops working again)

http://repo.xposed.info/module/com.imadev.nsfw
[Xposed Framework Modules] Cinyk:
Thanks for the update :)
[Xposed Framework Modules] ftn1975:
Not working for me. Xposed 89.0, Android N 7.1, Google Keyboard 6.8.8.178714143-release-arm64-v8a. Good to see it is working for others though. Thanks for the good work.
[Xposed Framework Modules] Talwinder8872:
Thanks for the update but, it doesn't work on my phone

(It was working before the update)

Version of Gboard attached

Phone is one plus one
[Xposed Framework Modules] ImADev:
[MENTION=7700241]Talwinder8872[/MENTION] [MENTION=3316414]ftn1975[/MENTION] Could this be an issue with your ROM or an Xposed bug? I just tried the module and it works perfectly with Genymotion.

To support Gboard 6.8 I did need to make some changes, so maybe hookAllConstructors() is buggy on some ROMs. I could try a different hook and release a beta version if you're willing to test.
[Xposed Framework Modules] ftn1975:
Exposed bug, maybe. As for ROM, I am using Essential phone, Stock w/Magisk & Exposed v89.0
[Xposed Framework Modules] ImADev:
I've released the fix for Android Nougat.

http://repo.xposed.info/module/com.imadev.nsfw
[Xposed Framework Modules] ftn1975:
Has been working perfectly. Thank you
[Xposed Framework Modules] GReaper-DEV:
It doesn't work at SlimRom 7.1.2 J5 2015, latest version of Gboard.

I use unofficial Xposed by purifyOS.
[Xposed Framework Modules] JRJ442:
Yes. Works for me on my Pixel 2. 8.1
[Xposed Framework Modules] PaulaTheKoala:
Not working for me, installs fine but can't get any NSFW images :/

EDIT:

Was a couple versions behind on Gboard, updated and it works now. ?
[Xposed Framework Modules] alfat696:
latest version doesn't works
[Xposed Framework Modules] ImADev:
I've released a beta update to support the beta version of Gboard 6.9.4.181945924. I'm guessing that's why it wasn't working for you.

http://repo.xposed.info/module/com.imadev.nsfw

If you're using Gboard 6.8.8.178714143 then use NSFW Gboard v1.2.1.
[Xposed Framework Modules] ItzTropic:
Thx for the notice, now I can get it working perfectly to spice things up a bit xD
[Xposed Framework Modules] xX.R.O.G.Xx:
Hello, the module don't work with the last version of Gboard apparently :)
[Xposed Framework Modules] ImADev:
Try the new stable build. It'll work with Gboard 6.9.8.183626756.
[Xposed Framework Modules] xX.R.O.G.Xx:
You're awesome, the new version work thank you :victory:
[Xposed Framework Modules] hawki:
How do you know is this is actually working?
[Xposed Framework Modules] Unreasonable_User:
Search for a word/phrase that is sexual in nature. It should be pretty obvious based on the results.
[Xposed Framework Modules] dead4ngel:
Hi is there any way of making this work for magisk? I don't use closed as it makes Snapchat mess up and also can't pass safety net for banking apps. Or is there even a modified gboard APK? Thanks
[Xposed Framework Modules] bl3d2death:
That's my problem too. Would be great to have this mod working with magisk.
[Xposed Framework Modules] ImADev:
I personally don't have the time to maintain a project like that as it'd require someone to patch 8 APKs to support all devices.
[Xposed Framework Modules] xxxfuq:
Gboard is using very much battery 30% or more If I am searching for gifs with this module. Is this normal? I didnt test it without the module
[Xposed Framework Modules] ImADev:
That's all Gboard. GIF searching isn't exactly battery friendly if you use it a lot.

I've released a new version of the module to support Gboard 7.0.6.188308327.

http://repo.xposed.info/module/com.imadev.nsfw
[Xposed Framework Modules] smartymcfly:
I am not sure what I can send you but gboard opens then closes after I press like one or two keys or none but pretty quickly. Does same thing I go into settings for keyboard. This only started after the march update to pixel2xl stock. The new version of module was installed without issue before the march update. Not sure if it worked or not because I did not search for any GIFS but it did not make keyboard close.

Disabling the module fixes it.

I will reenable it and send logs if you tell me what logs to send.
[Xposed Framework Modules] ImADev:
[MENTION=4848441]smartymcfly[/MENTION] If you're using NSFW Gboard 1.2.3 with Gboard 7.0.6.188308327 then it should work. Try clearing Gboard's cache.

As you've got a Pixel 2 XL it's probably using Oreo 8.1, right? I guess this could also be a problem as it uses a lite apk that might need to be patched differently.

https://www.apkmirror.com/apk/google-inc/gboard/gboard-7-0-6-188308327-release/
[Xposed Framework Modules] smartymcfly:
it still closes.

the app v1.2.3 did work prior to the phone pixel 2/xl being updated to march stock image.

i cleared data, uninstalled and reinstalled, deactivated module and reactivated module.

xposed log

https://mega.nz/#!4YYDQIhC!l9HwWoNI08wplO-EXtMRY1VTCOVfp6ceYjFiJa-jYKU
[Xposed Framework Modules] smartymcfly:
I was able to get gboard working by using the art deoptimiser module and selecting "nsfw gboard".

I uninstalled native clipboard first, and tried it but gboard was still closing after showing for just a second. Not force closing, but hiding from the screen.

I tried the deoptimisation and it works.
[Xposed Framework Modules] smartymcfly:
Another update.

The problem is not on your end.

The problem is that Google has made a lite version of Gboard and that version is mixed in with the standard version on apkmirror.

I went back through every combination of 1.2.2, 1.2.3 and the two versions of Gboard that are listed for those updates. Gboard lite will either only open for a moment when NSFW Gboard is optimised, or if not optimised Gboard will work but emojis and gifs do not work, the button doesn't do anything.

These are the package names.

com.google.android.inputmethod.latin_7.0.6.188308327-lite_release-arm64-v8a-26700630_minAPI27(arm64-v8a)(nodpi)_apkmirror.com.apk

com.google.android.inputmethod.latin_7.0.6.188308327-release-arm64-v8a-26700610_minAPI17(arm64-v8a)(nodpi)_apkmirror.com.apk

I did not look at the title when I downloaded it from app mirror. I was looking at armxx, minapixx, dpi, and 7.0.6.188.

Google allows Gboard Go to be installed on top of original Gboard. :confused:
[Xposed Framework Modules] ImADev:
[MENTION=4848441]smartymcfly[/MENTION] Please check your private messages.

I released the current version of NSFW Gboard because APKMirror had Gboard 7.0.6 listed as a stable version. Today I noticed they've edited the title to include "beta", so they screwed up.

Most people should use this:

https://www.apkmirror.com/apk/google-inc/gboard/gboard-6-9-8-183626756-release/

https://dl-xda.xposed.info/modules/com.imadev.nsfw_v5_968f8d.apk
[Xposed Framework Modules] ftn1975:
Sorry, I should have read ahead.....the fix was already posted
[Xposed Framework Modules] ImADev:
NSFW Gboard v1.2.4

* Supports Gboard 7.0.8.188704572
* Fixed GIF search autocomplete
* Improved Android 8.1+ support

http://repo.xposed.info/module/com.imadev.nsfw

https://www.apkmirror.com/apk/google-inc/gboard/gboard-7-0-8-188704572-release/
[Xposed Framework Modules] akdrhmz:
You have fixed v7.1.6 gboard
[Xposed Framework Modules] ImADev:
The existing Xposed module will work with Gboard 7.1.6.190802834 BETA and possibly future updates too :)
[Xposed Framework Modules] pesaroso:
Works perfectly! But uhm.. Anyone knows how to remove the last searches from the search menu? :o

Kinda awkward if someone's using your phone, gonna send a GIF, and when they press the search bar, all previous searches are listed, and they are - at the moment - indeed nsfw :laugh:
[Xposed Framework Modules] xxxfuq:
I dont know how to delete but I just search other gifs that are sfw so the previos gifs are gone ;)
[Xposed Framework Modules] sreekar251:
Nsfw gboard is not working on new update of gboard v 7.1.8

After New version of gboard version 7.1.8.191763606 release-armeabi-v7a

NSFW Gboard stop working:confused:

Please fix it guys

Or else tell me how to install back previous version which is stable with NSFW Gboard

Currently I'm using Lenovo a6000 Android version 7.1.2 RR-OS:D
[Xposed Framework Modules] ftn1975:
Previous versions can be found at Apkmirror. For future reference, I would disable automatic updates on Gboard in Play Store.
[Xposed Framework Modules] sjamie:
The current version works for me. I would show you but I don't think that would be appropriate for XDA. ;) :cyclops:
[Xposed Framework Modules] ImADev:
[MENTION=8429065]xxxfuq[/MENTION] You did update the Xposed module too, right?

http://repo.xposed.info/module/com.imadev.nsfw
[Xposed Framework Modules] xxxfuq:
I didnt. But why youre askin?
[Xposed Framework Modules] ImADev:
Only the latest update works with Gboard 7.1.8 due to Google making some changes.
[Xposed Framework Modules] xxxfuq:
I have updated it now, thanks. Why the update isnt visible in the xdposed app?
[Xposed Framework Modules] ImADev:
Sometimes the Xposed installer won't display all updates until you perform a refresh. You'd do that by swiping down when viewing the list of downloadable modules.
[Xposed Framework Modules] qounik:
Not Working with this version.

1.2.5 install
[Xposed Framework Modules] ImADev:
I don't often support the beta versions, but I'll be releasing an update for the next stable release.
[Xposed Framework Modules] qounik:
Really? But I am beta from the start and it always worked man. Thanks for your afford BTW.
[Xposed Framework Modules] ImADev:
NSFW Gboard v1.2.6

The module with attempt to find the correct methods to patch, but when Google makes a lot of changes it often breaks things.

I've released an update to support Gboard 7.2.9.197069278.

http://repo.xposed.info/module/com.imadev.nsfw

https://www.apkmirror.com/apk/google-inc/gboard/gboard-7-2-9-197069278-release/
[Xposed Framework Modules] qounik:
Working REAL well with this version ?. TQ
[Xposed Framework Modules] r00tcracker:
Hey. The module works now, but keeps force closing YouTube for some reason.

When I deactivate the module, YouTube works fine again.

Just worth looking at I think.

Am I the only one with this issue??
[Xposed Framework Modules] xxxfuq:
I dont have this issue.
[Xposed Framework Modules] qounik:
Really? I got YT stopped working while chatting but I didn't think Bcoz of This. But I can still watch YT it happened twice to me not inside YT tho
[Xposed Framework Modules] xxxfuq:
Now I remember. I had youtube force closing too but I thought was was caused by viper4arise. So I installed v4a new and youtube worked again but It could be from this mod too...
[Xposed Framework Modules] r00tcracker:
Hmmm sorry dev, I think I spoke too soon, I don't think it is this module.

It started force closing on my again, I cleared data and cache for YT and it worked again for a bit, then started FC again.

:(
[Xposed Framework Modules] ImADev:
[MENTION=5255164]r00tcracker[/MENTION] The module only hooks Gboard, so I can confirm that it won't be what's causing the crashes.

If you're using YouTube Adaway then that might be causing your issues. Maybe you could try YouTube Vanced instead?
[Xposed Framework Modules] r00tcracker:
Yeah, might give it a shot, spoke too soon :)

Looks like everything is good now.

Thanks dev.
[Xposed Framework Modules] radz_:
The module is no longer working on the latest version.

GBoard hides back when I enable this module.
[Xposed Framework Modules] sjamie:
Although GIFs seem to be taking longer to load, this module is still working for me.
[Xposed Framework Modules] radz_:
Any update on this module?

Its no longer working for this version
[Xposed Framework Modules] sjamie:
It's working for me.
[Xposed Framework Modules] ftn1975:
What version of Gboard do you have installed? It is not working g here either
[Xposed Framework Modules] imfaraz:
Not Working!

GBoard 7.3.12.201473387-release-arm64-v8a

Kindly update the module. It has stopped working.
[Xposed Framework Modules] agraceful:
I've got the same update as you and mine still works. I'd post a picture but... Not trying to get banned for something like that lol
[Xposed Framework Modules] ftn1975:
I just updated to the same. Still pops up, then goes away. Unable to actually type more than a letter or 2 before it is gone. This is on OnePlus 6, 5.1.8
[Xposed Framework Modules] xxqxpxx:
It causes Messenger to crash
[Xposed Framework Modules] agraceful:
Why would it cause messenger to crash? Not calling you a liar by any means. Do you have a log that provides evidence of it being the cause? If you do I can probably tweak it quickly and send it to ImADev for final inspection and to upload to xposed.
[Xposed Framework Modules] sjamie:
I upgraded my OP5 to OB13 and now this module is not working as you mentioned. :crying:
[Xposed Framework Modules] xxqxpxx:
sorry mate it's my fault. i had it crashing on me a lot and when i removed the module it worked fine and crashed again after a while. sorry for the inconvenience
[Xposed Framework Modules] agraceful:
No need to be sorry at all :) if there's a bug we should definitely squash it. Maybe someone else will run into it so I can attempt to track it down
[Xposed Framework Modules] sjamie:
Facebook Messenger is also crashing on me even when not using this mod. The crashes just started a few weeks ago.
[Xposed Framework Modules] ftn1975:
Are you completely stock, or using a modified room?
[Xposed Framework Modules] sjamie:
I have since upgraded again to xXx NoLimits12.0 which is based on OOS 5.1.3 official and now this module is working perfectly again. :victory:
[Xposed Framework Modules] awakener777:
I'm on Gboard 7.3.12.201473387-release-arm64-v8a

Any hope of seeing support on this version? I really miss this mod. Thanks for all your work
[Xposed Framework Modules] Paradoxumical:
Unfortunately, OP and his GitHub have both seemed to have disappeared. I'm looking through caches and saved pages for any chance of pulling the source. If I'm able to, I'll be more than happy to continue with updates. The same goes for XHangouts, which thankfully still exists and will be a whole lot easier.
[Xposed Framework Modules] ImADev:
I haven't updated the module in a while because it already supports the current version of Gboard (7.4.19.206421213).

I can't confirm if there's any issues with the lite version of Gboard on Android 8.1. I'm only able to test Android 5.1.1 to 8.0.
[Xposed Framework Modules] Paradoxumical:
He's alive! Nice to see you're still around.

I'm running LOS 8.1 on my V20, but not the lite variant of GBoard. Got the arm64-v8a variant installed. It force stops on me, completely.
[Xposed Framework Modules] ImADev:
NSFW Gboard v1.2.7

I made a few minor changes to the module. Give it a try :)

http://repo.xposed.info/module/com.imadev.nsfw
[Xposed Framework Modules] Paradoxumical:
Working perfectly on my end, cheers!
[Xposed Framework Modules] ftn1975:
Mine too!! Thank you
[Xposed Framework Modules] awakener777:
Thanks for the update! Working great now on 8.1
[Xposed Framework Modules] atsoca:
...module is crashing Gboard since the new update a few days ago...or am I doing something wrong
[Xposed Framework Modules] agraceful:
Try force stopping Gboard and cleaning the cache. Which version are you on? I'm on gboard_7.5.6.2090 armv64 (updated

2 days ago) and it's working flawless
[Xposed Framework Modules] atsoca:
I'm on 7.5.6.209096225 beta

I tried force stopping and clearing cache but it still gives an error every few minutes.

Maybe cause I'm on beta?
[Xposed Framework Modules] agraceful:
Nope. Beta here too. What device are you on? Also, maybe try uninstalling and going back to the previous Gboard to see if that solves it.
[Xposed Framework Modules] atsoca:
I'm on an htc 10 running leedroid ROM
[Xposed Framework Modules] agraceful:
I believe that's an arm64 device. That's really weird. I had the same issues on my s4 (it's an arm7) and I had to wait until Gboard updated for it to work again. Grab a log when you can so I can look at it please. No rush
[Xposed Framework Modules] atsoca:
Could you give me some guidance on how to make a log for you?
[Xposed Framework Modules] Gaurab Dhar:
Is there a build that supports Android Pie?
[Xposed Framework Modules] an0therus3r:
Any one got it working with gboard 7.5.12?

I downgraded to the mentioned version but not sure how to test if it's working, doesn't seem so.
[Xposed Framework Modules] ImADev:
NSFW Gboard v1.2.8

I've released an update to support Gboard 7.5.12.211120321. It might also automatically support future Gboard updates too.

http://repo.xposed.info/module/com.imadev.nsfw
[Xposed Framework Modules] radz_:
Is there anyway that you can create this mod without Xposed?

Like flashable zips or Magisk module.

Xposed is outdated and unstable with the latest roms.
[Xposed Framework Modules] bradical711:
Probably not. You need Xposed to do this because it hooks into applications to allow modifications, and for Android, Xposed is the only application to do so as such (unless you know of another). Xposed isn't outdated either and I'm running it on my S8 on Nougat flawlessly with this module and it works like a charm. Sure Xposed isn't updated to Oreo but then again Rovo, the creator of Xposed, has a beta for Oreo that's in stage 3.. Rovo hasn't abandoned his project either, he's probably just got a life... Kinda like me, you, and everyone else. Some developers don't have all day to work on their projects, some devs got families or are in college, and honestly, something like Xposed isn't easy to make or update, especially when Oreo had as many "under the hood fixes and improvements" as it did. If you're patient, I'm sure Rovo will prove you wrong with an official update to Oreo, and if you're talking about Xposed supporting Android 9.0... Rovo won't even think about that because the OS itself is still in beta lol, JS. But if you're really hurting for this mod without Xposed, you can either A) try and make this module yourself somehow without Xposed or B) go and complain to Rovo that he doesn't update Xposed fast enough to your liking and that he doesn't support latest OS betas.:rolleyes:
[Xposed Framework Modules] radz_:
Jusy say NO.... Lmao

If you think Xposed is stable for you, thats good to know.

We have different hardware, different Android version, different kernel, different way of usage.
[Xposed Framework Modules] ImADev:
It's possible, but I don't have the time to support a project like that for free.

My Xposed patch is only 30-40 KB and I don't always need to release updates. For Magisk it'd be drastically different as it would require someone to patch all 8 of the 30-40 MB Gboard APKs whenever Google releases an update.