Enter the machine using adb shell
Run cat /proc/partitions
# Path Purpose Size
0 /dev/block/mmcblk0 7761920
1 /dev/block/mmcblk0p1 data 6085631
| # for x264 | |
| ./configure --enable-static \ | |
| --disable-opencl \ | |
| --disable-avs \ | |
| --disable-cli \ | |
| --disable-ffms \ | |
| --disable-gpac \ | |
| --disable-lavf \ | |
| --disable-swscale \ | |
| --prefix=/usr/local/ |
| #!/usr/bin/python | |
| """ | |
| Simple tool to extract local users and passwords from most Huawei routers/firewalls config files. | |
| Will extract plain-text passwords and crypted credentials. Huawei config files use DES encryption with | |
| a known key. Using this information, the script will decrypt credentials found in the config file. | |
| Author: Etienne Stalmans (etienne@sensepost.com) | |
| Version: 1.0 (12/01/2014) | |
| """ | |
| from Crypto.Cipher import DES |
When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.
filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&id=${fileid}"git clone https://www.github.com/openwrt/openwrt -b branch_namecd openwrt.This is our <buildroot dir> for this guide../scripts/feeds update -a./scripts/feeds install <PACKAGENAME>./scripts/feeds install -a| #!/bin/sh | |
| # This script is a companion of the script youtube-music-live.sh. Assuming the MUSIC_PATH is an icecast2 stream, The script will fetch the metadata tag StreamTitle every 5 seconds and update the file /tmp/artist, /tmp/title. Generally, the StreamTitle should be like "artist - title", though sometimes there is only title. You may also update the files manually and ignore this script. Be sure to run this script after youtube-music-live.sh. | |
| # You have to define music url. | |
| MUSIC_PATH= | |
| while [ `pgrep -x ffmpeg` ] | |
| do | |
| meta=`ffprobe -v error -show_format "$MUSIC_PATH" | grep StreamTitle | cut -d= -f2` | |
| case "$meta" in |
system/core/rootdir/init.rc according to init.rc.diff. Make sure you mount all the cgroup subsystems needed (cpu, cpuacct, cpuset, memory, pids, devices, freezer, blkio) under /sys/fs/cgruop, otherwise lxc won't find them;emulator -kernel kernel-file-path) and use adb shell and dmesg to check if everything is doing ok.TL;DR: This describes the process, hardware, and software used to perform in-circuit programming of the 128Mbit SPI NOR flash in the Pinebook Pro using a Raspberry Pi.
You, the user of this information bear ALL responsibility for ANY outcome of its use, whether negative or positive. My success in this operation can be attributed to the following factors:
| #!/bin/bash | |
| # cvt 2560 1440 30 | |
| # xrandr --newmode "2560x1440_30.00" 146.25 2560 2680 2944 3328 1440 1443 1448 1468 -hsync +vsync | |
| # xrandr --addmode HDMI-1 2560x1440_30.00 | |
| # xrandr --output HDMI-1 --mode 2560x1440_30.00 | |
| # This one is easier on the eyes than 3840x2160 @24Hz: | |
| # cvt -r 2560 1440 60 | |
| # 2560x1440 59.95 Hz (CVT 3.69M9-R) hsync: 88.79 kHz; pclk: 241.50 MHz |