Re:Termux and Android 10
by zozbot234 on Monday May 18, 2020 @02:47PM
(#23226753)
Depends on whether you have bothered to open them up and remove the hardware-based firmware write protect. The process is highly device-dependent, and seems to be entirely undocumented for many Chromebooks and other ChromeOS devices. YMMV.
[ Parent
| on HN ]
It's pretty well documented on the Chromium OS site: https://chromium.googlesource.com/chromiumos/docs/+/master/d...
If there's devices missing, send a PR to that repo: https://chromium.googlesource.com/chromiumos/docs/+/master/R...
Re:Termux and Android 10
by Dylan16807 on Monday May 18, 2020 @03:04PM
(#23226964)
That's a pretty high standard.
You don't need to open it up for developer mode, which lets you mess around as root, chroot into a Linux distro, give the chroot control of the screen...
"Developer mode" is incredibly brittle. If you don't press the right key combination at boot, your user partitions get formatted without warning and you lose all data. That makes it essentially a toy, not a real "developer" device.
Re:Termux and Android 10
by Dylan16807 on Monday May 18, 2020 @03:20PM
(#23227164)
I see your point, but it's not as bad as that. Pressing the right key combination is optional, and all it does is skip an annoying beep. Factory reset isn't triggered by inactivity, it's triggered by pressing space and then confirming.
Re:Termux and Android 10
by MereInterest on Monday May 18, 2020 @04:43PM
(#23228109)
It may have changed in the past two years, but there was a 30 second splash screen saying "Press space to continue". If you press space during that time, it will "continue" to safe mode, wiping your entire crouton environment. There was no indication at all as to the key combination needed to skip the 30 second wait time.
Re:Termux and Android 10
by Dylan16807 on Monday May 18, 2020 @05:35PM
(#23228652)
You have to also confirm clearing data with enter after pressing space.
Re:Termux and Android 10
by HeWhoLurksLate on Monday May 18, 2020 @03:51PM
(#23227531)
Has anyone stuck a Teensy or arduino or something inside of a Chromebook to automatically send the right key combo? Seems fairly simple to me to do, but I don't have a Chrome device to test that on.
Re:Termux and Android 10
by Dylan16807 on Monday May 18, 2020 @03:57PM
(#23227597)
If you're opening up and messing with the hardware, why not remove the write protect and flash the firmware instead?
...Or completely replace the innards with a Raspberry Pi Zero W. (Not sure if it’s actually possible.)
Various pi boards have been retrofitted into laptops but a Pi Zero in particular is a downgrade in performance from just about any relatively recent laptop/Chromebook. As some of the sibling comments mention, there is more involved with resetting than an accidental non-action during boot.
Even better you can switch to coreboot and load Linux, there's even a Chromebook-specific distro, https://galliumos.org/
You can even just boot Linux, or dual boot.
Note also that you can install Linux on your Chromebook in a container without having to put the device in developer mode: https://support.google.com/chromebook/answer/9145439
With Crostini, you can write and run full Linux apps in a full Linux environment. No bootloader or dev mode shenanigans required.
Does this "full Linux environment" support e.g. audio? I've seen reports that early versions of Crostini didn't even support that.
Re:Termux and Android 10
by tedunangst on Monday May 18, 2020 @04:28PM
(#23227952)
Yes. You can use youtube-dl to get videos and ffplay to watch them.