1. thenameisnigel's Avatar
    [BOX=Disclaimer]Please note that Project Panda is a customized version of CyanogenMod / Android Open Source Project (AOSP). Project Panda is NOT supported nor endorsed by Cyanogenmod.
    [/BOX]

    How to build ProjectPanda for your Samsung Galaxy Nexus (Toro) ?




    Attachment 45361



    Prepare the Build Environment



    Install the Android SDK OR find your favorite adb.zip.

    [BOX=Installing required packages (Ubuntu 10.04 - 11.10)]sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc[/BOX]
    [BOX=On Ubuntu 10.10]sudo ln -s /usr/lib32/mesa/libGL.so.1 /usr/lib32/mesa/libGL.so
    [/BOX]
    [BOX=On Ubuntu 11.10]sudo apt-get install libx11-dev:i386
    [/BOX]
    [BOX=Installing required packages (Ubuntu 12.04)]sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
    [/BOX]
    [BOX=Create the Directories for the Build Environment]mkdir -p ~/bin
    mkdir -p ~/android/system[/BOX]

    [BOX=Sync the Repo]Enter the following to download make the repo binary executable:
    curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
    chmod a+x ~/bin/repo[/BOX]

    NOTE: A reboot of the computer may be necessary for the above changes to be recognized.

    [BOX=Initialize and Sync the Repo]cd ~/android/system/repo init -u git://github.com/ProjectPanda/android.git -b ics
    repo sync -j4[/BOX]
    [BOX=Sync Relevant Repositories]By default, The Panda Project 2.0 only syncs the core android repositories and none of the device or kernel trees to save both bandwidth and time. Run the following command to sync the necessary components for the device:

    . build/envsetup.sh && breakfast toro
    [/BOX]

    [BOX=Copy Proprietary Files]NOTE: This only needs to be run once. This step requires possession of the Toro with a working copy of CyanogenMod 9 installed and ADB working on the computer. This script will copy the proprietary files from the device.

    Connect the device to the computer and run the following commands:
    cd ~/android/system/device/samsung/toro/./extract-files.sh[/BOX]

    [BOX=Download Prebuilts]Downloaded Prebuilts are needed by the build:
    ~/android/system/vendor/cm/get-prebuilts[/BOX]


    Building Project Panda

    [BOX=Check for Updates]First, check for updates in the source:
    cd ~/android/system/repo sync[/BOX]

    [BOX=Configure Build & Compile]Now, the environment must be configured for the build process and then begin compilation for the Toro.
    . build/envsetup.sh && brunch toro[/BOX]


    [BOX=Pickup your Build!]
    1. Copy the .zip file from ~/android/system/out/target/product/toro/cm-9-XXXXX-UNOFFICIAL-toro.zip to the root of the SD card.
    2. Optional: Download Google Apps for CyanogenMod and place it on the root of the SD card.
    3. Flash both of these .zip files from recovery.

    [/BOX]
    11-08-2012 06:28 PM
  2. greydarrah's Avatar
    It would be great if we could get a little more detail as to what Project Panda is/does. Maybe a little sales pitch? I get that is a customized version of CM, but what about it is better or different...more customizations, new features, new tools???
    11-09-2012 09:23 AM
  3. gb525's Avatar
    +1

    Sent from my Galaxy Nexus using Android Central Forums
    11-09-2012 01:02 PM
  4. thenameisnigel's Avatar
    It would be great if we could get a little more detail as to what Project Panda is/does. Maybe a little sales pitch? I get that is a customized version of CM, but what about it is better or different...more customizations, new features, new tools???
    It's mostly to give the unsupported devices, access to CyanogenMod features, but I am working on some kernel code changes. I'm not an engineer, but I'm good with a little coding. . .

    Sent from my Epic 4G Touch using Tapatalk 2
    11-09-2012 03:53 PM
  5. JkdJedi's Avatar
    Deleted
    11-09-2012 10:54 PM
  6. thenameisnigel's Avatar
    Deleted
    ?
    11-10-2012 04:03 PM
  7. JkdJedi's Avatar
    ?
    I'd like to see this reviewed on a video, Got YouTube?

    Sent from my Galaxy Nexus using Tapatalk 2
    11-11-2012 06:52 PM

Similar Threads

  1. [Sticky?] Newb guide -- How to root, recovery, and ROMs [Windows]
    By t0ast3d in forum HTC EVO 4G Rooting, ROMs, and Hacks
    Replies: 2
    Last Post: 03-10-2014, 01:33 PM
  2. [HOW-TO] Build your own kernel package from source
    By Jerry Hildenbrand in forum HTC Hero Rooting, ROMs, and Hacks
    Replies: 80
    Last Post: 09-23-2013, 11:30 PM
  3. How to build your own dock using the phone's box
    By ConceptVBS in forum T-Mobile Vibrant
    Replies: 0
    Last Post: 08-20-2010, 10:45 PM
  4. Video Guide: How to Root the Samsung Moment, Add WiFi tether, (hotspot), and themes.
    By IOWA in forum Samsung Moment Rooting, ROMs, and Hacks
    Replies: 1
    Last Post: 08-02-2010, 02:22 PM
  5. Replies: 5
    Last Post: 06-30-2010, 08:04 PM
LINK TO POST COPIED TO CLIPBOARD