GithubHelp home page GithubHelp logo

darkwr8h / q2-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lemonboy/q2-tools

0.0 1.0 0.0 1.43 MB

Homebrew toolchain/sdk/samples for the Samsung YP-Q2 PMP

Makefile 0.28% C 90.94% Objective-C 1.09% C++ 6.84% Assembly 0.11% Python 0.74%

q2-tools's Introduction

Homebrew toolchain/sdk/samples for the Samsung YP-Q2 PMP

Based on Sigmatel (now Freescale) STMP3700 SoC, has an ARM cpu () and a DSP for accelerated video/audio decoding, everything wrapped up nicely with a Linux system. The update (Q2Update.dat) format and encryption has been reversed and a repacker has been made, making custom firmwares possible. The most common hack (and the one im using) is unpacking the fw with the unpack.sh script (in the tools folder) and editing the file 'runusb.sh' into the 'appfs/bin folder and adding a line that executes a file off /mnt/usb (the partition seen when connected to the pc) like

/mnt/usb/myscript.sh

Repacking the update with repack.sh and flashing the HACK.dat file is all you need to start enjoying homebrews on your Q2 :D

USB script

Youre not an unix guru and you dont know what to write into the myscript.sh ? Don't worry, just copy this :

[#!/bin/sh sleep 10 if [ -f /mnt/usb/runcode ]; then rm -f /mnt/usb/runcode killall -9 AppMain sleep 6 /mnt/usb/hello fi]

It basically waits 10 seconds, then if a file called runcode exists into the root it will kill the main player app and start your app called 'hello' (yep, it must be placed in the root too)

SDK

Want to start coding on this pocket beast? :D Just download or build an ARM compiler (Codesourcery offers a precompiled one) and start reading out the hello world code to start grasping how the libQ2 works

libQ2 is going to be reorganized in a better way as soon as i get all the basic stuff working.

What works...

  • Video trough framebuffer
  • Input (need multiple keys catching support)
  • Keypad leds control
  • Brightness adjusting
  • CPU clock setting

...and what doesnt

  • Touchpad
  • RTC interface
  • Sound (need to reverse the 'diagnosis' bin to document how /dev/dsp works)
  • USB system
  • Earphones detection
  • Maybe something i forgot :D

Creditz

Matt_P for suggesting me the idea that the update was xor cyphered, Booto for being the unix guru, HACKERCHANNEL for being the greatest dudes on teh world, Mum and Dad for buying me this wonderful PMP as b-day surprise :)

The Lemon Man (C) 2010 HACKERCHANNEL (c) 2010

q2-tools's People

Watchers

DarkAngel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.