Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add proper support for LG flip phones #9

Merged
merged 5 commits into from
Apr 2, 2021

Conversation

greatjack1
Copy link

No description provided.

Run the following adb commands

```adb shell pm uninstall -k --user 0 com.lge.voicecommand
adb shell appops set com.android.cts.appsflipcursor SYSTEM_ALERT_WINDOW allow
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package name seems to be for the other mod?
I'll update it here
Let me know if I'm mistaken.

@virresh virresh merged commit a6b6f65 into virresh:flipphone_port Apr 2, 2021
@kfmdmteam
Copy link

@virresh please note that the LG vn220 cannot install any applications that the package name does not start with com.android.cts.anything so please make that the phone version should be with such a package name and that's the reason why the commands are with such a package name.

@virresh
Copy link
Owner

virresh commented Apr 2, 2021

@kfmdmteam interesting
I'm currently working on refactoring and am in the midst of the process. I'll do a quick pre-release if you have a vn220 handy and can confirm if the apk doesn't work?

From what I can see, the voicecommand is another accesiblity service which does not fall under the cts.* package namespace, and neither is there any documentation wrt the cts namespaces having special priviledges. So would be great if we can have a test run before actually changing them.

@kfmdmteam
Copy link

kfmdmteam commented Apr 2, 2021

You can send it to me. But the voice access and button mapper people are using are ones with renamed package names.

Cts stands for compatibility text suite. Which disables the signature check. So it can be installed on compromised phones like the vn220.

@virresh
Copy link
Owner

virresh commented Apr 2, 2021

Oh, I see.
Makes sense. Still for sanity check purposes, can you try once with https://github.com/virresh/matvt/releases/download/phone-v1.01/matvt-phone-app-release-v1.01-snapshot.apk ?

adb shell appops set io.github.virresh.matvt SYSTEM_ALERT_WINDOW allow
adb shell settings put secure accessibility_enabled 1
adb shell settings put secure enabled_accessibility_services io.github.virresh.matvt/io.github.virresh.matvt.services.MouseEventService
adb shell am startservice io.github.virresh.matvt/io.github.virresh.matvt.services.MouseEventService

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants