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

Unable to run new iptsd scripts on Android shell #184

Open
hmtheboy154 opened this issue Dec 21, 2024 · 1 comment
Open

Unable to run new iptsd scripts on Android shell #184

hmtheboy154 opened this issue Dec 21, 2024 · 1 comment

Comments

@hmtheboy154
Copy link

It seems like both iptsd-find-hidraw and iptsd-foreach can't be able to executed on Android anymore, causing our init script unable to start iptsd. I checked and it seems like the script now uses bash and ultilize some bash features. So I tried 2 method so far:

  • Force it to use Android's sh, this resulted in sh unable to find BASH_SOURCE[0]
127|Standard PC (Q35 + ICH9, 2009):/ # sh /vendor/bin/iptsd-find-hidraw                                        
/vendor/bin/iptsd-find-hidraw[17]: BASH_SOURCE[0]: parameter not set
  • Build bash on Android and then try to run the script. LineageOS has a fork of bash that is buildable on Android, I tried to edit shebang and execute the script and got this output
1|Standard PC (Q35 + ICH9, 2009):/ # iptsd-find-hidraw                                                         
/vendor/bin/iptsd-find-hidraw: line 9: //iptsd-foreach: No such file or directory
@itmswt
Copy link

itmswt commented Jan 9, 2025

How have you gone with this one mate?
Can anyone also help so tge touch screen issue gets fixed?

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

No branches or pull requests

2 participants