Skip to content

Instantly share code, notes, and snippets.

Emulating ARM on Debian/Ubuntu
https://gist.github.com/bdsatish/7476239
You might want to read this to get an introduction to armel vs armhf.
If the below is too much, you can try Ubuntu-ARMv7-Qemu but note it contains non-free blobs.
Install QEMU
@alanyih
alanyih / Device Tree port
Created December 12, 2013 14:27
Device Tree port
Device Tree port
https://github.com/raspberrypi/linux/wiki/Device-Tree-port
Table of Contents
Overview
Warning
Blocking
Implemented
Branches
@alanyih
alanyih / How to boot using device tree
Created December 12, 2013 14:24
How to boot using device tree
How to boot using device tree
https://github.com/raspberrypi/linux/wiki/How-to-boot-using-device-tree
Table of Contents
Bootloader Configuration
Kernel
Configuration
Device Tree
@alanyih
alanyih / README.md
Created November 20, 2013 17:22 — forked from sarg/README.md

Obtaining RK3066 boot ROM.

Here are my steps.

At first, I took a look to RK30xxLoader(L)_V1.18.bin. This file appears in update.img for my device. So, I unpacked update.img using rk29Kitchen.

strings on that file returns nothing interesting, so I assumed the file is crypted

@alanyih
alanyih / gist:7140101
Created October 24, 2013 16:11
git-felipec
https://github.com/felipec/git
@alanyih
alanyih / rkroot.sh
Created October 1, 2013 07:04
RK device Root script
echo "*---* VonDroid.com RK device Root Tool based on work by sunnydavid *---*"
echo "--- Plug in your device, make sure debugging is enabled in Developer Options"
echo "--- This script will now copy files over to your RK device"
adb shell mv /data/local/tmp /data/local/tmp.bak
adb shell ln -s /data /data/local/tmp
adb reboot
echo "--- Reboot 1/3 - Press Space Bar once the device has rebooted"
read -p "or CTRL-C to exit"
#!/usr/bin/perl
######################################################################
#
# File : split_bootimg.pl
# Author(s) : William Enck <enck@cse.psu.edu>
# Description : Split appart an Android boot image created
# with mkbootimg. The format can be found in
# android-src/system/core/mkbootimg/bootimg.h
#
# Thanks to alansj on xda-developers.com for
get Android source code: http://source.android.com/source/downloading.html
$ cd /path/to/android-src
$ cd system/core/libmincrypt/
$ gcc -c *.c -I../include
$ ar rcs libmincrypt.a *.o
$ cd ../mkbootimg
$ gcc mkbootimg.c -o mkbootimg -I../include ../libmincrypt/libmincrypt.a
$ cd ../cpio
$ gcc mkbootfs.c -o mkbootfs -I../include