Skip to content

Instantly share code, notes, and snippets.

@webgeek1234
webgeek1234 / build_shield_first_stage_initramfs.sh
Last active August 29, 2015 14:07
Build Shield First Stage Initramfs
#!/bin/sh
# ----------------------------------------------------------------------------
# build_shield_first_stage_initramfs.sh
# This script generates a small initramfs that mounts the boot partition and
# chainloads the official Fedora initramfs. It packages the initramfs and
# kernel a fastboot image. This is designed for use with the Nvidia Shield,
# but might be useful for other fastboot devices with a small boot partition.
# Copyright 2014, Aaron Kling <aaron.c.kling@gmail.com>
@webgeek1234
webgeek1234 / fedora_kernel_3.16_shield.patch
Created October 7, 2014 04:45
Add Nvidia Shield support to the Fedora kernel (kernel code by Gnurou [Alexandre Courbot])
diff --git a/SOURCES/config-arm-generic b/SOURCES/config-arm-generic
index 38a0016..4b65909 100644
--- a/SOURCES/config-arm-generic
+++ b/SOURCES/config-arm-generic
@@ -25,7 +25,7 @@ CONFIG_RESET_GPIO=y
CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RTC_DRV_SNVS is not set
# CONFIG_RTC_DRV_HYM8563 is not set
-CONFIG_BACKLIGHT_PWM=m
+CONFIG_BACKLIGHT_PWM=y
diff --git a/minuitwrp/graphics_fbdev.cpp b/minuitwrp/graphics_fbdev.cpp
index 066be8d..4632e0f 100644
--- a/minuitwrp/graphics_fbdev.cpp
+++ b/minuitwrp/graphics_fbdev.cpp
@@ -124,15 +124,37 @@ static GRSurface* fbdev_init(minui_backend* backend) {
}
}
- fb_fix_screeninfo fi;
- if (ioctl(fd, FBIOGET_FSCREENINFO, &fi) < 0) {

Keybase proof

I hereby claim:

  • I am webgeek1234 on github.
  • I am webgeek1234 (https://keybase.io/webgeek1234) on keybase.
  • I have a public key ASCDFkLo5F2SkQWxDBMpmKimalY270CkKRJlrkXWPYj2ngo

To claim this, I am signing this object:

-priv-app/AndroidMediaShell/AndroidMediaShell.apk;PRESIGNED
-app/AtvWidget/AtvWidget.apk;PRESIGNED
-app/Backdrop/Backdrop.apk;PRESIGNED
-priv-app/ConfigUpdater/ConfigUpdater.apk;PRESIGNED
-priv-app/GoogleBackupTransport/GoogleBackupTransport.apk;PRESIGNED
-app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk;PRESIGNED
-priv-app/GoogleServicesFramework/GoogleServicesFramework.apk;PRESIGNED
-priv-app/GooglePackageInstaller/GooglePackageInstaller.apk;PRESIGNED
-priv-app/Katniss/Katniss.apk;PRESIGNED
-app/NoTouchAuthDelegate/NoTouchAuthDelegate.apk;PRESIGNED
Android
__cxa_finalize
LIBC
libc.so
vendor.nvidia.hardware.power@1.0.so
__register_atfork
__cxa_atexit
_ZN6vendor6nvidia8hardware5power4V1_08toStringENS3_12ExtPowerHintE
getpid
_ZN6vendor6nvidia8hardware5power4V1_08toStringENS3_13NvCPLHintDataE
@webgeek1234
webgeek1234 / 0001-input-hid-Add-HID_QUIRK_INIT_USB_INPUT_REPORTS.patch
Created June 20, 2018 22:44
Shield wireless controller kernel support
From 66e8da50a8e779a1d3a29bc1ef985246ef6b7599 Mon Sep 17 00:00:00 2001
From: Fedora Kernel Team <kernel-team@fedoraproject.org>
Date: Wed, 20 Jun 2018 13:22:00 -0500
Subject: [PATCH 1/3] input: hid: Add HID_QUIRK_INIT_USB_INPUT_REPORTS
---
drivers/hid/usbhid/hid-core.c | 3 +++
include/linux/hid.h | 1 +
2 files changed, 4 insertions(+)