You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
firlin123 1e6d524f7a /dev/ptmx 2 months ago
dawitsv2-mid Use system gcc for apinames 2 months ago
dawitsv2-sys /dev/ptmx 2 months ago
git git with openssl instead of gnutls 3 months ago
repack_tool Repack tool update 2 months ago
HowToBuild.txt init 3 months ago Repack tool update 2 months ago

Kernel, rootfs and some libs source code for the Samsung YP-Q2


build and install

  • install ubuntu trusty (14.04) i386 on virtual machine

  • open terminal

  • download install needed packages:

    sudo apt-get update
    sudo apt-get install -y git libcurl4-openssl-dev fakeroot gcc cramfsprogs automake1.4
    cd ~ && wget
    sudo dpkg -i git_1.9.1-1ubuntu0.10_i386.deb
  • clone repositories:

    git clone src
    git clone toolchain
  • set up toolchain:

    echo 'if [ -d "$HOME/toolchain/bin" ] ; then PATH="$HOME/toolchain/bin:$PATH"; fi' >> ~/.profile
    export PATH=$PWD/toolchain/bin:$PATH
  • build kernel and rootfs:

    cd ~/src/dawitsv2-sys
  • build libraries:

    cd ~/src/dawitsv2-mid
  • repack firmware:

    cd ~/src/repack_tool/
    cp ../dawitsv2-sys/build/zImage ../dawitsv2-sys/build/rootfs.sqfs q2update_unpacked/
    sudo cp ../dawitsv2-mid/target/appfs/lib/* q2update_unpacked/appfs/lib/
    make repack
  • install:

    connect player to the virtual machine and copy Q2Update.dat and to the root directory of the player

To install original firmware copy Q2Update.original.dat to the player and rename it to Q2Update.dat