This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
PWD=$(pwd) | |
app_path=$1 | |
app_basename="${app_path%.*}" | |
if [ "$#" -ne 1 ]; then | |
echo "Usage: ./fixup.sh YourApp.app" | |
exit -1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
f = open("SLC.RAW", "rb") | |
f_out = open("SLC.partial.bin", "wb") | |
while True: | |
contents = f.read(0x840) | |
if len(contents) < 0x800: | |
break | |
unwrap = contents[:0x800] | |
f_out.write(unwrap) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Crypto.Cipher import AES | |
from Crypto import Random | |
import base64 | |
import requests | |
import xml.etree.ElementTree as ET | |
block_size = AES.block_size | |
unpad = lambda s : s[0:-ord(s[-1])] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
&mdss_mdp { | |
/* Samsung 4K OLED ID9 */ | |
dsi_9: somc,9_panel { | |
qcom,dsi-ctrl-num = <0>; | |
qcom,dsi-phy-num = <0>; | |
qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0"; | |
qcom,mdss-dsi-panel-name = "9"; | |
qcom,mdss-dsi-panel-type = "dsi_cmd_mode"; | |
qcom,mdss-pan-physical-width-dimension = <65>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Based somewhat on http://www.nicholasmelnick.com/2019/02/installing-chromeos-on-surface-go/ | |
EDIT April 11, 2020: Happy to report that a lot of this isn't necessary any more! https://github.com/sebanc/brunch seems to work | |
perfectly with the Surface Go using the dual boot option and rEFInd, no adjustments needed. Even fixes autorotation, which I hadn't | |
gotten working. | |
# Get chromefy stuff | |
git clone https://github.com/imperador/chromefy.git | |
cd chromefy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt | |
index 3da42ae..2f54680 100644 | |
--- a/src/CMakeLists.txt | |
+++ b/src/CMakeLists.txt | |
@@ -410,7 +410,7 @@ if(NOT MSVC) | |
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${FLAG}") | |
endif() | |
endforeach() | |
- set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined") | |
+ #set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(bootloader) battery-soc:39% | |
(bootloader) battery-soc-ok:yes | |
(bootloader) battery-voltage:3779 mV | |
(bootloader) enter-reason:reboot bootloader | |
(bootloader) erase-block-size:0x1000 | |
(bootloader) hw-revision:MP1.1 | |
(bootloader) is-logical:pad1:no | |
(bootloader) is-logical:vbmeta:no | |
(bootloader) is-logical:vbmeta_system:no | |
(bootloader) is-logical:vbmeta_vendor:no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18D1 9400: Google LLC - Stadia Controller rev. A | |
DESCRIPTOR: | |
05 01 09 05 a1 01 85 03 05 01 75 04 95 01 25 07 | |
46 3b 01 65 14 09 39 81 42 45 00 65 00 75 01 95 | |
04 81 01 05 09 15 00 25 01 75 01 95 0f 09 12 09 | |
11 09 14 09 13 09 0d 09 0c 09 0b 09 0f 09 0e 09 | |
08 09 07 09 05 09 04 09 02 09 01 81 02 75 01 95 | |
01 81 01 05 01 15 01 26 ff 00 09 01 a1 00 09 30 | |
09 31 75 08 95 02 81 02 c0 09 01 a1 00 09 32 09 | |
35 75 08 95 02 81 02 c0 05 02 75 08 95 02 15 00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[No Outlines] | |
0041B748 E320F000 | |
D2000000 00000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[No Outlines] | |
00297844 E320F000 | |
D2000000 00000000 |