LEGION MODZ
I have enabled a lock on this site to keep trollz out. This is a team of Android hackerz that believes in teamwork. So, Kinfolk if you wouldn't mind, please register and log in and help us grow. A.S.A.P...

LEGION MODZ

We Are Legion
 
HomePortalCalendarGalleryFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Compiling Any Rom For ATT&T HTC One x-Talstra One xl - HTC One xl

Go down 
AuthorMessage
NinjasInPyjamas
MODERATOR
MODERATOR
NinjasInPyjamas

Posts : 10
Points : 1001923
Thanks : 5
Join date : 2014-01-02

PostSubject: Compiling Any Rom For ATT&T HTC One x-Talstra One xl - HTC One xl   Mon Jan 06, 2014 1:16 am

I don't take any credit for this TUT

Thing We Need

  • HTC ONE XL


  • Linux Operation System (Ubuntu,Mint,etc)


  • Internet Connection

At-least 150 GB Of Empty Space

Lets Get Building
JUST COPY THESE CODES TO TERMINAL

Code:
sudo apt-get install bison build-essential curl flex git-core gnupg gperf libesd0-dev libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2 libxml2-utils lzop openjdk-6-jdk openjdk-6-jre pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev

sudo apt-get install g++-multilib gcc-multilib lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev

Creating Important Directories
Code:

mkdir -p ~/bin
mkdir -p ~/Working Directories (this will contain all of the android repo file)


Installing REPO
Code:
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

Giving Repo some permission
chmod a+x ~/bin/repo

Putting bin in path of execution
Code:
sudo gedit .bashrc
export PATH=~/bin:$PATH <-(add to end of bashrc)
export PATH=${PATH}:~/bin


One More Important Thing JAVA (God hate it)
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-java6-installer
java -version

Installing Android SDK



  • Copy the SDK to home directory


  • Now type
    Code:
    gedit ~/.bashrc



  • Name it android-sdk (easy to remember and use )


  • Add these lines-->>
    Code:
    # Android tools
    export PATH=${PATH}:~/android-sdk/tools
    export PATH=${PATH}:~/android-sdk/platform-tools
    export PATH=${PATH}:~/bin



Some More Installation Libs
Just copy and past

Code:
If you are using Ubuntu 13.04+
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential \
  zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5-dev lib32z1 \
  lib32ncurses5 lib32bz2-1.0 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 \
  lib32z1-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos \
  python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 \
  lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev \
  libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev \
  lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python lzop

sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

Code:
If you are using Ubuntu 12.04+
Code:
sudo apt-get install git 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 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


Configure USB

Code:
gksudo gedit /etc/udev/rules.d/51-android.rules

It opens a text file copy following coder into the text file and save it then close it
Code:
#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"


Once pasted all the code. Close the text file. And enter following command.

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


Now to Moving to Building
Code:
cd android

Initializing Repo
Code:

Kit Kat

repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
repo init -u git://github.com/LiquidSmooth/android.git -b kitkat
repo init -u git://github.com/SlimRoms/platform_manifest.git -b kk4.4-caf


Code:
Cm10.2
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2

Code:
repo sync (it will download the source into your working directory)  

Downloading Device Related Source

Press Ctrl+h in android directory and open .repo and you have to get the proprietary files.
The easiest way to do this is to create a file named "roomservice.xml" in the ~/android/.repo/local_manifests directory  
Copy following code into "roomservice.xml"

Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote  name="github"
           fetch="git://github.com/" />
<project name="CyanogenMod/android_device_htc_evita" path="device/htc/ville" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_device_htc_s4-common" path="device/htc/s4-common" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_device_htc_msm8960-common" path="device/htc/msm8960-common" remote="github" revision="cm-11.0" />
  <project name="CyanogenMod/android_kernel_htc_msm8960" path="kernel/htc/msm8960" remote="github" revision="cm-11.0" />
 <project name="TheMuppets/proprietary_vendor_htc" path="vendor/htc" remote="github" revision="cm-11.0" />
</manifest>

Again Do
Code:
repo sync


Starting Build

Code:
source build/envsetup.sh
Code:
lunch
Code:
make bacon
or
Code:
time mka liquid
or
Code:
brunch devicename


Credited goes to

  • phoenixita


  • klvnhng


  • dastin1015
Back to top Go down
View user profile
WARP3D420\Admin
BIG DOG STATUS
BIG DOG STATUS
WARP3D420\Admin

Posts : 195
Points : 3002164
Thanks : 7
Join date : 2014-01-02
Age : 41
Location : In da Swamps

PostSubject: Re: Compiling Any Rom For ATT&T HTC One x-Talstra One xl - HTC One xl   Mon Jan 06, 2014 1:38 am

yep, I like it
Back to top Go down
View user profile http://legionmodz.forumotion.com/u1
 
Compiling Any Rom For ATT&T HTC One x-Talstra One xl - HTC One xl
Back to top 
Page 1 of 1
 Similar topics
-
» How to compile sourcecode for stockfish?
» Sugar
» Gull
» How to cross compile from windows for android ?

Permissions in this forum:You cannot reply to topics in this forum
LEGION MODZ :: EXTRA$ :: ANDROID HACKING 101-
Jump to: