Mino260806 / KeyboardGPT

LSPosed Module to integrate Generative AI like ChatGPT in keyboard.
431 stars 10 forks source link

Doesnt work on non rooted devices #6

Open amirbou13 opened 3 months ago

amirbou13 commented 3 months ago

So o have installed it, i used lspatch to patch the gpt keyboard. After finishing i installed it.

I force closed both gbord( default) and samsung keyboard, than i opend message app, i started a conversation using Gboard, i clicked on translation icon, and typed ?what is the weather today. Hit entre( in my case was translate icon.

Doesnt work , what did i do wrong. My phone salsung s20 plus exynos android 13

Mino260806 commented 3 months ago

Did you install module as normal apk too ?

Screenshot_2024-08-01-17-32-18-407_com.google.android.packageinstaller.jpg

Anonmike commented 3 months ago

After typing in your query close keyboard with the keyboard button and it's should get an output At least that's how I get mine to work

amirbou13 commented 3 months ago

This is exactly what i did. I also tried reboot my phone instead of force close Gboard, tried that with Samsung keyboard too. Tried also to install the file as a normal apk, not (inside lspatch app). https://github.com/user-attachments/assets/2a7b613b-033a-480d-bb17-bea673ee6c53

SatoX69 commented 3 months ago

Hey, gimme the instructions on how to install too, please

amirbou13 commented 3 months ago

Hey, gimme the instructions on how to install too, please

Dont know how, it doesnt work for me too

SatoX69 commented 3 months ago

Hey, gimme the instructions on how to install too, please

Dont know how, it doesnt work for me too

https://github.com/gkpln3/Gboard-Patched

Try this, it might work as an mod-able clone of gboard

amirbou13 commented 3 months ago

Hey, gimme the instructions on how to install too, please

I reolied with a video, it may help you.. but for le it doesnt work

Anonmike commented 3 months ago

Hey, gimme the instructions on how to install too, please

Dont know how, it doesnt work for me too

https://github.com/gkpln3/Gboard-Patched

Try this, it might work as an mod-able clone of gboard

Thanks bro this would probably not crash

Anonmike commented 3 months ago

This is exactly what i did. I also tried reboot my phone instead of force close Gboard, tried that with Samsung keyboard too. Tried also to install the file as a normal apk, not (inside lspatch app). https://github.com/user-attachments/assets/2a7b613b-033a-480d-bb17-bea673ee6c53

You're supposed to inject the keyboard gpt APK to Gboard bro Got it to work but can't customize the keyboard Crashes anytime I open the Gboard app

Anonmike commented 3 months ago

Hey, gimme the instructions on how to install too, please

Dont know how, it doesnt work for me too

https://github.com/gkpln3/Gboard-Patched

Try this, it might work as an mod-able clone of gboard

This worked finally able to access the gboard apk without getting it to crash but it's running on an old version of gboard

Mino260806 commented 3 months ago

A lot of users have reported problems with patching Gboard. It's recommender you patch another keyboard like Swiftkey as it's guaranteed to work and well tested on non root.

Mino260806 commented 3 months ago

@amirbou13 maybe you can send me logs when newest version of Gboard crashes

amirbou13 commented 3 months ago

This is exactly what i did. I also tried reboot my phone instead of force close Gboard, tried that with Samsung keyboard too. Tried also to install the file as a normal apk, not (inside lspatch app). https://github.com/user-attachments/assets/2a7b613b-033a-480d-bb17-bea673ee6c53

You're supposed to inject the keyboard gpt APK to Gboard bro Got it to work but can't customize the keyboard Crashes anytime I open the Gboard app

How to do that? How to inject the keyboard gpt to Gboard?

Anonmike commented 3 months ago

A lot of users have reported problems with patching Gboard. It's recommender you patch another keyboard like Swiftkey as it's guaranteed to work and well tested on non root.

Thanks Worked well with SwiftKey But I don't really like the keyboard and for some reason It does not work on Samsung keyboard too

SatoX69 commented 3 months ago

I'm on Android 12 and MIUI 13 and FFS Gboard is a system app, I can't uninstall it and I don't like the other keyboard apps

amirbou13 commented 3 months ago

@amirbou13 maybe you can send me logs when newest version of Gboard crashes

It didn't crash, i could not make it work at all.. Maybe i dont know to install it properly, i attached a video of what i did above. One of the comment says i need to inject got keyboard to Gboard, dont know how And in the installation guide like here didnt mentioned that at all.

Anonmike commented 3 months ago

@amirbou13 maybe you can send me logs when newest version of Gboard crashes

It didn't crash, i could not make it work at all.. Maybe i dont know to install it properly, i attached a video of what i did above. One of the comment says i need to inject got keyboard to Gboard, dont know how And in the installation guide like here didnt mentioned that at all.

Made a Video Can't Upload it on GitHub due to File size Limit so imma Just Upload to YouTube and give you the Link

Give me a min

SatoX69 commented 3 months ago

@everyone

I found a quick bypass for Injecting the module to the OFFICIAL Gboard app

First download APKTOOL then search for Gboard and then press quick edit and then change the package name and the app name then build it > install it, and you have just made a clone of the gboard with custom properties

Screenshot_2024-08-02-15-58-33-900_ru zdevs zarchiver Screenshot_2024-08-02-15-58-44-338_com google android packageinstaller

amirbou13 commented 3 months ago

Okey, meanwhile.. there is an app to compress any video . So for me the original video size was 55 mb Convert it into 720P 1.4mb size.

App name FFSHARE i think its available here on github

Anonmike commented 3 months ago

Okey, meanwhile.. there is an app to compress any video . So for me the original video size was 55 mb Convert it into 720P 1.4mb size.

App name FFSHARE i think its available here on github

App kept crashing whenever I tried to select a video

Here's the YouTube Link: https://youtube.com/shorts/1IiZ8pz0Xcs?si=QblHKVqbbRv49Z1Y

Anonmike commented 3 months ago

@everyone

I found a quick bypass for Injecting the module to the OFFICIAL Gboard app

First download APKTOOL then search for Gboard and then press quick edit and then change the package name and the app name then build it > install it, and you have just made a clone of the gboard with custom properties

Screenshot_2024-08-02-15-58-33-900_ru zdevs zarchiver Screenshot_2024-08-02-15-58-44-338_com google android packageinstaller

Aiit bro lemme try if it's gonna stop it from crashing Thanks

Anonmike commented 3 months ago

Okey, meanwhile.. there is an app to compress any video . So for me the original video size was 55 mb Convert it into 720P 1.4mb size.

App name FFSHARE i think its available here on github

App kept crashing whenever I tried to select a video

Here's the YouTube Link: https://youtube.com/shorts/1IiZ8pz0Xcs?si=QblHKVqbbRv49Z1Y

Make sure you install the app directly before using lspatch

Anonmike commented 3 months ago

@SatoX69 Cloned gboard crashes anytime I try to launch it Perhaps am doing sum wrong?

amirbou13 commented 3 months ago

@SatoX69 Cloned gboard crashes anytime I try to launch it Perhaps am doing sum wrong?

Screenshot_20240802_113204_LSPatch.jpg

I have noticed that i have this error( in red) every time i try to inject gpt keyb with gboard. What is this Base.apK

Anonmike commented 3 months ago

@SatoX69 Cloned gboard crashes anytime I try to launch it Perhaps am doing sum wrong?

Screenshot_20240802_113204_LSPatch.jpg

I have noticed that i have this error( in red) every time i try to inject gpt keyb with gboard. What is this Base.apK

If you just installed Keyboard gpt Then wait a while and try again It Takes a couple mins fr lspatch to Update installed apps

amirbou13 commented 3 months ago

@SatoX69 Cloned gboard crashes anytime I try to launch it Perhaps am doing sum wrong?

Screenshot_20240802_113204_LSPatch.jpg

I have noticed that i have this error( in red) every time i try to inject gpt keyb with gboard. What is this Base.apK

If you just installed Keyboard gpt Then wait a while and try again It Takes a couple mins fr lspatch to Update installed apps

I dont think its the case here, i waitied, the app gpt keyboard is shown in lspatch, and yet i tried again an it says the same problem Screenshot_20240802_114823_LSPatch.jpg

Screenshot_20240802_114821_LSPatch.jpg

Anonmike commented 3 months ago

Uninstall Keyboard gpt and Reinstall direct without using lspatch

amirbou13 commented 3 months ago

https://github.com/user-attachments/assets/077ec12d-1ae0-49ee-985a-5eb2d7b0fbd5

I really don't know what else I can do

Mino260806 commented 3 months ago

I understand there is an issue, but I can't help much unless you attach logs. Use https://github.com/F0x1d/LogFox for non root

Anonmike commented 3 months ago

https://github.com/user-attachments/assets/077ec12d-1ae0-49ee-985a-5eb2d7b0fbd5

I really don't know what else I can do

Bro don't use lspatch keyboard gpt just install the raw file direct After downloading install it direct Only use lspatch to inject the already installed module to Gboard

Anonmike commented 3 months ago

https://github.com/user-attachments/assets/077ec12d-1ae0-49ee-985a-5eb2d7b0fbd5

I really don't know what else I can do

Lemme make a full video from scratch

Anonmike commented 3 months ago

https://github.com/user-attachments/assets/077ec12d-1ae0-49ee-985a-5eb2d7b0fbd5

I really don't know what else I can do

https://github.com/user-attachments/assets/bc5495cb-d3a9-4454-bded-44ea5563fcc4

Anonmike commented 3 months ago

Hope this finally helps

amirbou13 commented 3 months ago

Hope this finally helps

Finally works... you are a genius, and they should have said i should install gpt keyboard normally and then inject it in the gbord using lspatch in the installation guideline.

It works thanks

Anonmike commented 3 months ago

Hope this finally helps

Finally works... you are a genius, and they should have said i should install gpt keyboard normally and then inject it in the gbord using lspatch in the installation guideline.

It works thanks

You're welcome bro Can you not close the issue Just in case someone else encounters same problem

SatoX69 commented 3 months ago

@SatoX69 Cloned gboard crashes anytime I try to launch it Perhaps am doing sum wrong?

@Anonmike mine kept crashing too, I later installed an old version of official gboard with a different package name, it's working

Anonmike commented 3 months ago

@SatoX69 Cloned gboard crashes anytime I try to launch it Perhaps am doing sum wrong?

@Anonmike mine kept crashing too, I later installed an old version of official gboard with a different package name, it's working

Same that's what am using rn Can't daily drive it tho cus ui so outdated but at least I can switch to it when ever I want to use the Ai features Thanks

Walker-24 commented 3 months ago

I keep getting a signature version error while trying to install gboard from LSPatch. I tried everything, nothing works

Anonmike commented 3 months ago

I keep getting a signature version error while trying to install gboard from LSPatch. I tried everything, nothing works

https://youtu.be/rjcM26aw9dY

Complete tutorial

Walker-24 commented 3 months ago

I keep getting a signature version error while trying to install gboard from LSPatch. I tried everything, nothing works

https://youtu.be/rjcM26aw9dY

Complete tutorial

Could you provide a link for that gboard apk? If I try to patch and install the official GBoard apk I get this message "existing package signatures do not match newer version ignoring"

Anonmike commented 3 months ago

I keep getting a signature version error while trying to install gboard from LSPatch. I tried everything, nothing works

https://youtu.be/rjcM26aw9dY

Complete tutorial

Could you provide a link for that gboard apk? If I try to patch and install the official GBoard apk I get this message "existing package signatures do not match newer version ignoring"

Aiit bro Here

https://drive.google.com/file/d/1WqOTn24t1z9vaNQppbFJlmm2YfgX5F3N/view?usp=drivesdk

Walker-24 commented 3 months ago

I keep getting a signature version error while trying to install gboard from LSPatch. I tried everything, nothing works

https://youtu.be/rjcM26aw9dY Complete tutorial

Could you provide a link for that gboard apk? If I try to patch and install the official GBoard apk I get this message "existing package signatures do not match newer version ignoring"

Aiit bro Here

https://drive.google.com/file/d/1WqOTn24t1z9vaNQppbFJlmm2YfgX5F3N/view?usp=drivesdk

Thanks, I need the authorization tho. Asked for it

Anonmike commented 3 months ago

I keep getting a signature version error while trying to install gboard from LSPatch. I tried everything, nothing works

https://youtu.be/rjcM26aw9dY Complete tutorial

Could you provide a link for that gboard apk? If I try to patch and install the official GBoard apk I get this message "existing package signatures do not match newer version ignoring"

Aiit bro Here

https://drive.google.com/file/d/1WqOTn24t1z9vaNQppbFJlmm2YfgX5F3N/view?usp=drivesdk

Thanks, I need the authorization tho. Asked for it

Just made it public Mb

amirbou13 commented 3 months ago

I keep getting a signature version error while trying to install gboard from LSPatch. I tried everything, nothing works

https://youtu.be/rjcM26aw9dY

Complete tutorial

Could you provide a link for that gboard apk? If I try to patch and install the official GBoard apk I get this message "existing package signatures do not match newer version ignoring"

Here what i am using now http://apk.watch/download?file_id=2209911/gboard-the-google-keyboard

It works for me