I was not able to do the BoF and was pointed in another direction. As a result I managed to create a user with gid=0 however I still cannot read root.txt as permissions are
-rw-------
If someone want to PM me that didn’t do BoF I would be grateful
EDITED
Never mind, rooted. Thanks to everyone that gave hints