This file contains hidden or 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
| <5>[ 0.000000] Linux version 2.6.35.14_nl-az4 (root@slave28.jp.sony.com) (gcc version 4.5.1 (20120207 (Sony CE Linux 8.1.0.3)) ) #1 SMP PREEMPT Mon Aug 8 13:28:53 JST 2016 | |
| <4>[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387f | |
| <4>[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache | |
| <4>[ 0.000000] Machine: Bst2brd | |
| <4>[ 0.000000] Stby : -21491us | |
| <4>[ 0.000000] LPT : 25323us | |
| <4>[ 0.000000] FSCK-A : 416738us | |
| <4>[ 0.000000] FSCK-E : 513827us | |
| <4>[ 0.000000] Load : 518490us | |
| <4>[ 0.000000] Entry : 919308us |
This file contains hidden or 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
| import struct | |
| import sys | |
| import os | |
| if len(sys.argv) == 3: | |
| save = sys.argv[2] | |
| else: | |
| save = None | |
| with open(sys.argv[1], "rb") as file: |
This file contains hidden or 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
| import struct | |
| import sys | |
| import os | |
| import io | |
| output_folder = sys.argv[2] | |
| with open(sys.argv[1], "rb") as file: | |
| file.seek(0, io.SEEK_END) |
This file contains hidden or 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
| import sys | |
| # in 16 byte block | |
| # 0 -> table_1 | |
| # 1 -> table_1 + SWAP | |
| # 2 -> table_2 | |
| # 3 -> table_1 + SWAP | |
| # 4 -> table_3 | |
| # 5 -> table_4 | |
| # 6 -> table_3 + SWAP |
This file contains hidden or 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
| import sys | |
| # | |
| # AEP - KDL-40W4500 | |
| # 1x64MB = 64MB | |
| # | |
| def process_aep(nand, outfile): | |
| NAND_DATA_SIZE = 512 | |
| NAND_OOB_SIZE = 16 | |
This file contains hidden or 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
| import sys | |
| import os | |
| import struct | |
| import math | |
| import json | |
| from Crypto.Cipher import AES | |
| from random import randbytes | |
| from cryptography.hazmat.primitives import hashes | |
| from cryptography.hazmat.primitives.asymmetric import padding |
This file contains hidden or 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
| import sys | |
| NAND_DATA_SIZE = 512 | |
| NAND_OOB_SIZE = 16 | |
| INTR_BLOCK_SIZE = 32768 | |
| INTR_TOTAL_BLOCKS = 4096 | |
| if len(sys.argv) < 4: | |
| print("usage: emma_ftl.py <NAND1 file> <NAND2 file> <output file> <eegs mode>") |
This file contains hidden or 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
| import sys | |
| NAND_DATA_SIZE = 512 | |
| NAND_OOB_SIZE = 16 | |
| NAND_FILE_PATH = sys.argv[1] | |
| FTL_BLOCK_SIZE = 16384 | |
| FTL_BLOCK_COUNT = 1024 | |
| ### |
This file contains hidden or 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
| import struct | |
| import sys | |
| from collections import defaultdict, Counter | |
| #440000 cramfs | |
| #D28000 cramfs | |
| #3028000 cramfs | |
| #6740000 cramfs | |
| # setting |
This file contains hidden or 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 on: https://github.com/bugficks/msddecrypt, modified to just dump swu/msd passphrase from modern tizen TVs | |
| # (c) bugficks@samygo 2016 | |
| # + theubusu 2026 | |
| # GPL v2 | |
| import sys | |
| import ctypes | |
| from ctypes import c_byte, c_char_p, c_int32, c_ushort, c_uint32, c_void_p, byref, cast, pointer, POINTER, CDLL | |
| #### TEEC #### |
NewerOlder