Instantly share code, notes, and snippets.

View Eve-Mint_SysInfo
System: Host: Eve-Mint Kernel: 4.13.0-37-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm Distro: Linux Mint 18.3 Sylvia
Machine: System: Google (portable) product: Eve v: 1.0 Chassis: type: 3
Mobo: Google model: Eve v: 1.0 Bios: coreboot v: N/A date: 11/07/2017
CPU: Dual core Intel Core i5-7Y57 (-HT-MCP-) cache: 4096 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 6432
clock speeds: min/max: 400/3300 MHz 1: 1600 MHz 2: 1600 MHz 3: 1600 MHz 4: 1600 MHz
Graphics: Card: Intel Device 591e bus-ID: 00:02.0 chip-ID: 8086:591e
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
Resolution: 2400x1600@59.98hz
View chrx-setup-storage
#!/bin/bash
#
# setup_storage
#
# This script is _sourced_ from install-chrx (not exec'ed),
# so all functions and variables from there are available.
#
# It cannot be run directly from the commandline.
#
View chrx-install
#!/bin/bash
#
# chrx-install
#
# chromebook unix installer
#
CHRX_VERSION="2.4.1"
CHRX_OS_DISTRO="galliumos"
View go
#!/bin/sh
# #
# chrx-go #
# #
# A wrapper for chrx-install #
# #
: ${CHRX_WEB_ROOT:="https://chrx.org"}
CHRX_CACHE0_DIR="/var/tmp/chrx"
CHRX_LOG_FILE="${CHRX_CACHE0_DIR}/chrx-install.log"
View priority
#!/bin/sh -e
APPL_PATH="$(readlink -f $0)"
## If we're not running as root, restart as root.
if [ $(id -u) -ne 0 ]; then
echo "...elevating $USER to superuser..."
echo
exec sudo /bin/sh -e "$APPL_PATH" "$@"
fi
View cb
#!/bin/sh -e
### 'cb' - Shows Vital Product Data (VPD) for Chrome OS device.
###
### Typical VPD data
###
## sudo dump_vpd_log --full --stdout
## "mlb_serial_number"="CN0V..................."
## "ppid"="CN0V..................."
## "asset_tag"=""
View recovery-id.json
[
{
"desc": "Acer 15.6\" BSW Banjo refresh",
"file": "chromeos_8530.81.0_banon_recovery_stable-channel_mp.bin",
"filesize": 2279571456,
"hwidmatch": "^BANON .*",
"manufacturer": "Acer",
"name": "Acer 15.6\" Chromebook",
"sha1": "55283c73c64c48cca410eddc38b23a9f4854648e",
"url": "https://dl.google.com/dl/edgedl/chromeos/recovery/chromeos_8530.81.0_banon_recovery_stable-channel_mp.bin.zip",
View chrootbu
echo_e='/bin/echo -e'
### If we're not running as root, restart as root.
if [ ${UID:-$(id -u)} -ne 0 ]; then
${echo_e} "...elevating ${USER} to superuser...\n"
exec sudo /bin/sh -e "$0" "$@"
fi
APPLICATION="${0##*/}"
View chrx-install.log
## go -d galliumos -p admin-misc kodi -H denny.chrx -U denny -v
chrx installer, version 2.1.2
Hardware ID: LULU_D25-O2K-D2Q-Q2P
Model: Dell Chromebook 13 7310
Released: 2015
CPU Family: Intel Broadwell
Prognosis: success likely, ONLY IF FIRMWARE HAS BEEN UPDATED!
Checking hardware support for legacy boot... OK
View recovery-id.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file
Moved to: https://github.com/DennisLfromGA/CBC-Projects/blob/recovery-id/recovery-id.csv