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

Xiaomi Moaan InkPalm Mini 5 Pro Driver Help #507

Open
aviettran opened this issue Aug 18, 2024 · 2 comments
Open

Xiaomi Moaan InkPalm Mini 5 Pro Driver Help #507

aviettran opened this issue Aug 18, 2024 · 2 comments

Comments

@aviettran
Copy link

Manufacturer: allwinner
Brand: allwinner
Model: epd105
Device: virgo_perf1
Product: virgo_perf1
Hardware: sun8iw15p1
Platform: virgo

I did some poking around starting by decompiling the stock launcher. I found some methods for controlling lights and moved on to trying to do a POC Android app. I tried:

forName("android.p002os.moan.MoanLed")

Which yields a ClassNotFoundException. The device is API level 27 which rules out any hidden API issues. I'm pretty stuck at this point. This is not my area of expertise. Would anyone be able to give me some pointers?

@hugleo
Copy link
Contributor

hugleo commented Aug 18, 2024

Perhaps android.p002os.moan.MoanLed is an app library and not a system class, so you might need to search further. It could also be blocked for third-party apps. Some cases require root access or might be restricted due to SELinux policies. Detailed adb logs can give hints if that's the problem.

@aviettran
Copy link
Author

It is, in all likelihood, a library. Is there a way to determine which it is with certainty? The methods in question are writing values directly to /proc, so there's nothing else involved, as far as I can tell. I checked the ADB logs and do not see anything else which may be related.

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