-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support NixOS #52
Comments
Hey there 👋, This looks great, though I do not know much about Anyway, I think for sure It's a good Idea to consider to support also other platforms than Nonetheless, I would appreciate having one platform more. So this gets a Greetings LxWulf ✌️ 🐧🐺 |
Cool, for integrating into NixOS ecosystem, in a nutshell, it does not need much but baking $FCC_LENOVO_HOME env variable that defaults to /opt/fcc_lenovo into binaries. On top of this everything can be seamlessly bootstrapped in NixOS. In NixOS there is a clear separation on what is mutable and what is immutable. Assuming $FCC_LENOVO_HOME is read only, any files created on disk reside on /var partition. I do not know if you assume /opt/fcc_lenovo writable in the code, but it has to be taken into account |
@ferrine Thanks for reaching out !
Since , this FCC unlock binary is created to unlock Modem in accordance with FCC compliant. So , we need to support it in official way rather then providing any tweak or reverse engineering. Sorry , if any inconvenience caused.
We are only officially supporting Ubuntu and fedora . Thanks |
Thanks for the reply, I got this Filename by strings unlock.so | grep /opt/ No official support is fine. Having fully functional laptop is great. If no changes are possible to the hardcoded paths, it is fine to just keep this issue visible so other NixOS people can adopt the solution and improve their quality of life on Lenovo hardware |
Hi, thank you for your work, first of all! I'm using non standard linux, NixOS, and there are no hard coded paths and not standard /opt/ or /usr/.
As investigating the binary, I found that it uses couple of hard coded paths that were not so trivial to fix and there were still some missing pieces.
for more context this is how I attempted to approach hardcoded paths issue.
module config for nixos
This is weird, but it made the binary working. I wonder is it trivial to remove path hardcoding from /opt and /usr/bin/ ? Is there any easy solution on your side so no one attempts to reverse engineer the binary for personal use?
PS what should I do with DPRConfig.xml, is it needed at all?
UPD Editing this message using the modem
The text was updated successfully, but these errors were encountered: