Nexus S - access\modify drivers
I am developing with the Nexus S, and would like to know if there is a way I can access\modify the drivers on this device? I may be looking into building my own device, however if there is a way I can use an existing phone first to try this out woul开发者_JS百科d be helpful.
Yes, there is a non-hack official method by which you can unlock the Nexus S bootloader to install your own build from AOSP sources, or from one of the community-developed roms.
I'd suggest installing something built from unmodified sources to verify that you have the process down before you change anything. You will also want that as a snapshot to go back to if your break something in your changes.
You may not need to replace the entire ROM; depending on what you want to change you might be able to just install a custom kernel and/or add some loadable modules and change a few related startup scripts using root access (which you would presumably achieve somewhere along the way).
Google and Samsung made the kernel for the Nexus S available a while back: https://android.googlesource.com/kernel/samsung
Not sure what exactly you're looking for, but the drivers directory should get you started.
精彩评论