On Wed, Aug 26, 2020 at 1:23 PM Mgr. Janusz Chmiel wrote: > How complex would be to obtain device kernel Debian compatible drivers for > chips which are build inside Huavei 10 Mate lite device?
Since the Huawei 10 Mate lite runs Android and Android uses the Linux kernel, there are already Linux kernel drivers for the device. The simplest way to use those drivers with Debian is to use one of the chroot-on-Android tools that preserve Android but let you have a Debian installation in a chroot. https://wiki.debian.org/ChrootOnAndroid You can go slightly further than that by modifying the boot process to start Debian instead of Android, while still using the Android Linux kernel. https://bonedaddy.net/pabs3/log/2012/12/03/debian-mobile/ Unfortunately it sounds like Huawei have disabled their bootloader unlock site, so you will have to rely on exploits/hacks/jailbreaks in order to change the boot process. https://github.com/SkyEmie/huawei-honor-unlock-bootloader https://wiki.debian.org/Exploits > advanced system programmers, who could theoretically try to make such > drivers from scratch? > Or is there any easier way than developing kernel device drivers from > scratch for specific mobile phone manufacturers? Ideally, Huawei would contribute the drivers that they wrote for their devices upstream to the mainline Linux kernel so that all operating systems based on Linux can run on their devices. Given the fact that they are blocking bootloader unlocks, it seems unlikely that they will do that though. OTOH they are obliged to release the code publically because of the GNU GPL license. If they are willing to do that then someone else could work on improving their code and including it in the mainline Linux kernel. -- bye, pabs https://wiki.debian.org/PaulWise
