The foundation of the Android OS is built on top of the Linux kernel, thus Android device makers are obliged to provide the source code (upon request) for any Linux kernel binaries that ship on their devices. Besides the source code release for the retail release software, OEMs should also publish the updated Linux kernel source code for any future software updates in order to comply with the GNU General Public License v2. Motorola, for example, is quite good at releasing Linux kernel source code for all the updates they roll out, and they have now published the kernel source code for the Moto G7's Android 10 update. OPPO, on the other hand, has shared the initial kernel sources for a bunch of phones from the Find X2 lineup.

The Moto G7 recently picked up its stable Android 10 update in the form of software version QPU30.52-16-2. The newly released kernel source code for this phone (code-name “river”) also corresponds to the very same build. This serves as an increment over the Android Pie-based kernel source for the Moto G7 that was released back in May 2019.

Moto G7 Android 10 Kernel Sources ||| Moto G7 Forums

Talking about the OPPO Find X2, the Qualcomm Snapdragon 865-powered flagship from Chinese smartphone maker OPPO runs Android 10-based ColorOS 7.1 out of the box. Considering the similarities between the base model and the beefier 'Pro' variant, the source code linked below might be compatible with both of them.

OPPO Find X2 Kernel Sources

OPPO Find X2 Forums ||| OPPO Find X2 Pro Forums

The OPPO Find X2 Neo and Lite are rebranded editions of the Chinese Reno3 Pro 5G and the Chinese Reno3 Vitality Edition, respectively. The device duo features the upper mid-range Qualcomm Snapdragon 765G chipset, a quad-camera setup with a 48MP primary sensor, and a generous 4,025mAh battery.

Kernel Sources: OPPO Find X2 Neo ||| OPPO Find X2 Lite