On Thu, Aug 27, 2020 at 1:02 PM Stefano Simonucci wrote:
Do you know if it is possible to install debian mobile on huawei?
I've copy-pasted my answer to this question from yesterday:
Since the Huawei devices run 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
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.