Skip to content

Instantly share code, notes, and snippets.

View tihmstar's full-sized avatar

tihmstar

View GitHub Profile
#include <FastLED.h>
/*
Using "Gelid Solutions Codi6 ARGB-Controller-Kit", controll Fans and LEDS
On socket PWM9, bridge LED "D" pin with the rightmost FAN pin (the one without description)
Using serial (baud 115200)
echo "200" > /dev/ttyUSB1 #write value 0-255 for fan speed
echo "r" > /dev/ttyUSB1 #make LEDs do colorful rainbow
echo "d" > /dev/ttyUSB1 #turn off LEDs
@tihmstar
tihmstar / iPhone_8_15.1_19B74_kernelpatches.txt
Last active April 18, 2024 23:16
iPhone 8 15.1 19B74 checkm8 jb patches
iPhone8 15.1 19B74
iBoot: 0x1800309c0 : 000080d2
iBoot: 0x180038744 : af070094
iBoot: 0x18003a844 : 9386ff17
iBoot: 0x18001c290 : a1000058df0301eb40000054202080d2c0035fd6
iBoot: 0x18001c2a4 : 4887038001000000
iBoot: 0x1800325dc : 200080d2
iBoot: 0x18009127f : 7261316e736e3077206d6f6465
iBoot: 0x180038f04 : 1f2003d5
@tihmstar
tihmstar / Odyssey14_leak.cpp
Last active April 27, 2021 17:13
Stable internal kernelRW primitives #odyssey14 #leak
extern "C"
void initKernRw(mach_port_t dstTask, uint64_t dstTaskAddr, uint64_t (*kread64)(uint64_t addr), void (*write_20)(uint64_t addr, const void *buf)){
KernelRW *newKrw = new KernelRW;
auto p = newKrw->getPrimitivepatches(kread64,dstTaskAddr);
{
uint8_t buf[20];
for (int i=0; i<sizeof(buf); i+=8) {
*((uint64_t*)&buf[i]) = kread64(p.where-20+8+4+i);
/*
* The MIT License (MIT)
*
* Copyright (c) 2016 Pupyshev Nikita
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,