Jump to content

Recommended Posts

Posted

1 - Prepare the Build Environment:

Install Oracle JDK 6

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

Install Python

$ sudo apt-get install python

Install pngcrush and schedtool

$ sudo apt-get install pngcrush
$ sudo apt-get install schedtool

Install Git

$ sudo apt-get install git-core

Install Android SDK:

  • Download Android SDK here: http://developer.android.com/sdk/index.html
  • Extract the SDK and place it in your home directory.
  • Rename SDK to android-sdk
  • 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
  • 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 lib32readline5-dev 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
    $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
    Run the following and make sure /usr/lib/jvm/java-6-oracle/jre/bin/java is set as the current choice
    sudo update-alternatives --config java

    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"

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

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

    2 - Create the Directories

    You will need to set up some directories in your build environment.

    To create them:

    mkdir -p ~/bin
    mkdir -p ~/paranoid

    3 - Install the repo:

    Enter the following to download make executable the "repo" binary:

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

    Note:

        You may need to reboot for these changes to take effect.

    4 - Install the paranoid Repository:

    Now enter the following to initialize the Paranoid Android repository:

    cd ~/paranoid/
    repo init -u git://github.com/Utacka/android.git -b jellybean
    repo sync
    ***The official repo is git://github.com/ParanoidAndroid/android.git but I was having errors when compiling with that. Utacka repo is on PA 2.57.4 and is based off of CM10. The official ParanoidAndroid repos is on PA 3+ and based on AOSP

    If you do use the official repo, be sure to remove any line from ~/paranoid/.repo/manifest.xml that references ParanoidPreferences before doing a repo sync***

    5 - Obtain the presto device tree:

    Create a file with the name local_manifest.xml in the ".repo" directory. To see this directory, you have to press Ctrl-H in your file manager.

    gedit ~/paranoid/.repo/local_manifest.xml
    Add these lines

    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
      <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" />
    </manifest>
    Sync Repo again

    repo sync

    6 - Download RomManager

    Note:

        This only needs to be done when an update to RomManager is released. If you are-up-to date, you may skip to Building CyanogenMod.

    Download RomManager which is needed by the build:

    cd ~/paranoid/
    ./vendor/cm/get-prebuilts

    7 - Adding device support to PA.

    Add Device Makefile in vendor/pa/products

    gedit ~/paranoid/vendor/pa/products/pa_presto.mk
    Paste the following

    # Check for target product
    ifeq (pa_presto,$(TARGET_PRODUCT))
    
    # OVERLAY_TARGET adds overlay asset source
    OVERLAY_TARGET := pa_hdpi
    
    # include ParanoidAndroid common configuration
    include vendor/pa/config/pa_common.mk
    
    # Inherit CM device configuration
    $(call inherit-product, device/pantech/presto/cm.mk)
    
    PRODUCT_NAME := pa_presto
    
    GET_VENDOR_PROPS := $(shell vendor/pa/tools/getvendorprops.py $(PRODUCT_NAME))
    
    endif
    Save & Exit

    Add Device support in AndroidProducts.mk

    gedit ~/paranoid/vendor/pa/products/AndroidProducts.mk
    Append this at the end

    ifeq (pa_presto,$(TARGET_PRODUCT))
        PRODUCT_MAKEFILES += $(LOCAL_DIR)/pa_presto.mk
    endif
    Save & Exit.

    Add Vendor Prop instructions to vendor/pa/vendorprops

    gedit ~/paranoid/vendor/pa/vendorprops/presto.proprietaries
    Paste the following

    [
        {
            "account":      "PantechDevTeam",
            "repository":   "android_vendor_pantech_presto",
            "target_path":  "vendor/pantech",
            "revision":     "jellybean"
        }
    ]
    Save & Exit

    Add Device to PA Lunch Menu, in vendorsetup.sh

    gedit ~/paranoid/vendor/pa/vendorsetup.sh
    Append this at the end

    add_lunch_combo pa_presto-userdebug

    8 - Building Paranoid Android

    First, check for updates in the source

    cd ~/paranoid
    repo sync

    optional - enable compiler cache *This cut 5 minutes off my build time

    USE_CCACHE=1

    Currently, you will need to run

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

    only if you want a working camera :D

    Build

    ./rom-build.sh presto

    9 - Install

    • Copy your .zip file from ~/paranoid/out/target/product/presto/ to the root of the SD card.

          Optional: Download Google Apps for CyanogenMod 10 and place it on the root of the SD card.

    • Flash these .zip files from recovery.

    Thanks to marcusmarcus at Devsnest for writing this awesome Tutorial . And thanks to dastin1015 for writing this --> [Tutorial] Compile JB on Ubuntu

    _______________________________________________________________________________________________________________________________________________________

    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

    _______________________________________________________________________________________________________________________________________________________

Posted

Is it working properly? I am going to try it after getting your reply. I will make a backup from Rom Manager and flash your Rom. If anything goes wrong, i will be able to restore backup..

no to rom manager . Learn this thing for pantech burst . Many bricked there devices while playing with rom manager ! Flash via CWM . It works . But flash Via CWM .
  • 2 weeks later...
Posted

no to rom manager . Learn this thing for pantech burst . Many bricked there devices while playing with rom manager ! Flash via CWM . It works . But flash Via CWM .

I have flashed Paranoid and it worked smoothly. Then I did some experiments and it ended in hard bricking my pantech burst. Is there any method to unbrick ? I have ordered another Motherboard from ebay.com.... experiments will continue after receiving that mother board..:)

Posted

I have flashed Paranoid and it worked smoothly. Then I did some experiments and it ended in hard bricking my pantech burst. Is there any method to unbrick ? I have ordered another Motherboard from ebay.com.... experiments will continue after receiving that mother board..:)

experiment with carefull . But whats the actual problem you getting when u boot ? maybe it can be unbricked also .

Continue the rest discussion here -- > http://forum.gizmolord.com/android-modding/offcial-pantech-burst-discussion-thread-5868/new/#new[DISCUSSION

Posted

experiment with carefull . But whats the actual problem you getting when u boot ? maybe it can be unbricked also .

Continue the rest discussion here -- > http://forum.gizmolord.com/android-modding/offcial-pantech-burst-discussion-thread-5868/new/#new[DISCUSSION

The phone is hard bricked. Nothing works.. totally dead. But today i replaced the motherboard and started again:) Now downloading Gizmolord RC7 V4.0-- With Stock phone and contacts . RECOMMENDED..
Posted

Anyonr know where I can get a motherboard for my pantech burst, can't find any.

U can purchase a phone with cracked screen from ebay.com for about Rs.1500/- U identify the item and order it thru ishopinternational . com. my total expense was 2800/- , received in 10 days and now i took the mother board from that cracked phone and replaced the bricked one. The battery was also good in that cracked phone. so the total loss due to bricking is only  nearly Rs. 2000/- :)
  • 9 months later...

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...