Jump to content

Recommended Posts

Posted

This will NOT make a fully functional ROM, but will give you a place to start. Also I CANNOT fix every error you run into.

READ the entire OP and make sure to properly follow instructions. Don't forget to search the thread as your question may have already been answered.

Please use http://pastebin.com/ for all errors you run into. Posting a link is much easier than a long list of errors in the thread. Thank you.

You will need 25GB (or more) free to complete a single build, and up to 80GB (or more) for a full set of builds.

1) You need the following:

-JDK 6 if you wish to build Jellybean.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer

-Python 2.4 -- 2.7, which you can download from python.org. Or:

$ sudo apt-get install python

-Git 1.7 or newer. You can find it at git-scm.com. Or:

$ sudo apt-get install git-core

-Java ™ SE Runtime Environment (build 1.6.0_37-b06)

-Android SDK:

  • Download the SDK here: http://developer.android.com/sdk/index.html
  • Extract the SDK and place it in your home directory.
  • I renamed my SDK to android-sdk to make it easier to navigate to.
  • Go to your home folder, press Ctrl+H to show hidden files, and open up your .bashrc file.
  • Add these lines at the bottom of the file:
# Android tools
export PATH=${PATH}:~/android-sdk/tools
export PATH=${PATH}:~/android-sdk/platform-tools
export PATH=${PATH}:~/bin
[*]Find your .profile file and add this at the bottom of the file:
PATH="$HOME/android-sdk/tools:$HOME/android-sdk/platform-tools:$PATH"
[*]You have now successfully installed the Android SDK.

[*]To check for updates issue this into your terminal:

$ android

2) Install required packages.

$ 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 lib32readline-gplv2-dev schedtool lib32z-dev \
  libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown \
  libxml2-utils

On newer versions of Ubuntu such as 11.10 you may need to do the following:

$ sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so

Building on Ubuntu 12.04 is currently only experimentally supported and is not guaranteed to work on branches other than master.

$ 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 \
  pngcrush optipng
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

3) Configure your USB.

$ gksudo gedit /etc/udev/rules.d/51-android.rules

Inside of this blank text file insert:

#Acer
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666"

#ASUS
SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", MODE="0666"

#Dell
SUBSYSTEM=="usb", ATTR{idVendor}=="413c", MODE="0666"

#Foxconn
SUBSYSTEM=="usb", ATTR{idVendor}=="0489", MODE="0666"

#Garmin-Asus
SUBSYSTEM=="usb", ATTR{idVendor}=="091E", MODE="0666"

#Google
SUBSYSTEM=="usb", ATTR{idVendor}=="18d1", MODE="0666"

#HTC
SUBSYSTEM=="usb", ATTR{idVendor}=="0bb4", MODE="0666"

#Huawei
SUBSYSTEM=="usb", ATTR{idVendor}=="12d1", MODE="0666"

#K-Touch
SUBSYSTEM=="usb", ATTR{idVendor}=="24e3", MODE="0666"

#KT Tech
SUBSYSTEM=="usb", ATTR{idVendor}=="2116", MODE="0666"

#Kyocera
SUBSYSTEM=="usb", ATTR{idVendor}=="0482", MODE="0666"

#Lenevo
SUBSYSTEM=="usb", ATTR{idVendor}=="17EF", MODE="0666"

#LG
SUBSYSTEM=="usb", ATTR{idVendor}=="1004", MODE="0666"

#Motorola
SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", MODE="0666"

#NEC
SUBSYSTEM=="usb", ATTR{idVendor}=="0409", MODE="0666"

#Nook
SUBSYSTEM=="usb", ATTR{idVendor}=="2080", MODE="0666"

#Nvidia
SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0666"

#OTGV
SUBSYSTEM=="usb", ATTR{idVendor}=="2257", MODE="0666"

#Pantech
SUBSYSTEM=="usb", ATTR{idVendor}=="10A9", MODE="0666"

#Philips
SUBSYSTEM=="usb", ATTR{idVendor}=="0471", MODE="0666"

#PMC-Sierra
SUBSYSTEM=="usb", ATTR{idVendor}=="04da", MODE="0666"

#Qualcomm
SUBSYSTEM=="usb", ATTR{idVendor}=="05c6", MODE="0666"

#SK Telesys
SUBSYSTEM=="usb", ATTR{idVendor}=="1f53", MODE="0666"

#Samsung
SUBSYSTEM=="usb", ATTR{idVendor}=="04e8", MODE="0666"

#Sharp
SUBSYSTEM=="usb", ATTR{idVendor}=="04dd", MODE="0666"

#Sony Ericsson
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666"

#Toshiba
SUBSYSTEM=="usb", ATTR{idVendor}=="0930", MODE="0666"

#ZTE
SUBSYSTEM=="usb", ATTR{idVendor}=="19D2", MODE="0666"

4) Save the file and close it and then issue this command: 

$ sudo chmod a+r /etc/udev/rules.d/51-android.rules

5) Install the repo:

$ mkdir ~/bin
$ PATH=~/bin:$PATH
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo

Create the following directories for where the AOKP repo will be stored and synced

mkdir ~/android
mkdir ~/android/aokp_jb

Move to our new AOKP directory

cd ~/android/aokp_jb

Initialize the AOKP repo and download the manifest

repo init -u git://github.com/AOKP/platform_manifest.git -b jb

Sync AOKP source

repo sync

Sit and wait for a long time. Nearing 10GB of source code now.

Open the aokp_jb_prestofiles.zip file and copy the contents to the following

aokp_jb/vendor/aokp/products/AndroidProducts.mk
aokp_jb/vendor/aokp/products/presto.mk

go to aokp_jb/.repo/manifest.xml and add the following

  
  <remote  name="github"
           fetch="http://github.com/"  />

<project name="PantechDevTeam/android_device_pantech_presto" path="device/pantech/presto" remote="github" revision="jellybean" />
  <project name="PantechDevTeam/android_device_pantech_qcom-common" path="device/pantech/qcom-common" remote="github" revision="jellybean" />
  <project name="PantechDevTeam/android_device_pantech_msm8660-common" path="device/pantech/msm8660-common" remote="github" revision="jellybean" />
  <project name="PantechDevTeam/android_kernel_pantech_p9070" path="kernel/pantech/p9070" remote="github" revision="jellybean" />
  <project name="PantechDevTeam/android_vendor_pantech_presto" path="vendor/pantech/presto" remote="github" revision="jellybean" />

go back to ~/android/aokp_jb/

Sync source to pull files from TeamPresto and any changes to either aokp or TeamPresto's Github

repo sync

run

./presto_patchs.sh -a
from the "/device/pantech/presto/" folder

Also navigate to "device/pantech/presto/overlay/packages/app/Torch/res/values" and delete config.xml

Edit "device/pantech/presto/overlay/packages/app/Settings/res/values/config.xml

and edit it to contain only the following

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->

<resources>

    <!-- Dock Settings -->
    <bool name="has_dock_settings">true</bool>

</resources>

Start the build

This is probably the EASIEST part of all, simply copy/paste this command and walk away!

. build/envsetup.sh && brunch presto

Syncing the repo is dependent upon your Internet connection.  It can take anywhere from 30 minutes to several hours to fully sync.  Same thing goes for build times.  Don't expect this to be short.  If you have patience and have no build errors, you'll end up with a flashable zip in ~/aokp_jb/out/target/product/presto!  Happy crack-flashing!

Thanks to Kagedws6 at XDA for writing this Tutorial .

_______________________________________________________________________________________________________________________________________________________

INDEX: [iNDEX] Everything For Pantech Burst

DISCUSSION : Offcial Pantech Burst discussion thread

ESSENTIALS :[TUTORIAL] [Root]Pantech burst

[TUTORIAL] ClockWork Recovery Mod For Pantech Burst

ROMS: [ROMS] Pantech Burst Custom Roms

Stock firmwares : [stock ROMS] Pantech Burst all stock  Roms

Source Build Guides : [TUTORIAL] Compile Unoffcial Paranoid For Pantech burst

[TUTORIAL] Compile Unofficial CyanogenMod 10 for Pantech Burst

[TUTORIAL] Compile Unofficial AOKP for Pantech Burst

[TUTORIAL] Compile Unoffical AOSP ICS for Pantech Burst ( Codeaurora )

MODS/TWEAKS  : [TUTORIAL] How to Unlock Bootlaoder in Pantech burst

Miscellaneous : [TUTORIAL] Going Back To Gingerbread in Pantech Burst

[TUTORIAL] How to Make your pantech Burst recognizable

[TUTORIAL] How to remove All At&T Default apps/Bloatware from Pantech Burst

[TUTORIAL] 2G / 3G Toggle for Pantech Burst

[TUTORIAL] Unlock AT&T Pantech Burst

_______________________________________________________________________________________________________________________________________________________

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...