Biden2020prezLevel 6 - Platinum Elite Member
neutronscott one second ... How will we allow apps in kosher firmware?
neutronscott one second ... How will we allow apps in kosher firmware?
neutronscott When I reflash my stock boot.img all of my apps that I installed are still there. And it does block any new installations.
Biden2020prez Just trying to anticipate [Login to see the link] question - if you wanted to distribute a ROM with a Kosher App store but not Magisk, you could set the endurance property in vendor.img's build.prop.
Biden2020prez edited the script to use the quick dial button, since it can be set to deactivated anyway. I didn't look at all the keys much beforehand, obviously.
lgexalter1 oh, I moved things around in my gist and thought I edited the post. Must not have hit save: [Login to see the link]
lgexalter1 It should toggle, don't hold it.
neutronscott i run this script straight through adb? do i need anything else set first?
NEC yes it's just ran in an adb shell for now. it just helps automate the setting you found. no other settings needed. finding how to intercept the intercepted keys is on my TODO so it can be an included service.
Anyone Know whether the phone supports usb otg?
i downloaded a setedit app which allows me to change values and use the mouse from there. however, i'm sure there's an easier way....
I spent several hours making a Linux input event remapper to find out the virtual pointer doesn't work when I'm rewriting events from the "gpio input". The other input is the mtk-kpd. It controls the QuickDial, Power, and Volume keys. So best I can do is takeover the Quick Dial key still but at least it's not using a pipe to logcat (which can crash).
If anyone would like to try the binary: ./grab /dev/input/event1
cc9e4ec38991d72d55099fd92e27fe06 [Login to see the link]
If you run it on /dev/input/event2 it will rewrite the *
key, so favorites should not popup. But you'll notice the virtual pointer doesn't work either.
edit: might seem flaky because it toggles an internal variable so if you end the pointer with POWER the next button press will still set it off, which makes it feel broken. Work in progress..
neutronscott thanks For all the time and effort!
neutronscott how do i run this in adb shell it keeps giving me errors
NEC i haven't tried this so i cant answer your question but i am curious: how did you find this adb command in the first place?
Biden2020prez to be honest i was really just going through the settings list and noticed the pointer which i thought might be interesting to toggle with.
Biden2020prez it should but what device did you want to work? I have enough pieces to compile kernel modules if needed.
lgexalter1 i'm not really the most initiated guy at all. i ran adb shell and tried to attach the file, then tried to run each line independently, neither of which worked. (line 4 returned an error "while is not a recognized command" or something like that.
i'm sure i'm missing something obvious and probably sound very foolish at that, but i'd love to get a little knowledge how to do the simple things around here.
lgexalter1 got it. thanks! will try this later!
lgexalter1 Why am I getting /system/bin/sh: ./mouse.sh: can't execute: Permission denied
? It probably has to do with the same reason I cant modify anything in system even though I removed write protection and did mount -o remount,rw /
? Is there any step that Im missing to be able to modify system?
lgexalter1 My bad I posted the wrong error (I got that one before I made it executable...) My error Im getting is /system/bin/sh: ./mouse.sh: No such file or directory