Greetings-
It was by sheer luck, that I ran into the following content http://xda-university.com/as-a-devel...el-from-source. Thanks for all you do. I have a few follow on questions about my project please. I am trying to build a modified rom from the vendor source code. My platform is samsung Note 3 SM-N900P. The vendor source code comes in a zip file; once opened I see two tar files and two readme files. One tar file and readme file refers to platform, and the other refers to kernel. I think I do not need to compile both portions if I just want to update the kernel. Is that right? Could someone please explain the relation between the kernel vs. the platform portion. Is platform basically what the vendor adds to the mix? The platform readme file instructs that I download from Android source and replace any modules I want to modify. Is there an order in which I should ideally compile these? Basically I did a successful compile of the kernel earlier, but I could not install it using twrp. This time I am pulling the config file from my device. Last time I did not have any .ko files.
Here is a copy of the README_Platform.txt:
How to build modules for Platform
[Build steps]
1. Get the Android platform source code.
- Version - Android Kitkat 4.4.1
- Please refer to download instructions in following url : http://source.android.com
2. Copy module that you want to build - to original android open source
If same module exists in android open source, you should replace it. (no overwrite)
# It is possible to build all modules at once.
3. Check module is in 'build\target\product\core.mk'
If not, you should add your module name in it.
ex1) external\libjpega : Write "libjpega " into "build\target\product\core.mk"
ex2) external\libexifa : Write "libexifa " into "build\target\product\core.mk"
4. excute build command
- make -j8 or build.sh user
It was by sheer luck, that I ran into the following content http://xda-university.com/as-a-devel...el-from-source. Thanks for all you do. I have a few follow on questions about my project please. I am trying to build a modified rom from the vendor source code. My platform is samsung Note 3 SM-N900P. The vendor source code comes in a zip file; once opened I see two tar files and two readme files. One tar file and readme file refers to platform, and the other refers to kernel. I think I do not need to compile both portions if I just want to update the kernel. Is that right? Could someone please explain the relation between the kernel vs. the platform portion. Is platform basically what the vendor adds to the mix? The platform readme file instructs that I download from Android source and replace any modules I want to modify. Is there an order in which I should ideally compile these? Basically I did a successful compile of the kernel earlier, but I could not install it using twrp. This time I am pulling the config file from my device. Last time I did not have any .ko files.
Here is a copy of the README_Platform.txt:
How to build modules for Platform
[Build steps]
1. Get the Android platform source code.
- Version - Android Kitkat 4.4.1
- Please refer to download instructions in following url : http://source.android.com
2. Copy module that you want to build - to original android open source
If same module exists in android open source, you should replace it. (no overwrite)
# It is possible to build all modules at once.
3. Check module is in 'build\target\product\core.mk'
If not, you should add your module name in it.
ex1) external\libjpega : Write "libjpega " into "build\target\product\core.mk"
ex2) external\libexifa : Write "libexifa " into "build\target\product\core.mk"
4. excute build command
- make -j8 or build.sh user
0 commentaires:
Enregistrer un commentaire