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
| #include "usb.h" | |
| // PORT C | |
| #define PWM1 (1<<0) | |
| #define PWM2 (1<<1) | |
| int main(void){ | |
| sei(); | |
| #include "usb.h" | |
| // PORT C | |
| #define QDEC1 (1<<2) | |
| #define QDEC2 (1<<3) | |
| int main(void){ | |
| sei(); | |
| diff --git a/src/Makefile b/src/Makefile | |
| index 4f66cf6..5cc3414 100644 | |
| --- a/src/Makefile | |
| +++ b/src/Makefile | |
| @@ -1,9 +1,9 @@ | |
| LDFLAGS=`pkg-config --libs libusb-1.0` | |
| -CFLAGS=-Wall -O2 `pkg-config --cflags libusb-1.0` | |
| +CFLAGS=-Wall -DDEBUG -O2 `pkg-config --cflags libusb-1.0` | |
| all: rtl-sdr |
| MIT License | |
| Copyright (c) 2012 endolith | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |
| """Chirp z-Transform. | |
| As described in | |
| Rabiner, L.R., R.W. Schafer and C.M. Rader. | |
| The Chirp z-Transform Algorithm. | |
| IEEE Transactions on Audio and Electroacoustics, AU-17(2):86--92, 1969 | |
| """ | |
| import numpy as np |
| import flask | |
| import sys | |
| from flask import Flask, request | |
| import random | |
| from lxml import etree | |
| import xmltodict | |
| import numpy as np | |
| import operator | |
| /// Phantom type for step 1. | |
| pub enum Step1 {} | |
| /// Phantom type for step 2. | |
| pub enum Step2 {} | |
| /// Contains data we set step by step. | |
| pub struct Data<'a> { | |
| /// 'a' is set in the first step. | |
| a: Option<int>, |
| [{"place_id":"97994878","licence":"Data \u00a9 OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","osm_type":"relation","osm_id":"161950","boundingbox":["30.1375217437744","35.0080299377441","-88.4731369018555","-84.8882446289062"],"lat":"33.2588817","lon":"-86.8295337","display_name":"Alabama, United States of America","place_rank":"8","category":"boundary","type":"administrative","importance":0.83507032450272,"icon":"http:\/\/nominatim.openstreetmap.org\/images\/mapicons\/poi_boundary_administrative.p.20.png"}] | |
| [{"place_id":"97421560","licence":"Data \u00a9 OpenStreetMap contributors, ODbL 1.0. http:\/\/www.openstreetmap.org\/copyright","osm_type":"relation","osm_id":"162018","boundingbox":["31.3321762084961","37.0042610168457","-114.818359375","-109.045196533203"],"lat":"34.395342","lon":"-111.7632755","display_name":"Arizona, United States of America","place_rank":"8","category":"boundary","type":"administrative","importance":0.83922181098242,"icon":"http:\/\/nominatim.openst |
| FROM fedora:20 | |
| RUN yum install -y git cmake make libtool \ | |
| mingw32 mingw32-binutils mingw32-runtime mingw32-gcc-c++ \ | |
| mingw32-boost mingw32-boost-static.noarch \ | |
| && yum clean all |