Patched libril-rk29-dataonly.so for Huawei UMG366#4
Open
jhansche wants to merge 1 commit intoNu3001:masterfrom
Open
Patched libril-rk29-dataonly.so for Huawei UMG366#4jhansche wants to merge 1 commit intoNu3001:masterfrom
jhansche wants to merge 1 commit intoNu3001:masterfrom
Conversation
This was done by disassembling the library, discovering the way it matches USB vid/pid to a device type, and finding that it also matches the CGMM device identifier string. Once I discovered that, it was as simple as picking one of the existing 12d1:14ac device entries, and swapping the device identifier for "UMG366"
Contributor
Author
|
This is done as a new file, so that it won't automatically take effect (you have to replace the existing file with this one in order to use it for that device). Ultimately it'd be nice to be able to reverse engineer this into libril-rk29.c(pp) code, so that we can make our own adjustments to support new devices. @jamesgol et al, don't feel like this has to be merged -- I'm putting it here mostly for reference. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This was done by disassembling the library, discovering the way it matches
USB vid/pid to a device type, and finding that it also matches the CGMM
device identifier string.
Once I discovered that, it was as simple as picking one of the existing
12d1:14ac device entries, and swapping the device identifier for "UMG366"