Hey!This thread is about starting native Linux on Samsung Galaxy Note9. This isn't my first attempt to do such thing. The history looks like Galaxy Spica -> Galaxy J1 (2016) -> Galaxy Note9. So I know what I'm doing
Later I'll post instructions how to install and run it.
Note9 isn't my main device, so I won't work on dualboot. If some wants to make it, feel free to build dualboot (kexec) recovery and post it here.
For WIFI i just disabled CONFIG_ANDROID_PARANOID_NETWORK in .config and copy /vendor folder to / of linux.
And to make OTG work i must disable "disable U1/U2 state"
Last thing i need is how to enable HDMI port on DEX pad and enable sound, loading sound firmware make system very unstable.
This is not enough. May be linuxdeploy does something.
Take a look at this project: https://forum.xda-developers.com/showthread.php?t=2070139
heimdall flash --BOOT image-new.img
#mkdir functions/rndis.usb0 # use default parameters #ln -s functions/rndis.usb0 configs/c.1
minicom -o -D /dev/ttyACM0 -b 115200 -c on -a on -t linux
echo nameserver 18.104.22.168 >> /etc/resolv.conf