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/sh | |
UPDATE_FILE="${1}" | |
PATCHED_BOOT="${2}" | |
OUTPUT_DIR="${3:-./out}" | |
CWD=$(cd $(dirname $0) && pwd) | |
OUTPUT_DIR="$CWD/$OUTPUT_DIR/" | |
OTA_PACKAGE="6521_1.zip" |
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
create image: | |
docker build -t signapk:latest . | |
sign apk: | |
docker run --rm -e OPTION="-w" -v $PWD:/data signapk:latest ./update.zip ./update_signed.zip |
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
Hello joying update | |
root | |
/ | |
ANDROID_DATA=/data | |
ANDROID_ROOT=/system | |
EXTERNAL_STORAGE=/sdcard | |
HOME | |
PATH=/sbin:/system/bin:/vendor/bin | |
SECONDARY_STORAGE=/storage/sdcard0 | |
SHELL |
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/env python | |
# Copyright (C) 2020 Yuki MIZUNO | |
# SPDX-License-Identifier: GPL-3.0-only | |
from __future__ import print_function, unicode_literals | |
from argparse import ArgumentParser, FileType | |
from os import makedirs | |
from os.path import exists, join | |
from struct import unpack, calcsize |
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
pi@raspberrypi:/tmp $ edidparser edid.bin | |
Enabling fuzzy format match... | |
Parsing edid.bin... | |
HDMI:EDID version 1.3, 1 extensions, screen size 128x72 cm | |
HDMI:EDID features - videodef 0x80 !standby !suspend !active off; colour encoding:RGB444|YCbCr422; sRGB is not default colourspace; preferred format is native; does not support GTF | |
HDMI:EDID found monitor name descriptor tag 0xfc | |
HDMI:EDID monitor name is TV-monitor | |
HDMI:EDID found monitor range descriptor tag 0xfd | |
HDMI:EDID monitor range offsets: V min=0, V max=0, H min=0, H max=0 | |
HDMI:EDID monitor range: vertical is 23-61 Hz, horizontal is 15-136 kHz, max pixel clock is 600 MHz |
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
00ffffffffffff0052628888008888881c150103800000780aee91a3544c | |
99260f505400000001010101010101010101010101010101011d007251d0 | |
1e206e285500c48e2100001e8c0ad08a20e02d10103e9600138e2100001e | |
000000fc003732305033302d48444d490a20000000fd003b3d0f2e0f1e0a | |
2020202020200168020321434e041303021211012021223c3dbe1f230907 | |
0766030c00300080e3007f8c0ad08a20e02d10103e9600c48e210000188c | |
0ad08a20e02d10103e9600138e210000188c0aa01451f01600267c430013 | |
8e2100009800000000000000000000000000000000000000000000000000 | |
00000000000000000000000000000028 |
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
<?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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>AutoJoin</key> | |
<true/> | |
<key>CaptiveBypass</key> |
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
奇談クラブ | |
代作恋文 | |
野村胡堂 | |
+目次 | |
プロローグ | |
小説家大磯虎之助は、奇談クラブのその夜の話し手として、静かに壇上に起ちました。 |
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/bash | |
cd /sys/kernel/config/usb_gadget/ | |
mkdir -p procon | |
cd procon | |
echo 0x057e > idVendor | |
echo 0x2009 > idProduct | |
echo 0x0200 > bcdDevice | |
echo 0x0200 > bcdUSB | |
echo 0x00 > bDeviceClass | |
echo 0x00 > bDeviceSubClass |