Skip to content

Instantly share code, notes, and snippets.

Alex James al3xtjames

Block or report user

Report or block al3xtjames

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View simpleMLB.sh
#!/bin/bash
#
# Simple Main Logic Board (MLB) Serial Generator Script by TheRacerMaster
# Based off the work of Hanger1, AGuyWhoIsBored & Alien:X
# NOTE: This is a simple script that doesn't do any checking of other SMBIOS values. It needs valid SMBIOS data which includes the following:
# - Valid SmUUID value in Clover config.plist under SMBIOS (generated using uuidgen)
# - ROM value set to UseMacAddr0 in Clover config.plist (uses MAC address of your first NIC as ROM value)
# - Properly formatted serial number (doesn't have to be a real one, just formatted properly) in Clover config.plist under SMBIOS
# - Don't use a generic serial number (such as Clover's default)! It needs to be at least semi-unique.
# - Try using a generated serial number that isn't real (but formatted correctly) from Clover Configurator, Chameleon Wizard, etc.
@al3xtjames
al3xtjames / MB Specs.md
Last active May 8, 2017
HW specifications of some motherboards
View MB Specs.md

Motherboard Hardware Specifications

Hardware specifications of various motherboards.

Gigabyte

Intel Z77 'Panther Point' Chipset:

  • GA-Z77X-D3H (rev 1.0, rev 1.1, rev 1.2)
    • Audio: VIA VT2021 Codec
    • Ethernet: Qualcomm Atheros AR8151 (rev 1.0) / AR8161 (rev 1.1, rev 1.2) GbE
View USBTree.md

###Intel 7 Series/C210 Chipset Family:

Stock:

Intel 7 Series/C210 Chipset Family
├── USB 2.0 Enhanced Host Controller #1 (EHC1)
│   └── Internal Hub (PR01)
│       ├── Port 1 (PRT1)
│       ├── Port 2 (PRT2)
│       ├── Port 3 (PRT3)
@al3xtjames
al3xtjames / AppleSmBios.h
Created Apr 20, 2016
Apple-specific SMBIOS definitions
View AppleSmBios.h
/** @file
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License that accompanies this
distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
@al3xtjames
al3xtjames / intel_gpu.md
Last active Mar 14, 2019
Intel HD Graphics device/framebuffer information
View intel_gpu.md

Ivy Bridge

Devices

Device ID Model Name
8086:0152 Ivy Bridge GT1 Intel HD Graphics 2500
8086:0162 Ivy Bridge GT2 Intel HD Graphics 4000
8086:0166 Ivy Bridge Mobile GT2 Intel HD Graphics 4000
8086:016A Ivy Bridge GT2 Intel HD Graphics P4000
@al3xtjames
al3xtjames / xhc.md
Last active Jul 15, 2016
Haswell XHC Port Enable/Disable
View xhc.md

Haswell DSDT excerpt:

Scope (_SB.PCI0.XHC.RHUB.HS01)
{
    Method (_UPC, 0, Serialized)  // _UPC: USB Port Capabilities
    {
        If (!PRTE (_ADR))
        {
            Return (UPCN) /* \_SB_.PCI0.XHC_.RHUB.UPCN */
        }
@al3xtjames
al3xtjames / fstab.angler
Last active Feb 6, 2017
franco Kernel fstab for Nexus 6P (angler) with forceencrypt/verity enabled
View fstab.angler
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/soc.0/f9824900.sdhci/by-name/system /system ext4 ro,barrier=1,inode_readahead_blks=8 wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata
/dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor /vendor ext4 ro,barrier=1,inode_readahead_blks=8 wait,verify=/dev/block/platform/soc.0/f9824900.sdhci/by-name/metadata
/dev/block/platform/soc.0/f9824900.sdhci/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,nomblk_io_submit,noauto_da_alloc,discard,errors=panic,inode_readahead_blks=8 wait,check,forcefdeorfbe=/dev/
@al3xtjames
al3xtjames / marlin-o-build.prop
Created Mar 21, 2017
Pixel XL (marlin) Android O DP1
View marlin-o-build.prop
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=OPP1.170223.012
ro.build.display.id=OPP1.170223.012
ro.build.version.incremental=3793265
ro.build.version.sdk=25
ro.build.version.preview_sdk=1
ro.build.version.codename=O
ro.build.version.all_codenames=O
@al3xtjames
al3xtjames / fedora-25-dv7-4087cl.md
Last active May 24, 2017
Fedora 25 on HP Pavilion dv7 4087cl
View fedora-25-dv7-4087cl.md

Fedora 25 on HP Pavilion dv7 4087cl

Hardware specifications

  • CPU: Intel Core i5-430M @ 2.27 GHz (2 cores / 4 threads)
  • IGPU: Intel HD Graphics (Ironlake)
  • dGPU: AMD Radeon HD 5470M 512MB
  • WiFi: Intel Centrino Wireless-N 1000 (replaced with Intel Wireless-AC 7260)
  • Screen: 17.3" 1600x900 LCD

Post-installation tweaks

View One Dark.itermcolors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Ansi 0 Color</key>
<dict>
<key>Alpha Component</key>
<real>1</real>
<key>Blue Component</key>
<real>0.15294118225574493</real>
You can’t perform that action at this time.