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

Nubia Fan Issue #81

Open
TimmyTurner51 opened this issue Feb 27, 2023 · 4 comments
Open

Nubia Fan Issue #81

TimmyTurner51 opened this issue Feb 27, 2023 · 4 comments

Comments

@TimmyTurner51
Copy link

Hello all! I have a Nubia Redmagic 7 Pro (NX709J), and the gaming fan option in the treble app does not work. It seems like the Nubia settings is for a different redmagic phone, and the fan option does not turn on my fan. Is there a fix? I believe this is an issue.

@TimmyTurner51
Copy link
Author

I have looked into the source code. The fan was loading nubia_fan_speed from the kernel, but this is different from the redmagic 7 Pro (fan_speed_level). I tried manually changing this myself with the source code, and compiled, but it conflicts with an existing package. I tried using adb to uninstall this treble app so I can update it to my edit, but it seems like it's stuck in my system folder therefore cannot update. The system is locked to read only and I've tried every way to change that. Even changing the version code and everything, still no luck.
How this was installed to system? I installed a custom ROM, which I suspect had this included.

@phhusson
Copy link
Owner

phhusson commented Mar 2, 2023 via email

@TimmyTurner51
Copy link
Author

TimmyTurner51 commented Mar 5, 2023

After many issues when trying that command in terminal within android studio, I got this:

build.gradle: line 1: buildscript: command not found
build.gradle: line 2: ext.kotlin_version: command not found
build.gradle: line 3: repositories: command not found
build.gradle: line 5: syntax error near unexpected token jcenter' build.gradle: line 5: jcenter()'

This is also after changing jdk version Android Studio uses from 11 to 1.8.

Edit:: Also tried jdk 11 for clarity

@phhusson
Copy link
Owner

phhusson commented Mar 5, 2023 via email

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