[Q]Can we write new kernel module without source code of stock ROM
I made a simple hello-world kernel module and then insmod it into a running system. The system will halt few second and then restart.
I didn't have source code of the stock rom, so I used a github source with same arch & kernel version. I also try to use same GCC version and magic-version.
I have disabled all TRACE options in "Kernel Hack". Other wise, the dmesg will report "can't find reference fo the symbol __gnu_mcount_nc"