Re: [android-building] How to upload a driver that I created to my device?

2019-07-19 Thread 'Dan Willemsen' via Android Building
Android (as AOSP) does not build the kernel along with the platform code -- it's expected to be delivered as a prebuilt. So setting KERNEL_DEFCONFIG won't do anything. - Dan On Fri, Jul 19, 2019 at 11:26 AM abhishekkumardwiv...@gmail.com < abhishekkumardwiv...@gmail.com> wrote: > If you have

Re: [android-building] How to upload a driver that I created to my device?

2019-07-19 Thread abhishekkumardwiv...@gmail.com
If you have full source code of Android stack with the kernel then you can check at AndroidBoard.mk file which will address the config file used for kernel compilation. If you want to compile only kernel then you can do something like: $ make -j4 KERNEL_DEFCONFIG=xyz_defconfig Here the

Re: [android-building] How to upload a driver that I created to my device?

2019-07-18 Thread 'Chris Fries' via Android Building
Unfortunately, until you have a Q based kernel, you'll be hitting a bug that we left module signature verification enabled. You'll want a patch like this, rebuild the kernel and then you could load a module. commit e8291e13f6a669e9f751975ce169be291fc01e64 Author: Steve Muckle <> Date: Thu

[android-building] How to upload a driver that I created to my device?

2019-07-18 Thread Lucas. B
*@Dear All,* I've been wondering about some of the android functions for some time now, so I made a device driver. And I downloaded the *AOSP *source code and built it into *ENG*(or userdebug), then flash it into my *Pixel 3 XL*. But as I tried to load the module with the "insmod" command,