To grant all permissions to app, use -g as argument while installing with adb
adb install -g myapp.apk
adb install -g myapp.apk
git clone https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.gitTo get kernel-next branch clone
git clone https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
export PATH=$PATH:/path/to/linaro/binary/linaro/aarch64-unknown-linux-gnu_4.9-2014.05-01/bin
make ARCH=arm64 CROSS_COMPILE=aarch64-unknown-linux-gnu- O=output defconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-unknown-linux-gnu- O=output -j8
make ARCH=arm64 CROSS_COMPILE=aarch64-unknown-linux-gnu- O=output menuconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-unknown-linux-gnu- O=output savedefconfigThis will create defconfig file in output directory. Copy this file to your arch/arm64/configs directory
mplayer input.mp4 -vc null -vo null -ao pcm:fast:waveheader:file=audio.wav
mplayer -rawaudio rate=192000:channels=2:samplesize=4 -format s32le -demuxer rawaudio audio.pcm
d2h(){
echo "obase=16; $@"|bc
}
export -f d2h
Above function converts decimal to hex and then export it, so that it can be used from other bash scripts