[Halium 9 Kernel Patching][GSI] Ubports fails to boot
-
@nitanmarcel No that one you can ignore, its normal ^^
-
@nitanmarcel Please mount your rootfs again as described above and move out all startup jobs called lxc-* to another folder. We must prevent any interaction with cgroups and lxc. And we need to get the output of lxc-checkconfig (its not a file, rather you call this on the console)
-
@Flohack Same thing happens. I get stuck after I enter the password. I've also tried from recovery and the same thing happens.
-
Also after I connect with ssh and it freezes if I try from another tab I can't connect anymore
-
But does it bootloop?
-
Can you try this fix:
mkdir /a
mount /data/rootfs.img /a
echo manual |tee /a/etc/init/rsyslog.override
umount /a
sync
we disable syslog daemon for a while, see if that unblocks ssh -
@Flohack Yes, it goes to bootloop again. I've tried your fix but it still get's stuck after I enter my password and the same thing happens as before with lxc. The phone reboot then goes into a bootloop as soon as the phone starts
-
And yeah, if I don't ssh the phone doesn't reboot. It just stays at the Android One logo
[Edit: then it shuts down]
-
I also tried with telnet
nitanmarcel@nitanmarcel:~/adb/Ubports$ telnet 10.15.19.82 Trying 10.15.19.82... telnet: Unable to connect to remote host: Connection refused
-
Sorry out of ideas
-
@Flohack No problem, thanks for trying to help I've also tried to change my system from f2fs to ext4 and the phone didn't rebooted again, but I still can't ssh.
-
@Flohack I got an idea. Instead of using ssh can't we just make a script to run the command at boot and then store it to a file? like
lxc-checkconfig >> /home/phablet/lxc-checkconfig
-
@nitanmarcel Sure you can craft a one-time upstart job in /etc/init. Go for it
-
@Flohack I've tried and with no success. Nothing got saved which is strange because I tried echoing to a file and same thing happened. Nothing
-
@Flohack I've tried modifying the ssh.override to create the log when the ssh starts but nothing happens:
pre start script lxc-checkconfig >> /home/phablet/lxcout.txt exec /usr/sbin/sshd -D -o PasswordAuthentication=yes end script
Am I doing something wrong?
-
@nitanmarcel DOes it crash too early maybe?
-
@nitanmarcel sshd has start conditions in the main upstart conf file, maybe its just not ready. I know what to do next, lemme get home
-
@Flohack If it crashed to early should't ssh not enable at all?
Ok we'll see later when you get home
-
Just to also mention: I've also tried editing the /etc/init.d/rc file and the same result. I can't get to get the command's output
-
@Flohack Anything new? ^^