I have BLOOGUARD (HP Chromebook x360 14b-ca0061wm) and the left half of the screen is broken. I am looking for a way to limp this thing into the firmware utility script and wiping it to Full ROM firmware.
I could get a usb-C to hdmi cable but I was hoping to avoid that.
I had promising results with the below ai-generated script, but I can’t get the firmware script (or any other command) to output to the right half of the screen. the below script does at least indent the shell to the right half.
ideas I had:
usb-c to hdmi
ssh
tty (output the chromeos terminal to another monitor)
do it blind
tmux / screen / other terminal-in-a-terminal options
braille tty
screen share
narrator / text to speech
zsh / other non-bash terminals
chromebrew
python
fork the script
su / switch user
I have at my disposal:
- suzyQ debugger
- several full linux UEFI former chromebooks
- one samsung ARM chromebook
- linux /windows x64 pc
- rasp pi gen 1
- nanoKVM lite
- android phones, rootable
cd; curl -LO example.com/r.sh && sudo bash r.sh
#!/bin/bash
echo -e "mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmMrChromebox Firmware Utility Script starting up"
# Number of spaces to indent
SPACES=200
SPACER="$(printf '%*s' "$SPACES" '')"
# 1. Set prompt (PS1) for current session
export PS1="${SPACER}\u@\h:\w\$ "
# 2. Define indent() function for on-demand use
indent() {
"$@" | sed "s/^/${SPACER}/"
}
# 3. Setup output redirection using FIFO and trap
FIFO="/tmp/ttyshift.$$"
exec 3>&1 # Save original stdout
# Clean up on exit
cleanup() {
exec 1>&3
rm -f "$FIFO"
}
trap cleanup EXIT
# Create FIFO and hook stdout through sed
mkfifo "$FIFO"
sed "s/^/${SPACER}/" < "$FIFO" >&3 &
exec 1> "$FIFO"
echo
echo "${SPACER}✅ TTY right shift active (in-memory only)"
echo "${SPACER}Type 'exit' or press Ctrl+D to quit and restore normal output"
echo
# Launch interactive shell with shifted output
bash --norc