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
https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone9,4-2-3-0/online-infobox__3x.png | |
A B C D E F G | |
A: deviceImages version seems to determine the format of the image specifier (C, D, E, F) | |
B: device marketing name | |
C: device model identifier | |
D: front color (DeviceColor) | |
E: back color (DeviceEnclosureColor) (missing on very old devices) | |
F: color (device cover/backing/housing)?? (missing on older devices) | |
G: image variant |
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
# adb protocol on huawei | |
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0600", OWNER="rudolf" | |
# fastboot protocol on huawei | |
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0600", OWNER="rudolf" | |
# adb protocol on qualcomm | |
SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0600", OWNER="rudolf" |
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
export ARCH=arm | |
export CROSS_COMPILE=/home/rudolf/android/cyanogenmod/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin/arm-eabi- | |
# For out-of-tree modules | |
export KERNEL_DIR=~/android/cyanogenmod/out/target/product/u8800/obj/KERNEL_OBJ/ | |
# For Little Kernel | |
export PATH=$PATH:~/android/cyanogenmod/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin |
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
#!/bin/bash | |
if [ "$#" == 1 ] && [ $1 == *.zip* ] | |
then | |
java -classpath ~/apps/testsign.jar testsign $1 ${1%.*}-signed.zip | |
else | |
echo "Usage: testsign <zip to be signed>" | |
fi |