[Android General] Duhjoker:
i need help setting up the GUI for native ubuntu being installed to your external sdcard. please read further

this procedure could wreck destroy brick ypur device or cause a major catastrophe be warned you do this at your own risk

hey guys i have been hard at work compiling some oreo kernels for you. but these arent ordinary kernels. these are kali nethunter kernels and they have systemd/upstart built right in.

what does that mean? well the first part means that i enabled all the allowable configs to bring you all the features of kali nethunter for all the ethical hackers out there wanting to learn better how to protect you from black hat hackers that want to steal your info or worse yet exploit you.

this was brought about by me in need of protection myself due to being constantly hacked and having my cameras turned on 24/7

what the second part means is that one of my kernels is a dualbooting kernel. yes you read that right and heres why i need testers

i have been trying to bring a new custom rom to you guys over the past year and a half.

Ubuntu Touch

but have had a hard time doing so. our phones are kind of finicky in that respect but theres hope.

Both kernels will boot into an ubuntu/ubuntu touch rootfs but i cant quite get how to get the UI up and going. when you first boot into the rootfs it will seem like the phone is hung up at lg boot splash but dont be fooled its booted to the rootfs just plug your phone into your ubuntu pc and a rndis connection will pop up and you can telnet or ssh into it if you have ssh set up.

what i need is people with the know how to help me finish setting it up. i got the idea from doitalljosh and his lg v20 that boots native ubuntu mate from laf on sd card

so lets get set up

what you need:

all of the downloads provided

lg aristo 2, aristo 2 plus or k8 plus running oreo

sd card with 32gb or more split into two partition with first partition set up for vfat and the second ext4

patience and some know how

an ubuntu armhf rootfs of your choice 14.04 to 18.04

lets get started

first unpack YOUR boot.img and add these lines to init.rc under the part under mkdir /mnt/appfuse 0711 root root to allow you to have your sdcards second partition to be mounted to the folder linux at boot time. now you can chroot into at will

mkdir /linux 0755 root root

mount ext4 /dev/block/mmcblk1p2 /linux rw

repack and flash with magisk. next use your terminal to cp -r your rootfs into the linux folder and use tar xvzf to unpack it.

place the boot items into boot and the modules into /lib/modules

while your in there throw all your firmwares into /etc/firmware

now chroot /linux /bin/bash

and apt-get update and apt-get install openssh-server then continue to set up the file system as you would normally set up an ubuntu desktop

now that your done with that lets try to boot it

there are two kernel zips. kali22kernel.zip flashes the dual boot kernel to your device you can flash that at time it boots android and ubuntu rootfs the second kali31kernel.zip is only for ubuntu on your device and will not boot android. the difference is that 31 has apparmor and a few other things needed for ubuntu touch that break android but not ubuntu

now boot to twrp and flash the boot.img i provided. this has some commamdline options setup for booting to the sdcard. then either zip and flash the ramdisk installer which will flash a generic linux ramdisk to your boot.img that will boot into the rootfs

now when you boot it will show lge boot splash for a second then bootloader warning and then stop at first bootsplash before going to snapdragon bootsplash

now plug it into your ubuntu pc and a rndis connection will appear. if you have your ssh set up right in the rootfs you can now ssh into and try to get xserver going

thats as far as ive made it and i need help from testers to get it going properly and bring up the desktop.

im still working on getting Ubuntu Touch going and you can find me on telegram on the ubports porting group or @duhjokersinhell if you are inclined to